Documentation
¶
Index ¶
- func InsertBlockScanRecord(record *BlockScanRecord) error
- func UpdateBlockScanRecordByID(id int64, record *BlockScanRecord) error
- type AAContractInteract
- type AAHotTokenStatistic
- type AAUserOpsCalldata
- type AAUserOpsInfo
- type AaAccountData
- type AaAsset
- type AaAssetDetail
- type AaBlockInfo
- type AaBlockSync
- type AaTransactionInfo
- type Account
- type AssetChangeTrace
- type BlockDataDecode
- type BlockScanRecord
- type BlockSync
- type BundlerInfo
- type BundlerStatisDay
- type BundlerStatisHour
- type DailyStatisticDay
- type DailyStatisticHour
- type FactoryInfo
- type FactoryStatisDay
- type FactoryStatisHour
- type FunctionSignature
- type HotAATokenStatistic
- type MevInfo
- type MevTransaction
- type MevUserOpsInfo
- type Monitor
- type Network
- type PaymasterInfo
- type PaymasterStatisDay
- type PaymasterStatisHour
- type TaskRecord
- type Token
- type TokenAll
- type TokenPriceInfo
- type TransactionDecode
- type TransactionReceiptBlockSync
- type TransactionReceiptDecode
- type TransactionSync
- type TransferTransaction
- type UserAssetInfo
- type UserOpTypeStatistic
- type WhaleStatisticDay
- type WhaleStatisticHour
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertBlockScanRecord ¶
func InsertBlockScanRecord(record *BlockScanRecord) error
func UpdateBlockScanRecordByID ¶
func UpdateBlockScanRecordByID(id int64, record *BlockScanRecord) error
Types ¶
type AAContractInteract ¶
type AAContractInteract struct { Id int64 ContractAddress string Network string StatisticType string InteractNum int64 CreateTime time.Time ent.Schema }
func (AAContractInteract) Annotations ¶
func (AAContractInteract) Annotations() []schema.Annotation
func (AAContractInteract) Edges ¶
func (AAContractInteract) Edges() []ent.Edge
func (AAContractInteract) Fields ¶
func (AAContractInteract) Fields() []ent.Field
type AAHotTokenStatistic ¶
type AAHotTokenStatistic struct { Id int64 Symbol string ContractAddress string Network string StatisticType string UsdAmount decimal.Decimal CreateTime time.Time ent.Schema }
func (AAHotTokenStatistic) Annotations ¶
func (AAHotTokenStatistic) Annotations() []schema.Annotation
func (AAHotTokenStatistic) Edges ¶
func (AAHotTokenStatistic) Edges() []ent.Edge
func (AAHotTokenStatistic) Fields ¶
func (AAHotTokenStatistic) Fields() []ent.Field
type AAUserOpsCalldata ¶
func (AAUserOpsCalldata) Annotations ¶
func (AAUserOpsCalldata) Annotations() []schema.Annotation
func (AAUserOpsCalldata) Edges ¶
func (AAUserOpsCalldata) Edges() []ent.Edge
func (AAUserOpsCalldata) Fields ¶
func (AAUserOpsCalldata) Fields() []ent.Field
type AAUserOpsInfo ¶
func (AAUserOpsInfo) Annotations ¶
func (AAUserOpsInfo) Annotations() []schema.Annotation
func (AAUserOpsInfo) Edges ¶
func (AAUserOpsInfo) Edges() []ent.Edge
func (AAUserOpsInfo) Fields ¶
func (AAUserOpsInfo) Fields() []ent.Field
type AaAccountData ¶
func (AaAccountData) Annotations ¶
func (AaAccountData) Annotations() []schema.Annotation
func (AaAccountData) Edges ¶
func (AaAccountData) Edges() []ent.Edge
func (AaAccountData) Fields ¶
func (AaAccountData) Fields() []ent.Field
type AaAsset ¶
func (AaAsset) Annotations ¶
func (AaAsset) Annotations() []schema.Annotation
type AaAssetDetail ¶
func (AaAssetDetail) Annotations ¶
func (AaAssetDetail) Annotations() []schema.Annotation
func (AaAssetDetail) Edges ¶
func (AaAssetDetail) Edges() []ent.Edge
func (AaAssetDetail) Fields ¶
func (AaAssetDetail) Fields() []ent.Field
type AaBlockInfo ¶
func (AaBlockInfo) Annotations ¶
func (AaBlockInfo) Annotations() []schema.Annotation
func (AaBlockInfo) Fields ¶
func (AaBlockInfo) Fields() []ent.Field
type AaBlockSync ¶
func (AaBlockSync) Annotations ¶
func (AaBlockSync) Annotations() []schema.Annotation
func (AaBlockSync) Fields ¶
func (AaBlockSync) Fields() []ent.Field
type AaTransactionInfo ¶
func (AaTransactionInfo) Annotations ¶
func (AaTransactionInfo) Annotations() []schema.Annotation
func (AaTransactionInfo) Fields ¶
func (AaTransactionInfo) Fields() []ent.Field
type Account ¶
func (Account) Annotations ¶
func (Account) Annotations() []schema.Annotation
type AssetChangeTrace ¶
type AssetChangeTrace struct { Id int64 TxHash string BlockNumber int64 Network string Address string AddressType int LastChangeTime int64 SyncFlag int CreateTime time.Time UpdateTime time.Time ent.Schema }
func (AssetChangeTrace) Annotations ¶
func (AssetChangeTrace) Annotations() []schema.Annotation
func (AssetChangeTrace) Edges ¶
func (AssetChangeTrace) Edges() []ent.Edge
func (AssetChangeTrace) Fields ¶
func (AssetChangeTrace) Fields() []ent.Field
type BlockDataDecode ¶
func (BlockDataDecode) Annotations ¶
func (BlockDataDecode) Annotations() []schema.Annotation
func (BlockDataDecode) Edges ¶
func (BlockDataDecode) Edges() []ent.Edge
func (BlockDataDecode) Fields ¶
func (BlockDataDecode) Fields() []ent.Field
type BlockScanRecord ¶
type BlockScanRecord struct { ID int64 `db:"id"` Network string `db:"network"` LastBlockNumber int64 `db:"last_block_number"` LastScanTime time.Time `db:"last_scan_time"` CreateTime time.Time `db:"create_time"` UpdateTime time.Time `db:"update_time"` ent.Schema }
func GetBlockScanRecordsByNetwork ¶
func GetBlockScanRecordsByNetwork(network string) (*BlockScanRecord, error)
func (BlockScanRecord) Annotations ¶
func (BlockScanRecord) Annotations() []schema.Annotation
func (BlockScanRecord) Edges ¶
func (BlockScanRecord) Edges() []ent.Edge
func (BlockScanRecord) Fields ¶
func (BlockScanRecord) Fields() []ent.Field
type BlockSync ¶
func (BlockSync) Annotations ¶
func (BlockSync) Annotations() []schema.Annotation
type BundlerInfo ¶
func (BundlerInfo) Annotations ¶
func (BundlerInfo) Annotations() []schema.Annotation
func (BundlerInfo) Edges ¶
func (BundlerInfo) Edges() []ent.Edge
func (BundlerInfo) Fields ¶
func (BundlerInfo) Fields() []ent.Field
type BundlerStatisDay ¶
func (BundlerStatisDay) Annotations ¶
func (BundlerStatisDay) Annotations() []schema.Annotation
func (BundlerStatisDay) Edges ¶
func (BundlerStatisDay) Edges() []ent.Edge
func (BundlerStatisDay) Fields ¶
func (BundlerStatisDay) Fields() []ent.Field
Fields of the BundlerStatisDay.
type BundlerStatisHour ¶
func (BundlerStatisHour) Annotations ¶
func (BundlerStatisHour) Annotations() []schema.Annotation
func (BundlerStatisHour) Edges ¶
func (BundlerStatisHour) Edges() []ent.Edge
func (BundlerStatisHour) Fields ¶
func (BundlerStatisHour) Fields() []ent.Field
type DailyStatisticDay ¶
type DailyStatisticDay struct { Id int64 Network string StatisticTime int64 TxNum int64 AATxNum int64 UserOpsNum int64 GasFee decimal.Decimal GasFeeUsd decimal.Decimal ActiveWallet int64 PaymasterGasPaid decimal.Decimal PaymasterGasPaidUsd decimal.Decimal BundlerGasProfit decimal.Decimal BundlerGasProfitUsd decimal.Decimal CreateTime time.Time ent.Schema }
func (DailyStatisticDay) Annotations ¶
func (DailyStatisticDay) Annotations() []schema.Annotation
func (DailyStatisticDay) Edges ¶
func (DailyStatisticDay) Edges() []ent.Edge
func (DailyStatisticDay) Fields ¶
func (DailyStatisticDay) Fields() []ent.Field
type DailyStatisticHour ¶
type DailyStatisticHour struct { Id int64 Network string StatisticTime int64 TxNum int64 AATxNum int64 UserOpsNum int64 GasFee decimal.Decimal ActiveWallet int64 CreateTime time.Time ent.Schema }
func (DailyStatisticHour) Annotations ¶
func (DailyStatisticHour) Annotations() []schema.Annotation
func (DailyStatisticHour) Edges ¶
func (DailyStatisticHour) Edges() []ent.Edge
func (DailyStatisticHour) Fields ¶
func (DailyStatisticHour) Fields() []ent.Field
type FactoryInfo ¶
func (FactoryInfo) Annotations ¶
func (FactoryInfo) Annotations() []schema.Annotation
func (FactoryInfo) Edges ¶
func (FactoryInfo) Edges() []ent.Edge
func (FactoryInfo) Fields ¶
func (FactoryInfo) Fields() []ent.Field
type FactoryStatisDay ¶
type FactoryStatisDay struct { ID int64 `json:"id"` Factory string `json:"factory"` Network string `json:"network"` AccountNum int64 `json:"account_num"` AccountDeployNum int64 `json:"account_deploy_num"` StatisTime time.Time `json:"statis_time"` CreateTime time.Time `json:"create_time"` ent.Schema }
func (FactoryStatisDay) Annotations ¶
func (FactoryStatisDay) Annotations() []schema.Annotation
Annotations of the FactoryStatisDay.
func (FactoryStatisDay) Edges ¶
func (FactoryStatisDay) Edges() []ent.Edge
Edges of the FactoryStatisDay.
func (FactoryStatisDay) Fields ¶
func (FactoryStatisDay) Fields() []ent.Field
Fields of the FactoryStatisDay.
type FactoryStatisHour ¶
type FactoryStatisHour struct { ID int64 `json:"id"` Factory string `json:"factory"` Network string `json:"network"` AccountNum int64 `json:"account_num"` AccountDeployNum int64 `json:"account_deploy_num"` StatisTime time.Time `json:"statis_time"` CreateTime time.Time `json:"create_time"` ent.Schema }
func (FactoryStatisHour) Annotations ¶
func (FactoryStatisHour) Annotations() []schema.Annotation
Annotations of the FactoryStatisHour.
func (FactoryStatisHour) Edges ¶
func (FactoryStatisHour) Edges() []ent.Edge
Edges of the FactoryStatisHour.
func (FactoryStatisHour) Fields ¶
func (FactoryStatisHour) Fields() []ent.Field
type FunctionSignature ¶
func (FunctionSignature) Annotations ¶
func (FunctionSignature) Annotations() []schema.Annotation
func (FunctionSignature) Fields ¶
func (FunctionSignature) Fields() []ent.Field
create table public.function_signature (
signature varchar(16) not null constraint function_signature_pk primary key, name varchar(255), text text, bytes bytea, create_time timestamp with time zone
);
alter table public.function_signature
owner to postgres;
type HotAATokenStatistic ¶
type HotAATokenStatistic struct { Id int64 TokenSymbol string Network string StatisticType string Volume decimal.Decimal CreateTime time.Time ent.Schema }
func (HotAATokenStatistic) Annotations ¶
func (HotAATokenStatistic) Annotations() []schema.Annotation
func (HotAATokenStatistic) Edges ¶
func (HotAATokenStatistic) Edges() []ent.Edge
func (HotAATokenStatistic) Fields ¶
func (HotAATokenStatistic) Fields() []ent.Field
type MevInfo ¶
type MevInfo struct { Id int64 TxHash string BlockNumber int64 Network string RelatedTxHash string TxFromTag string TxFrom string TxTo string GasFee decimal.Decimal UserOpsGasFee decimal.Decimal Profit decimal.Decimal TxTime int64 CreateTime time.Time ent.Schema }
func (MevInfo) Annotations ¶
func (MevInfo) Annotations() []schema.Annotation
type MevTransaction ¶
func (MevTransaction) Annotations ¶
func (MevTransaction) Annotations() []schema.Annotation
func (MevTransaction) Fields ¶
func (MevTransaction) Fields() []ent.Field
type MevUserOpsInfo ¶
func (MevUserOpsInfo) Annotations ¶
func (MevUserOpsInfo) Annotations() []schema.Annotation
func (MevUserOpsInfo) Fields ¶
func (MevUserOpsInfo) Fields() []ent.Field
type Monitor ¶
func (Monitor) Annotations ¶
func (Monitor) Annotations() []schema.Annotation
type Network ¶
Network holds the schema definition for the Network entity.
func (Network) Annotations ¶
func (Network) Annotations() []schema.Annotation
type PaymasterInfo ¶
func (PaymasterInfo) Annotations ¶
func (PaymasterInfo) Annotations() []schema.Annotation
func (PaymasterInfo) Edges ¶
func (PaymasterInfo) Edges() []ent.Edge
type PaymasterStatisDay ¶
type PaymasterStatisDay struct { ID int64 `json:"id"` Paymaster string `json:"paymaster"` Network string `json:"network"` UserOpsNum int64 `json:"user_ops_num"` Reserve decimal.Decimal `json:"reserve"` GasSponsored decimal.Decimal `json:"gas_sponsored"` GasSponsoredUsd decimal.Decimal `json:"gas_sponsored_usd"` StatisTime time.Time `json:"statis_time"` CreateTime time.Time `json:"create_time"` ent.Schema }
func (PaymasterStatisDay) Annotations ¶
func (PaymasterStatisDay) Annotations() []schema.Annotation
func (PaymasterStatisDay) Edges ¶
func (PaymasterStatisDay) Edges() []ent.Edge
func (PaymasterStatisDay) Fields ¶
func (PaymasterStatisDay) Fields() []ent.Field
type PaymasterStatisHour ¶
type PaymasterStatisHour struct { ID int64 `json:"id"` Paymaster string `json:"paymaster"` Network string `json:"network"` UserOpsNum int64 `json:"user_ops_num"` Reserve decimal.Decimal `json:"reserve"` GasSponsored decimal.Decimal `json:"gas_sponsored"` GasSponsoredUsd decimal.Decimal `json:"gas_sponsored_usd"` StatisTime time.Time `json:"statis_time"` CreateTime time.Time `json:"create_time"` ent.Schema }
func (PaymasterStatisHour) Annotations ¶
func (PaymasterStatisHour) Annotations() []schema.Annotation
func (PaymasterStatisHour) Edges ¶
func (PaymasterStatisHour) Edges() []ent.Edge
func (PaymasterStatisHour) Fields ¶
func (PaymasterStatisHour) Fields() []ent.Field
type TaskRecord ¶
type TaskRecord struct { ID int64 `db:"id"` Network string `db:"network"` TaskType string `db:"task_type"` LastTime time.Time `db:"last_time"` CreateTime time.Time `db:"create_time"` UpdateTime time.Time `db:"update_time"` ent.Schema }
func (TaskRecord) Annotations ¶
func (TaskRecord) Annotations() []schema.Annotation
func (TaskRecord) Edges ¶
func (TaskRecord) Edges() []ent.Edge
func (TaskRecord) Fields ¶
func (TaskRecord) Fields() []ent.Field
type Token ¶
func (Token) Annotations ¶
func (Token) Annotations() []schema.Annotation
type TokenAll ¶
func (TokenAll) Annotations ¶
func (TokenAll) Annotations() []schema.Annotation
type TokenPriceInfo ¶
func (TokenPriceInfo) Annotations ¶
func (TokenPriceInfo) Annotations() []schema.Annotation
func (TokenPriceInfo) Edges ¶
func (TokenPriceInfo) Edges() []ent.Edge
func (TokenPriceInfo) Fields ¶
func (TokenPriceInfo) Fields() []ent.Field
type TransactionDecode ¶
func (TransactionDecode) Annotations ¶
func (TransactionDecode) Annotations() []schema.Annotation
func (TransactionDecode) Fields ¶
func (TransactionDecode) Fields() []ent.Field
type TransactionReceiptBlockSync ¶
func (TransactionReceiptBlockSync) Annotations ¶
func (TransactionReceiptBlockSync) Annotations() []schema.Annotation
func (TransactionReceiptBlockSync) Fields ¶
func (TransactionReceiptBlockSync) Fields() []ent.Field
type TransactionReceiptDecode ¶
func (TransactionReceiptDecode) Annotations ¶
func (TransactionReceiptDecode) Annotations() []schema.Annotation
func (TransactionReceiptDecode) Edges ¶
func (TransactionReceiptDecode) Edges() []ent.Edge
func (TransactionReceiptDecode) Fields ¶
func (TransactionReceiptDecode) Fields() []ent.Field
type TransactionSync ¶
func (TransactionSync) Annotations ¶
func (TransactionSync) Annotations() []schema.Annotation
func (TransactionSync) Fields ¶
func (TransactionSync) Fields() []ent.Field
type TransferTransaction ¶
func (TransferTransaction) Annotations ¶
func (TransferTransaction) Annotations() []schema.Annotation
func (TransferTransaction) Fields ¶
func (TransferTransaction) Fields() []ent.Field
type UserAssetInfo ¶
func (UserAssetInfo) Annotations ¶
func (UserAssetInfo) Annotations() []schema.Annotation
func (UserAssetInfo) Edges ¶
func (UserAssetInfo) Edges() []ent.Edge
func (UserAssetInfo) Fields ¶
func (UserAssetInfo) Fields() []ent.Field
type UserOpTypeStatistic ¶
type UserOpTypeStatistic struct { Id int64 UserOpType string UserOpSign string Network string StatisticType string OpNum int64 CreateTime time.Time ent.Schema }
func (UserOpTypeStatistic) Annotations ¶
func (UserOpTypeStatistic) Annotations() []schema.Annotation
func (UserOpTypeStatistic) Edges ¶
func (UserOpTypeStatistic) Edges() []ent.Edge
func (UserOpTypeStatistic) Fields ¶
func (UserOpTypeStatistic) Fields() []ent.Field
type WhaleStatisticDay ¶
type WhaleStatisticDay struct { Id int64 Network string WhaleNum int64 TotalUsd decimal.Decimal StatisticTime time.Time CreateTime time.Time ent.Schema }
func (WhaleStatisticDay) Annotations ¶
func (WhaleStatisticDay) Annotations() []schema.Annotation
func (WhaleStatisticDay) Edges ¶
func (WhaleStatisticDay) Edges() []ent.Edge
func (WhaleStatisticDay) Fields ¶
func (WhaleStatisticDay) Fields() []ent.Field
type WhaleStatisticHour ¶
type WhaleStatisticHour struct { Id int64 Network string WhaleNum int64 TotalUsd decimal.Decimal StatisticTime time.Time CreateTime time.Time ent.Schema }
func (WhaleStatisticHour) Annotations ¶
func (WhaleStatisticHour) Annotations() []schema.Annotation
func (WhaleStatisticHour) Edges ¶
func (WhaleStatisticHour) Edges() []ent.Edge
func (WhaleStatisticHour) Fields ¶
func (WhaleStatisticHour) Fields() []ent.Field
Source Files
¶
- aa_account_data.go
- aa_asset.go
- aa_asset_detail.go
- aa_block_info.go
- aa_block_sync.go
- aa_contract_interact_statistic.go
- aa_hot_token_statistic.go
- aa_transaction_info.go
- aa_user_ops_calldata.go
- aa_user_ops_info.go
- account.go
- asset_change_trace.go
- block_data_decode.go
- block_scan_record.go
- block_sync.go
- bundler_info.go
- bundler_statis_day.go
- bundler_statis_hour.go
- daily_statistic_day.go
- daily_statistic_hour.go
- factory_info.go
- factory_statis_day.go
- factory_statis_hour.go
- function_signature.go
- hot_aa_token_statistic.go
- mev_info.go
- mev_transaction.go
- mev_user_ops_info.go
- monitor.go
- network.go
- paymaster_info.go
- paymaster_statis_day.go
- paymaster_statis_hour.go
- task_record.go
- token.go
- token_all.go
- token_price_info.go
- transaction_decode.go
- transaction_receipt_decode.go
- transfer_transaction.go
- user_asset_info.go
- user_op_type_statistic.go
- whale_statistic_day.go
- whale_statistic_hour.go
Click to show internal directories.
Click to hide internal directories.