MCPcopy
hub / github.com/canopy-network/canopy / MessageSend

Struct MessageSend

fsm/message.pb.go:43–53  ·  view source on GitHub ↗

***************************************************************************************************** This file is auto-generated from source files in `/lib/.proto/*` using Protocol Buffers (protobuf) Protobuf is a language-neutral, platform-neutral serialization format. It allows users to define o

Source from the content-addressed store, hash-verified

41// MessageSend is a standard transfer transaction, taking tokens from the sender and transferring
42// them to the recipient
43type MessageSend struct {
44 state protoimpl.MessageState `protogen:"open.v1"`
45 // from_address: is the sender of the funds
46 FromAddress []byte `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"fromAddress"` // @gotags: json:"fromAddress"
47 // to_address: is the recipient of the funds
48 ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"toAddress"` // @gotags: json:"toAddress"
49 // amount: is the amount of tokens in micro-denomination (uCNPY)
50 Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
51 unknownFields protoimpl.UnknownFields
52 sizeCache protoimpl.SizeCache
53}
54
55func (x *MessageSend) Reset() {
56 *x = MessageSend{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected