mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
* fix: update commitizen version * feat: add WASM build tags to db actions * feat: Update all actions to follow `AddAsset` for error handling * feat: remove database dependency in dwn and motr commands * feat: add basic info form to registration view * feat: implement basic browser navigation component * refactor: move database related files to middleware * fix: remove unused test command * fix: update source directory for buf-publish workflow
59 lines
966 B
Go
59 lines
966 B
Go
// Code generated from Pkl module `txns`. DO NOT EDIT.
|
|
package txns
|
|
|
|
type MsgGroupVote interface {
|
|
Msg
|
|
|
|
GetProposalId() int
|
|
|
|
GetVoter() string
|
|
|
|
GetOption() int
|
|
|
|
GetMetadata() string
|
|
|
|
GetExec() int
|
|
}
|
|
|
|
var _ MsgGroupVote = (*MsgGroupVoteImpl)(nil)
|
|
|
|
type MsgGroupVoteImpl struct {
|
|
// The type URL for the message
|
|
TypeUrl string `pkl:"typeUrl"`
|
|
|
|
ProposalId int `pkl:"proposalId"`
|
|
|
|
Voter string `pkl:"voter"`
|
|
|
|
Option int `pkl:"option"`
|
|
|
|
Metadata string `pkl:"metadata"`
|
|
|
|
Exec int `pkl:"exec"`
|
|
}
|
|
|
|
// The type URL for the message
|
|
func (rcv *MsgGroupVoteImpl) GetTypeUrl() string {
|
|
return rcv.TypeUrl
|
|
}
|
|
|
|
func (rcv *MsgGroupVoteImpl) GetProposalId() int {
|
|
return rcv.ProposalId
|
|
}
|
|
|
|
func (rcv *MsgGroupVoteImpl) GetVoter() string {
|
|
return rcv.Voter
|
|
}
|
|
|
|
func (rcv *MsgGroupVoteImpl) GetOption() int {
|
|
return rcv.Option
|
|
}
|
|
|
|
func (rcv *MsgGroupVoteImpl) GetMetadata() string {
|
|
return rcv.Metadata
|
|
}
|
|
|
|
func (rcv *MsgGroupVoteImpl) GetExec() int {
|
|
return rcv.Exec
|
|
}
|