2018-10-08 21:39:57 +00:00
|
|
|
package vat_grab
|
|
|
|
|
2018-11-08 15:14:35 +00:00
|
|
|
import (
|
|
|
|
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared"
|
|
|
|
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared/constants"
|
|
|
|
)
|
2018-10-08 21:39:57 +00:00
|
|
|
|
2019-01-23 18:44:09 +00:00
|
|
|
func GetVatGrabConfig() shared.TransformerConfig {
|
|
|
|
return shared.TransformerConfig{
|
|
|
|
TransformerName: constants.VatGrabLabel,
|
|
|
|
ContractAddresses: []string{constants.VatContractAddress()},
|
|
|
|
ContractAbi: constants.VatABI(),
|
|
|
|
Topic: constants.GetVatGrabSignature(),
|
|
|
|
StartingBlockNumber: constants.VatDeploymentBlock(),
|
|
|
|
EndingBlockNumber: -1,
|
|
|
|
}
|
2018-10-08 21:39:57 +00:00
|
|
|
}
|