Documentation ¶
Index ¶
- Constants
- func InitParsers(manager *utils.CosmosParserManager)
- func ParseBeginBlockEventsCommands(blockHeight int64, blockHash string, blockTime utctime.UTCTime, ...) ([]command.Command, error)
- func ParseBlockResultsTxsResults(block *model.Block, blockResults *model.BlockResults) ([]commandentity.Command, error)
- func ParseBlockToCommands(logger applogger.Logger, parserManager *utils.CosmosParserManager, ...) ([]entity_command.Command, error)
- func ParseBlockTxsMsgToCommands(parserManager *utils.CosmosParserManager, blockHeight int64, ...) ([]command.Command, []string, error)
- func ParseCreateBlockCommand(block *usecase_model.Block) *command.CreateBlock
- func ParseCreateRawBlockCommand(rawBlock *usecase_model.RawBlock) *command.CreateRawBlock
- func ParseEndBlockEventsCommands(blockHeight int64, blockHash string, blockTime utctime.UTCTime, ...) ([]command.Command, error)
- func ParseGenesisCommands(rawGenesis *genesis.Genesis, accountAddressPrefix string) ([]command.Command, error)
- func ParseMsgBeginRedelegate(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgCreateValidator(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgCreateVestingAccount(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgDelegate(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgDeposit(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgEditValidator(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgEthereumTx(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgExec(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgFundCommunityPool(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgGrant(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgGrantAllowance(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgMultiSend(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgNFTBurnNFT(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgNFTEditNFT(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgNFTIssueDenom(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgNFTMintNFT(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgNFTTransferNFT(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgRevoke(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgRevokeAllowance(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgSend(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgSetSendEnabled(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgSetWithdrawAddress(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgSubmitProposal(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgUndelegate(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgUnjail(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgVote(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgWithdrawDelegatorReward(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseMsgWithdrawValidatorCommission(parserParams utils.CosmosParserParams) ([]command.Command, []string)
- func ParseSignerInfosToTransactionSigners(logger applogger.Logger, cosmosClient cosmosapp_interface.Client, ...) ([]model.TransactionSigner, error)
- func ParseTransactionCommands(logger applogger.Logger, txs []model.CosmosTxWithHash, ...) ([]command.Command, error)
- func ParseTransactionSignerInfoToAddress(signerInfo model.TransactionSignerKeyInfo, accountAddressPrefix string) (string, error)
- func ParseTxAccountTransferCommands(blockHeight int64, txsResults []model.BlockResultsTxsResult) ([]command.Command, error)
- func ParseValidatorUpdatesCommands(blockHeight int64, validatorUpdates []model.BlockResultsValidatorUpdate) ([]command.Command, error)
- func RegisterBreakingVersionParsers(manager *utils.CosmosParserManager)
- func TrimAmountDenom(s string) string
- func TxHash(base64EncodedTxHex string) string
Constants ¶
View Source
const BEGIN_BLOCK_HEIGHT = 0
Variables ¶
This section is empty.
Functions ¶
func InitParsers ¶
func InitParsers(manager *utils.CosmosParserManager)
func ParseBlockResultsTxsResults ¶
func ParseBlockResultsTxsResults( block *model.Block, blockResults *model.BlockResults, ) ([]commandentity.Command, error)
func ParseBlockToCommands ¶
func ParseBlockToCommands( logger applogger.Logger, parserManager *utils.CosmosParserManager, cosmosClient cosmosapp_interface.Client, block *usecase_model.Block, rawBlock *usecase_model.RawBlock, blockResults *usecase_model.BlockResults, txs []usecase_model.CosmosTxWithHash, accountAddressPrefix string, bondingDenom string, ) ([]entity_command.Command, error)
func ParseBlockTxsMsgToCommands ¶
func ParseBlockTxsMsgToCommands( parserManager *utils.CosmosParserManager, blockHeight int64, blockResults *model.BlockResults, txs []model.CosmosTxWithHash, accountAddressPrefix string, stakingDenom string, ) ([]command.Command, []string, error)
func ParseCreateBlockCommand ¶
func ParseCreateBlockCommand(block *usecase_model.Block) *command.CreateBlock
func ParseCreateRawBlockCommand ¶
func ParseCreateRawBlockCommand(rawBlock *usecase_model.RawBlock) *command.CreateRawBlock
func ParseGenesisCommands ¶
func ParseMsgBeginRedelegate ¶
func ParseMsgBeginRedelegate( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgCreateValidator ¶
func ParseMsgCreateValidator( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgCreateVestingAccount ¶
func ParseMsgCreateVestingAccount( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgDelegate ¶
func ParseMsgDelegate( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgDeposit ¶
func ParseMsgDeposit( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgEditValidator ¶
func ParseMsgEditValidator( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgEthereumTx ¶ added in v1.3.21
func ParseMsgEthereumTx( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgExec ¶
func ParseMsgExec( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgFundCommunityPool ¶
func ParseMsgFundCommunityPool( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgGrant ¶
func ParseMsgGrant( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgGrantAllowance ¶
func ParseMsgGrantAllowance( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgMultiSend ¶
func ParseMsgMultiSend( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgNFTBurnNFT ¶
func ParseMsgNFTBurnNFT( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgNFTEditNFT ¶
func ParseMsgNFTEditNFT( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgNFTIssueDenom ¶
func ParseMsgNFTIssueDenom( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgNFTMintNFT ¶
func ParseMsgNFTMintNFT( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgNFTTransferNFT ¶
func ParseMsgNFTTransferNFT( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgRevoke ¶
func ParseMsgRevoke( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgRevokeAllowance ¶
func ParseMsgRevokeAllowance( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgSend ¶
func ParseMsgSend( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgSetSendEnabled ¶ added in v1.7.22
func ParseMsgSetSendEnabled( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgSetWithdrawAddress ¶
func ParseMsgSetWithdrawAddress( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgSubmitProposal ¶
func ParseMsgSubmitProposal( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgUndelegate ¶
func ParseMsgUndelegate( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgUnjail ¶
func ParseMsgUnjail( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgVote ¶
func ParseMsgVote( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgWithdrawDelegatorReward ¶
func ParseMsgWithdrawDelegatorReward( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseMsgWithdrawValidatorCommission ¶
func ParseMsgWithdrawValidatorCommission( parserParams utils.CosmosParserParams, ) ([]command.Command, []string)
func ParseSignerInfosToTransactionSigners ¶
func ParseSignerInfosToTransactionSigners( logger applogger.Logger, cosmosClient cosmosapp_interface.Client, signerInfos []model.CosmosTxSignerInfo, accountAddressPrefix string, possibleSignerAddresses []string, txHash string, ) ([]model.TransactionSigner, error)
func ParseTransactionCommands ¶
func ParseTransactionCommands( logger applogger.Logger, txs []model.CosmosTxWithHash, cosmosClient cosmosapp_interface.Client, blockResults *model.BlockResults, accountAddressPrefix string, possibleSignerAddresses []string, ) ([]command.Command, error)
func ParseTransactionSignerInfoToAddress ¶
func ParseTransactionSignerInfoToAddress( signerInfo model.TransactionSignerKeyInfo, accountAddressPrefix string, ) (string, error)
func RegisterBreakingVersionParsers ¶
func RegisterBreakingVersionParsers(manager *utils.CosmosParserManager)
func TrimAmountDenom ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.