proto

package
v1.3.1-rc-1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_topic_eth_nft_signature_message_proto protoreflect.FileDescriptor
View Source
var File_topic_eth_signature_message_proto protoreflect.FileDescriptor
View Source
var File_topic_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TopicEthNftSignatureMessage added in v1.4.0

type TopicEthNftSignatureMessage struct {
	SourceChainId uint64 `protobuf:"varint,1,opt,name=sourceChainId,proto3" json:"sourceChainId,omitempty"` // ID of the chain from which the user has initiated the bridge transfer
	TargetChainId uint64 `protobuf:"varint,2,opt,name=targetChainId,proto3" json:"targetChainId,omitempty"` // ID of the chain to which the user wants to bridge
	TransferID    string `protobuf:"bytes,3,opt,name=transferID,proto3" json:"transferID,omitempty"`        // (EVM - transaction hash + index of the event in the block) / (Hedera - transaction ID)
	Asset         string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`                  // The asset which will be bridged
	TokenId       uint64 `protobuf:"varint,5,opt,name=tokenId,proto3" json:"tokenId,omitempty"`             // TokenID or Hedera NFT serial number
	Metadata      string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`            // TokenID metadata
	Recipient     string `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`          // ID / Address of the receiver
	Signature     string `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`          // The signature of the validator
	// contains filtered or unexported fields
}

func (*TopicEthNftSignatureMessage) Descriptor deprecated added in v1.4.0

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

Deprecated: Use TopicEthNftSignatureMessage.ProtoReflect.Descriptor instead.

func (*TopicEthNftSignatureMessage) GetAsset added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetAsset() string

func (*TopicEthNftSignatureMessage) GetMetadata added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetMetadata() string

func (*TopicEthNftSignatureMessage) GetRecipient added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetRecipient() string

func (*TopicEthNftSignatureMessage) GetSignature added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetSignature() string

func (*TopicEthNftSignatureMessage) GetSourceChainId added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetSourceChainId() uint64

func (*TopicEthNftSignatureMessage) GetTargetChainId added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetTargetChainId() uint64

func (*TopicEthNftSignatureMessage) GetTokenId added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetTokenId() uint64

func (*TopicEthNftSignatureMessage) GetTransferID added in v1.4.0

func (x *TopicEthNftSignatureMessage) GetTransferID() string

func (*TopicEthNftSignatureMessage) ProtoMessage added in v1.4.0

func (*TopicEthNftSignatureMessage) ProtoMessage()

func (*TopicEthNftSignatureMessage) ProtoReflect added in v1.4.0

func (*TopicEthNftSignatureMessage) Reset added in v1.4.0

func (x *TopicEthNftSignatureMessage) Reset()

func (*TopicEthNftSignatureMessage) String added in v1.4.0

func (x *TopicEthNftSignatureMessage) String() string

type TopicEthSignatureMessage

type TopicEthSignatureMessage struct {
	SourceChainId uint64 `protobuf:"varint,1,opt,name=sourceChainId,proto3" json:"sourceChainId,omitempty"` // ID of the chain from which the user has initiated the bridge transfer
	TargetChainId uint64 `protobuf:"varint,2,opt,name=targetChainId,proto3" json:"targetChainId,omitempty"` // ID of the chain to which the user wants to bridge
	TransferID    string `protobuf:"bytes,3,opt,name=transferID,proto3" json:"transferID,omitempty"`        // (EVM - transaction hash + index of the event in the block) / (Hedera - transaction ID)
	Asset         string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`                  // The asset which will be bridged
	Recipient     string `protobuf:"bytes,5,opt,name=recipient,proto3" json:"recipient,omitempty"`          // ID / Address of the receiver
	Amount        string `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`                // The amount to transfer
	Signature     string `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`          // The signature of the validator
	// 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) GetAsset added in v1.4.0

func (x *TopicEthSignatureMessage) GetAsset() string

func (*TopicEthSignatureMessage) GetRecipient added in v1.4.0

func (x *TopicEthSignatureMessage) GetRecipient() string

func (*TopicEthSignatureMessage) GetSignature

func (x *TopicEthSignatureMessage) GetSignature() string

func (*TopicEthSignatureMessage) GetSourceChainId added in v1.4.0

func (x *TopicEthSignatureMessage) GetSourceChainId() uint64

func (*TopicEthSignatureMessage) GetTargetChainId added in v1.4.0

func (x *TopicEthSignatureMessage) GetTargetChainId() uint64

func (*TopicEthSignatureMessage) GetTransferID

func (x *TopicEthSignatureMessage) GetTransferID() 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 TopicMessage

type TopicMessage struct {

	// Types that are assignable to Message:
	//	*TopicMessage_FungibleSignatureMessage
	//	*TopicMessage_NftSignatureMessage
	Message isTopicMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*TopicMessage) Descriptor deprecated

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

Deprecated: Use TopicMessage.ProtoReflect.Descriptor instead.

func (*TopicMessage) GetFungibleSignatureMessage added in v1.4.0

func (x *TopicMessage) GetFungibleSignatureMessage() *TopicEthSignatureMessage

func (*TopicMessage) GetMessage

func (m *TopicMessage) GetMessage() isTopicMessage_Message

func (*TopicMessage) GetNftSignatureMessage added in v1.4.0

func (x *TopicMessage) GetNftSignatureMessage() *TopicEthNftSignatureMessage

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 TopicMessage_FungibleSignatureMessage added in v1.4.0

type TopicMessage_FungibleSignatureMessage struct {
	FungibleSignatureMessage *TopicEthSignatureMessage `protobuf:"bytes,1,opt,name=fungibleSignatureMessage,proto3,oneof"`
}

type TopicMessage_NftSignatureMessage added in v1.4.0

type TopicMessage_NftSignatureMessage struct {
	NftSignatureMessage *TopicEthNftSignatureMessage `protobuf:"bytes,2,opt,name=nftSignatureMessage,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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