winners

package
v0.0.0-...-07d62d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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

type Winner

type Winner = types.Winner

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL