types

package
v0.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 29 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "parameter"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_parameter"

	// ParamsKey is the prefix to retrieve all Params
	ParamsKey = "Params/value/"
)
View Source
const (
	// Eden denom
	Elys = "uelys"

	// Eden denom
	Eden = "ueden"

	// Eden Boost denom
	EdenB = "uedenb"

	// Base currency
	BaseCurrency = "uusdc"

	// Atom denom
	ATOM = "uatom"

	// BaseDecimal
	BASE_DECIMAL = 6

	// Return ok
	RES_OK = uint64(200)
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const TypeMsgUpdateWasmConfig = "update_wasm_config"

Variables

View Source
var (
	ErrInvalidMinCommissionRate = errorsmod.Register(ModuleName, 1101, "invalid min commission rate")
	ErrInvalidMaxVotingPower    = errorsmod.Register(ModuleName, 1102, "invalid max voting power")
	ErrInvalidMinSelfDelegation = errorsmod.Register(ModuleName, 1103, "invalid min self delegation")
	ErrInvalidBrokerAddress     = errorsmod.Register(ModuleName, 1104, "invalid broker address")
)

x/parameter module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

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 RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

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 RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

GenesisState defines the parameter module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type LegacyParams added in v0.31.0

type LegacyParams struct {
	MinCommissionRate  github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	MaxVotingPower     github_com_cosmos_cosmos_sdk_types.Dec `` /* 145-byte string literal not displayed */
	MinSelfDelegation  github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */
	BrokerAddress      string                                 `protobuf:"bytes,4,opt,name=broker_address,json=brokerAddress,proto3" json:"broker_address,omitempty"`
	TotalBlocksPerYear int64                                  `protobuf:"varint,5,opt,name=total_blocks_per_year,json=totalBlocksPerYear,proto3" json:"total_blocks_per_year,omitempty"`
}

func (*LegacyParams) Descriptor added in v0.31.0

func (*LegacyParams) Descriptor() ([]byte, []int)

func (*LegacyParams) GetBrokerAddress added in v0.31.0

func (m *LegacyParams) GetBrokerAddress() string

func (*LegacyParams) GetTotalBlocksPerYear added in v0.33.0

func (m *LegacyParams) GetTotalBlocksPerYear() int64

func (*LegacyParams) Marshal added in v0.31.0

func (m *LegacyParams) Marshal() (dAtA []byte, err error)

func (*LegacyParams) MarshalTo added in v0.31.0

func (m *LegacyParams) MarshalTo(dAtA []byte) (int, error)

func (*LegacyParams) MarshalToSizedBuffer added in v0.31.0

func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LegacyParams) ProtoMessage added in v0.31.0

func (*LegacyParams) ProtoMessage()

func (*LegacyParams) Reset added in v0.31.0

func (m *LegacyParams) Reset()

func (*LegacyParams) Size added in v0.31.0

func (m *LegacyParams) Size() (n int)

func (LegacyParams) String added in v0.31.0

func (p LegacyParams) String() string

String implements the Stringer interface.

func (*LegacyParams) Unmarshal added in v0.31.0

func (m *LegacyParams) Unmarshal(dAtA []byte) error

func (*LegacyParams) XXX_DiscardUnknown added in v0.31.0

func (m *LegacyParams) XXX_DiscardUnknown()

func (*LegacyParams) XXX_Marshal added in v0.31.0

func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LegacyParams) XXX_Merge added in v0.31.0

func (m *LegacyParams) XXX_Merge(src proto.Message)

func (*LegacyParams) XXX_Size added in v0.31.0

func (m *LegacyParams) XXX_Size() int

func (*LegacyParams) XXX_Unmarshal added in v0.31.0

func (m *LegacyParams) XXX_Unmarshal(b []byte) error

type MsgClient

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.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgUpdateBrokerAddress added in v0.19.0

type MsgUpdateBrokerAddress struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	BrokerAddress string `protobuf:"bytes,2,opt,name=broker_address,json=brokerAddress,proto3" json:"broker_address,omitempty"`
}

