Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func BlockHeightToFinalizationQueueKey(finalizationHeight uint64) []byte
- func KeyPrefix(p string) []byte
- func LatestFinalizedStateIndexKey(rollappId string) []byte
- func LatestStateInfoIndexKey(rollappId string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RollappKey(rollappId string) []byte
- func StateInfoKey(stateInfoIndex StateInfoIndex) []byte
- type AccountKeeper
- type BankKeeper
- type BlockDescriptor
- func (*BlockDescriptor) Descriptor() ([]byte, []int)
- func (m *BlockDescriptor) GetHeight() uint64
- func (m *BlockDescriptor) GetIntermediateStatesRoot() []byte
- func (m *BlockDescriptor) GetStateRoot() []byte
- func (m *BlockDescriptor) Marshal() (dAtA []byte, err error)
- func (m *BlockDescriptor) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockDescriptor) ProtoMessage()
- func (m *BlockDescriptor) Reset()
- func (m *BlockDescriptor) Size() (n int)
- func (m *BlockDescriptor) String() string
- func (m *BlockDescriptor) Unmarshal(dAtA []byte) error
- func (m *BlockDescriptor) XXX_DiscardUnknown()
- func (m *BlockDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockDescriptor) XXX_Merge(src proto.Message)
- func (m *BlockDescriptor) XXX_Size() int
- func (m *BlockDescriptor) XXX_Unmarshal(b []byte) error
- type BlockDescriptors
- func (*BlockDescriptors) Descriptor() ([]byte, []int)
- func (m *BlockDescriptors) GetBD() []BlockDescriptor
- func (m *BlockDescriptors) Marshal() (dAtA []byte, err error)
- func (m *BlockDescriptors) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockDescriptors) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockDescriptors) ProtoMessage()
- func (m *BlockDescriptors) Reset()
- func (m *BlockDescriptors) Size() (n int)
- func (m *BlockDescriptors) String() string
- func (m *BlockDescriptors) Unmarshal(dAtA []byte) error
- func (m *BlockDescriptors) XXX_DiscardUnknown()
- func (m *BlockDescriptors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockDescriptors) XXX_Merge(src proto.Message)
- func (m *BlockDescriptors) XXX_Size() int
- func (m *BlockDescriptors) XXX_Unmarshal(b []byte) error
- type BlockHeightToFinalizationQueue
- func (*BlockHeightToFinalizationQueue) Descriptor() ([]byte, []int)
- func (m *BlockHeightToFinalizationQueue) GetFinalizationHeight() uint64
- func (m *BlockHeightToFinalizationQueue) GetFinalizationQueue() []StateInfoIndex
- func (m *BlockHeightToFinalizationQueue) Marshal() (dAtA []byte, err error)
- func (m *BlockHeightToFinalizationQueue) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockHeightToFinalizationQueue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockHeightToFinalizationQueue) ProtoMessage()
- func (m *BlockHeightToFinalizationQueue) Reset()
- func (m *BlockHeightToFinalizationQueue) Size() (n int)
- func (m *BlockHeightToFinalizationQueue) String() string
- func (m *BlockHeightToFinalizationQueue) Unmarshal(dAtA []byte) error
- func (m *BlockHeightToFinalizationQueue) XXX_DiscardUnknown()
- func (m *BlockHeightToFinalizationQueue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeightToFinalizationQueue) XXX_Merge(src proto.Message)
- func (m *BlockHeightToFinalizationQueue) XXX_Size() int
- func (m *BlockHeightToFinalizationQueue) XXX_Unmarshal(b []byte) error
- type DeployerParams
- func (*DeployerParams) Descriptor() ([]byte, []int)
- func (m *DeployerParams) GetAddress() string
- func (m *DeployerParams) GetMaxRollapps() uint64
- func (m *DeployerParams) Marshal() (dAtA []byte, err error)
- func (m *DeployerParams) MarshalTo(dAtA []byte) (int, error)
- func (m *DeployerParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeployerParams) ProtoMessage()
- func (m *DeployerParams) Reset()
- func (m *DeployerParams) Size() (n int)
- func (m *DeployerParams) String() string
- func (m *DeployerParams) Unmarshal(dAtA []byte) error
- func (m *DeployerParams) XXX_DiscardUnknown()
- func (m *DeployerParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeployerParams) XXX_Merge(src proto.Message)
- func (m *DeployerParams) XXX_Size() int
- func (m *DeployerParams) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBlockHeightToFinalizationQueueList() []BlockHeightToFinalizationQueue
- func (m *GenesisState) GetLatestFinalizedStateIndexList() []StateInfoIndex
- func (m *GenesisState) GetLatestStateInfoIndexList() []StateInfoIndex
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetRollappList() []Rollapp
- func (m *GenesisState) GetStateInfoList() []StateInfo
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateRollapp
- func (*MsgCreateRollapp) Descriptor() ([]byte, []int)
- func (m *MsgCreateRollapp) GetCodeStamp() string
- func (m *MsgCreateRollapp) GetCreator() string
- func (m *MsgCreateRollapp) GetGenesisPath() string
- func (m *MsgCreateRollapp) GetMaxSequencers() uint64
- func (m *MsgCreateRollapp) GetMaxWithholdingBlocks() uint64
- func (m *MsgCreateRollapp) GetPermissionedAddresses() types.Sequencers
- func (m *MsgCreateRollapp) GetRollappId() string
- func (msg *MsgCreateRollapp) GetSignBytes() []byte
- func (msg *MsgCreateRollapp) GetSigners() []sdk.AccAddress
- func (m *MsgCreateRollapp) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateRollapp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateRollapp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateRollapp) ProtoMessage()
- func (m *MsgCreateRollapp) Reset()
- func (msg *MsgCreateRollapp) Route() string
- func (m *MsgCreateRollapp) Size() (n int)
- func (m *MsgCreateRollapp) String() string
- func (msg *MsgCreateRollapp) Type() string
- func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateRollapp) ValidateBasic() error
- func (m *MsgCreateRollapp) XXX_DiscardUnknown()
- func (m *MsgCreateRollapp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateRollapp) XXX_Merge(src proto.Message)
- func (m *MsgCreateRollapp) XXX_Size() int
- func (m *MsgCreateRollapp) XXX_Unmarshal(b []byte) error
- type MsgCreateRollappResponse
- func (*MsgCreateRollappResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateRollappResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateRollappResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateRollappResponse) ProtoMessage()
- func (m *MsgCreateRollappResponse) Reset()
- func (m *MsgCreateRollappResponse) Size() (n int)
- func (m *MsgCreateRollappResponse) String() string
- func (m *MsgCreateRollappResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateRollappResponse) XXX_DiscardUnknown()
- func (m *MsgCreateRollappResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateRollappResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateRollappResponse) XXX_Size() int
- func (m *MsgCreateRollappResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateState
- func (*MsgUpdateState) Descriptor() ([]byte, []int)
- func (m *MsgUpdateState) GetBDs() BlockDescriptors
- func (m *MsgUpdateState) GetCreator() string
- func (m *MsgUpdateState) GetDAPath() string
- func (m *MsgUpdateState) GetNumBlocks() uint64
- func (m *MsgUpdateState) GetRollappId() string
- func (msg *MsgUpdateState) GetSignBytes() []byte
- func (msg *MsgUpdateState) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateState) GetStartHeight() uint64
- func (m *MsgUpdateState) GetVersion() uint64
- func (m *MsgUpdateState) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateState) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateState) ProtoMessage()
- func (m *MsgUpdateState) Reset()
- func (msg *MsgUpdateState) Route() string
- func (m *MsgUpdateState) Size() (n int)
- func (m *MsgUpdateState) String() string
- func (msg *MsgUpdateState) Type() string
- func (m *MsgUpdateState) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateState) ValidateBasic() error
- func (m *MsgUpdateState) XXX_DiscardUnknown()
- func (m *MsgUpdateState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateState) XXX_Merge(src proto.Message)
- func (m *MsgUpdateState) XXX_Size() int
- func (m *MsgUpdateState) XXX_Unmarshal(b []byte) error
- type MsgUpdateStateResponse
- func (*MsgUpdateStateResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateStateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateStateResponse) ProtoMessage()
- func (m *MsgUpdateStateResponse) Reset()
- func (m *MsgUpdateStateResponse) Size() (n int)
- func (m *MsgUpdateStateResponse) String() string
- func (m *MsgUpdateStateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateStateResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateStateResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateStateResponse) XXX_Size() int
- func (m *MsgUpdateStateResponse) XXX_Unmarshal(b []byte) error
- type MultiRollappHooks
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDeployerWhitelist() []DeployerParams
- func (m *Params) GetDisputePeriodInBlocks() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllBlockHeightToFinalizationQueueRequest
- func (*QueryAllBlockHeightToFinalizationQueueRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) GetPagination() *query.PageRequest
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBlockHeightToFinalizationQueueRequest) ProtoMessage()
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) Reset()
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) Size() (n int)
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) String() string
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_DiscardUnknown()
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Size() int
- func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Unmarshal(b []byte) error
- type QueryAllBlockHeightToFinalizationQueueResponse
- func (*QueryAllBlockHeightToFinalizationQueueResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) GetBlockHeightToFinalizationQueue() []BlockHeightToFinalizationQueue
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) GetPagination() *query.PageResponse
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBlockHeightToFinalizationQueueResponse) ProtoMessage()
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) Reset()
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) Size() (n int)
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) String() string
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_DiscardUnknown()
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Size() int
- func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Unmarshal(b []byte) error
- type QueryAllLatestStateInfoIndexRequest
- func (*QueryAllLatestStateInfoIndexRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllLatestStateInfoIndexRequest) GetPagination() *query.PageRequest
- func (m *QueryAllLatestStateInfoIndexRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLatestStateInfoIndexRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLatestStateInfoIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLatestStateInfoIndexRequest) ProtoMessage()
- func (m *QueryAllLatestStateInfoIndexRequest) Reset()
- func (m *QueryAllLatestStateInfoIndexRequest) Size() (n int)
- func (m *QueryAllLatestStateInfoIndexRequest) String() string
- func (m *QueryAllLatestStateInfoIndexRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllLatestStateInfoIndexRequest) XXX_DiscardUnknown()
- func (m *QueryAllLatestStateInfoIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLatestStateInfoIndexRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllLatestStateInfoIndexRequest) XXX_Size() int
- func (m *QueryAllLatestStateInfoIndexRequest) XXX_Unmarshal(b []byte) error
- type QueryAllLatestStateInfoIndexResponse
- func (*QueryAllLatestStateInfoIndexResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllLatestStateInfoIndexResponse) GetLatestStateInfoIndex() []StateInfoIndex
- func (m *QueryAllLatestStateInfoIndexResponse) GetPagination() *query.PageResponse
- func (m *QueryAllLatestStateInfoIndexResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLatestStateInfoIndexResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLatestStateInfoIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLatestStateInfoIndexResponse) ProtoMessage()
- func (m *QueryAllLatestStateInfoIndexResponse) Reset()
- func (m *QueryAllLatestStateInfoIndexResponse) Size() (n int)
- func (m *QueryAllLatestStateInfoIndexResponse) String() string
- func (m *QueryAllLatestStateInfoIndexResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllLatestStateInfoIndexResponse) XXX_DiscardUnknown()
- func (m *QueryAllLatestStateInfoIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLatestStateInfoIndexResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllLatestStateInfoIndexResponse) XXX_Size() int
- func (m *QueryAllLatestStateInfoIndexResponse) XXX_Unmarshal(b []byte) error
- type QueryAllRollappRequest
- func (*QueryAllRollappRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllRollappRequest) GetPagination() *query.PageRequest
- func (m *QueryAllRollappRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllRollappRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllRollappRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllRollappRequest) ProtoMessage()
- func (m *QueryAllRollappRequest) Reset()
- func (m *QueryAllRollappRequest) Size() (n int)
- func (m *QueryAllRollappRequest) String() string
- func (m *QueryAllRollappRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllRollappRequest) XXX_DiscardUnknown()
- func (m *QueryAllRollappRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllRollappRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllRollappRequest) XXX_Size() int
- func (m *QueryAllRollappRequest) XXX_Unmarshal(b []byte) error
- type QueryAllRollappResponse
- func (*QueryAllRollappResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllRollappResponse) GetPagination() *query.PageResponse
- func (m *QueryAllRollappResponse) GetRollapp() []Rollapp
- func (m *QueryAllRollappResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllRollappResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllRollappResponse) ProtoMessage()
- func (m *QueryAllRollappResponse) Reset()
- func (m *QueryAllRollappResponse) Size() (n int)
- func (m *QueryAllRollappResponse) String() string
- func (m *QueryAllRollappResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllRollappResponse) XXX_DiscardUnknown()
- func (m *QueryAllRollappResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllRollappResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllRollappResponse) XXX_Size() int
- func (m *QueryAllRollappResponse) XXX_Unmarshal(b []byte) error
- type QueryAllStateInfoRequest
- func (*QueryAllStateInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllStateInfoRequest) GetPagination() *query.PageRequest
- func (m *QueryAllStateInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllStateInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllStateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllStateInfoRequest) ProtoMessage()
- func (m *QueryAllStateInfoRequest) Reset()
- func (m *QueryAllStateInfoRequest) Size() (n int)
- func (m *QueryAllStateInfoRequest) String() string
- func (m *QueryAllStateInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllStateInfoRequest) XXX_DiscardUnknown()
- func (m *QueryAllStateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllStateInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllStateInfoRequest) XXX_Size() int
- func (m *QueryAllStateInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryAllStateInfoResponse
- func (*QueryAllStateInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllStateInfoResponse) GetPagination() *query.PageResponse
- func (m *QueryAllStateInfoResponse) GetStateInfo() []StateInfo
- func (m *QueryAllStateInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllStateInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllStateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllStateInfoResponse) ProtoMessage()
- func (m *QueryAllStateInfoResponse) Reset()
- func (m *QueryAllStateInfoResponse) Size() (n int)
- func (m *QueryAllStateInfoResponse) String() string
- func (m *QueryAllStateInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllStateInfoResponse) XXX_DiscardUnknown()
- func (m *QueryAllStateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllStateInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllStateInfoResponse) XXX_Size() int
- func (m *QueryAllStateInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetBlockHeightToFinalizationQueueRequest
- func (*QueryGetBlockHeightToFinalizationQueueRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) GetFinalizationHeight() uint64
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetBlockHeightToFinalizationQueueRequest) ProtoMessage()
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) Reset()
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) Size() (n int)
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) String() string
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_DiscardUnknown()
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Size() int
- func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Unmarshal(b []byte) error
- type QueryGetBlockHeightToFinalizationQueueResponse
- func (*QueryGetBlockHeightToFinalizationQueueResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) GetBlockHeightToFinalizationQueue() BlockHeightToFinalizationQueue
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetBlockHeightToFinalizationQueueResponse) ProtoMessage()
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) Reset()
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) Size() (n int)
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) String() string
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_DiscardUnknown()
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Size() int
- func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLatestFinalizedStateInfoRequest
- func (*QueryGetLatestFinalizedStateInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestFinalizedStateInfoRequest) GetRollappId() string
- func (m *QueryGetLatestFinalizedStateInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestFinalizedStateInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestFinalizedStateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestFinalizedStateInfoRequest) ProtoMessage()
- func (m *QueryGetLatestFinalizedStateInfoRequest) Reset()
- func (m *QueryGetLatestFinalizedStateInfoRequest) Size() (n int)
- func (m *QueryGetLatestFinalizedStateInfoRequest) String() string
- func (m *QueryGetLatestFinalizedStateInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Size() int
- func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestFinalizedStateInfoResponse
- func (*QueryGetLatestFinalizedStateInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestFinalizedStateInfoResponse) GetStateInfo() StateInfo
- func (m *QueryGetLatestFinalizedStateInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestFinalizedStateInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestFinalizedStateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestFinalizedStateInfoResponse) ProtoMessage()
- func (m *QueryGetLatestFinalizedStateInfoResponse) Reset()
- func (m *QueryGetLatestFinalizedStateInfoResponse) Size() (n int)
- func (m *QueryGetLatestFinalizedStateInfoResponse) String() string
- func (m *QueryGetLatestFinalizedStateInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Size() int
- func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLatestStateInfoIndexRequest
- func (*QueryGetLatestStateInfoIndexRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestStateInfoIndexRequest) GetRollappId() string
- func (m *QueryGetLatestStateInfoIndexRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestStateInfoIndexRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestStateInfoIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestStateInfoIndexRequest) ProtoMessage()
- func (m *QueryGetLatestStateInfoIndexRequest) Reset()
- func (m *QueryGetLatestStateInfoIndexRequest) Size() (n int)
- func (m *QueryGetLatestStateInfoIndexRequest) String() string
- func (m *QueryGetLatestStateInfoIndexRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestStateInfoIndexRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestStateInfoIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestStateInfoIndexRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestStateInfoIndexRequest) XXX_Size() int
- func (m *QueryGetLatestStateInfoIndexRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestStateInfoIndexResponse
- func (*QueryGetLatestStateInfoIndexResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestStateInfoIndexResponse) GetLatestStateInfoIndex() StateInfoIndex
- func (m *QueryGetLatestStateInfoIndexResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestStateInfoIndexResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestStateInfoIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestStateInfoIndexResponse) ProtoMessage()
- func (m *QueryGetLatestStateInfoIndexResponse) Reset()
- func (m *QueryGetLatestStateInfoIndexResponse) Size() (n int)
- func (m *QueryGetLatestStateInfoIndexResponse) String() string
- func (m *QueryGetLatestStateInfoIndexResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestStateInfoIndexResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestStateInfoIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestStateInfoIndexResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestStateInfoIndexResponse) XXX_Size() int
- func (m *QueryGetLatestStateInfoIndexResponse) XXX_Unmarshal(b []byte) error
- type QueryGetRollappRequest
- func (*QueryGetRollappRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetRollappRequest) GetRollappId() string
- func (m *QueryGetRollappRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetRollappRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetRollappRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetRollappRequest) ProtoMessage()
- func (m *QueryGetRollappRequest) Reset()
- func (m *QueryGetRollappRequest) Size() (n int)
- func (m *QueryGetRollappRequest) String() string
- func (m *QueryGetRollappRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetRollappRequest) XXX_DiscardUnknown()
- func (m *QueryGetRollappRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetRollappRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetRollappRequest) XXX_Size() int
- func (m *QueryGetRollappRequest) XXX_Unmarshal(b []byte) error
- type QueryGetRollappResponse
- func (*QueryGetRollappResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetRollappResponse) GetRollapp() Rollapp
- func (m *QueryGetRollappResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetRollappResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetRollappResponse) ProtoMessage()
- func (m *QueryGetRollappResponse) Reset()
- func (m *QueryGetRollappResponse) Size() (n int)
- func (m *QueryGetRollappResponse) String() string
- func (m *QueryGetRollappResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetRollappResponse) XXX_DiscardUnknown()
- func (m *QueryGetRollappResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetRollappResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetRollappResponse) XXX_Size() int
- func (m *QueryGetRollappResponse) XXX_Unmarshal(b []byte) error
- type QueryGetStateInfoByHeightRequest
- func (*QueryGetStateInfoByHeightRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetStateInfoByHeightRequest) GetHeight() uint64
- func (m *QueryGetStateInfoByHeightRequest) GetRollappId() string
- func (m *QueryGetStateInfoByHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStateInfoByHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStateInfoByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStateInfoByHeightRequest) ProtoMessage()
- func (m *QueryGetStateInfoByHeightRequest) Reset()
- func (m *QueryGetStateInfoByHeightRequest) Size() (n int)
- func (m *QueryGetStateInfoByHeightRequest) String() string
- func (m *QueryGetStateInfoByHeightRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetStateInfoByHeightRequest) XXX_DiscardUnknown()
- func (m *QueryGetStateInfoByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStateInfoByHeightRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetStateInfoByHeightRequest) XXX_Size() int
- func (m *QueryGetStateInfoByHeightRequest) XXX_Unmarshal(b []byte) error
- type QueryGetStateInfoByHeightResponse
- func (*QueryGetStateInfoByHeightResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetStateInfoByHeightResponse) GetStateInfo() StateInfo
- func (m *QueryGetStateInfoByHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStateInfoByHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStateInfoByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStateInfoByHeightResponse) ProtoMessage()
- func (m *QueryGetStateInfoByHeightResponse) Reset()
- func (m *QueryGetStateInfoByHeightResponse) Size() (n int)
- func (m *QueryGetStateInfoByHeightResponse) String() string
- func (m *QueryGetStateInfoByHeightResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetStateInfoByHeightResponse) XXX_DiscardUnknown()
- func (m *QueryGetStateInfoByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStateInfoByHeightResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetStateInfoByHeightResponse) XXX_Size() int
- func (m *QueryGetStateInfoByHeightResponse) XXX_Unmarshal(b []byte) error
- type QueryGetStateInfoRequest
- func (*QueryGetStateInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetStateInfoRequest) GetIndex() uint64
- func (m *QueryGetStateInfoRequest) GetRollappId() string
- func (m *QueryGetStateInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStateInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStateInfoRequest) ProtoMessage()
- func (m *QueryGetStateInfoRequest) Reset()
- func (m *QueryGetStateInfoRequest) Size() (n int)
- func (m *QueryGetStateInfoRequest) String() string
- func (m *QueryGetStateInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetStateInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGetStateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStateInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetStateInfoRequest) XXX_Size() int
- func (m *QueryGetStateInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGetStateInfoResponse
- func (*QueryGetStateInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetStateInfoResponse) GetStateInfo() StateInfo
- func (m *QueryGetStateInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStateInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStateInfoResponse) ProtoMessage()
- func (m *QueryGetStateInfoResponse) Reset()
- func (m *QueryGetStateInfoResponse) Size() (n int)
- func (m *QueryGetStateInfoResponse) String() string
- func (m *QueryGetStateInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetStateInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGetStateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStateInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetStateInfoResponse) XXX_Size() int
- func (m *QueryGetStateInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type Rollapp
- func (*Rollapp) Descriptor() ([]byte, []int)
- func (m *Rollapp) GetCodeStamp() string
- func (m *Rollapp) GetCreator() string
- func (m *Rollapp) GetGenesisPath() string
- func (m *Rollapp) GetMaxSequencers() uint64
- func (m *Rollapp) GetMaxWithholdingBlocks() uint64
- func (m *Rollapp) GetPermissionedAddresses() types.Sequencers
- func (m *Rollapp) GetRollappId() string
- func (m *Rollapp) GetVersion() uint64
- func (m *Rollapp) Marshal() (dAtA []byte, err error)
- func (m *Rollapp) MarshalTo(dAtA []byte) (int, error)
- func (m *Rollapp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Rollapp) ProtoMessage()
- func (m *Rollapp) Reset()
- func (m *Rollapp) Size() (n int)
- func (m *Rollapp) String() string
- func (m *Rollapp) Unmarshal(dAtA []byte) error
- func (m *Rollapp) XXX_DiscardUnknown()
- func (m *Rollapp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rollapp) XXX_Merge(src proto.Message)
- func (m *Rollapp) XXX_Size() int
- func (m *Rollapp) XXX_Unmarshal(b []byte) error
- type RollappHooks
- type StateInfo
- func (*StateInfo) Descriptor() ([]byte, []int)
- func (m *StateInfo) GetBDs() BlockDescriptors
- func (m *StateInfo) GetCreationHeight() uint64
- func (m *StateInfo) GetDAPath() string
- func (m *StateInfo) GetNumBlocks() uint64
- func (m *StateInfo) GetSequencer() string
- func (m *StateInfo) GetStartHeight() uint64
- func (m *StateInfo) GetStateInfoIndex() StateInfoIndex
- func (m *StateInfo) GetStatus() StateStatus
- func (m *StateInfo) GetVersion() uint64
- func (m *StateInfo) Marshal() (dAtA []byte, err error)
- func (m *StateInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *StateInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateInfo) ProtoMessage()
- func (m *StateInfo) Reset()
- func (m *StateInfo) Size() (n int)
- func (m *StateInfo) String() string
- func (m *StateInfo) Unmarshal(dAtA []byte) error
- func (m *StateInfo) XXX_DiscardUnknown()
- func (m *StateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateInfo) XXX_Merge(src proto.Message)
- func (m *StateInfo) XXX_Size() int
- func (m *StateInfo) XXX_Unmarshal(b []byte) error
- type StateInfoIndex
- func (*StateInfoIndex) Descriptor() ([]byte, []int)
- func (m *StateInfoIndex) GetIndex() uint64
- func (m *StateInfoIndex) GetRollappId() string
- func (m *StateInfoIndex) Marshal() (dAtA []byte, err error)
- func (m *StateInfoIndex) MarshalTo(dAtA []byte) (int, error)
- func (m *StateInfoIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateInfoIndex) ProtoMessage()
- func (m *StateInfoIndex) Reset()
- func (m *StateInfoIndex) Size() (n int)
- func (m *StateInfoIndex) String() string
- func (m *StateInfoIndex) Unmarshal(dAtA []byte) error
- func (m *StateInfoIndex) XXX_DiscardUnknown()
- func (m *StateInfoIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateInfoIndex) XXX_Merge(src proto.Message)
- func (m *StateInfoIndex) XXX_Size() int
- func (m *StateInfoIndex) XXX_Unmarshal(b []byte) error
- type StateStatus
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) BlockHeightToFinalizationQueue(ctx context.Context, req *QueryGetBlockHeightToFinalizationQueueRequest) (*QueryGetBlockHeightToFinalizationQueueResponse, error)
- func (*UnimplementedQueryServer) BlockHeightToFinalizationQueueAll(ctx context.Context, req *QueryAllBlockHeightToFinalizationQueueRequest) (*QueryAllBlockHeightToFinalizationQueueResponse, error)
- func (*UnimplementedQueryServer) GetStateInfoByHeight(ctx context.Context, req *QueryGetStateInfoByHeightRequest) (*QueryGetStateInfoByHeightResponse, error)
- func (*UnimplementedQueryServer) LatestFinalizedStateInfo(ctx context.Context, req *QueryGetLatestFinalizedStateInfoRequest) (*QueryGetLatestFinalizedStateInfoResponse, error)
- func (*UnimplementedQueryServer) LatestStateInfoIndex(ctx context.Context, req *QueryGetLatestStateInfoIndexRequest) (*QueryGetLatestStateInfoIndexResponse, error)
- func (*UnimplementedQueryServer) LatestStateInfoIndexAll(ctx context.Context, req *QueryAllLatestStateInfoIndexRequest) (*QueryAllLatestStateInfoIndexResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Rollapp(ctx context.Context, req *QueryGetRollappRequest) (*QueryGetRollappResponse, error)
- func (*UnimplementedQueryServer) RollappAll(ctx context.Context, req *QueryAllRollappRequest) (*QueryAllRollappResponse, error)
- func (*UnimplementedQueryServer) StateInfo(ctx context.Context, req *QueryGetStateInfoRequest) (*QueryGetStateInfoResponse, error)
- func (*UnimplementedQueryServer) StateInfoAll(ctx context.Context, req *QueryAllStateInfoRequest) (*QueryAllStateInfoResponse, error)
Constants ¶
const ( EventTypeStateUpdate = "state_update" EventTypeStatusChange = "status_change" AttributeKeyRollappId = "rollapp_id" AttributeKeyStateInfoIndex = "state_info_index" AttributeKeyStartHeight = "start_height" AttributeKeyNumBlocks = "num_blocks" AttributeKeyDAPath = "da_path" AttributeKeyStatus = "status" )
const ( // ModuleName defines the module name ModuleName = "rollapp" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_rollapp" )
const (
// BlockHeightToFinalizationQueueKeyPrefix is the prefix to retrieve all BlockHeightToFinalizationQueue
BlockHeightToFinalizationQueueKeyPrefix = "BlockHeightToFinalizationQueue/value/"
)
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
// LatestFinalizedStateIndexKeyPrefix is the prefix to retrieve all LatestFinalizedStateIndex
LatestFinalizedStateIndexKeyPrefix = "LatestFinalizedStateIndex/value/"
)
const (
// LatestStateInfoIndexKeyPrefix is the prefix to retrieve all LatestStateInfoIndex
LatestStateInfoIndexKeyPrefix = "LatestStateInfoIndex/value/"
)
const (
// RollappKeyPrefix is the prefix to retrieve all Rollapp
RollappKeyPrefix = "Rollapp/value/"
)
const (
// StateInfoKeyPrefix is the prefix to retrieve all StateInfo
StateInfoKeyPrefix = "StateInfo/value/"
)
const TypeMsgCreateRollapp = "create_rollapp"
const TypeMsgUpdateState = "update_state"
Variables ¶
var ( ErrInvalidLengthBlockDescriptor = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBlockDescriptor = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBlockDescriptor = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrRollappExists = sdkerrors.Register(ModuleName, 1000, "rollapp already exist for this rollapp-id; must use new rollapp-id") ErrInvalidMaxSequencers = sdkerrors.Register(ModuleName, 1001, "invalid max sequencers") ErrInvalidMaxWithholding = sdkerrors.Register(ModuleName, 1002, "invalid max withholding") ErrInvalidPermissionedAddress = sdkerrors.Register(ModuleName, 1003, "invalid permissioned address") ErrPermissionedAddressesDuplicate = sdkerrors.Register(ModuleName, 1004, "permissioned-address has duplicates") ErrInvalidNumBlocks = sdkerrors.Register(ModuleName, 1005, "invalid number of blocks") ErrInvalidBlockSequence = sdkerrors.Register(ModuleName, 1006, "invalid block sequence") ErrUnknownRollappID = sdkerrors.Register(ModuleName, 1007, "rollapp does not exist") ErrVersionMismatch = sdkerrors.Register(ModuleName, 1008, "rollapp version mismatch") ErrWrongBlockHeight = sdkerrors.Register(ModuleName, 1009, "start-height does not match rollapps state") ErrMultiUpdateStateInBlock = sdkerrors.Register(ModuleName, 1010, "only one state update can take place per block") ErrInvalidStateRoot = sdkerrors.Register(ModuleName, 1011, "invalid blocks state root") ErrInvalidIntermediateStatesRoot = sdkerrors.Register(ModuleName, 1012, "invalid blocks intermediate states root") ErrInvalidClientType = sdkerrors.Register(ModuleName, 1014, "client type of the rollapp isn't furyint") ErrHeightStateNotFainalized = sdkerrors.Register(ModuleName, 1015, "rollapp block on this height was not finalized yet") ErrInvalidAppHash = sdkerrors.Register(ModuleName, 1016, "the app hash is different from the finalized state root") ErrStateNotExists = sdkerrors.Register(ModuleName, 1017, "state of this height doesn't exist") ErrInvalidHeight = sdkerrors.Register(ModuleName, 1018, "invalid rollapp height") ErrRollappCreatorExceedMaximumRollapps = sdkerrors.Register(ModuleName, 1019, "rollapp creator exceed maximum allowed rollapps as register in whitelist") ErrInvalidRollappID = sdkerrors.Register(ModuleName, 1020, "invalid rollapp-id") )
x/rollapp module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // DeployerWhitelist is store's key for DeployerWhitelist Params KeyDeployerWhitelist = []byte("DeployerWhitelist") // KeyDisputePeriodInBlocks is store's key for DisputePeriodInBlocks Params KeyDisputePeriodInBlocks = []byte("DisputePeriodInBlocks") // default value DefaultDisputePeriodInBlocks uint64 = 3 // MinDisputePeriodInBlocks is the minimum numner of blocks for dispute period MinDisputePeriodInBlocks uint64 = 1 )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthRollapp = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRollapp = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRollapp = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthStateInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStateInfo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStateInfo = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var StateStatus_name = map[int32]string{
0: "STATE_STATUS_UNSPECIFIED",
1: "STATE_STATUS_RECEIVED",
2: "STATE_STATUS_FINALIZED",
}
var StateStatus_value = map[string]int32{
"STATE_STATUS_UNSPECIFIED": 0,
"STATE_STATUS_RECEIVED": 1,
"STATE_STATUS_FINALIZED": 2,
}
Functions ¶
func BlockHeightToFinalizationQueueKey ¶
BlockHeightToFinalizationQueueKey returns the store key to retrieve a BlockHeightToFinalizationQueue from the index fields
func LatestFinalizedStateIndexKey ¶
LatestFinalizedStateIndexKey returns the store key to retrieve a LatestFinalizedStateIndex from the index fields
func LatestStateInfoIndexKey ¶
LatestStateInfoIndexKey returns the store key to retrieve a LatestStateInfoIndex from the index fields
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 RollappKey ¶
RollappKey returns the store key to retrieve a Rollapp from the index fields
func StateInfoKey ¶
func StateInfoKey( stateInfoIndex StateInfoIndex, ) []byte
StateInfoKey returns the store key to retrieve a StateInfo from the index fields
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type BlockDescriptor ¶
type BlockDescriptor struct { // height is the height of the block Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // stateRoot is a 32 byte array of the hash of the block (state root of the block) StateRoot []byte `protobuf:"bytes,2,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"` // intermediateStatesRoot is a 32 byte array representing // the root of a Merkle tree built from the ISRs of the block (Intermediate State Roots) IntermediateStatesRoot []byte `protobuf:"bytes,3,opt,name=intermediateStatesRoot,proto3" json:"intermediateStatesRoot,omitempty"` }
BlockDescriptor defines a single rollapp chain block description.
func (*BlockDescriptor) Descriptor ¶
func (*BlockDescriptor) Descriptor() ([]byte, []int)
func (*BlockDescriptor) GetHeight ¶
func (m *BlockDescriptor) GetHeight() uint64
func (*BlockDescriptor) GetIntermediateStatesRoot ¶
func (m *BlockDescriptor) GetIntermediateStatesRoot() []byte
func (*BlockDescriptor) GetStateRoot ¶
func (m *BlockDescriptor) GetStateRoot() []byte
func (*BlockDescriptor) Marshal ¶
func (m *BlockDescriptor) Marshal() (dAtA []byte, err error)
func (*BlockDescriptor) MarshalToSizedBuffer ¶
func (m *BlockDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockDescriptor) ProtoMessage ¶
func (*BlockDescriptor) ProtoMessage()
func (*BlockDescriptor) Reset ¶
func (m *BlockDescriptor) Reset()
func (*BlockDescriptor) Size ¶
func (m *BlockDescriptor) Size() (n int)
func (*BlockDescriptor) String ¶
func (m *BlockDescriptor) String() string
func (*BlockDescriptor) Unmarshal ¶
func (m *BlockDescriptor) Unmarshal(dAtA []byte) error
func (*BlockDescriptor) XXX_DiscardUnknown ¶
func (m *BlockDescriptor) XXX_DiscardUnknown()
func (*BlockDescriptor) XXX_Marshal ¶
func (m *BlockDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockDescriptor) XXX_Merge ¶
func (m *BlockDescriptor) XXX_Merge(src proto.Message)
func (*BlockDescriptor) XXX_Size ¶
func (m *BlockDescriptor) XXX_Size() int
func (*BlockDescriptor) XXX_Unmarshal ¶
func (m *BlockDescriptor) XXX_Unmarshal(b []byte) error
type BlockDescriptors ¶
type BlockDescriptors struct {
BD []BlockDescriptor `protobuf:"bytes,1,rep,name=BD,proto3" json:"BD"`
}
BlockDescriptors defines list of BlockDescriptor.
func (*BlockDescriptors) Descriptor ¶
func (*BlockDescriptors) Descriptor() ([]byte, []int)
func (*BlockDescriptors) GetBD ¶
func (m *BlockDescriptors) GetBD() []BlockDescriptor
func (*BlockDescriptors) Marshal ¶
func (m *BlockDescriptors) Marshal() (dAtA []byte, err error)
func (*BlockDescriptors) MarshalToSizedBuffer ¶
func (m *BlockDescriptors) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockDescriptors) ProtoMessage ¶
func (*BlockDescriptors) ProtoMessage()
func (*BlockDescriptors) Reset ¶
func (m *BlockDescriptors) Reset()
func (*BlockDescriptors) Size ¶
func (m *BlockDescriptors) Size() (n int)
func (*BlockDescriptors) String ¶
func (m *BlockDescriptors) String() string
func (*BlockDescriptors) Unmarshal ¶
func (m *BlockDescriptors) Unmarshal(dAtA []byte) error
func (*BlockDescriptors) XXX_DiscardUnknown ¶
func (m *BlockDescriptors) XXX_DiscardUnknown()
func (*BlockDescriptors) XXX_Marshal ¶
func (m *BlockDescriptors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockDescriptors) XXX_Merge ¶
func (m *BlockDescriptors) XXX_Merge(src proto.Message)
func (*BlockDescriptors) XXX_Size ¶
func (m *BlockDescriptors) XXX_Size() int
func (*BlockDescriptors) XXX_Unmarshal ¶
func (m *BlockDescriptors) XXX_Unmarshal(b []byte) error
type BlockHeightToFinalizationQueue ¶
type BlockHeightToFinalizationQueue struct { // finalizationHeight is the block height that the state should be finalized FinalizationHeight uint64 `protobuf:"varint,1,opt,name=finalizationHeight,proto3" json:"finalizationHeight,omitempty"` // finalizationQueue is a list of states that are waiting to be finalized // when the block height becomes finalizationHeight FinalizationQueue []StateInfoIndex `protobuf:"bytes,2,rep,name=finalizationQueue,proto3" json:"finalizationQueue"` }
BlockHeightToFinalizationQueue defines a map from block height to list of states to finalized
func (*BlockHeightToFinalizationQueue) Descriptor ¶
func (*BlockHeightToFinalizationQueue) Descriptor() ([]byte, []int)
func (*BlockHeightToFinalizationQueue) GetFinalizationHeight ¶
func (m *BlockHeightToFinalizationQueue) GetFinalizationHeight() uint64
func (*BlockHeightToFinalizationQueue) GetFinalizationQueue ¶
func (m *BlockHeightToFinalizationQueue) GetFinalizationQueue() []StateInfoIndex
func (*BlockHeightToFinalizationQueue) Marshal ¶
func (m *BlockHeightToFinalizationQueue) Marshal() (dAtA []byte, err error)
func (*BlockHeightToFinalizationQueue) MarshalTo ¶
func (m *BlockHeightToFinalizationQueue) MarshalTo(dAtA []byte) (int, error)
func (*BlockHeightToFinalizationQueue) MarshalToSizedBuffer ¶
func (m *BlockHeightToFinalizationQueue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockHeightToFinalizationQueue) ProtoMessage ¶
func (*BlockHeightToFinalizationQueue) ProtoMessage()
func (*BlockHeightToFinalizationQueue) Reset ¶
func (m *BlockHeightToFinalizationQueue) Reset()
func (*BlockHeightToFinalizationQueue) Size ¶
func (m *BlockHeightToFinalizationQueue) Size() (n int)
func (*BlockHeightToFinalizationQueue) String ¶
func (m *BlockHeightToFinalizationQueue) String() string
func (*BlockHeightToFinalizationQueue) Unmarshal ¶
func (m *BlockHeightToFinalizationQueue) Unmarshal(dAtA []byte) error
func (*BlockHeightToFinalizationQueue) XXX_DiscardUnknown ¶
func (m *BlockHeightToFinalizationQueue) XXX_DiscardUnknown()
func (*BlockHeightToFinalizationQueue) XXX_Marshal ¶
func (m *BlockHeightToFinalizationQueue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeightToFinalizationQueue) XXX_Merge ¶
func (m *BlockHeightToFinalizationQueue) XXX_Merge(src proto.Message)
func (*BlockHeightToFinalizationQueue) XXX_Size ¶
func (m *BlockHeightToFinalizationQueue) XXX_Size() int
func (*BlockHeightToFinalizationQueue) XXX_Unmarshal ¶
func (m *BlockHeightToFinalizationQueue) XXX_Unmarshal(b []byte) error
type DeployerParams ¶
type DeployerParams struct { // address is a bech32-encoded address of the // accounts that are allowed to create a rollapp. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` // max_rollapps is the maximum number of rollapps that address allowed to deploy MaxRollapps uint64 `protobuf:"varint,2,opt,name=max_rollapps,json=maxRollapps,proto3" json:"max_rollapps,omitempty" yaml:"max_rollapps"` }
func (*DeployerParams) Descriptor ¶
func (*DeployerParams) Descriptor() ([]byte, []int)
func (*DeployerParams) GetAddress ¶
func (m *DeployerParams) GetAddress() string
func (*DeployerParams) GetMaxRollapps ¶
func (m *DeployerParams) GetMaxRollapps() uint64
func (*DeployerParams) Marshal ¶
func (m *DeployerParams) Marshal() (dAtA []byte, err error)
func (*DeployerParams) MarshalToSizedBuffer ¶
func (m *DeployerParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeployerParams) ProtoMessage ¶
func (*DeployerParams) ProtoMessage()
func (*DeployerParams) Reset ¶
func (m *DeployerParams) Reset()
func (*DeployerParams) Size ¶
func (m *DeployerParams) Size() (n int)
func (*DeployerParams) String ¶
func (m *DeployerParams) String() string
func (*DeployerParams) Unmarshal ¶
func (m *DeployerParams) Unmarshal(dAtA []byte) error
func (*DeployerParams) XXX_DiscardUnknown ¶
func (m *DeployerParams) XXX_DiscardUnknown()
func (*DeployerParams) XXX_Marshal ¶
func (m *DeployerParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeployerParams) XXX_Merge ¶
func (m *DeployerParams) XXX_Merge(src proto.Message)
func (*DeployerParams) XXX_Size ¶
func (m *DeployerParams) XXX_Size() int
func (*DeployerParams) XXX_Unmarshal ¶
func (m *DeployerParams) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` RollappList []Rollapp `protobuf:"bytes,2,rep,name=rollappList,proto3" json:"rollappList"` StateInfoList []StateInfo `protobuf:"bytes,3,rep,name=stateInfoList,proto3" json:"stateInfoList"` LatestStateInfoIndexList []StateInfoIndex `protobuf:"bytes,4,rep,name=latestStateInfoIndexList,proto3" json:"latestStateInfoIndexList"` LatestFinalizedStateIndexList []StateInfoIndex `protobuf:"bytes,5,rep,name=latestFinalizedStateIndexList,proto3" json:"latestFinalizedStateIndexList"` BlockHeightToFinalizationQueueList []BlockHeightToFinalizationQueue `protobuf:"bytes,6,rep,name=blockHeightToFinalizationQueueList,proto3" json:"blockHeightToFinalizationQueueList"` }
GenesisState defines the rollapp module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetBlockHeightToFinalizationQueueList ¶
func (m *GenesisState) GetBlockHeightToFinalizationQueueList() []BlockHeightToFinalizationQueue
func (*GenesisState) GetLatestFinalizedStateIndexList ¶
func (m *GenesisState) GetLatestFinalizedStateIndexList() []StateInfoIndex
func (*GenesisState) GetLatestStateInfoIndexList ¶
func (m *GenesisState) GetLatestStateInfoIndexList() []StateInfoIndex
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRollappList ¶
func (m *GenesisState) GetRollappList() []Rollapp
func (*GenesisState) GetStateInfoList ¶
func (m *GenesisState) GetStateInfoList() []StateInfo
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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 MsgClient ¶
type MsgClient interface { CreateRollapp(ctx context.Context, in *MsgCreateRollapp, opts ...grpc.CallOption) (*MsgCreateRollappResponse, error) UpdateState(ctx context.Context, in *MsgUpdateState, opts ...grpc.CallOption) (*MsgUpdateStateResponse, 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 MsgCreateRollapp ¶
type MsgCreateRollapp struct { // creator is the bech32-encoded address of the rollapp creator Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // rollappId is the unique identifier of the rollapp chain. // The rollappId follows the same standard as cosmos chain_id RollappId string `protobuf:"bytes,2,opt,name=rollappId,proto3" json:"rollappId,omitempty"` // codeStamp is the description of the genesis file location on the DA CodeStamp string `protobuf:"bytes,3,opt,name=codeStamp,proto3" json:"codeStamp,omitempty"` // genesisPath is the description of the genesis file location on the DA GenesisPath string `protobuf:"bytes,4,opt,name=genesisPath,proto3" json:"genesisPath,omitempty"` // maxWithholdingBlocks is the maximum number of blocks for // an active sequencer to send a state update (MsgUpdateState) MaxWithholdingBlocks uint64 `protobuf:"varint,5,opt,name=maxWithholdingBlocks,proto3" json:"maxWithholdingBlocks,omitempty"` // maxSequencers is the maximum number of sequencers MaxSequencers uint64 `protobuf:"varint,6,opt,name=maxSequencers,proto3" json:"maxSequencers,omitempty"` // permissionedAddresses is a bech32-encoded address list of the // sequencers that are allowed to serve this rollappId. // In the case of an empty list, the rollapp is considered permissionless PermissionedAddresses types.Sequencers `protobuf:"bytes,7,opt,name=permissionedAddresses,proto3" json:"permissionedAddresses"` }
===================== MsgCreateRollapp
func NewMsgCreateRollapp ¶
func NewMsgCreateRollapp(creator string, rollappId string, codeStamp string, genesisPath string, maxWithholdingBlocks uint64, maxSequencers uint64, permissionedAddresses *types.Sequencers) *MsgCreateRollapp
func (*MsgCreateRollapp) Descriptor ¶
func (*MsgCreateRollapp) Descriptor() ([]byte, []int)
func (*MsgCreateRollapp) GetCodeStamp ¶
func (m *MsgCreateRollapp) GetCodeStamp() string
func (*MsgCreateRollapp) GetCreator ¶
func (m *MsgCreateRollapp) GetCreator() string
func (*MsgCreateRollapp) GetGenesisPath ¶
func (m *MsgCreateRollapp) GetGenesisPath() string
func (*MsgCreateRollapp) GetMaxSequencers ¶
func (m *MsgCreateRollapp) GetMaxSequencers() uint64
func (*MsgCreateRollapp) GetMaxWithholdingBlocks ¶
func (m *MsgCreateRollapp) GetMaxWithholdingBlocks() uint64
func (*MsgCreateRollapp) GetPermissionedAddresses ¶
func (m *MsgCreateRollapp) GetPermissionedAddresses() types.Sequencers
func (*MsgCreateRollapp) GetRollappId ¶
func (m *MsgCreateRollapp) GetRollappId() string
func (*MsgCreateRollapp) GetSignBytes ¶
func (msg *MsgCreateRollapp) GetSignBytes() []byte
func (*MsgCreateRollapp) GetSigners ¶
func (msg *MsgCreateRollapp) GetSigners() []sdk.AccAddress
func (*MsgCreateRollapp) Marshal ¶
func (m *MsgCreateRollapp) Marshal() (dAtA []byte, err error)
func (*MsgCreateRollapp) MarshalToSizedBuffer ¶
func (m *MsgCreateRollapp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateRollapp) ProtoMessage ¶
func (*MsgCreateRollapp) ProtoMessage()
func (*MsgCreateRollapp) Reset ¶
func (m *MsgCreateRollapp) Reset()
func (*MsgCreateRollapp) Route ¶
func (msg *MsgCreateRollapp) Route() string
func (*MsgCreateRollapp) Size ¶
func (m *MsgCreateRollapp) Size() (n int)
func (*MsgCreateRollapp) String ¶
func (m *MsgCreateRollapp) String() string
func (*MsgCreateRollapp) Type ¶
func (msg *MsgCreateRollapp) Type() string
func (*MsgCreateRollapp) Unmarshal ¶
func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error
func (*MsgCreateRollapp) ValidateBasic ¶
func (msg *MsgCreateRollapp) ValidateBasic() error
func (*MsgCreateRollapp) XXX_DiscardUnknown ¶
func (m *MsgCreateRollapp) XXX_DiscardUnknown()
func (*MsgCreateRollapp) XXX_Marshal ¶
func (m *MsgCreateRollapp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateRollapp) XXX_Merge ¶
func (m *MsgCreateRollapp) XXX_Merge(src proto.Message)
func (*MsgCreateRollapp) XXX_Size ¶
func (m *MsgCreateRollapp) XXX_Size() int
func (*MsgCreateRollapp) XXX_Unmarshal ¶
func (m *MsgCreateRollapp) XXX_Unmarshal(b []byte) error
type MsgCreateRollappResponse ¶
type MsgCreateRollappResponse struct { }
func (*MsgCreateRollappResponse) Descriptor ¶
func (*MsgCreateRollappResponse) Descriptor() ([]byte, []int)
func (*MsgCreateRollappResponse) Marshal ¶
func (m *MsgCreateRollappResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateRollappResponse) MarshalTo ¶
func (m *MsgCreateRollappResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateRollappResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateRollappResponse) ProtoMessage ¶
func (*MsgCreateRollappResponse) ProtoMessage()
func (*MsgCreateRollappResponse) Reset ¶
func (m *MsgCreateRollappResponse) Reset()
func (*MsgCreateRollappResponse) Size ¶
func (m *MsgCreateRollappResponse) Size() (n int)
func (*MsgCreateRollappResponse) String ¶
func (m *MsgCreateRollappResponse) String() string
func (*MsgCreateRollappResponse) Unmarshal ¶
func (m *MsgCreateRollappResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateRollappResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateRollappResponse) XXX_DiscardUnknown()
func (*MsgCreateRollappResponse) XXX_Marshal ¶
func (m *MsgCreateRollappResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateRollappResponse) XXX_Merge ¶
func (m *MsgCreateRollappResponse) XXX_Merge(src proto.Message)
func (*MsgCreateRollappResponse) XXX_Size ¶
func (m *MsgCreateRollappResponse) XXX_Size() int
func (*MsgCreateRollappResponse) XXX_Unmarshal ¶
func (m *MsgCreateRollappResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateRollapp(context.Context, *MsgCreateRollapp) (*MsgCreateRollappResponse, error) UpdateState(context.Context, *MsgUpdateState) (*MsgUpdateStateResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateState ¶
type MsgUpdateState struct { // creator is the bech32-encoded address of the sequencer sending the update Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // rollappId is the rollapp that the sequencer belongs to and asking to update // The rollappId follows the same standard as cosmos chain_id RollappId string `protobuf:"bytes,2,opt,name=rollappId,proto3" json:"rollappId,omitempty"` // startHeight is the block height of the first block in the batch StartHeight uint64 `protobuf:"varint,3,opt,name=startHeight,proto3" json:"startHeight,omitempty"` // numBlocks is the number of blocks included in this batch update NumBlocks uint64 `protobuf:"varint,4,opt,name=numBlocks,proto3" json:"numBlocks,omitempty"` // DAPath is the description of the location on the DA layer DAPath string `protobuf:"bytes,5,opt,name=DAPath,proto3" json:"DAPath,omitempty"` // version is the version of the rollapp Version uint64 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` // BDs is a list of block description objects (one per block) // the list must be ordered by height, starting from startHeight to startHeight+numBlocks-1 BDs BlockDescriptors `protobuf:"bytes,7,opt,name=BDs,proto3" json:"BDs"` }
===================== MsgUpdateState Updating a rollapp state with a block batch a block batch is a list of ordered blocks (by height)
func NewMsgUpdateState ¶
func NewMsgUpdateState(creator string, rollappId string, startHeight uint64, numBlocks uint64, dAPath string, version uint64, bDs *BlockDescriptors) *MsgUpdateState
func (*MsgUpdateState) Descriptor ¶
func (*MsgUpdateState) Descriptor() ([]byte, []int)
func (*MsgUpdateState) GetBDs ¶
func (m *MsgUpdateState) GetBDs() BlockDescriptors
func (*MsgUpdateState) GetCreator ¶
func (m *MsgUpdateState) GetCreator() string
func (*MsgUpdateState) GetDAPath ¶
func (m *MsgUpdateState) GetDAPath() string
func (*MsgUpdateState) GetNumBlocks ¶
func (m *MsgUpdateState) GetNumBlocks() uint64
func (*MsgUpdateState) GetRollappId ¶
func (m *MsgUpdateState) GetRollappId() string
func (*MsgUpdateState) GetSignBytes ¶
func (msg *MsgUpdateState) GetSignBytes() []byte
func (*MsgUpdateState) GetSigners ¶
func (msg *MsgUpdateState) GetSigners() []sdk.AccAddress
func (*MsgUpdateState) GetStartHeight ¶
func (m *MsgUpdateState) GetStartHeight() uint64
func (*MsgUpdateState) GetVersion ¶
func (m *MsgUpdateState) GetVersion() uint64
func (*MsgUpdateState) Marshal ¶
func (m *MsgUpdateState) Marshal() (dAtA []byte, err error)
func (*MsgUpdateState) MarshalToSizedBuffer ¶
func (m *MsgUpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateState) ProtoMessage ¶
func (*MsgUpdateState) ProtoMessage()
func (*MsgUpdateState) Reset ¶
func (m *MsgUpdateState) Reset()
func (*MsgUpdateState) Route ¶
func (msg *MsgUpdateState) Route() string
func (*MsgUpdateState) Size ¶
func (m *MsgUpdateState) Size() (n int)
func (*MsgUpdateState) String ¶
func (m *MsgUpdateState) String() string
func (*MsgUpdateState) Type ¶
func (msg *MsgUpdateState) Type() string
func (*MsgUpdateState) Unmarshal ¶
func (m *MsgUpdateState) Unmarshal(dAtA []byte) error
func (*MsgUpdateState) ValidateBasic ¶
func (msg *MsgUpdateState) ValidateBasic() error
func (*MsgUpdateState) XXX_DiscardUnknown ¶
func (m *MsgUpdateState) XXX_DiscardUnknown()
func (*MsgUpdateState) XXX_Marshal ¶
func (m *MsgUpdateState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateState) XXX_Merge ¶
func (m *MsgUpdateState) XXX_Merge(src proto.Message)
func (*MsgUpdateState) XXX_Size ¶
func (m *MsgUpdateState) XXX_Size() int
func (*MsgUpdateState) XXX_Unmarshal ¶
func (m *MsgUpdateState) XXX_Unmarshal(b []byte) error
type MsgUpdateStateResponse ¶
type MsgUpdateStateResponse struct { }
func (*MsgUpdateStateResponse) Descriptor ¶
func (*MsgUpdateStateResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateStateResponse) Marshal ¶
func (m *MsgUpdateStateResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateStateResponse) MarshalTo ¶
func (m *MsgUpdateStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateStateResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateStateResponse) ProtoMessage ¶
func (*MsgUpdateStateResponse) ProtoMessage()
func (*MsgUpdateStateResponse) Reset ¶
func (m *MsgUpdateStateResponse) Reset()
func (*MsgUpdateStateResponse) Size ¶
func (m *MsgUpdateStateResponse) Size() (n int)
func (*MsgUpdateStateResponse) String ¶
func (m *MsgUpdateStateResponse) String() string
func (*MsgUpdateStateResponse) Unmarshal ¶
func (m *MsgUpdateStateResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateStateResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateStateResponse) XXX_DiscardUnknown()
func (*MsgUpdateStateResponse) XXX_Marshal ¶
func (m *MsgUpdateStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateStateResponse) XXX_Merge ¶
func (m *MsgUpdateStateResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateStateResponse) XXX_Size ¶
func (m *MsgUpdateStateResponse) XXX_Size() int
func (*MsgUpdateStateResponse) XXX_Unmarshal ¶
func (m *MsgUpdateStateResponse) XXX_Unmarshal(b []byte) error
type MultiRollappHooks ¶
type MultiRollappHooks []RollappHooks
combine multiple rollapp hooks, all hook functions are run in array sequence
func NewMultiRollappHooks ¶
func NewMultiRollappHooks(hooks ...RollappHooks) MultiRollappHooks
Creates hooks for the Rollapp Module.
func (MultiRollappHooks) BeforeUpdateState ¶
func (h MultiRollappHooks) BeforeUpdateState(ctx sdk.Context, seqAddr string, rollappId string)
type Params ¶
type Params struct { // dispute_period_in_blocks the number of blocks it takes // to change a status of a state from received to finalized. // during that period, any user could submit fraud proof DisputePeriodInBlocks uint64 `` /* 161-byte string literal not displayed */ // deployer_whitelist is a list of the // accounts that are allowed to create a rollapp and maximum number of rollapps. // In the case of an empty list, there are no restrictions DeployerWhitelist []DeployerParams `` /* 128-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( disputePeriodInBlocks uint64, deployerWhitelist []DeployerParams, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetDeployerWhitelist ¶
func (m *Params) GetDeployerWhitelist() []DeployerParams
func (*Params) GetDisputePeriodInBlocks ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAllBlockHeightToFinalizationQueueRequest ¶
type QueryAllBlockHeightToFinalizationQueueRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllBlockHeightToFinalizationQueueRequest) Descriptor ¶
func (*QueryAllBlockHeightToFinalizationQueueRequest) Descriptor() ([]byte, []int)
func (*QueryAllBlockHeightToFinalizationQueueRequest) GetPagination ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) GetPagination() *query.PageRequest
func (*QueryAllBlockHeightToFinalizationQueueRequest) Marshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllBlockHeightToFinalizationQueueRequest) MarshalTo ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBlockHeightToFinalizationQueueRequest) MarshalToSizedBuffer ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBlockHeightToFinalizationQueueRequest) ProtoMessage ¶
func (*QueryAllBlockHeightToFinalizationQueueRequest) ProtoMessage()
func (*QueryAllBlockHeightToFinalizationQueueRequest) Reset ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) Reset()
func (*QueryAllBlockHeightToFinalizationQueueRequest) Size ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) Size() (n int)
func (*QueryAllBlockHeightToFinalizationQueueRequest) String ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) String() string
func (*QueryAllBlockHeightToFinalizationQueueRequest) Unmarshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) Unmarshal(dAtA []byte) error
func (*QueryAllBlockHeightToFinalizationQueueRequest) XXX_DiscardUnknown ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_DiscardUnknown()
func (*QueryAllBlockHeightToFinalizationQueueRequest) XXX_Marshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBlockHeightToFinalizationQueueRequest) XXX_Merge ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Merge(src proto.Message)
func (*QueryAllBlockHeightToFinalizationQueueRequest) XXX_Size ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Size() int
func (*QueryAllBlockHeightToFinalizationQueueRequest) XXX_Unmarshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Unmarshal(b []byte) error
type QueryAllBlockHeightToFinalizationQueueResponse ¶
type QueryAllBlockHeightToFinalizationQueueResponse struct { BlockHeightToFinalizationQueue []BlockHeightToFinalizationQueue `protobuf:"bytes,1,rep,name=blockHeightToFinalizationQueue,proto3" json:"blockHeightToFinalizationQueue"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllBlockHeightToFinalizationQueueResponse) Descriptor ¶
func (*QueryAllBlockHeightToFinalizationQueueResponse) Descriptor() ([]byte, []int)
func (*QueryAllBlockHeightToFinalizationQueueResponse) GetBlockHeightToFinalizationQueue ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) GetBlockHeightToFinalizationQueue() []BlockHeightToFinalizationQueue
func (*QueryAllBlockHeightToFinalizationQueueResponse) GetPagination ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) GetPagination() *query.PageResponse
func (*QueryAllBlockHeightToFinalizationQueueResponse) Marshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllBlockHeightToFinalizationQueueResponse) MarshalTo ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBlockHeightToFinalizationQueueResponse) MarshalToSizedBuffer ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBlockHeightToFinalizationQueueResponse) ProtoMessage ¶
func (*QueryAllBlockHeightToFinalizationQueueResponse) ProtoMessage()
func (*QueryAllBlockHeightToFinalizationQueueResponse) Reset ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) Reset()
func (*QueryAllBlockHeightToFinalizationQueueResponse) Size ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) Size() (n int)
func (*QueryAllBlockHeightToFinalizationQueueResponse) String ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) String() string
func (*QueryAllBlockHeightToFinalizationQueueResponse) Unmarshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) Unmarshal(dAtA []byte) error
func (*QueryAllBlockHeightToFinalizationQueueResponse) XXX_DiscardUnknown ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_DiscardUnknown()
func (*QueryAllBlockHeightToFinalizationQueueResponse) XXX_Marshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBlockHeightToFinalizationQueueResponse) XXX_Merge ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Merge(src proto.Message)
func (*QueryAllBlockHeightToFinalizationQueueResponse) XXX_Size ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Size() int
func (*QueryAllBlockHeightToFinalizationQueueResponse) XXX_Unmarshal ¶
func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Unmarshal(b []byte) error
type QueryAllLatestStateInfoIndexRequest ¶
type QueryAllLatestStateInfoIndexRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllLatestStateInfoIndexRequest) Descriptor ¶
func (*QueryAllLatestStateInfoIndexRequest) Descriptor() ([]byte, []int)
func (*QueryAllLatestStateInfoIndexRequest) GetPagination ¶
func (m *QueryAllLatestStateInfoIndexRequest) GetPagination() *query.PageRequest
func (*QueryAllLatestStateInfoIndexRequest) Marshal ¶
func (m *QueryAllLatestStateInfoIndexRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllLatestStateInfoIndexRequest) MarshalTo ¶
func (m *QueryAllLatestStateInfoIndexRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLatestStateInfoIndexRequest) MarshalToSizedBuffer ¶
func (m *QueryAllLatestStateInfoIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLatestStateInfoIndexRequest) ProtoMessage ¶
func (*QueryAllLatestStateInfoIndexRequest) ProtoMessage()
func (*QueryAllLatestStateInfoIndexRequest) Reset ¶
func (m *QueryAllLatestStateInfoIndexRequest) Reset()
func (*QueryAllLatestStateInfoIndexRequest) Size ¶
func (m *QueryAllLatestStateInfoIndexRequest) Size() (n int)
func (*QueryAllLatestStateInfoIndexRequest) String ¶
func (m *QueryAllLatestStateInfoIndexRequest) String() string
func (*QueryAllLatestStateInfoIndexRequest) Unmarshal ¶
func (m *QueryAllLatestStateInfoIndexRequest) Unmarshal(dAtA []byte) error
func (*QueryAllLatestStateInfoIndexRequest) XXX_DiscardUnknown ¶
func (m *QueryAllLatestStateInfoIndexRequest) XXX_DiscardUnknown()
func (*QueryAllLatestStateInfoIndexRequest) XXX_Marshal ¶
func (m *QueryAllLatestStateInfoIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLatestStateInfoIndexRequest) XXX_Merge ¶
func (m *QueryAllLatestStateInfoIndexRequest) XXX_Merge(src proto.Message)
func (*QueryAllLatestStateInfoIndexRequest) XXX_Size ¶
func (m *QueryAllLatestStateInfoIndexRequest) XXX_Size() int
func (*QueryAllLatestStateInfoIndexRequest) XXX_Unmarshal ¶
func (m *QueryAllLatestStateInfoIndexRequest) XXX_Unmarshal(b []byte) error
type QueryAllLatestStateInfoIndexResponse ¶
type QueryAllLatestStateInfoIndexResponse struct { LatestStateInfoIndex []StateInfoIndex `protobuf:"bytes,1,rep,name=latestStateInfoIndex,proto3" json:"latestStateInfoIndex"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLatestStateInfoIndexResponse) Descriptor ¶
func (*QueryAllLatestStateInfoIndexResponse) Descriptor() ([]byte, []int)
func (*QueryAllLatestStateInfoIndexResponse) GetLatestStateInfoIndex ¶
func (m *QueryAllLatestStateInfoIndexResponse) GetLatestStateInfoIndex() []StateInfoIndex
func (*QueryAllLatestStateInfoIndexResponse) GetPagination ¶
func (m *QueryAllLatestStateInfoIndexResponse) GetPagination() *query.PageResponse
func (*QueryAllLatestStateInfoIndexResponse) Marshal ¶
func (m *QueryAllLatestStateInfoIndexResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllLatestStateInfoIndexResponse) MarshalTo ¶
func (m *QueryAllLatestStateInfoIndexResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLatestStateInfoIndexResponse) MarshalToSizedBuffer ¶
func (m *QueryAllLatestStateInfoIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLatestStateInfoIndexResponse) ProtoMessage ¶
func (*QueryAllLatestStateInfoIndexResponse) ProtoMessage()
func (*QueryAllLatestStateInfoIndexResponse) Reset ¶
func (m *QueryAllLatestStateInfoIndexResponse) Reset()
func (*QueryAllLatestStateInfoIndexResponse) Size ¶
func (m *QueryAllLatestStateInfoIndexResponse) Size() (n int)
func (*QueryAllLatestStateInfoIndexResponse) String ¶
func (m *QueryAllLatestStateInfoIndexResponse) String() string
func (*QueryAllLatestStateInfoIndexResponse) Unmarshal ¶
func (m *QueryAllLatestStateInfoIndexResponse) Unmarshal(dAtA []byte) error
func (*QueryAllLatestStateInfoIndexResponse) XXX_DiscardUnknown ¶
func (m *QueryAllLatestStateInfoIndexResponse) XXX_DiscardUnknown()
func (*QueryAllLatestStateInfoIndexResponse) XXX_Marshal ¶
func (m *QueryAllLatestStateInfoIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLatestStateInfoIndexResponse) XXX_Merge ¶
func (m *QueryAllLatestStateInfoIndexResponse) XXX_Merge(src proto.Message)
func (*QueryAllLatestStateInfoIndexResponse) XXX_Size ¶
func (m *QueryAllLatestStateInfoIndexResponse) XXX_Size() int
func (*QueryAllLatestStateInfoIndexResponse) XXX_Unmarshal ¶
func (m *QueryAllLatestStateInfoIndexResponse) XXX_Unmarshal(b []byte) error
type QueryAllRollappRequest ¶
type QueryAllRollappRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllRollappRequest) Descriptor ¶
func (*QueryAllRollappRequest) Descriptor() ([]byte, []int)
func (*QueryAllRollappRequest) GetPagination ¶
func (m *QueryAllRollappRequest) GetPagination() *query.PageRequest
func (*QueryAllRollappRequest) Marshal ¶
func (m *QueryAllRollappRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllRollappRequest) MarshalTo ¶
func (m *QueryAllRollappRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllRollappRequest) MarshalToSizedBuffer ¶
func (m *QueryAllRollappRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllRollappRequest) ProtoMessage ¶
func (*QueryAllRollappRequest) ProtoMessage()
func (*QueryAllRollappRequest) Reset ¶
func (m *QueryAllRollappRequest) Reset()
func (*QueryAllRollappRequest) Size ¶
func (m *QueryAllRollappRequest) Size() (n int)
func (*QueryAllRollappRequest) String ¶
func (m *QueryAllRollappRequest) String() string
func (*QueryAllRollappRequest) Unmarshal ¶
func (m *QueryAllRollappRequest) Unmarshal(dAtA []byte) error
func (*QueryAllRollappRequest) XXX_DiscardUnknown ¶
func (m *QueryAllRollappRequest) XXX_DiscardUnknown()
func (*QueryAllRollappRequest) XXX_Marshal ¶
func (m *QueryAllRollappRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllRollappRequest) XXX_Merge ¶
func (m *QueryAllRollappRequest) XXX_Merge(src proto.Message)
func (*QueryAllRollappRequest) XXX_Size ¶
func (m *QueryAllRollappRequest) XXX_Size() int
func (*QueryAllRollappRequest) XXX_Unmarshal ¶
func (m *QueryAllRollappRequest) XXX_Unmarshal(b []byte) error
type QueryAllRollappResponse ¶
type QueryAllRollappResponse struct { Rollapp []Rollapp `protobuf:"bytes,1,rep,name=rollapp,proto3" json:"rollapp"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllRollappResponse) Descriptor ¶
func (*QueryAllRollappResponse) Descriptor() ([]byte, []int)
func (*QueryAllRollappResponse) GetPagination ¶
func (m *QueryAllRollappResponse) GetPagination() *query.PageResponse
func (*QueryAllRollappResponse) GetRollapp ¶
func (m *QueryAllRollappResponse) GetRollapp() []Rollapp
func (*QueryAllRollappResponse) Marshal ¶
func (m *QueryAllRollappResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllRollappResponse) MarshalTo ¶
func (m *QueryAllRollappResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllRollappResponse) MarshalToSizedBuffer ¶
func (m *QueryAllRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllRollappResponse) ProtoMessage ¶
func (*QueryAllRollappResponse) ProtoMessage()
func (*QueryAllRollappResponse) Reset ¶
func (m *QueryAllRollappResponse) Reset()
func (*QueryAllRollappResponse) Size ¶
func (m *QueryAllRollappResponse) Size() (n int)
func (*QueryAllRollappResponse) String ¶
func (m *QueryAllRollappResponse) String() string
func (*QueryAllRollappResponse) Unmarshal ¶
func (m *QueryAllRollappResponse) Unmarshal(dAtA []byte) error
func (*QueryAllRollappResponse) XXX_DiscardUnknown ¶
func (m *QueryAllRollappResponse) XXX_DiscardUnknown()
func (*QueryAllRollappResponse) XXX_Marshal ¶
func (m *QueryAllRollappResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllRollappResponse) XXX_Merge ¶
func (m *QueryAllRollappResponse) XXX_Merge(src proto.Message)
func (*QueryAllRollappResponse) XXX_Size ¶
func (m *QueryAllRollappResponse) XXX_Size() int
func (*QueryAllRollappResponse) XXX_Unmarshal ¶
func (m *QueryAllRollappResponse) XXX_Unmarshal(b []byte) error
type QueryAllStateInfoRequest ¶
type QueryAllStateInfoRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllStateInfoRequest) Descriptor ¶
func (*QueryAllStateInfoRequest) Descriptor() ([]byte, []int)
func (*QueryAllStateInfoRequest) GetPagination ¶
func (m *QueryAllStateInfoRequest) GetPagination() *query.PageRequest
func (*QueryAllStateInfoRequest) Marshal ¶
func (m *QueryAllStateInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllStateInfoRequest) MarshalTo ¶
func (m *QueryAllStateInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllStateInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryAllStateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllStateInfoRequest) ProtoMessage ¶
func (*QueryAllStateInfoRequest) ProtoMessage()
func (*QueryAllStateInfoRequest) Reset ¶
func (m *QueryAllStateInfoRequest) Reset()
func (*QueryAllStateInfoRequest) Size ¶
func (m *QueryAllStateInfoRequest) Size() (n int)
func (*QueryAllStateInfoRequest) String ¶
func (m *QueryAllStateInfoRequest) String() string
func (*QueryAllStateInfoRequest) Unmarshal ¶
func (m *QueryAllStateInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryAllStateInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryAllStateInfoRequest) XXX_DiscardUnknown()
func (*QueryAllStateInfoRequest) XXX_Marshal ¶
func (m *QueryAllStateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllStateInfoRequest) XXX_Merge ¶
func (m *QueryAllStateInfoRequest) XXX_Merge(src proto.Message)
func (*QueryAllStateInfoRequest) XXX_Size ¶
func (m *QueryAllStateInfoRequest) XXX_Size() int
func (*QueryAllStateInfoRequest) XXX_Unmarshal ¶
func (m *QueryAllStateInfoRequest) XXX_Unmarshal(b []byte) error
type QueryAllStateInfoResponse ¶
type QueryAllStateInfoResponse struct { StateInfo []StateInfo `protobuf:"bytes,1,rep,name=stateInfo,proto3" json:"stateInfo"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllStateInfoResponse) Descriptor ¶
func (*QueryAllStateInfoResponse) Descriptor() ([]byte, []int)
func (*QueryAllStateInfoResponse) GetPagination ¶
func (m *QueryAllStateInfoResponse) GetPagination() *query.PageResponse
func (*QueryAllStateInfoResponse) GetStateInfo ¶
func (m *QueryAllStateInfoResponse) GetStateInfo() []StateInfo
func (*QueryAllStateInfoResponse) Marshal ¶
func (m *QueryAllStateInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllStateInfoResponse) MarshalTo ¶
func (m *QueryAllStateInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllStateInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryAllStateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllStateInfoResponse) ProtoMessage ¶
func (*QueryAllStateInfoResponse) ProtoMessage()
func (*QueryAllStateInfoResponse) Reset ¶
func (m *QueryAllStateInfoResponse) Reset()
func (*QueryAllStateInfoResponse) Size ¶
func (m *QueryAllStateInfoResponse) Size() (n int)
func (*QueryAllStateInfoResponse) String ¶
func (m *QueryAllStateInfoResponse) String() string
func (*QueryAllStateInfoResponse) Unmarshal ¶
func (m *QueryAllStateInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryAllStateInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryAllStateInfoResponse) XXX_DiscardUnknown()
func (*QueryAllStateInfoResponse) XXX_Marshal ¶
func (m *QueryAllStateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllStateInfoResponse) XXX_Merge ¶
func (m *QueryAllStateInfoResponse) XXX_Merge(src proto.Message)
func (*QueryAllStateInfoResponse) XXX_Size ¶
func (m *QueryAllStateInfoResponse) XXX_Size() int
func (*QueryAllStateInfoResponse) XXX_Unmarshal ¶
func (m *QueryAllStateInfoResponse) 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) // Queries a Rollapp by index. Rollapp(ctx context.Context, in *QueryGetRollappRequest, opts ...grpc.CallOption) (*QueryGetRollappResponse, error) // Queries a list of Rollapp items. RollappAll(ctx context.Context, in *QueryAllRollappRequest, opts ...grpc.CallOption) (*QueryAllRollappResponse, error) // Queries a StateInfo by index. StateInfo(ctx context.Context, in *QueryGetStateInfoRequest, opts ...grpc.CallOption) (*QueryGetStateInfoResponse, error) // Queries a list of StateInfo items. StateInfoAll(ctx context.Context, in *QueryAllStateInfoRequest, opts ...grpc.CallOption) (*QueryAllStateInfoResponse, error) // Queries a LatestStateInfoIndex by index. LatestStateInfoIndex(ctx context.Context, in *QueryGetLatestStateInfoIndexRequest, opts ...grpc.CallOption) (*QueryGetLatestStateInfoIndexResponse, error) // Queries a list of LatestStateInfoIndex items. LatestStateInfoIndexAll(ctx context.Context, in *QueryAllLatestStateInfoIndexRequest, opts ...grpc.CallOption) (*QueryAllLatestStateInfoIndexResponse, error) // Queries a BlockHeightToFinalizationQueue by index. BlockHeightToFinalizationQueue(ctx context.Context, in *QueryGetBlockHeightToFinalizationQueueRequest, opts ...grpc.CallOption) (*QueryGetBlockHeightToFinalizationQueueResponse, error) // Queries a list of BlockHeightToFinalizationQueue items. BlockHeightToFinalizationQueueAll(ctx context.Context, in *QueryAllBlockHeightToFinalizationQueueRequest, opts ...grpc.CallOption) (*QueryAllBlockHeightToFinalizationQueueResponse, error) // Queries a list of LatestFinalizedStateInfo items. LatestFinalizedStateInfo(ctx context.Context, in *QueryGetLatestFinalizedStateInfoRequest, opts ...grpc.CallOption) (*QueryGetLatestFinalizedStateInfoResponse, error) // Queries a list of GetStateInfoByHeight items. GetStateInfoByHeight(ctx context.Context, in *QueryGetStateInfoByHeightRequest, opts ...grpc.CallOption) (*QueryGetStateInfoByHeightResponse, 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 QueryGetBlockHeightToFinalizationQueueRequest ¶
type QueryGetBlockHeightToFinalizationQueueRequest struct {
FinalizationHeight uint64 `protobuf:"varint,1,opt,name=finalizationHeight,proto3" json:"finalizationHeight,omitempty"`
}
func (*QueryGetBlockHeightToFinalizationQueueRequest) Descriptor ¶
func (*QueryGetBlockHeightToFinalizationQueueRequest) Descriptor() ([]byte, []int)
func (*QueryGetBlockHeightToFinalizationQueueRequest) GetFinalizationHeight ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) GetFinalizationHeight() uint64
func (*QueryGetBlockHeightToFinalizationQueueRequest) Marshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetBlockHeightToFinalizationQueueRequest) MarshalTo ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetBlockHeightToFinalizationQueueRequest) MarshalToSizedBuffer ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetBlockHeightToFinalizationQueueRequest) ProtoMessage ¶
func (*QueryGetBlockHeightToFinalizationQueueRequest) ProtoMessage()
func (*QueryGetBlockHeightToFinalizationQueueRequest) Reset ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) Reset()
func (*QueryGetBlockHeightToFinalizationQueueRequest) Size ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) Size() (n int)
func (*QueryGetBlockHeightToFinalizationQueueRequest) String ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) String() string
func (*QueryGetBlockHeightToFinalizationQueueRequest) Unmarshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) Unmarshal(dAtA []byte) error
func (*QueryGetBlockHeightToFinalizationQueueRequest) XXX_DiscardUnknown ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_DiscardUnknown()
func (*QueryGetBlockHeightToFinalizationQueueRequest) XXX_Marshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetBlockHeightToFinalizationQueueRequest) XXX_Merge ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Merge(src proto.Message)
func (*QueryGetBlockHeightToFinalizationQueueRequest) XXX_Size ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Size() int
func (*QueryGetBlockHeightToFinalizationQueueRequest) XXX_Unmarshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Unmarshal(b []byte) error
type QueryGetBlockHeightToFinalizationQueueResponse ¶
type QueryGetBlockHeightToFinalizationQueueResponse struct {
BlockHeightToFinalizationQueue BlockHeightToFinalizationQueue `protobuf:"bytes,1,opt,name=blockHeightToFinalizationQueue,proto3" json:"blockHeightToFinalizationQueue"`
}
func (*QueryGetBlockHeightToFinalizationQueueResponse) Descriptor ¶
func (*QueryGetBlockHeightToFinalizationQueueResponse) Descriptor() ([]byte, []int)
func (*QueryGetBlockHeightToFinalizationQueueResponse) GetBlockHeightToFinalizationQueue ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) GetBlockHeightToFinalizationQueue() BlockHeightToFinalizationQueue
func (*QueryGetBlockHeightToFinalizationQueueResponse) Marshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetBlockHeightToFinalizationQueueResponse) MarshalTo ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetBlockHeightToFinalizationQueueResponse) MarshalToSizedBuffer ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetBlockHeightToFinalizationQueueResponse) ProtoMessage ¶
func (*QueryGetBlockHeightToFinalizationQueueResponse) ProtoMessage()
func (*QueryGetBlockHeightToFinalizationQueueResponse) Reset ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) Reset()
func (*QueryGetBlockHeightToFinalizationQueueResponse) Size ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) Size() (n int)
func (*QueryGetBlockHeightToFinalizationQueueResponse) String ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) String() string
func (*QueryGetBlockHeightToFinalizationQueueResponse) Unmarshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) Unmarshal(dAtA []byte) error
func (*QueryGetBlockHeightToFinalizationQueueResponse) XXX_DiscardUnknown ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_DiscardUnknown()
func (*QueryGetBlockHeightToFinalizationQueueResponse) XXX_Marshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetBlockHeightToFinalizationQueueResponse) XXX_Merge ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Merge(src proto.Message)
func (*QueryGetBlockHeightToFinalizationQueueResponse) XXX_Size ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Size() int
func (*QueryGetBlockHeightToFinalizationQueueResponse) XXX_Unmarshal ¶
func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Unmarshal(b []byte) error
type QueryGetLatestFinalizedStateInfoRequest ¶
type QueryGetLatestFinalizedStateInfoRequest struct {
RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
}
func (*QueryGetLatestFinalizedStateInfoRequest) Descriptor ¶
func (*QueryGetLatestFinalizedStateInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestFinalizedStateInfoRequest) GetRollappId ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) GetRollappId() string
func (*QueryGetLatestFinalizedStateInfoRequest) Marshal ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestFinalizedStateInfoRequest) MarshalTo ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestFinalizedStateInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestFinalizedStateInfoRequest) ProtoMessage ¶
func (*QueryGetLatestFinalizedStateInfoRequest) ProtoMessage()
func (*QueryGetLatestFinalizedStateInfoRequest) Reset ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) Reset()
func (*QueryGetLatestFinalizedStateInfoRequest) Size ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) Size() (n int)
func (*QueryGetLatestFinalizedStateInfoRequest) String ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) String() string
func (*QueryGetLatestFinalizedStateInfoRequest) Unmarshal ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestFinalizedStateInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_DiscardUnknown()
func (*QueryGetLatestFinalizedStateInfoRequest) XXX_Marshal ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestFinalizedStateInfoRequest) XXX_Merge ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestFinalizedStateInfoRequest) XXX_Size ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Size() int
func (*QueryGetLatestFinalizedStateInfoRequest) XXX_Unmarshal ¶
func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestFinalizedStateInfoResponse ¶
type QueryGetLatestFinalizedStateInfoResponse struct {
StateInfo StateInfo `protobuf:"bytes,1,opt,name=stateInfo,proto3" json:"stateInfo"`
}
func (*QueryGetLatestFinalizedStateInfoResponse) Descriptor ¶
func (*QueryGetLatestFinalizedStateInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestFinalizedStateInfoResponse) GetStateInfo ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) GetStateInfo() StateInfo
func (*QueryGetLatestFinalizedStateInfoResponse) Marshal ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestFinalizedStateInfoResponse) MarshalTo ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestFinalizedStateInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestFinalizedStateInfoResponse) ProtoMessage ¶
func (*QueryGetLatestFinalizedStateInfoResponse) ProtoMessage()
func (*QueryGetLatestFinalizedStateInfoResponse) Reset ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) Reset()
func (*QueryGetLatestFinalizedStateInfoResponse) Size ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) Size() (n int)
func (*QueryGetLatestFinalizedStateInfoResponse) String ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) String() string
func (*QueryGetLatestFinalizedStateInfoResponse) Unmarshal ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestFinalizedStateInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_DiscardUnknown()
func (*QueryGetLatestFinalizedStateInfoResponse) XXX_Marshal ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestFinalizedStateInfoResponse) XXX_Merge ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestFinalizedStateInfoResponse) XXX_Size ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Size() int
func (*QueryGetLatestFinalizedStateInfoResponse) XXX_Unmarshal ¶
func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Unmarshal(b []byte) error
type QueryGetLatestStateInfoIndexRequest ¶
type QueryGetLatestStateInfoIndexRequest struct {
RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
}
func (*QueryGetLatestStateInfoIndexRequest) Descriptor ¶
func (*QueryGetLatestStateInfoIndexRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestStateInfoIndexRequest) GetRollappId ¶
func (m *QueryGetLatestStateInfoIndexRequest) GetRollappId() string
func (*QueryGetLatestStateInfoIndexRequest) Marshal ¶
func (m *QueryGetLatestStateInfoIndexRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestStateInfoIndexRequest) MarshalTo ¶
func (m *QueryGetLatestStateInfoIndexRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestStateInfoIndexRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLatestStateInfoIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestStateInfoIndexRequest) ProtoMessage ¶
func (*QueryGetLatestStateInfoIndexRequest) ProtoMessage()
func (*QueryGetLatestStateInfoIndexRequest) Reset ¶
func (m *QueryGetLatestStateInfoIndexRequest) Reset()
func (*QueryGetLatestStateInfoIndexRequest) Size ¶
func (m *QueryGetLatestStateInfoIndexRequest) Size() (n int)
func (*QueryGetLatestStateInfoIndexRequest) String ¶
func (m *QueryGetLatestStateInfoIndexRequest) String() string
func (*QueryGetLatestStateInfoIndexRequest) Unmarshal ¶
func (m *QueryGetLatestStateInfoIndexRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestStateInfoIndexRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLatestStateInfoIndexRequest) XXX_DiscardUnknown()
func (*QueryGetLatestStateInfoIndexRequest) XXX_Marshal ¶
func (m *QueryGetLatestStateInfoIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestStateInfoIndexRequest) XXX_Merge ¶
func (m *QueryGetLatestStateInfoIndexRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestStateInfoIndexRequest) XXX_Size ¶
func (m *QueryGetLatestStateInfoIndexRequest) XXX_Size() int
func (*QueryGetLatestStateInfoIndexRequest) XXX_Unmarshal ¶
func (m *QueryGetLatestStateInfoIndexRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestStateInfoIndexResponse ¶
type QueryGetLatestStateInfoIndexResponse struct {
LatestStateInfoIndex StateInfoIndex `protobuf:"bytes,1,opt,name=latestStateInfoIndex,proto3" json:"latestStateInfoIndex"`
}
func (*QueryGetLatestStateInfoIndexResponse) Descriptor ¶
func (*QueryGetLatestStateInfoIndexResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestStateInfoIndexResponse) GetLatestStateInfoIndex ¶
func (m *QueryGetLatestStateInfoIndexResponse) GetLatestStateInfoIndex() StateInfoIndex
func (*QueryGetLatestStateInfoIndexResponse) Marshal ¶
func (m *QueryGetLatestStateInfoIndexResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestStateInfoIndexResponse) MarshalTo ¶
func (m *QueryGetLatestStateInfoIndexResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestStateInfoIndexResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLatestStateInfoIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestStateInfoIndexResponse) ProtoMessage ¶
func (*QueryGetLatestStateInfoIndexResponse) ProtoMessage()
func (*QueryGetLatestStateInfoIndexResponse) Reset ¶
func (m *QueryGetLatestStateInfoIndexResponse) Reset()
func (*QueryGetLatestStateInfoIndexResponse) Size ¶
func (m *QueryGetLatestStateInfoIndexResponse) Size() (n int)
func (*QueryGetLatestStateInfoIndexResponse) String ¶
func (m *QueryGetLatestStateInfoIndexResponse) String() string
func (*QueryGetLatestStateInfoIndexResponse) Unmarshal ¶
func (m *QueryGetLatestStateInfoIndexResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestStateInfoIndexResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLatestStateInfoIndexResponse) XXX_DiscardUnknown()
func (*QueryGetLatestStateInfoIndexResponse) XXX_Marshal ¶
func (m *QueryGetLatestStateInfoIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestStateInfoIndexResponse) XXX_Merge ¶
func (m *QueryGetLatestStateInfoIndexResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestStateInfoIndexResponse) XXX_Size ¶
func (m *QueryGetLatestStateInfoIndexResponse) XXX_Size() int
func (*QueryGetLatestStateInfoIndexResponse) XXX_Unmarshal ¶
func (m *QueryGetLatestStateInfoIndexResponse) XXX_Unmarshal(b []byte) error
type QueryGetRollappRequest ¶
type QueryGetRollappRequest struct {
RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
}
func (*QueryGetRollappRequest) Descriptor ¶
func (*QueryGetRollappRequest) Descriptor() ([]byte, []int)
func (*QueryGetRollappRequest) GetRollappId ¶
func (m *QueryGetRollappRequest) GetRollappId() string
func (*QueryGetRollappRequest) Marshal ¶
func (m *QueryGetRollappRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetRollappRequest) MarshalTo ¶
func (m *QueryGetRollappRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetRollappRequest) MarshalToSizedBuffer ¶
func (m *QueryGetRollappRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetRollappRequest) ProtoMessage ¶
func (*QueryGetRollappRequest) ProtoMessage()
func (*QueryGetRollappRequest) Reset ¶
func (m *QueryGetRollappRequest) Reset()
func (*QueryGetRollappRequest) Size ¶
func (m *QueryGetRollappRequest) Size() (n int)
func (*QueryGetRollappRequest) String ¶
func (m *QueryGetRollappRequest) String() string
func (*QueryGetRollappRequest) Unmarshal ¶
func (m *QueryGetRollappRequest) Unmarshal(dAtA []byte) error
func (*QueryGetRollappRequest) XXX_DiscardUnknown ¶
func (m *QueryGetRollappRequest) XXX_DiscardUnknown()
func (*QueryGetRollappRequest) XXX_Marshal ¶
func (m *QueryGetRollappRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetRollappRequest) XXX_Merge ¶
func (m *QueryGetRollappRequest) XXX_Merge(src proto.Message)
func (*QueryGetRollappRequest) XXX_Size ¶
func (m *QueryGetRollappRequest) XXX_Size() int
func (*QueryGetRollappRequest) XXX_Unmarshal ¶
func (m *QueryGetRollappRequest) XXX_Unmarshal(b []byte) error
type QueryGetRollappResponse ¶
type QueryGetRollappResponse struct {
Rollapp Rollapp `protobuf:"bytes,1,opt,name=rollapp,proto3" json:"rollapp"`
}
func (*QueryGetRollappResponse) Descriptor ¶
func (*QueryGetRollappResponse) Descriptor() ([]byte, []int)
func (*QueryGetRollappResponse) GetRollapp ¶
func (m *QueryGetRollappResponse) GetRollapp() Rollapp
func (*QueryGetRollappResponse) Marshal ¶
func (m *QueryGetRollappResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetRollappResponse) MarshalTo ¶
func (m *QueryGetRollappResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetRollappResponse) MarshalToSizedBuffer ¶
func (m *QueryGetRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetRollappResponse) ProtoMessage ¶
func (*QueryGetRollappResponse) ProtoMessage()
func (*QueryGetRollappResponse) Reset ¶
func (m *QueryGetRollappResponse) Reset()
func (*QueryGetRollappResponse) Size ¶
func (m *QueryGetRollappResponse) Size() (n int)
func (*QueryGetRollappResponse) String ¶
func (m *QueryGetRollappResponse) String() string
func (*QueryGetRollappResponse) Unmarshal ¶
func (m *QueryGetRollappResponse) Unmarshal(dAtA []byte) error
func (*QueryGetRollappResponse) XXX_DiscardUnknown ¶
func (m *QueryGetRollappResponse) XXX_DiscardUnknown()
func (*QueryGetRollappResponse) XXX_Marshal ¶
func (m *QueryGetRollappResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetRollappResponse) XXX_Merge ¶
func (m *QueryGetRollappResponse) XXX_Merge(src proto.Message)
func (*QueryGetRollappResponse) XXX_Size ¶
func (m *QueryGetRollappResponse) XXX_Size() int
func (*QueryGetRollappResponse) XXX_Unmarshal ¶
func (m *QueryGetRollappResponse) XXX_Unmarshal(b []byte) error
type QueryGetStateInfoByHeightRequest ¶
type QueryGetStateInfoByHeightRequest struct { RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` }
func (*QueryGetStateInfoByHeightRequest) Descriptor ¶
func (*QueryGetStateInfoByHeightRequest) Descriptor() ([]byte, []int)
func (*QueryGetStateInfoByHeightRequest) GetHeight ¶
func (m *QueryGetStateInfoByHeightRequest) GetHeight() uint64
func (*QueryGetStateInfoByHeightRequest) GetRollappId ¶
func (m *QueryGetStateInfoByHeightRequest) GetRollappId() string
func (*QueryGetStateInfoByHeightRequest) Marshal ¶
func (m *QueryGetStateInfoByHeightRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetStateInfoByHeightRequest) MarshalTo ¶
func (m *QueryGetStateInfoByHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStateInfoByHeightRequest) MarshalToSizedBuffer ¶
func (m *QueryGetStateInfoByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStateInfoByHeightRequest) ProtoMessage ¶
func (*QueryGetStateInfoByHeightRequest) ProtoMessage()
func (*QueryGetStateInfoByHeightRequest) Reset ¶
func (m *QueryGetStateInfoByHeightRequest) Reset()
func (*QueryGetStateInfoByHeightRequest) Size ¶
func (m *QueryGetStateInfoByHeightRequest) Size() (n int)
func (*QueryGetStateInfoByHeightRequest) String ¶
func (m *QueryGetStateInfoByHeightRequest) String() string
func (*QueryGetStateInfoByHeightRequest) Unmarshal ¶
func (m *QueryGetStateInfoByHeightRequest) Unmarshal(dAtA []byte) error
func (*QueryGetStateInfoByHeightRequest) XXX_DiscardUnknown ¶
func (m *QueryGetStateInfoByHeightRequest) XXX_DiscardUnknown()
func (*QueryGetStateInfoByHeightRequest) XXX_Marshal ¶
func (m *QueryGetStateInfoByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStateInfoByHeightRequest) XXX_Merge ¶
func (m *QueryGetStateInfoByHeightRequest) XXX_Merge(src proto.Message)
func (*QueryGetStateInfoByHeightRequest) XXX_Size ¶
func (m *QueryGetStateInfoByHeightRequest) XXX_Size() int
func (*QueryGetStateInfoByHeightRequest) XXX_Unmarshal ¶
func (m *QueryGetStateInfoByHeightRequest) XXX_Unmarshal(b []byte) error
type QueryGetStateInfoByHeightResponse ¶
type QueryGetStateInfoByHeightResponse struct {
StateInfo StateInfo `protobuf:"bytes,1,opt,name=stateInfo,proto3" json:"stateInfo"`
}
func (*QueryGetStateInfoByHeightResponse) Descriptor ¶
func (*QueryGetStateInfoByHeightResponse) Descriptor() ([]byte, []int)
func (*QueryGetStateInfoByHeightResponse) GetStateInfo ¶
func (m *QueryGetStateInfoByHeightResponse) GetStateInfo() StateInfo
func (*QueryGetStateInfoByHeightResponse) Marshal ¶
func (m *QueryGetStateInfoByHeightResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetStateInfoByHeightResponse) MarshalTo ¶
func (m *QueryGetStateInfoByHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStateInfoByHeightResponse) MarshalToSizedBuffer ¶
func (m *QueryGetStateInfoByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStateInfoByHeightResponse) ProtoMessage ¶
func (*QueryGetStateInfoByHeightResponse) ProtoMessage()
func (*QueryGetStateInfoByHeightResponse) Reset ¶
func (m *QueryGetStateInfoByHeightResponse) Reset()
func (*QueryGetStateInfoByHeightResponse) Size ¶
func (m *QueryGetStateInfoByHeightResponse) Size() (n int)
func (*QueryGetStateInfoByHeightResponse) String ¶
func (m *QueryGetStateInfoByHeightResponse) String() string
func (*QueryGetStateInfoByHeightResponse) Unmarshal ¶
func (m *QueryGetStateInfoByHeightResponse) Unmarshal(dAtA []byte) error
func (*QueryGetStateInfoByHeightResponse) XXX_DiscardUnknown ¶
func (m *QueryGetStateInfoByHeightResponse) XXX_DiscardUnknown()
func (*QueryGetStateInfoByHeightResponse) XXX_Marshal ¶
func (m *QueryGetStateInfoByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStateInfoByHeightResponse) XXX_Merge ¶
func (m *QueryGetStateInfoByHeightResponse) XXX_Merge(src proto.Message)
func (*QueryGetStateInfoByHeightResponse) XXX_Size ¶
func (m *QueryGetStateInfoByHeightResponse) XXX_Size() int
func (*QueryGetStateInfoByHeightResponse) XXX_Unmarshal ¶
func (m *QueryGetStateInfoByHeightResponse) XXX_Unmarshal(b []byte) error
type QueryGetStateInfoRequest ¶
type QueryGetStateInfoRequest struct { RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` }
func (*QueryGetStateInfoRequest) Descriptor ¶
func (*QueryGetStateInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGetStateInfoRequest) GetIndex ¶
func (m *QueryGetStateInfoRequest) GetIndex() uint64
func (*QueryGetStateInfoRequest) GetRollappId ¶
func (m *QueryGetStateInfoRequest) GetRollappId() string
func (*QueryGetStateInfoRequest) Marshal ¶
func (m *QueryGetStateInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetStateInfoRequest) MarshalTo ¶
func (m *QueryGetStateInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStateInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGetStateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStateInfoRequest) ProtoMessage ¶
func (*QueryGetStateInfoRequest) ProtoMessage()
func (*QueryGetStateInfoRequest) Reset ¶
func (m *QueryGetStateInfoRequest) Reset()
func (*QueryGetStateInfoRequest) Size ¶
func (m *QueryGetStateInfoRequest) Size() (n int)
func (*QueryGetStateInfoRequest) String ¶
func (m *QueryGetStateInfoRequest) String() string
func (*QueryGetStateInfoRequest) Unmarshal ¶
func (m *QueryGetStateInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGetStateInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGetStateInfoRequest) XXX_DiscardUnknown()
func (*QueryGetStateInfoRequest) XXX_Marshal ¶
func (m *QueryGetStateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStateInfoRequest) XXX_Merge ¶
func (m *QueryGetStateInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGetStateInfoRequest) XXX_Size ¶
func (m *QueryGetStateInfoRequest) XXX_Size() int
func (*QueryGetStateInfoRequest) XXX_Unmarshal ¶
func (m *QueryGetStateInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGetStateInfoResponse ¶
type QueryGetStateInfoResponse struct {
StateInfo StateInfo `protobuf:"bytes,1,opt,name=stateInfo,proto3" json:"stateInfo"`
}
func (*QueryGetStateInfoResponse) Descriptor ¶
func (*QueryGetStateInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGetStateInfoResponse) GetStateInfo ¶
func (m *QueryGetStateInfoResponse) GetStateInfo() StateInfo
func (*QueryGetStateInfoResponse) Marshal ¶
func (m *QueryGetStateInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetStateInfoResponse) MarshalTo ¶
func (m *QueryGetStateInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStateInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGetStateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStateInfoResponse) ProtoMessage ¶
func (*QueryGetStateInfoResponse) ProtoMessage()
func (*QueryGetStateInfoResponse) Reset ¶
func (m *QueryGetStateInfoResponse) Reset()
func (*QueryGetStateInfoResponse) Size ¶
func (m *QueryGetStateInfoResponse) Size() (n int)
func (*QueryGetStateInfoResponse) String ¶
func (m *QueryGetStateInfoResponse) String() string
func (*QueryGetStateInfoResponse) Unmarshal ¶
func (m *QueryGetStateInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGetStateInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGetStateInfoResponse) XXX_DiscardUnknown()
func (*QueryGetStateInfoResponse) XXX_Marshal ¶
func (m *QueryGetStateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStateInfoResponse) XXX_Merge ¶
func (m *QueryGetStateInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGetStateInfoResponse) XXX_Size ¶
func (m *QueryGetStateInfoResponse) XXX_Size() int
func (*QueryGetStateInfoResponse) XXX_Unmarshal ¶
func (m *QueryGetStateInfoResponse) XXX_Unmarshal(b []byte) error
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) // Queries a Rollapp by index. Rollapp(context.Context, *QueryGetRollappRequest) (*QueryGetRollappResponse, error) // Queries a list of Rollapp items. RollappAll(context.Context, *QueryAllRollappRequest) (*QueryAllRollappResponse, error) // Queries a StateInfo by index. StateInfo(context.Context, *QueryGetStateInfoRequest) (*QueryGetStateInfoResponse, error) // Queries a list of StateInfo items. StateInfoAll(context.Context, *QueryAllStateInfoRequest) (*QueryAllStateInfoResponse, error) // Queries a LatestStateInfoIndex by index. LatestStateInfoIndex(context.Context, *QueryGetLatestStateInfoIndexRequest) (*QueryGetLatestStateInfoIndexResponse, error) // Queries a list of LatestStateInfoIndex items. LatestStateInfoIndexAll(context.Context, *QueryAllLatestStateInfoIndexRequest) (*QueryAllLatestStateInfoIndexResponse, error) // Queries a BlockHeightToFinalizationQueue by index. BlockHeightToFinalizationQueue(context.Context, *QueryGetBlockHeightToFinalizationQueueRequest) (*QueryGetBlockHeightToFinalizationQueueResponse, error) // Queries a list of BlockHeightToFinalizationQueue items. BlockHeightToFinalizationQueueAll(context.Context, *QueryAllBlockHeightToFinalizationQueueRequest) (*QueryAllBlockHeightToFinalizationQueueResponse, error) // Queries a list of LatestFinalizedStateInfo items. LatestFinalizedStateInfo(context.Context, *QueryGetLatestFinalizedStateInfoRequest) (*QueryGetLatestFinalizedStateInfoResponse, error) // Queries a list of GetStateInfoByHeight items. GetStateInfoByHeight(context.Context, *QueryGetStateInfoByHeightRequest) (*QueryGetStateInfoByHeightResponse, error) }
QueryServer is the server API for Query service.
type Rollapp ¶
type Rollapp struct { // rollappId is the unique identifier of the rollapp chain. // The rollappId follows the same standard as cosmos chain_id. RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` // creator is the bech32-encoded address of the rollapp creator. Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // version is the software and configuration version. // starts from 1 and increases by one on every MsgUpdateState Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // codeStamp is a generated hash for unique identification of the rollapp code. CodeStamp string `protobuf:"bytes,4,opt,name=codeStamp,proto3" json:"codeStamp,omitempty"` // genesisPath is the description of the genesis file location on the DA. GenesisPath string `protobuf:"bytes,5,opt,name=genesisPath,proto3" json:"genesisPath,omitempty"` // maxWithholdingBlocks is the maximum number of blocks for // an active sequencer to send a state update (MsgUpdateState). MaxWithholdingBlocks uint64 `protobuf:"varint,6,opt,name=maxWithholdingBlocks,proto3" json:"maxWithholdingBlocks,omitempty"` // maxSequencers is the maximum number of sequencers. MaxSequencers uint64 `protobuf:"varint,7,opt,name=maxSequencers,proto3" json:"maxSequencers,omitempty"` // permissionedAddresses is a bech32-encoded address list of the // sequencers that are allowed to serve this rollappId. // In the case of an empty list, the rollapp is considered permissionless. PermissionedAddresses types.Sequencers `protobuf:"bytes,8,opt,name=permissionedAddresses,proto3" json:"permissionedAddresses"` }
Rollapp defines a rollapp object. First the RollApp is created and then sequencers can be created and attached. The RollApp is identified by rollappId
func (*Rollapp) Descriptor ¶
func (*Rollapp) GetCodeStamp ¶
func (*Rollapp) GetCreator ¶
func (*Rollapp) GetGenesisPath ¶
func (*Rollapp) GetMaxSequencers ¶
func (*Rollapp) GetMaxWithholdingBlocks ¶
func (*Rollapp) GetPermissionedAddresses ¶
func (m *Rollapp) GetPermissionedAddresses() types.Sequencers
func (*Rollapp) GetRollappId ¶
func (*Rollapp) GetVersion ¶
func (*Rollapp) MarshalToSizedBuffer ¶
func (*Rollapp) ProtoMessage ¶
func (*Rollapp) ProtoMessage()
func (*Rollapp) XXX_DiscardUnknown ¶
func (m *Rollapp) XXX_DiscardUnknown()
func (*Rollapp) XXX_Marshal ¶
func (*Rollapp) XXX_Unmarshal ¶
type RollappHooks ¶
type RollappHooks interface {
BeforeUpdateState(ctx sdk.Context, seqAddr string, rollappId string) // Must be called when a rollapp's state changes
}
RollappHooks event hooks for rollapp object (noalias)
type StateInfo ¶
type StateInfo struct { // stateInfoIndex defines what rollapp the state belongs to // and in which index it can be referenced StateInfoIndex StateInfoIndex `protobuf:"bytes,1,opt,name=stateInfoIndex,proto3" json:"stateInfoIndex"` // sequencer is the bech32-encoded address of the sequencer sent the update Sequencer string `protobuf:"bytes,2,opt,name=sequencer,proto3" json:"sequencer,omitempty"` // startHeight is the block height of the first block in the batch StartHeight uint64 `protobuf:"varint,3,opt,name=startHeight,proto3" json:"startHeight,omitempty"` // numBlocks is the number of blocks included in this batch update NumBlocks uint64 `protobuf:"varint,4,opt,name=numBlocks,proto3" json:"numBlocks,omitempty"` // DAPath is the description of the location on the DA layer DAPath string `protobuf:"bytes,5,opt,name=DAPath,proto3" json:"DAPath,omitempty"` // version is the version of the rollapp Version uint64 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` // creationHeight is the height at which the UpdateState took place CreationHeight uint64 `protobuf:"varint,7,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"` // status is the status of the state update Status StateStatus `protobuf:"varint,8,opt,name=status,proto3,enum=furychain.furya.rollapp.StateStatus" json:"status,omitempty"` // BDs is a list of block description objects (one per block) // the list must be ordered by height, starting from startHeight to startHeight+numBlocks-1 BDs BlockDescriptors `protobuf:"bytes,9,opt,name=BDs,proto3" json:"BDs"` }
StateInfo defines a rollapps' state.
func (*StateInfo) Descriptor ¶
func (*StateInfo) GetBDs ¶
func (m *StateInfo) GetBDs() BlockDescriptors
func (*StateInfo) GetCreationHeight ¶
func (*StateInfo) GetNumBlocks ¶
func (*StateInfo) GetSequencer ¶
func (*StateInfo) GetStartHeight ¶
func (*StateInfo) GetStateInfoIndex ¶
func (m *StateInfo) GetStateInfoIndex() StateInfoIndex
func (*StateInfo) GetStatus ¶
func (m *StateInfo) GetStatus() StateStatus
func (*StateInfo) GetVersion ¶
func (*StateInfo) MarshalToSizedBuffer ¶
func (*StateInfo) ProtoMessage ¶
func (*StateInfo) ProtoMessage()
func (*StateInfo) XXX_DiscardUnknown ¶
func (m *StateInfo) XXX_DiscardUnknown()
func (*StateInfo) XXX_Marshal ¶
func (*StateInfo) XXX_Unmarshal ¶
type StateInfoIndex ¶
type StateInfoIndex struct { // rollappId is the rollapp that the sequencer belongs to and asking to update // it used to identify the what rollapp a StateInfo belongs // The rollappId follows the same standard as cosmos chain_id RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` // index is a sequential increasing number, updating on each // state update used for indexing to a specific state info, the first index is 1 Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` }
StateInfoIndex is the data used for indexing and retrieving a StateInfo it updated and saved with every UpdateState in StateInfo. We use the this structure also for: 1. LatestStateInfoIndex which defines the rollapps' current (latest) index of the last UpdateState 2. LatestFinalizedStateIndex which defines the rollapps' current (latest) index of the latest StateInfo that was finalized
func (*StateInfoIndex) Descriptor ¶
func (*StateInfoIndex) Descriptor() ([]byte, []int)
func (*StateInfoIndex) GetIndex ¶
func (m *StateInfoIndex) GetIndex() uint64
func (*StateInfoIndex) GetRollappId ¶
func (m *StateInfoIndex) GetRollappId() string
func (*StateInfoIndex) Marshal ¶
func (m *StateInfoIndex) Marshal() (dAtA []byte, err error)
func (*StateInfoIndex) MarshalToSizedBuffer ¶
func (m *StateInfoIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StateInfoIndex) ProtoMessage ¶
func (*StateInfoIndex) ProtoMessage()
func (*StateInfoIndex) Reset ¶
func (m *StateInfoIndex) Reset()
func (*StateInfoIndex) Size ¶
func (m *StateInfoIndex) Size() (n int)
func (*StateInfoIndex) String ¶
func (m *StateInfoIndex) String() string
func (*StateInfoIndex) Unmarshal ¶
func (m *StateInfoIndex) Unmarshal(dAtA []byte) error
func (*StateInfoIndex) XXX_DiscardUnknown ¶
func (m *StateInfoIndex) XXX_DiscardUnknown()
func (*StateInfoIndex) XXX_Marshal ¶
func (m *StateInfoIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StateInfoIndex) XXX_Merge ¶
func (m *StateInfoIndex) XXX_Merge(src proto.Message)
func (*StateInfoIndex) XXX_Size ¶
func (m *StateInfoIndex) XXX_Size() int
func (*StateInfoIndex) XXX_Unmarshal ¶
func (m *StateInfoIndex) XXX_Unmarshal(b []byte) error
type StateStatus ¶
type StateStatus int32
const ( // zero-value for status ordering STATE_STATUS_UNSPECIFIED StateStatus = 0 // STATE_STATUS_RECEIVED defines a rollapp state where the state update transaction was published on dYmension chain STATE_STATUS_RECEIVED StateStatus = 1 // STATE_STATUS_FINALIZED defines a rollapp state where the the "Dispute Period" has ended and this state is considered final STATE_STATUS_FINALIZED StateStatus = 2 )
func (StateStatus) EnumDescriptor ¶
func (StateStatus) EnumDescriptor() ([]byte, []int)
func (StateStatus) String ¶
func (x StateStatus) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateRollapp ¶
func (*UnimplementedMsgServer) CreateRollapp(ctx context.Context, req *MsgCreateRollapp) (*MsgCreateRollappResponse, error)
func (*UnimplementedMsgServer) UpdateState ¶
func (*UnimplementedMsgServer) UpdateState(ctx context.Context, req *MsgUpdateState) (*MsgUpdateStateResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) BlockHeightToFinalizationQueue ¶
func (*UnimplementedQueryServer) BlockHeightToFinalizationQueue(ctx context.Context, req *QueryGetBlockHeightToFinalizationQueueRequest) (*QueryGetBlockHeightToFinalizationQueueResponse, error)
func (*UnimplementedQueryServer) BlockHeightToFinalizationQueueAll ¶
func (*UnimplementedQueryServer) BlockHeightToFinalizationQueueAll(ctx context.Context, req *QueryAllBlockHeightToFinalizationQueueRequest) (*QueryAllBlockHeightToFinalizationQueueResponse, error)
func (*UnimplementedQueryServer) GetStateInfoByHeight ¶
func (*UnimplementedQueryServer) GetStateInfoByHeight(ctx context.Context, req *QueryGetStateInfoByHeightRequest) (*QueryGetStateInfoByHeightResponse, error)
func (*UnimplementedQueryServer) LatestFinalizedStateInfo ¶
func (*UnimplementedQueryServer) LatestFinalizedStateInfo(ctx context.Context, req *QueryGetLatestFinalizedStateInfoRequest) (*QueryGetLatestFinalizedStateInfoResponse, error)
func (*UnimplementedQueryServer) LatestStateInfoIndex ¶
func (*UnimplementedQueryServer) LatestStateInfoIndex(ctx context.Context, req *QueryGetLatestStateInfoIndexRequest) (*QueryGetLatestStateInfoIndexResponse, error)
func (*UnimplementedQueryServer) LatestStateInfoIndexAll ¶
func (*UnimplementedQueryServer) LatestStateInfoIndexAll(ctx context.Context, req *QueryAllLatestStateInfoIndexRequest) (*QueryAllLatestStateInfoIndexResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Rollapp ¶
func (*UnimplementedQueryServer) Rollapp(ctx context.Context, req *QueryGetRollappRequest) (*QueryGetRollappResponse, error)
func (*UnimplementedQueryServer) RollappAll ¶
func (*UnimplementedQueryServer) RollappAll(ctx context.Context, req *QueryAllRollappRequest) (*QueryAllRollappResponse, error)
func (*UnimplementedQueryServer) StateInfo ¶
func (*UnimplementedQueryServer) StateInfo(ctx context.Context, req *QueryGetStateInfoRequest) (*QueryGetStateInfoResponse, error)
func (*UnimplementedQueryServer) StateInfoAll ¶
func (*UnimplementedQueryServer) StateInfoAll(ctx context.Context, req *QueryAllStateInfoRequest) (*QueryAllStateInfoResponse, error)
Source Files ¶
- block_descriptor.pb.go
- codec.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- hooks.go
- key_block_height_to_finalization_queue.go
- key_latest_finalized_state_index.go
- key_latest_state_info_index.go
- key_rollapp.go
- key_state_info.go
- keys.go
- message_create_rollapp.go
- message_update_state.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- rollapp.pb.go
- state_info.pb.go
- state_status.pb.go
- tx.pb.go
- types.go