appv1alpha1

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApp        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApp          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApp = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)

Types

type AppParameters

type AppParameters struct {
	// Chain module parameters.
	ChainParams *v1alpha11.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"`
	// Community Pool module parameters.
	CommunityPoolParams *v1alpha12.CommunityPoolParameters `protobuf:"bytes,2,opt,name=community_pool_params,json=communityPoolParams,proto3" json:"community_pool_params,omitempty"`
	// Governance module parameters.
	GovernanceParams *v1alpha13.GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"`
	// IBC module parameters.
	IbcParams *v1alpha14.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"`
	// Stake module parameters.
	StakeParams *v1alpha15.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"`
	// Fee module parameters.
	FeeParams *v1alpha16.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"`
	// Distributions module parameters.
	DistributionsParams *v1alpha17.DistributionsParameters `protobuf:"bytes,7,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"`
}

func (*AppParameters) Descriptor

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

func (*AppParameters) GetChainParams

func (m *AppParameters) GetChainParams() *v1alpha11.ChainParameters

func (*AppParameters) GetCommunityPoolParams

func (m *AppParameters) GetCommunityPoolParams() *v1alpha12.CommunityPoolParameters

func (*AppParameters) GetDistributionsParams

func (m *AppParameters) GetDistributionsParams() *v1alpha17.DistributionsParameters

func (*AppParameters) GetFeeParams

func (m *AppParameters) GetFeeParams() *v1alpha16.FeeParameters

func (*AppParameters) GetGovernanceParams

func (m *AppParameters) GetGovernanceParams() *v1alpha13.GovernanceParameters

func (*AppParameters) GetIbcParams

func (m *AppParameters) GetIbcParams() *v1alpha14.IbcParameters

func (*AppParameters) GetStakeParams

func (m *AppParameters) GetStakeParams() *v1alpha15.StakeParameters

func (*AppParameters) Marshal

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

func (*AppParameters) MarshalTo

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

func (*AppParameters) MarshalToSizedBuffer

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

func (*AppParameters) ProtoMessage

func (*AppParameters) ProtoMessage()

func (*AppParameters) Reset

func (m *AppParameters) Reset()

func (*AppParameters) Size

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

func (*AppParameters) String

func (m *AppParameters) String() string

func (*AppParameters) Unmarshal

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

func (*AppParameters) XXX_DiscardUnknown

func (m *AppParameters) XXX_DiscardUnknown()

func (*AppParameters) XXX_Marshal

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

func (*AppParameters) XXX_Merge

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

func (*AppParameters) XXX_Size

func (m *AppParameters) XXX_Size() int

func (*AppParameters) XXX_Unmarshal

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

type AppParametersRequest

