types

package
v24.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ModuleName = "cw-hooks"

	StoreKey = ModuleName

	QuerierRoute = ModuleName

	RouterKey = ModuleName
)
View Source
const TypeMsgRegisterGovernance = "register_governance"

== TypeMsgRegisterGovernance ==

View Source
const TypeMsgRegisterStaking = "register_staking"

== MsgRegisterStaking ==

View Source
const TypeMsgUnregisterGovernance = "unregister_governance"

== TypeMsgUnregisterGovernance ==

View Source
const TypeMsgUnregisterStaking = "unregister_staking"

== TypeMsgUnregisterStaking ==

View Source
const TypeMsgUpdateParams = "update_hook_params"

== MsgUpdateParams ==

Variables

View Source
var (
	ErrInvalidLengthCwhooks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCwhooks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCwhooks = fmt.Errorf("proto: unexpected end of group")
)
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 (
	KeyPrefixStaking = []byte{0x01}
	KeyPrefixGov     = []byte{0x02}
)
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")
)
View Source
var (
	AminoCdc = codec.NewAminoCodec(amino)
)
View Source
var ParamsKey = []byte{0x00}

Functions

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec

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)

func Validate

func Validate(message CwHooks) error

Types

type Contract

type Contract struct {
	// contract_address
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// register_address
	RegisterAddress string `protobuf:"bytes,2,opt,name=register_address,json=registerAddress,proto3" json:"register_address,omitempty"`
}

Contract is the proto definition of a contract that can be registered for the hooks

func (*Contract) Descriptor

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

func (*Contract) GetContractAddress

func (m *Contract) GetContractAddress() string

func (*Contract) GetRegisterAddress

func (m *Contract) GetRegisterAddress() string

func (*Contract) Marshal

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

func (*Contract) MarshalTo

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

func (*Contract) MarshalToSizedBuffer

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

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) Reset

func (m *Contract) Reset()

func (*Contract) Size

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

func (*Contract) String

func (m *Contract) String() string

func (*Contract) Unmarshal

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

func (*Contract) XXX_DiscardUnknown

func (m *Contract) XXX_DiscardUnknown()

func (*Contract) XXX_Marshal

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

func (*Contract) XXX_Merge

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

func (*Contract) XXX_Size

func (m *Contract) XXX_Size() int

func (*Contract) XXX_Unmarshal

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

type CwHooks

type CwHooks interface {
	GetContractAddress() string
	GetRegisterAddress() string
}

type GenesisState

type GenesisState struct {
	// Params of this module
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// staking_contract_addresses
	StakingContractAddresses []string `` /* 169-byte string literal not displayed */
	// gov_contract_addresses
	GovContractAddresses []string `` /* 153-byte string literal not displayed */
}

GenesisState - initial state of module

func (*GenesisState) Descriptor

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

func (*GenesisState) GetGovContractAddresses

func (m *GenesisState) GetGovContractAddresses() []string

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetStakingContractAddresses

func (m *GenesisState) GetStakingContractAddresses() []string

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) 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 MsgClient

type MsgClient interface {
	// UpdateParams defines a governance operation for updating the x/clock 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)
	// RegisterStaking.
	RegisterStaking(ctx context.Context, in *MsgRegisterStaking, opts ...grpc.CallOption) (*MsgRegisterStakingResponse, error)
	// UnregisterStaking.
	UnregisterStaking(ctx context.Context, in *MsgUnregisterStaking, opts ...grpc.CallOption) (*MsgUnregisterStakingResponse, error)
	// RegisterGovernance.
	RegisterGovernance(ctx context.Context, in *MsgRegisterGovernance, opts ...grpc.CallOption) (*MsgRegisterGovernanceResponse, error)
	// UnregisterGovernance.
	UnregisterGovernance(ctx context.Context, in *MsgUnregisterGovernance, opts ...grpc.CallOption) (*MsgUnregisterGovernanceResponse, error)
}

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 MsgRegisterGovernance

type MsgRegisterGovernance struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	RegisterAddress string `protobuf:"bytes,2,opt,name=register_address,json=registerAddress,proto3" json:"register_address,omitempty"`
}

MsgRegisterGovernance

func NewMsgRegisterGovernance

func NewMsgRegisterGovernance(
	sender sdk.Address,
	contract sdk.Address,
) *MsgRegisterGovernance

func (*MsgRegisterGovernance) Descriptor

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

func (*MsgRegisterGovernance) GetContractAddress

