ipld-eth-server/pkg/transformers/vat_toll/config.go

18 lines
543 B
Go
Raw Normal View History

2018-10-04 19:46:04 +00:00
package vat_toll
import (
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared"
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared/constants"
)
2018-10-04 19:46:04 +00:00
func GetVatTollConfig() shared.TransformerConfig {
return shared.TransformerConfig{
TransformerName: constants.VatTollLabel,
ContractAddresses: []string{constants.VatContractAddress()},
ContractAbi: constants.VatABI(),
Topic: constants.GetVatTollSignature(),
StartingBlockNumber: constants.VatDeploymentBlock(),
EndingBlockNumber: -1,
}
2018-10-04 19:46:04 +00:00
}