mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +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
53 lines
1.2 KiB
Go
53 lines
1.2 KiB
Go
// Code generated from Pkl module `txns`. DO NOT EDIT.
|
|
package txns
|
|
|
|
import "github.com/apple/pkl-go/pkl"
|
|
|
|
type MsgStakingBeginRedelegate interface {
|
|
Msg
|
|
|
|
GetDelegatorAddress() string
|
|
|
|
GetValidatorSrcAddress() string
|
|
|
|
GetValidatorDstAddress() string
|
|
|
|
GetAmount() *pkl.Object
|
|
}
|
|
|
|
var _ MsgStakingBeginRedelegate = (*MsgStakingBeginRedelegateImpl)(nil)
|
|
|
|
type MsgStakingBeginRedelegateImpl struct {
|
|
// The type URL for the message
|
|
TypeUrl string `pkl:"typeUrl"`
|
|
|
|
DelegatorAddress string `pkl:"delegatorAddress"`
|
|
|
|
ValidatorSrcAddress string `pkl:"validatorSrcAddress"`
|
|
|
|
ValidatorDstAddress string `pkl:"validatorDstAddress"`
|
|
|
|
Amount *pkl.Object `pkl:"amount"`
|
|
}
|
|
|
|
// The type URL for the message
|
|
func (rcv *MsgStakingBeginRedelegateImpl) GetTypeUrl() string {
|
|
return rcv.TypeUrl
|
|
}
|
|
|
|
func (rcv *MsgStakingBeginRedelegateImpl) GetDelegatorAddress() string {
|
|
return rcv.DelegatorAddress
|
|
}
|
|
|
|
func (rcv *MsgStakingBeginRedelegateImpl) GetValidatorSrcAddress() string {
|
|
return rcv.ValidatorSrcAddress
|
|
}
|
|
|
|
func (rcv *MsgStakingBeginRedelegateImpl) GetValidatorDstAddress() string {
|
|
return rcv.ValidatorDstAddress
|
|
}
|
|
|
|
func (rcv *MsgStakingBeginRedelegateImpl) GetAmount() *pkl.Object {
|
|
return rcv.Amount
|
|
}
|