task

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: 77 Imported by: 0

Documentation

Index

Constants

View Source
const Abi = "" /* 401-byte string literal not displayed */
View Source
const AccountDeploySign = "0xd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d"
View Source
const EmptyMethod = "00000000"
View Source
const ExecuteBatchCallSign = "0x912ccaa3"
View Source
const ExecuteBatchSign = "0x47e1da2a"
View Source
const ExecuteCall = "0x9e5d4c49"
View Source
const ExecuteSign = "0xb61d27f6"
View Source
const ExecuteSign1 = "0x51945447"
View Source
const LogTransferEventSign = "0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4"
View Source
const PriceExpire = 20 * 3600 * 1000
View Source
const SimpleTransferEventSign = "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
View Source
const TimeLayout = "2006-01-02 15:04:05"
View Source
const TokenAbi = "" /* 494-byte string literal not displayed */
View Source
const TransferEventSign = "0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4"
View Source
const UserOperationEventSign = "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f"

Variables

This section is empty.

Functions

func AAContractInteractTask

func AAContractInteractTask()

func AAHotTokenTask

func AAHotTokenTask()

func AATransactionFix

func AATransactionFix()

func AaAccountTask

func AaAccountTask(ctx context.Context)

func AccountTask

func AccountTask()

func AddDecimals

func AddDecimals(ctx context.Context)

func AssetRefreshTask

func AssetRefreshTask(ctx context.Context)

func AssetSync

func AssetSync()

func AssetTask

func AssetTask()

func BlockScanRun

func BlockScanRun(ctx context.Context)

func BlockSyncRun

func BlockSyncRun(ctx context.Context)

func DataFixedTask

func DataFixedTask()

func DivRav

func DivRav(data int64) decimal.Decimal

func DoDayStatistic

func DoDayStatistic()

func FixBundlerDay1

func FixBundlerDay1()

func FixBundlerDayAll

func FixBundlerDayAll()

func FixFactoryDay1

func FixFactoryDay1()

func FixFactoryDayAll

func FixFactoryDayAll()

func FixPaymasterDay1

func FixPaymasterDay1()

func FixPaymasterDayAll

func FixPaymasterDayAll()

func FixTask1

func FixTask1(ctx context.Context)

func FixTaskMevProfit

func FixTaskMevProfit(ctx context.Context)

func GetAaGasRayDiv

func GetAaGasRayDiv(receipt *ent.AaTransactionInfo) decimal.Decimal

func GetBalance

func GetBalance(ctx context.Context, tokenAddress string, userAddress string, decimals int64, web3 *web3.Web3) decimal.Decimal

func GetDecimals

func GetDecimals(ctx context.Context, tokenAddress string, web3 *web3.Web3) int64

func GetReceiptGas

func GetReceiptGas(receipt *ent.TransactionReceiptDecode) decimal.Decimal

func GetReceiptGasRayDiv

func GetReceiptGasRayDiv(receipt *ent.TransactionReceiptDecode) decimal.Decimal

func GetTokenDecimals

func GetTokenDecimals(ctx context.Context, tokenAddress string, abi string, web3 *web3.Web3) int64

func GetTokenName

func GetTokenName(ctx context.Context, tokenAddress string, abi string, web3 *web3.Web3) string

func GetTokenSymbol

func GetTokenSymbol(ctx context.Context, tokenAddress string, abi string, web3 *web3.Web3) string

func GetWToken

func GetWToken(network string) string

func InitAaAccountTask

func InitAaAccountTask()

func InitAssetRefreshTask

func InitAssetRefreshTask()

func InitDayStatis

func InitDayStatis()

func InitEvmParse

func InitEvmParse(ctx context.Context, config *internalconfig.Config, logger log.Logger) error

func InitHourStatis

func InitHourStatis()

func InitMEVTask

func InitMEVTask(ctx context.Context)

func InitRefreshPrice

func InitRefreshPrice(ctx context.Context)

func InitRefreshToken

func InitRefreshToken(ctx context.Context)

func InitTask

func InitTask()

func InitTransferTask

func InitTransferTask(ctx context.Context)

func InitWhaleStatistic

func InitWhaleStatistic(ctx context.Context)

func MEVTask

func MEVTask(ctx context.Context)

func MEVTask0

func MEVTask0(blockNumber int64, network string)

func NativeSync

func NativeSync()

func RayDiv

func RayDiv(gas decimal.Decimal) decimal.Decimal

func RefreshOldAsset

func RefreshOldAsset(ctx context.Context)

func RefreshPrice

func RefreshPrice(ctx context.Context)

func RefreshToken

func RefreshToken(ctx context.Context)

func SetConfig

func SetConfig(cfg *interConfig.Config)

func SetLogger

func SetLogger(lg interlog.Logger)

func TokenTask

func TokenTask(ctx context.Context)

func TopBundlers

func TopBundlers()

func TopFactories

func TopFactories()

func TopPaymaster

func TopPaymaster()

func TransferTaskNew

func TransferTaskNew(ctx context.Context)

func TransferTaskOld

func TransferTaskOld(ctx context.Context)

func UserOpTypeTask

func UserOpTypeTask()

Types

type CallDetail

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

type UserOperationEvent

type UserOperationEvent struct {
	OpsHash       string
	Sender        string
	Paymaster     string
	Nonce         int64
	Success       int
	ActualGasCost int64
	ActualGasUsed int64
	Target        string
	Factory       string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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