Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
*model.TopicEthSignatureMessage
}
Message serves as a model between Topic Message Watcher and Handler
func FromBytes ¶
FromBytes instantiates new TopicMessage protobuf used internally by the Watchers/Handlers
func FromBytesWithTS ¶
FromBytesWithTS instantiates new TopicMessage protobuf used internally by the Watchers/Handlers
func FromString ¶
FromString instantiates new Topic Message protobuf from string `content` and `timestamp`
func NewSignature ¶
func NewSignature(sourceChainId, targetChainId uint64, transferID, asset, receiver, amount, signature string) *Message
NewSignature instantiates Signature Message struct ready for submission to the Bridge Topic
Click to show internal directories.
Click to hide internal directories.