func NewMsgUpdateBrokerAddress added in v0.19.0

func NewMsgUpdateBrokerAddress(creator string, brokerAddress string) *MsgUpdateBrokerAddress

func (*MsgUpdateBrokerAddress) Descriptor added in v0.19.0

func (*MsgUpdateBrokerAddress) Descriptor() ([]byte, []int)

func (*MsgUpdateBrokerAddress) GetBrokerAddress added in v0.19.0

func (m *MsgUpdateBrokerAddress) GetBrokerAddress() string

func (*MsgUpdateBrokerAddress) GetCreator added in v0.19.0

func (m *MsgUpdateBrokerAddress) GetCreator() string

func (*MsgUpdateBrokerAddress) GetSigners added in v0.19.0

func (msg *MsgUpdateBrokerAddress) GetSigners() []sdk.AccAddress

func (*MsgUpdateBrokerAddress) Marshal added in v0.19.0

func (m *MsgUpdateBrokerAddress) Marshal() (dAtA []byte, err error)

func (*MsgUpdateBrokerAddress) MarshalTo added in v0.19.0

func (m *MsgUpdateBrokerAddress) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateBrokerAddress) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateBrokerAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateBrokerAddress) ProtoMessage added in v0.19.0

func (*MsgUpdateBrokerAddress) ProtoMessage()

func (*MsgUpdateBrokerAddress) Reset added in v0.19.0

func (m *MsgUpdateBrokerAddress) Reset()

func (*MsgUpdateBrokerAddress) Size added in v0.19.0

func (m *MsgUpdateBrokerAddress) Size() (n int)

func (*MsgUpdateBrokerAddress) String added in v0.19.0

func (m *MsgUpdateBrokerAddress) String() string

func (*MsgUpdateBrokerAddress) Unmarshal added in v0.19.0

func (m *MsgUpdateBrokerAddress) Unmarshal(dAtA []byte) error

func (*MsgUpdateBrokerAddress) ValidateBasic added in v0.19.0

func (msg *MsgUpdateBrokerAddress) ValidateBasic() error

func (*MsgUpdateBrokerAddress) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateBrokerAddress) XXX_DiscardUnknown()

func (*MsgUpdateBrokerAddress) XXX_Marshal added in v0.19.0

func (m *MsgUpdateBrokerAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateBrokerAddress) XXX_Merge added in v0.19.0

func (m *MsgUpdateBrokerAddress) XXX_Merge(src proto.Message)

func (*MsgUpdateBrokerAddress) XXX_Size added in v0.19.0

func (m *MsgUpdateBrokerAddress) XXX_Size() int

func (*MsgUpdateBrokerAddress) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateBrokerAddress) XXX_Unmarshal(b []byte) error

type MsgUpdateBrokerAddressResponse added in v0.19.0

type MsgUpdateBrokerAddressResponse struct {
}

func (*MsgUpdateBrokerAddressResponse) Descriptor added in v0.19.0

func (*MsgUpdateBrokerAddressResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateBrokerAddressResponse) Marshal added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateBrokerAddressResponse) MarshalTo added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateBrokerAddressResponse) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateBrokerAddressResponse) ProtoMessage added in v0.19.0

func (*MsgUpdateBrokerAddressResponse) ProtoMessage()

func (*MsgUpdateBrokerAddressResponse) Reset added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) Reset()

func (*MsgUpdateBrokerAddressResponse) Size added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) Size() (n int)

func (*MsgUpdateBrokerAddressResponse) String added in v0.19.0

func (*MsgUpdateBrokerAddressResponse) Unmarshal added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateBrokerAddressResponse) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) XXX_DiscardUnknown()

func (*MsgUpdateBrokerAddressResponse) XXX_Marshal added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateBrokerAddressResponse) XXX_Merge added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateBrokerAddressResponse) XXX_Size added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) XXX_Size() int

func (*MsgUpdateBrokerAddressResponse) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateBrokerAddressResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateMaxVotingPower added in v0.19.0

