func (msg *MsgBudgetProposalBroadcast) BtcDecode(r io.Reader, pver uint32, enc MessageEncoding) error {
	pn, err := ReadVarString(r, pver)
	if err != nil {
		return err
	}
	msg.ProposalName = pn
	pu, err := ReadVarString(r, pver)
	if err != nil {
		return err
	}
	msg.ProposalURL = pu
	err = readElements(r, (*uint32Time)(&msg.Time), &msg.BlockStart, &msg.BlockEnd, &msg.Amount)
	if err != nil {
		return err
	}
	pa, err := ReadVarBytes(r, pver, 500, "payee")
	if err != nil {
		return err
	}
	msg.Payee = pa
	return readElement(r, &msg.FeeTransactionHash)
}
// BtcDecode decodes r using the bitcoin protocol encoding into the receiver.
// This is part of the Message interface implementation.
BtcDecode decodes r using the bitcoin protocol encoding into the receiver.
This is part of the Message interface implementation.
// BtcDecode decodes r using the bitcoin protocol encoding into the receiver . // This is part of the Message interface implementation .
func (msg *MsgBudgetProposalBroadcast) BtcDecode(r io.Reader, pver uint32, enc MessageEncoding) error {
	pn, err := ReadVarString(r, pver)
	if err != nil {
		return err
	}
	msg.ProposalName = pn
	pu, err := ReadVarString(r, pver)
	if err != nil {
		return err
	}
	msg.ProposalURL = pu
	err = readElements(r, (*uint32Time)(&msg.Time), &msg.BlockStart, &msg.BlockEnd, &msg.Amount)
	if err != nil {
		return err
	}
	pa, err := ReadVarBytes(r, pver, 500, "payee")
	if err != nil {
		return err
	}
	msg.Payee = pa
	return readElement(r, &msg.FeeTransactionHash)
}
func ( msg * MsgBudgetProposalBroadcast ) BtcDecode ( r io . Reader , pver uint32 , enc MessageEncoding ) error { pn , err := ReadVarString ( r , pver ) if err != nil { return err } msg . ProposalName = pn pu , err := ReadVarString ( r , pver ) if err != nil { return err } msg . ProposalURL = pu err = readElements ( r , ( * uint32Time ) ( & msg . Time ) , & msg . BlockStart , & msg . BlockEnd , & msg . Amount ) if err != nil { return err } pa , err := ReadVarBytes ( r , pver , 500 , " " ) if err != nil { return err } msg . Payee = pa return readElement ( r , & msg . FeeTransactionHash ) }
BtcDecode decodes r using the bitcoin protocol encoding into the receiver.
BtcDecode decodes r using the bitcoin protocol encoding into the receiver .