test_data

package
v0.2.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2019 License: AGPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//	old KovanCatABI        = `[{"constant":true,"inputs":[],"name":"vat","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x36569e77"},{"constant":true,"inputs":[],"name":"vow","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x626cb3c5"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"flips","outputs":[{"name":"ilk","type":"bytes32"},{"name":"urn","type":"bytes32"},{"name":"ink","type":"uint256"},{"name":"tab","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x70d9235a"},{"constant":true,"inputs":[],"name":"nflip","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x76181a51"},{"constant":true,"inputs":[],"name":"live","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x957aa58c"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"wards","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xbf353dbb"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"ilks","outputs":[{"name":"flip","type":"address"},{"name":"chop","type":"uint256"},{"name":"lump","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xd9638d36"},{"constant":true,"inputs":[],"name":"pit","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xf03c7c6e"},{"inputs":[{"name":"vat_","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor","signature":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"ilk","type":"bytes32"},{"indexed":true,"name":"urn","type":"bytes32"},{"indexed":false,"name":"ink","type":"uint256"},{"indexed":false,"name":"art","type":"uint256"},{"indexed":false,"name":"tab","type":"uint256"},{"indexed":false,"name":"flip","type":"uint256"},{"indexed":false,"name":"iArt","type":"uint256"}],"name":"Bite","type":"event","signature":"0x99b5620489b6ef926d4518936cfec15d305452712b88bd59da2d9c10fb0953e8"},{"anonymous":true,"inputs":[{"indexed":true,"name":"sig","type":"bytes4"},{"indexed":true,"name":"guy","type":"address"},{"indexed":true,"name":"foo","type":"bytes32"},{"indexed":true,"name":"bar","type":"bytes32"},{"indexed":false,"name":"wad","type":"uint256"},{"indexed":false,"name":"fax","type":"bytes"}],"name":"LogNote","type":"event","signature":"0x644843f351d3fba4abcd60109eaff9f54bac8fb8ccf0bab941009c21df21cf31"},{"constant":false,"inputs":[{"name":"guy","type":"address"}],"name":"rely","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x65fae35e"},{"constant":false,"inputs":[{"name":"guy","type":"address"}],"name":"deny","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x9c52a7f1"},{"constant":false,"inputs":[{"name":"ilk","type":"bytes32"},{"name":"what","type":"bytes32"},{"name":"data","type":"uint256"}],"name":"file","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x1a0b287e"},{"constant":false,"inputs":[{"name":"what","type":"bytes32"},{"name":"data","type":"address"}],"name":"file","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0xd4e8be83"},{"constant":false,"inputs":[{"name":"ilk","type":"bytes32"},{"name":"what","type":"bytes32"},{"name":"flip","type":"address"}],"name":"file","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0xebecb39d"},{"constant":false,"inputs":[{"name":"ilk","type":"bytes32"},{"name":"urn","type":"bytes32"}],"name":"bite","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x72f7b593"},{"constant":false,"inputs":[{"name":"n","type":"uint256"},{"name":"wad","type":"uint256"}],"name":"flip","outputs":[{"name":"id","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0xe6f95917"}]`
	KovanFlapperABI    = `` /* 2597-byte string literal not displayed */
	KovanFlipperABI    = `` /* 3843-byte string literal not displayed */
	KovanFlopperABI    = `` /* 3218-byte string literal not displayed */
	KovanJugABI        = `` /* 2479-byte string literal not displayed */
	KovanMedianizerABI = `` /* 2295-byte string literal not displayed */
	KovanVatABI        = `` /* 5596-byte string literal not displayed */
	KovanVowABI        = `` /* 4094-byte string literal not displayed */
	KovanCatABI        = `` /* 4212-byte string literal not displayed */
)
View Source
const (
	KovanCatContractAddress     = "0x35f3d8997ef261c7961bd7c07ddc390f5cf76bd3"
	KovanFlapperContractAddress = "0x8868BAd8e74FcA4505676D1B5B21EcC23328d132"
	KovanFlipperContractAddress = "0x32D496Ad866D110060866B7125981C73642cc509"
	KovanFlopperContractAddress = "0x6191C9b0086c2eBF92300cC507009b53996FbFFa"
	KovanJugContractAddress     = "0x25a008bf942ce6d5b362f91ed7ae3e4104286a12"
	KovanPipEthContractAddress  = "0xF0c26dBB0Fb1f19793307d4E6182697a4b0F1e8F"
	KovanPipRepContractAddress  = "0xEfA5F53c62531Cb29b8A8E298687A422b8793D72"
	KovanVatContractAddress     = "0x67fd6c3575fc2dbe2cb596bd3bebc9edb5571fa1"
	KovanVowContractAddress     = "0x17560834075da3db54f737db74377e799c865821"
)
View Source
const (
	TemporaryBiteBlockNumber = int64(26)
	TemporaryBiteData        = "" /* 322-byte string literal not displayed */
	TemporaryBiteTransaction = "0x5c698f13940a2153440c6d19660878bc90219d9298fdcf37365aa8d88d40fc42"
)
View Source
const (
	KovanBiteSignature               = "0x99b5620489b6ef926d4518936cfec15d305452712b88bd59da2d9c10fb0953e8"
	KovanCatFileChopLumpSignature    = "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
	KovanCatFileFlipSignature        = "0xebecb39d00000000000000000000000000000000000000000000000000000000"
	KovanCatFileVowSignature         = "0xd4e8be8300000000000000000000000000000000000000000000000000000000"
	KovanDealSignature               = "0xc959c42b00000000000000000000000000000000000000000000000000000000"
	KovanDentSignature               = "0x5ff3a38200000000000000000000000000000000000000000000000000000000"
	KovanJugDripSignature            = "0x44e2a5a800000000000000000000000000000000000000000000000000000000"
	KovanJugFileIlkSignature         = "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
	KovanJugFileRepoSignature        = "0x29ae811400000000000000000000000000000000000000000000000000000000"
	KovanJugFileVowSignature         = "0xe9b674b900000000000000000000000000000000000000000000000000000000"
	KovanFlapKickSignature           = "0xefa52d9342a199cb30efd2692463f2c2bef63cd7186b50382d4fb94ad207880e"
	KovanFlipKickSignature           = "0xbac86238bdba81d21995024470425ecb370078fa62b7271b90cf28cbd1e3e87e"
	KovanFlopKickSignature           = "0xefa52d9342a199cb30efd2692463f2c2bef63cd7186b50382d4fb94ad207880e"
	KovanLogMedianPriceSignature     = "0xb78ebc573f1f889ca9e1e0fb62c843c836f3d3a2e1f43ef62940e9b894f4ea4c"
	KovanTendSignature               = "0x4b43ed1200000000000000000000000000000000000000000000000000000000"
	KovanVatFileIlkSignature         = "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
	KovanVatFileDebtCeilingSignature = "0x29ae811400000000000000000000000000000000000000000000000000000000"
	KovanVatFluxSignature            = "0xa6e4182100000000000000000000000000000000000000000000000000000000"
	KovanVatFoldSignature            = "0xe6a6a64d00000000000000000000000000000000000000000000000000000000"
	KovanVatFrobSignature            = "0x41fd3ef700000000000000000000000000000000000000000000000000000000"
	KovanVatGrabSignature            = "0x3690ae4c00000000000000000000000000000000000000000000000000000000"
	KovanVatHealSignature            = "0x990a5f6300000000000000000000000000000000000000000000000000000000"
	KovanVatInitSignature            = "0x3b66319500000000000000000000000000000000000000000000000000000000"
	KovanVatMoveSignature            = "0x78f1947000000000000000000000000000000000000000000000000000000000"
	KovanVatSlipSignature            = "0x42066cbb00000000000000000000000000000000000000000000000000000000"
	KovanVowFessSignature            = "0x697efb7800000000000000000000000000000000000000000000000000000000"
	KovanVowFlogSignature            = "0x35aee16f00000000000000000000000000000000000000000000000000000000"
)