type MsgUpdateMaxVotingPower struct {
	Creator        string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	MaxVotingPower string `protobuf:"bytes,2,opt,name=max_voting_power,json=maxVotingPower,proto3" json:"max_voting_power,omitempty"`
}

func NewMsgUpdateMaxVotingPower added in v0.19.0

func NewMsgUpdateMaxVotingPower(creator string, maxVotingPower string) *MsgUpdateMaxVotingPower

func (*MsgUpdateMaxVotingPower) Descriptor added in v0.19.0

func (*MsgUpdateMaxVotingPower) Descriptor() ([]byte, []int)

func (*MsgUpdateMaxVotingPower) GetCreator added in v0.19.0

func (m *MsgUpdateMaxVotingPower) GetCreator() string

func (*MsgUpdateMaxVotingPower) GetMaxVotingPower added in v0.19.0

func (m *MsgUpdateMaxVotingPower) GetMaxVotingPower() string

func (*MsgUpdateMaxVotingPower) GetSigners added in v0.19.0

func (msg *MsgUpdateMaxVotingPower) GetSigners() []sdk.AccAddress

func (*MsgUpdateMaxVotingPower) Marshal added in v0.19.0

func (m *MsgUpdateMaxVotingPower) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMaxVotingPower) MarshalTo added in v0.19.0

func (m *MsgUpdateMaxVotingPower) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMaxVotingPower) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateMaxVotingPower) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMaxVotingPower) ProtoMessage added in v0.19.0

func (*MsgUpdateMaxVotingPower) ProtoMessage()

func (*MsgUpdateMaxVotingPower) Reset added in v0.19.0

func (m *MsgUpdateMaxVotingPower) Reset()

func (*MsgUpdateMaxVotingPower) Size added in v0.19.0

func (m *MsgUpdateMaxVotingPower) Size() (n int)

func (*MsgUpdateMaxVotingPower) String added in v0.19.0

func (m *MsgUpdateMaxVotingPower) String() string

func (*MsgUpdateMaxVotingPower) Unmarshal added in v0.19.0

func (m *MsgUpdateMaxVotingPower) Unmarshal(dAtA []byte) error

func (*MsgUpdateMaxVotingPower) ValidateBasic added in v0.19.0

func (msg *MsgUpdateMaxVotingPower) ValidateBasic() error

func (*MsgUpdateMaxVotingPower) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateMaxVotingPower) XXX_DiscardUnknown()

func (*MsgUpdateMaxVotingPower) XXX_Marshal added in v0.19.0

func (m *MsgUpdateMaxVotingPower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMaxVotingPower) XXX_Merge added in v0.19.0

func (m *MsgUpdateMaxVotingPower) XXX_Merge(src proto.Message)

func (*MsgUpdateMaxVotingPower) XXX_Size added in v0.19.0

func (m *MsgUpdateMaxVotingPower) XXX_Size() int

func (*MsgUpdateMaxVotingPower) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateMaxVotingPower) XXX_Unmarshal(b []byte) error

type MsgUpdateMaxVotingPowerResponse added in v0.19.0

type MsgUpdateMaxVotingPowerResponse struct {
}

func (*MsgUpdateMaxVotingPowerResponse) Descriptor added in v0.19.0

func (*MsgUpdateMaxVotingPowerResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateMaxVotingPowerResponse) Marshal added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMaxVotingPowerResponse) MarshalTo added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMaxVotingPowerResponse) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMaxVotingPowerResponse) ProtoMessage added in v0.19.0

func (*MsgUpdateMaxVotingPowerResponse) ProtoMessage()

func (*MsgUpdateMaxVotingPowerResponse) Reset added in v0.19.0

func (*MsgUpdateMaxVotingPowerResponse) Size added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) Size() (n int)

func (*MsgUpdateMaxVotingPowerResponse) String added in v0.19.0

func (*MsgUpdateMaxVotingPowerResponse) Unmarshal added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateMaxVotingPowerResponse) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) XXX_DiscardUnknown()

func (*MsgUpdateMaxVotingPowerResponse) XXX_Marshal added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMaxVotingPowerResponse) XXX_Merge added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateMaxVotingPowerResponse) XXX_Size added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) XXX_Size() int

