Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type Inbound
- func (*Inbound) Descriptor() ([]byte, []int)deprecated
- func (x *Inbound) GetAmount() string
- func (x *Inbound) GetAssetAddr() string
- func (x *Inbound) GetLogIndex() string
- func (x *Inbound) GetRecipient() string
- func (x *Inbound) GetSender() string
- func (x *Inbound) GetSourceChain() string
- func (x *Inbound) GetTxHash() string
- func (x *Inbound) GetTxType() InboundTxType
- func (x *Inbound) GetUniversalPayload() *v1.UniversalPayload
- func (x *Inbound) GetVerificationData() string
- func (*Inbound) ProtoMessage()
- func (x *Inbound) ProtoReflect() protoreflect.Message
- func (x *Inbound) Reset()
- func (x *Inbound) String() string
- type InboundTxType
- func (InboundTxType) Descriptor() protoreflect.EnumDescriptor
- func (x InboundTxType) Enum() *InboundTxType
- func (InboundTxType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboundTxType) Number() protoreflect.EnumNumber
- func (x InboundTxType) String() string
- func (InboundTxType) Type() protoreflect.EnumType
- type OutboundTx
- func (*OutboundTx) Descriptor() ([]byte, []int)deprecated
- func (x *OutboundTx) GetAmount() string
- func (x *OutboundTx) GetAssetAddr() string
- func (x *OutboundTx) GetDestinationChain() string
- func (x *OutboundTx) GetRecipient() string
- func (x *OutboundTx) GetTxHash() string
- func (*OutboundTx) ProtoMessage()
- func (x *OutboundTx) ProtoReflect() protoreflect.Message
- func (x *OutboundTx) Reset()
- func (x *OutboundTx) String() string
- type UniversalTx
- func (*UniversalTx) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalTx) GetInboundTx() *Inbound
- func (x *UniversalTx) GetOutboundTx() *OutboundTx
- func (x *UniversalTx) GetPcTx() []*v1.PCTx
- func (x *UniversalTx) GetUniversalStatus() v1.UniversalTxStatus
- func (*UniversalTx) ProtoMessage()
- func (x *UniversalTx) ProtoReflect() protoreflect.Message
- func (x *UniversalTx) Reset()
- func (x *UniversalTx) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InboundTxType_name = map[int32]string{ 0: "UNSPECIFIED_TX", 1: "GAS", 2: "FUNDS", 3: "FUNDS_AND_PAYLOAD", 4: "GAS_AND_PAYLOAD", } InboundTxType_value = map[string]int32{ "UNSPECIFIED_TX": 0, "GAS": 1, "FUNDS": 2, "FUNDS_AND_PAYLOAD": 3, "GAS_AND_PAYLOAD": 4, } )
Enum value maps for InboundTxType.
View Source
var File_uexecutor_v1_old_old_types_proto protoreflect.FileDescriptor
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"` // origin chain caip2 id (e.g. eip155:11155111)
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // unique tx hash / identifier from source chain
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // sender address on source chain
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient address on destination chain
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // synthetic token amount bridged in
AssetAddr string `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"` // address of erc20 token address on source chain
LogIndex string `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // log index that originated the cross chain tx
TxType InboundTxType `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.old.InboundTxType" json:"tx_type,omitempty"` // inbound tx type
UniversalPayload *v1.UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"` // payload is the universal payload to be executed
VerificationData string `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"` // verification_data is the bytes passed as verifier data for the given payload.
// contains filtered or unexported fields
}
func (*Inbound) Descriptor
deprecated
func (*Inbound) GetAssetAddr ¶
func (*Inbound) GetLogIndex ¶
func (*Inbound) GetRecipient ¶
func (*Inbound) GetSourceChain ¶
func (*Inbound) GetTxType ¶
func (x *Inbound) GetTxType() InboundTxType
func (*Inbound) GetUniversalPayload ¶
func (x *Inbound) GetUniversalPayload() *v1.UniversalPayload
func (*Inbound) GetVerificationData ¶
func (*Inbound) ProtoMessage ¶
func (*Inbound) ProtoMessage()
func (*Inbound) ProtoReflect ¶
func (x *Inbound) ProtoReflect() protoreflect.Message
type InboundTxType ¶
type InboundTxType int32
const ( InboundTxType_UNSPECIFIED_TX InboundTxType = 0 InboundTxType_GAS InboundTxType = 1 // fee abstraction InboundTxType_FUNDS InboundTxType = 2 // synthetic InboundTxType_FUNDS_AND_PAYLOAD InboundTxType = 3 // synthetic + payload exec InboundTxType_GAS_AND_PAYLOAD InboundTxType = 4 // fee abstraction + payload exec )
func (InboundTxType) Descriptor ¶
func (InboundTxType) Descriptor() protoreflect.EnumDescriptor
func (InboundTxType) Enum ¶
func (x InboundTxType) Enum() *InboundTxType
func (InboundTxType) EnumDescriptor
deprecated
func (InboundTxType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboundTxType.Descriptor instead.
func (InboundTxType) Number ¶
func (x InboundTxType) Number() protoreflect.EnumNumber
func (InboundTxType) String ¶
func (x InboundTxType) String() string
func (InboundTxType) Type ¶
func (InboundTxType) Type() protoreflect.EnumType
type OutboundTx ¶
type OutboundTx struct {
DestinationChain string `protobuf:"bytes,1,opt,name=destination_chain,json=destinationChain,proto3" json:"destination_chain,omitempty"` // chain where this outbound is sent
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // outbound tx hash on destination chain
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient on destination chain
Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // token amount or payload
AssetAddr string `protobuf:"bytes,5,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"` // token contract if applicable
// contains filtered or unexported fields
}
func (*OutboundTx) Descriptor
deprecated
func (*OutboundTx) Descriptor() ([]byte, []int)
Deprecated: Use OutboundTx.ProtoReflect.Descriptor instead.
func (*OutboundTx) GetAmount ¶
func (x *OutboundTx) GetAmount() string
func (*OutboundTx) GetAssetAddr ¶
func (x *OutboundTx) GetAssetAddr() string
func (*OutboundTx) GetDestinationChain ¶
func (x *OutboundTx) GetDestinationChain() string
func (*OutboundTx) GetRecipient ¶
func (x *OutboundTx) GetRecipient() string
func (*OutboundTx) GetTxHash ¶
func (x *OutboundTx) GetTxHash() string
func (*OutboundTx) ProtoMessage ¶
func (*OutboundTx) ProtoMessage()
func (*OutboundTx) ProtoReflect ¶
func (x *OutboundTx) ProtoReflect() protoreflect.Message
func (*OutboundTx) Reset ¶
func (x *OutboundTx) Reset()
func (*OutboundTx) String ¶
func (x *OutboundTx) String() string
type UniversalTx ¶
type UniversalTx struct {
InboundTx *Inbound `protobuf:"bytes,1,opt,name=inbound_tx,json=inboundTx,proto3" json:"inbound_tx,omitempty"` // Full inbound tx data
PcTx []*v1.PCTx `protobuf:"bytes,2,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"` // Execution details on Push Chain
OutboundTx *OutboundTx `protobuf:"bytes,3,opt,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"` // Outbound tx triggered by this tx
UniversalStatus v1.UniversalTxStatus `` // Current status
/* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UniversalTx) Descriptor
deprecated
func (*UniversalTx) Descriptor() ([]byte, []int)
Deprecated: Use UniversalTx.ProtoReflect.Descriptor instead.
func (*UniversalTx) GetInboundTx ¶
func (x *UniversalTx) GetInboundTx() *Inbound
func (*UniversalTx) GetOutboundTx ¶
func (x *UniversalTx) GetOutboundTx() *OutboundTx
func (*UniversalTx) GetPcTx ¶
func (x *UniversalTx) GetPcTx() []*v1.PCTx
func (*UniversalTx) GetUniversalStatus ¶
func (x *UniversalTx) GetUniversalStatus() v1.UniversalTxStatus
func (*UniversalTx) ProtoMessage ¶
func (*UniversalTx) ProtoMessage()
func (*UniversalTx) ProtoReflect ¶
func (x *UniversalTx) ProtoReflect() protoreflect.Message
func (*UniversalTx) Reset ¶
func (x *UniversalTx) Reset()
func (*UniversalTx) String ¶
func (x *UniversalTx) String() string
Click to show internal directories.
Click to hide internal directories.