Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func BlockHeightToFinalizationQueueKey(creationHeight 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 RollappByEIP155Key(eip155 uint64) []byte
- 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) 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) GetCreationHeight() 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 ChainID
- type ChannelKeeper
- type DenomMetadataKeeper
- type DenomUnit
- func (*DenomUnit) Descriptor() ([]byte, []int)
- func (m *DenomUnit) GetAliases() []string
- func (m *DenomUnit) GetDenom() string
- func (m *DenomUnit) GetExponent() uint32
- func (m *DenomUnit) Marshal() (dAtA []byte, err error)
- func (m *DenomUnit) MarshalTo(dAtA []byte) (int, error)
- func (m *DenomUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DenomUnit) ProtoMessage()
- func (m *DenomUnit) Reset()
- func (m *DenomUnit) Size() (n int)
- func (m *DenomUnit) String() string
- func (m *DenomUnit) Unmarshal(dAtA []byte) error
- func (m *DenomUnit) XXX_DiscardUnknown()
- func (m *DenomUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DenomUnit) XXX_Merge(src proto.Message)
- func (m *DenomUnit) XXX_Size() int
- func (m *DenomUnit) XXX_Unmarshal(b []byte) error
- type DeployerParams
- func (*DeployerParams) Descriptor() ([]byte, []int)
- func (m *DeployerParams) GetAddress() string
- 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 GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)
- func (m *GenesisAccount) GetAddress() string
- func (m *GenesisAccount) GetAmount() types.Coin
- func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
- func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisAccount) ProtoMessage()
- func (m *GenesisAccount) Reset()
- func (m *GenesisAccount) Size() (n int)
- func (m *GenesisAccount) String() string
- func (m *GenesisAccount) Unmarshal(dAtA []byte) error
- func (m *GenesisAccount) XXX_DiscardUnknown()
- func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccount) XXX_Merge(src proto.Message)
- func (m *GenesisAccount) XXX_Size() int
- func (m *GenesisAccount) 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 IBCClientKeeper
- type MsgClient
- type MsgCreateRollapp
- func (*MsgCreateRollapp) Descriptor() ([]byte, []int)
- func (m *MsgCreateRollapp) GetCreator() string
- func (m *MsgCreateRollapp) GetGenesisAccounts() []GenesisAccount
- func (m *MsgCreateRollapp) GetMaxSequencers() uint64
- func (m *MsgCreateRollapp) GetMetadatas() []TokenMetadata
- func (m *MsgCreateRollapp) GetPermissionedAddresses() []string
- func (msg *MsgCreateRollapp) GetRollapp() Rollapp
- 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 MsgRollappGenesisEvent
- func (*MsgRollappGenesisEvent) Descriptor() ([]byte, []int)
- func (m *MsgRollappGenesisEvent) GetAddress() string
- func (m *MsgRollappGenesisEvent) GetChannelId() string
- func (m *MsgRollappGenesisEvent) GetRollappId() string
- func (msg *MsgRollappGenesisEvent) GetSignBytes() []byte
- func (msg *MsgRollappGenesisEvent) GetSigners() []sdk.AccAddress
- func (m *MsgRollappGenesisEvent) Marshal() (dAtA []byte, err error)
- func (m *MsgRollappGenesisEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRollappGenesisEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRollappGenesisEvent) ProtoMessage()
- func (m *MsgRollappGenesisEvent) Reset()
- func (msg *MsgRollappGenesisEvent) Route() string
- func (m *MsgRollappGenesisEvent) Size() (n int)
- func (m *MsgRollappGenesisEvent) String() string
- func (msg *MsgRollappGenesisEvent) Type() string
- func (m *MsgRollappGenesisEvent) Unmarshal(dAtA []byte) error
- func (msg *MsgRollappGenesisEvent) ValidateBasic() error
- func (m *MsgRollappGenesisEvent) XXX_DiscardUnknown()
- func (m *MsgRollappGenesisEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRollappGenesisEvent) XXX_Merge(src proto.Message)
- func (m *MsgRollappGenesisEvent) XXX_Size() int
- func (m *MsgRollappGenesisEvent) XXX_Unmarshal(b []byte) error
- type MsgRollappGenesisEventResponse
- func (*MsgRollappGenesisEventResponse) Descriptor() ([]byte, []int)
- func (m *MsgRollappGenesisEventResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRollappGenesisEventResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRollappGenesisEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRollappGenesisEventResponse) ProtoMessage()
- func (m *MsgRollappGenesisEventResponse) Reset()
- func (m *MsgRollappGenesisEventResponse) Size() (n int)
- func (m *MsgRollappGenesisEventResponse) String() string
- func (m *MsgRollappGenesisEventResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRollappGenesisEventResponse) XXX_DiscardUnknown()
- func (m *MsgRollappGenesisEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRollappGenesisEventResponse) XXX_Merge(src proto.Message)
- func (m *MsgRollappGenesisEventResponse) XXX_Size() int
- func (m *MsgRollappGenesisEventResponse) 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
- func (h MultiRollappHooks) AfterStateFinalized(ctx sdk.Context, rollappID string, stateInfo *StateInfo) error
- func (h MultiRollappHooks) BeforeUpdateState(ctx sdk.Context, seqAddr string, rollappId string) error
- func (h MultiRollappHooks) FraudSubmitted(ctx sdk.Context, rollappID string, height uint64, seqAddr string) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDeployerWhitelist() []DeployerParams
- func (m *Params) GetDisputePeriodInBlocks() uint64
- func (m *Params) GetRollappsEnabled() bool
- 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 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() []RollappSummary
- 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 QueryClient
- type QueryGetLatestHeightRequest
- func (*QueryGetLatestHeightRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestHeightRequest) GetFinalized() bool
- func (m *QueryGetLatestHeightRequest) GetRollappId() string
- func (m *QueryGetLatestHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestHeightRequest) ProtoMessage()
- func (m *QueryGetLatestHeightRequest) Reset()
- func (m *QueryGetLatestHeightRequest) Size() (n int)
- func (m *QueryGetLatestHeightRequest) String() string
- func (m *QueryGetLatestHeightRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestHeightRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestHeightRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestHeightRequest) XXX_Size() int
- func (m *QueryGetLatestHeightRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestHeightResponse
- func (*QueryGetLatestHeightResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestHeightResponse) GetHeight() uint64
- func (m *QueryGetLatestHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestHeightResponse) ProtoMessage()
- func (m *QueryGetLatestHeightResponse) Reset()
- func (m *QueryGetLatestHeightResponse) Size() (n int)
- func (m *QueryGetLatestHeightResponse) String() string
- func (m *QueryGetLatestHeightResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestHeightResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestHeightResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestHeightResponse) XXX_Size() int
- func (m *QueryGetLatestHeightResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLatestStateIndexRequest
- func (*QueryGetLatestStateIndexRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestStateIndexRequest) GetFinalized() bool
- func (m *QueryGetLatestStateIndexRequest) GetRollappId() string
- func (m *QueryGetLatestStateIndexRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestStateIndexRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestStateIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestStateIndexRequest) ProtoMessage()
- func (m *QueryGetLatestStateIndexRequest) Reset()
- func (m *QueryGetLatestStateIndexRequest) Size() (n int)
- func (m *QueryGetLatestStateIndexRequest) String() string
- func (m *QueryGetLatestStateIndexRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestStateIndexRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestStateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestStateIndexRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestStateIndexRequest) XXX_Size() int
- func (m *QueryGetLatestStateIndexRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestStateIndexResponse
- func (*QueryGetLatestStateIndexResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestStateIndexResponse) GetStateIndex() StateInfoIndex
- func (m *QueryGetLatestStateIndexResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestStateIndexResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestStateIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestStateIndexResponse) ProtoMessage()
- func (m *QueryGetLatestStateIndexResponse) Reset()
- func (m *QueryGetLatestStateIndexResponse) Size() (n int)
- func (m *QueryGetLatestStateIndexResponse) String() string
- func (m *QueryGetLatestStateIndexResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestStateIndexResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestStateIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestStateIndexResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestStateIndexResponse) XXX_Size() int
- func (m *QueryGetLatestStateIndexResponse) XXX_Unmarshal(b []byte) error
- type QueryGetRollappByEIP155Request
- func (*QueryGetRollappByEIP155Request) Descriptor() ([]byte, []int)
- func (m *QueryGetRollappByEIP155Request) GetEip155() uint64
- func (m *QueryGetRollappByEIP155Request) Marshal() (dAtA []byte, err error)
- func (m *QueryGetRollappByEIP155Request) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetRollappByEIP155Request) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetRollappByEIP155Request) ProtoMessage()
- func (m *QueryGetRollappByEIP155Request) Reset()
- func (m *QueryGetRollappByEIP155Request) Size() (n int)
- func (m *QueryGetRollappByEIP155Request) String() string
- func (m *QueryGetRollappByEIP155Request) Unmarshal(dAtA []byte) error
- func (m *QueryGetRollappByEIP155Request) XXX_DiscardUnknown()
- func (m *QueryGetRollappByEIP155Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetRollappByEIP155Request) XXX_Merge(src proto.Message)
- func (m *QueryGetRollappByEIP155Request) XXX_Size() int
- func (m *QueryGetRollappByEIP155Request) 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) GetLatestFinalizedHeight() uint64
- func (m *QueryGetRollappResponse) GetLatestFinalizedStateIndex() *StateInfoIndex
- func (m *QueryGetRollappResponse) GetLatestHeight() uint64
- func (m *QueryGetRollappResponse) GetLatestStateIndex() *StateInfoIndex
- 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 QueryGetStateInfoRequest
- func (*QueryGetStateInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetStateInfoRequest) GetFinalized() bool
- func (m *QueryGetStateInfoRequest) GetHeight() uint64
- 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) GetChannelId() string
- func (m *Rollapp) GetCreator() string
- func (m *Rollapp) GetFrozen() bool
- func (m *Rollapp) GetGenesisState() RollappGenesisState
- func (m *Rollapp) GetMaxSequencers() uint64
- func (m *Rollapp) GetPermissionedAddresses() []string
- func (m *Rollapp) GetRollappId() string
- func (m *Rollapp) GetTokenMetadata() []*TokenMetadata
- 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 (r Rollapp) ValidateBasic() 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 RollappGenesisState
- func (*RollappGenesisState) Descriptor() ([]byte, []int)
- func (m *RollappGenesisState) GetGenesisAccounts() []*GenesisAccount
- func (m *RollappGenesisState) GetIsGenesisEvent() bool
- func (m *RollappGenesisState) Marshal() (dAtA []byte, err error)
- func (m *RollappGenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *RollappGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RollappGenesisState) ProtoMessage()
- func (m *RollappGenesisState) Reset()
- func (m *RollappGenesisState) Size() (n int)
- func (m *RollappGenesisState) String() string
- func (m *RollappGenesisState) Unmarshal(dAtA []byte) error
- func (m *RollappGenesisState) XXX_DiscardUnknown()
- func (m *RollappGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RollappGenesisState) XXX_Merge(src proto.Message)
- func (m *RollappGenesisState) XXX_Size() int
- func (m *RollappGenesisState) XXX_Unmarshal(b []byte) error
- type RollappHooks
- type RollappSummary
- func (*RollappSummary) Descriptor() ([]byte, []int)
- func (m *RollappSummary) GetLatestFinalizedStateIndex() *StateInfoIndex
- func (m *RollappSummary) GetLatestStateIndex() *StateInfoIndex
- func (m *RollappSummary) GetRollappId() string
- func (m *RollappSummary) Marshal() (dAtA []byte, err error)
- func (m *RollappSummary) MarshalTo(dAtA []byte) (int, error)
- func (m *RollappSummary) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RollappSummary) ProtoMessage()
- func (m *RollappSummary) Reset()
- func (m *RollappSummary) Size() (n int)
- func (m *RollappSummary) String() string
- func (m *RollappSummary) Unmarshal(dAtA []byte) error
- func (m *RollappSummary) XXX_DiscardUnknown()
- func (m *RollappSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RollappSummary) XXX_Merge(src proto.Message)
- func (m *RollappSummary) XXX_Size() int
- func (m *RollappSummary) XXX_Unmarshal(b []byte) error
- type StateInfo
- func (*StateInfo) Descriptor() ([]byte, []int)
- func (s *StateInfo) Finalize()
- func (m *StateInfo) GetBDs() BlockDescriptors
- func (m *StateInfo) GetCreationHeight() uint64
- func (m *StateInfo) GetDAPath() string
- func (s *StateInfo) GetEvents() []sdk.Attribute
- func (s *StateInfo) GetIndex() StateInfoIndex
- func (s *StateInfo) GetLatestHeight() uint64
- func (m *StateInfo) GetNumBlocks() uint64
- func (m *StateInfo) GetSequencer() string
- func (m *StateInfo) GetStartHeight() uint64
- func (m *StateInfo) GetStateInfoIndex() StateInfoIndex
- func (m *StateInfo) GetStatus() types.Status
- 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 StateInfoSummary
- func (*StateInfoSummary) Descriptor() ([]byte, []int)
- func (m *StateInfoSummary) GetCreationHeight() uint64
- func (m *StateInfoSummary) GetStateInfoIndex() StateInfoIndex
- func (m *StateInfoSummary) GetStatus() types.Status
- func (m *StateInfoSummary) Marshal() (dAtA []byte, err error)
- func (m *StateInfoSummary) MarshalTo(dAtA []byte) (int, error)
- func (m *StateInfoSummary) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateInfoSummary) ProtoMessage()
- func (m *StateInfoSummary) Reset()
- func (m *StateInfoSummary) Size() (n int)
- func (m *StateInfoSummary) String() string
- func (m *StateInfoSummary) Unmarshal(dAtA []byte) error
- func (m *StateInfoSummary) XXX_DiscardUnknown()
- func (m *StateInfoSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateInfoSummary) XXX_Merge(src proto.Message)
- func (m *StateInfoSummary) XXX_Size() int
- func (m *StateInfoSummary) XXX_Unmarshal(b []byte) error
- type StateStatus
- type SubmitFraudProposal
- func (*SubmitFraudProposal) Descriptor() ([]byte, []int)
- func (this *SubmitFraudProposal) Equal(that interface{}) bool
- func (sfp *SubmitFraudProposal) GetDescription() string
- func (sfp *SubmitFraudProposal) GetTitle() string
- func (m *SubmitFraudProposal) Marshal() (dAtA []byte, err error)
- func (m *SubmitFraudProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SubmitFraudProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sfp *SubmitFraudProposal) ProposalRoute() string
- func (sfp *SubmitFraudProposal) ProposalType() string
- func (*SubmitFraudProposal) ProtoMessage()
- func (m *SubmitFraudProposal) Reset()
- func (m *SubmitFraudProposal) Size() (n int)
- func (sfp SubmitFraudProposal) String() string
- func (m *SubmitFraudProposal) Unmarshal(dAtA []byte) error
- func (sfp *SubmitFraudProposal) ValidateBasic() error
- func (m *SubmitFraudProposal) XXX_DiscardUnknown()
- func (m *SubmitFraudProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitFraudProposal) XXX_Merge(src proto.Message)
- func (m *SubmitFraudProposal) XXX_Size() int
- func (m *SubmitFraudProposal) XXX_Unmarshal(b []byte) error
- type TokenMetadata
- func (m *TokenMetadata) ConvertToBankMetadata() banktypes.Metadata
- func (*TokenMetadata) Descriptor() ([]byte, []int)
- func (m *TokenMetadata) GetBase() string
- func (m *TokenMetadata) GetDenomUnits() []*DenomUnit
- func (m *TokenMetadata) GetDescription() string
- func (m *TokenMetadata) GetDisplay() string
- func (m *TokenMetadata) GetName() string
- func (m *TokenMetadata) GetSymbol() string
- func (m *TokenMetadata) GetURI() string
- func (m *TokenMetadata) GetURIHash() string
- func (m *TokenMetadata) Marshal() (dAtA []byte, err error)
- func (m *TokenMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenMetadata) ProtoMessage()
- func (m *TokenMetadata) Reset()
- func (m *TokenMetadata) Size() (n int)
- func (m *TokenMetadata) String() string
- func (m *TokenMetadata) Unmarshal(dAtA []byte) error
- func (m *TokenMetadata) Validate() error
- func (m *TokenMetadata) XXX_DiscardUnknown()
- func (m *TokenMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenMetadata) XXX_Merge(src proto.Message)
- func (m *TokenMetadata) XXX_Size() int
- func (m *TokenMetadata) XXX_Unmarshal(b []byte) error
- type TransferKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateRollapp(ctx context.Context, req *MsgCreateRollapp) (*MsgCreateRollappResponse, error)
- func (*UnimplementedMsgServer) TriggerGenesisEvent(ctx context.Context, req *MsgRollappGenesisEvent) (*MsgRollappGenesisEventResponse, error)
- func (*UnimplementedMsgServer) UpdateState(ctx context.Context, req *MsgUpdateState) (*MsgUpdateStateResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) LatestHeight(ctx context.Context, req *QueryGetLatestHeightRequest) (*QueryGetLatestHeightResponse, error)
- func (*UnimplementedQueryServer) LatestStateIndex(ctx context.Context, req *QueryGetLatestStateIndexRequest) (*QueryGetLatestStateIndexResponse, 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) RollappByEIP155(ctx context.Context, req *QueryGetRollappByEIP155Request) (*QueryGetRollappResponse, error)
- func (*UnimplementedQueryServer) StateInfo(ctx context.Context, req *QueryGetStateInfoRequest) (*QueryGetStateInfoResponse, 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" // EventTypeFraud is emitted when a fraud evidence is submitted EventTypeFraud = "fraud_proposal" AttributeKeyFraudHeight = "fraud_height" AttributeKeyFraudSequencer = "fraud_sequencer" AttributeKeyClientID = "client_id" )
const ( // RollappKeyPrefix is the prefix to retrieve all Rollapp RollappKeyPrefix = "Rollapp/value/" RollappByEIP155KeyPrefix = "RollappByEIP155/value/" )
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 MaxAllowedSequencers = 100
const (
// ProposalTypeSubmitFraud defines the type for a SubmitFraudProposal
ProposalTypeSubmitFraud = "SubmitFraud"
)
const (
// StateInfoKeyPrefix is the prefix to retrieve all StateInfo
StateInfoKeyPrefix = "StateInfo/value/"
)
const TypeMsgCreateRollapp = "create_rollapp"
const TypeMsgRollappGenesisEvent = "rollapp_genesis_event"
const TypeMsgUpdateState = "update_state"
Variables ¶
var ( ErrInvalidLengthBank = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBank = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBank = fmt.Errorf("proto: unexpected end of group") )
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 = errorsmod.Register(ModuleName, 1000, "rollapp already exists for this rollapp-id; must use new rollapp-id") ErrInvalidMaxSequencers = errorsmod.Register(ModuleName, 1001, "invalid max sequencers") ErrInvalidCreatorAddress = errorsmod.Register(ModuleName, 1002, "invalid creator address") ErrInvalidPermissionedAddress = errorsmod.Register(ModuleName, 1003, "invalid permissioned address") ErrPermissionedAddressesDuplicate = errorsmod.Register(ModuleName, 1004, "permissioned-address has duplicates") ErrInvalidNumBlocks = errorsmod.Register(ModuleName, 1005, "invalid number of blocks") ErrInvalidBlockSequence = errorsmod.Register(ModuleName, 1006, "invalid block sequence") ErrUnknownRollappID = errorsmod.Register(ModuleName, 1007, "rollapp does not exist") ErrVersionMismatch = errorsmod.Register(ModuleName, 1008, "rollapp version mismatch") ErrWrongBlockHeight = errorsmod.Register(ModuleName, 1009, "start-height does not match rollapps state") ErrMultiUpdateStateInBlock = errorsmod.Register(ModuleName, 1010, "only one state update can take place per block") ErrInvalidStateRoot = errorsmod.Register(ModuleName, 1011, "invalid blocks state root") ErrInvalidClientType = errorsmod.Register(ModuleName, 1014, "client type of the rollapp isn't dymint") ErrHeightStateNotFinalized = errorsmod.Register(ModuleName, 1015, "rollapp block on this height was not finalized yet") ErrInvalidAppHash = errorsmod.Register(ModuleName, 1016, "the app hash is different from the finalized state root") ErrStateNotExists = errorsmod.Register(ModuleName, 1017, "state of this height doesn't exist") ErrInvalidHeight = errorsmod.Register(ModuleName, 1018, "invalid rollapp height") ErrRollappCreatorExceedMaximumRollapps = errorsmod.Register(ModuleName, 1019, "rollapp creator exceeds maximum allowed rollapps as registered in the whitelist") ErrInvalidRollappID = errorsmod.Register(ModuleName, 1020, "invalid rollapp-id") ErrEIP155Exists = errorsmod.Register(ModuleName, 1021, "EIP155 already exists; must use unique EIP155 identifier") ErrRollappsDisabled = errorsmod.Register(ModuleName, 1022, "rollapps are disabled") ErrInvalidTokenMetadata = errorsmod.Register(ModuleName, 1023, "invalid token metadata") ErrNoFinalizedStateYetForRollapp = errorsmod.Register(ModuleName, 1024, "no finalized state yet for rollapp") ErrInvalidClientState = errorsmod.Register(ModuleName, 1025, "invalid client state") ErrInvalidSequencer = errorsmod.Register(ModuleName, 1026, "invalid sequencer") ErrInvalidGenesisChannelId = errorsmod.Register(ModuleName, 1027, "invalid genesis channel id") ErrGenesisEventNotTriggered = errorsmod.Register(ModuleName, 1028, "genesis event not triggered yet") ErrGenesisEventAlreadyTriggered = errorsmod.Register(ModuleName, 1029, "genesis event already triggered") ErrTooManyPermissionedAddresses = errorsmod.Register(ModuleName, 1030, "invalid number of permissioned addresses") ErrInvalidGenesisAccount = errorsmod.Register(ModuleName, 1031, "invalid genesis account") ErrMintTokensFailed = errorsmod.Register(ModuleName, 1032, "failed to mint tokens") ErrRegisterDenomMetadataFailed = errorsmod.Register(ModuleName, 1033, "failed to register denom metadata") ErrMismatchedChannelID = errorsmod.Register(ModuleName, 1034, "mismatched channel id") ErrRollappNotRegistered = errorsmod.Register(ModuleName, 1035, "rollapp not registered") /* ------------------------------ fraud related ----------------------------- */ ErrDisputeAlreadyFinalized = errorsmod.Register(ModuleName, 2000, "disputed height already finalized") ErrDisputeAlreadyReverted = errorsmod.Register(ModuleName, 2001, "disputed height already reverted") ErrWrongClientId = errorsmod.Register(ModuleName, 2002, "client id does not match the rollapp") ErrWrongProposerAddr = errorsmod.Register(ModuleName, 2003, "wrong proposer address") )
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 ( // KeyRollappsEnabled is store's key for RollappsEnabled Params KeyRollappsEnabled = []byte("RollappsEnabled") // 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 number 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 ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = 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") )
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 RollappByEIP155Key ¶
RollappByEIP155Key returns the store key to retrieve a Rollapp from the index fields
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 ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error }
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"` }
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) 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 { // creationHeight is the block height that the state should be finalized CreationHeight uint64 `protobuf:"varint,1,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"` // finalizationQueue is a list of states that are waiting to be finalized // when the block height becomes creationHeight 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) GetCreationHeight ¶ added in v3.1.0
func (m *BlockHeightToFinalizationQueue) GetCreationHeight() 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 ChainID ¶ added in v3.1.0
type ChainID struct {
// contains filtered or unexported fields
}
func NewChainID ¶ added in v3.1.0
func (*ChainID) GetChainID ¶ added in v3.1.0
func (*ChainID) GetEIP155ID ¶ added in v3.1.0
func (*ChainID) GetRevisionNumber ¶ added in v3.1.0
type ChannelKeeper ¶ added in v3.1.0
type DenomMetadataKeeper ¶ added in v3.1.0
type DenomUnit ¶
type DenomUnit struct { // denom represents the string name of the given denom unit (e.g uatom). Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // exponent represents power of 10 exponent that one must // raise the base_denom to in order to equal the given DenomUnit's denom // 1 denom = 10^exponent base_denom // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with // exponent = 6, thus: 1 atom = 10^6 uatom). Exponent uint32 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` // aliases is a list of string aliases for the given denom Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` }
DenomUnit represents a struct that describes a given denomination unit of the basic token.
func (*DenomUnit) Descriptor ¶
func (*DenomUnit) GetAliases ¶
func (*DenomUnit) GetExponent ¶
func (*DenomUnit) MarshalToSizedBuffer ¶
func (*DenomUnit) ProtoMessage ¶
func (*DenomUnit) ProtoMessage()
func (*DenomUnit) XXX_DiscardUnknown ¶
func (m *DenomUnit) XXX_DiscardUnknown()
func (*DenomUnit) XXX_Marshal ¶
func (*DenomUnit) XXX_Unmarshal ¶
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"` }
func (*DeployerParams) Descriptor ¶
func (*DeployerParams) Descriptor() ([]byte, []int)
func (*DeployerParams) GetAddress ¶
func (m *DeployerParams) GetAddress() string
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 GenesisAccount ¶ added in v3.1.0
type GenesisAccount struct { // amount of coins to be sent to the genesis address Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"` // address is a bech-32 address of the genesis account Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
GenesisAccount is a struct for the genesis account for the rollapp
func (*GenesisAccount) Descriptor ¶ added in v3.1.0
func (*GenesisAccount) Descriptor() ([]byte, []int)
func (*GenesisAccount) GetAddress ¶ added in v3.1.0
func (m *GenesisAccount) GetAddress() string
func (*GenesisAccount) GetAmount ¶ added in v3.1.0
func (m *GenesisAccount) GetAmount() types.Coin
func (*GenesisAccount) Marshal ¶ added in v3.1.0
func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
func (*GenesisAccount) MarshalTo ¶ added in v3.1.0
func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)
func (*GenesisAccount) MarshalToSizedBuffer ¶ added in v3.1.0
func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisAccount) ProtoMessage ¶ added in v3.1.0
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) Reset ¶ added in v3.1.0
func (m *GenesisAccount) Reset()
func (*GenesisAccount) Size ¶ added in v3.1.0
func (m *GenesisAccount) Size() (n int)
func (*GenesisAccount) String ¶ added in v3.1.0
func (m *GenesisAccount) String() string
func (*GenesisAccount) Unmarshal ¶ added in v3.1.0
func (m *GenesisAccount) Unmarshal(dAtA []byte) error
func (*GenesisAccount) XXX_DiscardUnknown ¶ added in v3.1.0
func (m *GenesisAccount) XXX_DiscardUnknown()
func (*GenesisAccount) XXX_Marshal ¶ added in v3.1.0
func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisAccount) XXX_Merge ¶ added in v3.1.0
func (m *GenesisAccount) XXX_Merge(src proto.Message)
func (*GenesisAccount) XXX_Size ¶ added in v3.1.0
func (m *GenesisAccount) XXX_Size() int
func (*GenesisAccount) XXX_Unmarshal ¶ added in v3.1.0
func (m *GenesisAccount) 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 IBCClientKeeper ¶ added in v3.1.0
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) TriggerGenesisEvent(ctx context.Context, in *MsgRollappGenesisEvent, opts ...grpc.CallOption) (*MsgRollappGenesisEventResponse, 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"` // 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 []string `protobuf:"bytes,7,rep,name=permissionedAddresses,proto3" json:"permissionedAddresses,omitempty"` // metadata provides the client information for all the registered tokens. Metadatas []TokenMetadata `protobuf:"bytes,8,rep,name=metadatas,proto3" json:"metadatas"` // genesis_accounts for the rollapp on the hub GenesisAccounts []GenesisAccount `protobuf:"bytes,9,rep,name=genesis_accounts,json=genesisAccounts,proto3" json:"genesis_accounts"` }
MsgCreateRollapp creates a new rollapp chain on the hub.
func NewMsgCreateRollapp ¶
func NewMsgCreateRollapp(creator string, rollappId string, maxSequencers uint64, permissionedAddresses []string, metadatas []TokenMetadata, genesisAccounts []GenesisAccount, ) *MsgCreateRollapp
func (*MsgCreateRollapp) Descriptor ¶
func (*MsgCreateRollapp) Descriptor() ([]byte, []int)
func (*MsgCreateRollapp) GetCreator ¶
func (m *MsgCreateRollapp) GetCreator() string
func (*MsgCreateRollapp) GetGenesisAccounts ¶ added in v3.1.0
func (m *MsgCreateRollapp) GetGenesisAccounts() []GenesisAccount
func (*MsgCreateRollapp) GetMaxSequencers ¶
func (m *MsgCreateRollapp) GetMaxSequencers() uint64
func (*MsgCreateRollapp) GetMetadatas ¶
func (m *MsgCreateRollapp) GetMetadatas() []TokenMetadata
func (*MsgCreateRollapp) GetPermissionedAddresses ¶
func (m *MsgCreateRollapp) GetPermissionedAddresses() []string
func (*MsgCreateRollapp) GetRollapp ¶ added in v3.1.0
func (msg *MsgCreateRollapp) GetRollapp() Rollapp
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 MsgRollappGenesisEvent ¶ added in v3.1.0
type MsgRollappGenesisEvent struct { // address is the bech32-encoded address of the sender Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // channel_id is the rollapp channel id on the hub ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // rollapp_id is the rollapp id we want to mint tokens on the hub. // Used for validation against channel_id to reduce error surface. RollappId string `protobuf:"bytes,3,opt,name=rollapp_id,json=rollappId,proto3" json:"rollapp_id,omitempty"` }
MsgRollappGenesisEvent is the message type for triggering the genesis event of the rollapp
func NewMsgRollappGenesisEvent ¶ added in v3.1.0
func NewMsgRollappGenesisEvent(address string, channel_id string, rollapp_id string) *MsgRollappGenesisEvent
func (*MsgRollappGenesisEvent) Descriptor ¶ added in v3.1.0
func (*MsgRollappGenesisEvent) Descriptor() ([]byte, []int)
func (*MsgRollappGenesisEvent) GetAddress ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) GetAddress() string
func (*MsgRollappGenesisEvent) GetChannelId ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) GetChannelId() string
func (*MsgRollappGenesisEvent) GetRollappId ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) GetRollappId() string
func (*MsgRollappGenesisEvent) GetSignBytes ¶ added in v3.1.0
func (msg *MsgRollappGenesisEvent) GetSignBytes() []byte
func (*MsgRollappGenesisEvent) GetSigners ¶ added in v3.1.0
func (msg *MsgRollappGenesisEvent) GetSigners() []sdk.AccAddress
func (*MsgRollappGenesisEvent) Marshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) Marshal() (dAtA []byte, err error)
func (*MsgRollappGenesisEvent) MarshalTo ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) MarshalTo(dAtA []byte) (int, error)
func (*MsgRollappGenesisEvent) MarshalToSizedBuffer ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRollappGenesisEvent) ProtoMessage ¶ added in v3.1.0
func (*MsgRollappGenesisEvent) ProtoMessage()
func (*MsgRollappGenesisEvent) Reset ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) Reset()
func (*MsgRollappGenesisEvent) Route ¶ added in v3.1.0
func (msg *MsgRollappGenesisEvent) Route() string
func (*MsgRollappGenesisEvent) Size ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) Size() (n int)
func (*MsgRollappGenesisEvent) String ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) String() string
func (*MsgRollappGenesisEvent) Type ¶ added in v3.1.0
func (msg *MsgRollappGenesisEvent) Type() string
func (*MsgRollappGenesisEvent) Unmarshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) Unmarshal(dAtA []byte) error
func (*MsgRollappGenesisEvent) ValidateBasic ¶ added in v3.1.0
func (msg *MsgRollappGenesisEvent) ValidateBasic() error
func (*MsgRollappGenesisEvent) XXX_DiscardUnknown ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) XXX_DiscardUnknown()
func (*MsgRollappGenesisEvent) XXX_Marshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRollappGenesisEvent) XXX_Merge ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) XXX_Merge(src proto.Message)
func (*MsgRollappGenesisEvent) XXX_Size ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) XXX_Size() int
func (*MsgRollappGenesisEvent) XXX_Unmarshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEvent) XXX_Unmarshal(b []byte) error
type MsgRollappGenesisEventResponse ¶ added in v3.1.0
type MsgRollappGenesisEventResponse struct { }
func (*MsgRollappGenesisEventResponse) Descriptor ¶ added in v3.1.0
func (*MsgRollappGenesisEventResponse) Descriptor() ([]byte, []int)
func (*MsgRollappGenesisEventResponse) Marshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) Marshal() (dAtA []byte, err error)
func (*MsgRollappGenesisEventResponse) MarshalTo ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRollappGenesisEventResponse) MarshalToSizedBuffer ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRollappGenesisEventResponse) ProtoMessage ¶ added in v3.1.0
func (*MsgRollappGenesisEventResponse) ProtoMessage()
func (*MsgRollappGenesisEventResponse) Reset ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) Reset()
func (*MsgRollappGenesisEventResponse) Size ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) Size() (n int)
func (*MsgRollappGenesisEventResponse) String ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) String() string
func (*MsgRollappGenesisEventResponse) Unmarshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) Unmarshal(dAtA []byte) error
func (*MsgRollappGenesisEventResponse) XXX_DiscardUnknown ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) XXX_DiscardUnknown()
func (*MsgRollappGenesisEventResponse) XXX_Marshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRollappGenesisEventResponse) XXX_Merge ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) XXX_Merge(src proto.Message)
func (*MsgRollappGenesisEventResponse) XXX_Size ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) XXX_Size() int
func (*MsgRollappGenesisEventResponse) XXX_Unmarshal ¶ added in v3.1.0
func (m *MsgRollappGenesisEventResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateRollapp(context.Context, *MsgCreateRollapp) (*MsgCreateRollappResponse, error) UpdateState(context.Context, *MsgUpdateState) (*MsgUpdateStateResponse, error) TriggerGenesisEvent(context.Context, *MsgRollappGenesisEvent) (*MsgRollappGenesisEventResponse, 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 updates 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) AfterStateFinalized ¶
func (MultiRollappHooks) BeforeUpdateState ¶
func (MultiRollappHooks) FraudSubmitted ¶ added in v3.1.0
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 */ RollappsEnabled bool `` /* 131-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( enabled bool, 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) GetRollappsEnabled ¶
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 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 []RollappSummary `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() []RollappSummary
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 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 Rollapp by index. RollappByEIP155(ctx context.Context, in *QueryGetRollappByEIP155Request, opts ...grpc.CallOption) (*QueryGetRollappResponse, error) // Queries a list of Rollapp items. RollappAll(ctx context.Context, in *QueryAllRollappRequest, opts ...grpc.CallOption) (*QueryAllRollappResponse, error) // Queries a LatestHeight by rollapp-id. LatestHeight(ctx context.Context, in *QueryGetLatestHeightRequest, opts ...grpc.CallOption) (*QueryGetLatestHeightResponse, error) // Queries a LatestStateIndex by rollapp-id. LatestStateIndex(ctx context.Context, in *QueryGetLatestStateIndexRequest, opts ...grpc.CallOption) (*QueryGetLatestStateIndexResponse, error) // Queries a StateInfo by index. StateInfo(ctx context.Context, in *QueryGetStateInfoRequest, opts ...grpc.CallOption) (*QueryGetStateInfoResponse, 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 QueryGetLatestHeightRequest ¶ added in v3.1.0
type QueryGetLatestHeightRequest struct { RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` Finalized bool `protobuf:"varint,2,opt,name=finalized,proto3" json:"finalized,omitempty"` }
func (*QueryGetLatestHeightRequest) Descriptor ¶ added in v3.1.0
func (*QueryGetLatestHeightRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestHeightRequest) GetFinalized ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) GetFinalized() bool
func (*QueryGetLatestHeightRequest) GetRollappId ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) GetRollappId() string
func (*QueryGetLatestHeightRequest) Marshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestHeightRequest) MarshalTo ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestHeightRequest) MarshalToSizedBuffer ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestHeightRequest) ProtoMessage ¶ added in v3.1.0
func (*QueryGetLatestHeightRequest) ProtoMessage()
func (*QueryGetLatestHeightRequest) Reset ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) Reset()
func (*QueryGetLatestHeightRequest) Size ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) Size() (n int)
func (*QueryGetLatestHeightRequest) String ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) String() string
func (*QueryGetLatestHeightRequest) Unmarshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestHeightRequest) XXX_DiscardUnknown ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) XXX_DiscardUnknown()
func (*QueryGetLatestHeightRequest) XXX_Marshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestHeightRequest) XXX_Merge ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestHeightRequest) XXX_Size ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) XXX_Size() int
func (*QueryGetLatestHeightRequest) XXX_Unmarshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestHeightResponse ¶ added in v3.1.0
type QueryGetLatestHeightResponse struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
func (*QueryGetLatestHeightResponse) Descriptor ¶ added in v3.1.0
func (*QueryGetLatestHeightResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestHeightResponse) GetHeight ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) GetHeight() uint64
func (*QueryGetLatestHeightResponse) Marshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestHeightResponse) MarshalTo ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestHeightResponse) MarshalToSizedBuffer ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestHeightResponse) ProtoMessage ¶ added in v3.1.0
func (*QueryGetLatestHeightResponse) ProtoMessage()
func (*QueryGetLatestHeightResponse) Reset ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) Reset()
func (*QueryGetLatestHeightResponse) Size ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) Size() (n int)
func (*QueryGetLatestHeightResponse) String ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) String() string
func (*QueryGetLatestHeightResponse) Unmarshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestHeightResponse) XXX_DiscardUnknown ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) XXX_DiscardUnknown()
func (*QueryGetLatestHeightResponse) XXX_Marshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestHeightResponse) XXX_Merge ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestHeightResponse) XXX_Size ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) XXX_Size() int
func (*QueryGetLatestHeightResponse) XXX_Unmarshal ¶ added in v3.1.0
func (m *QueryGetLatestHeightResponse) XXX_Unmarshal(b []byte) error
type QueryGetLatestStateIndexRequest ¶
type QueryGetLatestStateIndexRequest struct { RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` Finalized bool `protobuf:"varint,2,opt,name=finalized,proto3" json:"finalized,omitempty"` }
func (*QueryGetLatestStateIndexRequest) Descriptor ¶
func (*QueryGetLatestStateIndexRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestStateIndexRequest) GetFinalized ¶
func (m *QueryGetLatestStateIndexRequest) GetFinalized() bool
func (*QueryGetLatestStateIndexRequest) GetRollappId ¶
func (m *QueryGetLatestStateIndexRequest) GetRollappId() string
func (*QueryGetLatestStateIndexRequest) Marshal ¶
func (m *QueryGetLatestStateIndexRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestStateIndexRequest) MarshalTo ¶
func (m *QueryGetLatestStateIndexRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestStateIndexRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLatestStateIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestStateIndexRequest) ProtoMessage ¶
func (*QueryGetLatestStateIndexRequest) ProtoMessage()
func (*QueryGetLatestStateIndexRequest) Reset ¶
func (m *QueryGetLatestStateIndexRequest) Reset()
func (*QueryGetLatestStateIndexRequest) Size ¶
func (m *QueryGetLatestStateIndexRequest) Size() (n int)
func (*QueryGetLatestStateIndexRequest) String ¶
func (m *QueryGetLatestStateIndexRequest) String() string
func (*QueryGetLatestStateIndexRequest) Unmarshal ¶
func (m *QueryGetLatestStateIndexRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestStateIndexRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLatestStateIndexRequest) XXX_DiscardUnknown()
func (*QueryGetLatestStateIndexRequest) XXX_Marshal ¶
func (m *QueryGetLatestStateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestStateIndexRequest) XXX_Merge ¶
func (m *QueryGetLatestStateIndexRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestStateIndexRequest) XXX_Size ¶
func (m *QueryGetLatestStateIndexRequest) XXX_Size() int
func (*QueryGetLatestStateIndexRequest) XXX_Unmarshal ¶
func (m *QueryGetLatestStateIndexRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestStateIndexResponse ¶
type QueryGetLatestStateIndexResponse struct {
StateIndex StateInfoIndex `protobuf:"bytes,1,opt,name=stateIndex,proto3" json:"stateIndex"`
}
func (*QueryGetLatestStateIndexResponse) Descriptor ¶
func (*QueryGetLatestStateIndexResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestStateIndexResponse) GetStateIndex ¶
func (m *QueryGetLatestStateIndexResponse) GetStateIndex() StateInfoIndex
func (*QueryGetLatestStateIndexResponse) Marshal ¶
func (m *QueryGetLatestStateIndexResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestStateIndexResponse) MarshalTo ¶
func (m *QueryGetLatestStateIndexResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestStateIndexResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLatestStateIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestStateIndexResponse) ProtoMessage ¶
func (*QueryGetLatestStateIndexResponse) ProtoMessage()
func (*QueryGetLatestStateIndexResponse) Reset ¶
func (m *QueryGetLatestStateIndexResponse) Reset()
func (*QueryGetLatestStateIndexResponse) Size ¶
func (m *QueryGetLatestStateIndexResponse) Size() (n int)
func (*QueryGetLatestStateIndexResponse) String ¶
func (m *QueryGetLatestStateIndexResponse) String() string
func (*QueryGetLatestStateIndexResponse) Unmarshal ¶
func (m *QueryGetLatestStateIndexResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestStateIndexResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLatestStateIndexResponse) XXX_DiscardUnknown()
func (*QueryGetLatestStateIndexResponse) XXX_Marshal ¶
func (m *QueryGetLatestStateIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestStateIndexResponse) XXX_Merge ¶
func (m *QueryGetLatestStateIndexResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestStateIndexResponse) XXX_Size ¶
func (m *QueryGetLatestStateIndexResponse) XXX_Size() int
func (*QueryGetLatestStateIndexResponse) XXX_Unmarshal ¶
func (m *QueryGetLatestStateIndexResponse) XXX_Unmarshal(b []byte) error
type QueryGetRollappByEIP155Request ¶
type QueryGetRollappByEIP155Request struct {
Eip155 uint64 `protobuf:"varint,1,opt,name=eip155,proto3" json:"eip155,omitempty"`
}
func (*QueryGetRollappByEIP155Request) Descriptor ¶
func (*QueryGetRollappByEIP155Request) Descriptor() ([]byte, []int)
func (*QueryGetRollappByEIP155Request) GetEip155 ¶
func (m *QueryGetRollappByEIP155Request) GetEip155() uint64
func (*QueryGetRollappByEIP155Request) Marshal ¶
func (m *QueryGetRollappByEIP155Request) Marshal() (dAtA []byte, err error)
func (*QueryGetRollappByEIP155Request) MarshalTo ¶
func (m *QueryGetRollappByEIP155Request) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetRollappByEIP155Request) MarshalToSizedBuffer ¶
func (m *QueryGetRollappByEIP155Request) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetRollappByEIP155Request) ProtoMessage ¶
func (*QueryGetRollappByEIP155Request) ProtoMessage()
func (*QueryGetRollappByEIP155Request) Reset ¶
func (m *QueryGetRollappByEIP155Request) Reset()
func (*QueryGetRollappByEIP155Request) Size ¶
func (m *QueryGetRollappByEIP155Request) Size() (n int)
func (*QueryGetRollappByEIP155Request) String ¶
func (m *QueryGetRollappByEIP155Request) String() string
func (*QueryGetRollappByEIP155Request) Unmarshal ¶
func (m *QueryGetRollappByEIP155Request) Unmarshal(dAtA []byte) error
func (*QueryGetRollappByEIP155Request) XXX_DiscardUnknown ¶
func (m *QueryGetRollappByEIP155Request) XXX_DiscardUnknown()
func (*QueryGetRollappByEIP155Request) XXX_Marshal ¶
func (m *QueryGetRollappByEIP155Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetRollappByEIP155Request) XXX_Merge ¶
func (m *QueryGetRollappByEIP155Request) XXX_Merge(src proto.Message)
func (*QueryGetRollappByEIP155Request) XXX_Size ¶
func (m *QueryGetRollappByEIP155Request) XXX_Size() int
func (*QueryGetRollappByEIP155Request) XXX_Unmarshal ¶
func (m *QueryGetRollappByEIP155Request) 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"` // Defines the index of the last rollapp UpdateState. LatestStateIndex *StateInfoIndex `protobuf:"bytes,2,opt,name=latestStateIndex,proto3" json:"latestStateIndex,omitempty"` // Defines the index of the last rollapp UpdateState that was finalized. LatestFinalizedStateIndex *StateInfoIndex `protobuf:"bytes,3,opt,name=latestFinalizedStateIndex,proto3" json:"latestFinalizedStateIndex,omitempty"` LatestHeight uint64 `protobuf:"varint,4,opt,name=latestHeight,proto3" json:"latestHeight,omitempty"` LatestFinalizedHeight uint64 `protobuf:"varint,5,opt,name=latestFinalizedHeight,proto3" json:"latestFinalizedHeight,omitempty"` }
func (*QueryGetRollappResponse) Descriptor ¶
func (*QueryGetRollappResponse) Descriptor() ([]byte, []int)
func (*QueryGetRollappResponse) GetLatestFinalizedHeight ¶ added in v3.1.0
func (m *QueryGetRollappResponse) GetLatestFinalizedHeight() uint64
func (*QueryGetRollappResponse) GetLatestFinalizedStateIndex ¶
func (m *QueryGetRollappResponse) GetLatestFinalizedStateIndex() *StateInfoIndex
func (*QueryGetRollappResponse) GetLatestHeight ¶ added in v3.1.0
func (m *QueryGetRollappResponse) GetLatestHeight() uint64
func (*QueryGetRollappResponse) GetLatestStateIndex ¶
func (m *QueryGetRollappResponse) GetLatestStateIndex() *StateInfoIndex
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 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"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Finalized bool `protobuf:"varint,4,opt,name=finalized,proto3" json:"finalized,omitempty"` }
func (*QueryGetStateInfoRequest) Descriptor ¶
func (*QueryGetStateInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGetStateInfoRequest) GetFinalized ¶
func (m *QueryGetStateInfoRequest) GetFinalized() bool
func (*QueryGetStateInfoRequest) GetHeight ¶
func (m *QueryGetStateInfoRequest) GetHeight() uint64
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 Rollapp by index. RollappByEIP155(context.Context, *QueryGetRollappByEIP155Request) (*QueryGetRollappResponse, error) // Queries a list of Rollapp items. RollappAll(context.Context, *QueryAllRollappRequest) (*QueryAllRollappResponse, error) // Queries a LatestHeight by rollapp-id. LatestHeight(context.Context, *QueryGetLatestHeightRequest) (*QueryGetLatestHeightResponse, error) // Queries a LatestStateIndex by rollapp-id. LatestStateIndex(context.Context, *QueryGetLatestStateIndexRequest) (*QueryGetLatestStateIndexResponse, error) // Queries a StateInfo by index. StateInfo(context.Context, *QueryGetStateInfoRequest) (*QueryGetStateInfoResponse, error) }
QueryServer is the server API for Query service.
type Rollapp ¶
type Rollapp struct { // 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"` // maxSequencers is the maximum number of sequencers. MaxSequencers uint64 `protobuf:"varint,4,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 []string `protobuf:"bytes,5,rep,name=permissionedAddresses,proto3" json:"permissionedAddresses,omitempty"` // tokenMetadata is a list of TokenMetadata that are registered on this rollapp TokenMetadata []*TokenMetadata `protobuf:"bytes,6,rep,name=tokenMetadata,proto3" json:"tokenMetadata,omitempty"` // genesis_state is a partial repr of the state the hub can expect the rollapp to be in upon genesis GenesisState RollappGenesisState `protobuf:"bytes,7,opt,name=genesis_state,json=genesisState,proto3" json:"genesis_state"` // channel_id will be set to the canonical IBC channel of the rollapp. ChannelId string `protobuf:"bytes,8,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // frozen is a boolean that indicates if the rollapp is frozen. Frozen bool `protobuf:"varint,9,opt,name=frozen,proto3" json:"frozen,omitempty"` }
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 NewRollapp ¶ added in v3.1.0
func NewRollapp(creator string, rollappId string, maxSequencers uint64, permissionedAddresses []string, metadatas []*TokenMetadata, genesisAccounts RollappGenesisState, ) Rollapp
func (*Rollapp) Descriptor ¶
func (*Rollapp) GetChannelId ¶ added in v3.1.0
func (*Rollapp) GetCreator ¶
func (*Rollapp) GetGenesisState ¶ added in v3.1.0
func (m *Rollapp) GetGenesisState() RollappGenesisState
func (*Rollapp) GetMaxSequencers ¶
func (*Rollapp) GetPermissionedAddresses ¶
func (*Rollapp) GetRollappId ¶
func (*Rollapp) GetTokenMetadata ¶
func (m *Rollapp) GetTokenMetadata() []*TokenMetadata
func (*Rollapp) GetVersion ¶
func (*Rollapp) MarshalToSizedBuffer ¶
func (*Rollapp) ProtoMessage ¶
func (*Rollapp) ProtoMessage()
func (Rollapp) ValidateBasic ¶ added in v3.1.0
func (*Rollapp) XXX_DiscardUnknown ¶
func (m *Rollapp) XXX_DiscardUnknown()
func (*Rollapp) XXX_Marshal ¶
func (*Rollapp) XXX_Unmarshal ¶
type RollappGenesisState ¶ added in v3.1.0
type RollappGenesisState struct { // genesis_accounts is a list of token allocations GenesisAccounts []*GenesisAccount `protobuf:"bytes,1,rep,name=genesis_accounts,json=genesisAccounts,proto3" json:"genesis_accounts,omitempty"` // is_genesis_event is a boolean that indicates if the genesis event has occured IsGenesisEvent bool `protobuf:"varint,2,opt,name=is_genesis_event,json=isGenesisEvent,proto3" json:"is_genesis_event,omitempty"` }
RollappGenesisState is a partial repr of the state the hub can expect the rollapp to be in upon genesis
func (*RollappGenesisState) Descriptor ¶ added in v3.1.0
func (*RollappGenesisState) Descriptor() ([]byte, []int)
func (*RollappGenesisState) GetGenesisAccounts ¶ added in v3.1.0
func (m *RollappGenesisState) GetGenesisAccounts() []*GenesisAccount
func (*RollappGenesisState) GetIsGenesisEvent ¶ added in v3.1.0
func (m *RollappGenesisState) GetIsGenesisEvent() bool
func (*RollappGenesisState) Marshal ¶ added in v3.1.0
func (m *RollappGenesisState) Marshal() (dAtA []byte, err error)
func (*RollappGenesisState) MarshalTo ¶ added in v3.1.0
func (m *RollappGenesisState) MarshalTo(dAtA []byte) (int, error)
func (*RollappGenesisState) MarshalToSizedBuffer ¶ added in v3.1.0
func (m *RollappGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RollappGenesisState) ProtoMessage ¶ added in v3.1.0
func (*RollappGenesisState) ProtoMessage()
func (*RollappGenesisState) Reset ¶ added in v3.1.0
func (m *RollappGenesisState) Reset()
func (*RollappGenesisState) Size ¶ added in v3.1.0
func (m *RollappGenesisState) Size() (n int)
func (*RollappGenesisState) String ¶ added in v3.1.0
func (m *RollappGenesisState) String() string
func (*RollappGenesisState) Unmarshal ¶ added in v3.1.0
func (m *RollappGenesisState) Unmarshal(dAtA []byte) error
func (*RollappGenesisState) XXX_DiscardUnknown ¶ added in v3.1.0
func (m *RollappGenesisState) XXX_DiscardUnknown()
func (*RollappGenesisState) XXX_Marshal ¶ added in v3.1.0
func (m *RollappGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RollappGenesisState) XXX_Merge ¶ added in v3.1.0
func (m *RollappGenesisState) XXX_Merge(src proto.Message)
func (*RollappGenesisState) XXX_Size ¶ added in v3.1.0
func (m *RollappGenesisState) XXX_Size() int
func (*RollappGenesisState) XXX_Unmarshal ¶ added in v3.1.0
func (m *RollappGenesisState) XXX_Unmarshal(b []byte) error
type RollappHooks ¶
type RollappHooks interface { BeforeUpdateState(ctx sdk.Context, seqAddr string, rollappId string) error // Must be called when a rollapp's state changes AfterStateFinalized(ctx sdk.Context, rollappID string, stateInfo *StateInfo) error // Must be called when a rollapp's state changes FraudSubmitted(ctx sdk.Context, rollappID string, height uint64, seqAddr string) error }
RollappHooks event hooks for rollapp object (noalias)
type RollappSummary ¶
type RollappSummary struct { // 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"` // Defines the index of the last rollapp UpdateState. LatestStateIndex *StateInfoIndex `protobuf:"bytes,2,opt,name=latestStateIndex,proto3" json:"latestStateIndex,omitempty"` // Defines the index of the last rollapp UpdateState that was finalized. LatestFinalizedStateIndex *StateInfoIndex `protobuf:"bytes,3,opt,name=latestFinalizedStateIndex,proto3" json:"latestFinalizedStateIndex,omitempty"` }
Rollapp summary is a compact representation of Rollapp
func (*RollappSummary) Descriptor ¶
func (*RollappSummary) Descriptor() ([]byte, []int)
func (*RollappSummary) GetLatestFinalizedStateIndex ¶
func (m *RollappSummary) GetLatestFinalizedStateIndex() *StateInfoIndex
func (*RollappSummary) GetLatestStateIndex ¶
func (m *RollappSummary) GetLatestStateIndex() *StateInfoIndex
func (*RollappSummary) GetRollappId ¶
func (m *RollappSummary) GetRollappId() string
func (*RollappSummary) Marshal ¶
func (m *RollappSummary) Marshal() (dAtA []byte, err error)
func (*RollappSummary) MarshalToSizedBuffer ¶
func (m *RollappSummary) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RollappSummary) ProtoMessage ¶
func (*RollappSummary) ProtoMessage()
func (*RollappSummary) Reset ¶
func (m *RollappSummary) Reset()
func (*RollappSummary) Size ¶
func (m *RollappSummary) Size() (n int)
func (*RollappSummary) String ¶
func (m *RollappSummary) String() string
func (*RollappSummary) Unmarshal ¶
func (m *RollappSummary) Unmarshal(dAtA []byte) error
func (*RollappSummary) XXX_DiscardUnknown ¶
func (m *RollappSummary) XXX_DiscardUnknown()
func (*RollappSummary) XXX_Marshal ¶
func (m *RollappSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RollappSummary) XXX_Merge ¶
func (m *RollappSummary) XXX_Merge(src proto.Message)
func (*RollappSummary) XXX_Size ¶
func (m *RollappSummary) XXX_Size() int
func (*RollappSummary) XXX_Unmarshal ¶
func (m *RollappSummary) XXX_Unmarshal(b []byte) error
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 types.Status `protobuf:"varint,8,opt,name=status,proto3,enum=dymensionxyz.dymension.common.Status" 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 NewStateInfo ¶ added in v3.1.0
func (*StateInfo) Descriptor ¶
func (*StateInfo) GetBDs ¶
func (m *StateInfo) GetBDs() BlockDescriptors
func (*StateInfo) GetCreationHeight ¶
func (*StateInfo) GetIndex ¶ added in v3.1.0
func (s *StateInfo) GetIndex() StateInfoIndex
func (*StateInfo) GetLatestHeight ¶ added in v3.1.0
func (*StateInfo) GetNumBlocks ¶
func (*StateInfo) GetSequencer ¶
func (*StateInfo) GetStartHeight ¶
func (*StateInfo) GetStateInfoIndex ¶
func (m *StateInfo) GetStateInfoIndex() StateInfoIndex
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 StateInfoSummary ¶
type StateInfoSummary 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"` // status is the status of the state update Status types.Status `protobuf:"varint,2,opt,name=status,proto3,enum=dymensionxyz.dymension.common.Status" json:"status,omitempty"` // creationHeight is the height at which the UpdateState took place CreationHeight uint64 `protobuf:"varint,3,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"` }
StateInfoSummary is a compact representation of StateInfo
func (*StateInfoSummary) Descriptor ¶
func (*StateInfoSummary) Descriptor() ([]byte, []int)
func (*StateInfoSummary) GetCreationHeight ¶
func (m *StateInfoSummary) GetCreationHeight() uint64
func (*StateInfoSummary) GetStateInfoIndex ¶
func (m *StateInfoSummary) GetStateInfoIndex() StateInfoIndex
func (*StateInfoSummary) GetStatus ¶
func (m *StateInfoSummary) GetStatus() types.Status
func (*StateInfoSummary) Marshal ¶
func (m *StateInfoSummary) Marshal() (dAtA []byte, err error)
func (*StateInfoSummary) MarshalToSizedBuffer ¶
func (m *StateInfoSummary) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StateInfoSummary) ProtoMessage ¶
func (*StateInfoSummary) ProtoMessage()
func (*StateInfoSummary) Reset ¶
func (m *StateInfoSummary) Reset()
func (*StateInfoSummary) Size ¶
func (m *StateInfoSummary) Size() (n int)
func (*StateInfoSummary) String ¶
func (m *StateInfoSummary) String() string
func (*StateInfoSummary) Unmarshal ¶
func (m *StateInfoSummary) Unmarshal(dAtA []byte) error
func (*StateInfoSummary) XXX_DiscardUnknown ¶
func (m *StateInfoSummary) XXX_DiscardUnknown()
func (*StateInfoSummary) XXX_Marshal ¶
func (m *StateInfoSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StateInfoSummary) XXX_Merge ¶
func (m *StateInfoSummary) XXX_Merge(src proto.Message)
func (*StateInfoSummary) XXX_Size ¶
func (m *StateInfoSummary) XXX_Size() int
func (*StateInfoSummary) XXX_Unmarshal ¶
func (m *StateInfoSummary) XXX_Unmarshal(b []byte) error
type StateStatus ¶
type SubmitFraudProposal ¶ added in v3.1.0
type SubmitFraudProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The rollapp id RollappId string `protobuf:"bytes,3,opt,name=rollapp_id,json=rollappId,proto3" json:"rollapp_id,omitempty"` // The ibc client id of the rollapp IbcClientId string `protobuf:"bytes,4,opt,name=ibc_client_id,json=ibcClientId,proto3" json:"ibc_client_id,omitempty"` // The height of the fraudelent block FraudelentHeight uint64 `protobuf:"varint,5,opt,name=fraudelent_height,json=fraudelentHeight,proto3" json:"fraudelent_height,omitempty"` // The address of the fraudelent sequencer FraudelentSequencerAddress string `` /* 141-byte string literal not displayed */ }
func NewSubmitFraudProposal ¶ added in v3.1.0
func NewSubmitFraudProposal(title, description, rollappId string, height uint64, seqaddr, clientId string) *SubmitFraudProposal
NewSubmitFraudProposal creates a new submit fraud proposal.
func (*SubmitFraudProposal) Descriptor ¶ added in v3.1.0
func (*SubmitFraudProposal) Descriptor() ([]byte, []int)
func (*SubmitFraudProposal) Equal ¶ added in v3.1.0
func (this *SubmitFraudProposal) Equal(that interface{}) bool
func (*SubmitFraudProposal) GetDescription ¶ added in v3.1.0
func (sfp *SubmitFraudProposal) GetDescription() string
GetDescription returns the description of a submit fraud proposal.
func (*SubmitFraudProposal) GetTitle ¶ added in v3.1.0
func (sfp *SubmitFraudProposal) GetTitle() string
GetTitle returns the title of a submit fraud proposal.
func (*SubmitFraudProposal) Marshal ¶ added in v3.1.0
func (m *SubmitFraudProposal) Marshal() (dAtA []byte, err error)
func (*SubmitFraudProposal) MarshalTo ¶ added in v3.1.0
func (m *SubmitFraudProposal) MarshalTo(dAtA []byte) (int, error)
func (*SubmitFraudProposal) MarshalToSizedBuffer ¶ added in v3.1.0
func (m *SubmitFraudProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubmitFraudProposal) ProposalRoute ¶ added in v3.1.0
func (sfp *SubmitFraudProposal) ProposalRoute() string
ProposalRoute returns the routing key of a submit fraud proposal.
func (*SubmitFraudProposal) ProposalType ¶ added in v3.1.0
func (sfp *SubmitFraudProposal) ProposalType() string
ProposalType returns the type of a submit fraud proposal.
func (*SubmitFraudProposal) ProtoMessage ¶ added in v3.1.0
func (*SubmitFraudProposal) ProtoMessage()
func (*SubmitFraudProposal) Reset ¶ added in v3.1.0
func (m *SubmitFraudProposal) Reset()
func (*SubmitFraudProposal) Size ¶ added in v3.1.0
func (m *SubmitFraudProposal) Size() (n int)
func (SubmitFraudProposal) String ¶ added in v3.1.0
func (sfp SubmitFraudProposal) String() string
String implements the Stringer interface.
func (*SubmitFraudProposal) Unmarshal ¶ added in v3.1.0
func (m *SubmitFraudProposal) Unmarshal(dAtA []byte) error
func (*SubmitFraudProposal) ValidateBasic ¶ added in v3.1.0
func (sfp *SubmitFraudProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*SubmitFraudProposal) XXX_DiscardUnknown ¶ added in v3.1.0
func (m *SubmitFraudProposal) XXX_DiscardUnknown()
func (*SubmitFraudProposal) XXX_Marshal ¶ added in v3.1.0
func (m *SubmitFraudProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitFraudProposal) XXX_Merge ¶ added in v3.1.0
func (m *SubmitFraudProposal) XXX_Merge(src proto.Message)
func (*SubmitFraudProposal) XXX_Size ¶ added in v3.1.0
func (m *SubmitFraudProposal) XXX_Size() int
func (*SubmitFraudProposal) XXX_Unmarshal ¶ added in v3.1.0
func (m *SubmitFraudProposal) XXX_Unmarshal(b []byte) error
type TokenMetadata ¶
type TokenMetadata struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // denom_units represents the list of DenomUnit's for a given coin DenomUnits []*DenomUnit `protobuf:"bytes,2,rep,name=denom_units,json=denomUnits,proto3" json:"denom_units,omitempty"` // base represents the base denom (should be the DenomUnit with exponent = 0). Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` // display indicates the suggested denom that should be // displayed in clients. Display string `protobuf:"bytes,4,opt,name=display,proto3" json:"display,omitempty"` // name defines the name of the token (eg: Cosmos Atom) // // Since: cosmos-sdk 0.43 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can // be the same as the display. // // Since: cosmos-sdk 0.43 Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` // URI to a document (on or off-chain) that contains additional information. Optional. // // Since: cosmos-sdk 0.46 URI string `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"` // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that // the document didn't change. Optional. // // Since: cosmos-sdk 0.46 URIHash string `protobuf:"bytes,8,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"` }
Metadata represents a struct that describes a basic token.
func (*TokenMetadata) ConvertToBankMetadata ¶ added in v3.1.0
func (m *TokenMetadata) ConvertToBankMetadata() banktypes.Metadata
ConvertToBankMetadata converts TokenMetadata to Metadata of x/bank/types
func (*TokenMetadata) Descriptor ¶
func (*TokenMetadata) Descriptor() ([]byte, []int)
func (*TokenMetadata) GetBase ¶
func (m *TokenMetadata) GetBase() string
func (*TokenMetadata) GetDenomUnits ¶
func (m *TokenMetadata) GetDenomUnits() []*DenomUnit
func (*TokenMetadata) GetDescription ¶
func (m *TokenMetadata) GetDescription() string
func (*TokenMetadata) GetDisplay ¶
func (m *TokenMetadata) GetDisplay() string
func (*TokenMetadata) GetName ¶
func (m *TokenMetadata) GetName() string
func (*TokenMetadata) GetSymbol ¶
func (m *TokenMetadata) GetSymbol() string
func (*TokenMetadata) GetURI ¶
func (m *TokenMetadata) GetURI() string
func (*TokenMetadata) GetURIHash ¶
func (m *TokenMetadata) GetURIHash() string
func (*TokenMetadata) Marshal ¶
func (m *TokenMetadata) Marshal() (dAtA []byte, err error)
func (*TokenMetadata) MarshalToSizedBuffer ¶
func (m *TokenMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenMetadata) ProtoMessage ¶
func (*TokenMetadata) ProtoMessage()
func (*TokenMetadata) Reset ¶
func (m *TokenMetadata) Reset()
func (*TokenMetadata) Size ¶
func (m *TokenMetadata) Size() (n int)
func (*TokenMetadata) String ¶
func (m *TokenMetadata) String() string
func (*TokenMetadata) Unmarshal ¶
func (m *TokenMetadata) Unmarshal(dAtA []byte) error
func (*TokenMetadata) Validate ¶ added in v3.1.0
func (m *TokenMetadata) Validate() error
Validate performs a basic validation of the coin metadata fields. Inherits from x/bank metadata and following same spec of x/bank/types/metadata.go
func (*TokenMetadata) XXX_DiscardUnknown ¶
func (m *TokenMetadata) XXX_DiscardUnknown()
func (*TokenMetadata) XXX_Marshal ¶
func (m *TokenMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenMetadata) XXX_Merge ¶
func (m *TokenMetadata) XXX_Merge(src proto.Message)
func (*TokenMetadata) XXX_Size ¶
func (m *TokenMetadata) XXX_Size() int
func (*TokenMetadata) XXX_Unmarshal ¶
func (m *TokenMetadata) XXX_Unmarshal(b []byte) error
type TransferKeeper ¶ added in v3.1.0
type TransferKeeper interface { HasDenomTrace(ctx sdk.Context, denomTraceHash tmbytes.HexBytes) bool SetDenomTrace(ctx sdk.Context, denomTrace transfertypes.DenomTrace) }
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) TriggerGenesisEvent ¶ added in v3.1.0
func (*UnimplementedMsgServer) TriggerGenesisEvent(ctx context.Context, req *MsgRollappGenesisEvent) (*MsgRollappGenesisEventResponse, 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) LatestHeight ¶ added in v3.1.0
func (*UnimplementedQueryServer) LatestHeight(ctx context.Context, req *QueryGetLatestHeightRequest) (*QueryGetLatestHeightResponse, error)
func (*UnimplementedQueryServer) LatestStateIndex ¶
func (*UnimplementedQueryServer) LatestStateIndex(ctx context.Context, req *QueryGetLatestStateIndexRequest) (*QueryGetLatestStateIndexResponse, 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) RollappByEIP155 ¶
func (*UnimplementedQueryServer) RollappByEIP155(ctx context.Context, req *QueryGetRollappByEIP155Request) (*QueryGetRollappResponse, error)
func (*UnimplementedQueryServer) StateInfo ¶
func (*UnimplementedQueryServer) StateInfo(ctx context.Context, req *QueryGetStateInfoRequest) (*QueryGetStateInfoResponse, error)
Source Files ¶
- bank.pb.go
- block_descriptor.pb.go
- chain_id.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_rollapp_genesis_event.go
- message_update_state.go
- params.go
- params.pb.go
- proposal.pb.go
- proposal_submit_fraud.go
- query.pb.go
- query.pb.gw.go
- rollapp.go
- rollapp.pb.go
- state_info.go
- state_info.pb.go
- token_metadata.go
- tx.pb.go
- types.go