Documentation
¶
Index ¶
- Variables
- type Inbound
- func (*Inbound) Descriptor() ([]byte, []int)
- func (this *Inbound) Equal(that interface{}) bool
- func (m *Inbound) GetAmount() string
- func (m *Inbound) GetAssetAddr() string
- func (m *Inbound) GetLogIndex() string
- func (m *Inbound) GetRecipient() string
- func (m *Inbound) GetSender() string
- func (m *Inbound) GetSourceChain() string
- func (m *Inbound) GetTxHash() string
- func (m *Inbound) GetTxType() InboundTxType
- func (m *Inbound) GetUniversalPayload() *types.UniversalPayload
- func (m *Inbound) GetVerificationData() string
- func (m *Inbound) Marshal() (dAtA []byte, err error)
- func (m *Inbound) MarshalTo(dAtA []byte) (int, error)
- func (m *Inbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Inbound) ProtoMessage()
- func (m *Inbound) Reset()
- func (m *Inbound) Size() (n int)
- func (m *Inbound) String() string
- func (m *Inbound) Unmarshal(dAtA []byte) error
- func (m *Inbound) XXX_DiscardUnknown()
- func (m *Inbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Inbound) XXX_Merge(src proto.Message)
- func (m *Inbound) XXX_Size() int
- func (m *Inbound) XXX_Unmarshal(b []byte) error
- type InboundTxType
- type OutboundTx
- func (*OutboundTx) Descriptor() ([]byte, []int)
- func (this *OutboundTx) Equal(that interface{}) bool
- func (m *OutboundTx) GetAmount() string
- func (m *OutboundTx) GetAssetAddr() string
- func (m *OutboundTx) GetDestinationChain() string
- func (m *OutboundTx) GetRecipient() string
- func (m *OutboundTx) GetTxHash() string
- func (m *OutboundTx) Marshal() (dAtA []byte, err error)
- func (m *OutboundTx) MarshalTo(dAtA []byte) (int, error)
- func (m *OutboundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutboundTx) ProtoMessage()
- func (m *OutboundTx) Reset()
- func (m *OutboundTx) Size() (n int)
- func (m *OutboundTx) String() string
- func (m *OutboundTx) Unmarshal(dAtA []byte) error
- func (m *OutboundTx) XXX_DiscardUnknown()
- func (m *OutboundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutboundTx) XXX_Merge(src proto.Message)
- func (m *OutboundTx) XXX_Size() int
- func (m *OutboundTx) XXX_Unmarshal(b []byte) error
- type UniversalTx
- func (*UniversalTx) Descriptor() ([]byte, []int)
- func (this *UniversalTx) Equal(that interface{}) bool
- func (m *UniversalTx) GetInboundTx() *Inbound
- func (m *UniversalTx) GetOutboundTx() *OutboundTx
- func (m *UniversalTx) GetPcTx() []*types.PCTx
- func (m *UniversalTx) GetUniversalStatus() types.UniversalTxStatus
- func (m *UniversalTx) Marshal() (dAtA []byte, err error)
- func (m *UniversalTx) MarshalTo(dAtA []byte) (int, error)
- func (m *UniversalTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniversalTx) ProtoMessage()
- func (m *UniversalTx) Reset()
- func (m *UniversalTx) Size() (n int)
- func (m *UniversalTx) String() string
- func (m *UniversalTx) Unmarshal(dAtA []byte) error
- func (m *UniversalTx) XXX_DiscardUnknown()
- func (m *UniversalTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniversalTx) XXX_Merge(src proto.Message)
- func (m *UniversalTx) XXX_Size() int
- func (m *UniversalTx) XXX_Unmarshal(b []byte) error
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) GetAssetAddr ¶
func (*Inbound) GetLogIndex ¶
func (*Inbound) GetRecipient ¶
func (*Inbound) GetSourceChain ¶
func (*Inbound) GetTxType ¶
func (m *Inbound) GetTxType() InboundTxType
func (*Inbound) GetUniversalPayload ¶
func (m *Inbound) GetUniversalPayload() *types.UniversalPayload
func (*Inbound) GetVerificationData ¶
func (*Inbound) MarshalToSizedBuffer ¶
func (*Inbound) ProtoMessage ¶
func (*Inbound) ProtoMessage()
func (*Inbound) XXX_DiscardUnknown ¶
func (m *Inbound) XXX_DiscardUnknown()
func (*Inbound) XXX_Marshal ¶
func (*Inbound) XXX_Unmarshal ¶
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) 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) 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
Click to show internal directories.
Click to hide internal directories.