func (*MsgUpdateMaxVotingPowerResponse) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateMaxVotingPowerResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateMinCommission added in v0.19.0

type MsgUpdateMinCommission struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	MinCommission string `protobuf:"bytes,2,opt,name=min_commission,json=minCommission,proto3" json:"min_commission,omitempty"`
}

func NewMsgExitPool added in v0.19.0

func NewMsgExitPool(creator string, minCommission string) *MsgUpdateMinCommission

func (*MsgUpdateMinCommission) Descriptor added in v0.19.0

func (*MsgUpdateMinCommission) Descriptor() ([]byte, []int)

func (*MsgUpdateMinCommission) GetCreator added in v0.19.0

func (m *MsgUpdateMinCommission) GetCreator() string

func (*MsgUpdateMinCommission) GetMinCommission added in v0.19.0

func (m *MsgUpdateMinCommission) GetMinCommission() string

func (*MsgUpdateMinCommission) GetSigners added in v0.19.0

func (msg *MsgUpdateMinCommission) GetSigners() []sdk.AccAddress

func (*MsgUpdateMinCommission) Marshal added in v0.19.0

func (m *MsgUpdateMinCommission) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMinCommission) MarshalTo added in v0.19.0

func (m *MsgUpdateMinCommission) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMinCommission) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateMinCommission) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMinCommission) ProtoMessage added in v0.19.0

func (*MsgUpdateMinCommission) ProtoMessage()

func (*MsgUpdateMinCommission) Reset added in v0.19.0

func (m *MsgUpdateMinCommission) Reset()

func (*MsgUpdateMinCommission) Size added in v0.19.0

func (m *MsgUpdateMinCommission) Size() (n int)

func (*MsgUpdateMinCommission) String added in v0.19.0

func (m *MsgUpdateMinCommission) String() string

func (*MsgUpdateMinCommission) Unmarshal added in v0.19.0

func (m *MsgUpdateMinCommission) Unmarshal(dAtA []byte) error

func (*MsgUpdateMinCommission) ValidateBasic added in v0.19.0

func (msg *MsgUpdateMinCommission) ValidateBasic() error

func (*MsgUpdateMinCommission) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateMinCommission) XXX_DiscardUnknown()

func (*MsgUpdateMinCommission) XXX_Marshal added in v0.19.0

func (m *MsgUpdateMinCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMinCommission) XXX_Merge added in v0.19.0

func (m *MsgUpdateMinCommission) XXX_Merge(src proto.Message)

func (*MsgUpdateMinCommission) XXX_Size added in v0.19.0

func (m *MsgUpdateMinCommission) XXX_Size() int

func (*MsgUpdateMinCommission) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateMinCommission) XXX_Unmarshal(b []byte) error

type MsgUpdateMinCommissionResponse added in v0.19.0

type MsgUpdateMinCommissionResponse struct {
}

func (*MsgUpdateMinCommissionResponse) Descriptor added in v0.19.0

func (*MsgUpdateMinCommissionResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateMinCommissionResponse) Marshal added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMinCommissionResponse) MarshalTo added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMinCommissionResponse) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMinCommissionResponse) ProtoMessage added in v0.19.0

func (*MsgUpdateMinCommissionResponse) ProtoMessage()

func (*MsgUpdateMinCommissionResponse) Reset added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) Reset()

func (*MsgUpdateMinCommissionResponse) Size added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) Size() (n int)

func (*MsgUpdateMinCommissionResponse) String added in v0.19.0

func (*MsgUpdateMinCommissionResponse) Unmarshal added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateMinCommissionResponse) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) XXX_DiscardUnknown()

func (*MsgUpdateMinCommissionResponse) XXX_Marshal added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMinCommissionResponse) XXX_Merge added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateMinCommissionResponse) XXX_Size added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) XXX_Size() int

func (*MsgUpdateMinCommissionResponse) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateMinCommissionResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateMinSelfDelegation added in v0.19.0

