service

package
v0.0.0-...-828d3b4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const DaySecond = 24 * 3600

Variables

View Source
var AaAccountService = &aaAccountService{}
View Source
var AaBlockService = &aaBlockService{}
View Source
var AaTransactionService = &aaTransactionService{}
View Source
var AccountService = &accountService{}
View Source
var BlockService = &blockService{}
View Source
var BundleService = &bundleService{}
View Source
var BundlerService = &bundlerService{}
View Source
var FactoryService = &factoryService{}
View Source
var FunctionSignatureService = &functionSignatureService{}
View Source
var MevService = &mevService{}
View Source
var NetworkService = &networkService{}
View Source
var PaymasterService = &paymasterService{}
View Source
var SearchService = &searchService{}
View Source
var TransactionService = &transactionService{}
View Source
var UserOpService = &userOpService{}

Functions

func AddOne

func AddOne(ctx context.Context, address string)

func GetHotAAToken

func GetHotAAToken(ctx context.Context, req vo.HotAARequest) (*vo.HotAAResponse, error)

func GetMevTx

func GetMevTx(ctx context.Context, req vo.HomeMevRequest) (*vo.HomeMevResponse, error)

func GetMonitorMevInfo

func GetMonitorMevInfo(ctx context.Context, req vo.MevInfoRequest) (*vo.MevInfoResponse, error)

func GetTopWhale

func GetTopWhale(ctx context.Context, req vo.TopWhaleRequest) (*vo.TopWhaleResponse, error)

func SetLogger

func SetLogger(lg interlog.Logger)

Types

type ByHotAA

type ByHotAA []*HotAA

func (ByHotAA) Len

func (b ByHotAA) Len() int

func (ByHotAA) Less

func (b ByHotAA) Less(i, j int) bool

func (ByHotAA) Swap

func (b ByHotAA) Swap(i, j int)

type HotAA

type HotAA struct {
	TokenSymbol string `json:"token_symbol"`
	Count       int64  `json:"count"`
}

Jump to

Keyboard shortcuts

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