Documentation ¶
Index ¶
- Variables
- type ActiveChannel
- func (*ActiveChannel) Descriptor() ([]byte, []int)
- func (m *ActiveChannel) GetChannelId() string
- func (m *ActiveChannel) GetConnectionId() string
- func (m *ActiveChannel) GetIsMiddlewareEnabled() bool
- func (m *ActiveChannel) GetPortId() string
- func (m *ActiveChannel) Marshal() (dAtA []byte, err error)
- func (m *ActiveChannel) MarshalTo(dAtA []byte) (int, error)
- func (m *ActiveChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActiveChannel) ProtoMessage()
- func (m *ActiveChannel) Reset()
- func (m *ActiveChannel) Size() (n int)
- func (m *ActiveChannel) String() string
- func (m *ActiveChannel) Unmarshal(dAtA []byte) error
- func (m *ActiveChannel) XXX_DiscardUnknown()
- func (m *ActiveChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActiveChannel) XXX_Merge(src proto.Message)
- func (m *ActiveChannel) XXX_Size() int
- func (m *ActiveChannel) XXX_Unmarshal(b []byte) error
- type ControllerGenesisState
- func (*ControllerGenesisState) Descriptor() ([]byte, []int)
- func (m *ControllerGenesisState) GetActiveChannels() []ActiveChannel
- func (m *ControllerGenesisState) GetInterchainAccounts() []RegisteredInterchainAccount
- func (m *ControllerGenesisState) GetParams() types.Params
- func (m *ControllerGenesisState) GetPorts() []string
- func (m *ControllerGenesisState) Marshal() (dAtA []byte, err error)
- func (m *ControllerGenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *ControllerGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ControllerGenesisState) ProtoMessage()
- func (m *ControllerGenesisState) Reset()
- func (m *ControllerGenesisState) Size() (n int)
- func (m *ControllerGenesisState) String() string
- func (m *ControllerGenesisState) Unmarshal(dAtA []byte) error
- func (gs ControllerGenesisState) Validate() error
- func (m *ControllerGenesisState) XXX_DiscardUnknown()
- func (m *ControllerGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ControllerGenesisState) XXX_Merge(src proto.Message)
- func (m *ControllerGenesisState) XXX_Size() int
- func (m *ControllerGenesisState) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetControllerGenesisState() ControllerGenesisState
- func (m *GenesisState) GetHostGenesisState() HostGenesisState
- 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 HostGenesisState
- func (*HostGenesisState) Descriptor() ([]byte, []int)
- func (m *HostGenesisState) GetActiveChannels() []ActiveChannel
- func (m *HostGenesisState) GetInterchainAccounts() []RegisteredInterchainAccount
- func (m *HostGenesisState) GetParams() types1.Params
- func (m *HostGenesisState) GetPort() string
- func (m *HostGenesisState) Marshal() (dAtA []byte, err error)
- func (m *HostGenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *HostGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HostGenesisState) ProtoMessage()
- func (m *HostGenesisState) Reset()
- func (m *HostGenesisState) Size() (n int)
- func (m *HostGenesisState) String() string
- func (m *HostGenesisState) Unmarshal(dAtA []byte) error
- func (gs HostGenesisState) Validate() error
- func (m *HostGenesisState) XXX_DiscardUnknown()
- func (m *HostGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostGenesisState) XXX_Merge(src proto.Message)
- func (m *HostGenesisState) XXX_Size() int
- func (m *HostGenesisState) XXX_Unmarshal(b []byte) error
- type RegisteredInterchainAccount
- func (*RegisteredInterchainAccount) Descriptor() ([]byte, []int)
- func (m *RegisteredInterchainAccount) GetAccountAddress() string
- func (m *RegisteredInterchainAccount) GetConnectionId() string
- func (m *RegisteredInterchainAccount) GetPortId() string
- func (m *RegisteredInterchainAccount) Marshal() (dAtA []byte, err error)
- func (m *RegisteredInterchainAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisteredInterchainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisteredInterchainAccount) ProtoMessage()
- func (m *RegisteredInterchainAccount) Reset()
- func (m *RegisteredInterchainAccount) Size() (n int)
- func (m *RegisteredInterchainAccount) String() string
- func (m *RegisteredInterchainAccount) Unmarshal(dAtA []byte) error
- func (m *RegisteredInterchainAccount) XXX_DiscardUnknown()
- func (m *RegisteredInterchainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisteredInterchainAccount) XXX_Merge(src proto.Message)
- func (m *RegisteredInterchainAccount) XXX_Size() int
- func (m *RegisteredInterchainAccount) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ActiveChannel ¶
type ActiveChannel struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` IsMiddlewareEnabled bool `protobuf:"varint,4,opt,name=is_middleware_enabled,json=isMiddlewareEnabled,proto3" json:"is_middleware_enabled,omitempty"` }
ActiveChannel contains a connection ID, port ID and associated active channel ID, as well as a boolean flag to indicate if the channel is middleware enabled
func (*ActiveChannel) Descriptor ¶
func (*ActiveChannel) Descriptor() ([]byte, []int)
func (*ActiveChannel) GetChannelId ¶
func (m *ActiveChannel) GetChannelId() string
func (*ActiveChannel) GetConnectionId ¶
func (m *ActiveChannel) GetConnectionId() string
func (*ActiveChannel) GetIsMiddlewareEnabled ¶
func (m *ActiveChannel) GetIsMiddlewareEnabled() bool
func (*ActiveChannel) GetPortId ¶
func (m *ActiveChannel) GetPortId() string
func (*ActiveChannel) Marshal ¶
func (m *ActiveChannel) Marshal() (dAtA []byte, err error)
func (*ActiveChannel) MarshalToSizedBuffer ¶
func (m *ActiveChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActiveChannel) ProtoMessage ¶
func (*ActiveChannel) ProtoMessage()
func (*ActiveChannel) Reset ¶
func (m *ActiveChannel) Reset()
func (*ActiveChannel) Size ¶
func (m *ActiveChannel) Size() (n int)
func (*ActiveChannel) String ¶
func (m *ActiveChannel) String() string
func (*ActiveChannel) Unmarshal ¶
func (m *ActiveChannel) Unmarshal(dAtA []byte) error
func (*ActiveChannel) XXX_DiscardUnknown ¶
func (m *ActiveChannel) XXX_DiscardUnknown()
func (*ActiveChannel) XXX_Marshal ¶
func (m *ActiveChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActiveChannel) XXX_Merge ¶
func (m *ActiveChannel) XXX_Merge(src proto.Message)
func (*ActiveChannel) XXX_Size ¶
func (m *ActiveChannel) XXX_Size() int
func (*ActiveChannel) XXX_Unmarshal ¶
func (m *ActiveChannel) XXX_Unmarshal(b []byte) error
type ControllerGenesisState ¶
type ControllerGenesisState struct { ActiveChannels []ActiveChannel `protobuf:"bytes,1,rep,name=active_channels,json=activeChannels,proto3" json:"active_channels"` InterchainAccounts []RegisteredInterchainAccount `protobuf:"bytes,2,rep,name=interchain_accounts,json=interchainAccounts,proto3" json:"interchain_accounts"` Ports []string `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"` Params types.Params `protobuf:"bytes,4,opt,name=params,proto3" json:"params"` }
ControllerGenesisState defines the interchain accounts controller genesis state
func DefaultControllerGenesis ¶
func DefaultControllerGenesis() ControllerGenesisState
DefaultControllerGenesis creates and returns the default interchain accounts ControllerGenesisState
func NewControllerGenesisState ¶
func NewControllerGenesisState(channels []ActiveChannel, accounts []RegisteredInterchainAccount, ports []string, controllerParams controllertypes.Params) ControllerGenesisState
NewControllerGenesisState creates a returns a new ControllerGenesisState instance
func (*ControllerGenesisState) Descriptor ¶
func (*ControllerGenesisState) Descriptor() ([]byte, []int)
func (*ControllerGenesisState) GetActiveChannels ¶
func (m *ControllerGenesisState) GetActiveChannels() []ActiveChannel
func (*ControllerGenesisState) GetInterchainAccounts ¶
func (m *ControllerGenesisState) GetInterchainAccounts() []RegisteredInterchainAccount
func (*ControllerGenesisState) GetParams ¶
func (m *ControllerGenesisState) GetParams() types.Params
func (*ControllerGenesisState) GetPorts ¶
func (m *ControllerGenesisState) GetPorts() []string
func (*ControllerGenesisState) Marshal ¶
func (m *ControllerGenesisState) Marshal() (dAtA []byte, err error)
func (*ControllerGenesisState) MarshalTo ¶
func (m *ControllerGenesisState) MarshalTo(dAtA []byte) (int, error)
func (*ControllerGenesisState) MarshalToSizedBuffer ¶
func (m *ControllerGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ControllerGenesisState) ProtoMessage ¶
func (*ControllerGenesisState) ProtoMessage()
func (*ControllerGenesisState) Reset ¶
func (m *ControllerGenesisState) Reset()
func (*ControllerGenesisState) Size ¶
func (m *ControllerGenesisState) Size() (n int)
func (*ControllerGenesisState) String ¶
func (m *ControllerGenesisState) String() string
func (*ControllerGenesisState) Unmarshal ¶
func (m *ControllerGenesisState) Unmarshal(dAtA []byte) error
func (ControllerGenesisState) Validate ¶
func (gs ControllerGenesisState) Validate() error
Validate performs basic validation of the ControllerGenesisState
func (*ControllerGenesisState) XXX_DiscardUnknown ¶
func (m *ControllerGenesisState) XXX_DiscardUnknown()
func (*ControllerGenesisState) XXX_Marshal ¶
func (m *ControllerGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ControllerGenesisState) XXX_Merge ¶
func (m *ControllerGenesisState) XXX_Merge(src proto.Message)
func (*ControllerGenesisState) XXX_Size ¶
func (m *ControllerGenesisState) XXX_Size() int
func (*ControllerGenesisState) XXX_Unmarshal ¶
func (m *ControllerGenesisState) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { ControllerGenesisState ControllerGenesisState `protobuf:"bytes,1,opt,name=controller_genesis_state,json=controllerGenesisState,proto3" json:"controller_genesis_state"` HostGenesisState HostGenesisState `protobuf:"bytes,2,opt,name=host_genesis_state,json=hostGenesisState,proto3" json:"host_genesis_state"` }
GenesisState defines the interchain accounts genesis state
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis creates and returns the interchain accounts GenesisState
func NewGenesisState ¶
func NewGenesisState(controllerGenesisState ControllerGenesisState, hostGenesisState HostGenesisState) *GenesisState
NewGenesisState creates and returns a new GenesisState instance from the provided controller and host genesis state types
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetControllerGenesisState ¶
func (m *GenesisState) GetControllerGenesisState() ControllerGenesisState
func (*GenesisState) GetHostGenesisState ¶
func (m *GenesisState) GetHostGenesisState() HostGenesisState
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 validation of the interchain accounts GenesisState
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 HostGenesisState ¶
type HostGenesisState struct { ActiveChannels []ActiveChannel `protobuf:"bytes,1,rep,name=active_channels,json=activeChannels,proto3" json:"active_channels"` InterchainAccounts []RegisteredInterchainAccount `protobuf:"bytes,2,rep,name=interchain_accounts,json=interchainAccounts,proto3" json:"interchain_accounts"` Port string `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` Params types1.Params `protobuf:"bytes,4,opt,name=params,proto3" json:"params"` }
HostGenesisState defines the interchain accounts host genesis state
func DefaultHostGenesis ¶
func DefaultHostGenesis() HostGenesisState
DefaultHostGenesis creates and returns the default interchain accounts HostGenesisState
func NewHostGenesisState ¶
func NewHostGenesisState(channels []ActiveChannel, accounts []RegisteredInterchainAccount, port string, hostParams hosttypes.Params) HostGenesisState
NewHostGenesisState creates a returns a new HostGenesisState instance
func (*HostGenesisState) Descriptor ¶
func (*HostGenesisState) Descriptor() ([]byte, []int)
func (*HostGenesisState) GetActiveChannels ¶
func (m *HostGenesisState) GetActiveChannels() []ActiveChannel
func (*HostGenesisState) GetInterchainAccounts ¶
func (m *HostGenesisState) GetInterchainAccounts() []RegisteredInterchainAccount
func (*HostGenesisState) GetParams ¶
func (m *HostGenesisState) GetParams() types1.Params
func (*HostGenesisState) GetPort ¶
func (m *HostGenesisState) GetPort() string
func (*HostGenesisState) Marshal ¶
func (m *HostGenesisState) Marshal() (dAtA []byte, err error)
func (*HostGenesisState) MarshalToSizedBuffer ¶
func (m *HostGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HostGenesisState) ProtoMessage ¶
func (*HostGenesisState) ProtoMessage()
func (*HostGenesisState) Reset ¶
func (m *HostGenesisState) Reset()
func (*HostGenesisState) Size ¶
func (m *HostGenesisState) Size() (n int)
func (*HostGenesisState) String ¶
func (m *HostGenesisState) String() string
func (*HostGenesisState) Unmarshal ¶
func (m *HostGenesisState) Unmarshal(dAtA []byte) error
func (HostGenesisState) Validate ¶
func (gs HostGenesisState) Validate() error
Validate performs basic validation of the HostGenesisState
func (*HostGenesisState) XXX_DiscardUnknown ¶
func (m *HostGenesisState) XXX_DiscardUnknown()
func (*HostGenesisState) XXX_Marshal ¶
func (m *HostGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HostGenesisState) XXX_Merge ¶
func (m *HostGenesisState) XXX_Merge(src proto.Message)
func (*HostGenesisState) XXX_Size ¶
func (m *HostGenesisState) XXX_Size() int
func (*HostGenesisState) XXX_Unmarshal ¶
func (m *HostGenesisState) XXX_Unmarshal(b []byte) error
type RegisteredInterchainAccount ¶
type RegisteredInterchainAccount struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` AccountAddress string `protobuf:"bytes,3,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` }
RegisteredInterchainAccount contains a connection ID, port ID and associated interchain account address
func (*RegisteredInterchainAccount) Descriptor ¶
func (*RegisteredInterchainAccount) Descriptor() ([]byte, []int)
func (*RegisteredInterchainAccount) GetAccountAddress ¶
func (m *RegisteredInterchainAccount) GetAccountAddress() string
func (*RegisteredInterchainAccount) GetConnectionId ¶
func (m *RegisteredInterchainAccount) GetConnectionId() string
func (*RegisteredInterchainAccount) GetPortId ¶
func (m *RegisteredInterchainAccount) GetPortId() string
func (*RegisteredInterchainAccount) Marshal ¶
func (m *RegisteredInterchainAccount) Marshal() (dAtA []byte, err error)
func (*RegisteredInterchainAccount) MarshalTo ¶
func (m *RegisteredInterchainAccount) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredInterchainAccount) MarshalToSizedBuffer ¶
func (m *RegisteredInterchainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisteredInterchainAccount) ProtoMessage ¶
func (*RegisteredInterchainAccount) ProtoMessage()
func (*RegisteredInterchainAccount) Reset ¶
func (m *RegisteredInterchainAccount) Reset()
func (*RegisteredInterchainAccount) Size ¶
func (m *RegisteredInterchainAccount) Size() (n int)
func (*RegisteredInterchainAccount) String ¶
func (m *RegisteredInterchainAccount) String() string
func (*RegisteredInterchainAccount) Unmarshal ¶
func (m *RegisteredInterchainAccount) Unmarshal(dAtA []byte) error
func (*RegisteredInterchainAccount) XXX_DiscardUnknown ¶
func (m *RegisteredInterchainAccount) XXX_DiscardUnknown()
func (*RegisteredInterchainAccount) XXX_Marshal ¶
func (m *RegisteredInterchainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisteredInterchainAccount) XXX_Merge ¶
func (m *RegisteredInterchainAccount) XXX_Merge(src proto.Message)
func (*RegisteredInterchainAccount) XXX_Size ¶
func (m *RegisteredInterchainAccount) XXX_Size() int
func (*RegisteredInterchainAccount) XXX_Unmarshal ¶
func (m *RegisteredInterchainAccount) XXX_Unmarshal(b []byte) error