Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgBeginRedelegate ¶
type MsgBeginRedelegate struct {
DelegatorAddr sdk.Address `json:"delegatorAddress"`
ValidatorSrcAddr sdk.Address `json:"validatorSrcAddress"`
ValidatorDstAddr sdk.Address `json:"validatorDstAddress"`
}
MsgDelegate - struct for bonding transactions
func NewMsgBeginRedelegate ¶
func (MsgBeginRedelegate) GetSignBytes ¶
func (msg MsgBeginRedelegate) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgBeginRedelegate) GetSigners ¶
func (msg MsgBeginRedelegate) GetSigners() []sdk.Address
func (MsgBeginRedelegate) Type ¶
func (msg MsgBeginRedelegate) Type() string
func (MsgBeginRedelegate) ValidateBasic ¶
func (msg MsgBeginRedelegate) ValidateBasic() sdk.Error
quick validity check
type MsgBeginUnbonding ¶
type MsgBeginUnbonding struct {
DelegatorAddr sdk.Address `json:"delegatorAddress"`
ValidatorAddr sdk.Address `json:"validatorAddress"`
}
MsgBeginUnbonding - struct for unbonding transactions
func NewMsgBeginUnbonding ¶
func (MsgBeginUnbonding) GetSignBytes ¶
func (msg MsgBeginUnbonding) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgBeginUnbonding) GetSigners ¶
func (msg MsgBeginUnbonding) GetSigners() []sdk.Address
func (MsgBeginUnbonding) Name ¶
func (msg MsgBeginUnbonding) Name() string
func (MsgBeginUnbonding) ValidateBasic ¶
func (msg MsgBeginUnbonding) ValidateBasic() sdk.Error
quick validity check
type MsgCompleteRedelegate ¶
type MsgCompleteRedelegate struct {
DelegatorAddr sdk.Address `json:"delegatorAddress"`
ValidatorSrcAddr sdk.Address `json:"validatorSrcAddress"`
ValidatorDstAddr sdk.Address `json:"validatorDstAddress"`
}
MsgDelegate - struct for bonding transactions
func NewMsgCompleteRedelegate ¶
func NewMsgCompleteRedelegate(delegatorAddr, validatorSrcAddr, validatorDstAddr sdk.Address) MsgCompleteRedelegate
func (MsgCompleteRedelegate) GetSignBytes ¶
func (msg MsgCompleteRedelegate) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgCompleteRedelegate) GetSigners ¶
func (msg MsgCompleteRedelegate) GetSigners() []sdk.Address
func (MsgCompleteRedelegate) ValidateBasic ¶
func (msg MsgCompleteRedelegate) ValidateBasic() sdk.Error
quick validity check
type MsgCompleteUnbonding ¶
type MsgCompleteUnbonding struct {
DelegatorAddr sdk.Address `json:"delegatorAddress"`
ValidatorAddr sdk.Address `json:"validatorAddress"`
}
MsgCompleteUnbonding - struct for unbonding transactions
func NewMsgCompleteUnbonding ¶
func NewMsgCompleteUnbonding(delAddr sdk.Address, valAddr sdk.Address) MsgCompleteUnbonding
func (MsgCompleteUnbonding) GetSignBytes ¶
func (msg MsgCompleteUnbonding) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgCompleteUnbonding) GetSigners ¶
func (msg MsgCompleteUnbonding) GetSigners() []sdk.Address
func (MsgCompleteUnbonding) Name ¶
func (msg MsgCompleteUnbonding) Name() string
func (MsgCompleteUnbonding) ValidateBasic ¶
func (msg MsgCompleteUnbonding) ValidateBasic() sdk.Error
quick validity check
type MsgCreateValidator ¶
type MsgCreateValidator struct {
Description posTypes.Description
DelegatorAddr sdk.Address `json:"delegator_address"`
ValidatorAddr sdk.Address `json:"validator_address"`
PubKey types.PubKey `json:"pubkey"`
Delegation types.Coin `json:"delegation"`
}
MsgCreateValidator - struct for unbonding transactions
func (MsgCreateValidator) GetSignBytes ¶
func (msg MsgCreateValidator) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgCreateValidator) GetSigners ¶
func (msg MsgCreateValidator) GetSigners() []sdk.Address
Return address(es) that must sign over msg.GetSignBytes()
func (MsgCreateValidator) ValidateBasic ¶
func (msg MsgCreateValidator) ValidateBasic() sdk.Error
quick validity check
type MsgDelegate ¶
type MsgDelegate struct {
DelegatorAddr sdk.Address `json:"delegatorAddress"`
ValidatorAddr sdk.Address `json:"validatorAddress"`
Delegation types.Coin `json:"delegation"`
}
MsgDelegate - struct for bonding transactions
func NewMsgDelegate ¶
func (MsgDelegate) GetSignBytes ¶
func (msg MsgDelegate) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgDelegate) GetSigners ¶
func (msg MsgDelegate) GetSigners() []sdk.Address
func (MsgDelegate) ValidateBasic ¶
func (msg MsgDelegate) ValidateBasic() sdk.Error
quick validity check
type MsgEditValidator ¶
type MsgEditValidator struct {
posTypes.Description
ValidatorAddr sdk.Address `json:"address"`
}
func NewMsgEditValidator ¶
func NewMsgEditValidator(valAddr sdk.Address, description posTypes.Description) MsgEditValidator
func (MsgEditValidator) GetSignBytes ¶
func (msg MsgEditValidator) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgEditValidator) GetSigners ¶
func (msg MsgEditValidator) GetSigners() []sdk.Address
func (MsgEditValidator) Type ¶
func (msg MsgEditValidator) Type() string
func (MsgEditValidator) ValidateBasic ¶
func (msg MsgEditValidator) ValidateBasic() sdk.Error
quick validity check
type MsgWithdraw ¶
type MsgWithdraw struct {
DelegatorAddr sdk.Address `json:"delegatorAddress"`
ValidatorAddr sdk.Address `json:"validatorAddress"`
}
MsgWithdraw - struct for bonding transactions
func NewMsgWithdraw ¶
func NewMsgWithdraw(delAddr sdk.Address, valAddr sdk.Address) MsgWithdraw
func (MsgWithdraw) GetSignBytes ¶
func (msg MsgWithdraw) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgWithdraw) GetSigners ¶
func (msg MsgWithdraw) GetSigners() []sdk.Address
func (MsgWithdraw) ValidateBasic ¶
func (msg MsgWithdraw) ValidateBasic() sdk.Error
quick validity check