Documentation ¶
Index ¶
- Constants
- Variables
- func AlreadySeededRandomString(length int) string
- func CatAddress() string
- func CopyModel(model shared.InsertionModel) shared.InsertionModel
- func EthFlipAddress() string
- func FlapAddress() string
- func FlipAddresses() []string
- func FlopAddress() string
- func JugAddress() string
- func RandomString(length int) string
- func SetTestConfig() bool
- func SpotAddress() string
- func VatAddress() string
- func VowAddress() string
- type FlipKickDBRow
- type FlopKickDBResult
- type GenericEntity
- type GenericModel
- type WrongEntity
- type WrongModel
Constants ¶
View Source
const ( TemporaryBiteBlockNumber = int64(26) TemporaryBiteTransaction = "0x5c698f13940a2153440c6d19660878bc90219d9298fdcf37365aa8d88d40fc42" )
Variables ¶
View Source
var ( EthFlopKickLog = types.Log{ Address: common.HexToAddress(FlopAddress()), Topics: []common.Hash{ common.HexToHash(constants.FlopKickSignature()), common.HexToHash("0x0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000006a94d74f4300000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000001bc16d674ec80000"), BlockNumber: 19, TxHash: common.HexToHash("0xd8fd67b37a6aa64a3cef4937204765183b180d8dc92eecd0d233f445526d31b5"), TxIndex: uint(33), BlockHash: fakes.FakeHash, Index: 32, Removed: false, } FlopKickEntity = flop_kick.Entity{ Id: big.NewInt(30000000000000000), Lot: big.NewInt(1000000000000000000), Bid: big.NewInt(2000000000000000000), Gal: common.HexToAddress("0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6"), TransactionIndex: EthFlopKickLog.TxIndex, LogIndex: EthFlopKickLog.Index, Raw: EthFlopKickLog, } FlopKickModel = flop_kick.Model{ BidId: FlopKickEntity.Id.String(), Lot: FlopKickEntity.Lot.String(), Bid: FlopKickEntity.Bid.String(), Gal: FlopKickEntity.Gal.Hex(), ContractAddress: EthFlopKickLog.Address.Hex(), TransactionIndex: EthFlopKickLog.TxIndex, LogIndex: EthFlopKickLog.Index, Raw: rawFlopLogJson, } )
View Source
var BiteEntity = bite.BiteEntity{ Ilk: biteIlk, Urn: biteUrn, Ink: biteInk, Art: biteArt, Tab: biteTab, Flip: biteFlip, Id: biteID, LogIndex: EthBiteLog.Index, TransactionIndex: EthBiteLog.TxIndex, Raw: EthBiteLog, }
View Source
var BiteModel = bite.BiteModel{ Ilk: "0x4554480000000000000000000000000000000000000000000000000000000000", Urn: "0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6", Ink: biteInk.String(), Art: biteArt.String(), Tab: biteTab.String(), Flip: "0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6", Id: biteID.String(), LogIndex: EthBiteLog.Index, TransactionIndex: EthBiteLog.TxIndex, Raw: biteRawJson, }
View Source
var CatFileChopModel = shared.InsertionModel{ TableName: "cat_file_chop_lump", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "data", "tx_idx", "log_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "chop", "data": "1000000000000000000000000000", "tx_idx": EthCatFileChopLog.TxIndex, "log_idx": EthCatFileChopLog.Index, "raw_log": rawCatFileChopLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x434f4c342d410000000000000000000000000000000000000000000000000000", }, }
View Source
var CatFileFlipModel = shared.InsertionModel{ TableName: "cat_file_flip", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "flip", "tx_idx", "log_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "flip", "flip": "0x6E8032435c84B08E30F27bfbb812Ee365A095b31", "tx_idx": EthCatFileFlipLog.TxIndex, "log_idx": EthCatFileFlipLog.Index, "raw_log": rawCatFileFlipLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x434f4c312d410000000000000000000000000000000000000000000000000000", }, }
View Source
var CatFileLumpModel = shared.InsertionModel{ TableName: "cat_file_chop_lump", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "data", "tx_idx", "log_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "lump", "data": "10000000000000000000000000000000000000000000000000", "tx_idx": EthCatFileLumpLog.TxIndex, "log_idx": EthCatFileLumpLog.Index, "raw_log": rawCatFileLumpLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x434f4c342d410000000000000000000000000000000000000000000000000000", }, }
View Source
var CatFileVowModel = shared.InsertionModel{ TableName: "cat_file_vow", OrderedColumns: []string{ "header_id", "what", "data", "tx_idx", "log_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "vow", "data": "0x17560834075DA3Db54f737db74377E799c865821", "tx_idx": EthCatFileVowLog.TxIndex, "log_idx": EthCatFileVowLog.Index, "raw_log": rawCatFileVowLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var DealLogNote = types.Log{ Address: common.HexToAddress(EthFlipAddress()), Topics: []common.Hash{ common.HexToHash(constants.DealSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x000000000000000000000000000000000000000000000000002386f26fc10000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0c959c42b000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 16, TxHash: common.HexToHash("0xc6ff19de9299e5b290ba2d52fdb4662360ca86376613d78ee546244866a0be2d"), TxIndex: 74, BlockHash: fakes.FakeHash, Index: 75, Removed: false, }
View Source
var DealModel = shared.InsertionModel{ TableName: "deal", OrderedColumns: []string{ "header_id", "bid_id", "contract_address", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "bid_id": "10000000000000000", "contract_address": common.HexToAddress(EthFlipAddress()).Hex(), "log_idx": DealLogNote.Index, "tx_idx": DealLogNote.TxIndex, "raw_log": dealRawJson, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var DentModel = shared.InsertionModel{ TableName: "dent", OrderedColumns: []string{ "header_id", "bid_id", "lot", "bid", "contract_address", "tic", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "bid_id": dentBidId, "lot": dentLot, "bid": dentBid, "contract_address": EthDentLog.Address.Hex(), "log_idx": EthDentLog.Index, "tx_idx": EthDentLog.TxIndex, "raw_log": dentRawJson, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var EthBiteLog = types.Log{ Address: common.HexToAddress(CatAddress()), Topics: []common.Hash{ common.HexToHash(constants.BiteSignature()), common.HexToHash("0x4554480000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6"), }, Data: hexutil.MustDecode(biteData), BlockNumber: uint64(TemporaryBiteBlockNumber), TxHash: common.HexToHash(TemporaryBiteTransaction), TxIndex: 111, BlockHash: fakes.FakeHash, Index: 7, Removed: false, }
View Source
var EthCatFileChopLog = types.Log{ Address: common.HexToAddress(CatAddress()), Topics: []common.Hash{ common.HexToHash(constants.CatFileChopLumpSignature()), common.HexToHash("0x000000000000000000000000dc984d513a0f9ca9aa602d4df8517677918936e3"), common.HexToHash("0x434f4c342d410000000000000000000000000000000000000000000000000000"), common.HexToHash("0x63686f7000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e01a0b287e434f4c342d41000000000000000000000000000000000000000000000000000063686f70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 110, TxHash: common.HexToHash("0xe32dfe6afd7ea28475569756fc30f0eea6ad4cfd32f67436ff1d1c805e4382df"), TxIndex: 13, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var EthCatFileFlipLog = types.Log{ Address: common.HexToAddress(CatAddress()), Topics: []common.Hash{ common.HexToHash(constants.CatFileFlipSignature()), common.HexToHash("0x000000000000000000000000dc984d513a0f9ca9aa602d4df8517677918936e3"), common.HexToHash("0x434f4c312d410000000000000000000000000000000000000000000000000000"), common.HexToHash("0x666c697000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0ebecb39d434f4c312d410000000000000000000000000000000000000000000000000000666c6970000000000000000000000000000000000000000000000000000000000000000000000000000000006e8032435c84b08e30f27bfbb812ee365a095b3100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10980092, TxHash: common.HexToHash("0x11ee9c04fb4f68ea02a55cd4e67502d3f0ed19d45e0e5ec919f5981990d0f69e"), TxIndex: 0, BlockHash: fakes.FakeHash, Index: 2, Removed: false, }
View Source
var EthCatFileLumpLog = types.Log{ Address: common.HexToAddress(CatAddress()), Topics: []common.Hash{ common.HexToHash(constants.CatFileChopLumpSignature()), common.HexToHash("0x000000000000000000000000dc984d513a0f9ca9aa602d4df8517677918936e3"), common.HexToHash("0x434f4c342d410000000000000000000000000000000000000000000000000000"), common.HexToHash("0x6c756d7000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e01a0b287e434f4c342d4100000000000000000000000000000000000000000000000000006c756d7000000000000000000000000000000000000000000000000000000000000000000000000000000006d79f82328ea3da61e066ebb2f88a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10980157, TxHash: common.HexToHash("0xd8ff700a91f7216fd0d019e3f097ca581068fc0ef0dd4ace6eab6476df6a1987"), TxIndex: 15, BlockHash: fakes.FakeHash, Index: 3, Removed: false, }
View Source
var EthCatFileVowLog = types.Log{ Address: common.HexToAddress(CatAddress()), Topics: []common.Hash{ common.HexToHash(constants.CatFileVowSignature()), common.HexToHash("0x0000000000000000000000003652c2af10cbbdb753c3b46489db5226b73e6497"), common.HexToHash("0x766f770000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000017560834075da3db54f737db74377e799c865821"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044d4e8be83766f77000000000000000000000000000000000000000000000000000000000000000000000000000000000017560834075da3db54f737db74377e799c86582100000000000000000000000000000000000000000000000000000000"), BlockNumber: 87, TxHash: common.HexToHash("0x6515c7dfe53f0ad83ce1173fa99032c24a07cfd8b5d5a1c1f80486c99dd52800"), TxIndex: 11, BlockHash: fakes.FakeHash, Index: 2, Removed: false, }
View Source
var EthDentLog = types.Log{ Address: common.HexToAddress(EthFlipAddress()), Topics: []common.Hash{ common.HexToHash(constants.DentSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x000000000000000000000000000000000000000000000000002386f26fc10000"), common.HexToHash("0x00000000000000000000000000000000000000000000000000470de4df820000"), }, Data: hexutil.MustDecode(dentData), BlockNumber: 15, TxHash: common.HexToHash(dentTransactionHash), TxIndex: 5, BlockHash: fakes.FakeHash, Index: 2, Removed: false, }
View Source
var EthFlapKickLog = types.Log{ Address: common.HexToAddress(FlapAddress()), Topics: []common.Hash{ common.HexToHash(constants.FlapKickSignature()), common.HexToHash("0x0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000246139ca80000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000001bc16d674ec80000"), BlockNumber: 65, TxHash: common.HexToHash("0xee7930b76b6e93974bd3f37824644ae42a89a3887a1131a7bcb3267ab4dc0169"), TxIndex: 66, BlockHash: fakes.FakeHash, Index: 67, Removed: false, }
View Source
var EthFlipKickLog = types.Log{ Address: common.HexToAddress(EthFlipAddress()), Topics: []common.Hash{ common.HexToHash(constants.FlipKickSignature()), common.HexToHash("0x0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca"), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), }, Data: hexutil.MustDecode(flipKickData), BlockNumber: uint64(FlipKickBlockNumber), TxHash: common.HexToHash(flipKickTransactionHash), TxIndex: 999, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var EthJugDripLog = types.Log{ Address: common.HexToAddress(JugAddress()), Topics: []common.Hash{ common.HexToHash(constants.JugDripSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002444e2a5a866616b6520696c6b000000000000000000000000000000000000000000000000"), BlockNumber: 62, TxHash: common.HexToHash("0xa34fd5cfcb125ebfc81d33633495701b531753669712092bdb8aa6159a240040"), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 11, Removed: false, }
View Source
var EthJugFileBaseLog = types.Log{ Address: common.HexToAddress(JugAddress()), Topics: []common.Hash{ common.HexToHash(constants.JugFileBaseSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x66616b6520776861740000000000000000000000000000000000000000000000"), common.HexToHash("0x000000000000000000000000000000000000000000000000000000000000007b"), }, Data: hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004429ae811466616b6520776861740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007b"), BlockNumber: 36, TxHash: common.HexToHash("0xeeaa16de1d91c239b66773e8c2116a26cfeaaf5d962b31466c9bf047a5caa20f"), TxIndex: 13, BlockHash: fakes.FakeHash, Index: 16, Removed: false, }
View Source
var EthJugFileIlkLog = types.Log{ Address: common.HexToAddress(JugAddress()), Topics: []common.Hash{ common.HexToHash(constants.JugFileIlkSignature()), common.HexToHash("0x000000000000000000000000127232c33f9b051e3703294de3c1e03e15f8a33f"), common.HexToHash("0x434f4c322d410000000000000000000000000000000000000000000000000000"), common.HexToHash("0x6475747900000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e01a0b287e434f4c322d41000000000000000000000000000000000000000000000000000064757479000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033b2e3cacd278c7503e82c100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10980334, TxHash: common.HexToHash("0xa38f6bb83ae8c1bd239c883e3553e71d712db77bb3954851cc6ed5468a821613"), TxIndex: 2, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var EthJugFileVowLog = types.Log{ Address: common.HexToAddress(JugAddress()), Topics: []common.Hash{ common.HexToHash(constants.JugFileVowSignature()), common.HexToHash("0x0000000000000000000000003652c2af10cbbdb753c3b46489db5226b73e6497"), common.HexToHash("0x766f770000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000017560834075da3db54f737db74377e799c865821"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044e9b674b9766f77000000000000000000000000000000000000000000000000000000000017560834075da3db54f737db74377e799c86582100000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 51, TxHash: common.HexToHash("0x586e26b71b41fcd6905044dbe8f0cca300517542278f74a9b925c4f800fed85c"), TxIndex: 14, BlockHash: fakes.FakeHash, Index: 17, Removed: false, }
View Source
var EthJugInitLog = types.Log{ Address: common.HexToAddress(JugAddress()), Topics: []common.Hash{ common.HexToHash(constants.JugInitSignature()), common.HexToHash("0x000000000000000000000000dc984d513a0f9ca9aa602d4df8517677918936e3"), common.HexToHash("0x434f4c352d410000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e03b663195434f4c352d4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10980181, TxHash: common.HexToHash("0x27f7834f778ec7d4289cf3337f8e428785c6d023164c02fc44565dbf2e26c49a"), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 11, Removed: false, }
View Source
var EthSpotFileMatLog = types.Log{ Address: common.HexToAddress(SpotAddress()), Topics: []common.Hash{ common.HexToHash(constants.SpotFileMatSignature()), common.HexToHash("0x00000000000000000000000071ce79fcfec71760d51f6b3589c0d9ec0ccb64a8"), common.HexToHash("0x4554482d41000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x6d61740000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e01a0b287e4554482d410000000000000000000000000000000000000000000000000000006d61740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d8c55aefb8c05b5c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 11257385, TxHash: common.HexToHash("0xb4d19aaf5be5077db65aeeb16906a5498cfa94836952191258cc45966e1d7198"), TxIndex: 2, BlockHash: common.HexToHash("0x968cd16acb356de42e9f3ab17583988b49173c0339af5afa3f79cecdbc111d69"), Index: 3, Removed: false, }
View Source
var EthSpotFilePipLog = types.Log{ Address: common.HexToAddress(SpotAddress()), Topics: []common.Hash{ common.HexToHash(constants.SpotFilePipSignature()), common.HexToHash("0x0000000000000000000000004ba936a9338ae211300ea47899fbd111fd5dca31"), common.HexToHash("0x4554482d41000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000008c73ec0fbcdec6b8c060bc224d94740fd41f3774"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0d4e8be834554482d410000000000000000000000000000000000000000000000000000000000000000000000000000008c73ec0fbcdec6b8c060bc224d94740fd41f3774000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 11257191, TxHash: common.HexToHash("0xaae9e8bce346f86a01c5a3af137bc1f9bc7c0c767804a2b9b6356849aee0d7dd"), TxIndex: 1, BlockHash: common.HexToHash("0xfa28e186578238fdd6b971add2ebe62a26dddf5ff971d50ee476c86b45362da1"), Index: 2, Removed: false, }
View Source
var EthSpotPokeLog = types.Log{ Address: common.HexToAddress(SpotAddress()), Topics: []common.Hash{ common.HexToHash(constants.SpotPokeSignature()), }, Data: hexutil.MustDecode("0x434f4c352d410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013c6d703eec370000000000000000000000000000000000000000000026c69aba83d25409ffca1a"), BlockNumber: 11257491, TxHash: common.HexToHash("0x1103dd21f6c43d6f895d41935918119d35d000a109f9353c4575959ba01206bd"), TxIndex: 1, BlockHash: common.HexToHash("0x94c99a3b2c77f7cbc401f010c50cd298546cd1084c4d436dde4d22a8b7bbe7e1"), Index: 2, Removed: false, }
View Source
var EthVatFileDebtCeilingLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFileDebtCeilingSignature()), common.HexToHash("0x4c696e6500000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000002ac3a4edbbfb8014e3ba83411e915e8000000000000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004429ae81144c696e65000000000000000000000000000000000000000000000000000000000000000000000000000002ac3a4edbbfb8014e3ba83411e915e800000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10577169, TxHash: common.HexToHash("0x0ec18121d45f96293d9d759fd7564db4186a1aa69552f3106dd1afdeffdc9106"), TxIndex: 333, BlockHash: fakes.FakeHash, Index: 15, Removed: false, }
View Source
var EthVatFileIlkDustLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFileIlkSignature()), common.HexToHash("0x5245500000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x6475737400000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x000000000000000000000000000000000000000832600000bee4f14727b555555"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000641a0b287e52455000000000000000000000000000000000000000000000000000000000006475737400000000000000000000000000000000000000000000000000000000000000000000000000000000000000832600000bee4f14727b55555500000000000000000000000000000000000000000000000000000000"), BlockNumber: 12, TxHash: common.HexToHash("0x2e27c962a697d4f7ec5d3206d0c058bd510f7593a711f082e55f3b62d44d8dd9"), TxIndex: 112, BlockHash: fakes.FakeHash, Index: 15, Removed: false, }
View Source
var EthVatFileIlkLineLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFileIlkSignature()), common.HexToHash("0x5245500000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x6c696e6500000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000000000000000000000000000bee4f14727b555555"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000641a0b287e52455000000000000000000000000000000000000000000000000000000000006c696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bee4f14727b55555500000000000000000000000000000000000000000000000000000000"), BlockNumber: 12, TxHash: common.HexToHash("0x2e27c962a697d4f7ec5d3206d0c058bd510f7593a711f082e55f3b62d44d8dd9"), TxIndex: 112, BlockHash: fakes.FakeHash, Index: 15, Removed: false, }
View Source
var EthVatFileIlkSpotLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFileIlkSignature()), common.HexToHash("0x4554480000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x73706f7400000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000000000000000000012714e40bee4f14727b555555"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000641a0b287e455448000000000000000000000000000000000000000000000000000000000073706f740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012714e40bee4f14727b55555500000000000000000000000000000000000000000000000000000000"), BlockNumber: 10501158, TxHash: common.HexToHash("0x657baea11882f6a73b0088382fa9b9b7ba84f0c1183af909d93ab0fe2d10c292"), TxIndex: 111, BlockHash: fakes.FakeHash, Index: 14, Removed: false, }
View Source
var EthVatFluxLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFluxSignature()), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), common.HexToHash("0x0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e06111be2e66616b6520696c6b00000000000000000000000000000000000000000000000000000000000000000000000007fa9ef6609ca7921112231f8f195138ebba29770000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca000000000000000000000000000000000000000000000000000000e8d4a510000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 23, TxHash: common.HexToHash("0x67db3532a08cb3ad3340eee79f4397d005cfbc9d721c1462018453f3af5f9286"), TxIndex: 115, BlockHash: common.HexToHash("0x361c34aa03d509c47dc99deadd0678f0cf57d16d0143bba36d0bb7025bead343"), Index: 3, Removed: false, }
View Source
var EthVatFoldLogWithNegativeRate = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFoldSignature()), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6"), common.HexToHash("0xffffffffffffffffffffffffffffffffffffffffffffffe4e51b291d10b00000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0b65337df66616b6520696c6b0000000000000000000000000000000000000000000000000000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6ffffffffffffffffffffffffffffffffffffffffffffffe4e51b291d10b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 75, TxHash: common.HexToHash("0x09fa5041c3046a42947edde6193d70143045c38405842d4b08f6614b09272e76"), TxIndex: 0, BlockHash: common.HexToHash("0x843138ef186be9695fbd9bbde858491a7d324735175f3b3d4d8e228fa8423271"), Index: 0, Removed: false, }
View Source
var EthVatFoldLogWithPositiveRate = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFoldSignature()), common.HexToHash("0x5245500000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000002"), }, Data: hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000064e6a6a64d45544800000000000000000000000000000000000000000000000000000000000000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d10000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 8940380, TxHash: common.HexToHash("0xfb37b7a88aa8ad14538d1e244a55939fa07c1828e5ca8168bf4edd56f5fc4d57"), TxIndex: 8, BlockHash: fakes.FakeHash, Index: 5, Removed: false, }
View Source
var EthVatForkLogWithNegativeDinkDart = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash("0x00000000000000000000000000000000000000000000000000000000870c616d"), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), common.HexToHash("0x0000000000000000000000007526eb4f95e2a1394797cb38a921fb1eba09291b"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0870c616d66616b6520696c6b00000000000000000000000000000000000000000000000000000000000000000000000007fa9ef6609ca7921112231f8f195138ebba29770000000000000000000000007526eb4f95e2a1394797cb38a921fb1eba09291bffffffffffffffffffffffffffffffffffffffffffffffc9ca36523a21600000ffffffffffffffffffffffffffffffffffffffffffffff93946ca47442c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 146, TxHash: common.HexToHash("0xe64bdd39a752e1911e841d634a6fa8d4ef229a03f0555f9e055caec1ae4930c2"), TxIndex: 1, BlockHash: common.HexToHash("0xf31c6d2dadd23f408e5158dce47ba20fef8c17bc60af6e1f35a89769bc20d6f0"), Index: 2, Removed: false, }
View Source
var EthVatForkLogWithPositiveDinkDart = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash("0x00000000000000000000000000000000000000000000000000000000870c616d"), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), common.HexToHash("0x0000000000000000000000007526eb4f95e2a1394797cb38a921fb1eba09291b"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0870c616d66616b6520696c6b000000000000000000000000000000000000000000000000000000000000000000000000659344c807415e6d9f0d5b9cf61556d9d1dc4e8b0000000000000000000000000ccbc2b468e788e024553f105a30c84b1587e22500000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000071afd498d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 146, TxHash: common.HexToHash("0xe64bdd39a752e1911e841d634a6fa8d4ef229a03f0555f9e055caec1ae4930c2"), TxIndex: 1, BlockHash: common.HexToHash("0xf31c6d2dadd23f408e5158dce47ba20fef8c17bc60af6e1f35a89769bc20d6f0"), Index: 2, Removed: false, }
View Source
var EthVatFrobLogWithNegativeDink = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFrobSignature()), common.HexToHash("0x4554482d41000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000005c8c8e5895b9ccf34acf391c99e13c79ee2efb46"), common.HexToHash("0x000000000000000000000000fc7440e2ed4a3aeb14d40c00f02a14221be0474d"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0760887034554482d410000000000000000000000000000000000000000000000000000000000000000000000000000005c8c8e5895b9ccf34acf391c99e13c79ee2efb46000000000000000000000000fc7440e2ed4a3aeb14d40c00f02a14221be0474d0000000000000000000000005c8c8e5895b9ccf34acf391c99e13c79ee2efb46ffffffffffffffffffffffffffffffffffffffffffffffffffe3940ad9cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10713692, TxHash: common.HexToHash("0x45bbf5d06e13d9b149f906226b4e64c98ef2132130633fa27a9e8f51fbedf4e2"), TxIndex: 0, BlockHash: common.HexToHash("0x999bed34f207adb3e9860588bd6baa9f54414e55e43a933d88396271be45633d"), Index: 7, Removed: false, }
View Source
var EthVatFrobLogWithPositiveDart = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatFrobSignature()), common.HexToHash("0x4554480000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x000000000000000000000000eeec867b3f51ab5b619d582481bf53eea930b074"), common.HexToHash("0x000000000000000000000000fc7440e2ed4a3aeb14d40c00f02a14221be0474d"), }, Data: hexutil.MustDecode(frobData), BlockNumber: 10512592, TxHash: common.HexToHash("0x10277b770bcd569cd3c943db2228153435ee1320eaab1f3a64fb8d5732d44c2e"), TxIndex: 123, BlockHash: fakes.FakeHash, Index: 7, Removed: false, }
View Source
var EthVatGrabLogWithNegativeDink = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatGrabSignature()), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), common.HexToHash("0x0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e07bab3f4066616b6520696c6b00000000000000000000000000000000000000000000000000000000000000000000000007fa9ef6609ca7921112231f8f195138ebba29770000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca0000000000000000000000007526eb4f95e2a1394797cb38a921fb1eba09291bffffffffffffffffffffffffffffffffffffffffffffffc9ca36523a21600000ffffffffffffffffffffffffffffffffffffffffffffff93946ca47442c0000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 95, TxHash: common.HexToHash("0x38c279812f842d7498ffe2f45f0d8c5de76ecd1ee7912636e7431129746b2e15"), TxIndex: 0, BlockHash: common.HexToHash("0x4ea9f55ed4a97f686dd28a0d6d2dea8a0915a902a245e86516df3e4a57d1ca9d"), Index: 0, Removed: false, }
View Source
var EthVatGrabLogWithPositiveDink = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatGrabSignature()), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), common.HexToHash("0x0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e07bab3f4066616b6520696c6b00000000000000000000000000000000000000000000000000000000000000000000000007fa9ef6609ca7921112231f8f195138ebba29770000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca0000000000000000000000007526eb4f95e2a1394797cb38a921fb1eba09291b00000000000000000000000000000000000000000000003635c9adc5dea0000000000000000000000000000000000000000000000000006c6b935b8bbd40000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 94, TxHash: common.HexToHash("0x18aa10dddd3543143d4eff314c8f3620c3b8299e57468d70ff7abd4498eee7db"), TxIndex: 4, BlockHash: common.HexToHash("0x17b1de2797689d940a66911ebb9ae789528c269aea309c55128e38d48ddb37a9"), Index: 5, Removed: false, }
View Source
var EthVatHealLogWithPositiveRad = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash("0x00000000000000000000000000000000000000000000000000000000f37ac61c"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000002711"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0f37ac61c00000000000000000000000000000000000000000000000000000000000027110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 105, TxHash: common.HexToHash("0xe5bebbe1ea46d8b6d1515ce9ac4659f9e6774669c1f2009dcc7289c18b91e393"), TxIndex: 2, BlockHash: common.HexToHash("0x3e011e52723db56476dc8cd45e1325f7bf3f3b2d89651253d6e8b66489f37d7c"), Index: 3, Removed: false, }
View Source
var EthVatInitLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatInitSignature()), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000243b66319566616b6520696c6b000000000000000000000000000000000000000000000000"), BlockNumber: 24, TxHash: common.HexToHash("0xe8f39fbb7fea3621f543868f19b1114e305aff6a063a30d32835ff1012526f91"), TxIndex: 7, BlockHash: fakes.FakeHash, Index: 8, Removed: false, }
View Source
var EthVatMoveLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatMoveSignature()), common.HexToHash("0x000000000000000000000000a730d1ff8b6bc74a26d54c20a9dda539909bab0e"), common.HexToHash("0x000000000000000000000000b730d1ff8b6bc74a26d54c20a9dda539909bab0e"), common.HexToHash("0x000000000000000000000000000000000000000000000000000000000000002a"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006478f19470a730d1ff8b6bc74a26d54c20a9dda539909bab0e000000000000000000000000b730d1ff8b6bc74a26d54c20a9dda539909bab0e000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a"), BlockNumber: 10, TxHash: common.HexToHash("0xe8f39fbb7fea3621f543868f19b1114e305aff6a063a30d32835ff1012526f91"), TxIndex: 7, BlockHash: fakes.FakeHash, Index: 8, Removed: false, }
View Source
var EthVatSlipLogWithNegativeWad = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatSlipSignature()), common.HexToHash("0x4554482d41000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x000000000000000000000000fc7440e2ed4a3aeb14d40c00f02a14221be0474d"), common.HexToHash("0xffffffffffffffffffffffffffffffffffffffffffffffffffee3c86c81f8000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e07cdd3fde4554482d41000000000000000000000000000000000000000000000000000000000000000000000000000000fc7440e2ed4a3aeb14d40c00f02a14221be0474dffffffffffffffffffffffffffffffffffffffffffffffffffee3c86c81f800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10, TxHash: common.HexToHash("0x2cb2c40a8385de94b05e47080216b2b10b7cfd45951aa06297f4e1d184e47118"), TxIndex: 3, BlockHash: fakes.FakeHash, Index: 2, Removed: false, }
View Source
var EthVatSlipLogWithPositiveWad = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatSlipSignature()), common.HexToHash("0x4554482d41000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000005c8c8e5895b9ccf34acf391c99e13c79ee2efb46"), common.HexToHash("0x000000000000000000000000000000000000000000000000002386f26fc10000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e07cdd3fde4554482d410000000000000000000000000000000000000000000000000000000000000000000000000000005c8c8e5895b9ccf34acf391c99e13c79ee2efb46000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10713689, TxHash: common.HexToHash("0xf8a206ce1acb5c39125cab95456041afb4ccfbe496cf8850e982259128f5aafd"), TxIndex: 0, BlockHash: common.HexToHash("0xde1338d81bd1c8e0472fa96e13d5fa58f7a215d499d8f17f15adbef7ef9586b8"), Index: 5, Removed: false, }
View Source
var EthVatSuckLog = types.Log{ Address: common.HexToAddress(VatAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatSuckSignature()), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), common.HexToHash("0x0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca"), common.HexToHash("0x00000000000000000000000000000000000000000000003635c9adc5dea00000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0ee8cd74800000000000000000000000007fa9ef6609ca7921112231f8f195138ebba29770000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca00000000000000000000000000000000000000000000003635c9adc5dea0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 105, TxHash: common.HexToHash("0x2730b707ef875c02ea45fd68f6d193320b85cf062b1860a02d1f1d407c845b65"), TxIndex: 2, BlockHash: common.HexToHash("0x39185e33e15a6bd521240566bc3c5e34853ecd1af3212b000d50e7ca80d5cdbc"), Index: 3, Removed: false, }
View Source
var EthVowFessLog = types.Log{ Address: common.HexToAddress(VowAddress()), Topics: []common.Hash{ common.HexToHash(constants.VowFessSignature()), common.HexToHash("0x0000000000000000000000002f34f22a00ee4b7a8f8bbc4eaee1658774c624e0"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000539"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000002544faa778090e00000"), BlockNumber: 9377319, TxHash: common.HexToHash("0x71f86b6154333d88811d151a9afecd00b39d6a326ef308ac97f66ca61264d7cb"), TxIndex: 4, BlockHash: fakes.FakeHash, Index: 3, Removed: false, }
View Source
var EthVowFileLog = types.Log{ Address: common.HexToAddress(VowAddress()), Topics: []common.Hash{ common.HexToHash(constants.VowFileSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x7761697400000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x00000000000000000000000000000000000000000000152d02c7e14af6800000"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004429ae8114776169740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000152d02c7e14af680000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 10, TxHash: common.Hash{}, TxIndex: 11, BlockHash: common.Hash{}, Index: 12, Removed: false, }
View Source
var EthVowFlogLog = types.Log{ Address: common.HexToAddress(VowAddress()), Topics: []common.Hash{ common.HexToHash(constants.VowFlogSignature()), common.HexToHash("0x0000000000000000000000008e84a1e068d77059cbe263c43ad0cdc130863313"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000539"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002435aee16f0000000000000000000000000000000000000000000000000000000000000539"), BlockNumber: 11, TxHash: common.HexToHash("0x47ffd75c1cda1d5c08219755743663a3790e4f5ae9e1fcb85bb3fe0d74bb7109"), TxIndex: 4, BlockHash: fakes.FakeHash, Index: 3, Removed: false, }
View Source
var EthYankLog = types.Log{ Address: common.HexToAddress(EthFlipAddress()), Topics: []common.Hash{ common.HexToHash(constants.YankSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x000000000000000000000000000000000000000000000000002386f26fc10000"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e026e027f1000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 106, TxHash: common.HexToHash("0xd0735a21325a74f7dd312bf6b0e6e69ab58111f9023ac764810eafac587c19f0"), TxIndex: 3, BlockHash: common.HexToHash("0x24adc827a634697a48bc19611f0008eaa4d19b6d58b262170aecc07c32e5da1f"), Index: 2, Removed: false, }
View Source
var FlapKickEntity = flap_kick.FlapKickEntity{ Id: big.NewInt(40000000000000), Lot: big.NewInt(1000000000000000000), Bid: big.NewInt(2000000000000000000), Gal: common.HexToAddress("0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6"), Raw: EthFlapKickLog, TransactionIndex: EthFlapKickLog.TxIndex, LogIndex: EthFlapKickLog.Index, }
View Source
var FlapKickModel = flap_kick.FlapKickModel{ BidId: FlapKickEntity.Id.String(), Lot: FlapKickEntity.Lot.String(), Bid: FlapKickEntity.Bid.String(), Gal: FlapKickEntity.Gal.String(), ContractAddress: EthFlapKickLog.Address.Hex(), LogIndex: EthFlapKickLog.Index, TransactionIndex: EthFlapKickLog.TxIndex, Raw: rawFlapKickLog, }
View Source
var (
FlipKickBlockNumber = int64(10)
)
View Source
var FlipKickEntity = flip_kick.FlipKickEntity{ Id: flipID, Lot: lot, Bid: bid, Tab: tab, Usr: common.HexToAddress(usr), Gal: common.HexToAddress(gal), ContractAddress: common.HexToAddress(contractAddress), TransactionIndex: EthFlipKickLog.TxIndex, LogIndex: EthFlipKickLog.Index, Raw: EthFlipKickLog, }
View Source
var FlipKickModel = flip_kick.FlipKickModel{ BidId: flipID.String(), Lot: lot.String(), Bid: bid.String(), Tab: tab.String(), Usr: usr, Gal: gal, ContractAddress: contractAddress, TransactionIndex: EthFlipKickLog.TxIndex, LogIndex: EthFlipKickLog.Index, Raw: rawLog, }
View Source
var FlipTickLogNote = types.Log{ Address: common.HexToAddress(EthFlipAddress()), Topics: []common.Hash{ common.HexToHash(constants.FlipTickSignature()), common.HexToHash("0x000000000000000000000000da198bfdd2671d7ad4614c9cf2beb87cdfec1460"), common.HexToHash("0x000000000000000000000000000000000000000000000000000000000000000a"), }, Data: hexutil.MustDecode(flipTickData), BlockNumber: 11, TxHash: common.HexToHash(flipTickTransactionHash), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var FlipTickModel = shared.InsertionModel{ TableName: "flip_tick", OrderedColumns: []string{ "header_id", "bid_id", "contract_address", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "bid_id": strconv.FormatInt(flipTickBidId, 10), "contract_address": FlipTickLogNote.Address.Hex(), "log_idx": FlipTickLogNote.Index, "tx_idx": FlipTickLogNote.TxIndex, "raw_log": rawFlipTickLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var GenericTestConfig = shared_t.EventTransformerConfig{ TransformerName: "generic-test-transformer", ContractAddresses: []string{address}, ContractAbi: RandomString(100), Topic: topic, StartingBlockNumber: startingBlockNumber, EndingBlockNumber: startingBlockNumber + 1, }
View Source
var GenericTestLogs = []types.Log{{ Address: common.HexToAddress(address), Topics: []common.Hash{common.HexToHash(topic)}, BlockNumber: uint64(startingBlockNumber), }}
View Source
var JugDripModel = shared.InsertionModel{ TableName: "jug_drip", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "log_idx": EthJugDripLog.Index, "tx_idx": EthJugDripLog.TxIndex, "raw_log": rawJugDripLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", }, }
View Source
var JugFileBaseModel = shared.InsertionModel{ TableName: "jug_file_base", OrderedColumns: []string{ "header_id", "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "fake what", "data": big.NewInt(123).String(), "log_idx": EthJugFileBaseLog.Index, "tx_idx": EthJugFileBaseLog.TxIndex, "raw_log": rawJugFileBaseLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var JugFileIlkModel = shared.InsertionModel{ TableName: "jug_file_ilk", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "duty", "data": "1000000000937303470807876289", "log_idx": EthJugFileIlkLog.Index, "tx_idx": EthJugFileIlkLog.TxIndex, "raw_log": rawJugFileIlkLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x434f4c322d410000000000000000000000000000000000000000000000000000", }, }
View Source
var JugFileVowModel = shared.InsertionModel{ TableName: "jug_file_vow", OrderedColumns: []string{ "header_id", "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "vow", "data": "0x17560834075DA3Db54f737db74377E799c865821", "log_idx": EthJugFileVowLog.Index, "tx_idx": EthJugFileVowLog.TxIndex, "raw_log": rawJugFileVowLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var JugInitModel = shared.InsertionModel{ TableName: "jug_init", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "log_idx": EthJugInitLog.Index, "tx_idx": EthJugInitLog.TxIndex, "raw_log": rawJugInitLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x434f4c352d410000000000000000000000000000000000000000000000000000", }, }
View Source
var SpotFileMatModel = shared.InsertionModel{ TableName: "spot_file_mat", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "mat", "data": "1500000000000000000000000000", "log_idx": EthSpotFileMatLog.Index, "tx_idx": EthSpotFileMatLog.TxIndex, "raw_log": rawSpotFileMatLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x4554482d41000000000000000000000000000000000000000000000000000000", }, }
View Source
var SpotFilePipModel = shared.InsertionModel{ TableName: "spot_file_pip", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "pip", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "pip": "0x8C73Ec0fBCdEC6b8C060BC224D94740FD41f3774", "log_idx": EthSpotFilePipLog.Index, "tx_idx": EthSpotFilePipLog.TxIndex, "raw_log": rawSpotFilePipLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x4554482d41000000000000000000000000000000000000000000000000000000", }, }
View Source
var SpotPokeEntity = spot_poke.SpotPokeEntity{ Ilk: [32]byte{67, 79, 76, 53, 45, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Val: [32]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 60, 109, 112, 62, 236, 55, 0}, Spot: spot(), TransactionIndex: 1, LogIndex: 2, Raw: EthSpotPokeLog, }
View Source
var SpotPokeModel = spot_poke.SpotPokeModel{
Ilk: "0x434f4c352d410000000000000000000000000000000000000000000000000000",
Value: "89066421500000000.000000",
Spot: "46877063947368421052631578",
TransactionIndex: 1,
LogIndex: 2,
Raw: rawLogJson,
}
View Source
var TendLogNote = types.Log{ Address: tendAddress, Topics: []common.Hash{ common.HexToHash(constants.TendSignature()), common.HexToHash("0x0000000000000000000000003a673843d27d037b206bb05eb1abbc7288d95e66"), common.HexToHash("0x000000000000000000000000000000000000000000000000000000000000000a"), common.HexToHash("0x000000000000000000000000000000000000000000000000000007bb0f7b0800"), }, Data: hexutil.MustDecode(tendData), BlockNumber: 11, TxHash: common.HexToHash(tendTransactionHash), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var TendModel = shared.InsertionModel{ TableName: "tend", OrderedColumns: []string{ "header_id", "bid_id", "lot", "bid", "contract_address", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "bid_id": strconv.FormatInt(tendBidId, 10), "lot": tendLot, "bid": tendBid, "contract_address": tendAddress.Hex(), "log_idx": TendLogNote.Index, "tx_idx": TendLogNote.TxIndex, "raw_log": rawTendLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var VatFileDebtCeilingModel = shared.InsertionModel{ TableName: "vat_file_debt_ceiling", OrderedColumns: []string{ "header_id", "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "Line", "data": "1000000000000000000000000000000000000000000000000000", "log_idx": EthVatFileDebtCeilingLog.Index, "tx_idx": EthVatFileDebtCeilingLog.TxIndex, "raw_log": rawVatFileDebtCeilingLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var VatFileIlkDustModel = shared.InsertionModel{ TableName: "vat_file_ilk", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "dust", "data": "10390649719961925488562719249749", "log_idx": EthVatFileIlkDustLog.Index, "tx_idx": EthVatFileIlkDustLog.TxIndex, "raw_log": rawVatFileIlkDustLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x5245500000000000000000000000000000000000000000000000000000000000", }, }
View Source
var VatFileIlkLineModel = shared.InsertionModel{ TableName: "vat_file_ilk", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "line", "data": "220086151196920075605", "log_idx": EthVatFileIlkLineLog.Index, "tx_idx": EthVatFileIlkLineLog.TxIndex, "raw_log": rawVatFileIlkLineLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x5245500000000000000000000000000000000000000000000000000000000000", }, }
View Source
var VatFileIlkSpotModel = shared.InsertionModel{ TableName: "vat_file_ilk", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "spot", "data": "91323333333333333333333333333", "log_idx": EthVatFileIlkSpotLog.Index, "tx_idx": EthVatFileIlkSpotLog.TxIndex, "raw_log": rawVatFileIlkSpotLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x4554480000000000000000000000000000000000000000000000000000000000", }, }
View Source
var VatFluxModel = shared.InsertionModel{ TableName: "vat_flux", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "src", "dst", "wad", "tx_idx", "log_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "src": "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", "dst": "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", "wad": "1000000000000", "tx_idx": EthVatFluxLog.TxIndex, "log_idx": EthVatFluxLog.Index, "raw_log": rawFluxLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", }, }
View Source
var VatFoldModelWithNegativeRate = shared.InsertionModel{ TableName: "vat_fold", OrderedColumns: []string{ "header_id", string(constants.UrnFK), "rate", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "rate": "-500000000000000000000", "log_idx": EthVatFoldLogWithNegativeRate.Index, "tx_idx": EthVatFoldLogWithNegativeRate.TxIndex, "raw_log": rawVatFoldLogWithNegativeRate, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", constants.UrnFK: "0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6", }, }
View Source
var VatFoldModelWithPositiveRate = shared.InsertionModel{ TableName: "vat_fold", OrderedColumns: []string{ "header_id", string(constants.UrnFK), "rate", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "rate": "2", "log_idx": EthVatFoldLogWithPositiveRate.Index, "tx_idx": EthVatFoldLogWithPositiveRate.TxIndex, "raw_log": rawVatFoldLogWithPositiveRate, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x5245500000000000000000000000000000000000000000000000000000000000", constants.UrnFK: "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1", }, }
View Source
var VatForkModelWithNegativeDinkDart = shared.InsertionModel{ TableName: "vat_fork", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "src", "dst", "dink", "dart", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "src": "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", "dst": "0x7526EB4f95e2a1394797Cb38a921Fb1EbA09291B", "dink": "-1000000000000000000000", "dart": "-2000000000000000000000", "log_idx": EthVatForkLogWithNegativeDinkDart.Index, "tx_idx": EthVatForkLogWithNegativeDinkDart.TxIndex, "raw_log": rawVatForkLogWithNegativeDinkDart, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", }, }
View Source
var VatForkModelWithPositiveDinkDart = shared.InsertionModel{ TableName: "vat_fork", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "src", "dst", "dink", "dart", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "src": "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", "dst": "0x7526EB4f95e2a1394797Cb38a921Fb1EbA09291B", "dink": "100000000000000", "dart": "2000000000000000", "log_idx": EthVatForkLogWithPositiveDinkDart.Index, "tx_idx": EthVatForkLogWithPositiveDinkDart.TxIndex, "raw_log": rawVatForkLogWithPositiveDinkDart, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", }, }
View Source
var VatFrobModelWithNegativeDink = shared.InsertionModel{ TableName: "vat_frob", OrderedColumns: []string{ "header_id", string(constants.UrnFK), "v", "w", "dink", "dart", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "v": "0xFc7440E2Ed4A3AEb14d40c00f02a14221Be0474d", "w": "0x5c8c8e5895B9cCf34ACF391C99E13C79EE2eFb46", "dink": "-8000000000000000", "dart": "0", "log_idx": EthVatFrobLogWithNegativeDink.Index, "tx_idx": EthVatFrobLogWithNegativeDink.TxIndex, "raw_log": rawVatFrobLogWithNegativeDink, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x4554482d41000000000000000000000000000000000000000000000000000000", constants.UrnFK: "0x5c8c8e5895B9cCf34ACF391C99E13C79EE2eFb46", }, }
View Source
var VatFrobModelWithPositiveDart = shared.InsertionModel{ TableName: "vat_frob", OrderedColumns: []string{ "header_id", string(constants.UrnFK), "v", "w", "dink", "dart", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "v": "0xFc7440E2Ed4A3AEb14d40c00f02a14221Be0474d", "w": "0xEEec867B3F51ab5b619d582481BF53eea930b074", "dink": "0", "dart": "100000000000000000", "log_idx": EthVatFrobLogWithPositiveDart.Index, "tx_idx": EthVatFrobLogWithPositiveDart.TxIndex, "raw_log": rawVatFrobLogWithPositiveDart, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x4554480000000000000000000000000000000000000000000000000000000000", constants.UrnFK: "0xEEec867B3F51ab5b619d582481BF53eea930b074", }, }
View Source
var VatGrabModelWithNegativeDink = shared.InsertionModel{ TableName: "vat_grab", OrderedColumns: []string{ "header_id", string(constants.UrnFK), "v", "w", "dink", "dart", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "v": "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", "w": "0x7526EB4f95e2a1394797Cb38a921Fb1EbA09291B", "dink": "-1000000000000000000000", "dart": "-2000000000000000000000", "log_idx": EthVatGrabLogWithNegativeDink.Index, "tx_idx": EthVatGrabLogWithNegativeDink.TxIndex, "raw_log": rawVatGrabLogWithNegativeDink, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", constants.UrnFK: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", }, }
View Source
var VatGrabModelWithPositiveDink = shared.InsertionModel{ TableName: "vat_grab", OrderedColumns: []string{ "header_id", string(constants.UrnFK), "v", "w", "dink", "dart", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "v": "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", "w": "0x7526EB4f95e2a1394797Cb38a921Fb1EbA09291B", "dink": "1000000000000000000000", "dart": "2000000000000000000000", "log_idx": EthVatGrabLogWithPositiveDink.Index, "tx_idx": EthVatGrabLogWithPositiveDink.TxIndex, "raw_log": rawVatGrabLogWithPositiveDink, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", constants.UrnFK: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", }, }
View Source
var VatHealModelWithPositiveRad = shared.InsertionModel{ TableName: "vat_heal", OrderedColumns: []string{ "header_id", "rad", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "rad": "10001", "log_idx": EthVatHealLogWithPositiveRad.Index, "tx_idx": EthVatHealLogWithPositiveRad.TxIndex, "raw_log": rawVatHealLogWithPositiveRad, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var VatInitModel = shared.InsertionModel{ TableName: "vat_init", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "log_idx": EthVatInitLog.Index, "tx_idx": EthVatInitLog.TxIndex, "raw_log": rawVatInitLog, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x66616b6520696c6b000000000000000000000000000000000000000000000000", }, }
View Source
var VatMoveModel = shared.InsertionModel{ TableName: "vat_move", OrderedColumns: []string{ "header_id", "src", "dst", "rad", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "src": "0xA730d1FF8B6Bc74a26d54c20a9dda539909BaB0e", "dst": "0xB730D1fF8b6BC74a26D54c20a9ddA539909BAb0e", "rad": "42", "log_idx": EthVatMoveLog.Index, "tx_idx": EthVatMoveLog.TxIndex, "raw_log": rawVatMoveLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var VatSlipModelWithNegativeWad = shared.InsertionModel{ TableName: "vat_slip", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "usr", "wad", "tx_idx", "log_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "usr": "0xFc7440E2Ed4A3AEb14d40c00f02a14221Be0474d", "wad": "-5000000000000000", "tx_idx": EthVatSlipLogWithNegativeWad.TxIndex, "log_idx": EthVatSlipLogWithNegativeWad.Index, "raw_log": rawVatSlipLogWithNegativeWad, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x4554482d41000000000000000000000000000000000000000000000000000000", }, }
View Source
var VatSlipModelWithPositiveWad = shared.InsertionModel{ TableName: "vat_slip", OrderedColumns: []string{ "header_id", string(constants.IlkFK), "usr", "wad", "tx_idx", "log_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "usr": "0x5c8c8e5895B9cCf34ACF391C99E13C79EE2eFb46", "wad": "10000000000000000", "tx_idx": EthVatSlipLogWithPositiveWad.TxIndex, "log_idx": EthVatSlipLogWithPositiveWad.Index, "raw_log": rawVatSlipLogWithPositiveWad, }, ForeignKeyValues: shared.ForeignKeyValues{ constants.IlkFK: "0x4554482d41000000000000000000000000000000000000000000000000000000", }, }
View Source
var VatSuckModel = shared.InsertionModel{ TableName: "vat_suck", OrderedColumns: []string{ "header_id", "u", "v", "rad", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "u": "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", "v": "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", "rad": "1000000000000000000000", "log_idx": EthVatSuckLog.Index, "tx_idx": EthVatSuckLog.TxIndex, "raw_log": rawVatSuckLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var VowFessModel = shared.InsertionModel{ TableName: "vow_fess", OrderedColumns: []string{ "header_id", "tab", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "tab": "1337", "log_idx": EthVowFessLog.Index, "tx_idx": EthVowFessLog.TxIndex, "raw_log": rawVowFessLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var VowFileModel = shared.InsertionModel{ TableName: "vow_file", OrderedColumns: []string{ "header_id", "what", "data", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "what": "wait", "data": "100000000000000000000000", "log_idx": EthVowFileLog.Index, "tx_idx": EthVowFileLog.TxIndex, "raw_log": rawVowFileLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var VowFlogModel = shared.InsertionModel{ TableName: "vow_flog", OrderedColumns: []string{ "header_id", "era", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "era": "1337", "log_idx": EthVowFlogLog.Index, "tx_idx": EthVowFlogLog.TxIndex, "raw_log": rawVowFlogLog, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
View Source
var YankModel = shared.InsertionModel{ TableName: "yank", OrderedColumns: []string{ "header_id", "bid_id", "contract_address", "log_idx", "tx_idx", "raw_log", }, ColumnValues: shared.ColumnValues{ "bid_id": "10000000000000000", "contract_address": EthYankLog.Address.Hex(), "log_idx": EthYankLog.Index, "tx_idx": EthYankLog.TxIndex, "raw_log": rawYank, }, ForeignKeyValues: shared.ForeignKeyValues{}, }
Functions ¶
func AlreadySeededRandomString ¶ added in v0.2.5
func CatAddress ¶ added in v0.2.10
func CatAddress() string
func CopyModel ¶ added in v0.2.8
func CopyModel(model shared.InsertionModel) shared.InsertionModel
Returns a deep copy of the given model, so tests aren't getting the same map/slice references
func EthFlipAddress ¶ added in v0.2.10
func EthFlipAddress() string
func FlapAddress ¶ added in v0.2.10
func FlapAddress() string
func FlipAddresses ¶ added in v0.2.10
func FlipAddresses() []string
func FlopAddress ¶ added in v0.2.10
func FlopAddress() string
func JugAddress ¶ added in v0.2.10
func JugAddress() string
func RandomString ¶ added in v0.2.2
func SetTestConfig ¶ added in v0.2.4
func SetTestConfig() bool
func SpotAddress ¶ added in v0.2.10
func SpotAddress() string
func VatAddress ¶ added in v0.2.10
func VatAddress() string
func VowAddress ¶ added in v0.2.10
func VowAddress() string
Types ¶
type FlipKickDBRow ¶
type FlipKickDBRow struct { ID int64 HeaderId int64 `db:"header_id"` flip_kick.FlipKickModel }
type FlopKickDBResult ¶
type GenericEntity ¶
type GenericEntity struct{}
type GenericModel ¶
type GenericModel struct{}
type WrongEntity ¶
type WrongEntity struct{}
type WrongModel ¶
type WrongModel struct{}
Source Files ¶
- 0.go
- bite.go
- cat_file.go
- config.go
- config_values.go
- deal.go
- dent.go
- flap_kick.go
- flip_kick.go
- flip_tick.go
- flop_kick.go
- generic.go
- jug_drip.go
- jug_file.go
- jug_init.go
- spot_file.go
- spot_poke.go
- tend.go
- test_helpers.go
- vat_file.go
- vat_flux.go
- vat_fold.go
- vat_fork.go
- vat_frob.go
- vat_grab.go
- vat_heal.go
- vat_init.go
- vat_move.go
- vat_slip.go
- vat_suck.go
- vow_fess.go
- vow_file.go
- vow_flog.go
- wrong_types.go
- yank.go
Click to show internal directories.
Click to hide internal directories.