proto

package
v0.0.1-alpha-8 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TopicMessageType_name = map[int32]string{
		0: "EthSignature",
		1: "EthTransaction",
	}
	TopicMessageType_value = map[string]int32{
		"EthSignature":   0,
		"EthTransaction": 1,
	}
)

Enum value maps for TopicMessageType.

View Source
var File_topic_eth_signature_message_proto protoreflect.FileDescriptor
View Source
var File_topic_eth_transaction_message_proto protoreflect.FileDescriptor
View Source
var File_topic_message_proto protoreflect.FileDescriptor
View Source
var File_topic_message_type_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TopicEthSignatureMessage

type TopicEthSignatureMessage struct {
	TransferID      string `protobuf:"bytes,1,opt,name=transferID,proto3" json:"transferID,omitempty"`           // The transaction Id of the initial Hedera Transfer
	Receiver        string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`               // The receiver of the initial Hedera Transfer Memo
	Amount          string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`                   // The amount of the initial Hedera Transfer
	TxReimbursement string `protobuf:"bytes,4,opt,name=txReimbursement,proto3" json:"txReimbursement,omitempty"` // The tx reimbursement of the initial Hedera Transfer Memo
	Signature       string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`             // The signature of the validator
	GasPrice        string `protobuf:"bytes,6,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`               // The gas price of the initial Hedera Transfer Memo
	WrappedToken    string `protobuf:"bytes,7,opt,name=wrappedToken,proto3" json:"wrappedToken,omitempty"`       // The wrapped eth token
	// contains filtered or unexported fields
}

func (*TopicEthSignatureMessage) Descriptor deprecated

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

Deprecated: Use TopicEthSignatureMessage.ProtoReflect.Descriptor instead.

func (*TopicEthSignatureMessage) GetAmount

func (x *TopicEthSignatureMessage) GetAmount() string

func (*TopicEthSignatureMessage) GetGasPrice

func (x *TopicEthSignatureMessage) GetGasPrice() string

func (*TopicEthSignatureMessage) GetReceiver

func (x *TopicEthSignatureMessage) GetReceiver() string

func (*TopicEthSignatureMessage) GetSignature

func (x *TopicEthSignatureMessage) GetSignature() string

func (*TopicEthSignatureMessage) GetTransferID

func (x *TopicEthSignatureMessage) GetTransferID() string

func (*TopicEthSignatureMessage) GetTxReimbursement

func (x *TopicEthSignatureMessage) GetTxReimbursement() string

func (*TopicEthSignatureMessage) GetWrappedToken

func (x *TopicEthSignatureMessage) GetWrappedToken() string

func (*TopicEthSignatureMessage) ProtoMessage

func (*TopicEthSignatureMessage) ProtoMessage()

func (*TopicEthSignatureMessage) ProtoReflect

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

func (*TopicEthSignatureMessage) Reset

func (x *TopicEthSignatureMessage) Reset()

func (*TopicEthSignatureMessage) String

func (x *TopicEthSignatureMessage) String() string

type TopicEthTransactionMessage

type TopicEthTransactionMessage struct {
	TransferID string `protobuf:"bytes,1,opt,name=transferID,proto3" json:"transferID,omitempty"` // The transaction Id of the initial Hedera Transfer
	Hash       string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`             // The hash of the message signed by validators
	EthTxHash  string `protobuf:"bytes,3,opt,name=ethTxHash,proto3" json:"ethTxHash,omitempty"`   // The Ethereum Transaction hash of the mint TX
	// contains filtered or unexported fields
}

func (*TopicEthTransactionMessage) Descriptor deprecated

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

Deprecated: Use TopicEthTransactionMessage.ProtoReflect.Descriptor instead.

func (*TopicEthTransactionMessage) GetEthTxHash

func (x *TopicEthTransactionMessage) GetEthTxHash() string

func (*TopicEthTransactionMessage) GetHash

func (x *TopicEthTransactionMessage) GetHash() string

func (*TopicEthTransactionMessage) GetTransferID

func (x *TopicEthTransactionMessage) GetTransferID() string

func (*TopicEthTransactionMessage) ProtoMessage

func (*TopicEthTransactionMessage) ProtoMessage()

func (*TopicEthTransactionMessage) ProtoReflect

func (*TopicEthTransactionMessage) Reset

func (x *TopicEthTransactionMessage) Reset()

func (*TopicEthTransactionMessage) String

func (x *TopicEthTransactionMessage) String() string

type TopicMessage

type TopicMessage struct {
	Type TopicMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.TopicMessageType" json:"type,omitempty"`
	// Types that are assignable to Message:
	//	*TopicMessage_TopicSignatureMessage
	//	*TopicMessage_TopicEthTransactionMessage
	Message              isTopicMessage_Message `protobuf_oneof:"message"`
	TransactionTimestamp int64                  `protobuf:"varint,4,opt,name=transactionTimestamp,proto3" json:"transactionTimestamp,omitempty"`
	// contains filtered or unexported fields
}

TopicMessage

func (*TopicMessage) Descriptor deprecated

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

Deprecated: Use TopicMessage.ProtoReflect.Descriptor instead.

func (*TopicMessage) GetMessage

func (m *TopicMessage) GetMessage() isTopicMessage_Message

func (*TopicMessage) GetTopicEthTransactionMessage

func (x *TopicMessage) GetTopicEthTransactionMessage() *TopicEthTransactionMessage

func (*TopicMessage) GetTopicSignatureMessage

func (x *TopicMessage) GetTopicSignatureMessage() *TopicEthSignatureMessage

func (*TopicMessage) GetTransactionTimestamp

func (x *TopicMessage) GetTransactionTimestamp() int64

func (*TopicMessage) GetType

func (x *TopicMessage) GetType() TopicMessageType

func (*TopicMessage) ProtoMessage

func (*TopicMessage) ProtoMessage()

func (*TopicMessage) ProtoReflect

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

func (*TopicMessage) Reset

func (x *TopicMessage) Reset()

func (*TopicMessage) String

func (x *TopicMessage) String() string

type TopicMessageType

type TopicMessageType int32
const (
	TopicMessageType_EthSignature   TopicMessageType = 0
	TopicMessageType_EthTransaction TopicMessageType = 1
)

func (TopicMessageType) Descriptor

func (TopicMessageType) Enum

func (TopicMessageType) EnumDescriptor deprecated

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

Deprecated: Use TopicMessageType.Descriptor instead.

func (TopicMessageType) Number

func (TopicMessageType) String

func (x TopicMessageType) String() string

func (TopicMessageType) Type

type TopicMessage_TopicEthTransactionMessage

type TopicMessage_TopicEthTransactionMessage struct {
	TopicEthTransactionMessage *TopicEthTransactionMessage `protobuf:"bytes,3,opt,name=topicEthTransactionMessage,proto3,oneof"`
}

type TopicMessage_TopicSignatureMessage

type TopicMessage_TopicSignatureMessage struct {
	TopicSignatureMessage *TopicEthSignatureMessage `protobuf:"bytes,2,opt,name=topicSignatureMessage,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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