mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +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
45 lines
823 B
Go
45 lines
823 B
Go
// Code generated from Pkl module `txns`. DO NOT EDIT.
|
|
package txns
|
|
|
|
import "github.com/apple/pkl-go/pkl"
|
|
|
|
type MsgGovDeposit interface {
|
|
Msg
|
|
|
|
GetProposalId() int
|
|
|
|
GetDepositor() string
|
|
|
|
GetAmount() []*pkl.Object
|
|
}
|
|
|
|
var _ MsgGovDeposit = (*MsgGovDepositImpl)(nil)
|
|
|
|
type MsgGovDepositImpl struct {
|
|
// The type URL for the message
|
|
TypeUrl string `pkl:"typeUrl"`
|
|
|
|
ProposalId int `pkl:"proposalId"`
|
|
|
|
Depositor string `pkl:"depositor"`
|
|
|
|
Amount []*pkl.Object `pkl:"amount"`
|
|
}
|
|
|
|
// The type URL for the message
|
|
func (rcv *MsgGovDepositImpl) GetTypeUrl() string {
|
|
return rcv.TypeUrl
|
|
}
|
|
|
|
func (rcv *MsgGovDepositImpl) GetProposalId() int {
|
|
return rcv.ProposalId
|
|
}
|
|
|
|
func (rcv *MsgGovDepositImpl) GetDepositor() string {
|
|
return rcv.Depositor
|
|
}
|
|
|
|
func (rcv *MsgGovDepositImpl) GetAmount() []*pkl.Object {
|
|
return rcv.Amount
|
|
}
|