timescale

package
v0.0.0-...-21b82e8 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(db *pgxpool.Pool) *Repository

func (*Repository) LastEvents

func (r *Repository) LastEvents(ctx context.Context, limit int) ([]queries.Erc20Transfer, error)

func (*Repository) SaveEvent

func (r *Repository) SaveEvent(ctx context.Context, event *abi.Erc20Transfer) error

Jump to

Keyboard shortcuts

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