func (m *MsgRegisterGovernance) GetContractAddress() string

func (*MsgRegisterGovernance) GetRegisterAddress

func (m *MsgRegisterGovernance) GetRegisterAddress() string

func (MsgRegisterGovernance) GetSignBytes

func (msg MsgRegisterGovernance) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgRegisterGovernance) GetSigners

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

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgRegisterGovernance) Marshal

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

func (*MsgRegisterGovernance) MarshalTo

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

func (*MsgRegisterGovernance) MarshalToSizedBuffer

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

func (*MsgRegisterGovernance) ProtoMessage

func (*MsgRegisterGovernance) ProtoMessage()

func (*MsgRegisterGovernance) Reset

func (m *MsgRegisterGovernance) Reset()

func (MsgRegisterGovernance) Route

func (msg MsgRegisterGovernance) Route() string

Route returns the name of the module

func (*MsgRegisterGovernance) Size

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

func (*MsgRegisterGovernance) String

func (m *MsgRegisterGovernance) String() string

func (MsgRegisterGovernance) Type

func (msg MsgRegisterGovernance) Type() string

Type returns the the action

func (*MsgRegisterGovernance) Unmarshal

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

func (*MsgRegisterGovernance) ValidateBasic

func (msg *MsgRegisterGovernance) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgRegisterGovernance) XXX_DiscardUnknown

func (m *MsgRegisterGovernance) XXX_DiscardUnknown()

func (*MsgRegisterGovernance) XXX_Marshal

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

func (*MsgRegisterGovernance) XXX_Merge

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

func (*MsgRegisterGovernance) XXX_Size

func (m *MsgRegisterGovernance) XXX_Size() int

func (*MsgRegisterGovernance) XXX_Unmarshal

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

type MsgRegisterGovernanceResponse

type MsgRegisterGovernanceResponse struct {
}

MsgRegisterGovernanceResponse

func (*MsgRegisterGovernanceResponse) Descriptor

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

func (*MsgRegisterGovernanceResponse) Marshal

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

func (*MsgRegisterGovernanceResponse) MarshalTo

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

func (*MsgRegisterGovernanceResponse) MarshalToSizedBuffer

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

func (*MsgRegisterGovernanceResponse) ProtoMessage

func (*MsgRegisterGovernanceResponse) ProtoMessage()

func (*MsgRegisterGovernanceResponse) Reset

func (m *MsgRegisterGovernanceResponse) Reset()

func (*MsgRegisterGovernanceResponse) Size

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

func (*MsgRegisterGovernanceResponse) String

func (*MsgRegisterGovernanceResponse) Unmarshal

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

func (*MsgRegisterGovernanceResponse) XXX_DiscardUnknown

func (m *MsgRegisterGovernanceResponse) XXX_DiscardUnknown()

func (*MsgRegisterGovernanceResponse) XXX_Marshal

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

func (*MsgRegisterGovernanceResponse) XXX_Merge

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

func (*MsgRegisterGovernanceResponse) XXX_Size

func (m *MsgRegisterGovernanceResponse) XXX_Size() int

func (*MsgRegisterGovernanceResponse) XXX_Unmarshal

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

type MsgRegisterStaking

type MsgRegisterStaking struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	RegisterAddress string `protobuf:"bytes,2,opt,name=register_address,json=registerAddress,proto3" json:"register_address,omitempty"`
}

MsgRegisterStaking

func NewMsgRegisterStaking

func NewMsgRegisterStaking(
	sender sdk.Address,
	contract sdk.Address,
) *MsgRegisterStaking

func (*MsgRegisterStaking) Descriptor

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

func (*MsgRegisterStaking) GetContractAddress

func (m *MsgRegisterStaking) GetContractAddress() string

func (*MsgRegisterStaking) GetRegisterAddress

func (m *MsgRegisterStaking) GetRegisterAddress() string

func (MsgRegisterStaking) GetSignBytes

func (msg MsgRegisterStaking) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgRegisterStaking) GetSigners

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

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgRegisterStaking) Marshal

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

func (*MsgRegisterStaking) MarshalTo

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

func (*MsgRegisterStaking) MarshalToSizedBuffer

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

func (*MsgRegisterStaking) ProtoMessage

func (*MsgRegisterStaking) ProtoMessage()

func (*MsgRegisterStaking) Reset

func (m *MsgRegisterStaking) Reset()

func (MsgRegisterStaking) Route

func (msg MsgRegisterStaking) Route() string

Route returns the name of the module

func (*MsgRegisterStaking) Size

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

func (*MsgRegisterStaking) String

func (m *MsgRegisterStaking) String() string

func (MsgRegisterStaking) Type

func (msg MsgRegisterStaking) Type() string

Type returns the the action

func (*MsgRegisterStaking) Unmarshal

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

func (*MsgRegisterStaking) ValidateBasic

func (msg *MsgRegisterStaking) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgRegisterStaking) XXX_DiscardUnknown

func (m *MsgRegisterStaking) XXX_DiscardUnknown()

func (*MsgRegisterStaking) XXX_Marshal

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

func (*MsgRegisterStaking) XXX_Merge

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

func (*MsgRegisterStaking) XXX_Size

func (m *MsgRegisterStaking) XXX_Size() int

func (*MsgRegisterStaking) XXX_Unmarshal

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

type MsgRegisterStakingResponse

type MsgRegisterStakingResponse struct {
}

MsgRegisterStakingResponse

func (*MsgRegisterStakingResponse) Descriptor

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

func (*MsgRegisterStakingResponse) Marshal

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

func (*MsgRegisterStakingResponse) MarshalTo

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

func (*MsgRegisterStakingResponse) MarshalToSizedBuffer

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

func (*MsgRegisterStakingResponse) ProtoMessage

func (*MsgRegisterStakingResponse) ProtoMessage()

func (*MsgRegisterStakingResponse) Reset

func (m *MsgRegisterStakingResponse) Reset()

func (*MsgRegisterStakingResponse) Size

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

func (*MsgRegisterStakingResponse) String

func (m *MsgRegisterStakingResponse) String() string

func (*MsgRegisterStakingResponse) Unmarshal

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

func (*MsgRegisterStakingResponse) XXX_DiscardUnknown

func (m *MsgRegisterStakingResponse) XXX_DiscardUnknown()

func (*MsgRegisterStakingResponse) XXX_Marshal

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

func (*MsgRegisterStakingResponse) XXX_Merge

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

func (*MsgRegisterStakingResponse) XXX_Size

func (m *MsgRegisterStakingResponse) XXX_Size() int

func (*MsgRegisterStakingResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// UpdateParams defines a governance operation for updating the x/clock module
	// parameters. The authority is hard-coded to the x/gov module account.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// RegisterStaking.
	RegisterStaking(context.Context, *MsgRegisterStaking) (*MsgRegisterStakingResponse, error)
	// UnregisterStaking.
	UnregisterStaking(context.Context, *MsgUnregisterStaking) (*MsgUnregisterStakingResponse, error)
	// RegisterGovernance.
	RegisterGovernance(context.Context, *MsgRegisterGovernance) (*MsgRegisterGovernanceResponse, error)
	// UnregisterGovernance.
	UnregisterGovernance(context.Context, *MsgUnregisterGovernance) (*MsgUnregisterGovernanceResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUnregisterGovernance

type MsgUnregisterGovernance struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	RegisterAddress string `protobuf:"bytes,2,opt,name=register_address,json=registerAddress,proto3" json:"register_address,omitempty"`
}

MsgUnregisterGovernance

func NewMsgUnregisterGovernance

func NewMsgUnregisterGovernance(
	sender sdk.Address,
	contract sdk.Address,
) *MsgUnregisterGovernance

func (*MsgUnregisterGovernance) Descriptor

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

func (*MsgUnregisterGovernance) GetContractAddress

func (m *MsgUnregisterGovernance) GetContractAddress() string

func (*MsgUnregisterGovernance) GetRegisterAddress

func (m *MsgUnregisterGovernance) GetRegisterAddress() string

func (MsgUnregisterGovernance) GetSignBytes

func (msg MsgUnregisterGovernance) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUnregisterGovernance) GetSigners

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

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUnregisterGovernance) Marshal

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

func (*MsgUnregisterGovernance) MarshalTo

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

func (*MsgUnregisterGovernance) MarshalToSizedBuffer

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

func (*MsgUnregisterGovernance) ProtoMessage

func (*MsgUnregisterGovernance) ProtoMessage()

func (*MsgUnregisterGovernance) Reset

func (m *MsgUnregisterGovernance) Reset()

func (MsgUnregisterGovernance) Route

func (msg MsgUnregisterGovernance) Route() string

Route returns the name of the module

func (*MsgUnregisterGovernance) Size

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

func (*MsgUnregisterGovernance) String