type AppParametersRequest struct {
	// The expected chain id (empty string if no expectation).
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

Requests the global configuration data for the app.

func (*AppParametersRequest) Descriptor

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

func (*AppParametersRequest) GetChainId

func (m *AppParametersRequest) GetChainId() string

func (*AppParametersRequest) Marshal

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

func (*AppParametersRequest) MarshalTo

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

func (*AppParametersRequest) MarshalToSizedBuffer

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

func (*AppParametersRequest) ProtoMessage

func (*AppParametersRequest) ProtoMessage()

func (*AppParametersRequest) Reset

func (m *AppParametersRequest) Reset()

func (*AppParametersRequest) Size

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

func (*AppParametersRequest) String

func (m *AppParametersRequest) String() string

func (*AppParametersRequest) Unmarshal

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

func (*AppParametersRequest) XXX_DiscardUnknown

func (m *AppParametersRequest) XXX_DiscardUnknown()

func (*AppParametersRequest) XXX_Marshal

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

func (*AppParametersRequest) XXX_Merge

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

func (*AppParametersRequest) XXX_Size

func (m *AppParametersRequest) XXX_Size() int

func (*AppParametersRequest) XXX_Unmarshal

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

type AppParametersResponse

type AppParametersResponse struct {
	AppParameters *AppParameters `protobuf:"bytes,1,opt,name=app_parameters,json=appParameters,proto3" json:"app_parameters,omitempty"`
}

func (*AppParametersResponse) Descriptor

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

func (*AppParametersResponse) GetAppParameters

func (m *AppParametersResponse) GetAppParameters() *AppParameters

func (*AppParametersResponse) Marshal

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

func (*AppParametersResponse) MarshalTo

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

func (*AppParametersResponse) MarshalToSizedBuffer

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

func (*AppParametersResponse) ProtoMessage

func (*AppParametersResponse) ProtoMessage()

func (*AppParametersResponse) Reset

func (m *AppParametersResponse) Reset()

func (*AppParametersResponse) Size

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

func (*AppParametersResponse) String

func (m *AppParametersResponse) String() string

func (*AppParametersResponse) Unmarshal

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

func (*AppParametersResponse) XXX_DiscardUnknown

func (m *AppParametersResponse) XXX_DiscardUnknown()

func (*AppParametersResponse) XXX_Marshal

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

func (*AppParametersResponse) XXX_Merge

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

func (*AppParametersResponse) XXX_Size

func (m *AppParametersResponse) XXX_Size() int

func (*AppParametersResponse) XXX_Unmarshal

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

type GenesisAppState

type GenesisAppState struct {
	// Types that are valid to be assigned to GenesisAppState:
	//	*GenesisAppState_GenesisContent
	//	*GenesisAppState_GenesisCheckpoint
	GenesisAppState isGenesisAppState_GenesisAppState `protobuf_oneof:"genesis_app_state"`
}

func (*GenesisAppState) Descriptor

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

func (*GenesisAppState) GetGenesisAppState

func (m *GenesisAppState) GetGenesisAppState() isGenesisAppState_GenesisAppState

func (*GenesisAppState) GetGenesisCheckpoint

func (m *GenesisAppState) GetGenesisCheckpoint() []byte

func (*GenesisAppState) GetGenesisContent

func (m *GenesisAppState) GetGenesisContent() *GenesisContent

func (*GenesisAppState) Marshal

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

func (*GenesisAppState) MarshalTo

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

func (*GenesisAppState) MarshalToSizedBuffer

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

func (*GenesisAppState) ProtoMessage

func (*GenesisAppState) ProtoMessage()

func (*GenesisAppState) Reset

func (m *GenesisAppState) Reset()

func (*GenesisAppState) Size

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

func (*GenesisAppState) String

func (m *GenesisAppState) String() string

func (*GenesisAppState) Unmarshal

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

func (*GenesisAppState) XXX_DiscardUnknown

func (m *GenesisAppState) XXX_DiscardUnknown()

func (*GenesisAppState) XXX_Marshal

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

func (*GenesisAppState) XXX_Merge

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

func (*GenesisAppState) XXX_OneofWrappers

func (*GenesisAppState) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GenesisAppState) XXX_Size

func (m *GenesisAppState) XXX_Size() int

func (*GenesisAppState) XXX_Unmarshal

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

type GenesisAppState_GenesisCheckpoint

type GenesisAppState_GenesisCheckpoint struct {
	GenesisCheckpoint []byte `protobuf:"bytes,2,opt,name=genesis_checkpoint,json=genesisCheckpoint,proto3,oneof" json:"genesis_checkpoint,omitempty"`
}

func (*GenesisAppState_GenesisCheckpoint) MarshalTo

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

func (*GenesisAppState_GenesisCheckpoint) MarshalToSizedBuffer

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

func (*GenesisAppState_GenesisCheckpoint) Size

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

type GenesisAppState_GenesisContent

type GenesisAppState_GenesisContent struct {
	GenesisContent *GenesisContent `protobuf:"bytes,1,opt,name=genesis_content,json=genesisContent,proto3,oneof" json:"genesis_content,omitempty"`
}

func (*GenesisAppState_GenesisContent) MarshalTo

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

func (*GenesisAppState_GenesisContent) MarshalToSizedBuffer

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

func (*GenesisAppState_GenesisContent) Size

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

type GenesisContent