type MsgUpdateMinSelfDelegation struct {
	Creator           string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	MinSelfDelegation string `protobuf:"bytes,2,opt,name=min_self_delegation,json=minSelfDelegation,proto3" json:"min_self_delegation,omitempty"`
}

func NewMsgUpdateMinSelfDelegation added in v0.19.0

func NewMsgUpdateMinSelfDelegation(creator string, minSelfDelegation string) *MsgUpdateMinSelfDelegation

func (*MsgUpdateMinSelfDelegation) Descriptor added in v0.19.0

func (*MsgUpdateMinSelfDelegation) Descriptor() ([]byte, []int)

func (*MsgUpdateMinSelfDelegation) GetCreator added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) GetCreator() string

func (*MsgUpdateMinSelfDelegation) GetMinSelfDelegation added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) GetMinSelfDelegation() string

func (*MsgUpdateMinSelfDelegation) GetSigners added in v0.19.0

func (msg *MsgUpdateMinSelfDelegation) GetSigners() []sdk.AccAddress

func (*MsgUpdateMinSelfDelegation) Marshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMinSelfDelegation) MarshalTo added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMinSelfDelegation) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMinSelfDelegation) ProtoMessage added in v0.19.0

func (*MsgUpdateMinSelfDelegation) ProtoMessage()

func (*MsgUpdateMinSelfDelegation) Reset added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) Reset()

func (*MsgUpdateMinSelfDelegation) Size added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) Size() (n int)

func (*MsgUpdateMinSelfDelegation) String added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) String() string

func (*MsgUpdateMinSelfDelegation) Unmarshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) Unmarshal(dAtA []byte) error

func (*MsgUpdateMinSelfDelegation) ValidateBasic added in v0.19.0

func (msg *MsgUpdateMinSelfDelegation) ValidateBasic() error

func (*MsgUpdateMinSelfDelegation) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) XXX_DiscardUnknown()

func (*MsgUpdateMinSelfDelegation) XXX_Marshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMinSelfDelegation) XXX_Merge added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) XXX_Merge(src proto.Message)

func (*MsgUpdateMinSelfDelegation) XXX_Size added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) XXX_Size() int

func (*MsgUpdateMinSelfDelegation) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegation) XXX_Unmarshal(b []byte) error

type MsgUpdateMinSelfDelegationResponse added in v0.19.0

type MsgUpdateMinSelfDelegationResponse struct {
}

func (*MsgUpdateMinSelfDelegationResponse) Descriptor added in v0.19.0

func (*MsgUpdateMinSelfDelegationResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateMinSelfDelegationResponse) Marshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegationResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMinSelfDelegationResponse) MarshalTo added in v0.19.0

func (m *MsgUpdateMinSelfDelegationResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMinSelfDelegationResponse) MarshalToSizedBuffer added in v0.19.0

func (m *MsgUpdateMinSelfDelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMinSelfDelegationResponse) ProtoMessage added in v0.19.0

func (*MsgUpdateMinSelfDelegationResponse) ProtoMessage()

func (*MsgUpdateMinSelfDelegationResponse) Reset added in v0.19.0

func (*MsgUpdateMinSelfDelegationResponse) Size added in v0.19.0

func (*MsgUpdateMinSelfDelegationResponse) String added in v0.19.0

func (*MsgUpdateMinSelfDelegationResponse) Unmarshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegationResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateMinSelfDelegationResponse) XXX_DiscardUnknown added in v0.19.0

func (m *MsgUpdateMinSelfDelegationResponse) XXX_DiscardUnknown()

func (*MsgUpdateMinSelfDelegationResponse) XXX_Marshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMinSelfDelegationResponse) XXX_Merge added in v0.19.0

func (*MsgUpdateMinSelfDelegationResponse) XXX_Size added in v0.19.0

func (*MsgUpdateMinSelfDelegationResponse) XXX_Unmarshal added in v0.19.0

func (m *MsgUpdateMinSelfDelegationResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateTotalBlocksPerYear added in v0.31.0

type MsgUpdateTotalBlocksPerYear struct {
	Creator            string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	TotalBlocksPerYear int64  `protobuf:"varint,2,opt,name=total_blocks_per_year,json=totalBlocksPerYear,proto3" json:"total_blocks_per_year,omitempty"`
}

func NewMsgUpdateTotalBlocksPerYear added in v0.31.0

func NewMsgUpdateTotalBlocksPerYear(creator string, totalBlocksPerYear int64) *MsgUpdateTotalBlocksPerYear

func (*MsgUpdateTotalBlocksPerYear) Descriptor added in v0.31.0

func (*MsgUpdateTotalBlocksPerYear) Descriptor() ([]byte, []int)

func (*MsgUpdateTotalBlocksPerYear) GetCreator added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) GetCreator() string

func (*MsgUpdateTotalBlocksPerYear) GetSigners added in v0.31.0

func (msg *MsgUpdateTotalBlocksPerYear) GetSigners() []sdk.AccAddress

func (*MsgUpdateTotalBlocksPerYear) GetTotalBlocksPerYear added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) GetTotalBlocksPerYear() int64

func (*MsgUpdateTotalBlocksPerYear) Marshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTotalBlocksPerYear) MarshalTo added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTotalBlocksPerYear) MarshalToSizedBuffer added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTotalBlocksPerYear) ProtoMessage added in v0.31.0

func (*MsgUpdateTotalBlocksPerYear) ProtoMessage()

func (*MsgUpdateTotalBlocksPerYear) Reset added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) Reset()

func (*MsgUpdateTotalBlocksPerYear) Size added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) Size() (n int)

func (*MsgUpdateTotalBlocksPerYear) String added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) String() string

func (*MsgUpdateTotalBlocksPerYear) Unmarshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) Unmarshal(dAtA []byte) error

func (*MsgUpdateTotalBlocksPerYear) ValidateBasic added in v0.31.0

func (msg *MsgUpdateTotalBlocksPerYear) ValidateBasic() error

func (*MsgUpdateTotalBlocksPerYear) XXX_DiscardUnknown added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) XXX_DiscardUnknown()

func (*MsgUpdateTotalBlocksPerYear) XXX_Marshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTotalBlocksPerYear) XXX_Merge added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) XXX_Merge(src proto.Message)

func (*MsgUpdateTotalBlocksPerYear) XXX_Size added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) XXX_Size() int

func (*MsgUpdateTotalBlocksPerYear) XXX_Unmarshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYear) XXX_Unmarshal(b []byte) error

type MsgUpdateTotalBlocksPerYearResponse added in v0.31.0

type MsgUpdateTotalBlocksPerYearResponse struct {
}

func (*MsgUpdateTotalBlocksPerYearResponse) Descriptor added in v0.31.0

func (*MsgUpdateTotalBlocksPerYearResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateTotalBlocksPerYearResponse) Marshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYearResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTotalBlocksPerYearResponse) MarshalTo added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYearResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTotalBlocksPerYearResponse) MarshalToSizedBuffer added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYearResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTotalBlocksPerYearResponse) ProtoMessage added in v0.31.0

func (*MsgUpdateTotalBlocksPerYearResponse) ProtoMessage()

func (*MsgUpdateTotalBlocksPerYearResponse) Reset added in v0.31.0

func (*MsgUpdateTotalBlocksPerYearResponse) Size added in v0.31.0

func (*MsgUpdateTotalBlocksPerYearResponse) String added in v0.31.0

func (*MsgUpdateTotalBlocksPerYearResponse) Unmarshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYearResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateTotalBlocksPerYearResponse) XXX_DiscardUnknown added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYearResponse) XXX_DiscardUnknown()

func (*MsgUpdateTotalBlocksPerYearResponse) XXX_Marshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYearResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTotalBlocksPerYearResponse) XXX_Merge added in v0.31.0

func (*MsgUpdateTotalBlocksPerYearResponse) XXX_Size added in v0.31.0

func (*MsgUpdateTotalBlocksPerYearResponse) XXX_Unmarshal added in v0.31.0

