oldtypes

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOldTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOldTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOldTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var InboundTxType_name = map[int32]string{
	0: "UNSPECIFIED_TX",
	1: "GAS",
	2: "FUNDS",
	3: "FUNDS_AND_PAYLOAD",
	4: "GAS_AND_PAYLOAD",
}
View Source
var InboundTxType_value = map[string]int32{
	"UNSPECIFIED_TX":    0,
	"GAS":               1,
	"FUNDS":             2,
	"FUNDS_AND_PAYLOAD": 3,
	"GAS_AND_PAYLOAD":   4,
}

Functions

This section is empty.

Types

type Inbound

type Inbound struct {
	SourceChain      string                  `protobuf:"bytes,1,opt,name=source_chain,json=sourceChain,proto3" json:"source_chain,omitempty"`
	TxHash           string                  `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Sender           string                  `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient        string                  `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount           string                  `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	AssetAddr        string                  `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"`
	LogIndex         string                  `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
	TxType           InboundTxType           `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.old.InboundTxType" json:"tx_type,omitempty"`
	UniversalPayload *types.UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"`
	VerificationData string                  `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"`
}

func (*Inbound) Descriptor

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

func (*Inbound) Equal

func (this *Inbound) Equal(that interface{}) bool

func (*Inbound) GetAmount

func (m *Inbound) GetAmount() string

func (*Inbound) GetAssetAddr

func (m *Inbound) GetAssetAddr() string

func (*Inbound) GetLogIndex

func (m *Inbound) GetLogIndex() string

func (*Inbound) GetRecipient

func (m *Inbound) GetRecipient() string

func (*Inbound) GetSender

func (m *Inbound) GetSender() string

func (*Inbound) GetSourceChain

func (m *Inbound) GetSourceChain() string

func (*Inbound) GetTxHash

func (m *Inbound) GetTxHash() string

func (*Inbound) GetTxType

func (m *Inbound) GetTxType() InboundTxType

func (*Inbound) GetUniversalPayload

func (m *Inbound) GetUniversalPayload() *types.UniversalPayload

func (*Inbound) GetVerificationData

func (m *Inbound) GetVerificationData() string

func (*Inbound) Marshal

func (m *Inbound) Marshal() (dAtA []byte, err error)

func (*Inbound) MarshalTo

func (m *Inbound) MarshalTo(dAtA []byte) (int, error)

func (*Inbound) MarshalToSizedBuffer

func (m *Inbound) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Inbound) ProtoMessage

func (*Inbound) ProtoMessage()

func (*Inbound) Reset

func (m *Inbound) Reset()

func (*Inbound) Size

func (m *Inbound) Size() (n int)

func (*Inbound) String

func (m *Inbound) String() string

func (*Inbound) Unmarshal

func (m *Inbound) Unmarshal(dAtA []byte) error

func (*Inbound) XXX_DiscardUnknown

func (m *Inbound) XXX_DiscardUnknown()

func (*Inbound) XXX_Marshal

func (m *Inbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Inbound) XXX_Merge

func (m *Inbound) XXX_Merge(src proto.Message)

func (*Inbound) XXX_Size

func (m *Inbound) XXX_Size() int

func (*Inbound) XXX_Unmarshal

func (m *Inbound) XXX_Unmarshal(b []byte) error

type InboundTxType

type InboundTxType int32
const (
	InboundTxType_UNSPECIFIED_TX    InboundTxType = 0
	InboundTxType_GAS               InboundTxType = 1
	InboundTxType_FUNDS             InboundTxType = 2
	InboundTxType_FUNDS_AND_PAYLOAD InboundTxType = 3
	InboundTxType_GAS_AND_PAYLOAD   InboundTxType = 4
)

func (InboundTxType) EnumDescriptor

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

func (InboundTxType) String

func (x InboundTxType) String() string

type OutboundTx

type OutboundTx struct {
	DestinationChain string `protobuf:"bytes,1,opt,name=destination_chain,json=destinationChain,proto3" json:"destination_chain,omitempty"`
	TxHash           string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Recipient        string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount           string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	AssetAddr        string `protobuf:"bytes,5,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"`
}

func (*OutboundTx) Descriptor

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

