model

package
v0.2.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ENSNamehash

type ENSNamehash struct {
	Hash common.Hash `json:"hash"` // Hexadecimal hash bytes
	Name string      `json:"name"` // ENS name, *.eth
}

type ENSNamehashTransformer

type ENSNamehashTransformer interface {
	Import(namehash *ENSNamehash) error
	Export() (*ENSNamehash, error)
}

type FeedQuery

type FeedQuery struct {
	ID          *string
	Network     *filter.Network
	Owner       *string
	ActionLimit int
	ActionPage  int
}

type FeedsQuery

type FeedsQuery struct {
	Owner          *string
	Cursor         *schema.Feed
	Status         *bool
	Direction      *filter.Direction
	StartTimestamp *uint64
	EndTimestamp   *uint64
	Platform       *filter.Platform
	Owners         []string
	Network        []filter.Network
	Tags           []filter.Tag
	Types          []filter.Type
	Platforms      []filter.Platform
	Distinct       *bool
	RelatedActions *bool
	Limit          int
	ActionLimit    int
}

type Profile

type Profile struct {
	Fid            int64    `json:"fid"`             // Farcaster ID
	Username       string   `json:"username"`        // Farcaster username
	CustodyAddress string   `json:"custody_address"` // Farcaster custody address
	EthAddresses   []string `json:"eth_addresses"`   // Farcaster account bound evm addresses
}

type ProfileTransformer

type ProfileTransformer interface {
	Import(profile *Profile) error
	Export() (*Profile, error)
}

Jump to

Keyboard shortcuts

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