Documentation
¶
Index ¶
- Constants
- func GetNativePrice(network string) decimal.Decimal
- func GetTokenPrice(tokenAddress string, network string) decimal.Decimal
- func GetTotalBalance(address string, network string) decimal.Decimal
- func ScanBlock()
- func ScanSignature(ctx context.Context)
- func WalletTracker(accountAddress string, network string)
- type FunctionSignature
- type ReceiptLog
- type WalletBalance
- type WhaleOverview
Constants ¶
View Source
const SWAP2 = "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822"
View Source
const SWAP3 = "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67"
1.scan block, get active account, contract 2.add trace table 3.mev detect
View Source
const Transfer = "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
Variables ¶
This section is empty.
Functions ¶
func GetNativePrice ¶
func ScanSignature ¶
func WalletTracker ¶
Types ¶
type FunctionSignature ¶
type FunctionSignature struct {
Id int `json:"id"`
CreatedAt time.Time `json:"created_at"`
TextSignature string `json:"text_signature"`
Name string `json:"name"`
HexSignature string `json:"hex_signature"`
BytesSignature json.RawMessage `json:"bytes_signature"`
}
func GetSignature ¶
func GetSignature(signature string) (*FunctionSignature, error)
type ReceiptLog ¶
type WalletBalance ¶
type WalletBalance struct {
Symbol string
ContractAddress string
Amount decimal.Decimal
ValueUsd decimal.Decimal
Percent decimal.Decimal
}
func GetWalletBalanceDetail ¶
func GetWalletBalanceDetail(accountAddress string, network string) []*WalletBalance
Click to show internal directories.
Click to hide internal directories.