MessageDAOTransfer is a governance proposal message used to send funds from the DAO pool to an account This type of message must be manually pre-approved by +2/3rds of the Validators via their APPROVE_LIST In short, a 'proposer' generates the message JSON, communicates the JSON to Validators, Valida
| 576 | // by populating their APPROVE_LIST which configures how they'll vote during the consensus process when a |
| 577 | // block includes this transaction in it. |
| 578 | type MessageDAOTransfer struct { |
| 579 | state protoimpl.MessageState `protogen:"open.v1"` |
| 580 | // address: is the recipient address and sender of this message |
| 581 | Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` |
| 582 | // amount: is the amount of |
| 583 | Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` |
| 584 | // start_height: is the beginning height where the parameter must be sent |
| 585 | // this field locks in a block-range when it's converted to JSON and allows Validators a deadline to vote |
| 586 | StartHeight uint64 `protobuf:"varint,4,opt,name=start_height,json=startHeight,proto3" json:"startHeight"` // @gotags: json:"startHeight" |
| 587 | // end_height: is the ending height where the parameter must be sent |
| 588 | // this field locks in a block-range when it's converted to JSON and allows Validators a deadline to vote |
| 589 | EndHeight uint64 `protobuf:"varint,5,opt,name=end_height,json=endHeight,proto3" json:"startHeight"` // @gotags: json:"startHeight" |
| 590 | // proposal_hash: internal use only, tracks the hash of the proposal to check against the proposals.json file |
| 591 | ProposalHash string `protobuf:"bytes,6,opt,name=proposal_hash,json=proposalHash,proto3" json:"proposalHash"` // @gotags: json:"proposalHash" |
| 592 | unknownFields protoimpl.UnknownFields |
| 593 | sizeCache protoimpl.SizeCache |
| 594 | } |
| 595 | |
| 596 | func (x *MessageDAOTransfer) Reset() { |
| 597 | *x = MessageDAOTransfer{} |
nothing calls this directly
no outgoing calls
no test coverage detected