Documentation ¶
Index ¶
- func KeyPubAddr() (crypto.PrivKey, crypto.PubKey, sdk.AccAddress)
- func NewBaseAccount(cet int64, accNum, seq uint64) (crypto.PrivKey, auth.BaseAccount)
- func ToAccAddress(addr string) sdk.AccAddress
- func ValidateBasic(t *testing.T, cases []TestCase)
- type MsgCreateValidatorBuilder
- func (builder *MsgCreateValidatorBuilder) Build() staking.MsgCreateValidator
- func (builder *MsgCreateValidatorBuilder) Commission(rate, maxRate, maxChangeRate string) *MsgCreateValidatorBuilder
- func (builder *MsgCreateValidatorBuilder) Description(moniker, identity, website, details string) *MsgCreateValidatorBuilder
- func (builder *MsgCreateValidatorBuilder) MinSelfDelegation(minSelfDelegation int64) *MsgCreateValidatorBuilder
- func (builder *MsgCreateValidatorBuilder) SelfDelegation(selfDelegation int64) *MsgCreateValidatorBuilder
- type StdTxBuilder
- func (builder *StdTxBuilder) AccNumSeqKey(num, seq uint64, key crypto.PrivKey) *StdTxBuilder
- func (builder *StdTxBuilder) Build() auth.StdTx
- func (builder *StdTxBuilder) BuildTxWithMemo(memo string) auth.StdTx
- func (builder *StdTxBuilder) GasAndFee(gas uint64, cet int64) *StdTxBuilder
- func (builder *StdTxBuilder) Msgs(msgs ...sdk.Msg) *StdTxBuilder
- type TestCase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyPubAddr ¶
func NewBaseAccount ¶
func ToAccAddress ¶
func ToAccAddress(addr string) sdk.AccAddress
func ValidateBasic ¶
Types ¶
type MsgCreateValidatorBuilder ¶
type MsgCreateValidatorBuilder struct {
// contains filtered or unexported fields
}
func NewMsgCreateValidatorBuilder ¶
func NewMsgCreateValidatorBuilder(valAddr sdk.ValAddress, pubKey crypto.PubKey) *MsgCreateValidatorBuilder
func (*MsgCreateValidatorBuilder) Build ¶
func (builder *MsgCreateValidatorBuilder) Build() staking.MsgCreateValidator
func (*MsgCreateValidatorBuilder) Commission ¶
func (builder *MsgCreateValidatorBuilder) Commission(rate, maxRate, maxChangeRate string) *MsgCreateValidatorBuilder
func (*MsgCreateValidatorBuilder) Description ¶
func (builder *MsgCreateValidatorBuilder) Description(moniker, identity, website, details string) *MsgCreateValidatorBuilder
func (*MsgCreateValidatorBuilder) MinSelfDelegation ¶
func (builder *MsgCreateValidatorBuilder) MinSelfDelegation(minSelfDelegation int64) *MsgCreateValidatorBuilder
func (*MsgCreateValidatorBuilder) SelfDelegation ¶
func (builder *MsgCreateValidatorBuilder) SelfDelegation(selfDelegation int64) *MsgCreateValidatorBuilder
type StdTxBuilder ¶
type StdTxBuilder struct {
// contains filtered or unexported fields
}
func NewStdTxBuilder ¶
func NewStdTxBuilder(chainID string) *StdTxBuilder
func (*StdTxBuilder) AccNumSeqKey ¶
func (builder *StdTxBuilder) AccNumSeqKey(num, seq uint64, key crypto.PrivKey) *StdTxBuilder
func (*StdTxBuilder) Build ¶
func (builder *StdTxBuilder) Build() auth.StdTx
func (*StdTxBuilder) BuildTxWithMemo ¶
func (builder *StdTxBuilder) BuildTxWithMemo(memo string) auth.StdTx
func (*StdTxBuilder) GasAndFee ¶
func (builder *StdTxBuilder) GasAndFee(gas uint64, cet int64) *StdTxBuilder
func (*StdTxBuilder) Msgs ¶
func (builder *StdTxBuilder) Msgs(msgs ...sdk.Msg) *StdTxBuilder
Click to show internal directories.
Click to hide internal directories.