Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunVaaCount ¶
func RunVaaCount(inputFile, outputFile string)
func RunVaaVolumeFromFile ¶
func RunVaaVolumeFromFile(inputFile, outputFile, pricesFile, vaaPayloadParserURL, p2pNetwork string)
read a csv file with VAAs and convert into a decoded csv file ready to upload to the database
func RunVaaVolumeFromMongo ¶
func RunVaaVolumeFromMongo(mongoUri, mongoDb, outputFile, pricesFile, vaaPayloadParserURL, p2pNetwork string)
read a csv file with VAAs and convert into a decoded csv file ready to upload to the database
Types ¶
type LineParser ¶
type LineParser struct {
// contains filtered or unexported fields
}
func NewLineParser ¶
func NewLineParser(converter *VaaConverter) *LineParser
type VaaConverter ¶
type VaaConverter struct { MissingTokens map[sdk.Address]sdk.ChainID MissingTokensCounter map[sdk.Address]int PriceCache *prices.CoinPricesCache Metrics metrics.Metrics GetTransferredTokenByVaa token.GetTransferredTokenByVaa TokenProvider *domain.TokenProvider }
func NewVaaConverter ¶
func NewVaaConverter(priceCache *prices.CoinPricesCache, GetTransferredTokenByVaa token.GetTransferredTokenByVaa, tokenProvider *domain.TokenProvider) *VaaConverter
Click to show internal directories.
Click to hide internal directories.