Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func PackTxMsgAny(sdkMsg sdk.Msg) (*codectypes.Any, error)
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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 AccountKeeper
- type BankKeeper
- type ChannelKeeper
- type FeeRefunderKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- 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 GetFeeCollectorAddr
- type ICAControllerKeeper
- type ICAControllerMsgServer
- type ICAOwner
- type MsgClient
- type MsgRegisterInterchainAccount
- func (*MsgRegisterInterchainAccount) Descriptor() ([]byte, []int)
- func (msg *MsgRegisterInterchainAccount) GetSignBytes() []byte
- func (msg *MsgRegisterInterchainAccount) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterInterchainAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterInterchainAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterInterchainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterInterchainAccount) ProtoMessage()
- func (m *MsgRegisterInterchainAccount) Reset()
- func (msg *MsgRegisterInterchainAccount) Route() string
- func (m *MsgRegisterInterchainAccount) Size() (n int)
- func (m *MsgRegisterInterchainAccount) String() string
- func (msg *MsgRegisterInterchainAccount) Type() string
- func (m *MsgRegisterInterchainAccount) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterInterchainAccount) Validate() error
- func (m *MsgRegisterInterchainAccount) XXX_DiscardUnknown()
- func (m *MsgRegisterInterchainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterInterchainAccount) XXX_Merge(src proto.Message)
- func (m *MsgRegisterInterchainAccount) XXX_Size() int
- func (m *MsgRegisterInterchainAccount) XXX_Unmarshal(b []byte) error
- type MsgRegisterInterchainAccountResponse
- func (*MsgRegisterInterchainAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterInterchainAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterInterchainAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterInterchainAccountResponse) ProtoMessage()
- func (m *MsgRegisterInterchainAccountResponse) Reset()
- func (m *MsgRegisterInterchainAccountResponse) Size() (n int)
- func (m *MsgRegisterInterchainAccountResponse) String() string
- func (m *MsgRegisterInterchainAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterInterchainAccountResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterInterchainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterInterchainAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterInterchainAccountResponse) XXX_Size() int
- func (m *MsgRegisterInterchainAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSubmitTx
- func (*MsgSubmitTx) Descriptor() ([]byte, []int)
- func (msg *MsgSubmitTx) GetSignBytes() []byte
- func (msg *MsgSubmitTx) GetSigners() []sdk.AccAddress
- func (m *MsgSubmitTx) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitTx) ProtoMessage()
- func (m *MsgSubmitTx) Reset()
- func (msg *MsgSubmitTx) Route() string
- func (m *MsgSubmitTx) Size() (n int)
- func (m *MsgSubmitTx) String() string
- func (msg *MsgSubmitTx) Type() string
- func (m *MsgSubmitTx) Unmarshal(dAtA []byte) error
- func (msg *MsgSubmitTx) Validate() error
- func (m *MsgSubmitTx) XXX_DiscardUnknown()
- func (m *MsgSubmitTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitTx) XXX_Merge(src proto.Message)
- func (m *MsgSubmitTx) XXX_Size() int
- func (m *MsgSubmitTx) XXX_Unmarshal(b []byte) error
- type MsgSubmitTxResponse
- func (*MsgSubmitTxResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitTxResponse) GetChannel() string
- func (m *MsgSubmitTxResponse) GetSequenceId() uint64
- func (m *MsgSubmitTxResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitTxResponse) ProtoMessage()
- func (m *MsgSubmitTxResponse) Reset()
- func (m *MsgSubmitTxResponse) Size() (n int)
- func (m *MsgSubmitTxResponse) String() string
- func (m *MsgSubmitTxResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitTxResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitTxResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitTxResponse) XXX_Size() int
- func (m *MsgSubmitTxResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg *MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) Validate() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMsgSubmitTxMaxMessages() uint64
- func (m *Params) GetRegisterFee() []types.Coin
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryInterchainAccountAddressRequest
- func (*QueryInterchainAccountAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryInterchainAccountAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInterchainAccountAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInterchainAccountAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInterchainAccountAddressRequest) ProtoMessage()
- func (m *QueryInterchainAccountAddressRequest) Reset()
- func (m *QueryInterchainAccountAddressRequest) Size() (n int)
- func (m *QueryInterchainAccountAddressRequest) String() string
- func (m *QueryInterchainAccountAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInterchainAccountAddressRequest) XXX_DiscardUnknown()
- func (m *QueryInterchainAccountAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInterchainAccountAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryInterchainAccountAddressRequest) XXX_Size() int
- func (m *QueryInterchainAccountAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryInterchainAccountAddressResponse
- func (*QueryInterchainAccountAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryInterchainAccountAddressResponse) GetInterchainAccountAddress() string
- func (m *QueryInterchainAccountAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInterchainAccountAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInterchainAccountAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInterchainAccountAddressResponse) ProtoMessage()
- func (m *QueryInterchainAccountAddressResponse) Reset()
- func (m *QueryInterchainAccountAddressResponse) Size() (n int)
- func (m *QueryInterchainAccountAddressResponse) String() string
- func (m *QueryInterchainAccountAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInterchainAccountAddressResponse) XXX_DiscardUnknown()
- func (m *QueryInterchainAccountAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInterchainAccountAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryInterchainAccountAddressResponse) XXX_Size() int
- func (m *QueryInterchainAccountAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) RegisterInterchainAccount(ctx context.Context, req *MsgRegisterInterchainAccount) (*MsgRegisterInterchainAccountResponse, error)
- func (*UnimplementedMsgServer) SubmitTx(ctx context.Context, req *MsgSubmitTx) (*MsgSubmitTxResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- type WasmKeeper
Constants ¶
const ( // ModuleName defines the module name ModuleName = "interchaintxs" // 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_interchaintxs" )
const ConsensusVersion = 2
const Delimiter = "."
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc *codec.ProtoCodec )
var ( ErrInvalidICAOwner = errors.Register(ModuleName, 1100, "invalid interchain account interchainAccountID") ErrInvalidAccountAddress = errors.Register(ModuleName, 1101, "invalid account address") ErrInterchainAccountNotFound = errors.Register(ModuleName, 1102, "interchain account not found") ErrNotContract = errors.Register(ModuleName, 1103, "not a contract") ErrEmptyInterchainAccountID = errors.Register(ModuleName, 1104, "empty interchain account id") ErrEmptyConnectionID = errors.Register(ModuleName, 1105, "empty connection id") ErrNoMessages = errors.Register(ModuleName, 1106, "no messages provided") ErrInvalidTimeout = errors.Register(ModuleName, 1107, "invalid timeout") ErrInvalidPayerFee = errors.Register(ModuleName, 1108, "invalid payer feerefunder") ErrLongInterchainAccountID = errors.Register(ModuleName, 1109, "interchain account id is too long") ErrInvalidType = errors.Register(ModuleName, 1110, "invalid type") )
x/interchaintxs 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 ( ParamsKey = []byte{prefixParamsKey} ICARegistrationFeeFirstCodeID = []byte{prefixICARegistrationFeeFirstCodeID} )
var ( KeyMsgSubmitTxMaxMessages = []byte("MsgSubmitTxMaxMessages") DefaultMsgSubmitTxMaxMessages = uint64(16) DefaultRegisterFee = sdk.NewCoins(sdk.NewCoin(params.DefaultDenom, math.NewInt(1_000_000))) )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func PackTxMsgAny ¶
func PackTxMsgAny(sdkMsg sdk.Msg) (*codectypes.Any, error)
PackTxMsgAny marshals the sdk.Msg payload to a protobuf Any type
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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 AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoins(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
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) GetConnection(ctx sdk.Context, connectionID string) (ibcexported.ConnectionI, error) }
ChannelKeeper defines the expected IBC channel keeper
type FeeRefunderKeeper ¶
type FeeRefunderKeeper interface { LockFees(ctx context.Context, payer sdk.AccAddress, packetID feerefundertypes.PacketID, fee feerefundertypes.Fee) error DistributeAcknowledgementFee(ctx context.Context, receiver sdk.AccAddress, packetID feerefundertypes.PacketID) DistributeTimeoutFee(ctx context.Context, receiver sdk.AccAddress, packetID feerefundertypes.PacketID) }
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the interchaintxs 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) GetParams ¶
func (m *GenesisState) GetParams() Params
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 GetFeeCollectorAddr ¶
GetFeeCollectorAddr is a function to return the current fee collector address
type ICAControllerKeeper ¶
type ICAControllerMsgServer ¶
type ICAControllerMsgServer interface { RegisterInterchainAccount(context.Context, *icacontrollertypes.MsgRegisterInterchainAccount) (*icacontrollertypes.MsgRegisterInterchainAccountResponse, error) SendTx(context.Context, *icacontrollertypes.MsgSendTx) (*icacontrollertypes.MsgSendTxResponse, error) }
type ICAOwner ¶
type ICAOwner struct {
// contains filtered or unexported fields
}
func ICAOwnerFromPort ¶
func NewICAOwner ¶
func NewICAOwnerFromAddress ¶
func NewICAOwnerFromAddress(address sdk.AccAddress, interchainAccountID string) ICAOwner
func (ICAOwner) GetContract ¶
func (i ICAOwner) GetContract() sdk.AccAddress
func (ICAOwner) GetInterchainAccountID ¶
type MsgClient ¶
type MsgClient interface { RegisterInterchainAccount(ctx context.Context, in *MsgRegisterInterchainAccount, opts ...grpc.CallOption) (*MsgRegisterInterchainAccountResponse, error) SubmitTx(ctx context.Context, in *MsgSubmitTx, opts ...grpc.CallOption) (*MsgSubmitTxResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 MsgRegisterInterchainAccount ¶
type MsgRegisterInterchainAccount struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"` InterchainAccountId string `` /* 149-byte string literal not displayed */ RegisterFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ Ordering types1.Order `protobuf:"varint,5,opt,name=ordering,proto3,enum=ibc.core.channel.v1.Order" json:"ordering,omitempty"` }
MsgRegisterInterchainAccount is used to register an account on a remote zone.
func (*MsgRegisterInterchainAccount) Descriptor ¶
func (*MsgRegisterInterchainAccount) Descriptor() ([]byte, []int)
func (*MsgRegisterInterchainAccount) GetSignBytes ¶
func (msg *MsgRegisterInterchainAccount) GetSignBytes() []byte
func (*MsgRegisterInterchainAccount) GetSigners ¶
func (msg *MsgRegisterInterchainAccount) GetSigners() []sdk.AccAddress
func (*MsgRegisterInterchainAccount) Marshal ¶
func (m *MsgRegisterInterchainAccount) Marshal() (dAtA []byte, err error)
func (*MsgRegisterInterchainAccount) MarshalTo ¶
func (m *MsgRegisterInterchainAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccount) MarshalToSizedBuffer ¶
func (m *MsgRegisterInterchainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccount) ProtoMessage ¶
func (*MsgRegisterInterchainAccount) ProtoMessage()
func (*MsgRegisterInterchainAccount) Reset ¶
func (m *MsgRegisterInterchainAccount) Reset()
func (*MsgRegisterInterchainAccount) Route ¶
func (msg *MsgRegisterInterchainAccount) Route() string
func (*MsgRegisterInterchainAccount) Size ¶
func (m *MsgRegisterInterchainAccount) Size() (n int)
func (*MsgRegisterInterchainAccount) String ¶
func (m *MsgRegisterInterchainAccount) String() string
func (*MsgRegisterInterchainAccount) Type ¶
func (msg *MsgRegisterInterchainAccount) Type() string
func (*MsgRegisterInterchainAccount) Unmarshal ¶
func (m *MsgRegisterInterchainAccount) Unmarshal(dAtA []byte) error
func (*MsgRegisterInterchainAccount) Validate ¶
func (msg *MsgRegisterInterchainAccount) Validate() error
func (*MsgRegisterInterchainAccount) XXX_DiscardUnknown ¶
func (m *MsgRegisterInterchainAccount) XXX_DiscardUnknown()
func (*MsgRegisterInterchainAccount) XXX_Marshal ¶
func (m *MsgRegisterInterchainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterInterchainAccount) XXX_Merge ¶
func (m *MsgRegisterInterchainAccount) XXX_Merge(src proto.Message)
func (*MsgRegisterInterchainAccount) XXX_Size ¶
func (m *MsgRegisterInterchainAccount) XXX_Size() int
func (*MsgRegisterInterchainAccount) XXX_Unmarshal ¶
func (m *MsgRegisterInterchainAccount) XXX_Unmarshal(b []byte) error
type MsgRegisterInterchainAccountResponse ¶
type MsgRegisterInterchainAccountResponse struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` }
MsgRegisterInterchainAccountResponse is the response type for MsgRegisterInterchainAccount.
func (*MsgRegisterInterchainAccountResponse) Descriptor ¶
func (*MsgRegisterInterchainAccountResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterInterchainAccountResponse) Marshal ¶
func (m *MsgRegisterInterchainAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterInterchainAccountResponse) MarshalTo ¶
func (m *MsgRegisterInterchainAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccountResponse) ProtoMessage ¶
func (*MsgRegisterInterchainAccountResponse) ProtoMessage()
func (*MsgRegisterInterchainAccountResponse) Reset ¶
func (m *MsgRegisterInterchainAccountResponse) Reset()
func (*MsgRegisterInterchainAccountResponse) Size ¶
func (m *MsgRegisterInterchainAccountResponse) Size() (n int)
func (*MsgRegisterInterchainAccountResponse) String ¶
func (m *MsgRegisterInterchainAccountResponse) String() string
func (*MsgRegisterInterchainAccountResponse) Unmarshal ¶
func (m *MsgRegisterInterchainAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterInterchainAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_DiscardUnknown()
func (*MsgRegisterInterchainAccountResponse) XXX_Marshal ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterInterchainAccountResponse) XXX_Merge ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterInterchainAccountResponse) XXX_Size ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Size() int
func (*MsgRegisterInterchainAccountResponse) XXX_Unmarshal ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { RegisterInterchainAccount(context.Context, *MsgRegisterInterchainAccount) (*MsgRegisterInterchainAccountResponse, error) SubmitTx(context.Context, *MsgSubmitTx) (*MsgSubmitTxResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgSubmitTx ¶
type MsgSubmitTx struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // interchain_account_id is supposed to be the unique identifier, e.g., // lido/kava. This allows contracts to have more than one interchain accounts // on remote zone This identifier will be a part of the portID that we'll // claim our capability for. InterchainAccountId string `protobuf:"bytes,2,opt,name=interchain_account_id,json=interchainAccountId,proto3" json:"interchain_account_id,omitempty"` ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Msgs []*types2.Any `protobuf:"bytes,4,rep,name=msgs,proto3" json:"msgs,omitempty"` Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"` // timeout in seconds after which the packet times out Timeout uint64 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"` Fee types3.Fee `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee"` }
MsgSubmitTx defines the payload for Msg/SubmitTx
func (*MsgSubmitTx) Descriptor ¶
func (*MsgSubmitTx) Descriptor() ([]byte, []int)
func (*MsgSubmitTx) GetSignBytes ¶
func (msg *MsgSubmitTx) GetSignBytes() []byte
func (*MsgSubmitTx) GetSigners ¶
func (msg *MsgSubmitTx) GetSigners() []sdk.AccAddress
func (*MsgSubmitTx) Marshal ¶
func (m *MsgSubmitTx) Marshal() (dAtA []byte, err error)
func (*MsgSubmitTx) MarshalToSizedBuffer ¶
func (m *MsgSubmitTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitTx) ProtoMessage ¶
func (*MsgSubmitTx) ProtoMessage()
func (*MsgSubmitTx) Reset ¶
func (m *MsgSubmitTx) Reset()
func (*MsgSubmitTx) Route ¶
func (msg *MsgSubmitTx) Route() string
func (*MsgSubmitTx) Size ¶
func (m *MsgSubmitTx) Size() (n int)
func (*MsgSubmitTx) String ¶
func (m *MsgSubmitTx) String() string
func (*MsgSubmitTx) Type ¶
func (msg *MsgSubmitTx) Type() string
func (*MsgSubmitTx) Unmarshal ¶
func (m *MsgSubmitTx) Unmarshal(dAtA []byte) error
func (*MsgSubmitTx) Validate ¶
func (msg *MsgSubmitTx) Validate() error
func (*MsgSubmitTx) XXX_DiscardUnknown ¶
func (m *MsgSubmitTx) XXX_DiscardUnknown()
func (*MsgSubmitTx) XXX_Marshal ¶
func (m *MsgSubmitTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitTx) XXX_Merge ¶
func (m *MsgSubmitTx) XXX_Merge(src proto.Message)
func (*MsgSubmitTx) XXX_Size ¶
func (m *MsgSubmitTx) XXX_Size() int
func (*MsgSubmitTx) XXX_Unmarshal ¶
func (m *MsgSubmitTx) XXX_Unmarshal(b []byte) error
type MsgSubmitTxResponse ¶
type MsgSubmitTxResponse struct { // channel's sequence_id for outgoing ibc packet. Unique per a channel. SequenceId uint64 `protobuf:"varint,1,opt,name=sequence_id,json=sequenceId,proto3" json:"sequence_id,omitempty"` // channel src channel on neutron side transaction was submitted from Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` }
MsgSubmitTxResponse defines the response for Msg/SubmitTx
func (*MsgSubmitTxResponse) Descriptor ¶
func (*MsgSubmitTxResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitTxResponse) GetChannel ¶
func (m *MsgSubmitTxResponse) GetChannel() string
func (*MsgSubmitTxResponse) GetSequenceId ¶
func (m *MsgSubmitTxResponse) GetSequenceId() uint64
func (*MsgSubmitTxResponse) Marshal ¶
func (m *MsgSubmitTxResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitTxResponse) MarshalTo ¶
func (m *MsgSubmitTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitTxResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitTxResponse) ProtoMessage ¶
func (*MsgSubmitTxResponse) ProtoMessage()
func (*MsgSubmitTxResponse) Reset ¶
func (m *MsgSubmitTxResponse) Reset()
func (*MsgSubmitTxResponse) Size ¶
func (m *MsgSubmitTxResponse) Size() (n int)
func (*MsgSubmitTxResponse) String ¶
func (m *MsgSubmitTxResponse) String() string
func (*MsgSubmitTxResponse) Unmarshal ¶
func (m *MsgSubmitTxResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitTxResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitTxResponse) XXX_DiscardUnknown()
func (*MsgSubmitTxResponse) XXX_Marshal ¶
func (m *MsgSubmitTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitTxResponse) XXX_Merge ¶
func (m *MsgSubmitTxResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitTxResponse) XXX_Size ¶
func (m *MsgSubmitTxResponse) XXX_Size() int
func (*MsgSubmitTxResponse) XXX_Unmarshal ¶
func (m *MsgSubmitTxResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { // Authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/interchaintxs parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the MsgUpdateParams request type.
Since: 0.47
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶
func (msg *MsgUpdateParams) GetSignBytes() []byte
func (*MsgUpdateParams) GetSigners ¶
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Route ¶
func (msg *MsgUpdateParams) Route() string
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (msg *MsgUpdateParams) Type() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) Validate ¶
func (msg *MsgUpdateParams) Validate() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: 0.47
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // Defines maximum amount of messages to be passed in MsgSubmitTx MsgSubmitTxMaxMessages uint64 `` /* 134-byte string literal not displayed */ // Defines a minimum fee required to register interchain account RegisterFee []types.Coin `protobuf:"bytes,2,rep,name=register_fee,json=registerFee,proto3" json:"register_fee"` }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetMsgSubmitTxMaxMessages ¶
func (*Params) GetRegisterFee ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) InterchainAccountAddress(ctx context.Context, in *QueryInterchainAccountAddressRequest, opts ...grpc.CallOption) (*QueryInterchainAccountAddressResponse, 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 QueryInterchainAccountAddressRequest ¶
type QueryInterchainAccountAddressRequest struct { // owner_address is the owner of the interchain account on the controller // chain OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // interchain_account_id is an identifier of your interchain account from // which you want to execute msgs InterchainAccountId string `protobuf:"bytes,2,opt,name=interchain_account_id,json=interchainAccountId,proto3" json:"interchain_account_id,omitempty"` // connection_id is an IBC connection identifier between Neutron and remote // chain ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` }
func (*QueryInterchainAccountAddressRequest) Descriptor ¶
func (*QueryInterchainAccountAddressRequest) Descriptor() ([]byte, []int)
func (*QueryInterchainAccountAddressRequest) Marshal ¶
func (m *QueryInterchainAccountAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryInterchainAccountAddressRequest) MarshalTo ¶
func (m *QueryInterchainAccountAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInterchainAccountAddressRequest) MarshalToSizedBuffer ¶
func (m *QueryInterchainAccountAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInterchainAccountAddressRequest) ProtoMessage ¶
func (*QueryInterchainAccountAddressRequest) ProtoMessage()
func (*QueryInterchainAccountAddressRequest) Reset ¶
func (m *QueryInterchainAccountAddressRequest) Reset()
func (*QueryInterchainAccountAddressRequest) Size ¶
func (m *QueryInterchainAccountAddressRequest) Size() (n int)
func (*QueryInterchainAccountAddressRequest) String ¶
func (m *QueryInterchainAccountAddressRequest) String() string
func (*QueryInterchainAccountAddressRequest) Unmarshal ¶
func (m *QueryInterchainAccountAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryInterchainAccountAddressRequest) XXX_DiscardUnknown ¶
func (m *QueryInterchainAccountAddressRequest) XXX_DiscardUnknown()
func (*QueryInterchainAccountAddressRequest) XXX_Marshal ¶
func (m *QueryInterchainAccountAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInterchainAccountAddressRequest) XXX_Merge ¶
func (m *QueryInterchainAccountAddressRequest) XXX_Merge(src proto.Message)
func (*QueryInterchainAccountAddressRequest) XXX_Size ¶
func (m *QueryInterchainAccountAddressRequest) XXX_Size() int
func (*QueryInterchainAccountAddressRequest) XXX_Unmarshal ¶
func (m *QueryInterchainAccountAddressRequest) XXX_Unmarshal(b []byte) error
type QueryInterchainAccountAddressResponse ¶
type QueryInterchainAccountAddressResponse struct { // The corresponding interchain account address on the host chain InterchainAccountAddress string `` /* 135-byte string literal not displayed */ }
Query response for an interchain account address
func (*QueryInterchainAccountAddressResponse) Descriptor ¶
func (*QueryInterchainAccountAddressResponse) Descriptor() ([]byte, []int)
func (*QueryInterchainAccountAddressResponse) GetInterchainAccountAddress ¶
func (m *QueryInterchainAccountAddressResponse) GetInterchainAccountAddress() string
func (*QueryInterchainAccountAddressResponse) Marshal ¶
func (m *QueryInterchainAccountAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryInterchainAccountAddressResponse) MarshalTo ¶
func (m *QueryInterchainAccountAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInterchainAccountAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryInterchainAccountAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInterchainAccountAddressResponse) ProtoMessage ¶
func (*QueryInterchainAccountAddressResponse) ProtoMessage()
func (*QueryInterchainAccountAddressResponse) Reset ¶
func (m *QueryInterchainAccountAddressResponse) Reset()
func (*QueryInterchainAccountAddressResponse) Size ¶
func (m *QueryInterchainAccountAddressResponse) Size() (n int)
func (*QueryInterchainAccountAddressResponse) String ¶
func (m *QueryInterchainAccountAddressResponse) String() string
func (*QueryInterchainAccountAddressResponse) Unmarshal ¶
func (m *QueryInterchainAccountAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryInterchainAccountAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryInterchainAccountAddressResponse) XXX_DiscardUnknown()
func (*QueryInterchainAccountAddressResponse) XXX_Marshal ¶
func (m *QueryInterchainAccountAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInterchainAccountAddressResponse) XXX_Merge ¶
func (m *QueryInterchainAccountAddressResponse) XXX_Merge(src proto.Message)
func (*QueryInterchainAccountAddressResponse) XXX_Size ¶
func (m *QueryInterchainAccountAddressResponse) XXX_Size() int
func (*QueryInterchainAccountAddressResponse) XXX_Unmarshal ¶
func (m *QueryInterchainAccountAddressResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) InterchainAccountAddress(context.Context, *QueryInterchainAccountAddressRequest) (*QueryInterchainAccountAddressResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RegisterInterchainAccount ¶
func (*UnimplementedMsgServer) RegisterInterchainAccount(ctx context.Context, req *MsgRegisterInterchainAccount) (*MsgRegisterInterchainAccountResponse, error)
func (*UnimplementedMsgServer) SubmitTx ¶
func (*UnimplementedMsgServer) SubmitTx(ctx context.Context, req *MsgSubmitTx) (*MsgSubmitTxResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) InterchainAccountAddress ¶
func (*UnimplementedQueryServer) InterchainAccountAddress(ctx context.Context, req *QueryInterchainAccountAddressRequest) (*QueryInterchainAccountAddressResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type WasmKeeper ¶
type WasmKeeper interface { HasContractInfo(ctx context.Context, contractAddress sdk.AccAddress) bool GetContractInfo(ctx context.Context, contractAddress sdk.AccAddress) *wasmtypes.ContractInfo Sudo(ctx context.Context, contractAddress sdk.AccAddress, msg []byte) ([]byte, error) }