relayer

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedRelayer

type FeedRelayer interface {
	Feeds(ctx context.Context, network constant.Network, account common.Address, cursor *model.FeedCursor, limit uint64) ([]*model.Feed, error)
}

func NewFeedRelayer

func NewFeedRelayer(rpcEndpoint []string) FeedRelayer

type FeedRelayerImpl

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

func (*FeedRelayerImpl) Feeds

func (f *FeedRelayerImpl) Feeds(ctx context.Context, network constant.Network, account common.Address, cursor *model.FeedCursor, limit uint64) ([]*model.Feed, error)

type RelayerService

type RelayerService[T any] interface {
	AccountPortfolio(ctx context.Context, account common.Address, network constant.Network) (T, error)
}

Jump to

Keyboard shortcuts

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