degen

package
v1.1.17 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPointsResponse

type GetPointsResponse struct {
	DisplayName string `json:"display_name"`
	Points      string `json:"points"`
}

func GetPoints

func GetPoints(address string) ([]GetPointsResponse, error)

type GetTipAllowanceResponse

type GetTipAllowanceResponse struct {
	SnapshotDate       time.Time `json:"snapshot_date"`
	UserRank           string    `json:"user_rank"`
	WalletAddress      string    `json:"wallet_address"`
	AvatarURL          string    `json:"avatar_url"`
	DisplayName        string    `json:"display_name"`
	TipAllowance       string    `json:"tip_allowance"`
	RemainingAllowance string    `json:"remaining_allowance"`
}

func GetTipAllowance

func GetTipAllowance(address string) ([]GetTipAllowanceResponse, error)

Jump to

Keyboard shortcuts

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