func (m *MsgUpdateTotalBlocksPerYearResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateWasmConfig added in v0.33.0

type MsgUpdateWasmConfig struct {
	Creator                 string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	WasmMaxLabelSize        string `protobuf:"bytes,2,opt,name=wasm_max_label_size,json=wasmMaxLabelSize,proto3" json:"wasm_max_label_size,omitempty"`
	WasmMaxSize             string `protobuf:"bytes,3,opt,name=wasm_max_size,json=wasmMaxSize,proto3" json:"wasm_max_size,omitempty"`
	WasmMaxProposalWasmSize string `` /* 136-byte string literal not displayed */
}

func NewMsgUpdateWasmConfig added in v0.33.0

func NewMsgUpdateWasmConfig(creator string, wasmMaxLabelSize string, wasmMaxSize string, wasmMaxProposalWasmSize string) *MsgUpdateWasmConfig

func (*MsgUpdateWasmConfig) Descriptor added in v0.33.0

func (*MsgUpdateWasmConfig) Descriptor() ([]byte, []int)

func (*MsgUpdateWasmConfig) GetCreator added in v0.33.0

func (m *MsgUpdateWasmConfig) GetCreator() string

func (*MsgUpdateWasmConfig) GetSignBytes added in v0.33.0

func (msg *MsgUpdateWasmConfig) GetSignBytes() []byte

func (*MsgUpdateWasmConfig) GetSigners added in v0.33.0

func (msg *MsgUpdateWasmConfig) GetSigners() []sdk.AccAddress

func (*MsgUpdateWasmConfig) GetWasmMaxLabelSize added in v0.33.0

func (m *MsgUpdateWasmConfig) GetWasmMaxLabelSize() string

func (*MsgUpdateWasmConfig) GetWasmMaxProposalWasmSize added in v0.33.0

func (m *MsgUpdateWasmConfig) GetWasmMaxProposalWasmSize() string

func (*MsgUpdateWasmConfig) GetWasmMaxSize added in v0.33.0

func (m *MsgUpdateWasmConfig) GetWasmMaxSize() string

func (*MsgUpdateWasmConfig) Marshal added in v0.33.0

func (m *MsgUpdateWasmConfig) Marshal() (dAtA []byte, err error)

func (*MsgUpdateWasmConfig) MarshalTo added in v0.33.0

func (m *MsgUpdateWasmConfig) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateWasmConfig) MarshalToSizedBuffer added in v0.33.0

func (m *MsgUpdateWasmConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateWasmConfig) ProtoMessage added in v0.33.0

func (*MsgUpdateWasmConfig) ProtoMessage()

func (*MsgUpdateWasmConfig) Reset added in v0.33.0

func (m *MsgUpdateWasmConfig) Reset()

func (*MsgUpdateWasmConfig) Route added in v0.33.0

func (msg *MsgUpdateWasmConfig) Route() string

func (*MsgUpdateWasmConfig) Size added in v0.33.0

func (m *MsgUpdateWasmConfig) Size() (n int)

func (*MsgUpdateWasmConfig) String added in v0.33.0

func (m *MsgUpdateWasmConfig) String() string

func (*MsgUpdateWasmConfig) Type added in v0.33.0

func (msg *MsgUpdateWasmConfig) Type() string

func (*MsgUpdateWasmConfig) Unmarshal added in v0.33.0

func (m *MsgUpdateWasmConfig) Unmarshal(dAtA []byte) error

func (*MsgUpdateWasmConfig) ValidateBasic added in v0.33.0

func (msg *MsgUpdateWasmConfig) ValidateBasic() error

func (*MsgUpdateWasmConfig) XXX_DiscardUnknown added in v0.33.0

func (m *MsgUpdateWasmConfig) XXX_DiscardUnknown()

func (*MsgUpdateWasmConfig) XXX_Marshal added in v0.33.0

func (m *MsgUpdateWasmConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateWasmConfig) XXX_Merge added in v0.33.0

func (m *MsgUpdateWasmConfig) XXX_Merge(src proto.Message)

