Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowListedValidatorSetChangeProposalJSON ¶
type AllowListedValidatorSetChangeProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` AllowListedValidators types.AllowListedValidators `json:"allow_listed_validators" yaml:"allow_listed_validators"` Deposit string `json:"deposit" yaml:"deposit"` }
JumpstartTxnJSON defines a JumpStart JSON input to be parsed from a JSON file.
func NewAllowListedValidatorSetChangeProposalJSON ¶
func NewAllowListedValidatorSetChangeProposalJSON(title, description, deposit string, allowListedValidators types.AllowListedValidators) AllowListedValidatorSetChangeProposalJSON
NewAllowListedValidatorSetChangeProposalJSON returns AllowListedValidatorSetChangeProposalJSON struct with input values
func ParseAllowListedValidatorSetChangeProposalJSON ¶
func ParseAllowListedValidatorSetChangeProposalJSON(cdc *codec.LegacyAmino, proposalFile string) (AllowListedValidatorSetChangeProposalJSON, error)
ParseAllowListedValidatorSetChangeProposalJSON reads and parses a AllowListedValidatorSetChangeProposalJSON from file.
type JumpstartTxnJSON ¶
type JumpstartTxnJSON struct { ChainID string `json:"chain_id" yaml:"chain_id"` ConnectionID string `json:"connection_id" yaml:"connection_id"` TransferChannel string `json:"transfer_channel" yaml:"transfer_channel"` TransferPort string `json:"transfer_port" yaml:"transfer_port"` BaseDenom string `json:"base_denom" yaml:"base_denom"` MintDenom string `json:"mint_denom" yaml:"mint_denom"` MinDeposit string `json:"min_deposit" yaml:"min_deposit"` AllowListedValidators types.AllowListedValidators `json:"allow_listed_validators" yaml:"allow_listed_validators"` PstakeParams PstakeParams `json:"pstake_params" yaml:"pstake_params"` HostAccounts types.HostAccounts `json:"host_accounts" yaml:"host_accounts"` }
JumpstartTxnJSON defines a Jump start JSON input to be parsed from a JSON file.
func ParseJumpstartTxnJSON ¶
func ParseJumpstartTxnJSON(cdc *codec.LegacyAmino, file string) (JumpstartTxnJSON, error)
ParseJumpstartTxnJSON reads and parses a JumpstartTxnJSON from file.
type MinDepositAndFeeChangeProposalJSON ¶
type MinDepositAndFeeChangeProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` MinDeposit string `json:"min_deposit" yaml:"min_deposit"` PstakeDepositFee string `json:"pstake_deposit_fee" yaml:"pstake_deposit_fee"` PstakeRestakeFee string `json:"pstake_restake_fee" yaml:"pstake_restake_fee"` PstakeUnstakeFee string `json:"pstake_unstake_fee" yaml:"pstake_unstake_fee"` PstakeRedemptionFee string `json:"pstake_redemption_fee" yaml:"pstake_redemption_fee"` Deposit string `json:"deposit" yaml:"deposit"` }
MinDepositAndFeeChangeProposalJSON defines a MinDepositAndFeeChangeProposal JSON input to be parsed from a JSON file. Deposit is used by gov module to change status of proposal.
func NewMinDepositAndFeeChangeJSON ¶
func NewMinDepositAndFeeChangeJSON(title, description, minDeposit, pstakeDepositFee, pstakeRestakeFee, pstakeUnstakeFee, pstakeRedemptionFee, deposit string) MinDepositAndFeeChangeProposalJSON
NewMinDepositAndFeeChangeJSON returns MinDepositAndFeeChangeProposalJSON struct with input values
func ParseMinDepositAndFeeChangeProposalJSON ¶
func ParseMinDepositAndFeeChangeProposalJSON(cdc *codec.LegacyAmino, proposalFile string) (MinDepositAndFeeChangeProposalJSON, error)
ParseMinDepositAndFeeChangeProposalJSON reads and parses a MinDepositAndFeeChangeProposalJSON from file.
type PstakeFeeAddressChangeProposalJSON ¶
type PstakeFeeAddressChangeProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` PstakeFeeAddress string `json:"pstake_fee_address" yaml:"pstake_fee_address"` Deposit string `json:"deposit" yaml:"deposit"` }
PstakeFeeAddressChangeProposalJSON defines a PstakeFeeAddressChangeProposal JSON input to be parsed from a JSON file. Deposit is used by gov module to change status of proposal.
func NewPstakeFeeAddressChangeProposalJSON ¶
func NewPstakeFeeAddressChangeProposalJSON(title, description, pstakeFeeAddress, deposit string) PstakeFeeAddressChangeProposalJSON
NewPstakeFeeAddressChangeProposalJSON returns PstakeFeeAddressChangeProposalJSON struct with input values
func ParsePstakeFeeAddressChangeProposalJSON ¶
func ParsePstakeFeeAddressChangeProposalJSON(cdc *codec.LegacyAmino, proposalFile string) (PstakeFeeAddressChangeProposalJSON, error)
ParsePstakeFeeAddressChangeProposalJSON reads and parses a PstakeFeeAddressChangeProposal from file.
type PstakeParams ¶
type PstakeParams struct { PstakeDepositFee string `json:"pstake_deposit_fee" yaml:"pstake_deposit_fee"` PstakeRestakeFee string `json:"pstake_restake_fee" yaml:"pstake_restake_fee"` PstakeUnstakeFee string `json:"pstake_unstake_fee" yaml:"pstake_unstake_fee"` PstakeRedemptionFee string `json:"pstake_redemption_fee" yaml:"pstake_redemption_fee"` PstakeFeeAddress string `json:"pstake_fee_address" yaml:"pstake_fee_address"` }
PstakeParams defines the fees and address for register host chain proposal's PstakeParams