Documentation ¶
Index ¶
- Constants
- func CreateAssociations(database *db.Instance, addressAssetsMap map[string][]string) error
- func GetAssetsFromTransactions(txs types.Txs) []models.Asset
- func RunTokenIndexer(database *db.Instance, delivery amqp.Delivery) error
- func RunTokenIndexerSubscribe(database *db.Instance, apis map[uint]blockatlas.TokensAPI, ...) error
- type ConsumerIndexer
- type GetTokensAsset
- type GetTokensByAddressRequest
- type GetTokensByAddressResponse
- type Instance
- type Request
Constants ¶
View Source
const ( TokenIndexer = "TokenIndexer" SubscriptionsTokenIndexer = "SubscriptionsTokenIndexer" )
Variables ¶
This section is empty.
Functions ¶
func CreateAssociations ¶
Types ¶
type ConsumerIndexer ¶
type GetTokensAsset ¶
type GetTokensByAddressResponse ¶
type GetTokensByAddressResponse []GetTokensAsset
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func (Instance) GetNewTokensRequest ¶
func (i Instance) GetNewTokensRequest(r Request) (blockatlas.ResultsResponse, error)
func (Instance) GetTokensByAddress ¶
func (i Instance) GetTokensByAddress(r GetTokensByAddressRequest) (GetTokensByAddressResponse, error)
Click to show internal directories.
Click to hide internal directories.