func (*MsgUpdateWasmConfig) XXX_Size added in v0.33.0

func (m *MsgUpdateWasmConfig) XXX_Size() int

func (*MsgUpdateWasmConfig) XXX_Unmarshal added in v0.33.0

func (m *MsgUpdateWasmConfig) XXX_Unmarshal(b []byte) error

type MsgUpdateWasmConfigResponse added in v0.33.0

type MsgUpdateWasmConfigResponse struct {
}

func (*MsgUpdateWasmConfigResponse) Descriptor added in v0.33.0

func (*MsgUpdateWasmConfigResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateWasmConfigResponse) Marshal added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateWasmConfigResponse) MarshalTo added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateWasmConfigResponse) MarshalToSizedBuffer added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateWasmConfigResponse) ProtoMessage added in v0.33.0

func (*MsgUpdateWasmConfigResponse) ProtoMessage()

func (*MsgUpdateWasmConfigResponse) Reset added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) Reset()

func (*MsgUpdateWasmConfigResponse) Size added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) Size() (n int)

func (*MsgUpdateWasmConfigResponse) String added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) String() string

func (*MsgUpdateWasmConfigResponse) Unmarshal added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateWasmConfigResponse) XXX_DiscardUnknown added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) XXX_DiscardUnknown()

func (*MsgUpdateWasmConfigResponse) XXX_Marshal added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateWasmConfigResponse) XXX_Merge added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateWasmConfigResponse) XXX_Size added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) XXX_Size() int

func (*MsgUpdateWasmConfigResponse) XXX_Unmarshal added in v0.33.0

func (m *MsgUpdateWasmConfigResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	MinCommissionRate       github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	MaxVotingPower          github_com_cosmos_cosmos_sdk_types.Dec `` /* 145-byte string literal not displayed */
	MinSelfDelegation       github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */
	BrokerAddress           string                                 `protobuf:"bytes,4,opt,name=broker_address,json=brokerAddress,proto3" json:"broker_address,omitempty"`
	TotalBlocksPerYear      int64                                  `protobuf:"varint,5,opt,name=total_blocks_per_year,json=totalBlocksPerYear,proto3" json:"total_blocks_per_year,omitempty"`
	RewardsDataLifetime     int64                                  `protobuf:"varint,6,opt,name=rewards_data_lifetime,json=rewardsDataLifetime,proto3" json:"rewards_data_lifetime,omitempty"`
	WasmMaxLabelSize        github_com_cosmos_cosmos_sdk_types.Int `` /* 153-byte string literal not displayed */
	WasmMaxSize             github_com_cosmos_cosmos_sdk_types.Int `` /* 136-byte string literal not displayed */
	WasmMaxProposalWasmSize github_com_cosmos_cosmos_sdk_types.Int `` /* 176-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	minCommissionRate sdk.Dec,
	maxVotingPower sdk.Dec,
	minSelfDelegation math.Int,
	brokerAddress string,
	totalBlocksPerYear int64,
	rewardsDataLifeTime int64,
	wasmMaxLabelSize math.Int,
	wasmMaxSize math.Int,
	wasmMaxProposalWasmSize math.Int,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetBrokerAddress added in v0.19.0

func (m *Params) GetBrokerAddress() string

func (*Params) GetRewardsDataLifetime added in v0.33.0

func (m *Params) GetRewardsDataLifetime() int64

func (*Params) GetTotalBlocksPerYear added in v0.31.0

func (m *Params) GetTotalBlocksPerYear() int64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}

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.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) UpdateBrokerAddress added in v0.19.0

func (*UnimplementedMsgServer) UpdateMaxVotingPower added in v0.19.0

func (*UnimplementedMsgServer) UpdateMinCommission added in v0.19.0

func (*UnimplementedMsgServer) UpdateMinSelfDelegation added in v0.19.0

func (*UnimplementedMsgServer) UpdateTotalBlocksPerYear added in v0.31.0

func (*UnimplementedMsgServer) UpdateWasmConfig added in v0.33.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL