model

package
v0.4.24 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivitiesQuery added in v0.4.13

type ActivitiesQuery struct {
	Owner          *string
	Cursor         *activityx.Activity
	Status         *bool
	Direction      *activityx.Direction
	StartTimestamp *uint64
	EndTimestamp   *uint64
	Platform       string
	Owners         []string
	Network        []network.Network
	Tags           []tag.Tag
	Types          []schema.Type
	Platforms      []string
	Distinct       *bool
	RelatedActions *bool
	Limit          int
	ActionLimit    int
}

type ActivityQuery added in v0.4.13

type ActivityQuery struct {
	ID          *string
	Network     *network.Network
	Owner       *string
	ActionLimit int
	ActionPage  int
}

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 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