2018-10-17 15:53:06 +00:00
|
|
|
package vat_flux
|
|
|
|
|
2018-11-08 15:14:35 +00:00
|
|
|
import (
|
2019-01-25 08:59:23 +00:00
|
|
|
shared_t "github.com/vulcanize/vulcanizedb/libraries/shared/transformer"
|
2018-11-08 15:14:35 +00:00
|
|
|
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared/constants"
|
|
|
|
)
|
2018-10-17 15:53:06 +00:00
|
|
|
|
2019-01-25 08:59:23 +00:00
|
|
|
func GetVatFluxConfig() shared_t.TransformerConfig {
|
|
|
|
return shared_t.TransformerConfig{
|
2019-01-23 18:44:09 +00:00
|
|
|
TransformerName: constants.VatFluxLabel,
|
|
|
|
ContractAddresses: []string{constants.VatContractAddress()},
|
|
|
|
ContractAbi: constants.VatABI(),
|
|
|
|
Topic: constants.GetVatFluxSignature(),
|
|
|
|
StartingBlockNumber: constants.VatDeploymentBlock(),
|
|
|
|
EndingBlockNumber: -1,
|
|
|
|
}
|
2018-10-17 15:53:06 +00:00
|
|
|
}
|