func (m *MsgUnregisterGovernance) String() string

func (MsgUnregisterGovernance) Type

func (msg MsgUnregisterGovernance) Type() string

Type returns the the action

func (*MsgUnregisterGovernance) Unmarshal

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

func (*MsgUnregisterGovernance) ValidateBasic

func (msg *MsgUnregisterGovernance) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUnregisterGovernance) XXX_DiscardUnknown

func (m *MsgUnregisterGovernance) XXX_DiscardUnknown()

func (*MsgUnregisterGovernance) XXX_Marshal

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

func (*MsgUnregisterGovernance) XXX_Merge

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

func (*MsgUnregisterGovernance) XXX_Size

func (m *MsgUnregisterGovernance) XXX_Size() int

func (*MsgUnregisterGovernance) XXX_Unmarshal

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

type MsgUnregisterGovernanceResponse

type MsgUnregisterGovernanceResponse struct {
}

MsgUnregisterGovernanceResponse

func (*MsgUnregisterGovernanceResponse) Descriptor

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

func (*MsgUnregisterGovernanceResponse) Marshal

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

func (*MsgUnregisterGovernanceResponse) MarshalTo

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

func (*MsgUnregisterGovernanceResponse) MarshalToSizedBuffer

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

func (*MsgUnregisterGovernanceResponse) ProtoMessage

func (*MsgUnregisterGovernanceResponse) ProtoMessage()

func (*MsgUnregisterGovernanceResponse) Reset

func (*MsgUnregisterGovernanceResponse) Size

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

func (*MsgUnregisterGovernanceResponse) String

func (*MsgUnregisterGovernanceResponse) Unmarshal

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

func (*MsgUnregisterGovernanceResponse) XXX_DiscardUnknown

func (m *MsgUnregisterGovernanceResponse) XXX_DiscardUnknown()

func (*MsgUnregisterGovernanceResponse) XXX_Marshal

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

func (*MsgUnregisterGovernanceResponse) XXX_Merge

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

func (*MsgUnregisterGovernanceResponse) XXX_Size

func (m *MsgUnregisterGovernanceResponse) XXX_Size() int

func (*MsgUnregisterGovernanceResponse) XXX_Unmarshal

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

type MsgUnregisterStaking

type MsgUnregisterStaking struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	RegisterAddress string `protobuf:"bytes,2,opt,name=register_address,json=registerAddress,proto3" json:"register_address,omitempty"`
}

MsgUnregisterStaking

func NewMsgUnregisterStaking

func NewMsgUnregisterStaking(
	sender sdk.Address,
	contract sdk.Address,
) *MsgUnregisterStaking

func (*MsgUnregisterStaking) Descriptor

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

func (*MsgUnregisterStaking) GetContractAddress

func (m *MsgUnregisterStaking) GetContractAddress() string

func (*MsgUnregisterStaking) GetRegisterAddress

func (m *MsgUnregisterStaking) GetRegisterAddress() string

func (MsgUnregisterStaking) GetSignBytes

func (msg MsgUnregisterStaking) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUnregisterStaking) GetSigners

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

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUnregisterStaking) Marshal

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

func (*MsgUnregisterStaking) MarshalTo

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

func (*MsgUnregisterStaking) MarshalToSizedBuffer

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

func (*MsgUnregisterStaking) ProtoMessage

func (*MsgUnregisterStaking) ProtoMessage()

func (*MsgUnregisterStaking) Reset

func (m *MsgUnregisterStaking) Reset()

func (MsgUnregisterStaking) Route

func (msg MsgUnregisterStaking) Route() string

Route returns the name of the module

func (*MsgUnregisterStaking) Size

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

func (*MsgUnregisterStaking) String

func (m *MsgUnregisterStaking) String() string

func (MsgUnregisterStaking) Type

func (msg MsgUnregisterStaking) Type() string

Type returns the the action

func (*MsgUnregisterStaking) Unmarshal

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

func (*MsgUnregisterStaking) ValidateBasic

func (msg *MsgUnregisterStaking) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUnregisterStaking) XXX_DiscardUnknown

func (m *MsgUnregisterStaking) XXX_DiscardUnknown()

func (*MsgUnregisterStaking) XXX_Marshal

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

func (*MsgUnregisterStaking) XXX_Merge

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

func (*MsgUnregisterStaking) XXX_Size

func (m *MsgUnregisterStaking) XXX_Size() int

func (*MsgUnregisterStaking) XXX_Unmarshal

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

