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

Struct MessageSubsidy

fsm/message.pb.go:711–723  ·  view source on GitHub ↗

MessageSubsidy is an account to committee treasury pool transfer transaction At economic maturity without inflation, this is how the network continues to offer its Validation services

Source from the content-addressed store, hash-verified

709// MessageSubsidy is an account to committee treasury pool transfer transaction
710// At economic maturity without inflation, this is how the network continues to offer its Validation services
711type MessageSubsidy struct {
712 state protoimpl.MessageState `protogen:"open.v1"`
713 // address: is the sender of the funds
714 Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
715 // chain_id: is the id of the committee the funds are being sent to
716 ChainId uint64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chainID"` // @gotags: json:"chainID"
717 // amount: is the amount of funds that are taken from the sender and transferred to the recipient pool
718 Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
719 // opcode: a generic code field to allow fund designation instructions
720 Opcode []byte `protobuf:"bytes,4,opt,name=opcode,proto3" json:"opcode,omitempty"`
721 unknownFields protoimpl.UnknownFields
722 sizeCache protoimpl.SizeCache
723}
724
725func (x *MessageSubsidy) Reset() {
726 *x = MessageSubsidy{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected