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
78 lines
1.7 KiB
Go
78 lines
1.7 KiB
Go
// Code generated from Pkl module `transactions`. DO NOT EDIT.
|
|
package transactions
|
|
|
|
import "github.com/apple/pkl-go/pkl"
|
|
|
|
type MsgStakingCreateValidator interface {
|
|
Msg
|
|
|
|
GetDescription() *pkl.Object
|
|
|
|
GetCommission() *pkl.Object
|
|
|
|
GetMinSelfDelegation() string
|
|
|
|
GetDelegatorAddress() string
|
|
|
|
GetValidatorAddress() string
|
|
|
|
GetPubkey() *pkl.Object
|
|
|
|
GetValue() *pkl.Object
|
|
}
|
|
|
|
var _ MsgStakingCreateValidator = (*MsgStakingCreateValidatorImpl)(nil)
|
|
|
|
// Staking module messages
|
|
type MsgStakingCreateValidatorImpl struct {
|
|
// The type URL for the message
|
|
TypeUrl string `pkl:"typeUrl"`
|
|
|
|
Description *pkl.Object `pkl:"description"`
|
|
|
|
Commission *pkl.Object `pkl:"commission"`
|
|
|
|
MinSelfDelegation string `pkl:"minSelfDelegation"`
|
|
|
|
DelegatorAddress string `pkl:"delegatorAddress"`
|
|
|
|
ValidatorAddress string `pkl:"validatorAddress"`
|
|
|
|
Pubkey *pkl.Object `pkl:"pubkey"`
|
|
|
|
Value *pkl.Object `pkl:"value"`
|
|
}
|
|
|
|
// The type URL for the message
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetTypeUrl() string {
|
|
return rcv.TypeUrl
|
|
}
|
|
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetDescription() *pkl.Object {
|
|
return rcv.Description
|
|
}
|
|
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetCommission() *pkl.Object {
|
|
return rcv.Commission
|
|
}
|
|
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetMinSelfDelegation() string {
|
|
return rcv.MinSelfDelegation
|
|
}
|
|
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetDelegatorAddress() string {
|
|
return rcv.DelegatorAddress
|
|
}
|
|
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetValidatorAddress() string {
|
|
return rcv.ValidatorAddress
|
|
}
|
|
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetPubkey() *pkl.Object {
|
|
return rcv.Pubkey
|
|
}
|
|
|
|
func (rcv *MsgStakingCreateValidatorImpl) GetValue() *pkl.Object {
|
|
return rcv.Value
|
|
}
|