Documentation ¶
Index ¶
- type AccountTransferParams
- type Allowance
- type AllowedMsgAllowance
- type BasicAllowance
- type Block
- type BlockEvent
- type BlockEventAttribute
- type BlockEvidence
- type BlockResults
- type BlockResultsConsensusParamUpdates
- type BlockResultsConsensusParamUpdatesBlock
- type BlockResultsConsensusParamUpdatesEvidence
- type BlockResultsConsensusParamsUpdatesValidator
- type BlockResultsEvent
- type BlockResultsEventAttribute
- type BlockResultsTxsResult
- type BlockResultsTxsResultLog
- type BlockResultsValidatorPubKey
- type BlockResultsValidatorUpdate
- type BlockSignature
- type CompleteBondingParams
- type CosmosTx
- type CosmosTxAuthInfo
- type CosmosTxAuthInfoFee
- type CosmosTxAuthInfoFeeAmount
- type CosmosTxBody
- type CosmosTxSignerInfo
- type CosmosTxSignerInfoModeInfo
- type CosmosTxSignerInfoModeInfoMulti
- type CosmosTxSignerInfoModeInfoMultiBitarray
- type CosmosTxSignerInfoModeInfoMultiSingleModeInfo
- type CosmosTxSignerInfoModeInfoSingle
- type CosmosTxSignerInfoPublicKey
- type CosmosTxSignerInfoPublicKeyPublicKey
- type CosmosTxTip
- type CosmosTxTipAmount
- type CosmosTxWithHash
- type CreateBlockRawEventParams
- type CreateRawTransactionParams
- type CreateTransactionParams
- type CronosSendToIBCHeight
- type CronosSendToIBCParams
- type CronosSendToIBCToken
- type DataParams
- type Duration
- type FungibleTokenPacketData
- type GenericAuthorization
- type GenericGrant
- type GravityEthereumSendToCosmosHandledEventParams
- type LegacyTx
- type MintParams
- type MsgBeginRedelegateParams
- type MsgCreateValidatorParams
- type MsgCreateVestingAccountAmount
- type MsgCreateVestingAccountParams
- type MsgDelegateParams
- type MsgDepositParams
- type MsgEditValidatorParams
- type MsgEthereumTx
- type MsgEthereumTxParams
- type MsgExecMsg
- type MsgExecParams
- type MsgFundCommunityPoolParams
- type MsgGrantAllowanceParams
- type MsgGrantAllowancePeriodCanSpend
- type MsgGrantAllowancePeriodSpendLimit
- type MsgGrantAllowanceSpendLimit
- type MsgGrantMaxTokens
- type MsgGrantParams
- type MsgGrantSpendLimit
- type MsgMultiSendInput
- type MsgMultiSendOutput
- type MsgMultiSendParams
- type MsgNFTBurnNFTParams
- type MsgNFTEditNFTParams
- type MsgNFTIssueDenomParams
- type MsgNFTMintNFTParams
- type MsgNFTTransferNFTParams
- type MsgRevokeAllowanceParams
- type MsgRevokeParams
- type MsgSetWithdrawAddressParams
- type MsgSubmitCancelSoftwareUpgradeProposalContent
- type MsgSubmitCancelSoftwareUpgradeProposalParams
- type MsgSubmitCommunityPoolSpendProposalContent
- type MsgSubmitCommunityPoolSpendProposalParams
- type MsgSubmitParamChangeProposalChange
- type MsgSubmitParamChangeProposalContent
- type MsgSubmitParamChangeProposalParams
- type MsgSubmitProposalContent
- type MsgSubmitSoftwareUpgradeProposalContent
- type MsgSubmitSoftwareUpgradeProposalParams
- type MsgSubmitSoftwareUpgradeProposalPlan
- type MsgSubmitTextProposalContent
- type MsgSubmitTextProposalParams
- type MsgSubmitUnknownProposalContent
- type MsgSubmitUnknownProposalParams
- type MsgUndelegateParams
- type MsgUnjailParams
- type MsgVoteParams
- type MsgWithdrawDelegatorRewardParams
- type MsgWithdrawValidatorCommissionParams
- type PeriodicAllowance
- type PowerChangeParams
- type RawBlock
- type RawBlockSignature
- type RawCronosSendToIBCParams
- type RawMsgCreateVestingAccount
- type RawMsgEthereumTx
- type RawMsgExec
- type RawMsgGenericGrant
- type RawMsgGrantAllowedMsgAllowance
- type RawMsgGrantBasicAllowance
- type RawMsgGrantPeriodicAllowance
- type RawMsgRevoke
- type RawMsgRevokeAllowance
- type RawMsgSendGrant
- type RawMsgStakeGrant
- type RawMsgSubmitCommunityPoolSpendProposalContent
- type RawMsgSubmitSoftwareUpgradeProposalContent
- type RawMsgSubmitSoftwareUpgradeProposalPlan
- type SendAuthorization
- type SendGrant
- type SlashValidatorParams
- type StakeAuthorization
- type StakeGrant
- type TransactionSigner
- type TransactionSignerKeyInfo
- type Tx
- type TxResponse
- type TxResponseLog
- type TxResponseTx
- type ValidatorCommission
- type ValidatorDescription
- type Validators
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountTransferParams ¶
type AllowedMsgAllowance ¶
type BasicAllowance ¶
type BasicAllowance struct { Type string `mapstructure:"@type" json:"@type"` SpendLimit []MsgGrantAllowanceSpendLimit `mapstructure:"spend_limit" json:"spendLimit"` Expiration string `mapstructure:"expiration" json:"expiration"` }
type Block ¶
type Block struct { Height int64 `json:"height" fake:"{blockheight}"` Hash string `json:"hash" fake:"{blockhash}"` Time utctime.UTCTime `json:"time" fake:"{utctime}"` AppHash string `json:"appHash" fake:"{blockapphash}"` ProposerAddress string `json:"proposerAddress" fake:"{validatoraddress}"` Txs []string `json:"txs" fake:"skip"` Signatures []BlockSignature `json:"signature" fakesize:"3"` Evidences []BlockEvidence `json:"evidences" fake:"skip"` }
type BlockEvent ¶ added in v1.5.1
type BlockEvent struct { Type string `json:"type"` Attributes []BlockEventAttribute `json:"attributes"` }
type BlockEventAttribute ¶ added in v1.5.1
type BlockEvidence ¶
type BlockEvidence struct { Type string `json:"type"` Value struct { VoteA struct { Type int `json:"type"` Height string `json:"height"` Round int `json:"round"` BlockID struct { Hash string `json:"hash"` Parts struct { Total int `json:"total"` Hash string `json:"hash"` } `json:"parts"` } `json:"block_id"` Timestamp utctime.UTCTime `json:"timestamp"` ValidatorAddress string `json:"validator_address"` ValidatorIndex int `json:"validator_index"` Signature string `json:"signature"` } `json:"vote_a"` VoteB struct { Type int `json:"type"` Height string `json:"height"` Round int `json:"round"` BlockID struct { Hash string `json:"hash"` Parts struct { Total int `json:"total"` Hash string `json:"hash"` } `json:"parts"` } `json:"block_id"` Timestamp utctime.UTCTime `json:"timestamp"` ValidatorAddress string `json:"validator_address"` ValidatorIndex int `json:"validator_index"` Signature string `json:"signature"` } `json:"vote_b"` // TODO: Breaking changes to snake case in the future TotalVotingPower string `json:"TotalVotingPower"` ValidatorPower string `json:"ValidatorPower"` Timestamp utctime.UTCTime `json:"Timestamp"` } `json:"value"` }
type BlockResults ¶
type BlockResults struct { Height int64 `json:"height"` TxsResults []BlockResultsTxsResult `json:"txsResults"` BeginBlockEvents []BlockResultsEvent `json:"beginBlockEvents"` EndBlockEvents []BlockResultsEvent `json:"endBlockEvents"` ValidatorUpdates []BlockResultsValidatorUpdate `json:"validatorUpdates"` ConsensusParamUpdates BlockResultsConsensusParamUpdates `json:"consensusParamUpdates"` }
func (*BlockResults) String ¶
func (results *BlockResults) String() string
type BlockResultsConsensusParamUpdates ¶
type BlockResultsConsensusParamUpdates struct { Block BlockResultsConsensusParamUpdatesBlock `json:"block"` Evidence BlockResultsConsensusParamUpdatesEvidence `json:"evidence"` Validator BlockResultsConsensusParamsUpdatesValidator `json:"validator"` }
type BlockResultsConsensusParamsUpdatesValidator ¶
type BlockResultsConsensusParamsUpdatesValidator struct {
PubKeyTypes []string `json:"pubKeyTypes"`
}
type BlockResultsEvent ¶
type BlockResultsEvent struct { Type string `json:"type"` Attributes []BlockResultsEventAttribute `json:"attributes"` }
type BlockResultsTxsResult ¶
type BlockResultsTxsResult struct { Code int `json:"code"` Data string `json:"data"` Log []BlockResultsTxsResultLog `json:"log"` RawLog string `json:"rawLog"` Info string `json:"info"` GasWanted string `json:"gasWanted"` GasUsed string `json:"gasUsed"` Events []BlockResultsEvent `json:"events"` Codespace string `json:"codespace"` }
type BlockResultsTxsResultLog ¶
type BlockResultsTxsResultLog struct { MsgIndex int `json:"msgIndex"` Events []BlockResultsEvent `json:"events"` }
type BlockResultsValidatorUpdate ¶
type BlockResultsValidatorUpdate struct { Pubkey BlockResultsValidatorPubKey `json:"pubkey"` Address string `json:"address"` MaybePower *big.Int `json:"power"` }
type BlockSignature ¶
type CompleteBondingParams ¶
type CosmosTx ¶ added in v1.5.1
type CosmosTx struct { Body CosmosTxBody `json:"body"` AuthInfo CosmosTxAuthInfo `json:"auth_info"` Signatures []string `json:"signatures"` }
type CosmosTxAuthInfo ¶ added in v1.5.1
type CosmosTxAuthInfo struct { SignerInfos []CosmosTxSignerInfo `json:"signer_infos"` Fee CosmosTxAuthInfoFee `json:"fee"` Tip *CosmosTxTip `json:"tip"` }
type CosmosTxAuthInfoFee ¶ added in v1.5.1
type CosmosTxAuthInfoFee struct { Amount []CosmosTxAuthInfoFeeAmount `json:"amount"` GasLimit string `json:"gas_limit"` Payer string `json:"payer"` Granter string `json:"granter"` }
type CosmosTxAuthInfoFeeAmount ¶ added in v1.5.1
type CosmosTxBody ¶ added in v1.5.1
type CosmosTxSignerInfo ¶ added in v1.5.1
type CosmosTxSignerInfo struct { MaybePublicKey *CosmosTxSignerInfoPublicKey `json:"public_key"` ModeInfo CosmosTxSignerInfoModeInfo `json:"mode_info"` Sequence string `json:"sequence"` }
type CosmosTxSignerInfoModeInfo ¶ added in v1.5.1
type CosmosTxSignerInfoModeInfo struct { MaybeSingle *CosmosTxSignerInfoModeInfoSingle `json:"single,omitempty"` MaybeMulti *CosmosTxSignerInfoModeInfoMulti `json:"multi,omitempty"` }
type CosmosTxSignerInfoModeInfoMulti ¶ added in v1.5.1
type CosmosTxSignerInfoModeInfoMulti struct { Bitarray CosmosTxSignerInfoModeInfoMultiBitarray `json:"bitarray"` ModeInfos []CosmosTxSignerInfoModeInfoMultiSingleModeInfo `json:"mode_infos"` }
type CosmosTxSignerInfoModeInfoMultiBitarray ¶ added in v1.5.1
type CosmosTxSignerInfoModeInfoMultiSingleModeInfo ¶ added in v1.5.1
type CosmosTxSignerInfoModeInfoMultiSingleModeInfo struct {
Single CosmosTxSignerInfoModeInfoSingle `json:"single"`
}
type CosmosTxSignerInfoModeInfoSingle ¶ added in v1.5.1
type CosmosTxSignerInfoModeInfoSingle struct {
Mode string `json:"mode"`
}
type CosmosTxSignerInfoPublicKey ¶ added in v1.5.1
type CosmosTxSignerInfoPublicKey struct { Type string `json:"@type"` MaybeThreshold *int `json:"threshold,omitempty"` MaybePublicKeys []CosmosTxSignerInfoPublicKeyPublicKey `json:"public_keys,omitempty"` MaybeKey *string `json:"key,omitempty"` }
type CosmosTxSignerInfoPublicKeyPublicKey ¶ added in v1.5.1
type CosmosTxTip ¶ added in v1.6.8
type CosmosTxTip struct { Amount []CosmosTxTipAmount `json:"amount"` Tipper string `json:"tipper"` }
type CosmosTxTipAmount ¶ added in v1.6.8
type CosmosTxWithHash ¶ added in v1.6.3
type CreateBlockRawEventParams ¶ added in v1.5.2
type CreateBlockRawEventParams struct { BlockHash string BlockTime utctime.UTCTime FromResult string Data DataParams }
type CreateRawTransactionParams ¶ added in v1.5.2
type CreateTransactionParams ¶
type CronosSendToIBCHeight ¶
type CronosSendToIBCParams ¶
type CronosSendToIBCParams struct { TxHash string `json:"txHash"` EthereumTxHash string `json:"ethereumTxHash"` SourcePort string `json:"sourcePort"` SourceChannel string `json:"sourceChannel"` Token CronosSendToIBCToken `json:"token"` Sender string `json:"sender"` Receiver string `json:"receiver"` TimeoutHeight CronosSendToIBCHeight `json:"timeoutHeight"` TimeoutTimestamp string `json:"timeoutTimestamp"` PacketDataHex string `json:"packetDataHex"` PacketSequence uint64 `json:"packetSequence,string"` DestinationPort string `json:"destinationPort"` DestinationChannel string `json:"destinationChannel"` ChannelOrdering string `json:"channelOrdering"` ConnectionID string `json:"connectionId"` }
type CronosSendToIBCToken ¶
type CronosSendToIBCToken struct { Denom string `json:"denom"` Amount *json.NumericString `json:"amount"` }
type DataParams ¶ added in v1.5.2
type DataParams struct { Type string `json:"type"` Content BlockResultsEvent `json:"content"` }
type FungibleTokenPacketData ¶
type FungibleTokenPacketData struct { Sender string `json:"sender"` Receiver string `json:"receiver"` Denom string `json:"denom"` Amount *json.NumericString `json:"amount"` }
type GenericAuthorization ¶
type GenericAuthorization struct {
Msg string `mapstructure:"msg" json:"msg,omitempty"`
}
type GenericGrant ¶
type GenericGrant struct { Authorization GenericAuthorization `mapstructure:"authorization" json:"authorization"` Expiration string `mapstructure:"expiration" json:"expiration"` }
type GravityEthereumSendToCosmosHandledEventParams ¶
type GravityEthereumSendToCosmosHandledEventParams struct { Module string `json:"module"` Sender string `json:"sender"` Receiver string `json:"receiver"` Amount coin.Coins `json:"amount"` BridgeChainId uint64 `json:"bridgeChainId"` EthereumTokenContract string `json:"tokenContract"` Nonce uint64 `json:"nonce"` EthereumEventVoteRecordId []byte `json:"ethereumEventVoteRecordId"` }
type LegacyTx ¶ added in v1.3.21
type LegacyTx struct { Type string `mapstructure:"@type" json:"@type"` Nonce string `mapstructure:"nonce" json:"nonce"` GasPrice string `mapstructure:"gas_price" json:"gasPrice"` Gas string `mapstructure:"gas" json:"gas"` To string `mapstructure:"to" json:"to"` Value string `mapstructure:"value" json:"value"` Data string `mapstructure:"data" json:"data"` V string `mapstructure:"v" json:"v"` R string `mapstructure:"r" json:"r"` S string `mapstructure:"s" json:"s"` }
FIXME: https://github.com/crypto-com/chain-indexing/issues/730
type MintParams ¶
type MsgCreateValidatorParams ¶
type MsgCreateValidatorParams struct { Description ValidatorDescription `json:"description"` Commission ValidatorCommission `json:"commission"` MinSelfDelegation string `json:"minSelfDelegation"` DelegatorAddress string `json:"delegatorAddress"` ValidatorAddress string `json:"validatorAddress"` TendermintPubkey string `json:"tendermintPubkey"` Amount coin.Coin `json:"amount"` }
type MsgCreateVestingAccountParams ¶
type MsgCreateVestingAccountParams struct {
RawMsgCreateVestingAccount
}
type MsgDelegateParams ¶
type MsgDepositParams ¶
type MsgEditValidatorParams ¶
type MsgEditValidatorParams struct { Description ValidatorDescription `json:"description"` ValidatorAddress string `json:"validatorAddress"` MaybeCommissionRate *string `json:"commissionRate"` MaybeMinSelfDelegation *string `json:"minSelfDelegation"` }
type MsgEthereumTx ¶ added in v1.3.21
type MsgEthereumTxParams ¶ added in v1.3.21
type MsgEthereumTxParams struct {
RawMsgEthereumTx
}
type MsgExecMsg ¶
type MsgExecMsg struct {
Type string `mapstructure:"@type" json:"@type"`
}
type MsgExecParams ¶
type MsgExecParams struct {
RawMsgExec
}
type MsgGrantAllowanceParams ¶
type MsgGrantAllowanceParams struct { MaybeBasicAllowance *RawMsgGrantBasicAllowance `json:"maybeBasicAllowance"` MaybePeriodicAllowance *RawMsgGrantPeriodicAllowance `json:"maybePeriodicAllowance"` MaybeAllowedMsgAllowance *RawMsgGrantAllowedMsgAllowance `json:"maybeAllowedMsgAllowance"` }
type MsgGrantMaxTokens ¶
type MsgGrantParams ¶
type MsgGrantParams struct { MaybeSendGrant *RawMsgSendGrant `json:"maybeSendGrant"` MaybeStakeGrant *RawMsgStakeGrant `json:"maybeStakeGrant"` MaybeGenericGrant *RawMsgGenericGrant `json:"maybeGenericGrant"` }
type MsgGrantSpendLimit ¶
type MsgMultiSendInput ¶
type MsgMultiSendOutput ¶
type MsgMultiSendParams ¶
type MsgMultiSendParams struct { Inputs []MsgMultiSendInput `json:"inputs"` Outputs []MsgMultiSendOutput `json:"outputs"` }
type MsgNFTBurnNFTParams ¶
type MsgNFTEditNFTParams ¶
type MsgNFTIssueDenomParams ¶
type MsgNFTMintNFTParams ¶
type MsgNFTTransferNFTParams ¶
type MsgRevokeAllowanceParams ¶
type MsgRevokeAllowanceParams struct {
RawMsgRevokeAllowance
}
type MsgRevokeParams ¶
type MsgRevokeParams struct {
RawMsgRevoke
}
type MsgSubmitCancelSoftwareUpgradeProposalParams ¶
type MsgSubmitCancelSoftwareUpgradeProposalParams struct { MaybeProposalId *string `json:"proposalId"` Content MsgSubmitCancelSoftwareUpgradeProposalContent `json:"content"` ProposerAddress string `json:"proposerAddress"` InitialDeposit coin.Coins `json:"initialDeposit"` }
type MsgSubmitCommunityPoolSpendProposalParams ¶
type MsgSubmitCommunityPoolSpendProposalParams struct { MaybeProposalId *string `json:"proposalId"` Content MsgSubmitCommunityPoolSpendProposalContent `json:"content"` ProposerAddress string `json:"proposerAddress"` InitialDeposit coin.Coins `json:"initialDeposit"` }
type MsgSubmitParamChangeProposalChange ¶
type MsgSubmitParamChangeProposalChange struct { Subspace string `json:"subspace"` Key string `json:"key"` Value json.RawMessage `json:"value"` }
type MsgSubmitParamChangeProposalContent ¶
type MsgSubmitParamChangeProposalContent struct { Type string `json:"@type"` Title string `json:"title"` Description string `json:"description"` Changes []MsgSubmitParamChangeProposalChange `json:"changes"` }
type MsgSubmitParamChangeProposalParams ¶
type MsgSubmitParamChangeProposalParams struct { MaybeProposalId *string `json:"proposalId"` Content MsgSubmitParamChangeProposalContent `json:"content"` ProposerAddress string `json:"proposerAddress"` InitialDeposit coin.Coins `json:"initialDeposit"` }
type MsgSubmitProposalContent ¶
type MsgSubmitProposalContent struct {
Type string `json:"@type"`
}
type MsgSubmitSoftwareUpgradeProposalContent ¶
type MsgSubmitSoftwareUpgradeProposalContent struct { Type string `json:"@type"` Title string `json:"title"` Description string `json:"description"` Plan MsgSubmitSoftwareUpgradeProposalPlan `json:"plan"` }
type MsgSubmitSoftwareUpgradeProposalParams ¶
type MsgSubmitSoftwareUpgradeProposalParams struct { MaybeProposalId *string `json:"proposalId"` Content MsgSubmitSoftwareUpgradeProposalContent `json:"content"` ProposerAddress string `json:"proposerAddress"` InitialDeposit coin.Coins `json:"initialDeposit"` }
type MsgSubmitTextProposalParams ¶
type MsgSubmitTextProposalParams struct { MaybeProposalId *string `json:"proposalId"` Content MsgSubmitTextProposalContent `json:"content"` ProposerAddress string `json:"proposerAddress"` InitialDeposit coin.Coins `json:"initialDeposit"` }
type MsgSubmitUnknownProposalContent ¶ added in v1.4.1
type MsgSubmitUnknownProposalParams ¶ added in v1.4.1
type MsgSubmitUnknownProposalParams struct { MaybeProposalId *string `json:"proposalId"` Content MsgSubmitUnknownProposalContent `json:"content"` ProposerAddress string `json:"proposerAddress"` InitialDeposit coin.Coins `json:"initialDeposit"` }
type MsgUndelegateParams ¶
type MsgUnjailParams ¶
type MsgUnjailParams struct {
ValidatorAddr string `json:"address"`
}
type MsgVoteParams ¶
type PeriodicAllowance ¶
type PeriodicAllowance struct { Type string `mapstructure:"@type" json:"@type"` Basic BasicAllowance `mapstructure:"basic" json:"basic"` Period Duration `mapstructure:"period" json:"period"` PeriodSpendLimit []MsgGrantAllowancePeriodSpendLimit `mapstructure:"period_spend_limit" json:"periodSpendLimit"` PeriodCanSpend []MsgGrantAllowancePeriodCanSpend `mapstructure:"period_can_spend" json:"periodCanSpend"` PeriodReset string `mapstructure:"period_reset" json:"periodReset"` }
type PowerChangeParams ¶
type RawBlock ¶
type RawBlock struct { BlockID struct { Hash string `json:"hash" fake:"{blockheight}"` Parts struct { Total int `json:"total"` Hash string `json:"hash"` } `json:"parts"` } `json:"block_id"` Block struct { Header struct { Version struct { Block string `json:"block"` } `json:"version"` ChainID string `json:"chain_id"` Height string `json:"height"` Time utctime.UTCTime `json:"time"` LastBlockID struct { Hash string `json:"hash"` Parts struct { Total int `json:"total"` Hash string `json:"hash"` } `json:"parts"` } `json:"last_block_id"` LastCommitHash string `json:"last_commit_hash"` DataHash string `json:"data_hash"` ValidatorsHash string `json:"validators_hash"` NextValidatorsHash string `json:"next_validators_hash"` ConsensusHash string `json:"consensus_hash"` AppHash string `json:"app_hash"` LastResultsHash string `json:"last_results_hash"` EvidenceHash string `json:"evidence_hash"` ProposerAddress string `json:"proposer_address"` } `json:"header"` Data struct { Txs []string `json:"txs"` } `json:"data"` Evidence struct { Evidence []BlockEvidence `json:"evidence"` } `json:"evidence"` LastCommit struct { Height string `json:"height"` Round int `json:"round"` BlockID struct { Hash string `json:"hash"` Parts struct { Total int `json:"total"` Hash string `json:"hash"` } `json:"parts"` } `json:"block_id"` Signatures []RawBlockSignature `json:"signatures"` } `json:"last_commit"` } `json:"block"` }
RawBlock defines the structure for Tendermint /block API response JSON
type RawBlockSignature ¶
type RawBlockSignature struct { BlockIDFlag int `json:"block_id_flag"` ValidatorAddress string `json:"validator_address"` Timestamp utctime.UTCTime `json:"timestamp"` Signature *string `json:"signature"` }
RawBlockSignature defines the structure for signatures in /block API
type RawCronosSendToIBCParams ¶
type RawCronosSendToIBCParams struct { PacketChannelOrdering string PacketConnection string PacketData string PacketDataHex string PacketDstChannel string PacketDstPort string PacketSequence string PacketSrcChannel string PacketSrcPort string PacketTimeoutHeight string PacketTimeoutTimestamp string }
type RawMsgCreateVestingAccount ¶
type RawMsgCreateVestingAccount struct { Type string `mapstructure:"@type" json:"@type"` FromAddress string `mapstructure:"from_address" json:"fromAddress"` ToAddress string `mapstructure:"to_Address" json:"toAddress"` Amount []MsgCreateVestingAccountAmount `mapstructure:"amount" json:"amount"` EndTime int64 `mapstructure:"end_time" json:"endTime"` Delayed bool `mapstructure:"delayed" json:"delayed"` }
type RawMsgEthereumTx ¶ added in v1.3.21
type RawMsgEthereumTx struct { Type string `mapstructure:"@type" json:"@type"` Size int `mapstructure:"size" json:"size"` // FIXME: https://github.com/crypto-com/chain-indexing/issues/730 Data LegacyTx `mapstructure:"data" json:"data"` From string `mapstructure:"from" json:"from"` Hash string `mapstructure:"hash" json:"hash"` }
type RawMsgExec ¶
type RawMsgExec struct { Type string `mapstructure:"@type" json:"@type"` Grantee string `mapstructure:"grantee" json:"grantee"` Msgs []MsgExecMsg `mapstructure:"msgs" json:"msgs"` }
type RawMsgGenericGrant ¶
type RawMsgGenericGrant struct { Type string `mapstructure:"@type" json:"@type"` Granter string `mapstructure:"granter" json:"granter"` Grantee string `mapstructure:"grantee" json:"grantee"` Grant GenericGrant `mapstructure:"grant" json:"grant"` }
type RawMsgGrantAllowedMsgAllowance ¶
type RawMsgGrantAllowedMsgAllowance struct { Type string `mapstructure:"@type" json:"@type"` Granter string `mapstructure:"granter" json:"granter"` Grantee string `mapstructure:"grantee" json:"grantee"` Allowance AllowedMsgAllowance `mapstructure:"allowance" json:"allowance"` }
type RawMsgGrantBasicAllowance ¶
type RawMsgGrantBasicAllowance struct { Type string `mapstructure:"@type" json:"@type"` Granter string `mapstructure:"granter" json:"granter"` Grantee string `mapstructure:"grantee" json:"grantee"` Allowance BasicAllowance `mapstructure:"allowance" json:"allowance"` }
type RawMsgGrantPeriodicAllowance ¶
type RawMsgGrantPeriodicAllowance struct { Type string `mapstructure:"@type" json:"@type"` Granter string `mapstructure:"granter" json:"granter"` Grantee string `mapstructure:"grantee" json:"grantee"` Allowance PeriodicAllowance `mapstructure:"allowance" json:"allowance"` }
type RawMsgRevoke ¶
type RawMsgRevokeAllowance ¶
type RawMsgSendGrant ¶
type RawMsgStakeGrant ¶
type RawMsgStakeGrant struct { Type string `mapstructure:"@type" json:"@type"` Granter string `mapstructure:"granter" json:"granter"` Grantee string `mapstructure:"grantee" json:"grantee"` Grant StakeGrant `mapstructure:"grant" json:"grant"` }
type RawMsgSubmitSoftwareUpgradeProposalContent ¶
type RawMsgSubmitSoftwareUpgradeProposalContent struct { Type string `json:"@type"` Title string `json:"title"` Description string `json:"description"` Plan RawMsgSubmitSoftwareUpgradeProposalPlan `json:"plan"` }
type SendAuthorization ¶
type SendAuthorization struct {
SpendLimit []MsgGrantSpendLimit `mapstructure:"spend_limit" json:"spendLimit"`
}
type SendGrant ¶
type SendGrant struct { Authorization SendAuthorization `mapstructure:"authorization" json:"authorization"` Expiration string `mapstructure:"expiration" json:"expiration"` }
type SlashValidatorParams ¶
type StakeAuthorization ¶
type StakeAuthorization struct { MaxTokens MsgGrantMaxTokens `mapstructure:"max_tokens" json:"maxTokens,omitempty"` MaybeAllowList *Validators `mapstructure:"allow_list" json:"allowList,omitempty"` MaybeDenyList *Validators `mapstructure:"deny_list" json:"denyList,omitempty"` AuthorizationType string `mapstructure:"authorization_type" json:"authorizationType,omitempty"` }
type StakeGrant ¶
type StakeGrant struct { Authorization StakeAuthorization `mapstructure:"authorization" json:"authorization"` Expiration string `mapstructure:"expiration" json:"expiration"` }
type TransactionSigner ¶
type TransactionSigner struct { MaybeKeyInfo *TransactionSignerKeyInfo `json:"keyInfo"` Address string `json:"address"` AccountSequence uint64 `json:"accountSequence"` }
type TransactionSignerKeyInfo ¶ added in v1.3.5
type Tx ¶ added in v1.5.1
type Tx struct { Tx CosmosTx `json:"tx"` TxResponse TxResponse `json:"tx_response"` }
type TxResponse ¶ added in v1.5.1
type TxResponse struct { Height int64 `json:"height,omitempty"` TxHash string `json:"txhash,omitempty"` Codespace string `json:"codespace,omitempty"` Code uint32 `json:"code,omitempty"` Data string `json:"data,omitempty"` RawLog string `json:"raw_log,omitempty"` Logs []TxResponseLog `json:"logs"` Info string `json:"info,omitempty"` GasWanted int64 `json:"gas_wanted,omitempty"` GasUsed int64 `json:"gas_used,omitempty"` Tx TxResponseTx `json:"tx,omitempty"` Timestamp string `json:"timestamp,omitempty"` Events []BlockEvent `json:"events"` }
type TxResponseLog ¶ added in v1.5.1
type TxResponseLog struct { MsgIndex uint32 `json:"msg_index,omitempty"` Log string `json:"log,omitempty"` Events []BlockEvent `json:"events"` }
type TxResponseTx ¶ added in v1.5.1
type ValidatorCommission ¶
type ValidatorDescription ¶
type Validators ¶
type Validators struct {
Address []string `mapstructure:"address" json:"address,omitempty"`
}
Source Files ¶
- account_transfer.go
- block.go
- block_event.go
- blockresults.go
- complete_bonding.go
- cronos_send_to_ibc.go
- duration.go
- ethereum_send_to_cosmos_handled.go
- mint_params.go
- msg_create_validator.go
- msg_create_vesting_account.go
- msg_deposit_params.go
- msg_edit_validator.go
- msg_ethereum_tx.go
- msg_exec.go
- msg_grant.go
- msg_grant_allowance.go
- msg_nft_burn_nft_params.go
- msg_nft_edit_nft_params.go
- msg_nft_issue_denom_params.go
- msg_nft_mint_nft_params.go
- msg_nft_transfer_nft_params.go
- msg_revoke.go
- msg_revoke_allowance.go
- msg_submit_proposal.go
- msg_vote.go
- msgbeginredelegate.go
- msgdelegate.go
- msgfundcommunitypool.go
- msgmultisend.go
- msgsetwithdrawaddress.go
- msgundelegate.go
- msgunjail.go
- msgwithdrawdelegatorreward.go
- msgwithdrawvalidatorcommission.go
- powerchange.go
- rawblock.go
- rawblockevent.go
- slash_validator.go
- transaction.go
- tx.go
- validator.go
Click to show internal directories.
Click to hide internal directories.