transferv1

package
v8.0.0-...-a9a65cb Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 11 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.

Index

Constants

This section is empty.

Variables

View Source
var (
	IbcCallType_name = map[int32]string{
		0: "IBC_CALL_TYPE_UNSPECIFIED",
		1: "IBC_CALL_TYPE_EVM",
	}
	IbcCallType_value = map[string]int32{
		"IBC_CALL_TYPE_UNSPECIFIED": 0,
		"IBC_CALL_TYPE_EVM":         1,
	}
)

Enum value maps for IbcCallType.

View Source
var File_fx_ibc_applications_transfer_v1_call_proto protoreflect.FileDescriptor
View Source
var File_fx_ibc_applications_transfer_v1_ibc_legacy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Height

type Height struct {

	// the revision that the client is currently on
	RevisionNumber uint64 `protobuf:"varint,1,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	// the height within the given revision
	RevisionHeight uint64 `protobuf:"varint,2,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
	// contains filtered or unexported fields
}

Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients

Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset

func (*Height) Descriptor deprecated

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

Deprecated: Use Height.ProtoReflect.Descriptor instead.

func (*Height) GetRevisionHeight

func (x *Height) GetRevisionHeight() uint64

func (*Height) GetRevisionNumber

func (x *Height) GetRevisionNumber() uint64

func (*Height) ProtoMessage

func (*Height) ProtoMessage()

func (*Height) ProtoReflect

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

func (*Height) Reset

func (x *Height) Reset()

func (*Height) String

func (x *Height) String() string

type IbcCallEvmPacket

type IbcCallEvmPacket struct {
	To    string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Data  string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*IbcCallEvmPacket) Descriptor deprecated

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

Deprecated: Use IbcCallEvmPacket.ProtoReflect.Descriptor instead.

func (*IbcCallEvmPacket) GetData

func (x *IbcCallEvmPacket) GetData() string

func (*IbcCallEvmPacket) GetTo

func (x *IbcCallEvmPacket) GetTo() string

func (*IbcCallEvmPacket) GetValue

func (x *IbcCallEvmPacket) GetValue() string

func (*IbcCallEvmPacket) ProtoMessage

func (*IbcCallEvmPacket) ProtoMessage()

func (*IbcCallEvmPacket) ProtoReflect

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

func (*IbcCallEvmPacket) Reset

func (x *IbcCallEvmPacket) Reset()

func (*IbcCallEvmPacket) String

func (x *IbcCallEvmPacket) String() string

type IbcCallType

type IbcCallType int32
const (
	IbcCallType_IBC_CALL_TYPE_UNSPECIFIED IbcCallType = 0
	IbcCallType_IBC_CALL_TYPE_EVM         IbcCallType = 1
)

func (IbcCallType) Descriptor

func (IbcCallType) Enum

func (x IbcCallType) Enum() *IbcCallType

func (IbcCallType) EnumDescriptor deprecated

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

Deprecated: Use IbcCallType.Descriptor instead.

func (IbcCallType) Number

func (x IbcCallType) Number() protoreflect.EnumNumber

func (IbcCallType) String

func (x IbcCallType) String() string

func (IbcCallType) Type

type MsgTransfer

type MsgTransfer struct {

	// the port on which the packet will be sent
	SourcePort string `protobuf:"bytes,1,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
	// the channel by which the packet will be sent
	SourceChannel string `protobuf:"bytes,2,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"`
	// the tokens to be transferred
	Token *v1beta1.Coin `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// the sender address
	Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	// the recipient address on the destination chain
	Receiver string `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// Timeout height relative to the current block height.
	// The timeout is disabled when set to 0.
	TimeoutHeight *Height `protobuf:"bytes,6,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	// Timeout timestamp (in nanoseconds) relative to the current block timestamp.
	// The timeout is disabled when set to 0.
	TimeoutTimestamp uint64 `protobuf:"varint,7,opt,name=timeout_timestamp,json=timeoutTimestamp,proto3" json:"timeout_timestamp,omitempty"`
	// the router is hook destination chain
	Router string `protobuf:"bytes,8,opt,name=router,proto3" json:"router,omitempty"`
	// the tokens to be destination fee
	Fee *v1beta1.Coin `protobuf:"bytes,9,opt,name=fee,proto3" json:"fee,omitempty"`
	// optional memo
	Memo string `protobuf:"bytes,10,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between ICS20 enabled chains. See ICS Spec here: https://github.com/cosmos/ics/tree/master/spec/ics-020-fungible-token-transfer#data-structures

func (*MsgTransfer) Descriptor deprecated

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

Deprecated: Use MsgTransfer.ProtoReflect.Descriptor instead.

func (*MsgTransfer) GetFee

func (x *MsgTransfer) GetFee() *v1beta1.Coin

func (*MsgTransfer) GetMemo

func (x *MsgTransfer) GetMemo() string

func (*MsgTransfer) GetReceiver

func (x *MsgTransfer) GetReceiver() string

func (*MsgTransfer) GetRouter

func (x *MsgTransfer) GetRouter() string

func (*MsgTransfer) GetSender

func (x *MsgTransfer) GetSender() string

func (*MsgTransfer) GetSourceChannel

func (x *MsgTransfer) GetSourceChannel() string

func (*MsgTransfer) GetSourcePort

func (x *MsgTransfer) GetSourcePort() string

func (*MsgTransfer) GetTimeoutHeight

func (x *MsgTransfer) GetTimeoutHeight() *Height

func (*MsgTransfer) GetTimeoutTimestamp

func (x *MsgTransfer) GetTimeoutTimestamp() uint64

func (*MsgTransfer) GetToken

func (x *MsgTransfer) GetToken() *v1beta1.Coin

func (*MsgTransfer) ProtoMessage

func (*MsgTransfer) ProtoMessage()

func (*MsgTransfer) ProtoReflect

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

func (*MsgTransfer) Reset

func (x *MsgTransfer) Reset()

func (*MsgTransfer) String

func (x *MsgTransfer) String() string

Jump to

Keyboard shortcuts

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