Documentation ¶
Index ¶
- Variables
- type AbiParser
- func (abi AbiParser) GetAbi(chain int, address common.Address) (string, error)
- func (abi AbiParser) GetAbiBsc(addr common.Address) *models.AbiResponse
- func (abi AbiParser) GetAbiEth(addr common.Address) *models.AbiResponse
- func (abi AbiParser) GetAbiEthBase(uri string, addr common.Address) *models.AbiResponse
- func (abi AbiParser) GetAbiPolygon(addr common.Address) *models.AbiResponse
- type Contract
- type ParseNft
- type ScanParse
- type TokenParse
- type TransactionParse
Constants ¶
This section is empty.
Variables ¶
View Source
var MemoryToken = make(map[string]models.TokenData)
View Source
var ScanJobs map[string]bool
View Source
var TokenLists = make(map[string]models.TokenInfo)
Functions ¶
This section is empty.
Types ¶
type AbiParser ¶
type AbiParser struct {
// contains filtered or unexported fields
}
func NewAbiParser ¶
func NewAbiParser(client lib.MongoConnect) *AbiParser
func (AbiParser) GetAbiBsc ¶
func (abi AbiParser) GetAbiBsc(addr common.Address) *models.AbiResponse
func (AbiParser) GetAbiEth ¶
func (abi AbiParser) GetAbiEth(addr common.Address) *models.AbiResponse
func (AbiParser) GetAbiEthBase ¶
func (AbiParser) GetAbiPolygon ¶
func (abi AbiParser) GetAbiPolygon(addr common.Address) *models.AbiResponse
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
func NewContract ¶
func (*Contract) InitContract ¶
type ScanParse ¶
type ScanParse struct {
// contains filtered or unexported fields
}
func NewScanParse ¶
func NewScanParse() *ScanParse
func (ScanParse) AddressDataParse ¶
func (ScanParse) GetAddress ¶
type TokenParse ¶
type TokenParse struct {
// contains filtered or unexported fields
}
func NewTokenParse ¶
func (*TokenParse) InitToken ¶
func (tk *TokenParse) InitToken() *models.TokenInfo
func (*TokenParse) ParseWithPrice ¶
func (tk *TokenParse) ParseWithPrice() *models.TokenData
type TransactionParse ¶
type TransactionParse struct {
// contains filtered or unexported fields
}
func NewTransactionParse ¶
func NewTransactionParse(receipt *types.Receipt, trans *types.Transaction, chain int, cli *ethclient.Client, mongo *mongo.Client) *TransactionParse
func (*TransactionParse) Parse ¶
func (t *TransactionParse) Parse() models.Transaction
Source Files ¶
Click to show internal directories.
Click to hide internal directories.