type MsgUnregisterStakingResponse

type MsgUnregisterStakingResponse struct {
}

MsgUnregisterStakingResponse

func (*MsgUnregisterStakingResponse) Descriptor

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

func (*MsgUnregisterStakingResponse) Marshal

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

func (*MsgUnregisterStakingResponse) MarshalTo

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

func (*MsgUnregisterStakingResponse) MarshalToSizedBuffer

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

func (*MsgUnregisterStakingResponse) ProtoMessage

func (*MsgUnregisterStakingResponse) ProtoMessage()

func (*MsgUnregisterStakingResponse) Reset

func (m *MsgUnregisterStakingResponse) Reset()

func (*MsgUnregisterStakingResponse) Size

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

func (*MsgUnregisterStakingResponse) String

func (*MsgUnregisterStakingResponse) Unmarshal

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

func (*MsgUnregisterStakingResponse) XXX_DiscardUnknown

func (m *MsgUnregisterStakingResponse) XXX_DiscardUnknown()

func (*MsgUnregisterStakingResponse) XXX_Marshal

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

func (*MsgUnregisterStakingResponse) XXX_Merge

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

func (*MsgUnregisterStakingResponse) XXX_Size

func (m *MsgUnregisterStakingResponse) XXX_Size() int

func (*MsgUnregisterStakingResponse) XXX_Unmarshal

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

type MsgUpdateParams

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/clock parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func NewMsgUpdateParams

func NewMsgUpdateParams(
	sender sdk.Address,
) *MsgUpdateParams

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (MsgUpdateParams) GetSignBytes

func (msg MsgUpdateParams) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateParams) GetSigners

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

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route

func (msg MsgUpdateParams) Route() string

Route returns the name of the module

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type

func (msg MsgUpdateParams) Type() string

Type returns the the action

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type Params

type Params struct {
	// contract_gas_limit is the contract call gas limit
	ContractGasLimit uint64 `` /* 138-byte string literal not displayed */
}

Params defines the set of module parameters.

func DefaultParams

func DefaultParams() Params

DefaultParams returns default parameters

func NewParams

func NewParams(contractGasLimit uint64) Params

NewParams creates a new Params object

func (*Params) Descriptor

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

func (*Params) GetContractGasLimit

