Documentation ¶
Index ¶
- Constants
- Variables
- func GetFakePipLogValue(blockNum int64, txIdx int, value string) pip_log_value.PipLogValueModel
- func RandomString(length int) string
- func SetTestConfig() bool
- type FlipKickDBRow
- type FlopKickDBResult
- type GenericEntity
- type GenericModel
- type VatForkModel
- type WrongEntity
- type WrongModel
Constants ¶
View Source
const ( TemporaryBiteBlockNumber = int64(26) TemporaryBiteData = "" /* 322-byte string literal not displayed */ TemporaryBiteTransaction = "0x5c698f13940a2153440c6d19660878bc90219d9298fdcf37365aa8d88d40fc42" )
Variables ¶
View Source
var ( DentData = "" /* 394-byte string literal not displayed */ DentTransactionHash = "0x5a210319fcd31eea5959fedb4a1b20881c21a21976e23ff19dff3b44cc1c71e8" )
View Source
var ( FlopKickLog = types.Log{ Address: common.HexToAddress(constants.FlopperContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.FlopKickSignature()), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000005"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000020000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6000000000000000000000000000000000000000000000000000000000002a300"), BlockNumber: 19, TxHash: common.HexToHash("0xd8fd67b37a6aa64a3cef4937204765183b180d8dc92eecd0d233f445526d31b5"), TxIndex: flopTxIndex, BlockHash: fakes.FakeHash, Index: 32, Removed: false, } FlopKickEntity = flop_kick.Entity{ Id: big.NewInt(flopBidId), Lot: big.NewInt(flopLot), Bid: big.NewInt(flopBid), Gal: common.HexToAddress(flopGal), End: big.NewInt(flopEnd), TransactionIndex: flopTxIndex, LogIndex: FlopKickLog.Index, Raw: FlopKickLog, } FlopKickModel = flop_kick.Model{ BidId: strconv.FormatInt(flopBidId, 10), Lot: strconv.FormatInt(flopLot, 10), Bid: strconv.FormatInt(flopBid, 10), Gal: flopGal, End: time.Unix(flopEnd, 0), TransactionIndex: flopTxIndex, LogIndex: FlopKickLog.Index, Raw: rawFlopLogJson, } )
View Source
var BiteEntity = bite.BiteEntity{ Ilk: biteIlk, Urn: biteUrn, Ink: biteInk, Art: biteArt, Tab: biteTab, Flip: biteFlip, LogIndex: EthBiteLog.Index, TransactionIndex: EthBiteLog.TxIndex, Raw: EthBiteLog, }
View Source
var BiteModel = bite.BiteModel{ Ilk: "4554480000000000000000000000000000000000000000000000000000000000", Urn: "0000d8b4147eda80fec7122ae16da2479cbd7ffb", Ink: biteInk.String(), Art: biteArt.String(), Tab: biteTab.String(), Flip: biteFlip.String(), LogIndex: EthBiteLog.Index, TransactionIndex: EthBiteLog.TxIndex, Raw: biteRawJson, }
View Source
var CatFileChopModel = chop_lump.CatFileChopLumpModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", What: "chop", Data: "1000000000000000000000000000", TransactionIndex: EthCatFileChopLog.TxIndex, LogIndex: EthCatFileChopLog.Index, Raw: rawCatFileChopLog, }
View Source
var CatFileFlipModel = flip.CatFileFlipModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", What: "flip", Flip: "0x4EC982bC57c463D4A1825d975E2A525C4daadD91", TransactionIndex: EthCatFileFlipLog.TxIndex, LogIndex: EthCatFileFlipLog.Index, Raw: rawCatFileFlipLog, }
View Source
var CatFileLumpModel = chop_lump.CatFileChopLumpModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", What: "lump", Data: "10000000000000000000000", TransactionIndex: EthCatFileLumpLog.TxIndex, LogIndex: EthCatFileLumpLog.Index, Raw: rawCatFileLumpLog, }
View Source
var CatFileVowModel = vow.CatFileVowModel{ What: "vow", Data: "0x17560834075DA3Db54f737db74377E799c865821", TransactionIndex: EthCatFileVowLog.TxIndex, LogIndex: EthCatFileVowLog.Index, Raw: rawCatFileVowLog, }
View Source
var DealLogNote = types.Log{ Address: common.HexToAddress(constants.FlipperContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.DealSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x000000000000000000000000000000000000000000000000000000000000007b"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000024c959c42b000000000000000000000000000000000000000000000000000000000000007b"), BlockNumber: 16, TxHash: common.HexToHash("0xc6ff19de9299e5b290ba2d52fdb4662360ca86376613d78ee546244866a0be2d"), TxIndex: 74, BlockHash: fakes.FakeHash, Index: 75, Removed: false, }
View Source
var DealModel = deal.DealModel{ BidId: "123", ContractAddress: constants.FlipperContractAddress(), LogIndex: DealLogNote.Index, TransactionIndex: DealLogNote.TxIndex, Raw: dealRawJson, }
View Source
var DentLog = types.Log{ Address: common.HexToAddress(constants.FlipperContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.DentSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000001"), common.HexToHash("0x00000000000000000000000000000000000000000000000098a7d9b8314c0000"), }, Data: hexutil.MustDecode(DentData), BlockNumber: 15, TxHash: common.HexToHash(DentTransactionHash), TxIndex: 5, BlockHash: fakes.FakeHash, Index: 2, Removed: false, }
View Source
var DentModel = dent.DentModel{ BidId: strconv.FormatInt(dentBidId, 10), Lot: dentLot, Bid: dentBid, Guy: dentGuy, LogIndex: DentLog.Index, TransactionIndex: DentLog.TxIndex, Raw: dentRawJson, }
View Source
var EthBiteLog = types.Log{ Address: common.HexToAddress(constants.CatContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.BiteSignature()), common.HexToHash("0x4554480000000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x0000000000000000000000000000d8b4147eda80fec7122ae16da2479cbd7ffb"), }, Data: hexutil.MustDecode(TemporaryBiteData), 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(constants.CatContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.CatFileChopLumpSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x63686f7000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e524550000000000000000000000000000000000000000000000000000000000063686f70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 110, TxHash: common.HexToHash("0xe32dfe6afd7ea28475569756fc30f0eea6ad4cfd32f67436ff1d1c805e4382df"), TxIndex: 13, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var EthCatFileFlipLog = types.Log{ Address: common.HexToAddress(constants.CatContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.CatFileFlipSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x666c697000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064ebecb39d5245500000000000000000000000000000000000000000000000000000000000666c6970000000000000000000000000000000000000000000000000000000000000000000000000000000004ec982bc57c463d4a1825d975e2a525c4daadd9100000000000000000000000000000000000000000000000000000000"), BlockNumber: 88, TxHash: common.HexToHash("0xc71ef3e9999595913d31e89446cab35319bd4289520e55611a1b42fc2a8463b6"), TxIndex: 12, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var EthCatFileLumpLog = types.Log{ Address: common.HexToAddress(constants.CatContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.CatFileChopLumpSignature()), common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"), common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"), common.HexToHash("0x6c756d7000000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e52455000000000000000000000000000000000000000000000000000000000006c756d700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e19e0c9bab240000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 110, TxHash: common.HexToHash("0xe32dfe6afd7ea28475569756fc30f0eea6ad4cfd32f67436ff1d1c805e4382df"), TxIndex: 15, BlockHash: fakes.FakeHash, Index: 3, Removed: false, }
View Source
var EthCatFileVowLog = types.Log{ Address: common.HexToAddress(constants.CatContractAddress()), 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 EthFlapKickLog = types.Log{ Address: common.HexToAddress(constants.FlapperContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.FlapKickSignature()), common.HexToHash("0x00000000000000000000000000000000000000000000000000000000069f6bc7"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000003ade68b100000000000000000000000000000000000000000000000000000000075bcd150000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6000000000000000000000000000000000000000000000000000000005be469c5"), BlockNumber: 65, TxHash: common.HexToHash("0xee7930b76b6e93974bd3f37824644ae42a89a3887a1131a7bcb3267ab4dc0169"), TxIndex: 66, BlockHash: fakes.FakeHash, Index: 67, Removed: false, }
View Source
var EthFlipKickLog = types.Log{ Address: common.HexToAddress(constants.FlipperContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.FlipKickSignature()), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000001"), common.HexToHash("0x7340e006f4135ba6970d43bf43d88dcad4e7a8ca000000000000000000000000"), }, 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(constants.JugContractAddress()), 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(constants.JugContractAddress()), 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(constants.JugContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.JugFileIlkSignature()), common.HexToHash("0x000000000000000000000000793c60586f0be45d9e5c13dfa982dd6d3b5bc9a4"), common.HexToHash("0x4554482d41000000000000000000000000000000000000000000000000000000"), common.HexToHash("0x6475747900000000000000000000000000000000000000000000000000000000"), }, Data: hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e4554482d4100000000000000000000000000000000000000000000000000000064757479000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033b2e3caaae446a355df2a700000000000000000000000000000000000000000000000000000000"), BlockNumber: 10590493, TxHash: common.HexToHash("0x3eb60a65e5da5b25f988ecc4e6b4b07e68890af8b20926256993c16f12fc5a54"), TxIndex: 2, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var EthJugFileVowLog = types.Log{ Address: common.HexToAddress(constants.JugContractAddress()), 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 EthPipLogValueLog = types.Log{ Address: common.HexToAddress(constants.PipEthContractAddress()), Topics: []common.Hash{common.HexToHash(constants.PipLogValueSignature())}, Data: common.FromHex("0000000000000000000000000000000000000000000000076eec1981d1900000"), BlockNumber: blockNumber, TxHash: common.HexToHash("0xbf700fefd1817c91c6a3e2dfa9f2f84f1c4d6a42c13f91ac6aa64bfc63f2e568"), TxIndex: txIndex, BlockHash: fakes.FakeHash, Index: 8, Removed: false, }
https://kovan.etherscan.io/tx/0xbf700fefd1817c91c6a3e2dfa9f2f84f1c4d6a42c13f91ac6aa64bfc63f2e568
View Source
var EthVatFileDebtCeilingLog = types.Log{ Address: common.HexToAddress(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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 EthVatForkLogWithNegativeDart = types.Log{ Address: common.HexToAddress(constants.VatContractAddress()), 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 EthVatFrobLogWithNegativeDink = types.Log{ Address: common.HexToAddress(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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 EthVatHealLogWithNegativeRad = types.Log{ Address: common.HexToAddress(constants.VatContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatHealSignature()), common.HexToHash("0x00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"), common.HexToHash("0x0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca"), common.HexToHash("0xffffffffffffffffffffffffffffffffffffffffffffffc9ca36523a21600000"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e0ee8cd74800000000000000000000000007fa9ef6609ca7921112231f8f195138ebba29770000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8caffffffffffffffffffffffffffffffffffffffffffffffc9ca36523a2160000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"), BlockNumber: 106, TxHash: common.HexToHash("0xf9956cfa5f5290b087a99d9e667cd0b61ea80020901cd570293f6fac745b6eac"), TxIndex: 2, BlockHash: common.HexToHash("0xeca99c865e695c1a8e2fae5df0b359da145f72eae8b4873d2da3e190213d0cf2"), Index: 3, Removed: false, }
View Source
var EthVatHealLogWithPositiveRad = types.Log{ Address: common.HexToAddress(constants.VatContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.VatHealSignature()), 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 EthVatInitLog = types.Log{ Address: common.HexToAddress(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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(constants.VatContractAddress()), 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 EthVowFessLog = types.Log{ Address: common.HexToAddress(constants.VowContractAddress()), 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(constants.VowContractAddress()), 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(constants.VowContractAddress()), 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 FlapKickEntity = flap_kick.FlapKickEntity{ Id: big.NewInt(111111111), Lot: big.NewInt(987654321), Bid: big.NewInt(123456789), Gal: common.HexToAddress("0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6"), End: big.NewInt(1541695941), 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(), End: time.Unix(1541695941, 0), Raw: rawFlapKickLog, TransactionIndex: EthFlapKickLog.TxIndex, LogIndex: EthFlapKickLog.Index, }
View Source
var (
FlipKickBlockNumber = int64(10)
)
View Source
var FlipKickEntity = flip_kick.FlipKickEntity{ Id: id, Lot: lot, Bid: bid, Gal: common.HexToAddress(gal), End: big.NewInt(end), Urn: urnBytes, Tab: tab, TransactionIndex: EthFlipKickLog.TxIndex, LogIndex: EthFlipKickLog.Index, Raw: EthFlipKickLog, }
View Source
var FlipKickModel = flip_kick.FlipKickModel{ BidId: idString, Lot: lotString, Bid: bidString, Gal: gal, End: time.Unix(end, 0), Urn: urnString, Tab: tabString, TransactionIndex: EthFlipKickLog.TxIndex, LogIndex: EthFlipKickLog.Index, Raw: rawLog, }
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 = jug_drip.JugDripModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", LogIndex: EthJugDripLog.Index, TransactionIndex: EthJugDripLog.TxIndex, Raw: rawJugDripLog, }
View Source
var JugFileBaseModel = base.JugFileBaseModel{ What: "fake what", Data: big.NewInt(123).String(), LogIndex: EthJugFileBaseLog.Index, TransactionIndex: EthJugFileBaseLog.TxIndex, Raw: rawJugFileBaseLog, }
View Source
var JugFileIlkModel = ilk2.JugFileIlkModel{ Ilk: "4554482d41000000000000000000000000000000000000000000000000000000", What: "duty", Data: "1000000000782997609082909351", LogIndex: EthJugFileIlkLog.Index, TransactionIndex: EthJugFileIlkLog.TxIndex, Raw: rawJugFileIlkLog, }
View Source
var JugFileVowModel = vow.JugFileVowModel{ What: "vow", Data: "0x17560834075DA3Db54f737db74377E799c865821", LogIndex: EthJugFileVowLog.Index, TransactionIndex: EthJugFileVowLog.TxIndex, Raw: rawJugFileVowLog, }
View Source
var PipLogValueModel = pip_log_value.PipLogValueModel{ BlockNumber: blockNumber, ContractAddress: EthPipLogValueLog.Address.String(), Value: "137120000000000000000", LogIndex: EthPipLogValueLog.Index, TransactionIndex: EthPipLogValueLog.TxIndex, Raw: rawPipLogValueLog, }
View Source
var TendLogNote = types.Log{ Address: common.HexToAddress(constants.FlipperContractAddress()), Topics: []common.Hash{ common.HexToHash(constants.TendSignature()), common.HexToHash("0x0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6"), common.HexToHash("0x000000000000000000000000000000000000000000000000000000000000000a"), common.HexToHash("0x0000000000000000000000000000000000000000000000049b9ca9a694340000"), }, Data: hexutil.MustDecode(tendData), BlockNumber: 11, TxHash: common.HexToHash(tendTransactionHash), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 1, Removed: false, }
View Source
var TendModel = tend.TendModel{ BidId: strconv.FormatInt(tendBidId, 10), Lot: tendLot, Bid: tendBid, Guy: tendGuy, LogIndex: TendLogNote.Index, TransactionIndex: TendLogNote.TxIndex, Raw: rawTendLog, }
View Source
var VatFileDebtCeilingModel = debt_ceiling.VatFileDebtCeilingModel{ What: "Line", Data: "1000000000000000000000000000000000000000000000000000", LogIndex: EthVatFileDebtCeilingLog.Index, TransactionIndex: EthVatFileDebtCeilingLog.TxIndex, Raw: rawVatFileDebtCeilingLog, }
View Source
var VatFileIlkDustModel = ilk2.VatFileIlkModel{ Ilk: "5245500000000000000000000000000000000000000000000000000000000000", What: "dust", Data: "10390649719961925488562719249749", LogIndex: EthVatFileIlkDustLog.Index, TransactionIndex: EthVatFileIlkDustLog.TxIndex, Raw: rawVatFileIlkDustLog, }
View Source
var VatFileIlkLineModel = ilk2.VatFileIlkModel{ Ilk: "5245500000000000000000000000000000000000000000000000000000000000", What: "line", Data: "220086151196920075605", LogIndex: EthVatFileIlkLineLog.Index, TransactionIndex: EthVatFileIlkLineLog.TxIndex, Raw: rawVatFileIlkLineLog, }
View Source
var VatFileIlkSpotModel = ilk2.VatFileIlkModel{ Ilk: "4554480000000000000000000000000000000000000000000000000000000000", What: "spot", Data: "91323333333333333333333333333", LogIndex: EthVatFileIlkSpotLog.Index, TransactionIndex: EthVatFileIlkSpotLog.TxIndex, Raw: rawVatFileIlkSpotLog, }
View Source
var VatFluxModel = vat_flux.VatFluxModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", Src: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", Dst: "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", Wad: "1000000000000", TransactionIndex: EthVatFluxLog.TxIndex, LogIndex: EthVatFluxLog.Index, Raw: rawFluxLog, }
View Source
var VatFoldModelWithNegativeRate = vat_fold.VatFoldModel{
Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000",
Urn: "0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6",
Rate: "-500000000000000000000",
LogIndex: 0,
TransactionIndex: 0,
Raw: rawVatFoldLogWithNegativeRate,
}
View Source
var VatFoldModelWithPositiveRate = vat_fold.VatFoldModel{ Ilk: "5245500000000000000000000000000000000000000000000000000000000000", Urn: "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1", Rate: "2", LogIndex: EthVatFoldLogWithPositiveRate.Index, TransactionIndex: EthVatFoldLogWithPositiveRate.TxIndex, Raw: rawVatFoldLogWithPositiveRate, }
View Source
var VatForkModelWithNegativeDart = VatForkModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", Src: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", Dst: "0x7526EB4f95e2a1394797Cb38a921Fb1EbA09291B", Dink: "-1000000000000000000000", Dart: "-2000000000000000000000", LogIndex: EthVatForkLogWithNegativeDart.Index, TransactionIndex: EthVatForkLogWithNegativeDart.TxIndex, Raw: rawVatForkLogWithNegativeDart, }
View Source
var VatFrobModelWithNegativeDink = vat_frob.VatFrobModel{
Ilk: "4554482d41000000000000000000000000000000000000000000000000000000",
Urn: "0x5c8c8e5895B9cCf34ACF391C99E13C79EE2eFb46",
V: "0xFc7440E2Ed4A3AEb14d40c00f02a14221Be0474d",
W: "0x5c8c8e5895B9cCf34ACF391C99E13C79EE2eFb46",
Dink: "-8000000000000000",
Dart: "0",
LogIndex: 7,
TransactionIndex: 0,
Raw: rawVatFrobLogWithNegativeDink,
}
View Source
var VatFrobModelWithPositiveDart = vat_frob.VatFrobModel{ Ilk: "4554480000000000000000000000000000000000000000000000000000000000", Urn: "0xEEec867B3F51ab5b619d582481BF53eea930b074", V: "0xFc7440E2Ed4A3AEb14d40c00f02a14221Be0474d", W: "0xEEec867B3F51ab5b619d582481BF53eea930b074", Dink: "0", Dart: "100000000000000000", LogIndex: EthVatFrobLogWithPositiveDart.Index, TransactionIndex: EthVatFrobLogWithPositiveDart.TxIndex, Raw: rawVatFrobLogWithPositiveDart, }
View Source
var VatGrabModelWithNegativeDink = vat_grab.VatGrabModel{
Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000",
Urn: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977",
V: "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA",
W: "0x7526EB4f95e2a1394797Cb38a921Fb1EbA09291B",
Dink: "-1000000000000000000000",
Dart: "-2000000000000000000000",
LogIndex: 0,
TransactionIndex: 0,
Raw: rawVatGrabLogWithNegativeDink,
}
View Source
var VatGrabModelWithPositiveDink = vat_grab.VatGrabModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", Urn: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", V: "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", W: "0x7526EB4f95e2a1394797Cb38a921Fb1EbA09291B", Dink: "1000000000000000000000", Dart: "2000000000000000000000", LogIndex: EthVatGrabLogWithPositiveDink.Index, TransactionIndex: EthVatGrabLogWithPositiveDink.TxIndex, Raw: rawVatGrabLogWithPositiveDink, }
View Source
var VatHealModelWithNegativeRad = vat_heal.VatHealModel{ Urn: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", V: "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", Rad: "-1000000000000000000000", LogIndex: EthVatHealLogWithNegativeRad.Index, TransactionIndex: EthVatHealLogWithNegativeRad.TxIndex, Raw: rawVatHealLogWithNegativeRad, }
View Source
var VatHealModelWithPositiveRad = vat_heal.VatHealModel{ Urn: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", V: "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", Rad: "1000000000000000000000", LogIndex: EthVatHealLogWithPositiveRad.Index, TransactionIndex: EthVatHealLogWithPositiveRad.TxIndex, Raw: rawVatHealLogWithPositiveRad, }
View Source
var VatInitModel = vat_init.VatInitModel{ Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000", LogIndex: EthVatInitLog.Index, TransactionIndex: EthVatInitLog.TxIndex, Raw: rawVatInitLog, }
View Source
var VatMoveModel = vat_move.VatMoveModel{ Src: "0xA730d1FF8B6Bc74a26d54c20a9dda539909BaB0e", Dst: "0xB730D1fF8b6BC74a26D54c20a9ddA539909BAb0e", Rad: "42", LogIndex: EthVatMoveLog.Index, TransactionIndex: EthVatMoveLog.TxIndex, Raw: rawVatMoveLog, }
View Source
var VatSlipModelWithNegativeWad = vat_slip.VatSlipModel{ Ilk: "4554482d41000000000000000000000000000000000000000000000000000000", Usr: "0xFc7440E2Ed4A3AEb14d40c00f02a14221Be0474d", Wad: "-5000000000000000", TransactionIndex: EthVatSlipLogWithNegativeWad.TxIndex, LogIndex: EthVatSlipLogWithNegativeWad.Index, Raw: rawVatSlipLogWithNegativeWad, }
View Source
var VatSlipModelWithPositiveWad = vat_slip.VatSlipModel{
Ilk: "4554482d41000000000000000000000000000000000000000000000000000000",
Usr: "0x5c8c8e5895B9cCf34ACF391C99E13C79EE2eFb46",
Wad: "10000000000000000",
TransactionIndex: 0,
LogIndex: 5,
Raw: rawVatSlipLogWithPositiveWad,
}
View Source
var VowFessModel = vow_fess.VowFessModel{ Tab: "1337", LogIndex: EthVowFessLog.Index, TransactionIndex: EthVowFessLog.TxIndex, Raw: rawVowFessLog, }
View Source
var VowFileModel = vow_file.VowFileModel{ What: "wait", Data: "100000000000000000000000", LogIndex: EthVowFileLog.Index, TransactionIndex: EthVowFileLog.TxIndex, Raw: rawVowFileLog, }
View Source
var VowFlogModel = vow_flog.VowFlogModel{ Era: "1337", LogIndex: EthVowFlogLog.Index, TransactionIndex: EthVowFlogLog.TxIndex, Raw: rawVowFlogLog, }
Functions ¶
func GetFakePipLogValue ¶ added in v0.2.4
func GetFakePipLogValue(blockNum int64, txIdx int, value string) pip_log_value.PipLogValueModel
func RandomString ¶ added in v0.2.2
func SetTestConfig ¶ added in v0.2.4
func SetTestConfig() bool
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 VatForkModel ¶ added in v0.2.3
type WrongEntity ¶
type WrongEntity struct{}
type WrongModel ¶
type WrongModel struct{}
Source Files ¶
- 0.go
- bite.go
- cat_file.go
- config.go
- deal.go
- dent.go
- flap_kick.go
- flip_kick.go
- flop_kick.go
- generic.go
- jug_drip.go
- jug_file.go
- pip_log_value.go
- tend.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
- vow_fess.go
- vow_file.go
- vow_flog.go
- wrong_types.go
Click to show internal directories.
Click to hide internal directories.