Add Rep price feed

This commit is contained in:
Rob Mulholand
2018-08-16 11:22:16 -05:00
parent 2949996d22
commit 6e68dc4a92
12 changed files with 352 additions and 6 deletions
+2
View File
@@ -34,6 +34,7 @@ import (
"github.com/vulcanize/vulcanizedb/pkg/transformers"
"github.com/vulcanize/vulcanizedb/pkg/transformers/price_feeds/pep"
"github.com/vulcanize/vulcanizedb/pkg/transformers/price_feeds/pip"
"github.com/vulcanize/vulcanizedb/pkg/transformers/price_feeds/rep"
"github.com/vulcanize/vulcanizedb/utils"
)
@@ -94,6 +95,7 @@ func syncPriceFeeds() {
transformers := []transformers.Transformer{
pep.NewPepTransformer(blockChain, &db),
pip.NewPipTransformer(blockChain, &db),
rep.NewRepTransformer(blockChain, &db),
}
go backFillPriceFeeds(blockChain, headerRepository, missingBlocksPopulated, startingBlockNumber, transformers)