mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-11 13:29:12 +00:00
* feat: add new supported attestation formats to genesis * feat: refactor keyType to keytype enum * refactor: remove unused imports and code * refactor: update main.go to use src package * refactor: move web-related structs from to * refactor: move client middleware package to root * refactor: remove unused IndexedDB dependency * feat: update worker implementation to use * feat: add Caddyfile and Caddy configuration for vault service * refactor(config): move keyshare and address to Motr config * fix: validate service origin in AllocateVault * chore: remove IndexedDB configuration * feat: add support for IPNS-based vault access
61 lines
1.2 KiB
Go
61 lines
1.2 KiB
Go
// Code generated from Pkl module `transactions`. DO NOT EDIT.
|
|
package transactions
|
|
|
|
import "github.com/apple/pkl-go/pkl"
|
|
|
|
type MsgGroupSubmitProposal interface {
|
|
Msg
|
|
|
|
GetGroupPolicyAddress() string
|
|
|
|
GetProposers() []string
|
|
|
|
GetMetadata() string
|
|
|
|
GetMessages() []*pkl.Object
|
|
|
|
GetExec() int
|
|
}
|
|
|
|
var _ MsgGroupSubmitProposal = (*MsgGroupSubmitProposalImpl)(nil)
|
|
|
|
type MsgGroupSubmitProposalImpl struct {
|
|
// The type URL for the message
|
|
TypeUrl string `pkl:"typeUrl"`
|
|
|
|
GroupPolicyAddress string `pkl:"groupPolicyAddress"`
|
|
|
|
Proposers []string `pkl:"proposers"`
|
|
|
|
Metadata string `pkl:"metadata"`
|
|
|
|
Messages []*pkl.Object `pkl:"messages"`
|
|
|
|
Exec int `pkl:"exec"`
|
|
}
|
|
|
|
// The type URL for the message
|
|
func (rcv *MsgGroupSubmitProposalImpl) GetTypeUrl() string {
|
|
return rcv.TypeUrl
|
|
}
|
|
|
|
func (rcv *MsgGroupSubmitProposalImpl) GetGroupPolicyAddress() string {
|
|
return rcv.GroupPolicyAddress
|
|
}
|
|
|
|
func (rcv *MsgGroupSubmitProposalImpl) GetProposers() []string {
|
|
return rcv.Proposers
|
|
}
|
|
|
|
func (rcv *MsgGroupSubmitProposalImpl) GetMetadata() string {
|
|
return rcv.Metadata
|
|
}
|
|
|
|
func (rcv *MsgGroupSubmitProposalImpl) GetMessages() []*pkl.Object {
|
|
return rcv.Messages
|
|
}
|
|
|
|
func (rcv *MsgGroupSubmitProposalImpl) GetExec() int {
|
|
return rcv.Exec
|
|
}
|