type GenesisContent struct {
	// Stake module genesis state.
	StakeContent *v1alpha15.GenesisContent `protobuf:"bytes,1,opt,name=stake_content,json=stakeContent,proto3" json:"stake_content,omitempty"`
	// Shielded pool module genesis state.
	ShieldedPoolContent *v1alpha18.GenesisContent `protobuf:"bytes,2,opt,name=shielded_pool_content,json=shieldedPoolContent,proto3" json:"shielded_pool_content,omitempty"`
	// Governance module genesis state.
	GovernanceContent *v1alpha13.GenesisContent `protobuf:"bytes,3,opt,name=governance_content,json=governanceContent,proto3" json:"governance_content,omitempty"`
	// IBC module genesis state.
	IbcContent *v1alpha14.GenesisContent `protobuf:"bytes,4,opt,name=ibc_content,json=ibcContent,proto3" json:"ibc_content,omitempty"`
	// Chain module genesis state.
	ChainContent *v1alpha11.GenesisContent `protobuf:"bytes,5,opt,name=chain_content,json=chainContent,proto3" json:"chain_content,omitempty"`
	// Community Pool module genesis state.
	CommunityPoolContent *v1alpha12.GenesisContent `protobuf:"bytes,6,opt,name=community_pool_content,json=communityPoolContent,proto3" json:"community_pool_content,omitempty"`
	// Fee module genesis state.
	FeeContent *v1alpha16.GenesisContent `protobuf:"bytes,7,opt,name=fee_content,json=feeContent,proto3" json:"fee_content,omitempty"`
	// Distributions module genesis state.
	DistributionsContent *v1alpha17.GenesisContent `protobuf:"bytes,8,opt,name=distributions_content,json=distributionsContent,proto3" json:"distributions_content,omitempty"`
}

func (*GenesisContent) Descriptor

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

func (*GenesisContent) GetChainContent

func (m *GenesisContent) GetChainContent() *v1alpha11.GenesisContent

func (*GenesisContent) GetCommunityPoolContent

func (m *GenesisContent) GetCommunityPoolContent() *v1alpha12.GenesisContent

func (*GenesisContent) GetDistributionsContent

func (m *GenesisContent) GetDistributionsContent() *v1alpha17.GenesisContent

func (*GenesisContent) GetFeeContent

func (m *GenesisContent) GetFeeContent() *v1alpha16.GenesisContent

func (*GenesisContent) GetGovernanceContent

func (m *GenesisContent) GetGovernanceContent() *v1alpha13.GenesisContent

func (*GenesisContent) GetIbcContent

func (m *GenesisContent) GetIbcContent() *v1alpha14.GenesisContent

func (*GenesisContent) GetShieldedPoolContent

func (m *GenesisContent) GetShieldedPoolContent() *v1alpha18.GenesisContent

func (*GenesisContent) GetStakeContent

func (m *GenesisContent) GetStakeContent() *v1alpha15.GenesisContent

func (*GenesisContent) Marshal

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

func (*GenesisContent) MarshalTo

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

func (*GenesisContent) MarshalToSizedBuffer

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

func (*GenesisContent) ProtoMessage

func (*GenesisContent) ProtoMessage()

func (*GenesisContent) Reset

func (m *GenesisContent) Reset()

func (*GenesisContent) Size

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

func (*GenesisContent) String

func (m *GenesisContent) String() string

func (*GenesisContent) Unmarshal

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

func (*GenesisContent) XXX_DiscardUnknown

func (m *GenesisContent) XXX_DiscardUnknown()

func (*GenesisContent) XXX_Marshal

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

func (*GenesisContent) XXX_Merge

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

func (*GenesisContent) XXX_Size

func (m *GenesisContent) XXX_Size() int

func (*GenesisContent) XXX_Unmarshal

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

type QueryServiceClient

type QueryServiceClient interface {
	// Gets the app parameters.
	AppParameters(ctx context.Context, in *AppParametersRequest, opts ...grpc.CallOption) (*AppParametersResponse, error)
	// Returns the CometBFT transactions that occurred during a given block.
	TransactionsByHeight(ctx context.Context, in *TransactionsByHeightRequest, opts ...grpc.CallOption) (*TransactionsByHeightResponse, error)
}

