Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RefundMsgRequestParser ¶
This defines the custom message parser for the call contract approve message type It implements the MessageParser interface
func (*RefundMsgRequestParser) Identifier ¶
func (p *RefundMsgRequestParser) Identifier() string
func (*RefundMsgRequestParser) IndexMessage ¶
func (p *RefundMsgRequestParser) IndexMessage(dataset *any, db *gorm.DB, message models.Message, messageEvents []parsers.MessageEventWithAttributes, cfg config.IndexConfig) error
This method is called during database insertion. It is responsible for storing the parsed data in the database. The gorm db is wrapped in a transaction, so any errors will cause a rollback. Any errors returned will be saved as a parser error in the database as well for later debugging.
func (*RefundMsgRequestParser) ParseMessage ¶
func (p *RefundMsgRequestParser) ParseMessage(cosmosMsg stdTypes.Msg, messageLog *indexerTxTypes.LogMessage, cfg config.IndexConfig) (*any, error)
type RefundMsgRequestValue ¶
type RefundMsgRequestValue struct { Type string `json:"@type,omitempty"` Sender sdk.AccAddress `json:"sender,omitempty"` InnerMessage any `json:"inner_message,omitempty"` }
Click to show internal directories.
Click to hide internal directories.