Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- 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)
- type BankKeeper
- type BridgeEvent
- func (*BridgeEvent) Descriptor() ([]byte, []int)
- func (b BridgeEvent) Equal(other BridgeEvent) bool
- func (m *BridgeEvent) GetAddress() string
- func (m *BridgeEvent) GetCoin() types.Coin
- func (m *BridgeEvent) GetEthBlockHeight() uint64
- func (m *BridgeEvent) GetId() uint32
- func (m *BridgeEvent) Marshal() (dAtA []byte, err error)
- func (m *BridgeEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BridgeEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BridgeEvent) ProtoMessage()
- func (m *BridgeEvent) Reset()
- func (m *BridgeEvent) Size() (n int)
- func (m *BridgeEvent) String() string
- func (m *BridgeEvent) Unmarshal(dAtA []byte) error
- func (m *BridgeEvent) XXX_DiscardUnknown()
- func (m *BridgeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BridgeEvent) XXX_Merge(src proto.Message)
- func (m *BridgeEvent) XXX_Size() int
- func (m *BridgeEvent) XXX_Unmarshal(b []byte) error
- type BridgeEventInfo
- func (*BridgeEventInfo) Descriptor() ([]byte, []int)
- func (m *BridgeEventInfo) GetEthBlockHeight() uint64
- func (m *BridgeEventInfo) GetNextId() uint32
- func (m *BridgeEventInfo) Marshal() (dAtA []byte, err error)
- func (m *BridgeEventInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *BridgeEventInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BridgeEventInfo) ProtoMessage()
- func (m *BridgeEventInfo) Reset()
- func (m *BridgeEventInfo) Size() (n int)
- func (m *BridgeEventInfo) String() string
- func (m *BridgeEventInfo) Unmarshal(dAtA []byte) error
- func (b *BridgeEventInfo) Validate() error
- func (m *BridgeEventInfo) XXX_DiscardUnknown()
- func (m *BridgeEventInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BridgeEventInfo) XXX_Merge(src proto.Message)
- func (m *BridgeEventInfo) XXX_Size() int
- func (m *BridgeEventInfo) XXX_Unmarshal(b []byte) error
- type BridgeKeeper
- type DelayedCompleteBridgeMessage
- func (*DelayedCompleteBridgeMessage) Descriptor() ([]byte, []int)
- func (m *DelayedCompleteBridgeMessage) GetBlockHeight() uint32
- func (m *DelayedCompleteBridgeMessage) GetMessage() MsgCompleteBridge
- func (m *DelayedCompleteBridgeMessage) Marshal() (dAtA []byte, err error)
- func (m *DelayedCompleteBridgeMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *DelayedCompleteBridgeMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelayedCompleteBridgeMessage) ProtoMessage()
- func (m *DelayedCompleteBridgeMessage) Reset()
- func (m *DelayedCompleteBridgeMessage) Size() (n int)
- func (m *DelayedCompleteBridgeMessage) String() string
- func (m *DelayedCompleteBridgeMessage) Unmarshal(dAtA []byte) error
- func (m *DelayedCompleteBridgeMessage) XXX_DiscardUnknown()
- func (m *DelayedCompleteBridgeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelayedCompleteBridgeMessage) XXX_Merge(src proto.Message)
- func (m *DelayedCompleteBridgeMessage) XXX_Size() int
- func (m *DelayedCompleteBridgeMessage) XXX_Unmarshal(b []byte) error
- type EventParams
- func (*EventParams) Descriptor() ([]byte, []int)
- func (m *EventParams) GetDenom() string
- func (m *EventParams) GetEthAddress() string
- func (m *EventParams) GetEthChainId() uint64
- func (m *EventParams) Marshal() (dAtA []byte, err error)
- func (m *EventParams) MarshalTo(dAtA []byte) (int, error)
- func (m *EventParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventParams) ProtoMessage()
- func (m *EventParams) Reset()
- func (m *EventParams) Size() (n int)
- func (m *EventParams) String() string
- func (m *EventParams) Unmarshal(dAtA []byte) error
- func (m *EventParams) Validate() error
- func (m *EventParams) XXX_DiscardUnknown()
- func (m *EventParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventParams) XXX_Merge(src proto.Message)
- func (m *EventParams) XXX_Size() int
- func (m *EventParams) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAcknowledgedEventInfo() BridgeEventInfo
- func (m *GenesisState) GetEventParams() EventParams
- func (m *GenesisState) GetProposeParams() ProposeParams
- func (m *GenesisState) GetSafetyParams() SafetyParams
- 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 MsgAcknowledgeBridges
- func (*MsgAcknowledgeBridges) Descriptor() ([]byte, []int)
- func (m *MsgAcknowledgeBridges) GetEvents() []BridgeEvent
- func (msg *MsgAcknowledgeBridges) GetSigners() []sdk.AccAddress
- func (m *MsgAcknowledgeBridges) Marshal() (dAtA []byte, err error)
- func (m *MsgAcknowledgeBridges) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcknowledgeBridges) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcknowledgeBridges) ProtoMessage()
- func (m *MsgAcknowledgeBridges) Reset()
- func (m *MsgAcknowledgeBridges) Size() (n int)
- func (m *MsgAcknowledgeBridges) String() string
- func (m *MsgAcknowledgeBridges) Unmarshal(dAtA []byte) error
- func (msg *MsgAcknowledgeBridges) ValidateBasic() error
- func (m *MsgAcknowledgeBridges) XXX_DiscardUnknown()
- func (m *MsgAcknowledgeBridges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcknowledgeBridges) XXX_Merge(src proto.Message)
- func (m *MsgAcknowledgeBridges) XXX_Size() int
- func (m *MsgAcknowledgeBridges) XXX_Unmarshal(b []byte) error
- type MsgAcknowledgeBridgesResponse
- func (*MsgAcknowledgeBridgesResponse) Descriptor() ([]byte, []int)
- func (m *MsgAcknowledgeBridgesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAcknowledgeBridgesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcknowledgeBridgesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcknowledgeBridgesResponse) ProtoMessage()
- func (m *MsgAcknowledgeBridgesResponse) Reset()
- func (m *MsgAcknowledgeBridgesResponse) Size() (n int)
- func (m *MsgAcknowledgeBridgesResponse) String() string
- func (m *MsgAcknowledgeBridgesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAcknowledgeBridgesResponse) XXX_DiscardUnknown()
- func (m *MsgAcknowledgeBridgesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcknowledgeBridgesResponse) XXX_Merge(src proto.Message)
- func (m *MsgAcknowledgeBridgesResponse) XXX_Size() int
- func (m *MsgAcknowledgeBridgesResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCompleteBridge
- func (*MsgCompleteBridge) Descriptor() ([]byte, []int)
- func (m *MsgCompleteBridge) GetAuthority() string
- func (m *MsgCompleteBridge) GetEvent() BridgeEvent
- func (msg *MsgCompleteBridge) GetSigners() []sdk.AccAddress
- func (m *MsgCompleteBridge) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteBridge) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteBridge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteBridge) ProtoMessage()
- func (m *MsgCompleteBridge) Reset()
- func (m *MsgCompleteBridge) Size() (n int)
- func (m *MsgCompleteBridge) String() string
- func (m *MsgCompleteBridge) Unmarshal(dAtA []byte) error
- func (msg *MsgCompleteBridge) ValidateBasic() error
- func (m *MsgCompleteBridge) XXX_DiscardUnknown()
- func (m *MsgCompleteBridge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteBridge) XXX_Merge(src proto.Message)
- func (m *MsgCompleteBridge) XXX_Size() int
- func (m *MsgCompleteBridge) XXX_Unmarshal(b []byte) error
- type MsgCompleteBridgeResponse
- func (*MsgCompleteBridgeResponse) Descriptor() ([]byte, []int)
- func (m *MsgCompleteBridgeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteBridgeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteBridgeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteBridgeResponse) ProtoMessage()
- func (m *MsgCompleteBridgeResponse) Reset()
- func (m *MsgCompleteBridgeResponse) Size() (n int)
- func (m *MsgCompleteBridgeResponse) String() string
- func (m *MsgCompleteBridgeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCompleteBridgeResponse) XXX_DiscardUnknown()
- func (m *MsgCompleteBridgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteBridgeResponse) XXX_Merge(src proto.Message)
- func (m *MsgCompleteBridgeResponse) XXX_Size() int
- func (m *MsgCompleteBridgeResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateEventParams
- func (*MsgUpdateEventParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateEventParams) GetAuthority() string
- func (m *MsgUpdateEventParams) GetParams() EventParams
- func (msg *MsgUpdateEventParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateEventParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEventParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEventParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEventParams) ProtoMessage()
- func (m *MsgUpdateEventParams) Reset()
- func (m *MsgUpdateEventParams) Size() (n int)
- func (m *MsgUpdateEventParams) String() string
- func (m *MsgUpdateEventParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateEventParams) ValidateBasic() error
- func (m *MsgUpdateEventParams) XXX_DiscardUnknown()
- func (m *MsgUpdateEventParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEventParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEventParams) XXX_Size() int
- func (m *MsgUpdateEventParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateEventParamsResponse
- func (*MsgUpdateEventParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateEventParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEventParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEventParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEventParamsResponse) ProtoMessage()
- func (m *MsgUpdateEventParamsResponse) Reset()
- func (m *MsgUpdateEventParamsResponse) Size() (n int)
- func (m *MsgUpdateEventParamsResponse) String() string
- func (m *MsgUpdateEventParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateEventParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateEventParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEventParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEventParamsResponse) XXX_Size() int
- func (m *MsgUpdateEventParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateProposeParams
- func (*MsgUpdateProposeParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateProposeParams) GetAuthority() string
- func (m *MsgUpdateProposeParams) GetParams() ProposeParams
- func (msg *MsgUpdateProposeParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateProposeParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateProposeParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateProposeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateProposeParams) ProtoMessage()
- func (m *MsgUpdateProposeParams) Reset()
- func (m *MsgUpdateProposeParams) Size() (n int)
- func (m *MsgUpdateProposeParams) String() string
- func (m *MsgUpdateProposeParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateProposeParams) ValidateBasic() error
- func (m *MsgUpdateProposeParams) XXX_DiscardUnknown()
- func (m *MsgUpdateProposeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateProposeParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateProposeParams) XXX_Size() int
- func (m *MsgUpdateProposeParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateProposeParamsResponse
- func (*MsgUpdateProposeParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateProposeParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateProposeParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateProposeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateProposeParamsResponse) ProtoMessage()
- func (m *MsgUpdateProposeParamsResponse) Reset()
- func (m *MsgUpdateProposeParamsResponse) Size() (n int)
- func (m *MsgUpdateProposeParamsResponse) String() string
- func (m *MsgUpdateProposeParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateProposeParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateProposeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateProposeParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateProposeParamsResponse) XXX_Size() int
- func (m *MsgUpdateProposeParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateSafetyParams
- func (*MsgUpdateSafetyParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSafetyParams) GetAuthority() string
- func (m *MsgUpdateSafetyParams) GetParams() SafetyParams
- func (msg *MsgUpdateSafetyParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateSafetyParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSafetyParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSafetyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSafetyParams) ProtoMessage()
- func (m *MsgUpdateSafetyParams) Reset()
- func (m *MsgUpdateSafetyParams) Size() (n int)
- func (m *MsgUpdateSafetyParams) String() string
- func (m *MsgUpdateSafetyParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateSafetyParams) ValidateBasic() error
- func (m *MsgUpdateSafetyParams) XXX_DiscardUnknown()
- func (m *MsgUpdateSafetyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSafetyParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSafetyParams) XXX_Size() int
- func (m *MsgUpdateSafetyParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateSafetyParamsResponse
- func (*MsgUpdateSafetyParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSafetyParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSafetyParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSafetyParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSafetyParamsResponse) ProtoMessage()
- func (m *MsgUpdateSafetyParamsResponse) Reset()
- func (m *MsgUpdateSafetyParamsResponse) Size() (n int)
- func (m *MsgUpdateSafetyParamsResponse) String() string
- func (m *MsgUpdateSafetyParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSafetyParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateSafetyParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSafetyParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSafetyParamsResponse) XXX_Size() int
- func (m *MsgUpdateSafetyParamsResponse) XXX_Unmarshal(b []byte) error
- type ProposeParams
- func (*ProposeParams) Descriptor() ([]byte, []int)
- func (m *ProposeParams) GetMaxBridgesPerBlock() uint32
- func (m *ProposeParams) GetProposeDelayDuration() time.Duration
- func (m *ProposeParams) GetSkipIfBlockDelayedByDuration() time.Duration
- func (m *ProposeParams) GetSkipRatePpm() uint32
- func (m *ProposeParams) Marshal() (dAtA []byte, err error)
- func (m *ProposeParams) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposeParams) ProtoMessage()
- func (m *ProposeParams) Reset()
- func (m *ProposeParams) Size() (n int)
- func (m *ProposeParams) String() string
- func (m *ProposeParams) Unmarshal(dAtA []byte) error
- func (m *ProposeParams) Validate() error
- func (m *ProposeParams) XXX_DiscardUnknown()
- func (m *ProposeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposeParams) XXX_Merge(src proto.Message)
- func (m *ProposeParams) XXX_Size() int
- func (m *ProposeParams) XXX_Unmarshal(b []byte) error
- type QueryAcknowledgedEventInfoRequest
- func (*QueryAcknowledgedEventInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryAcknowledgedEventInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAcknowledgedEventInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAcknowledgedEventInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAcknowledgedEventInfoRequest) ProtoMessage()
- func (m *QueryAcknowledgedEventInfoRequest) Reset()
- func (m *QueryAcknowledgedEventInfoRequest) Size() (n int)
- func (m *QueryAcknowledgedEventInfoRequest) String() string
- func (m *QueryAcknowledgedEventInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAcknowledgedEventInfoRequest) XXX_DiscardUnknown()
- func (m *QueryAcknowledgedEventInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAcknowledgedEventInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryAcknowledgedEventInfoRequest) XXX_Size() int
- func (m *QueryAcknowledgedEventInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryAcknowledgedEventInfoResponse
- func (*QueryAcknowledgedEventInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryAcknowledgedEventInfoResponse) GetInfo() BridgeEventInfo
- func (m *QueryAcknowledgedEventInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAcknowledgedEventInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAcknowledgedEventInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAcknowledgedEventInfoResponse) ProtoMessage()
- func (m *QueryAcknowledgedEventInfoResponse) Reset()
- func (m *QueryAcknowledgedEventInfoResponse) Size() (n int)
- func (m *QueryAcknowledgedEventInfoResponse) String() string
- func (m *QueryAcknowledgedEventInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAcknowledgedEventInfoResponse) XXX_DiscardUnknown()
- func (m *QueryAcknowledgedEventInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAcknowledgedEventInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryAcknowledgedEventInfoResponse) XXX_Size() int
- func (m *QueryAcknowledgedEventInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDelayedCompleteBridgeMessagesRequest
- func (*QueryDelayedCompleteBridgeMessagesRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelayedCompleteBridgeMessagesRequest) GetAddress() string
- func (m *QueryDelayedCompleteBridgeMessagesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelayedCompleteBridgeMessagesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelayedCompleteBridgeMessagesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelayedCompleteBridgeMessagesRequest) ProtoMessage()
- func (m *QueryDelayedCompleteBridgeMessagesRequest) Reset()
- func (m *QueryDelayedCompleteBridgeMessagesRequest) Size() (n int)
- func (m *QueryDelayedCompleteBridgeMessagesRequest) String() string
- func (m *QueryDelayedCompleteBridgeMessagesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_DiscardUnknown()
- func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Size() int
- func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Unmarshal(b []byte) error
- type QueryDelayedCompleteBridgeMessagesResponse
- func (*QueryDelayedCompleteBridgeMessagesResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelayedCompleteBridgeMessagesResponse) GetMessages() []DelayedCompleteBridgeMessage
- func (m *QueryDelayedCompleteBridgeMessagesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelayedCompleteBridgeMessagesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelayedCompleteBridgeMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelayedCompleteBridgeMessagesResponse) ProtoMessage()
- func (m *QueryDelayedCompleteBridgeMessagesResponse) Reset()
- func (m *QueryDelayedCompleteBridgeMessagesResponse) Size() (n int)
- func (m *QueryDelayedCompleteBridgeMessagesResponse) String() string
- func (m *QueryDelayedCompleteBridgeMessagesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_DiscardUnknown()
- func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Size() int
- func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Unmarshal(b []byte) error
- type QueryEventParamsRequest
- func (*QueryEventParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryEventParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEventParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEventParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEventParamsRequest) ProtoMessage()
- func (m *QueryEventParamsRequest) Reset()
- func (m *QueryEventParamsRequest) Size() (n int)
- func (m *QueryEventParamsRequest) String() string
- func (m *QueryEventParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEventParamsRequest) XXX_DiscardUnknown()
- func (m *QueryEventParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEventParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryEventParamsRequest) XXX_Size() int
- func (m *QueryEventParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryEventParamsResponse
- func (*QueryEventParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryEventParamsResponse) GetParams() EventParams
- func (m *QueryEventParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEventParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEventParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEventParamsResponse) ProtoMessage()
- func (m *QueryEventParamsResponse) Reset()
- func (m *QueryEventParamsResponse) Size() (n int)
- func (m *QueryEventParamsResponse) String() string
- func (m *QueryEventParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEventParamsResponse) XXX_DiscardUnknown()
- func (m *QueryEventParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEventParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryEventParamsResponse) XXX_Size() int
- func (m *QueryEventParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryProposeParamsRequest
- func (*QueryProposeParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryProposeParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProposeParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposeParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposeParamsRequest) ProtoMessage()
- func (m *QueryProposeParamsRequest) Reset()
- func (m *QueryProposeParamsRequest) Size() (n int)
- func (m *QueryProposeParamsRequest) String() string
- func (m *QueryProposeParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProposeParamsRequest) XXX_DiscardUnknown()
- func (m *QueryProposeParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposeParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryProposeParamsRequest) XXX_Size() int
- func (m *QueryProposeParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryProposeParamsResponse
- func (*QueryProposeParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryProposeParamsResponse) GetParams() ProposeParams
- func (m *QueryProposeParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProposeParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposeParamsResponse) ProtoMessage()
- func (m *QueryProposeParamsResponse) Reset()
- func (m *QueryProposeParamsResponse) Size() (n int)
- func (m *QueryProposeParamsResponse) String() string
- func (m *QueryProposeParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProposeParamsResponse) XXX_DiscardUnknown()
- func (m *QueryProposeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposeParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryProposeParamsResponse) XXX_Size() int
- func (m *QueryProposeParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryRecognizedEventInfoRequest
- func (*QueryRecognizedEventInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryRecognizedEventInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRecognizedEventInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRecognizedEventInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRecognizedEventInfoRequest) ProtoMessage()
- func (m *QueryRecognizedEventInfoRequest) Reset()
- func (m *QueryRecognizedEventInfoRequest) Size() (n int)
- func (m *QueryRecognizedEventInfoRequest) String() string
- func (m *QueryRecognizedEventInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRecognizedEventInfoRequest) XXX_DiscardUnknown()
- func (m *QueryRecognizedEventInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRecognizedEventInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryRecognizedEventInfoRequest) XXX_Size() int
- func (m *QueryRecognizedEventInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryRecognizedEventInfoResponse
- func (*QueryRecognizedEventInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryRecognizedEventInfoResponse) GetInfo() BridgeEventInfo
- func (m *QueryRecognizedEventInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRecognizedEventInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRecognizedEventInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRecognizedEventInfoResponse) ProtoMessage()
- func (m *QueryRecognizedEventInfoResponse) Reset()
- func (m *QueryRecognizedEventInfoResponse) Size() (n int)
- func (m *QueryRecognizedEventInfoResponse) String() string
- func (m *QueryRecognizedEventInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRecognizedEventInfoResponse) XXX_DiscardUnknown()
- func (m *QueryRecognizedEventInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRecognizedEventInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryRecognizedEventInfoResponse) XXX_Size() int
- func (m *QueryRecognizedEventInfoResponse) XXX_Unmarshal(b []byte) error
- type QuerySafetyParamsRequest
- func (*QuerySafetyParamsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySafetyParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySafetyParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySafetyParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySafetyParamsRequest) ProtoMessage()
- func (m *QuerySafetyParamsRequest) Reset()
- func (m *QuerySafetyParamsRequest) Size() (n int)
- func (m *QuerySafetyParamsRequest) String() string
- func (m *QuerySafetyParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySafetyParamsRequest) XXX_DiscardUnknown()
- func (m *QuerySafetyParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySafetyParamsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySafetyParamsRequest) XXX_Size() int
- func (m *QuerySafetyParamsRequest) XXX_Unmarshal(b []byte) error
- type QuerySafetyParamsResponse
- func (*QuerySafetyParamsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySafetyParamsResponse) GetParams() SafetyParams
- func (m *QuerySafetyParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySafetyParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySafetyParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySafetyParamsResponse) ProtoMessage()
- func (m *QuerySafetyParamsResponse) Reset()
- func (m *QuerySafetyParamsResponse) Size() (n int)
- func (m *QuerySafetyParamsResponse) String() string
- func (m *QuerySafetyParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySafetyParamsResponse) XXX_DiscardUnknown()
- func (m *QuerySafetyParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySafetyParamsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySafetyParamsResponse) XXX_Size() int
- func (m *QuerySafetyParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type SafetyParams
- func (*SafetyParams) Descriptor() ([]byte, []int)
- func (m *SafetyParams) GetDelayBlocks() uint32
- func (m *SafetyParams) GetIsDisabled() bool
- func (m *SafetyParams) Marshal() (dAtA []byte, err error)
- func (m *SafetyParams) MarshalTo(dAtA []byte) (int, error)
- func (m *SafetyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SafetyParams) ProtoMessage()
- func (m *SafetyParams) Reset()
- func (m *SafetyParams) Size() (n int)
- func (m *SafetyParams) String() string
- func (m *SafetyParams) Unmarshal(dAtA []byte) error
- func (m *SafetyParams) Validate() error
- func (m *SafetyParams) XXX_DiscardUnknown()
- func (m *SafetyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafetyParams) XXX_Merge(src proto.Message)
- func (m *SafetyParams) XXX_Size() int
- func (m *SafetyParams) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AcknowledgeBridges(ctx context.Context, req *MsgAcknowledgeBridges) (*MsgAcknowledgeBridgesResponse, error)
- func (*UnimplementedMsgServer) CompleteBridge(ctx context.Context, req *MsgCompleteBridge) (*MsgCompleteBridgeResponse, error)
- func (*UnimplementedMsgServer) UpdateEventParams(ctx context.Context, req *MsgUpdateEventParams) (*MsgUpdateEventParamsResponse, error)
- func (*UnimplementedMsgServer) UpdateProposeParams(ctx context.Context, req *MsgUpdateProposeParams) (*MsgUpdateProposeParamsResponse, error)
- func (*UnimplementedMsgServer) UpdateSafetyParams(ctx context.Context, req *MsgUpdateSafetyParams) (*MsgUpdateSafetyParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AcknowledgedEventInfo(ctx context.Context, req *QueryAcknowledgedEventInfoRequest) (*QueryAcknowledgedEventInfoResponse, error)
- func (*UnimplementedQueryServer) DelayedCompleteBridgeMessages(ctx context.Context, req *QueryDelayedCompleteBridgeMessagesRequest) (*QueryDelayedCompleteBridgeMessagesResponse, error)
- func (*UnimplementedQueryServer) EventParams(ctx context.Context, req *QueryEventParamsRequest) (*QueryEventParamsResponse, error)
- func (*UnimplementedQueryServer) ProposeParams(ctx context.Context, req *QueryProposeParamsRequest) (*QueryProposeParamsResponse, error)
- func (*UnimplementedQueryServer) RecognizedEventInfo(ctx context.Context, req *QueryRecognizedEventInfoRequest) (*QueryRecognizedEventInfoResponse, error)
- func (*UnimplementedQueryServer) SafetyParams(ctx context.Context, req *QuerySafetyParamsRequest) (*QuerySafetyParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "bridge" // StoreKey defines the primary module store key StoreKey = ModuleName )
Module name and store keys.
const ( // AcknowledgedEventInfoKey defines the key for the AcknowledgedEventInfo AcknowledgedEventInfoKey = "AckEventInfo" // EventParamsKey defines the key for the EventParams EventParamsKey = "EventParams" // ProposeParamsKey defines the key for the ProposeParams ProposeParamsKey = "ProposeParams" // SafetyParamsKey defines the key for the SafetyParams SafetyParamsKey = "SafetyParams" )
State
Variables ¶
var ( ErrInvalidLengthBridgeEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBridgeEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBridgeEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBridgeEventInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBridgeEventInfo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBridgeEventInfo = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrBridgeIdNotRecognized = errorsmod.Register( ModuleName, 1, "Bridge event ID is not recognized", ) ErrBridgeIdNotNextToAcknowledge = errorsmod.Register( ModuleName, 2, "Bridge event ID is not the ID to be next acknowledged", ) ErrBridgeIdsNotConsecutive = errorsmod.Register( ModuleName, 3, "Bridge event IDs are not consecutive", ) ErrInvalidAuthority = errorsmod.Register( ModuleName, 4, "Authority is invalid", ) ErrBridgeEventNotFound = errorsmod.Register( ModuleName, 5, "Bridge event not found", ) ErrBridgeEventContentMismatch = errorsmod.Register( ModuleName, 6, "Bridge event content mismatch", ) ErrInvalidEthAddress = errorsmod.Register( ModuleName, 7, "Invalid Ethereum address", ) ErrNegativeDuration = errorsmod.Register( ModuleName, 400, "Duration is negative", ) ErrRateOutOfBounds = errorsmod.Register( ModuleName, 401, "Rate is out of bounds", ) ErrBridgingDisabled = errorsmod.Register( ModuleName, 402, "Bridging is disabled", ) )
x/bridge 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 ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleAddress = authtypes.NewModuleAddress(ModuleName)
)
Functions ¶
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)
Types ¶
type BankKeeper ¶
type BankKeeper interface { MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error SendCoinsFromModuleToAccount( ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins, ) error GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin }
BankKeeper defines the expected bank keeper.
type BridgeEvent ¶
type BridgeEvent struct { // The unique id of the Ethereum event log. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The tokens bridged. Coin types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin"` // The account address or module address to bridge to. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // The Ethereum block height of the event. EthBlockHeight uint64 `protobuf:"varint,4,opt,name=eth_block_height,json=ethBlockHeight,proto3" json:"eth_block_height,omitempty"` }
BridgeEvent is a recognized event from the Ethereum blockchain.
func (*BridgeEvent) Descriptor ¶
func (*BridgeEvent) Descriptor() ([]byte, []int)
func (BridgeEvent) Equal ¶
func (b BridgeEvent) Equal(other BridgeEvent) bool
func (*BridgeEvent) GetAddress ¶
func (m *BridgeEvent) GetAddress() string
func (*BridgeEvent) GetCoin ¶
func (m *BridgeEvent) GetCoin() types.Coin
func (*BridgeEvent) GetEthBlockHeight ¶
func (m *BridgeEvent) GetEthBlockHeight() uint64
func (*BridgeEvent) GetId ¶
func (m *BridgeEvent) GetId() uint32
func (*BridgeEvent) Marshal ¶
func (m *BridgeEvent) Marshal() (dAtA []byte, err error)
func (*BridgeEvent) MarshalToSizedBuffer ¶
func (m *BridgeEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BridgeEvent) ProtoMessage ¶
func (*BridgeEvent) ProtoMessage()
func (*BridgeEvent) Reset ¶
func (m *BridgeEvent) Reset()
func (*BridgeEvent) Size ¶
func (m *BridgeEvent) Size() (n int)
func (*BridgeEvent) String ¶
func (m *BridgeEvent) String() string
func (*BridgeEvent) Unmarshal ¶
func (m *BridgeEvent) Unmarshal(dAtA []byte) error
func (*BridgeEvent) XXX_DiscardUnknown ¶
func (m *BridgeEvent) XXX_DiscardUnknown()
func (*BridgeEvent) XXX_Marshal ¶
func (m *BridgeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BridgeEvent) XXX_Merge ¶
func (m *BridgeEvent) XXX_Merge(src proto.Message)
func (*BridgeEvent) XXX_Size ¶
func (m *BridgeEvent) XXX_Size() int
func (*BridgeEvent) XXX_Unmarshal ¶
func (m *BridgeEvent) XXX_Unmarshal(b []byte) error
type BridgeEventInfo ¶
type BridgeEventInfo struct { // The next event id (the last processed id plus one) of the logs from the // Ethereum contract. NextId uint32 `protobuf:"varint,1,opt,name=next_id,json=nextId,proto3" json:"next_id,omitempty"` // The Ethereum block height of the most recently processed bridge event. EthBlockHeight uint64 `protobuf:"varint,2,opt,name=eth_block_height,json=ethBlockHeight,proto3" json:"eth_block_height,omitempty"` }
BridgeEventInfo stores information about the most recently processed bridge event.
func (*BridgeEventInfo) Descriptor ¶
func (*BridgeEventInfo) Descriptor() ([]byte, []int)
func (*BridgeEventInfo) GetEthBlockHeight ¶
func (m *BridgeEventInfo) GetEthBlockHeight() uint64
func (*BridgeEventInfo) GetNextId ¶
func (m *BridgeEventInfo) GetNextId() uint32
func (*BridgeEventInfo) Marshal ¶
func (m *BridgeEventInfo) Marshal() (dAtA []byte, err error)
func (*BridgeEventInfo) MarshalToSizedBuffer ¶
func (m *BridgeEventInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BridgeEventInfo) ProtoMessage ¶
func (*BridgeEventInfo) ProtoMessage()
func (*BridgeEventInfo) Reset ¶
func (m *BridgeEventInfo) Reset()
func (*BridgeEventInfo) Size ¶
func (m *BridgeEventInfo) Size() (n int)
func (*BridgeEventInfo) String ¶
func (m *BridgeEventInfo) String() string
func (*BridgeEventInfo) Unmarshal ¶
func (m *BridgeEventInfo) Unmarshal(dAtA []byte) error
func (*BridgeEventInfo) Validate ¶
func (b *BridgeEventInfo) Validate() error
func (*BridgeEventInfo) XXX_DiscardUnknown ¶
func (m *BridgeEventInfo) XXX_DiscardUnknown()
func (*BridgeEventInfo) XXX_Marshal ¶
func (m *BridgeEventInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BridgeEventInfo) XXX_Merge ¶
func (m *BridgeEventInfo) XXX_Merge(src proto.Message)
func (*BridgeEventInfo) XXX_Size ¶
func (m *BridgeEventInfo) XXX_Size() int
func (*BridgeEventInfo) XXX_Unmarshal ¶
func (m *BridgeEventInfo) XXX_Unmarshal(b []byte) error
type BridgeKeeper ¶
type BridgeKeeper interface { // Bridge Events GetAcknowledgedEventInfo(ctx sdk.Context) BridgeEventInfo GetRecognizedEventInfo(ctx sdk.Context) BridgeEventInfo AcknowledgeBridges(ctx sdk.Context, bridges []BridgeEvent) error CompleteBridge(ctx sdk.Context, bridges BridgeEvent) error // Event Params GetEventParams(ctx sdk.Context) EventParams UpdateEventParams(ctx sdk.Context, params EventParams) error // Propose Params GetProposeParams(ctx sdk.Context) ProposeParams UpdateProposeParams(ctx sdk.Context, params ProposeParams) error // Safety Params GetSafetyParams(ctx sdk.Context) SafetyParams UpdateSafetyParams(ctx sdk.Context, params SafetyParams) error // Authority. HasAuthority(authority string) bool }
type DelayedCompleteBridgeMessage ¶
type DelayedCompleteBridgeMessage struct { Message MsgCompleteBridge `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` BlockHeight uint32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` }
DelayedCompleteBridgeMessage is a message type for the response of DelayedCompleteBridgeMessages RPC method. It contains the message and the block height at which it will execute.
func (*DelayedCompleteBridgeMessage) Descriptor ¶
func (*DelayedCompleteBridgeMessage) Descriptor() ([]byte, []int)
func (*DelayedCompleteBridgeMessage) GetBlockHeight ¶
func (m *DelayedCompleteBridgeMessage) GetBlockHeight() uint32
func (*DelayedCompleteBridgeMessage) GetMessage ¶
func (m *DelayedCompleteBridgeMessage) GetMessage() MsgCompleteBridge
func (*DelayedCompleteBridgeMessage) Marshal ¶
func (m *DelayedCompleteBridgeMessage) Marshal() (dAtA []byte, err error)
func (*DelayedCompleteBridgeMessage) MarshalTo ¶
func (m *DelayedCompleteBridgeMessage) MarshalTo(dAtA []byte) (int, error)
func (*DelayedCompleteBridgeMessage) MarshalToSizedBuffer ¶
func (m *DelayedCompleteBridgeMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelayedCompleteBridgeMessage) ProtoMessage ¶
func (*DelayedCompleteBridgeMessage) ProtoMessage()
func (*DelayedCompleteBridgeMessage) Reset ¶
func (m *DelayedCompleteBridgeMessage) Reset()
func (*DelayedCompleteBridgeMessage) Size ¶
func (m *DelayedCompleteBridgeMessage) Size() (n int)
func (*DelayedCompleteBridgeMessage) String ¶
func (m *DelayedCompleteBridgeMessage) String() string
func (*DelayedCompleteBridgeMessage) Unmarshal ¶
func (m *DelayedCompleteBridgeMessage) Unmarshal(dAtA []byte) error
func (*DelayedCompleteBridgeMessage) XXX_DiscardUnknown ¶
func (m *DelayedCompleteBridgeMessage) XXX_DiscardUnknown()
func (*DelayedCompleteBridgeMessage) XXX_Marshal ¶
func (m *DelayedCompleteBridgeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelayedCompleteBridgeMessage) XXX_Merge ¶
func (m *DelayedCompleteBridgeMessage) XXX_Merge(src proto.Message)
func (*DelayedCompleteBridgeMessage) XXX_Size ¶
func (m *DelayedCompleteBridgeMessage) XXX_Size() int
func (*DelayedCompleteBridgeMessage) XXX_Unmarshal ¶
func (m *DelayedCompleteBridgeMessage) XXX_Unmarshal(b []byte) error
type EventParams ¶
type EventParams struct { // The denom of the token to mint. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // The numerical chain ID of the Ethereum chain to query. EthChainId uint64 `protobuf:"varint,2,opt,name=eth_chain_id,json=ethChainId,proto3" json:"eth_chain_id,omitempty"` // The address of the Ethereum contract to monitor for logs. EthAddress string `protobuf:"bytes,3,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"` }
EventParams stores parameters about which events to recognize and which tokens to mint.
func (*EventParams) Descriptor ¶
func (*EventParams) Descriptor() ([]byte, []int)
func (*EventParams) GetDenom ¶
func (m *EventParams) GetDenom() string
func (*EventParams) GetEthAddress ¶
func (m *EventParams) GetEthAddress() string
func (*EventParams) GetEthChainId ¶
func (m *EventParams) GetEthChainId() uint64
func (*EventParams) Marshal ¶
func (m *EventParams) Marshal() (dAtA []byte, err error)
func (*EventParams) MarshalToSizedBuffer ¶
func (m *EventParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventParams) ProtoMessage ¶
func (*EventParams) ProtoMessage()
func (*EventParams) Reset ¶
func (m *EventParams) Reset()
func (*EventParams) Size ¶
func (m *EventParams) Size() (n int)
func (*EventParams) String ¶
func (m *EventParams) String() string
func (*EventParams) Unmarshal ¶
func (m *EventParams) Unmarshal(dAtA []byte) error
func (*EventParams) Validate ¶
func (m *EventParams) Validate() error
func (*EventParams) XXX_DiscardUnknown ¶
func (m *EventParams) XXX_DiscardUnknown()
func (*EventParams) XXX_Marshal ¶
func (m *EventParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventParams) XXX_Merge ¶
func (m *EventParams) XXX_Merge(src proto.Message)
func (*EventParams) XXX_Size ¶
func (m *EventParams) XXX_Size() int
func (*EventParams) XXX_Unmarshal ¶
func (m *EventParams) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // The parameters of the module. EventParams EventParams `protobuf:"bytes,1,opt,name=event_params,json=eventParams,proto3" json:"event_params"` ProposeParams ProposeParams `protobuf:"bytes,2,opt,name=propose_params,json=proposeParams,proto3" json:"propose_params"` SafetyParams SafetyParams `protobuf:"bytes,3,opt,name=safety_params,json=safetyParams,proto3" json:"safety_params"` // Acknowledged event info that stores: // - the next event ID to be added to consensus. // - Ethereum block height of the most recently acknowledged bridge event. AcknowledgedEventInfo BridgeEventInfo `protobuf:"bytes,4,opt,name=acknowledged_event_info,json=acknowledgedEventInfo,proto3" json:"acknowledged_event_info"` }
GenesisState defines the bridge module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default bridge genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAcknowledgedEventInfo ¶
func (m *GenesisState) GetAcknowledgedEventInfo() BridgeEventInfo
func (*GenesisState) GetEventParams ¶
func (m *GenesisState) GetEventParams() EventParams
func (*GenesisState) GetProposeParams ¶
func (m *GenesisState) GetProposeParams() ProposeParams
func (*GenesisState) GetSafetyParams ¶
func (m *GenesisState) GetSafetyParams() SafetyParams
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 MsgAcknowledgeBridges ¶
type MsgAcknowledgeBridges struct { // The events to acknowledge. Events []BridgeEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events"` }
MsgAcknowledgeBridges is the Msg/AcknowledgeBridges request type.
func (*MsgAcknowledgeBridges) Descriptor ¶
func (*MsgAcknowledgeBridges) Descriptor() ([]byte, []int)
func (*MsgAcknowledgeBridges) GetEvents ¶
func (m *MsgAcknowledgeBridges) GetEvents() []BridgeEvent
func (*MsgAcknowledgeBridges) GetSigners ¶
func (msg *MsgAcknowledgeBridges) GetSigners() []sdk.AccAddress
func (*MsgAcknowledgeBridges) Marshal ¶
func (m *MsgAcknowledgeBridges) Marshal() (dAtA []byte, err error)
func (*MsgAcknowledgeBridges) MarshalTo ¶
func (m *MsgAcknowledgeBridges) MarshalTo(dAtA []byte) (int, error)
func (*MsgAcknowledgeBridges) MarshalToSizedBuffer ¶
func (m *MsgAcknowledgeBridges) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcknowledgeBridges) ProtoMessage ¶
func (*MsgAcknowledgeBridges) ProtoMessage()
func (*MsgAcknowledgeBridges) Reset ¶
func (m *MsgAcknowledgeBridges) Reset()
func (*MsgAcknowledgeBridges) Size ¶
func (m *MsgAcknowledgeBridges) Size() (n int)
func (*MsgAcknowledgeBridges) String ¶
func (m *MsgAcknowledgeBridges) String() string
func (*MsgAcknowledgeBridges) Unmarshal ¶
func (m *MsgAcknowledgeBridges) Unmarshal(dAtA []byte) error
func (*MsgAcknowledgeBridges) ValidateBasic ¶
func (msg *MsgAcknowledgeBridges) ValidateBasic() error
func (*MsgAcknowledgeBridges) XXX_DiscardUnknown ¶
func (m *MsgAcknowledgeBridges) XXX_DiscardUnknown()
func (*MsgAcknowledgeBridges) XXX_Marshal ¶
func (m *MsgAcknowledgeBridges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcknowledgeBridges) XXX_Merge ¶
func (m *MsgAcknowledgeBridges) XXX_Merge(src proto.Message)
func (*MsgAcknowledgeBridges) XXX_Size ¶
func (m *MsgAcknowledgeBridges) XXX_Size() int
func (*MsgAcknowledgeBridges) XXX_Unmarshal ¶
func (m *MsgAcknowledgeBridges) XXX_Unmarshal(b []byte) error
type MsgAcknowledgeBridgesResponse ¶
type MsgAcknowledgeBridgesResponse struct { }
MsgAcknowledgeBridgesResponse is the Msg/AcknowledgeBridgesResponse response type.
func (*MsgAcknowledgeBridgesResponse) Descriptor ¶
func (*MsgAcknowledgeBridgesResponse) Descriptor() ([]byte, []int)
func (*MsgAcknowledgeBridgesResponse) Marshal ¶
func (m *MsgAcknowledgeBridgesResponse) Marshal() (dAtA []byte, err error)
func (*MsgAcknowledgeBridgesResponse) MarshalTo ¶
func (m *MsgAcknowledgeBridgesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAcknowledgeBridgesResponse) MarshalToSizedBuffer ¶
func (m *MsgAcknowledgeBridgesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcknowledgeBridgesResponse) ProtoMessage ¶
func (*MsgAcknowledgeBridgesResponse) ProtoMessage()
func (*MsgAcknowledgeBridgesResponse) Reset ¶
func (m *MsgAcknowledgeBridgesResponse) Reset()
func (*MsgAcknowledgeBridgesResponse) Size ¶
func (m *MsgAcknowledgeBridgesResponse) Size() (n int)
func (*MsgAcknowledgeBridgesResponse) String ¶
func (m *MsgAcknowledgeBridgesResponse) String() string
func (*MsgAcknowledgeBridgesResponse) Unmarshal ¶
func (m *MsgAcknowledgeBridgesResponse) Unmarshal(dAtA []byte) error
func (*MsgAcknowledgeBridgesResponse) XXX_DiscardUnknown ¶
func (m *MsgAcknowledgeBridgesResponse) XXX_DiscardUnknown()
func (*MsgAcknowledgeBridgesResponse) XXX_Marshal ¶
func (m *MsgAcknowledgeBridgesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcknowledgeBridgesResponse) XXX_Merge ¶
func (m *MsgAcknowledgeBridgesResponse) XXX_Merge(src proto.Message)
func (*MsgAcknowledgeBridgesResponse) XXX_Size ¶
func (m *MsgAcknowledgeBridgesResponse) XXX_Size() int
func (*MsgAcknowledgeBridgesResponse) XXX_Unmarshal ¶
func (m *MsgAcknowledgeBridgesResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // AcknowledgeBridges acknowledges bridges and sets them to complete at a // later block. AcknowledgeBridges(ctx context.Context, in *MsgAcknowledgeBridges, opts ...grpc.CallOption) (*MsgAcknowledgeBridgesResponse, error) // CompleteBridge finalizes a bridge by minting coins to an address. CompleteBridge(ctx context.Context, in *MsgCompleteBridge, opts ...grpc.CallOption) (*MsgCompleteBridgeResponse, error) // UpdateEventParams updates the EventParams in state. UpdateEventParams(ctx context.Context, in *MsgUpdateEventParams, opts ...grpc.CallOption) (*MsgUpdateEventParamsResponse, error) // UpdateProposeParams updates the ProposeParams in state. UpdateProposeParams(ctx context.Context, in *MsgUpdateProposeParams, opts ...grpc.CallOption) (*MsgUpdateProposeParamsResponse, error) // UpdateSafetyParams updates the SafetyParams in state. UpdateSafetyParams(ctx context.Context, in *MsgUpdateSafetyParams, opts ...grpc.CallOption) (*MsgUpdateSafetyParamsResponse, 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 MsgCompleteBridge ¶
type MsgCompleteBridge struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The event to complete. Event BridgeEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event"` }
MsgCompleteBridge is the Msg/CompleteBridgeResponse request type.
func (*MsgCompleteBridge) Descriptor ¶
func (*MsgCompleteBridge) Descriptor() ([]byte, []int)
func (*MsgCompleteBridge) GetAuthority ¶
func (m *MsgCompleteBridge) GetAuthority() string
func (*MsgCompleteBridge) GetEvent ¶
func (m *MsgCompleteBridge) GetEvent() BridgeEvent
func (*MsgCompleteBridge) GetSigners ¶
func (msg *MsgCompleteBridge) GetSigners() []sdk.AccAddress
func (*MsgCompleteBridge) Marshal ¶
func (m *MsgCompleteBridge) Marshal() (dAtA []byte, err error)
func (*MsgCompleteBridge) MarshalTo ¶
func (m *MsgCompleteBridge) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteBridge) MarshalToSizedBuffer ¶
func (m *MsgCompleteBridge) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteBridge) ProtoMessage ¶
func (*MsgCompleteBridge) ProtoMessage()
func (*MsgCompleteBridge) Reset ¶
func (m *MsgCompleteBridge) Reset()
func (*MsgCompleteBridge) Size ¶
func (m *MsgCompleteBridge) Size() (n int)
func (*MsgCompleteBridge) String ¶
func (m *MsgCompleteBridge) String() string
func (*MsgCompleteBridge) Unmarshal ¶
func (m *MsgCompleteBridge) Unmarshal(dAtA []byte) error
func (*MsgCompleteBridge) ValidateBasic ¶
func (msg *MsgCompleteBridge) ValidateBasic() error
func (*MsgCompleteBridge) XXX_DiscardUnknown ¶
func (m *MsgCompleteBridge) XXX_DiscardUnknown()
func (*MsgCompleteBridge) XXX_Marshal ¶
func (m *MsgCompleteBridge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteBridge) XXX_Merge ¶
func (m *MsgCompleteBridge) XXX_Merge(src proto.Message)
func (*MsgCompleteBridge) XXX_Size ¶
func (m *MsgCompleteBridge) XXX_Size() int
func (*MsgCompleteBridge) XXX_Unmarshal ¶
func (m *MsgCompleteBridge) XXX_Unmarshal(b []byte) error
type MsgCompleteBridgeResponse ¶
type MsgCompleteBridgeResponse struct { }
MsgCompleteBridgeResponse is the Msg/CompleteBridgeResponse response type.
func (*MsgCompleteBridgeResponse) Descriptor ¶
func (*MsgCompleteBridgeResponse) Descriptor() ([]byte, []int)
func (*MsgCompleteBridgeResponse) Marshal ¶
func (m *MsgCompleteBridgeResponse) Marshal() (dAtA []byte, err error)
func (*MsgCompleteBridgeResponse) MarshalTo ¶
func (m *MsgCompleteBridgeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteBridgeResponse) MarshalToSizedBuffer ¶
func (m *MsgCompleteBridgeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteBridgeResponse) ProtoMessage ¶
func (*MsgCompleteBridgeResponse) ProtoMessage()
func (*MsgCompleteBridgeResponse) Reset ¶
func (m *MsgCompleteBridgeResponse) Reset()
func (*MsgCompleteBridgeResponse) Size ¶
func (m *MsgCompleteBridgeResponse) Size() (n int)
func (*MsgCompleteBridgeResponse) String ¶
func (m *MsgCompleteBridgeResponse) String() string
func (*MsgCompleteBridgeResponse) Unmarshal ¶
func (m *MsgCompleteBridgeResponse) Unmarshal(dAtA []byte) error
func (*MsgCompleteBridgeResponse) XXX_DiscardUnknown ¶
func (m *MsgCompleteBridgeResponse) XXX_DiscardUnknown()
func (*MsgCompleteBridgeResponse) XXX_Marshal ¶
func (m *MsgCompleteBridgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteBridgeResponse) XXX_Merge ¶
func (m *MsgCompleteBridgeResponse) XXX_Merge(src proto.Message)
func (*MsgCompleteBridgeResponse) XXX_Size ¶
func (m *MsgCompleteBridgeResponse) XXX_Size() int
func (*MsgCompleteBridgeResponse) XXX_Unmarshal ¶
func (m *MsgCompleteBridgeResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // AcknowledgeBridges acknowledges bridges and sets them to complete at a // later block. AcknowledgeBridges(context.Context, *MsgAcknowledgeBridges) (*MsgAcknowledgeBridgesResponse, error) // CompleteBridge finalizes a bridge by minting coins to an address. CompleteBridge(context.Context, *MsgCompleteBridge) (*MsgCompleteBridgeResponse, error) // UpdateEventParams updates the EventParams in state. UpdateEventParams(context.Context, *MsgUpdateEventParams) (*MsgUpdateEventParamsResponse, error) // UpdateProposeParams updates the ProposeParams in state. UpdateProposeParams(context.Context, *MsgUpdateProposeParams) (*MsgUpdateProposeParamsResponse, error) // UpdateSafetyParams updates the SafetyParams in state. UpdateSafetyParams(context.Context, *MsgUpdateSafetyParams) (*MsgUpdateSafetyParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateEventParams ¶
type MsgUpdateEventParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The parameters to update. Each field must be set. Params EventParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateEventParams is the Msg/UpdateEventParams request type.
func (*MsgUpdateEventParams) Descriptor ¶
func (*MsgUpdateEventParams) Descriptor() ([]byte, []int)
func (*MsgUpdateEventParams) GetAuthority ¶
func (m *MsgUpdateEventParams) GetAuthority() string
func (*MsgUpdateEventParams) GetParams ¶
func (m *MsgUpdateEventParams) GetParams() EventParams
func (*MsgUpdateEventParams) GetSigners ¶
func (msg *MsgUpdateEventParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateEventParams) Marshal ¶
func (m *MsgUpdateEventParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateEventParams) MarshalTo ¶
func (m *MsgUpdateEventParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateEventParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateEventParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateEventParams) ProtoMessage ¶
func (*MsgUpdateEventParams) ProtoMessage()
func (*MsgUpdateEventParams) Reset ¶
func (m *MsgUpdateEventParams) Reset()
func (*MsgUpdateEventParams) Size ¶
func (m *MsgUpdateEventParams) Size() (n int)
func (*MsgUpdateEventParams) String ¶
func (m *MsgUpdateEventParams) String() string
func (*MsgUpdateEventParams) Unmarshal ¶
func (m *MsgUpdateEventParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateEventParams) ValidateBasic ¶
func (msg *MsgUpdateEventParams) ValidateBasic() error
func (*MsgUpdateEventParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateEventParams) XXX_DiscardUnknown()
func (*MsgUpdateEventParams) XXX_Marshal ¶
func (m *MsgUpdateEventParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateEventParams) XXX_Merge ¶
func (m *MsgUpdateEventParams) XXX_Merge(src proto.Message)
func (*MsgUpdateEventParams) XXX_Size ¶
func (m *MsgUpdateEventParams) XXX_Size() int
func (*MsgUpdateEventParams) XXX_Unmarshal ¶
func (m *MsgUpdateEventParams) XXX_Unmarshal(b []byte) error
type MsgUpdateEventParamsResponse ¶
type MsgUpdateEventParamsResponse struct { }
MsgUpdateEventParamsResponse is the Msg/UpdateEventParams response type.
func (*MsgUpdateEventParamsResponse) Descriptor ¶
func (*MsgUpdateEventParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateEventParamsResponse) Marshal ¶
func (m *MsgUpdateEventParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateEventParamsResponse) MarshalTo ¶
func (m *MsgUpdateEventParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateEventParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateEventParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateEventParamsResponse) ProtoMessage ¶
func (*MsgUpdateEventParamsResponse) ProtoMessage()
func (*MsgUpdateEventParamsResponse) Reset ¶
func (m *MsgUpdateEventParamsResponse) Reset()
func (*MsgUpdateEventParamsResponse) Size ¶
func (m *MsgUpdateEventParamsResponse) Size() (n int)
func (*MsgUpdateEventParamsResponse) String ¶
func (m *MsgUpdateEventParamsResponse) String() string
func (*MsgUpdateEventParamsResponse) Unmarshal ¶
func (m *MsgUpdateEventParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateEventParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateEventParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateEventParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateEventParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateEventParamsResponse) XXX_Merge ¶
func (m *MsgUpdateEventParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateEventParamsResponse) XXX_Size ¶
func (m *MsgUpdateEventParamsResponse) XXX_Size() int
func (*MsgUpdateEventParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateEventParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateProposeParams ¶
type MsgUpdateProposeParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The parameters to update. Each field must be set. Params ProposeParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateProposeParams is the Msg/UpdateProposeParams request type.
func (*MsgUpdateProposeParams) Descriptor ¶
func (*MsgUpdateProposeParams) Descriptor() ([]byte, []int)
func (*MsgUpdateProposeParams) GetAuthority ¶
func (m *MsgUpdateProposeParams) GetAuthority() string
func (*MsgUpdateProposeParams) GetParams ¶
func (m *MsgUpdateProposeParams) GetParams() ProposeParams
func (*MsgUpdateProposeParams) GetSigners ¶
func (msg *MsgUpdateProposeParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateProposeParams) Marshal ¶
func (m *MsgUpdateProposeParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateProposeParams) MarshalTo ¶
func (m *MsgUpdateProposeParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateProposeParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateProposeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateProposeParams) ProtoMessage ¶
func (*MsgUpdateProposeParams) ProtoMessage()
func (*MsgUpdateProposeParams) Reset ¶
func (m *MsgUpdateProposeParams) Reset()
func (*MsgUpdateProposeParams) Size ¶
func (m *MsgUpdateProposeParams) Size() (n int)
func (*MsgUpdateProposeParams) String ¶
func (m *MsgUpdateProposeParams) String() string
func (*MsgUpdateProposeParams) Unmarshal ¶
func (m *MsgUpdateProposeParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateProposeParams) ValidateBasic ¶
func (msg *MsgUpdateProposeParams) ValidateBasic() error
func (*MsgUpdateProposeParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateProposeParams) XXX_DiscardUnknown()
func (*MsgUpdateProposeParams) XXX_Marshal ¶
func (m *MsgUpdateProposeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateProposeParams) XXX_Merge ¶
func (m *MsgUpdateProposeParams) XXX_Merge(src proto.Message)
func (*MsgUpdateProposeParams) XXX_Size ¶
func (m *MsgUpdateProposeParams) XXX_Size() int
func (*MsgUpdateProposeParams) XXX_Unmarshal ¶
func (m *MsgUpdateProposeParams) XXX_Unmarshal(b []byte) error
type MsgUpdateProposeParamsResponse ¶
type MsgUpdateProposeParamsResponse struct { }
MsgUpdateProposeParamsResponse is the Msg/UpdateProposeParams response type.
func (*MsgUpdateProposeParamsResponse) Descriptor ¶
func (*MsgUpdateProposeParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateProposeParamsResponse) Marshal ¶
func (m *MsgUpdateProposeParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateProposeParamsResponse) MarshalTo ¶
func (m *MsgUpdateProposeParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateProposeParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateProposeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateProposeParamsResponse) ProtoMessage ¶
func (*MsgUpdateProposeParamsResponse) ProtoMessage()
func (*MsgUpdateProposeParamsResponse) Reset ¶
func (m *MsgUpdateProposeParamsResponse) Reset()
func (*MsgUpdateProposeParamsResponse) Size ¶
func (m *MsgUpdateProposeParamsResponse) Size() (n int)
func (*MsgUpdateProposeParamsResponse) String ¶
func (m *MsgUpdateProposeParamsResponse) String() string
func (*MsgUpdateProposeParamsResponse) Unmarshal ¶
func (m *MsgUpdateProposeParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateProposeParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateProposeParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateProposeParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateProposeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateProposeParamsResponse) XXX_Merge ¶
func (m *MsgUpdateProposeParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateProposeParamsResponse) XXX_Size ¶
func (m *MsgUpdateProposeParamsResponse) XXX_Size() int
func (*MsgUpdateProposeParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateProposeParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateSafetyParams ¶
type MsgUpdateSafetyParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The parameters to update. Each field must be set. Params SafetyParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateSafetyParams is the Msg/UpdateSafetyParams request type.
func (*MsgUpdateSafetyParams) Descriptor ¶
func (*MsgUpdateSafetyParams) Descriptor() ([]byte, []int)
func (*MsgUpdateSafetyParams) GetAuthority ¶
func (m *MsgUpdateSafetyParams) GetAuthority() string
func (*MsgUpdateSafetyParams) GetParams ¶
func (m *MsgUpdateSafetyParams) GetParams() SafetyParams
func (*MsgUpdateSafetyParams) GetSigners ¶
func (msg *MsgUpdateSafetyParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateSafetyParams) Marshal ¶
func (m *MsgUpdateSafetyParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSafetyParams) MarshalTo ¶
func (m *MsgUpdateSafetyParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSafetyParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateSafetyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSafetyParams) ProtoMessage ¶
func (*MsgUpdateSafetyParams) ProtoMessage()
func (*MsgUpdateSafetyParams) Reset ¶
func (m *MsgUpdateSafetyParams) Reset()
func (*MsgUpdateSafetyParams) Size ¶
func (m *MsgUpdateSafetyParams) Size() (n int)
func (*MsgUpdateSafetyParams) String ¶
func (m *MsgUpdateSafetyParams) String() string
func (*MsgUpdateSafetyParams) Unmarshal ¶
func (m *MsgUpdateSafetyParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateSafetyParams) ValidateBasic ¶
func (msg *MsgUpdateSafetyParams) ValidateBasic() error
func (*MsgUpdateSafetyParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateSafetyParams) XXX_DiscardUnknown()
func (*MsgUpdateSafetyParams) XXX_Marshal ¶
func (m *MsgUpdateSafetyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSafetyParams) XXX_Merge ¶
func (m *MsgUpdateSafetyParams) XXX_Merge(src proto.Message)
func (*MsgUpdateSafetyParams) XXX_Size ¶
func (m *MsgUpdateSafetyParams) XXX_Size() int
func (*MsgUpdateSafetyParams) XXX_Unmarshal ¶
func (m *MsgUpdateSafetyParams) XXX_Unmarshal(b []byte) error
type MsgUpdateSafetyParamsResponse ¶
type MsgUpdateSafetyParamsResponse struct { }
MsgUpdateSafetyParamsResponse is the Msg/UpdateSafetyParams response type.
func (*MsgUpdateSafetyParamsResponse) Descriptor ¶
func (*MsgUpdateSafetyParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateSafetyParamsResponse) Marshal ¶
func (m *MsgUpdateSafetyParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSafetyParamsResponse) MarshalTo ¶
func (m *MsgUpdateSafetyParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSafetyParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateSafetyParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSafetyParamsResponse) ProtoMessage ¶
func (*MsgUpdateSafetyParamsResponse) ProtoMessage()
func (*MsgUpdateSafetyParamsResponse) Reset ¶
func (m *MsgUpdateSafetyParamsResponse) Reset()
func (*MsgUpdateSafetyParamsResponse) Size ¶
func (m *MsgUpdateSafetyParamsResponse) Size() (n int)
func (*MsgUpdateSafetyParamsResponse) String ¶
func (m *MsgUpdateSafetyParamsResponse) String() string
func (*MsgUpdateSafetyParamsResponse) Unmarshal ¶
func (m *MsgUpdateSafetyParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateSafetyParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateSafetyParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateSafetyParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateSafetyParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSafetyParamsResponse) XXX_Merge ¶
func (m *MsgUpdateSafetyParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateSafetyParamsResponse) XXX_Size ¶
func (m *MsgUpdateSafetyParamsResponse) XXX_Size() int
func (*MsgUpdateSafetyParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateSafetyParamsResponse) XXX_Unmarshal(b []byte) error
type ProposeParams ¶
type ProposeParams struct { // The maximum number of bridge events to propose per block. // Limits the number of events to propose in a single block // in-order to smooth out the flow of events. MaxBridgesPerBlock uint32 `protobuf:"varint,1,opt,name=max_bridges_per_block,json=maxBridgesPerBlock,proto3" json:"max_bridges_per_block,omitempty"` // The minimum duration to wait between a finalized bridge and // proposing it. This allows other validators to have enough time to // also recognize its occurence. Therefore the bridge daemon should // pool for new finalized events at least as often as this parameter. ProposeDelayDuration time.Duration `protobuf:"bytes,2,opt,name=propose_delay_duration,json=proposeDelayDuration,proto3,stdduration" json:"propose_delay_duration"` // Do not propose any events if a [0, 1_000_000) random number generator // generates a number smaller than this number. // Setting this parameter to 1_000_000 means always skipping proposing events. SkipRatePpm uint32 `protobuf:"varint,3,opt,name=skip_rate_ppm,json=skipRatePpm,proto3" json:"skip_rate_ppm,omitempty"` // Do not propose any events if the timestamp of the proposal block is // behind the proposers' wall-clock by at least this duration. SkipIfBlockDelayedByDuration time.Duration `` /* 155-byte string literal not displayed */ }
ProposeParams stores parameters for proposing to the module.
func (*ProposeParams) Descriptor ¶
func (*ProposeParams) Descriptor() ([]byte, []int)
func (*ProposeParams) GetMaxBridgesPerBlock ¶
func (m *ProposeParams) GetMaxBridgesPerBlock() uint32
func (*ProposeParams) GetProposeDelayDuration ¶
func (m *ProposeParams) GetProposeDelayDuration() time.Duration
func (*ProposeParams) GetSkipIfBlockDelayedByDuration ¶
func (m *ProposeParams) GetSkipIfBlockDelayedByDuration() time.Duration
func (*ProposeParams) GetSkipRatePpm ¶
func (m *ProposeParams) GetSkipRatePpm() uint32
func (*ProposeParams) Marshal ¶
func (m *ProposeParams) Marshal() (dAtA []byte, err error)
func (*ProposeParams) MarshalToSizedBuffer ¶
func (m *ProposeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposeParams) ProtoMessage ¶
func (*ProposeParams) ProtoMessage()
func (*ProposeParams) Reset ¶
func (m *ProposeParams) Reset()
func (*ProposeParams) Size ¶
func (m *ProposeParams) Size() (n int)
func (*ProposeParams) String ¶
func (m *ProposeParams) String() string
func (*ProposeParams) Unmarshal ¶
func (m *ProposeParams) Unmarshal(dAtA []byte) error
func (*ProposeParams) Validate ¶
func (m *ProposeParams) Validate() error
func (*ProposeParams) XXX_DiscardUnknown ¶
func (m *ProposeParams) XXX_DiscardUnknown()
func (*ProposeParams) XXX_Marshal ¶
func (m *ProposeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposeParams) XXX_Merge ¶
func (m *ProposeParams) XXX_Merge(src proto.Message)
func (*ProposeParams) XXX_Size ¶
func (m *ProposeParams) XXX_Size() int
func (*ProposeParams) XXX_Unmarshal ¶
func (m *ProposeParams) XXX_Unmarshal(b []byte) error
type QueryAcknowledgedEventInfoRequest ¶
type QueryAcknowledgedEventInfoRequest struct { }
QueryAcknowledgedEventInfoRequest is a request type for the AcknowledgedEventInfo RPC method.
func (*QueryAcknowledgedEventInfoRequest) Descriptor ¶
func (*QueryAcknowledgedEventInfoRequest) Descriptor() ([]byte, []int)
func (*QueryAcknowledgedEventInfoRequest) Marshal ¶
func (m *QueryAcknowledgedEventInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryAcknowledgedEventInfoRequest) MarshalTo ¶
func (m *QueryAcknowledgedEventInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAcknowledgedEventInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryAcknowledgedEventInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAcknowledgedEventInfoRequest) ProtoMessage ¶
func (*QueryAcknowledgedEventInfoRequest) ProtoMessage()
func (*QueryAcknowledgedEventInfoRequest) Reset ¶
func (m *QueryAcknowledgedEventInfoRequest) Reset()
func (*QueryAcknowledgedEventInfoRequest) Size ¶
func (m *QueryAcknowledgedEventInfoRequest) Size() (n int)
func (*QueryAcknowledgedEventInfoRequest) String ¶
func (m *QueryAcknowledgedEventInfoRequest) String() string
func (*QueryAcknowledgedEventInfoRequest) Unmarshal ¶
func (m *QueryAcknowledgedEventInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryAcknowledgedEventInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryAcknowledgedEventInfoRequest) XXX_DiscardUnknown()
func (*QueryAcknowledgedEventInfoRequest) XXX_Marshal ¶
func (m *QueryAcknowledgedEventInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAcknowledgedEventInfoRequest) XXX_Merge ¶
func (m *QueryAcknowledgedEventInfoRequest) XXX_Merge(src proto.Message)
func (*QueryAcknowledgedEventInfoRequest) XXX_Size ¶
func (m *QueryAcknowledgedEventInfoRequest) XXX_Size() int
func (*QueryAcknowledgedEventInfoRequest) XXX_Unmarshal ¶
func (m *QueryAcknowledgedEventInfoRequest) XXX_Unmarshal(b []byte) error
type QueryAcknowledgedEventInfoResponse ¶
type QueryAcknowledgedEventInfoResponse struct {
Info BridgeEventInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
}
QueryAcknowledgedEventInfoResponse is a response type for the AcknowledgedEventInfo RPC method.
func (*QueryAcknowledgedEventInfoResponse) Descriptor ¶
func (*QueryAcknowledgedEventInfoResponse) Descriptor() ([]byte, []int)
func (*QueryAcknowledgedEventInfoResponse) GetInfo ¶
func (m *QueryAcknowledgedEventInfoResponse) GetInfo() BridgeEventInfo
func (*QueryAcknowledgedEventInfoResponse) Marshal ¶
func (m *QueryAcknowledgedEventInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryAcknowledgedEventInfoResponse) MarshalTo ¶
func (m *QueryAcknowledgedEventInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAcknowledgedEventInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryAcknowledgedEventInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAcknowledgedEventInfoResponse) ProtoMessage ¶
func (*QueryAcknowledgedEventInfoResponse) ProtoMessage()
func (*QueryAcknowledgedEventInfoResponse) Reset ¶
func (m *QueryAcknowledgedEventInfoResponse) Reset()
func (*QueryAcknowledgedEventInfoResponse) Size ¶
func (m *QueryAcknowledgedEventInfoResponse) Size() (n int)
func (*QueryAcknowledgedEventInfoResponse) String ¶
func (m *QueryAcknowledgedEventInfoResponse) String() string
func (*QueryAcknowledgedEventInfoResponse) Unmarshal ¶
func (m *QueryAcknowledgedEventInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryAcknowledgedEventInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryAcknowledgedEventInfoResponse) XXX_DiscardUnknown()
func (*QueryAcknowledgedEventInfoResponse) XXX_Marshal ¶
func (m *QueryAcknowledgedEventInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAcknowledgedEventInfoResponse) XXX_Merge ¶
func (m *QueryAcknowledgedEventInfoResponse) XXX_Merge(src proto.Message)
func (*QueryAcknowledgedEventInfoResponse) XXX_Size ¶
func (m *QueryAcknowledgedEventInfoResponse) XXX_Size() int
func (*QueryAcknowledgedEventInfoResponse) XXX_Unmarshal ¶
func (m *QueryAcknowledgedEventInfoResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Queries the EventParams. EventParams(ctx context.Context, in *QueryEventParamsRequest, opts ...grpc.CallOption) (*QueryEventParamsResponse, error) // Queries the ProposeParams. ProposeParams(ctx context.Context, in *QueryProposeParamsRequest, opts ...grpc.CallOption) (*QueryProposeParamsResponse, error) // Queries the SafetyParams. SafetyParams(ctx context.Context, in *QuerySafetyParamsRequest, opts ...grpc.CallOption) (*QuerySafetyParamsResponse, error) // Queries the AcknowledgedEventInfo. // An "acknowledged" event is one that is in-consensus and has been stored // in-state. AcknowledgedEventInfo(ctx context.Context, in *QueryAcknowledgedEventInfoRequest, opts ...grpc.CallOption) (*QueryAcknowledgedEventInfoResponse, error) // Queries the RecognizedEventInfo. // A "recognized" event is one that is finalized on the Ethereum blockchain // and has been identified by the queried node. It is not yet in-consensus. RecognizedEventInfo(ctx context.Context, in *QueryRecognizedEventInfoRequest, opts ...grpc.CallOption) (*QueryRecognizedEventInfoResponse, error) // Queries all `MsgCompleteBridge` messages that are delayed (not yet // executed) and corresponding block heights at which they will execute. DelayedCompleteBridgeMessages(ctx context.Context, in *QueryDelayedCompleteBridgeMessagesRequest, opts ...grpc.CallOption) (*QueryDelayedCompleteBridgeMessagesResponse, 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 QueryDelayedCompleteBridgeMessagesRequest ¶
type QueryDelayedCompleteBridgeMessagesRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
QueryDelayedCompleteBridgeMessagesRequest is a request type for the DelayedCompleteBridgeMessages RPC method.
func (*QueryDelayedCompleteBridgeMessagesRequest) Descriptor ¶
func (*QueryDelayedCompleteBridgeMessagesRequest) Descriptor() ([]byte, []int)
func (*QueryDelayedCompleteBridgeMessagesRequest) GetAddress ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) GetAddress() string
func (*QueryDelayedCompleteBridgeMessagesRequest) Marshal ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelayedCompleteBridgeMessagesRequest) MarshalTo ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelayedCompleteBridgeMessagesRequest) MarshalToSizedBuffer ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelayedCompleteBridgeMessagesRequest) ProtoMessage ¶
func (*QueryDelayedCompleteBridgeMessagesRequest) ProtoMessage()
func (*QueryDelayedCompleteBridgeMessagesRequest) Reset ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) Reset()
func (*QueryDelayedCompleteBridgeMessagesRequest) Size ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) Size() (n int)
func (*QueryDelayedCompleteBridgeMessagesRequest) String ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) String() string
func (*QueryDelayedCompleteBridgeMessagesRequest) Unmarshal ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) Unmarshal(dAtA []byte) error
func (*QueryDelayedCompleteBridgeMessagesRequest) XXX_DiscardUnknown ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_DiscardUnknown()
func (*QueryDelayedCompleteBridgeMessagesRequest) XXX_Marshal ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelayedCompleteBridgeMessagesRequest) XXX_Merge ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Merge(src proto.Message)
func (*QueryDelayedCompleteBridgeMessagesRequest) XXX_Size ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Size() int
func (*QueryDelayedCompleteBridgeMessagesRequest) XXX_Unmarshal ¶
func (m *QueryDelayedCompleteBridgeMessagesRequest) XXX_Unmarshal(b []byte) error
type QueryDelayedCompleteBridgeMessagesResponse ¶
type QueryDelayedCompleteBridgeMessagesResponse struct {
Messages []DelayedCompleteBridgeMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages"`
}
QueryDelayedCompleteBridgeMessagesResponse is a response type for the DelayedCompleteBridgeMessages RPC method.
func (*QueryDelayedCompleteBridgeMessagesResponse) Descriptor ¶
func (*QueryDelayedCompleteBridgeMessagesResponse) Descriptor() ([]byte, []int)
func (*QueryDelayedCompleteBridgeMessagesResponse) GetMessages ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) GetMessages() []DelayedCompleteBridgeMessage
func (*QueryDelayedCompleteBridgeMessagesResponse) Marshal ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelayedCompleteBridgeMessagesResponse) MarshalTo ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelayedCompleteBridgeMessagesResponse) MarshalToSizedBuffer ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelayedCompleteBridgeMessagesResponse) ProtoMessage ¶
func (*QueryDelayedCompleteBridgeMessagesResponse) ProtoMessage()
func (*QueryDelayedCompleteBridgeMessagesResponse) Reset ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) Reset()
func (*QueryDelayedCompleteBridgeMessagesResponse) Size ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) Size() (n int)
func (*QueryDelayedCompleteBridgeMessagesResponse) String ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) String() string
func (*QueryDelayedCompleteBridgeMessagesResponse) Unmarshal ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) Unmarshal(dAtA []byte) error
func (*QueryDelayedCompleteBridgeMessagesResponse) XXX_DiscardUnknown ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_DiscardUnknown()
func (*QueryDelayedCompleteBridgeMessagesResponse) XXX_Marshal ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelayedCompleteBridgeMessagesResponse) XXX_Merge ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Merge(src proto.Message)
func (*QueryDelayedCompleteBridgeMessagesResponse) XXX_Size ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Size() int
func (*QueryDelayedCompleteBridgeMessagesResponse) XXX_Unmarshal ¶
func (m *QueryDelayedCompleteBridgeMessagesResponse) XXX_Unmarshal(b []byte) error
type QueryEventParamsRequest ¶
type QueryEventParamsRequest struct { }
QueryEventParamsRequest is a request type for the EventParams RPC method.
func (*QueryEventParamsRequest) Descriptor ¶
func (*QueryEventParamsRequest) Descriptor() ([]byte, []int)
func (*QueryEventParamsRequest) Marshal ¶
func (m *QueryEventParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryEventParamsRequest) MarshalTo ¶
func (m *QueryEventParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEventParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryEventParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEventParamsRequest) ProtoMessage ¶
func (*QueryEventParamsRequest) ProtoMessage()
func (*QueryEventParamsRequest) Reset ¶
func (m *QueryEventParamsRequest) Reset()
func (*QueryEventParamsRequest) Size ¶
func (m *QueryEventParamsRequest) Size() (n int)
func (*QueryEventParamsRequest) String ¶
func (m *QueryEventParamsRequest) String() string
func (*QueryEventParamsRequest) Unmarshal ¶
func (m *QueryEventParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryEventParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryEventParamsRequest) XXX_DiscardUnknown()
func (*QueryEventParamsRequest) XXX_Marshal ¶
func (m *QueryEventParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEventParamsRequest) XXX_Merge ¶
func (m *QueryEventParamsRequest) XXX_Merge(src proto.Message)
func (*QueryEventParamsRequest) XXX_Size ¶
func (m *QueryEventParamsRequest) XXX_Size() int
func (*QueryEventParamsRequest) XXX_Unmarshal ¶
func (m *QueryEventParamsRequest) XXX_Unmarshal(b []byte) error
type QueryEventParamsResponse ¶
type QueryEventParamsResponse struct {
Params EventParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryEventParamsResponse is a response type for the EventParams RPC method.
func (*QueryEventParamsResponse) Descriptor ¶
func (*QueryEventParamsResponse) Descriptor() ([]byte, []int)
func (*QueryEventParamsResponse) GetParams ¶
func (m *QueryEventParamsResponse) GetParams() EventParams
func (*QueryEventParamsResponse) Marshal ¶
func (m *QueryEventParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryEventParamsResponse) MarshalTo ¶
func (m *QueryEventParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEventParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryEventParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEventParamsResponse) ProtoMessage ¶
func (*QueryEventParamsResponse) ProtoMessage()
func (*QueryEventParamsResponse) Reset ¶
func (m *QueryEventParamsResponse) Reset()
func (*QueryEventParamsResponse) Size ¶
func (m *QueryEventParamsResponse) Size() (n int)
func (*QueryEventParamsResponse) String ¶
func (m *QueryEventParamsResponse) String() string
func (*QueryEventParamsResponse) Unmarshal ¶
func (m *QueryEventParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryEventParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryEventParamsResponse) XXX_DiscardUnknown()
func (*QueryEventParamsResponse) XXX_Marshal ¶
func (m *QueryEventParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEventParamsResponse) XXX_Merge ¶
func (m *QueryEventParamsResponse) XXX_Merge(src proto.Message)
func (*QueryEventParamsResponse) XXX_Size ¶
func (m *QueryEventParamsResponse) XXX_Size() int
func (*QueryEventParamsResponse) XXX_Unmarshal ¶
func (m *QueryEventParamsResponse) XXX_Unmarshal(b []byte) error
type QueryProposeParamsRequest ¶
type QueryProposeParamsRequest struct { }
QueryProposeParamsRequest is a request type for the ProposeParams RPC method.
func (*QueryProposeParamsRequest) Descriptor ¶
func (*QueryProposeParamsRequest) Descriptor() ([]byte, []int)
func (*QueryProposeParamsRequest) Marshal ¶
func (m *QueryProposeParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryProposeParamsRequest) MarshalTo ¶
func (m *QueryProposeParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposeParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryProposeParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposeParamsRequest) ProtoMessage ¶
func (*QueryProposeParamsRequest) ProtoMessage()
func (*QueryProposeParamsRequest) Reset ¶
func (m *QueryProposeParamsRequest) Reset()
func (*QueryProposeParamsRequest) Size ¶
func (m *QueryProposeParamsRequest) Size() (n int)
func (*QueryProposeParamsRequest) String ¶
func (m *QueryProposeParamsRequest) String() string
func (*QueryProposeParamsRequest) Unmarshal ¶
func (m *QueryProposeParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryProposeParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryProposeParamsRequest) XXX_DiscardUnknown()
func (*QueryProposeParamsRequest) XXX_Marshal ¶
func (m *QueryProposeParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposeParamsRequest) XXX_Merge ¶
func (m *QueryProposeParamsRequest) XXX_Merge(src proto.Message)
func (*QueryProposeParamsRequest) XXX_Size ¶
func (m *QueryProposeParamsRequest) XXX_Size() int
func (*QueryProposeParamsRequest) XXX_Unmarshal ¶
func (m *QueryProposeParamsRequest) XXX_Unmarshal(b []byte) error
type QueryProposeParamsResponse ¶
type QueryProposeParamsResponse struct {
Params ProposeParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryProposeParamsResponse is a response type for the ProposeParams RPC method.
func (*QueryProposeParamsResponse) Descriptor ¶
func (*QueryProposeParamsResponse) Descriptor() ([]byte, []int)
func (*QueryProposeParamsResponse) GetParams ¶
func (m *QueryProposeParamsResponse) GetParams() ProposeParams
func (*QueryProposeParamsResponse) Marshal ¶
func (m *QueryProposeParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryProposeParamsResponse) MarshalTo ¶
func (m *QueryProposeParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposeParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryProposeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposeParamsResponse) ProtoMessage ¶
func (*QueryProposeParamsResponse) ProtoMessage()
func (*QueryProposeParamsResponse) Reset ¶
func (m *QueryProposeParamsResponse) Reset()
func (*QueryProposeParamsResponse) Size ¶
func (m *QueryProposeParamsResponse) Size() (n int)
func (*QueryProposeParamsResponse) String ¶
func (m *QueryProposeParamsResponse) String() string
func (*QueryProposeParamsResponse) Unmarshal ¶
func (m *QueryProposeParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryProposeParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryProposeParamsResponse) XXX_DiscardUnknown()
func (*QueryProposeParamsResponse) XXX_Marshal ¶
func (m *QueryProposeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposeParamsResponse) XXX_Merge ¶
func (m *QueryProposeParamsResponse) XXX_Merge(src proto.Message)
func (*QueryProposeParamsResponse) XXX_Size ¶
func (m *QueryProposeParamsResponse) XXX_Size() int
func (*QueryProposeParamsResponse) XXX_Unmarshal ¶
func (m *QueryProposeParamsResponse) XXX_Unmarshal(b []byte) error
type QueryRecognizedEventInfoRequest ¶
type QueryRecognizedEventInfoRequest struct { }
QueryRecognizedEventInfoRequest is a request type for the RecognizedEventInfo RPC method.
func (*QueryRecognizedEventInfoRequest) Descriptor ¶
func (*QueryRecognizedEventInfoRequest) Descriptor() ([]byte, []int)
func (*QueryRecognizedEventInfoRequest) Marshal ¶
func (m *QueryRecognizedEventInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryRecognizedEventInfoRequest) MarshalTo ¶
func (m *QueryRecognizedEventInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRecognizedEventInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryRecognizedEventInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRecognizedEventInfoRequest) ProtoMessage ¶
func (*QueryRecognizedEventInfoRequest) ProtoMessage()
func (*QueryRecognizedEventInfoRequest) Reset ¶
func (m *QueryRecognizedEventInfoRequest) Reset()
func (*QueryRecognizedEventInfoRequest) Size ¶
func (m *QueryRecognizedEventInfoRequest) Size() (n int)
func (*QueryRecognizedEventInfoRequest) String ¶
func (m *QueryRecognizedEventInfoRequest) String() string
func (*QueryRecognizedEventInfoRequest) Unmarshal ¶
func (m *QueryRecognizedEventInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryRecognizedEventInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryRecognizedEventInfoRequest) XXX_DiscardUnknown()
func (*QueryRecognizedEventInfoRequest) XXX_Marshal ¶
func (m *QueryRecognizedEventInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRecognizedEventInfoRequest) XXX_Merge ¶
func (m *QueryRecognizedEventInfoRequest) XXX_Merge(src proto.Message)
func (*QueryRecognizedEventInfoRequest) XXX_Size ¶
func (m *QueryRecognizedEventInfoRequest) XXX_Size() int
func (*QueryRecognizedEventInfoRequest) XXX_Unmarshal ¶
func (m *QueryRecognizedEventInfoRequest) XXX_Unmarshal(b []byte) error
type QueryRecognizedEventInfoResponse ¶
type QueryRecognizedEventInfoResponse struct {
Info BridgeEventInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
}
QueryRecognizedEventInfoResponse is a response type for the RecognizedEventInfo RPC method.
func (*QueryRecognizedEventInfoResponse) Descriptor ¶
func (*QueryRecognizedEventInfoResponse) Descriptor() ([]byte, []int)
func (*QueryRecognizedEventInfoResponse) GetInfo ¶
func (m *QueryRecognizedEventInfoResponse) GetInfo() BridgeEventInfo
func (*QueryRecognizedEventInfoResponse) Marshal ¶
func (m *QueryRecognizedEventInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryRecognizedEventInfoResponse) MarshalTo ¶
func (m *QueryRecognizedEventInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRecognizedEventInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryRecognizedEventInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRecognizedEventInfoResponse) ProtoMessage ¶
func (*QueryRecognizedEventInfoResponse) ProtoMessage()
func (*QueryRecognizedEventInfoResponse) Reset ¶
func (m *QueryRecognizedEventInfoResponse) Reset()
func (*QueryRecognizedEventInfoResponse) Size ¶
func (m *QueryRecognizedEventInfoResponse) Size() (n int)
func (*QueryRecognizedEventInfoResponse) String ¶
func (m *QueryRecognizedEventInfoResponse) String() string
func (*QueryRecognizedEventInfoResponse) Unmarshal ¶
func (m *QueryRecognizedEventInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryRecognizedEventInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryRecognizedEventInfoResponse) XXX_DiscardUnknown()
func (*QueryRecognizedEventInfoResponse) XXX_Marshal ¶
func (m *QueryRecognizedEventInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRecognizedEventInfoResponse) XXX_Merge ¶
func (m *QueryRecognizedEventInfoResponse) XXX_Merge(src proto.Message)
func (*QueryRecognizedEventInfoResponse) XXX_Size ¶
func (m *QueryRecognizedEventInfoResponse) XXX_Size() int
func (*QueryRecognizedEventInfoResponse) XXX_Unmarshal ¶
func (m *QueryRecognizedEventInfoResponse) XXX_Unmarshal(b []byte) error
type QuerySafetyParamsRequest ¶
type QuerySafetyParamsRequest struct { }
QuerySafetyParamsRequest is a request type for the SafetyParams RPC method.
func (*QuerySafetyParamsRequest) Descriptor ¶
func (*QuerySafetyParamsRequest) Descriptor() ([]byte, []int)
func (*QuerySafetyParamsRequest) Marshal ¶
func (m *QuerySafetyParamsRequest) Marshal() (dAtA []byte, err error)
func (*QuerySafetyParamsRequest) MarshalTo ¶
func (m *QuerySafetyParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySafetyParamsRequest) MarshalToSizedBuffer ¶
func (m *QuerySafetyParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySafetyParamsRequest) ProtoMessage ¶
func (*QuerySafetyParamsRequest) ProtoMessage()
func (*QuerySafetyParamsRequest) Reset ¶
func (m *QuerySafetyParamsRequest) Reset()
func (*QuerySafetyParamsRequest) Size ¶
func (m *QuerySafetyParamsRequest) Size() (n int)
func (*QuerySafetyParamsRequest) String ¶
func (m *QuerySafetyParamsRequest) String() string
func (*QuerySafetyParamsRequest) Unmarshal ¶
func (m *QuerySafetyParamsRequest) Unmarshal(dAtA []byte) error
func (*QuerySafetyParamsRequest) XXX_DiscardUnknown ¶
func (m *QuerySafetyParamsRequest) XXX_DiscardUnknown()
func (*QuerySafetyParamsRequest) XXX_Marshal ¶
func (m *QuerySafetyParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySafetyParamsRequest) XXX_Merge ¶
func (m *QuerySafetyParamsRequest) XXX_Merge(src proto.Message)
func (*QuerySafetyParamsRequest) XXX_Size ¶
func (m *QuerySafetyParamsRequest) XXX_Size() int
func (*QuerySafetyParamsRequest) XXX_Unmarshal ¶
func (m *QuerySafetyParamsRequest) XXX_Unmarshal(b []byte) error
type QuerySafetyParamsResponse ¶
type QuerySafetyParamsResponse struct {
Params SafetyParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QuerySafetyParamsResponse is a response type for the SafetyParams RPC method.
func (*QuerySafetyParamsResponse) Descriptor ¶
func (*QuerySafetyParamsResponse) Descriptor() ([]byte, []int)
func (*QuerySafetyParamsResponse) GetParams ¶
func (m *QuerySafetyParamsResponse) GetParams() SafetyParams
func (*QuerySafetyParamsResponse) Marshal ¶
func (m *QuerySafetyParamsResponse) Marshal() (dAtA []byte, err error)
func (*QuerySafetyParamsResponse) MarshalTo ¶
func (m *QuerySafetyParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySafetyParamsResponse) MarshalToSizedBuffer ¶
func (m *QuerySafetyParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySafetyParamsResponse) ProtoMessage ¶
func (*QuerySafetyParamsResponse) ProtoMessage()
func (*QuerySafetyParamsResponse) Reset ¶
func (m *QuerySafetyParamsResponse) Reset()
func (*QuerySafetyParamsResponse) Size ¶
func (m *QuerySafetyParamsResponse) Size() (n int)
func (*QuerySafetyParamsResponse) String ¶
func (m *QuerySafetyParamsResponse) String() string
func (*QuerySafetyParamsResponse) Unmarshal ¶
func (m *QuerySafetyParamsResponse) Unmarshal(dAtA []byte) error
func (*QuerySafetyParamsResponse) XXX_DiscardUnknown ¶
func (m *QuerySafetyParamsResponse) XXX_DiscardUnknown()
func (*QuerySafetyParamsResponse) XXX_Marshal ¶
func (m *QuerySafetyParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySafetyParamsResponse) XXX_Merge ¶
func (m *QuerySafetyParamsResponse) XXX_Merge(src proto.Message)
func (*QuerySafetyParamsResponse) XXX_Size ¶
func (m *QuerySafetyParamsResponse) XXX_Size() int
func (*QuerySafetyParamsResponse) XXX_Unmarshal ¶
func (m *QuerySafetyParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Queries the EventParams. EventParams(context.Context, *QueryEventParamsRequest) (*QueryEventParamsResponse, error) // Queries the ProposeParams. ProposeParams(context.Context, *QueryProposeParamsRequest) (*QueryProposeParamsResponse, error) // Queries the SafetyParams. SafetyParams(context.Context, *QuerySafetyParamsRequest) (*QuerySafetyParamsResponse, error) // Queries the AcknowledgedEventInfo. // An "acknowledged" event is one that is in-consensus and has been stored // in-state. AcknowledgedEventInfo(context.Context, *QueryAcknowledgedEventInfoRequest) (*QueryAcknowledgedEventInfoResponse, error) // Queries the RecognizedEventInfo. // A "recognized" event is one that is finalized on the Ethereum blockchain // and has been identified by the queried node. It is not yet in-consensus. RecognizedEventInfo(context.Context, *QueryRecognizedEventInfoRequest) (*QueryRecognizedEventInfoResponse, error) // Queries all `MsgCompleteBridge` messages that are delayed (not yet // executed) and corresponding block heights at which they will execute. DelayedCompleteBridgeMessages(context.Context, *QueryDelayedCompleteBridgeMessagesRequest) (*QueryDelayedCompleteBridgeMessagesResponse, error) }
QueryServer is the server API for Query service.
type SafetyParams ¶
type SafetyParams struct { // True if bridging is disabled. IsDisabled bool `protobuf:"varint,1,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"` // The number of blocks that bridges accepted in-consensus will be pending // until the minted tokens are granted. DelayBlocks uint32 `protobuf:"varint,2,opt,name=delay_blocks,json=delayBlocks,proto3" json:"delay_blocks,omitempty"` }
SafetyParams stores safety parameters for the module.
func (*SafetyParams) Descriptor ¶
func (*SafetyParams) Descriptor() ([]byte, []int)
func (*SafetyParams) GetDelayBlocks ¶
func (m *SafetyParams) GetDelayBlocks() uint32
func (*SafetyParams) GetIsDisabled ¶
func (m *SafetyParams) GetIsDisabled() bool
func (*SafetyParams) Marshal ¶
func (m *SafetyParams) Marshal() (dAtA []byte, err error)
func (*SafetyParams) MarshalToSizedBuffer ¶
func (m *SafetyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SafetyParams) ProtoMessage ¶
func (*SafetyParams) ProtoMessage()
func (*SafetyParams) Reset ¶
func (m *SafetyParams) Reset()
func (*SafetyParams) Size ¶
func (m *SafetyParams) Size() (n int)
func (*SafetyParams) String ¶
func (m *SafetyParams) String() string
func (*SafetyParams) Unmarshal ¶
func (m *SafetyParams) Unmarshal(dAtA []byte) error
func (*SafetyParams) Validate ¶
func (m *SafetyParams) Validate() error
func (*SafetyParams) XXX_DiscardUnknown ¶
func (m *SafetyParams) XXX_DiscardUnknown()
func (*SafetyParams) XXX_Marshal ¶
func (m *SafetyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafetyParams) XXX_Merge ¶
func (m *SafetyParams) XXX_Merge(src proto.Message)
func (*SafetyParams) XXX_Size ¶
func (m *SafetyParams) XXX_Size() int
func (*SafetyParams) XXX_Unmarshal ¶
func (m *SafetyParams) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AcknowledgeBridges ¶
func (*UnimplementedMsgServer) AcknowledgeBridges(ctx context.Context, req *MsgAcknowledgeBridges) (*MsgAcknowledgeBridgesResponse, error)
func (*UnimplementedMsgServer) CompleteBridge ¶
func (*UnimplementedMsgServer) CompleteBridge(ctx context.Context, req *MsgCompleteBridge) (*MsgCompleteBridgeResponse, error)
func (*UnimplementedMsgServer) UpdateEventParams ¶
func (*UnimplementedMsgServer) UpdateEventParams(ctx context.Context, req *MsgUpdateEventParams) (*MsgUpdateEventParamsResponse, error)
func (*UnimplementedMsgServer) UpdateProposeParams ¶
func (*UnimplementedMsgServer) UpdateProposeParams(ctx context.Context, req *MsgUpdateProposeParams) (*MsgUpdateProposeParamsResponse, error)
func (*UnimplementedMsgServer) UpdateSafetyParams ¶
func (*UnimplementedMsgServer) UpdateSafetyParams(ctx context.Context, req *MsgUpdateSafetyParams) (*MsgUpdateSafetyParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AcknowledgedEventInfo ¶
func (*UnimplementedQueryServer) AcknowledgedEventInfo(ctx context.Context, req *QueryAcknowledgedEventInfoRequest) (*QueryAcknowledgedEventInfoResponse, error)
func (*UnimplementedQueryServer) DelayedCompleteBridgeMessages ¶
func (*UnimplementedQueryServer) DelayedCompleteBridgeMessages(ctx context.Context, req *QueryDelayedCompleteBridgeMessagesRequest) (*QueryDelayedCompleteBridgeMessagesResponse, error)
func (*UnimplementedQueryServer) EventParams ¶
func (*UnimplementedQueryServer) EventParams(ctx context.Context, req *QueryEventParamsRequest) (*QueryEventParamsResponse, error)
func (*UnimplementedQueryServer) ProposeParams ¶
func (*UnimplementedQueryServer) ProposeParams(ctx context.Context, req *QueryProposeParamsRequest) (*QueryProposeParamsResponse, error)
func (*UnimplementedQueryServer) RecognizedEventInfo ¶
func (*UnimplementedQueryServer) RecognizedEventInfo(ctx context.Context, req *QueryRecognizedEventInfoRequest) (*QueryRecognizedEventInfoResponse, error)
func (*UnimplementedQueryServer) SafetyParams ¶
func (*UnimplementedQueryServer) SafetyParams(ctx context.Context, req *QuerySafetyParamsRequest) (*QuerySafetyParamsResponse, error)
Source Files ¶
- addresses.go
- bridge_event.go
- bridge_event.pb.go
- bridge_event_info.go
- bridge_event_info.pb.go
- codec.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- msg_acknowledge_bridges.go
- msg_complete_bridge.go
- msg_update_event_params.go
- msg_update_propose_params.go
- msg_update_safety_params.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go