QueryServiceClient is the client API for QueryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryServiceClient

func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient

type QueryServiceServer

type QueryServiceServer interface {
	// Gets the app parameters.
	AppParameters(context.Context, *AppParametersRequest) (*AppParametersResponse, error)
	// Returns the CometBFT transactions that occurred during a given block.
	TransactionsByHeight(context.Context, *TransactionsByHeightRequest) (*TransactionsByHeightResponse, error)
}

QueryServiceServer is the server API for QueryService service.

type TransactionsByHeightRequest

type TransactionsByHeightRequest struct {
	// The expected chain id (empty string if no expectation).
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The block height to retrieve.
	BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

Requests the list of all transactions that occurred within a given block.

func (*TransactionsByHeightRequest) Descriptor

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

func (*TransactionsByHeightRequest) GetBlockHeight

func (m *TransactionsByHeightRequest) GetBlockHeight() uint64

func (*TransactionsByHeightRequest) GetChainId

func (m *TransactionsByHeightRequest) GetChainId() string

func (*TransactionsByHeightRequest) Marshal

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

func (*TransactionsByHeightRequest) MarshalTo

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

func (*TransactionsByHeightRequest) MarshalToSizedBuffer

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

func (*TransactionsByHeightRequest) ProtoMessage

func (*TransactionsByHeightRequest) ProtoMessage()

func (*TransactionsByHeightRequest) Reset

func (m *TransactionsByHeightRequest) Reset()

func (*TransactionsByHeightRequest) Size

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

func (*TransactionsByHeightRequest) String

func (m *TransactionsByHeightRequest) String() string

func (*TransactionsByHeightRequest) Unmarshal

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

func (*TransactionsByHeightRequest) XXX_DiscardUnknown

func (m *TransactionsByHeightRequest) XXX_DiscardUnknown()

func (*TransactionsByHeightRequest) XXX_Marshal

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

func (*TransactionsByHeightRequest) XXX_Merge

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

func (*TransactionsByHeightRequest) XXX_Size

func (m *TransactionsByHeightRequest) XXX_Size() int

func (*TransactionsByHeightRequest) XXX_Unmarshal

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

type TransactionsByHeightResponse

type TransactionsByHeightResponse struct {
	// The transactions.
	Transactions []*v1alpha1.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// The block height.
	BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

A transaction that appeared within a given block.

func (*TransactionsByHeightResponse) Descriptor

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

func (*TransactionsByHeightResponse) GetBlockHeight

func (m *TransactionsByHeightResponse) GetBlockHeight() uint64

func (*TransactionsByHeightResponse) GetTransactions

func (m *TransactionsByHeightResponse) GetTransactions() []*v1alpha1.Transaction

func (*TransactionsByHeightResponse) Marshal

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

func (*TransactionsByHeightResponse) MarshalTo

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

func (*TransactionsByHeightResponse) MarshalToSizedBuffer

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

func (*TransactionsByHeightResponse) ProtoMessage

func (*TransactionsByHeightResponse) ProtoMessage()

func (*TransactionsByHeightResponse) Reset

func (m *TransactionsByHeightResponse) Reset()

func (*TransactionsByHeightResponse) Size

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

func (*TransactionsByHeightResponse) String

func (*TransactionsByHeightResponse) Unmarshal

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

func (*TransactionsByHeightResponse) XXX_DiscardUnknown

func (m *TransactionsByHeightResponse) XXX_DiscardUnknown()

func (*TransactionsByHeightResponse) XXX_Marshal

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

func (*TransactionsByHeightResponse) XXX_Merge

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

func (*TransactionsByHeightResponse) XXX_Size

func (m *TransactionsByHeightResponse) XXX_Size() int

func (*TransactionsByHeightResponse) XXX_Unmarshal

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

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServiceServer) AppParameters

func (*UnimplementedQueryServiceServer) TransactionsByHeight

Jump to

Keyboard shortcuts

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