Extract addresses to shared constants file

This commit is contained in:
Rob Mulholand
2018-09-11 16:30:29 -05:00
parent ceeaa0f8d3
commit dc9bda7d68
17 changed files with 39 additions and 38 deletions
+2 -3
View File
@@ -21,13 +21,12 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared"
"github.com/vulcanize/vulcanizedb/pkg/transformers/vat_init"
)
var VatAddress = "0x239E6f0AB02713f1F8AA90ebeDeD9FC66Dc96CD6"
var EthVatInitLog = types.Log{
Address: common.HexToAddress(VatAddress),
Address: common.HexToAddress(shared.VatContractAddress),
Topics: []common.Hash{
common.HexToHash("0x3b66319500000000000000000000000000000000000000000000000000000000"),
common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),