rewards

package
v0.0.0-...-46d909e Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistributedAddresses

func DistributedAddresses() map[string]bool

Types

type Response

type Response struct {
	Items []Transaction `json:"items"`
}

type Rewarder

type Rewarder struct {
	// contains filtered or unexported fields
}

func NewRewarder

func NewRewarder(client *ethclient.Client, privateKey string) (*Rewarder, error)

func (*Rewarder) Reward

func (r *Rewarder) Reward(recipientStrs []string, amount *big.Int) error

type Transaction

type Transaction struct {
	Timestamp string `json:"timestamp"`
	To        struct {
		Hash string `json:"hash"`
	} `json:"to"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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