proto

package
v0.0.1-alpha-5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for TopicSubmissionType.

View Source
var File_crypto_transfer_message_proto protoreflect.FileDescriptor
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_submission_message_proto protoreflect.FileDescriptor
View Source
var File_topic_submission_type_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CryptoTransferMessage

type CryptoTransferMessage struct {
	TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	EthAddress    string `protobuf:"bytes,2,opt,name=ethAddress,proto3" json:"ethAddress,omitempty"`
	Amount        string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Fee           string `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"`
	GasPriceGwei  string `protobuf:"bytes,5,opt,name=gasPriceGwei,proto3" json:"gasPriceGwei,omitempty"`
	// contains filtered or unexported fields
}

func (*CryptoTransferMessage) Descriptor deprecated

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

Deprecated: Use CryptoTransferMessage.ProtoReflect.Descriptor instead.

func (*CryptoTransferMessage) GetAmount

func (x *CryptoTransferMessage) GetAmount() string

func (*CryptoTransferMessage) GetEthAddress

func (x *CryptoTransferMessage) GetEthAddress() string

func (*CryptoTransferMessage) GetFee

func (x *CryptoTransferMessage) GetFee() string

func (*CryptoTransferMessage) GetGasPriceGwei

func (x *CryptoTransferMessage) GetGasPriceGwei() string

func (*CryptoTransferMessage) GetTransactionId

func (x *CryptoTransferMessage) GetTransactionId() string

func (*CryptoTransferMessage) ProtoMessage

func (*CryptoTransferMessage) ProtoMessage()

func (*CryptoTransferMessage) ProtoReflect

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

func (*CryptoTransferMessage) Reset

func (x *CryptoTransferMessage) Reset()

func (*CryptoTransferMessage) String

func (x *CryptoTransferMessage) String() string

type TopicEthSignatureMessage

type TopicEthSignatureMessage struct {
	TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	EthAddress    string `protobuf:"bytes,2,opt,name=ethAddress,proto3" json:"ethAddress,omitempty"`
	Amount        string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Fee           string `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"`
	Signature     string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// 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) GetEthAddress

func (x *TopicEthSignatureMessage) GetEthAddress() string

func (*TopicEthSignatureMessage) GetFee

func (x *TopicEthSignatureMessage) GetFee() string

func (*TopicEthSignatureMessage) GetSignature

func (x *TopicEthSignatureMessage) GetSignature() string

func (*TopicEthSignatureMessage) GetTransactionId

func (x *TopicEthSignatureMessage) GetTransactionId() 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 {
	TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	Hash          string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // hedera hash data
	EthTxHash     string `protobuf:"bytes,3,opt,name=ethTxHash,proto3" json:"ethTxHash,omitempty"`
	// 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) GetTransactionId

func (x *TopicEthTransactionMessage) GetTransactionId() 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 TopicSubmissionMessage

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

func (*TopicSubmissionMessage) Descriptor deprecated

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

Deprecated: Use TopicSubmissionMessage.ProtoReflect.Descriptor instead.

func (*TopicSubmissionMessage) GetMessage

func (m *TopicSubmissionMessage) GetMessage() isTopicSubmissionMessage_Message

func (*TopicSubmissionMessage) GetTopicEthTransactionMessage

func (x *TopicSubmissionMessage) GetTopicEthTransactionMessage() *TopicEthTransactionMessage

func (*TopicSubmissionMessage) GetTopicSignatureMessage

func (x *TopicSubmissionMessage) GetTopicSignatureMessage() *TopicEthSignatureMessage

func (*TopicSubmissionMessage) GetTransactionTimestamp

func (x *TopicSubmissionMessage) GetTransactionTimestamp() int64

func (*TopicSubmissionMessage) GetType

func (*TopicSubmissionMessage) ProtoMessage

func (*TopicSubmissionMessage) ProtoMessage()

func (*TopicSubmissionMessage) ProtoReflect

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

func (*TopicSubmissionMessage) Reset

func (x *TopicSubmissionMessage) Reset()

func (*TopicSubmissionMessage) String

func (x *TopicSubmissionMessage) String() string

type TopicSubmissionMessage_TopicEthTransactionMessage

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

type TopicSubmissionMessage_TopicSignatureMessage

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

type TopicSubmissionType

type TopicSubmissionType int32
const (
	TopicSubmissionType_EthSignature   TopicSubmissionType = 0
	TopicSubmissionType_EthTransaction TopicSubmissionType = 1
)

func (TopicSubmissionType) Descriptor

func (TopicSubmissionType) Enum

func (TopicSubmissionType) EnumDescriptor deprecated

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

Deprecated: Use TopicSubmissionType.Descriptor instead.

func (TopicSubmissionType) Number

func (TopicSubmissionType) String

func (x TopicSubmissionType) String() string

func (TopicSubmissionType) Type

Jump to

Keyboard shortcuts

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