Variables

View Source
var (
	DentData            = "" /* 394-byte string literal not displayed */
	DentTransactionHash = "0x5a210319fcd31eea5959fedb4a1b20881c21a21976e23ff19dff3b44cc1c71e8"
)
View Source
var (
	FlopKickLog = types.Log{
		Address: common.HexToAddress(KovanFlopperContractAddress),
		Topics: []common.Hash{
			common.HexToHash(KovanFlopKickSignature),
			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:              biteLad,
	Ink:              biteInk,
	Art:              biteArt,
	Tab:              biteTab,
	Flip:             biteFlip,
	LogIndex:         EthBiteLog.Index,
	TransactionIndex: EthBiteLog.TxIndex,
	Raw:              EthBiteLog,
}
View Source
var BiteModel = bite.BiteModel{
	Ilk:              biteIlkString,
	Urn:              biteLadString,
	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:             "1.000000000000000000000000000",
	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:             "10000.000000000000000000",
	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(KovanFlipperContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanDealSignature),
		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:  KovanFlipperContractAddress,
	LogIndex:         DealLogNote.Index,
	TransactionIndex: DealLogNote.TxIndex,
	Raw:              dealRawJson,
}
View Source
var DentLog = types.Log{
	Address: common.HexToAddress(KovanFlipperContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanDentSignature),
		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("0x35f3d8997ef261c7961bd7c07ddc390f5cf76bd3"),
	Topics: []common.Hash{
		common.HexToHash(KovanBiteSignature),
		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(KovanCatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanCatFileChopLumpSignature),
		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(KovanCatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanCatFileFlipSignature),
		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(KovanCatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanCatFileChopLumpSignature),
		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(KovanCatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanCatFileVowSignature),
		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(KovanFlapperContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanFlapKickSignature),
		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(KovanFlipperContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanFlipKickSignature),
		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(KovanJugContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanJugDripSignature),
		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 EthJugFileIlkLog = types.Log{
	Address: common.HexToAddress(KovanJugContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanJugFileIlkSignature),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x66616b6520766f77000000000000000000000000000000000000000000000000"),
	},
	Data:        hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e66616b6520696c6b00000000000000000000000000000000000000000000000066616b6520766f77000000000000000000000000000000000000000000000000000000000000000000000000000000000000009B3F7188CE95D16E5AE0000000"),
	BlockNumber: 35,
	TxHash:      common.HexToHash("0xa1c31b7e6389470902237161263558615e60b40f2e63060b2f4aeafe92d57e5f"),
	TxIndex:     12,
	BlockHash:   fakes.FakeHash,
	Index:       15,
	Removed:     false,
}
View Source
var EthJugFileRepoLog = types.Log{
	Address: common.HexToAddress(KovanJugContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanJugFileRepoSignature),
		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 EthJugFileVowLog = types.Log{
	Address: common.HexToAddress(KovanJugContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanJugFileVowSignature),
		common.HexToHash("0x0000000000000000000000003652c2af10cbbdb753c3b46489db5226b73e6497"),
		common.HexToHash("0x766f770000000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x17560834075da3db54f737db74377e799c865821000000000000000000000000"),
	},
	Data:        hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044e9b674b9766f77000000000000000000000000000000000000000000000000000000000017560834075da3db54f737db74377e799c86582100000000000000000000000000000000000000000000000000000000000000000000000000000000"),
	BlockNumber: 51,
	TxHash:      common.HexToHash("0x586e26b71b41fcd6905044dbe8f0cca300517542278f74a9b925c4f800fed85c"),
	TxIndex:     14,
	BlockHash:   fakes.FakeHash,
	Index:       17,
	Removed:     false,
}
View Source
var EthPriceFeedLog = types.Log{
	Address:     medianizerAddress,
	Topics:      []common.Hash{common.HexToHash(KovanLogMedianPriceSignature)},
	Data:        common.FromHex("0x000000000000000000000000000000000000000000000000e6c7928c7e3f4c00000000000000000000000000000000000000000000000000000000005c9f06dc"),
	BlockNumber: blockNumber,
	TxHash:      common.HexToHash("0x7d144771f01d5b6b18ab777fb3b72ac7d61e48847cd7716c38d99d80c879942f"),
	TxIndex:     txIndex,
	BlockHash:   fakes.FakeHash,
	Index:       8,
	Removed:     false,
}

https://kovan.etherscan.io/tx/0x7d144771f01d5b6b18ab777fb3b72ac7d61e48847cd7716c38d99d80c879942f

View Source
var EthVatFileDebtCeilingLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatFileDebtCeilingSignature),
		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(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x1a0b287e00000000000000000000000000000000000000000000000000000000"),
		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(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatFileIlkSignature),
		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(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatFileIlkSignature),
		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 EthVatFoldLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatFoldSignature),
		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 EthVatFrobLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatFrobSignature),
		common.HexToHash("0x4554480000000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0xda15dce70ab462e66779f23ee14f21d993789ee3000000000000000000000000"),
		common.HexToHash("0xda15dce70ab462e66779f23ee14f21d993789ee3000000000000000000000000"),
	},
	Data:        hexutil.MustDecode(frobData),
	BlockNumber: 10512592,
	TxHash:      common.HexToHash("0x10277b770bcd569cd3c943db2228153435ee1320eaab1f3a64fb8d5732d44c2e"),
	TxIndex:     123,
	BlockHash:   fakes.FakeHash,
	Index:       7,
	Removed:     false,
}
View Source
var EthVatGrabLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatGrabSignature),
		common.HexToHash("0x5245500000000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x0000000000000000000000006a3ae20c315e845b2e398e68effe39139ec6060c"),
		common.HexToHash("0x0000000000000000000000002f34f22a00ee4b7a8f8bbc4eaee1658774c624e0"),
	},
	Data:        hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c43690ae4c52455000000000000000000000000000000000000000000000000000000000000000000000000000000000006a3ae20c315e845b2e398e68effe39139ec6060c0000000000000000000000002f34f22a00ee4b7a8f8bbc4eaee1658774c624e00000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1ffffffffffffffffffffffffffffffffffffffffffffffffe43e9298b1380000ffffffffffffffffffffffffffffffffffffffffffffffff24fea01c7f8f8000"),
	BlockNumber: 23,
	TxHash:      common.HexToHash("0x7cb84c750ce4985f7811abf641d52ffcb35306d943081475226484cf1470c6fa"),
	TxIndex:     4,
	BlockHash:   fakes.FakeHash,
	Index:       5,
	Removed:     false,
}
View Source
var EthVatInitLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatInitSignature),
		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(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatMoveSignature),
		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 EthVatSlipLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatSlipSignature),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6"),
		common.HexToHash("0x000000000000000000000000000000000000000000000000000000003ade68b1"),
	},
	Data:        hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006442066cbb66616b6520696c6b0000000000000000000000000000000000000000000000000000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6000000000000000000000000000000000000000000000000000000003ade68b1"),
	BlockNumber: 10,
	TxHash:      common.HexToHash("0xb114ba306c80c86d51bdbf4a5ac8ed151020cd81b70cfa1dc9822f4a1f73930b"),
	TxIndex:     3,
	BlockHash:   fakes.FakeHash,
	Index:       2,
	Removed:     false,
}
View Source
var EthVowFessLog = types.Log{
	Address: common.HexToAddress(KovanVowContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x697efb7800000000000000000000000000000000000000000000000000000000"),
		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 EthVowFlogLog = types.Log{
	Address: common.HexToAddress(KovanVowContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVowFlogSignature),
		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 JugFileIlkModel = ilk2.JugFileIlkModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	What:             "66616b6520766f77000000000000000000000000000000000000000000000000",
	Data:             "12300.000000000000000000000000000",
	LogIndex:         EthJugFileIlkLog.Index,
	TransactionIndex: EthJugFileIlkLog.TxIndex,
	Raw:              rawJugFileIlkLog,
}
View Source
var JugFileRepoModel = repo.JugFileRepoModel{
	What:             "fake what",
	Data:             big.NewInt(123).String(),
	LogIndex:         EthJugFileRepoLog.Index,
	TransactionIndex: EthJugFileRepoLog.TxIndex,
	Raw:              rawJugFileRepoLog,
}
View Source
var JugFileVowModel = vow.JugFileVowModel{
	What:             "vow",
	Data:             "0x17560834075da3db54f737db74377e799c865821000000000000000000000000",
	LogIndex:         EthJugFileVowLog.Index,
	TransactionIndex: EthJugFileVowLog.TxIndex,
	Raw:              rawJugFileVowLog,
}
View Source
var PriceFeedModel = price_feeds.PriceFeedModel{
	BlockNumber:       blockNumber,
	MedianizerAddress: EthPriceFeedLog.Address.String(),
	UsdValue:          "16.629421281200002625",
	Age:               "1553925852",
	LogIndex:          EthPriceFeedLog.Index,
	TransactionIndex:  EthPriceFeedLog.TxIndex,
	Raw:               rawPriceFeedLog,
}
View Source
var TendLogNote = types.Log{
	Address: common.HexToAddress(KovanFlipperContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanTendSignature),
		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:             "999999999999999945575230987042816.000000000000000000",
	LogIndex:         EthVatFileDebtCeilingLog.Index,
	TransactionIndex: EthVatFileDebtCeilingLog.TxIndex,
	Raw:              rawVatFileDebtCeilingLog,
}
View Source
var VatFileIlkDustModel = ilk2.VatFileIlkModel{
	Ilk:              "5245500000000000000000000000000000000000000000000000000000000000",
	What:             "dust",
	Data:             "0.000000000000010390649719961926601266313231061",
	LogIndex:         EthVatFileIlkDustLog.Index,
	TransactionIndex: EthVatFileIlkDustLog.TxIndex,
	Raw:              rawVatFileIlkDustLog,
}
View Source
var VatFileIlkLineModel = ilk2.VatFileIlkModel{
	Ilk:              "5245500000000000000000000000000000000000000000000000000000000000",
	What:             "line",
	Data:             "0.000000000000000000000000220086151196920083973",
	LogIndex:         EthVatFileIlkLineLog.Index,
	TransactionIndex: EthVatFileIlkLineLog.TxIndex,
	Raw:              rawVatFileIlkLineLog,
}
View Source
var VatFileIlkSpotModel = ilk2.VatFileIlkModel{
	Ilk:              "4554480000000000000000000000000000000000000000000000000000000000",
	What:             "spot",
	Data:             "91.323333333333323480474064127",
	LogIndex:         EthVatFileIlkSpotLog.Index,
	TransactionIndex: EthVatFileIlkSpotLog.TxIndex,
	Raw:              rawVatFileIlkSpotLog,
}
View Source
var VatFluxLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatFluxSignature),
		common.HexToHash("0x5245500000000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x0000000000000000000000007FA9EF6609Ca7921112231f8f195138ebba29770"),
		common.HexToHash("0x00000000000000000000000093086347c52a8878af71bb818509d484c6a2e1bf"),
	},
	Data:        hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000084a6e418217340e006f4135ba6970d43bf43d88dcad4e7a8ca00000000000000000000000007fa9ef6609ca7921112231f8f195138ebba297700000000000000000000000093086347c52a8878af71bb818509d484c6a2e1bf000000000000000000000000000000000000000000000000000000000000000000000000000000000000007b"),
	BlockNumber: 23,
	TxHash:      common.HexToHash("0xf98681bab9b8c75bd8aa4a7d0a8142ff527c5ea8fa54f3c2835d4533838b2e6f"),
	TxIndex:     0,
	BlockHash:   fakes.FakeHash,
	Index:       3,
	Removed:     false,
}
View Source
var VatFluxModel = vat_flux.VatFluxModel{
	Ilk:              "5245500000000000000000000000000000000000000000000000000000000000",
	Src:              "0000000000000000000000007fa9ef6609ca7921112231f8f195138ebba29770",
	Dst:              "00000000000000000000000093086347c52a8878af71bb818509d484c6a2e1bf",
	Rad:              "123",
	TransactionIndex: VatFluxLog.TxIndex,
	LogIndex:         VatFluxLog.Index,
	Raw:              rawFluxLog,
}
View Source
var VatFoldModel = vat_fold.VatFoldModel{
	Ilk:              "5245500000000000000000000000000000000000000000000000000000000000",
	Urn:              "0000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1",
	Rate:             "0.000000000000000000000000002",
	LogIndex:         EthVatFoldLog.Index,
	TransactionIndex: EthVatFoldLog.TxIndex,
	Raw:              rawVatFoldLog,
}
View Source
var VatFrobModel = vat_frob.VatFrobModel{
	Ilk:              "4554480000000000000000000000000000000000000000000000000000000000",
	Urn:              frobUrn,
	V:                frobUrn,
	W:                frobUrn,
	Dink:             "1000000000000000000",
	Dart:             "0",
	LogIndex:         EthVatFrobLog.Index,
	TransactionIndex: EthVatFrobLog.TxIndex,
	Raw:              rawVatFrobLog,
}
View Source
var VatGrabModel = vat_grab.VatGrabModel{
	Ilk:              "5245500000000000000000000000000000000000000000000000000000000000",
	Urn:              "0000000000000000000000006a3ae20c315e845b2e398e68effe39139ec6060c",
	V:                "0000000000000000000000002f34f22a00ee4b7a8f8bbc4eaee1658774c624e0",
	W:                "0000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1",
	Dink:             "115792089237316195423570985008687907853269984665640564039455584007913129639936",
	Dart:             "115792089237316195423570985008687907853269984665640564039441803007913129639936",
	LogIndex:         EthVatGrabLog.Index,
	TransactionIndex: EthVatGrabLog.TxIndex,
	Raw:              rawVatGrabLog,
}
View Source
var VatHealLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash(KovanVatHealSignature),
		common.HexToHash("0x0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6"),
		common.HexToHash("0x0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca"),
		common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000078"),
	},
	Data:        hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000064990a5f637d7bee5fcfd8028cf7b00876c5b1421c800561a600000000000000000000000074686520762076616c75650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000078"),
	BlockNumber: 10,
	TxHash:      common.HexToHash("0x991b8079b1333024000dcaf2b00c24c5db0315e112a4ac4d912aa96a602e12b9"),
	TxIndex:     2,
	BlockHash:   fakes.FakeHash,
	Index:       3,
	Removed:     false,
}
View Source
var VatHealModel = vat_heal.VatHealModel{
	Urn:              "0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6",
	V:                "0000000000000000000000007340e006f4135ba6970d43bf43d88dcad4e7a8ca",
	Rad:              "120",
	LogIndex:         VatHealLog.Index,
	TransactionIndex: VatHealLog.TxIndex,
	Raw:              rawHealLog,
}
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:              "000000000000000000000000a730d1ff8b6bc74a26d54c20a9dda539909bab0e",
	Dst:              "000000000000000000000000b730d1ff8b6bc74a26d54c20a9dda539909bab0e",
	Rad:              "42",
	LogIndex:         EthVatMoveLog.Index,
	TransactionIndex: EthVatMoveLog.TxIndex,
	Raw:              rawVatMoveLog,
}
View Source
var VatSlipModel = vat_slip.VatSlipModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	Guy:              "0000000000000000000000007d7bee5fcfd8028cf7b00876c5b1421c800561a6",
	Rad:              "987654321",
	TransactionIndex: EthVatSlipLog.TxIndex,
	LogIndex:         EthVatSlipLog.Index,
	Raw:              rawVatSlipLog,
}
View Source
var VowFessModel = vow_fess.VowFessModel{
	Tab:              "1337",
	LogIndex:         EthVowFessLog.Index,
	TransactionIndex: EthVowFessLog.TxIndex,
	Raw:              rawVowFessLog,
}
View Source
var VowFlogModel = vow_flog.VowFlogModel{
	Era:              "1337",
	LogIndex:         EthVowFlogLog.Index,
	TransactionIndex: EthVowFlogLog.TxIndex,
	Raw:              rawVowFlogLog,
}

Functions

func RandomString added in v0.2.2

func RandomString(length int) string

Types

type FlipKickDBRow

type FlipKickDBRow struct {
	ID       int64
	HeaderId int64 `db:"header_id"`
	flip_kick.FlipKickModel
}

type FlopKickDBResult

type FlopKickDBResult struct {
	Id       int64
	HeaderId int64 `db:"header_id"`
	flop_kick.Model
}

type GenericEntity

type GenericEntity struct{}

type GenericModel

type GenericModel struct{}

type WrongEntity

type WrongEntity struct{}

type WrongModel

type WrongModel struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL