Documentation
¶
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func MustMarshalSupply(cdc codec.Codec, supply uint64) []byte
- func MustMarshalTokenID(cdc codec.Codec, tokenID string) []byte
- func MustUnMarshalSupply(cdc codec.Codec, value []byte) uint64
- func MustUnMarshalTokenID(cdc codec.Codec, value []byte) string
- func NewPacketBuilder() *abi.Arguments
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SetInterval(someFunc func(), milliseconds int, async bool) chan bool
- func SetTimeout(someFunc func(), milliseconds int)
- type AguaclaraPacketData
- func (*AguaclaraPacketData) Descriptor() ([]byte, []int)
- func (m *AguaclaraPacketData) GetCreator() string
- func (m *AguaclaraPacketData) GetCurrentChainId() string
- func (m *AguaclaraPacketData) GetDidRecipient() string
- func (m *AguaclaraPacketData) GetHash() string
- func (m *AguaclaraPacketData) GetRecipientChainId() string
- func (m *AguaclaraPacketData) GetToMetadata() string
- func (m *AguaclaraPacketData) GetTokenAddress() string
- func (m *AguaclaraPacketData) GetTokenId() string
- func (m *AguaclaraPacketData) Marshal() (dAtA []byte, err error)
- func (m *AguaclaraPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *AguaclaraPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AguaclaraPacketData) ProtoMessage()
- func (m *AguaclaraPacketData) Reset()
- func (m *AguaclaraPacketData) Size() (n int)
- func (m *AguaclaraPacketData) String() string
- func (s *AguaclaraPacketData) ToAbiPacked(args ...interface{}) ([]byte, error)
- func (s *AguaclaraPacketData) ToAbiUnpacked(data []byte) ([]interface{}, error)
- func (m *AguaclaraPacketData) Unmarshal(dAtA []byte) error
- func (m *AguaclaraPacketData) XXX_DiscardUnknown()
- func (m *AguaclaraPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AguaclaraPacketData) XXX_Merge(src proto.Message)
- func (m *AguaclaraPacketData) XXX_Size() int
- func (m *AguaclaraPacketData) XXX_Unmarshal(b []byte) error
- type ChannelKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetPortId() string
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgSendMetadataOwnership
- func (*MsgSendMetadataOwnership) Descriptor() ([]byte, []int)
- func (m *MsgSendMetadataOwnership) GetChannelId() string
- func (m *MsgSendMetadataOwnership) GetCreator() string
- func (m *MsgSendMetadataOwnership) GetData() *AguaclaraPacketData
- func (m *MsgSendMetadataOwnership) GetPortId() string
- func (msg *MsgSendMetadataOwnership) GetSignBytes() []byte
- func (msg *MsgSendMetadataOwnership) GetSigners() []sdk.AccAddress
- func (m *MsgSendMetadataOwnership) Marshal() (dAtA []byte, err error)
- func (m *MsgSendMetadataOwnership) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendMetadataOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendMetadataOwnership) ProtoMessage()
- func (m *MsgSendMetadataOwnership) Reset()
- func (msg *MsgSendMetadataOwnership) Route() string
- func (m *MsgSendMetadataOwnership) Size() (n int)
- func (m *MsgSendMetadataOwnership) String() string
- func (msg *MsgSendMetadataOwnership) Type() string
- func (m *MsgSendMetadataOwnership) Unmarshal(dAtA []byte) error
- func (msg *MsgSendMetadataOwnership) ValidateBasic() error
- func (m *MsgSendMetadataOwnership) XXX_DiscardUnknown()
- func (m *MsgSendMetadataOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendMetadataOwnership) XXX_Merge(src proto.Message)
- func (m *MsgSendMetadataOwnership) XXX_Size() int
- func (m *MsgSendMetadataOwnership) XXX_Unmarshal(b []byte) error
- type MsgSendMetadataOwnershipResponse
- func (*MsgSendMetadataOwnershipResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendMetadataOwnershipResponse) GetCid() string
- func (m *MsgSendMetadataOwnershipResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendMetadataOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendMetadataOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendMetadataOwnershipResponse) ProtoMessage()
- func (m *MsgSendMetadataOwnershipResponse) Reset()
- func (m *MsgSendMetadataOwnershipResponse) Size() (n int)
- func (m *MsgSendMetadataOwnershipResponse) String() string
- func (m *MsgSendMetadataOwnershipResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendMetadataOwnershipResponse) XXX_DiscardUnknown()
- func (m *MsgSendMetadataOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendMetadataOwnershipResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendMetadataOwnershipResponse) XXX_Size() int
- func (m *MsgSendMetadataOwnershipResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type NoData
- func (*NoData) Descriptor() ([]byte, []int)
- func (m *NoData) Marshal() (dAtA []byte, err error)
- func (m *NoData) MarshalTo(dAtA []byte) (int, error)
- func (m *NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoData) ProtoMessage()
- func (m *NoData) Reset()
- func (m *NoData) Size() (n int)
- func (m *NoData) String() string
- func (m *NoData) Unmarshal(dAtA []byte) error
- func (m *NoData) XXX_DiscardUnknown()
- func (m *NoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoData) XXX_Merge(src proto.Message)
- func (m *NoData) XXX_Size() int
- func (m *NoData) XXX_Unmarshal(b []byte) error
- type PortKeeper
- type QueryClient
- type QueryServer
- type ScopedKeeper
- type UnimplementedMsgServer
- type UnimplementedQueryServer
Constants ¶
const ( EventTypeTimeout = "timeout" AttributeKeyAckSuccess = "success" AttributeKeyAck = "acknowledgement" AttributeKeyAckError = "error" )
IBC events
const ( // ModuleName defines the module name ModuleName = "aguaclara" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_aguaclara" // Version defines the current version the IBC module supports Version = "aguaclara-1" // PortID is the default port id that module binds to PortID = "aguaclara" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
Variables ¶
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout") ErrInvalidVersion = sdkerrors.Register(ModuleName, 1501, "invalid version") )
x/aguaclara 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 ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = 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 (
ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
var ( // PortKey defines the key to store the port ID in store PortKey = KeyPrefix("aguaclara-port-") )
Functions ¶
func MustMarshalSupply ¶
return supply protobuf code
func MustMarshalTokenID ¶
return the tokenID protobuf code
func MustUnMarshalSupply ¶
return th supply
func MustUnMarshalTokenID ¶
return th tokenID
func NewPacketBuilder ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SetInterval ¶
func SetTimeout ¶
func SetTimeout(someFunc func(), milliseconds int)
Types ¶
type AguaclaraPacketData ¶
type AguaclaraPacketData struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` TokenAddress string `protobuf:"bytes,2,opt,name=tokenAddress,proto3" json:"tokenAddress,omitempty"` TokenId string `protobuf:"bytes,3,opt,name=tokenId,proto3" json:"tokenId,omitempty"` DidRecipient string `protobuf:"bytes,4,opt,name=didRecipient,proto3" json:"didRecipient,omitempty"` ToMetadata string `protobuf:"bytes,5,opt,name=toMetadata,proto3" json:"toMetadata,omitempty"` Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` CurrentChainId string `protobuf:"bytes,7,opt,name=currentChainId,proto3" json:"currentChainId,omitempty"` RecipientChainId string `protobuf:"bytes,8,opt,name=recipientChainId,proto3" json:"recipientChainId,omitempty"` }
func (*AguaclaraPacketData) Descriptor ¶
func (*AguaclaraPacketData) Descriptor() ([]byte, []int)
func (*AguaclaraPacketData) GetCreator ¶
func (m *AguaclaraPacketData) GetCreator() string
func (*AguaclaraPacketData) GetCurrentChainId ¶
func (m *AguaclaraPacketData) GetCurrentChainId() string
func (*AguaclaraPacketData) GetDidRecipient ¶
func (m *AguaclaraPacketData) GetDidRecipient() string
func (*AguaclaraPacketData) GetHash ¶
func (m *AguaclaraPacketData) GetHash() string
func (*AguaclaraPacketData) GetRecipientChainId ¶
func (m *AguaclaraPacketData) GetRecipientChainId() string
func (*AguaclaraPacketData) GetToMetadata ¶
func (m *AguaclaraPacketData) GetToMetadata() string
func (*AguaclaraPacketData) GetTokenAddress ¶
func (m *AguaclaraPacketData) GetTokenAddress() string
func (*AguaclaraPacketData) GetTokenId ¶
func (m *AguaclaraPacketData) GetTokenId() string
func (*AguaclaraPacketData) Marshal ¶
func (m *AguaclaraPacketData) Marshal() (dAtA []byte, err error)
func (*AguaclaraPacketData) MarshalTo ¶
func (m *AguaclaraPacketData) MarshalTo(dAtA []byte) (int, error)
func (*AguaclaraPacketData) MarshalToSizedBuffer ¶
func (m *AguaclaraPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AguaclaraPacketData) ProtoMessage ¶
func (*AguaclaraPacketData) ProtoMessage()
func (*AguaclaraPacketData) Reset ¶
func (m *AguaclaraPacketData) Reset()
func (*AguaclaraPacketData) Size ¶
func (m *AguaclaraPacketData) Size() (n int)
func (*AguaclaraPacketData) String ¶
func (m *AguaclaraPacketData) String() string
func (*AguaclaraPacketData) ToAbiPacked ¶
func (s *AguaclaraPacketData) ToAbiPacked(args ...interface{}) ([]byte, error)
ToAbiPacked
func (*AguaclaraPacketData) ToAbiUnpacked ¶
func (s *AguaclaraPacketData) ToAbiUnpacked(data []byte) ([]interface{}, error)
ToAbiUnpacked
func (*AguaclaraPacketData) Unmarshal ¶
func (m *AguaclaraPacketData) Unmarshal(dAtA []byte) error
func (*AguaclaraPacketData) XXX_DiscardUnknown ¶
func (m *AguaclaraPacketData) XXX_DiscardUnknown()
func (*AguaclaraPacketData) XXX_Marshal ¶
func (m *AguaclaraPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AguaclaraPacketData) XXX_Merge ¶
func (m *AguaclaraPacketData) XXX_Merge(src proto.Message)
func (*AguaclaraPacketData) XXX_Size ¶
func (m *AguaclaraPacketData) XXX_Size() int
func (*AguaclaraPacketData) XXX_Unmarshal ¶
func (m *AguaclaraPacketData) XXX_Unmarshal(b []byte) error
type ChannelKeeper ¶
type ChannelKeeper interface { GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool) GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool) SendPacket(ctx sdk.Context, channelCap *capabilitytypes.Capability, packet ibcexported.PacketI) error ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error }
ChannelKeeper defines the expected IBC channel keeper
type GenesisState ¶
type GenesisState struct {
PortId string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
}
GenesisState defines the aguaclara module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetPortId ¶
func (m *GenesisState) GetPortId() string
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { //Create ancon metadata SendMetadataOwnership(ctx context.Context, in *MsgSendMetadataOwnership, opts ...grpc.CallOption) (*MsgSendMetadataOwnershipResponse, 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 MsgSendMetadataOwnership ¶
type MsgSendMetadataOwnership struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` PortId string `protobuf:"bytes,2,opt,name=portId,proto3" json:"portId,omitempty"` ChannelId string `protobuf:"bytes,3,opt,name=channelId,proto3" json:"channelId,omitempty"` Data *AguaclaraPacketData `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` }
func (*MsgSendMetadataOwnership) Descriptor ¶
func (*MsgSendMetadataOwnership) Descriptor() ([]byte, []int)
func (*MsgSendMetadataOwnership) GetChannelId ¶
func (m *MsgSendMetadataOwnership) GetChannelId() string
func (*MsgSendMetadataOwnership) GetCreator ¶
func (m *MsgSendMetadataOwnership) GetCreator() string
func (*MsgSendMetadataOwnership) GetData ¶
func (m *MsgSendMetadataOwnership) GetData() *AguaclaraPacketData
func (*MsgSendMetadataOwnership) GetPortId ¶
func (m *MsgSendMetadataOwnership) GetPortId() string
func (*MsgSendMetadataOwnership) GetSignBytes ¶
func (msg *MsgSendMetadataOwnership) GetSignBytes() []byte
func (*MsgSendMetadataOwnership) GetSigners ¶
func (msg *MsgSendMetadataOwnership) GetSigners() []sdk.AccAddress
func (*MsgSendMetadataOwnership) Marshal ¶
func (m *MsgSendMetadataOwnership) Marshal() (dAtA []byte, err error)
func (*MsgSendMetadataOwnership) MarshalTo ¶
func (m *MsgSendMetadataOwnership) MarshalTo(dAtA []byte) (int, error)
func (*MsgSendMetadataOwnership) MarshalToSizedBuffer ¶
func (m *MsgSendMetadataOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendMetadataOwnership) ProtoMessage ¶
func (*MsgSendMetadataOwnership) ProtoMessage()
func (*MsgSendMetadataOwnership) Reset ¶
func (m *MsgSendMetadataOwnership) Reset()
func (*MsgSendMetadataOwnership) Route ¶
func (msg *MsgSendMetadataOwnership) Route() string
func (*MsgSendMetadataOwnership) Size ¶
func (m *MsgSendMetadataOwnership) Size() (n int)
func (*MsgSendMetadataOwnership) String ¶
func (m *MsgSendMetadataOwnership) String() string
func (*MsgSendMetadataOwnership) Type ¶
func (msg *MsgSendMetadataOwnership) Type() string
func (*MsgSendMetadataOwnership) Unmarshal ¶
func (m *MsgSendMetadataOwnership) Unmarshal(dAtA []byte) error
func (*MsgSendMetadataOwnership) ValidateBasic ¶
func (msg *MsgSendMetadataOwnership) ValidateBasic() error
func (*MsgSendMetadataOwnership) XXX_DiscardUnknown ¶
func (m *MsgSendMetadataOwnership) XXX_DiscardUnknown()
func (*MsgSendMetadataOwnership) XXX_Marshal ¶
func (m *MsgSendMetadataOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendMetadataOwnership) XXX_Merge ¶
func (m *MsgSendMetadataOwnership) XXX_Merge(src proto.Message)
func (*MsgSendMetadataOwnership) XXX_Size ¶
func (m *MsgSendMetadataOwnership) XXX_Size() int
func (*MsgSendMetadataOwnership) XXX_Unmarshal ¶
func (m *MsgSendMetadataOwnership) XXX_Unmarshal(b []byte) error
type MsgSendMetadataOwnershipResponse ¶
type MsgSendMetadataOwnershipResponse struct {
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (*MsgSendMetadataOwnershipResponse) Descriptor ¶
func (*MsgSendMetadataOwnershipResponse) Descriptor() ([]byte, []int)
func (*MsgSendMetadataOwnershipResponse) GetCid ¶
func (m *MsgSendMetadataOwnershipResponse) GetCid() string
func (*MsgSendMetadataOwnershipResponse) Marshal ¶
func (m *MsgSendMetadataOwnershipResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendMetadataOwnershipResponse) MarshalTo ¶
func (m *MsgSendMetadataOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSendMetadataOwnershipResponse) MarshalToSizedBuffer ¶
func (m *MsgSendMetadataOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendMetadataOwnershipResponse) ProtoMessage ¶
func (*MsgSendMetadataOwnershipResponse) ProtoMessage()
func (*MsgSendMetadataOwnershipResponse) Reset ¶
func (m *MsgSendMetadataOwnershipResponse) Reset()
func (*MsgSendMetadataOwnershipResponse) Size ¶
func (m *MsgSendMetadataOwnershipResponse) Size() (n int)
func (*MsgSendMetadataOwnershipResponse) String ¶
func (m *MsgSendMetadataOwnershipResponse) String() string
func (*MsgSendMetadataOwnershipResponse) Unmarshal ¶
func (m *MsgSendMetadataOwnershipResponse) Unmarshal(dAtA []byte) error
func (*MsgSendMetadataOwnershipResponse) XXX_DiscardUnknown ¶
func (m *MsgSendMetadataOwnershipResponse) XXX_DiscardUnknown()
func (*MsgSendMetadataOwnershipResponse) XXX_Marshal ¶
func (m *MsgSendMetadataOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendMetadataOwnershipResponse) XXX_Merge ¶
func (m *MsgSendMetadataOwnershipResponse) XXX_Merge(src proto.Message)
func (*MsgSendMetadataOwnershipResponse) XXX_Size ¶
func (m *MsgSendMetadataOwnershipResponse) XXX_Size() int
func (*MsgSendMetadataOwnershipResponse) XXX_Unmarshal ¶
func (m *MsgSendMetadataOwnershipResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { //Create ancon metadata SendMetadataOwnership(context.Context, *MsgSendMetadataOwnership) (*MsgSendMetadataOwnershipResponse, error) }
MsgServer is the server API for Msg service.
type NoData ¶
type NoData struct { }
func (*NoData) Descriptor ¶
func (*NoData) MarshalToSizedBuffer ¶
func (*NoData) ProtoMessage ¶
func (*NoData) ProtoMessage()
func (*NoData) XXX_DiscardUnknown ¶
func (m *NoData) XXX_DiscardUnknown()
func (*NoData) XXX_Marshal ¶
func (*NoData) XXX_Unmarshal ¶
type PortKeeper ¶
type PortKeeper interface {
BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}
PortKeeper defines the expected IBC port keeper
type QueryClient ¶
type QueryClient interface { }
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 ScopedKeeper ¶
type ScopedKeeper interface { GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error }
ScopedKeeper defines the expected IBC scoped keeper
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) SendMetadataOwnership ¶
func (*UnimplementedMsgServer) SendMetadataOwnership(ctx context.Context, req *MsgSendMetadataOwnership) (*MsgSendMetadataOwnershipResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.