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

18 lines
561 B
Go

package vat_grab
import (
shared_t "github.com/vulcanize/vulcanizedb/libraries/shared/transformer"
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared/constants"
)
func GetVatGrabConfig() shared_t.TransformerConfig {
return shared_t.TransformerConfig{
TransformerName: constants.VatGrabLabel,
ContractAddresses: []string{constants.VatContractAddress()},
ContractAbi: constants.VatABI(),
Topic: constants.GetVatGrabSignature(),
StartingBlockNumber: constants.VatDeploymentBlock(),
EndingBlockNumber: -1,
}
}