2018-10-08 21:39:57 +00:00
|
|
|
package test_data
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
"github.com/ethereum/go-ethereum/common"
|
|
|
|
"github.com/ethereum/go-ethereum/common/hexutil"
|
|
|
|
"github.com/ethereum/go-ethereum/core/types"
|
2018-11-12 20:59:16 +00:00
|
|
|
"github.com/vulcanize/vulcanizedb/pkg/fakes"
|
2018-10-08 21:39:57 +00:00
|
|
|
"github.com/vulcanize/vulcanizedb/pkg/transformers/vat_grab"
|
|
|
|
)
|
|
|
|
|
|
|
|
var EthVatGrabLog = types.Log{
|
2019-01-23 18:44:09 +00:00
|
|
|
Address: common.HexToAddress(KovanVatContractAddress),
|
2018-10-08 21:39:57 +00:00
|
|
|
Topics: []common.Hash{
|
|
|
|
common.HexToHash("0x3690ae4c00000000000000000000000000000000000000000000000000000000"),
|
2018-10-17 18:04:55 +00:00
|
|
|
common.HexToHash("0x5245500000000000000000000000000000000000000000000000000000000000"),
|
|
|
|
common.HexToHash("0x0000000000000000000000006a3ae20c315e845b2e398e68effe39139ec6060c"),
|
|
|
|
common.HexToHash("0x0000000000000000000000002f34f22a00ee4b7a8f8bbc4eaee1658774c624e0"),
|
2018-10-08 21:39:57 +00:00
|
|
|
},
|
2018-10-17 18:04:55 +00:00
|
|
|
Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c43690ae4c52455000000000000000000000000000000000000000000000000000000000000000000000000000000000006a3ae20c315e845b2e398e68effe39139ec6060c0000000000000000000000002f34f22a00ee4b7a8f8bbc4eaee1658774c624e00000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1ffffffffffffffffffffffffffffffffffffffffffffffffe43e9298b1380000ffffffffffffffffffffffffffffffffffffffffffffffff24fea01c7f8f8000"),
|
2018-10-08 21:39:57 +00:00
|
|
|
BlockNumber: 23,
|
|
|
|
TxHash: common.HexToHash("0x7cb84c750ce4985f7811abf641d52ffcb35306d943081475226484cf1470c6fa"),
|
|
|
|
TxIndex: 4,
|
2018-11-12 20:59:16 +00:00
|
|
|
BlockHash: fakes.FakeHash,
|
2018-10-22 21:29:02 +00:00
|
|
|
Index: 5,
|
2018-10-08 21:39:57 +00:00
|
|
|
Removed: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
var rawVatGrabLog, _ = json.Marshal(EthVatGrabLog)
|
|
|
|
var VatGrabModel = vat_grab.VatGrabModel{
|
2019-01-28 22:52:47 +00:00
|
|
|
Ilk: "5245500000000000000000000000000000000000000000000000000000000000",
|
2019-02-05 21:43:20 +00:00
|
|
|
Urn: "0000000000000000000000006a3ae20c315e845b2e398e68effe39139ec6060c",
|
|
|
|
V: "0000000000000000000000002f34f22a00ee4b7a8f8bbc4eaee1658774c624e0",
|
|
|
|
W: "0000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1",
|
2018-10-17 18:04:55 +00:00
|
|
|
Dink: "115792089237316195423570985008687907853269984665640564039455584007913129639936",
|
|
|
|
Dart: "115792089237316195423570985008687907853269984665640564039441803007913129639936",
|
2018-10-22 21:29:02 +00:00
|
|
|
LogIndex: EthVatGrabLog.Index,
|
2018-10-08 21:39:57 +00:00
|
|
|
TransactionIndex: EthVatGrabLog.TxIndex,
|
|
|
|
Raw: rawVatGrabLog,
|
|
|
|
}
|