The bonds module emits the following typed events:
Emitted after a successful MsgCreateCollection
type CollectionCreatedEvent struct {
Collection *Collection
}
The field's descriptions is as follows:
collection
- the full Collection
Emitted after a successful collection update event or MsgSubmitClaim
and EvaluateClaim
since collection holds a count of claims
type CollectionUpdatedEvent struct {
Collection *Collection
}
The field's descriptions is as follows:
collection
- the full Collection
Emitted after a successful MsgSubmitClaim
type ClaimSubmittedEvent struct {
Claim *Claim
}
The field's descriptions is as follows:
claim
- the full Claim
Emitted after a successful MsgEvaluateClaim
or when the state for the ClaimPayments
changes.
type ClaimUpdatedEvent struct {
Claim *Claim
}
The field's descriptions is as follows:
claim
- the full Claim
Emitted after a successful MsgEvaluateClaim
type ClaimEvaluatedEvent struct {
Evaluation *Evaluation
}
The field's descriptions is as follows:
evaluation
- the full Evaluation
Emitted after a successful MsgDisputeClaim
type ClaimDisputedEvent struct {
Dispute *Dispute
}
The field's descriptions is as follows:
dispute
- the full Dispute
Emitted after a successful MsgWithdrawPayment
or when a payment gets withdrawn through another trigger like payments on evaluation with 0 timeout.
type PaymentWithdrawnEvent struct {
Withdraw *WithdrawPaymentConstraints
}
The field's descriptions is as follows:
withdraw
- the full WithdrawPaymentConstraints
Emitted after a successful payment withdrawal authz gets created on chain if the Payments
timeout_ns
is not 0, and a WithdrawPaymentAuthorization is created with the receiver as the grantee
type PaymentWithdrawCreatedEvent struct {
Withdraw *WithdrawPaymentConstraints
}
The field's descriptions is as follows:
withdraw
- the full WithdrawPaymentConstraints