func (*OutboundTx) Equal

func (this *OutboundTx) Equal(that interface{}) bool

func (*OutboundTx) GetAmount

func (m *OutboundTx) GetAmount() string

func (*OutboundTx) GetAssetAddr

func (m *OutboundTx) GetAssetAddr() string

func (*OutboundTx) GetDestinationChain

func (m *OutboundTx) GetDestinationChain() string

func (*OutboundTx) GetRecipient

func (m *OutboundTx) GetRecipient() string

func (*OutboundTx) GetTxHash

func (m *OutboundTx) GetTxHash() string

func (*OutboundTx) Marshal

func (m *OutboundTx) Marshal() (dAtA []byte, err error)

func (*OutboundTx) MarshalTo

func (m *OutboundTx) MarshalTo(dAtA []byte) (int, error)

func (*OutboundTx) MarshalToSizedBuffer

func (m *OutboundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OutboundTx) ProtoMessage

func (*OutboundTx) ProtoMessage()

func (*OutboundTx) Reset

func (m *OutboundTx) Reset()

func (*OutboundTx) Size

func (m *OutboundTx) Size() (n int)

func (*OutboundTx) String

func (m *OutboundTx) String() string

func (*OutboundTx) Unmarshal

func (m *OutboundTx) Unmarshal(dAtA []byte) error

func (*OutboundTx) XXX_DiscardUnknown

func (m *OutboundTx) XXX_DiscardUnknown()

func (*OutboundTx) XXX_Marshal

func (m *OutboundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutboundTx) XXX_Merge

func (m *OutboundTx) XXX_Merge(src proto.Message)

func (*OutboundTx) XXX_Size

func (m *OutboundTx) XXX_Size() int

func (*OutboundTx) XXX_Unmarshal

func (m *OutboundTx) XXX_Unmarshal(b []byte) error

type UniversalTx

type UniversalTx struct {
	InboundTx       *Inbound                `protobuf:"bytes,1,opt,name=inbound_tx,json=inboundTx,proto3" json:"inbound_tx,omitempty"`
	PcTx            []*types.PCTx           `protobuf:"bytes,2,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"`
	OutboundTx      *OutboundTx             `protobuf:"bytes,3,opt,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"`
	UniversalStatus types.UniversalTxStatus `` /* 143-byte string literal not displayed */
}

func (*UniversalTx) Descriptor

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

func (*UniversalTx) Equal

func (this *UniversalTx) Equal(that interface{}) bool

func (*UniversalTx) GetInboundTx

func (m *UniversalTx) GetInboundTx() *Inbound

func (*UniversalTx) GetOutboundTx

func (m *UniversalTx) GetOutboundTx() *OutboundTx

func (*UniversalTx) GetPcTx

func (m *UniversalTx) GetPcTx() []*types.PCTx

func (*UniversalTx) GetUniversalStatus

func (m *UniversalTx) GetUniversalStatus() types.UniversalTxStatus

func (*UniversalTx) Marshal

func (m *UniversalTx) Marshal() (dAtA []byte, err error)

func (*UniversalTx) MarshalTo

func (m *UniversalTx) MarshalTo(dAtA []byte) (int, error)

func (*UniversalTx) MarshalToSizedBuffer

func (m *UniversalTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UniversalTx) ProtoMessage

func (*UniversalTx) ProtoMessage()

func (*UniversalTx) Reset

func (m *UniversalTx) Reset()

func (*UniversalTx) Size

func (m *UniversalTx) Size() (n int)

func (*UniversalTx) String

func (m *UniversalTx) String() string

func (*UniversalTx) Unmarshal

func (m *UniversalTx) Unmarshal(dAtA []byte) error

func (*UniversalTx) XXX_DiscardUnknown

func (m *UniversalTx) XXX_DiscardUnknown()

func (*UniversalTx) XXX_Marshal

func (m *UniversalTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UniversalTx) XXX_Merge

func (m *UniversalTx) XXX_Merge(src proto.Message)

func (*UniversalTx) XXX_Size

func (m *UniversalTx) XXX_Size() int

func (*UniversalTx) XXX_Unmarshal

func (m *UniversalTx) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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