Documentation ¶
Index ¶
- type CommissionRates
- type Description
- type DocMsgEditValidator
- type DocTxMsgBeginRedelegate
- type DocTxMsgBeginUnbonding
- type DocTxMsgCancelUnbondingDelegation
- type DocTxMsgCreateValidator
- type DocTxMsgDelegate
- type DocTxMsgDisableTokenizeShares
- type DocTxMsgEnableTokenizeShares
- type DocTxMsgRedeemTokensForShares
- type DocTxMsgTokenizeShares
- type DocTxMsgTransferTokenizeShareRecord
- type DocTxMsgUnbondValidator
- type DocTxMsgValidatorBond
- type StakingClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommissionRates ¶
type Description ¶
type Description struct { Moniker string `bson:"moniker"` Identity string `bson:"identity"` Website string `bson:"website"` SecurityContact string `bson:"security_contact"` Details string `bson:"details"` }
Description
type DocMsgEditValidator ¶
type DocMsgEditValidator struct { Description Description `bson:"description"` ValidatorAddress string `bson:"validator_address"` CommissionRate string `bson:"commission_rate"` MinSelfDelegation string `bson:"min_self_delegation"` }
MsgEditValidator - struct for editing a validator
func (*DocMsgEditValidator) BuildMsg ¶
func (m *DocMsgEditValidator) BuildMsg(txMsg interface{})
func (*DocMsgEditValidator) GetType ¶
func (m *DocMsgEditValidator) GetType() string
func (*DocMsgEditValidator) HandleTxMsg ¶
func (m *DocMsgEditValidator) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgBeginRedelegate ¶
type DocTxMsgBeginRedelegate struct { DelegatorAddress string `bson:"delegator_address"` ValidatorSrcAddress string `bson:"validator_src_address"` ValidatorDstAddress string `bson:"validator_dst_address"` Amount models.Coin `bson:"amount"` }
MsgDelegate - struct for bonding transactions
func (*DocTxMsgBeginRedelegate) BuildMsg ¶
func (m *DocTxMsgBeginRedelegate) BuildMsg(txMsg interface{})
func (*DocTxMsgBeginRedelegate) GetType ¶
func (m *DocTxMsgBeginRedelegate) GetType() string
func (*DocTxMsgBeginRedelegate) HandleTxMsg ¶
func (m *DocTxMsgBeginRedelegate) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgBeginUnbonding ¶
type DocTxMsgBeginUnbonding struct { DelegatorAddress string `bson:"delegator_address"` ValidatorAddress string `bson:"validator_address"` Amount models.Coin `bson:"amount"` }
MsgBeginUnbonding - struct for unbonding transactions
func (*DocTxMsgBeginUnbonding) BuildMsg ¶
func (m *DocTxMsgBeginUnbonding) BuildMsg(txMsg interface{})
func (*DocTxMsgBeginUnbonding) GetType ¶
func (m *DocTxMsgBeginUnbonding) GetType() string
func (*DocTxMsgBeginUnbonding) HandleTxMsg ¶
func (m *DocTxMsgBeginUnbonding) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgCancelUnbondingDelegation ¶
type DocTxMsgCancelUnbondingDelegation struct { DelegatorAddress string `bson:"delegator_address"` ValidatorAddress string `bson:"validator_address"` Amount models.Coin `bson:"amount"` CreationHeight int64 `bson:"creation_height"` }
func (*DocTxMsgCancelUnbondingDelegation) BuildMsg ¶
func (m *DocTxMsgCancelUnbondingDelegation) BuildMsg(txMsg interface{})
func (*DocTxMsgCancelUnbondingDelegation) GetType ¶
func (m *DocTxMsgCancelUnbondingDelegation) GetType() string
func (*DocTxMsgCancelUnbondingDelegation) HandleTxMsg ¶
func (m *DocTxMsgCancelUnbondingDelegation) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgCreateValidator ¶
type DocTxMsgCreateValidator struct { Description Description `bson:"description"` Commission CommissionRates `bson:"commission"` MinSelfDelegation string `bson:"min_self_delegation"` DelegatorAddress string `bson:"delegator_address"` ValidatorAddress string `bson:"validator_address"` Pubkey string `bson:"pubkey"` Value Coin `bson:"value"` }
MsgCreateValidator defines an SDK message for creating a new validator.
func (*DocTxMsgCreateValidator) BuildMsg ¶
func (m *DocTxMsgCreateValidator) BuildMsg(txMsg interface{})
func (*DocTxMsgCreateValidator) GetType ¶
func (m *DocTxMsgCreateValidator) GetType() string
func (*DocTxMsgCreateValidator) HandleTxMsg ¶
func (m *DocTxMsgCreateValidator) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgDelegate ¶
type DocTxMsgDelegate struct { DelegatorAddress string `bson:"delegator_address"` ValidatorAddress string `bson:"validator_address"` Amount Coin `bson:"amount"` }
MsgDelegate - struct for bonding transactions
func (*DocTxMsgDelegate) BuildMsg ¶
func (m *DocTxMsgDelegate) BuildMsg(txMsg interface{})
func (*DocTxMsgDelegate) GetType ¶
func (m *DocTxMsgDelegate) GetType() string
func (*DocTxMsgDelegate) HandleTxMsg ¶
func (m *DocTxMsgDelegate) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgDisableTokenizeShares ¶
type DocTxMsgDisableTokenizeShares struct {
}func (*DocTxMsgDisableTokenizeShares) BuildMsg ¶
func (m *DocTxMsgDisableTokenizeShares) BuildMsg(txMsg interface{})
func (*DocTxMsgDisableTokenizeShares) GetType ¶
func (m *DocTxMsgDisableTokenizeShares) GetType() string
func (*DocTxMsgDisableTokenizeShares) HandleTxMsg ¶
func (m *DocTxMsgDisableTokenizeShares) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgEnableTokenizeShares ¶
type DocTxMsgEnableTokenizeShares struct {
}func (*DocTxMsgEnableTokenizeShares) BuildMsg ¶
func (m *DocTxMsgEnableTokenizeShares) BuildMsg(txMsg interface{})
func (*DocTxMsgEnableTokenizeShares) GetType ¶
func (m *DocTxMsgEnableTokenizeShares) GetType() string
func (*DocTxMsgEnableTokenizeShares) HandleTxMsg ¶
func (m *DocTxMsgEnableTokenizeShares) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgRedeemTokensForShares ¶
type DocTxMsgRedeemTokensForShares struct {}
func (*DocTxMsgRedeemTokensForShares) BuildMsg ¶
func (m *DocTxMsgRedeemTokensForShares) BuildMsg(txMsg interface{})
func (*DocTxMsgRedeemTokensForShares) GetType ¶
func (m *DocTxMsgRedeemTokensForShares) GetType() string
func (*DocTxMsgRedeemTokensForShares) HandleTxMsg ¶
func (m *DocTxMsgRedeemTokensForShares) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgTokenizeShares ¶
type DocTxMsgTokenizeShares struct {}
func (*DocTxMsgTokenizeShares) BuildMsg ¶
func (m *DocTxMsgTokenizeShares) BuildMsg(txMsg interface{})
func (*DocTxMsgTokenizeShares) GetType ¶
func (m *DocTxMsgTokenizeShares) GetType() string
func (*DocTxMsgTokenizeShares) HandleTxMsg ¶
func (m *DocTxMsgTokenizeShares) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgTransferTokenizeShareRecord ¶
type DocTxMsgTransferTokenizeShareRecord struct {}
func (*DocTxMsgTransferTokenizeShareRecord) BuildMsg ¶
func (m *DocTxMsgTransferTokenizeShareRecord) BuildMsg(txMsg interface{})
func (*DocTxMsgTransferTokenizeShareRecord) GetType ¶
func (m *DocTxMsgTransferTokenizeShareRecord) GetType() string
func (*DocTxMsgTransferTokenizeShareRecord) HandleTxMsg ¶
func (m *DocTxMsgTransferTokenizeShareRecord) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgUnbondValidator ¶
type DocTxMsgUnbondValidator struct {
ValidatorAddress string `bson:"validator_address"`
}
func (*DocTxMsgUnbondValidator) BuildMsg ¶
func (m *DocTxMsgUnbondValidator) BuildMsg(txMsg interface{})
func (*DocTxMsgUnbondValidator) GetType ¶
func (m *DocTxMsgUnbondValidator) GetType() string
func (*DocTxMsgUnbondValidator) HandleTxMsg ¶
func (m *DocTxMsgUnbondValidator) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocTxMsgValidatorBond ¶
type DocTxMsgValidatorBond struct { DelegatorAddress string `bson:"delegator_address"` ValidatorAddress string `bson:"validator_address"` }
func (*DocTxMsgValidatorBond) BuildMsg ¶
func (m *DocTxMsgValidatorBond) BuildMsg(txMsg interface{})
func (*DocTxMsgValidatorBond) GetType ¶
func (m *DocTxMsgValidatorBond) GetType() string
func (*DocTxMsgValidatorBond) HandleTxMsg ¶
func (m *DocTxMsgValidatorBond) HandleTxMsg(v SdkMsg) MsgDocInfo
type StakingClient ¶
type StakingClient struct { }
func NewClient ¶
func NewClient() StakingClient
func (StakingClient) HandleTxMsg ¶
func (staking StakingClient) HandleTxMsg(v sdk.Msg) (MsgDocInfo, bool)
Source Files ¶
- begin_redelegate.go
- begin_unbonding.go
- cancel_unbonding_delegation.go
- codec.go
- create_validator.go
- delegate.go
- disable_tokenize_shares.go
- edit_validator.go
- enable_tokenize_shares.go
- redeem_tokens_for_shares.go
- stake.go
- tokenize_shares.go
- transfer_tokenize_share_record.go
- types.go
- unbond_validator.go
- validator_bond.go
Click to show internal directories.
Click to hide internal directories.