Documentation ¶
Index ¶
- Constants
- func BlockedWinnersAll(f func(BlockedWinner))
- func PendingWinners(f func([]PendingWinner))
- func WinnersAll(f func(Winner))
- func WinnersEthereum(f func(Winner))
- func WinnersSolana(f func(Winner))
- func WinnersSui(f func(Winner))
- type BlockedWinner
- type PendingWinner
- type RewardData
- type Winner
Constants ¶
View Source
const ( // TopicWinnersEthereum to broadcast winner messages containing a single // winner and their amount won TopicWinnersEthereum = `winners.` + string(network.NetworkEthereum) // TopicBlockedWinnersEthereum to broadcast winner messages containing // a single blocked winner and their amount won TopicBlockedWinnersEthereum = `blocked_winners.` + string(network.NetworkEthereum) // TopicWinnersSolana to broadcast winner messages containing a single // winner and their amount won TopicWinnersSolana = `winners.` + string(network.NetworkSolana) // TopicBlockedWinnersSolana to broadcast winner messages containing // a single blocked winner and their amount won TopicBlockedWinnersSolana = `blocked_winners.` + string(network.NetworkSolana) // TopicWinnersSui to broadcast winner messages containing a single // winner and their amount won TopicWinnersSui = `winners.` + string(network.NetworkSui) // TopicPendingWinners to broadcast pending winner messages on ethereum or sui TopicPendingWinners = `pending_winners` )
Variables ¶
This section is empty.
Functions ¶
func BlockedWinnersAll ¶
func BlockedWinnersAll(f func(BlockedWinner))
func PendingWinners ¶
func PendingWinners(f func([]PendingWinner))
func WinnersAll ¶
func WinnersAll(f func(Winner))
func WinnersEthereum ¶
func WinnersEthereum(f func(Winner))
func WinnersSolana ¶
func WinnersSolana(f func(Winner))
func WinnersSui ¶
func WinnersSui(f func(Winner))
Types ¶
type BlockedWinner ¶
type BlockedWinner = types.BlockedWinner
type PendingWinner ¶
type PendingWinner = types.PendingWinner
type RewardData ¶
type RewardData = fluidity.RewardData
Click to show internal directories.
Click to hide internal directories.