func (m *Params) GetContractGasLimit() uint64

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 (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate performs basic validation.

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 {
	// Params
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// StakingContracts
	StakingContracts(ctx context.Context, in *QueryStakingContractsRequest, opts ...grpc.CallOption) (*QueryStakingContractsResponse, error)
	// GovernanceContracts
	GovernanceContracts(ctx context.Context, in *QueryGovernanceContractsRequest, opts ...grpc.CallOption) (*QueryGovernanceContractsResponse, 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 QueryGovernanceContractsRequest

type QueryGovernanceContractsRequest struct {
}

QueryStakingContractsRequest

func (*QueryGovernanceContractsRequest) Descriptor

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

func (*QueryGovernanceContractsRequest) Marshal

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

func (*QueryGovernanceContractsRequest) MarshalTo

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

func (*QueryGovernanceContractsRequest) MarshalToSizedBuffer

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

func (*QueryGovernanceContractsRequest) ProtoMessage

func (*QueryGovernanceContractsRequest) ProtoMessage()

func (*QueryGovernanceContractsRequest) Reset

func (*QueryGovernanceContractsRequest) Size

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

func (*QueryGovernanceContractsRequest) String

func (*QueryGovernanceContractsRequest) Unmarshal

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

func (*QueryGovernanceContractsRequest) XXX_DiscardUnknown

func (m *QueryGovernanceContractsRequest) XXX_DiscardUnknown()

func (*QueryGovernanceContractsRequest) XXX_Marshal

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

func (*QueryGovernanceContractsRequest) XXX_Merge

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

func (*QueryGovernanceContractsRequest) XXX_Size

func (m *QueryGovernanceContractsRequest) XXX_Size() int

func (*QueryGovernanceContractsRequest) XXX_Unmarshal

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

type QueryGovernanceContractsResponse

type QueryGovernanceContractsResponse struct {
	Contracts []string `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts" yaml:"contracts"`
}

QueryGovernanceContractsResponse

func (*QueryGovernanceContractsResponse) Descriptor

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

func (*QueryGovernanceContractsResponse) GetContracts

func (m *QueryGovernanceContractsResponse) GetContracts() []string

func (*QueryGovernanceContractsResponse) Marshal

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

func (*QueryGovernanceContractsResponse) MarshalTo

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

func (*QueryGovernanceContractsResponse) MarshalToSizedBuffer

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

func (*QueryGovernanceContractsResponse) ProtoMessage

func (*QueryGovernanceContractsResponse) ProtoMessage()

func (*QueryGovernanceContractsResponse) Reset

func (*QueryGovernanceContractsResponse) Size

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

func (*QueryGovernanceContractsResponse) String

func (*QueryGovernanceContractsResponse) Unmarshal

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

func (*QueryGovernanceContractsResponse) XXX_DiscardUnknown

func (m *QueryGovernanceContractsResponse) XXX_DiscardUnknown()

func (*QueryGovernanceContractsResponse) XXX_Marshal

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

func (*QueryGovernanceContractsResponse) XXX_Merge

func (*QueryGovernanceContractsResponse) XXX_Size

func (m *QueryGovernanceContractsResponse) XXX_Size() int

func (*QueryGovernanceContractsResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParams is the request type to get all module params.

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 *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"`
}

QueryClockContractsResponse is the response type for the Query/ClockContracts 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 {
	// Params
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// StakingContracts
	StakingContracts(context.Context, *QueryStakingContractsRequest) (*QueryStakingContractsResponse, error)
	// GovernanceContracts
	GovernanceContracts(context.Context, *QueryGovernanceContractsRequest) (*QueryGovernanceContractsResponse, error)
}

QueryServer is the server API for Query service.

type QueryStakingContractsRequest

type QueryStakingContractsRequest struct {
}

QueryStakingContractsRequest

func (*QueryStakingContractsRequest) Descriptor

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

func (*QueryStakingContractsRequest) Marshal

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

func (*QueryStakingContractsRequest) MarshalTo

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

func (*QueryStakingContractsRequest) MarshalToSizedBuffer

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

func (*QueryStakingContractsRequest) ProtoMessage

func (*QueryStakingContractsRequest) ProtoMessage()

func (*QueryStakingContractsRequest) Reset

func (m *QueryStakingContractsRequest) Reset()

func (*QueryStakingContractsRequest) Size

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

func (*QueryStakingContractsRequest) String

func (*QueryStakingContractsRequest) Unmarshal

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

func (*QueryStakingContractsRequest) XXX_DiscardUnknown

func (m *QueryStakingContractsRequest) XXX_DiscardUnknown()

func (*QueryStakingContractsRequest) XXX_Marshal

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

func (*QueryStakingContractsRequest) XXX_Merge

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

func (*QueryStakingContractsRequest) XXX_Size

func (m *QueryStakingContractsRequest) XXX_Size() int

func (*QueryStakingContractsRequest) XXX_Unmarshal

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

type QueryStakingContractsResponse

type QueryStakingContractsResponse struct {
	Contracts []string `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts" yaml:"contracts"`
}

QueryStakingContractsResponse

func (*QueryStakingContractsResponse) Descriptor

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

func (*QueryStakingContractsResponse) GetContracts

func (m *QueryStakingContractsResponse) GetContracts() []string

func (*QueryStakingContractsResponse) Marshal

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

func (*QueryStakingContractsResponse) MarshalTo

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

func (*QueryStakingContractsResponse) MarshalToSizedBuffer

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

func (*QueryStakingContractsResponse) ProtoMessage

func (*QueryStakingContractsResponse) ProtoMessage()

func (*QueryStakingContractsResponse) Reset

func (m *QueryStakingContractsResponse) Reset()

func (*QueryStakingContractsResponse) Size

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

func (*QueryStakingContractsResponse) String

func (*QueryStakingContractsResponse) Unmarshal

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

func (*QueryStakingContractsResponse) XXX_DiscardUnknown

func (m *QueryStakingContractsResponse) XXX_DiscardUnknown()

func (*QueryStakingContractsResponse) XXX_Marshal

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

func (*QueryStakingContractsResponse) XXX_Merge

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

func (*QueryStakingContractsResponse) XXX_Size

func (m *QueryStakingContractsResponse) XXX_Size() int

func (*QueryStakingContractsResponse) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) RegisterGovernance

func (*UnimplementedMsgServer) RegisterStaking

func (*UnimplementedMsgServer) UnregisterGovernance

func (*UnimplementedMsgServer) UnregisterStaking

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GovernanceContracts

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) StakingContracts

Jump to

Keyboard shortcuts

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