Skip to main content

Module tickets

Module tickets 

Expand description

Winning ticket management API traits.

Structs§

ChannelStats
Contains ticket statistics for an incoming channel.
TicketBuilder
Builder for the Ticket and VerifiedTicket.
VerifiedTicket
Holds a ticket that has been already verified. This structure guarantees that Ticket::get_hash() of VerifiedTicket::verified_ticket() is always equal to VerifiedTicket::verified_hash

Enums§

RedemptionResult
Indicates a non-error result of ticket redemption.

Traits§

TicketFactory
Provides API for creating tickets and validating channel stakes inside the packet pipelines.
TicketManagement
API for managing winning (redeemable) tickets in incoming channels.
TicketManagementExt
Asynchronous extension trait for TicketManagement that adds convenience methods for ticket management.

Type Aliases§

ChannelId
Alias for the Hash representing a channel ID.
HoprBalance
Balance denominated in wxHOPR (wrapped xHOPR) tokens.