Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildByBlockRange ¶
func BuildByBlockRange( url string, blockFrom uint64, blockTo uint64, onlyThisTokenAddress string, doNotFetchMissingMasterData bool, forceSerialExecution bool, clearTokenCache bool)
BuildByBlockRange is entry point for building graph based on block selection. Note injection of url string not a client, because later on in concurrent execution we want to create many clients
func BuildMasterData ¶
func GetLatestBlockNumber ¶
func GetLatestBlockNumber(url string)
func GetTimeToIndexMap ¶
func GetTimeToIndexMap(events []*chain.TransferEvent) (timeToIndexMap map[time.Time]uint)
GetTimeToIndexMap takes the events.TransactionTimestampEstimate field, makes a unique list of them, and assigns an index counter to them 0, 1, 2 etc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.