interchain_accountsv1

package
v0.0.0-...-c13f9de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_EXECUTE_TX",
	}
	Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_EXECUTE_TX":  1,
	}
)

Enum value maps for Type.

View Source
var File_ibc_applications_interchain_accounts_v1_account_proto protoreflect.FileDescriptor
View Source
var File_ibc_applications_interchain_accounts_v1_metadata_proto protoreflect.FileDescriptor
View Source
var File_ibc_applications_interchain_accounts_v1_packet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CosmosTx

type CosmosTx struct {
	Messages []*anypb.Any `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

CosmosTx contains a list of sdk.Msg's. It should be used when sending transactions to an SDK host chain.

func (*CosmosTx) Descriptor deprecated

func (*CosmosTx) Descriptor() ([]byte, []int)

Deprecated: Use CosmosTx.ProtoReflect.Descriptor instead.

func (*CosmosTx) GetMessages

func (x *CosmosTx) GetMessages() []*anypb.Any

func (*CosmosTx) ProtoMessage

func (*CosmosTx) ProtoMessage()

func (*CosmosTx) ProtoReflect

func (x *CosmosTx) ProtoReflect() protoreflect.Message

func (*CosmosTx) Reset

func (x *CosmosTx) Reset()

func (*CosmosTx) String

func (x *CosmosTx) String() string

type InterchainAccount

type InterchainAccount struct {
	BaseAccount  *v1beta1.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3" json:"base_account,omitempty"`
	AccountOwner string               `protobuf:"bytes,2,opt,name=account_owner,json=accountOwner,proto3" json:"account_owner,omitempty"`
	// contains filtered or unexported fields
}

An InterchainAccount is defined as a BaseAccount & the address of the account owner on the controller chain

func (*InterchainAccount) Descriptor deprecated

func (*InterchainAccount) Descriptor() ([]byte, []int)

Deprecated: Use InterchainAccount.ProtoReflect.Descriptor instead.

func (*InterchainAccount) GetAccountOwner

func (x *InterchainAccount) GetAccountOwner() string

func (*InterchainAccount) GetBaseAccount

func (x *InterchainAccount) GetBaseAccount() *v1beta1.BaseAccount

func (*InterchainAccount) ProtoMessage

func (*InterchainAccount) ProtoMessage()

func (*InterchainAccount) ProtoReflect

func (x *InterchainAccount) ProtoReflect() protoreflect.Message

func (*InterchainAccount) Reset

func (x *InterchainAccount) Reset()

func (*InterchainAccount) String

func (x *InterchainAccount) String() string

type InterchainAccountPacketData

type InterchainAccountPacketData struct {
	Type_ Type   `protobuf:"varint,1,opt,name=type,proto3,enum=ibc.applications.interchain_accounts.v1.Type" json:"type,omitempty"`
	Data  []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Memo  string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field.

func (*InterchainAccountPacketData) Descriptor deprecated

func (*InterchainAccountPacketData) Descriptor() ([]byte, []int)

Deprecated: Use InterchainAccountPacketData.ProtoReflect.Descriptor instead.

func (*InterchainAccountPacketData) GetData

func (x *InterchainAccountPacketData) GetData() []byte

func (*InterchainAccountPacketData) GetMemo

func (x *InterchainAccountPacketData) GetMemo() string

func (*InterchainAccountPacketData) GetType_

func (x *InterchainAccountPacketData) GetType_() Type

func (*InterchainAccountPacketData) ProtoMessage

func (*InterchainAccountPacketData) ProtoMessage()

func (*InterchainAccountPacketData) ProtoReflect

func (*InterchainAccountPacketData) Reset

func (x *InterchainAccountPacketData) Reset()

func (*InterchainAccountPacketData) String

func (x *InterchainAccountPacketData) String() string

type Metadata

type Metadata struct {

	// version defines the ICS27 protocol version
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// controller_connection_id is the connection identifier associated with the controller chain
	ControllerConnectionId string `` /* 129-byte string literal not displayed */
	// host_connection_id is the connection identifier associated with the host chain
	HostConnectionId string `protobuf:"bytes,3,opt,name=host_connection_id,json=hostConnectionId,proto3" json:"host_connection_id,omitempty"`
	// address defines the interchain account address to be fulfilled upon the OnChanOpenTry handshake step
	// NOTE: the address field is empty on the OnChanOpenInit handshake step
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// encoding defines the supported codec format
	Encoding string `protobuf:"bytes,5,opt,name=encoding,proto3" json:"encoding,omitempty"`
	// tx_type defines the type of transactions the interchain account can execute
	TxType string `protobuf:"bytes,6,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"`
	// contains filtered or unexported fields
}

Metadata defines a set of protocol specific data encoded into the ICS27 channel version bytestring See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAddress

func (x *Metadata) GetAddress() string

func (*Metadata) GetControllerConnectionId

func (x *Metadata) GetControllerConnectionId() string

func (*Metadata) GetEncoding

func (x *Metadata) GetEncoding() string

func (*Metadata) GetHostConnectionId

func (x *Metadata) GetHostConnectionId() string

func (*Metadata) GetTxType

func (x *Metadata) GetTxType() string

func (*Metadata) GetVersion

func (x *Metadata) GetVersion() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Type

type Type int32

Type defines a classification of message issued from a controller chain to its associated interchain accounts host

const (
	// Default zero value enumeration
	Type_TYPE_UNSPECIFIED Type = 0
	// Execute a transaction on an interchain accounts host chain
	Type_TYPE_EXECUTE_TX Type = 1
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL