Documentation ¶
Index ¶
- Constants
- func InitParsers(manager *utils.CosmosParserManager)
- func ParseBeginBlockEventsCommands(blockHeight int64, beginBlockEvents []model.BlockResultsEvent, ...) ([]command.Command, error)
- func ParseBlockResultsTxsResults(block *model.Block, blockResults *model.BlockResults) ([]commandentity.Command, error)
- func ParseBlockToCommands(parserManager *utils.CosmosParserManager, ...) ([]entity_command.Command, error)
- func ParseBlockTxsMsgToCommands(parserManager *utils.CosmosParserManager, txDecoder *utils.TxDecoder, ...) ([]command.Command, []string, error)
- func ParseCreateBlockCommand(block *usecase_model.Block) *command.CreateBlock
- func ParseCreateRawBlockCommand(rawBlock *usecase_model.RawBlock) *command.CreateRawBlock
- func ParseEndBlockEventsCommands(blockHeight int64, endBlockEvents []model.BlockResultsEvent) ([]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 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 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(cosmosClient cosmosapp_interface.Client, signerInfos []utils.SignerInfo, ...) ([]model.TransactionSigner, error)
- func ParseTransactionCommands(txDecoder *utils.TxDecoder, cosmosClient cosmosapp_interface.Client, ...) ([]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( parserManager *utils.CosmosParserManager, cosmosClient cosmosapp_interface.Client, txDecoder *utils.TxDecoder, block *usecase_model.Block, rawBlock *usecase_model.RawBlock, blockResults *usecase_model.BlockResults, accountAddressPrefix string, bondingDenom string, ) ([]entity_command.Command, 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 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 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( cosmosClient cosmosapp_interface.Client, signerInfos []utils.SignerInfo, accountAddressPrefix string, possibleSignerAddresses []string, ) ([]model.TransactionSigner, 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.