test_data

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: AGPL-3.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KovanCatABI        = `` /* 4186-byte string literal not displayed */
	KovanDripABI       = `` /* 2523-byte string literal not displayed */
	KovanFlapperABI    = `` /* 2597-byte string literal not displayed */
	KovanFlipperABI    = `` /* 3843-byte string literal not displayed */
	KovanFlopperABI    = `` /* 3218-byte string literal not displayed */
	KovanMedianizerABI = `` /* 3803-byte string literal not displayed */
	// TODO: replace with updated ABI when contract is deployed (with no pit file stability fee method + modified Frob event)
	KovanPitABI = `` /* 3420-byte string literal not displayed */
	KovanVatABI = `` /* 4867-byte string literal not displayed */
	KovanVowABI = `` /* 4094-byte string literal not displayed */
)
View Source
const (
	KovanCatContractAddress     = "0x2f34f22a00ee4b7a8f8bbc4eaee1658774c624e0"
	KovanDripContractAddress    = "0x891c04639a5edcae088e546fa125b5d7fb6a2b9d"
	KovanFlapperContractAddress = "0x8868BAd8e74FcA4505676D1B5B21EcC23328d132"
	KovanFlipperContractAddress = "0x32D496Ad866D110060866B7125981C73642cc509"
	KovanFlopperContractAddress = "0x6191C9b0086c2eBF92300cC507009b53996FbFFa"
	KovanPepContractAddress     = "0xB1997239Cfc3d15578A3a09730f7f84A90BB4975"
	KovanPipContractAddress     = "0x9FfFE440258B79c5d6604001674A4722FfC0f7Bc"
	KovanPitContractAddress     = "0xe7cf3198787c9a4daac73371a38f29aaeeced87e"
	KovanRepContractAddress     = "0xf88bBDc1E2718F8857F30A180076ec38d53cf296"
	KovanVatContractAddress     = "0xcd726790550afcd77e9a7a47e86a3f9010af126b"
	KovanVowContractAddress     = "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1"
)
View Source
const (
	TemporaryBiteBlockNumber = int64(26)
	TemporaryBiteData        = "" /* 322-byte string literal not displayed */
	TemporaryBiteTransaction = "0x5c698f13940a2153440c6d19660878bc90219d9298fdcf37365aa8d88d40fc42"
)
View Source
const (
	KovanVatSlipSignature            = "0x42066cbb00000000000000000000000000000000000000000000000000000000"
	KovanVatTuneSignature            = "0x5dd6471a00000000000000000000000000000000000000000000000000000000"
	KovanBiteSignature               = "0x99b5620489b6ef926d4518936cfec15d305452712b88bd59da2d9c10fb0953e8"
	KovanCatFileFlipSignature        = "0xebecb39d00000000000000000000000000000000000000000000000000000000"
	KovanDripFileRepoSignature       = "0x29ae811400000000000000000000000000000000000000000000000000000000"
	KovanPitFileDebtCeilingSignature = "0x29ae811400000000000000000000000000000000000000000000000000000000"
	KovanDentFunctionSignature       = "0x5ff3a38200000000000000000000000000000000000000000000000000000000"
	KovanFlopKickSignature           = "0xefa52d9342a199cb30efd2692463f2c2bef63cd7186b50382d4fb94ad207880e"
	KovanTendFunctionSignature       = "0x4b43ed1200000000000000000000000000000000000000000000000000000000"
	KovanVatGrabSignature            = "0x3690ae4c00000000000000000000000000000000000000000000000000000000"
	KovanPitFileIlkSignature         = "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
	KovanVatFluxSignature            = "0xa6e4182100000000000000000000000000000000000000000000000000000000"
	KovanVatMoveSignature            = "0x78f1947000000000000000000000000000000000000000000000000000000000"
	KovanDripFileIlkSignature        = "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
	KovanFlapKickSignature           = "0xefa52d9342a199cb30efd2692463f2c2bef63cd7186b50382d4fb94ad207880e"
	KovanDealSignature               = "0xc959c42b00000000000000000000000000000000000000000000000000000000"
	KovanVatFoldSignature            = "0xe6a6a64d00000000000000000000000000000000000000000000000000000000"
	KovanVatHealSignature            = "0x990a5f6300000000000000000000000000000000000000000000000000000000"
	KovanCatFileChopLumpSignature    = "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
	KovanFlipKickSignature           = "0xbac86238bdba81d21995024470425ecb370078fa62b7271b90cf28cbd1e3e87e"
	KovanVatInitSignature            = "0x3b66319500000000000000000000000000000000000000000000000000000000"
	KovanCatFilePitVowSignature      = "0xd4e8be8300000000000000000000000000000000000000000000000000000000"
	KovanDripDripSignature           = "0x44e2a5a800000000000000000000000000000000000000000000000000000000"
	KovanDripFileVowSignature        = "0xe9b674b900000000000000000000000000000000000000000000000000000000"
	KovanFrobSignature               = "0xb2afa28318bcc689926b52835d844de174ef8de97e982a85c0199d584920791b"
	KovanLogValueSignature           = "0x296ba4ca62c6c21c95e828080cb8aec7481b71390585605300a8a76f9e95b527"
	KovanVatTollSignature            = "0x09b7a0b500000000000000000000000000000000000000000000000000000000"
	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("0xefa52d9342a199cb30efd2692463f2c2bef63cd7186b50382d4fb94ad207880e"),
			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 (
	TemporaryFrobBlockNumber = int64(13)
	TemporaryFrobData        = "" /* 322-byte string literal not displayed */
	TemporaryFrobTransaction = "0xbcff98316acb5732891d1a7e02f23ec12fbf8c231ca4b5530fa7a21c1e9b6aa9"
)
View Source
var BiteEntity = bite.BiteEntity{
	Ilk:              biteIlk,
	Urn:              biteLad,
	Ink:              biteInk,
	Art:              biteArt,
	Tab:              biteTab,
	Flip:             biteFlip,
	IArt:             biteIArt,
	LogIndex:         EthBiteLog.Index,
	TransactionIndex: EthBiteLog.TxIndex,
	Raw:              EthBiteLog,
}
View Source
var BiteModel = bite.BiteModel{
	Ilk:              biteIlkString,
	Urn:              biteLadString,
	Ink:              biteInk.String(),
	Art:              biteArt.String(),
	IArt:             biteIArt.String(),
	Tab:              biteTab.String(),
	NFlip:            biteFlip.String(),
	LogIndex:         EthBiteLog.Index,
	TransactionIndex: EthBiteLog.TxIndex,
	Raw:              biteRawJson,
}
View Source
var CatFileChopModel = chop_lump.CatFileChopLumpModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	What:             "chop",
	Data:             "123.456789012345680589533003513",
	TransactionIndex: EthCatFileChopLog.TxIndex,
	LogIndex:         EthCatFileChopLog.Index,
	Raw:              rawCatFileChopLog,
}
View Source
var CatFileFlipModel = flip.CatFileFlipModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	What:             "flip",
	Flip:             "0x07Fa9eF6609cA7921112231F8f195138ebbA2977",
	TransactionIndex: EthCatFileFlipLog.TxIndex,
	LogIndex:         EthCatFileFlipLog.Index,
	Raw:              rawCatFileFlipLog,
}
View Source
var CatFileLumpModel = chop_lump.CatFileChopLumpModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	What:             "lump",
	Data:             "12345.678901234567092615",
	TransactionIndex: EthCatFileLumpLog.TxIndex,
	LogIndex:         EthCatFileLumpLog.Index,
	Raw:              rawCatFileLumpLog,
}
View Source
var CatFilePitVowModel = pit_vow.CatFilePitVowModel{
	What:             "pit",
	Data:             "0x8E84a1e068d77059Cbe263C43AD0cDc130863313",
	TransactionIndex: EthCatFilePitVowLog.TxIndex,
	LogIndex:         EthCatFilePitVowLog.Index,
	Raw:              rawCatFilePitVowLog,
}
View Source
var DealLogNote = types.Log{
	Address: common.HexToAddress(KovanFlipperContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0xc959c42b00000000000000000000000000000000000000000000000000000000"),
		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("0x5ff3a38200000000000000000000000000000000000000000000000000000000"),
		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 DripDripModel = drip_drip.DripDripModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	LogIndex:         EthDripDripLog.Index,
	TransactionIndex: EthDripDripLog.TxIndex,
	Raw:              rawDripDripLog,
}
View Source
var DripFileIlkModel = ilk2.DripFileIlkModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	Vow:              "66616b6520766f77000000000000000000000000000000000000000000000000",
	Tax:              "12300.000000000000000000000000000",
	LogIndex:         EthDripFileIlkLog.Index,
	TransactionIndex: EthDripFileIlkLog.TxIndex,
	Raw:              rawDripFileIlkLog,
}
View Source
var DripFileRepoModel = repo.DripFileRepoModel{
	What:             "fake what",
	Data:             big.NewInt(123).String(),
	LogIndex:         EthDripFileRepoLog.Index,
	TransactionIndex: EthDripFileRepoLog.TxIndex,
	Raw:              rawDripFileRepoLog,
}
View Source
var DripFileVowModel = vow.DripFileVowModel{
	What:             "vow",
	Data:             "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1",
	LogIndex:         EthDripFileVowLog.Index,
	TransactionIndex: EthDripFileVowLog.TxIndex,
	Raw:              rawDripFileVowLog,
}
View Source
var EthBiteLog = types.Log{
	Address: common.HexToAddress("0x2f34f22a00ee4b7a8f8bbc4eaee1658774c624e0"),
	Topics: []common.Hash{
		common.HexToHash("0x99b5620489b6ef926d4518936cfec15d305452712b88bd59da2d9c10fb0953e8"),
		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("0x1a0b287e00000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x63686f7000000000000000000000000000000000000000000000000000000000"),
	},
	Data:        hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e66616b6520696c6b00000000000000000000000000000000000000000000000063686f700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018EE90FF6C373E0EE4E3F0AD2"),
	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("0xebecb39d00000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x666c697000000000000000000000000000000000000000000000000000000000"),
	},
	Data:        hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064ebecb39d66616b6520696c6b000000000000000000000000000000000000000000000000666c69700000000000000000000000000000000000000000000000000000000000000000000000000000000007fa9ef6609ca7921112231f8f195138ebba2977"),
	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("0x1a0b287e00000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x6c756d7000000000000000000000000000000000000000000000000000000000"),
	},
	Data:        hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e66616b6520696c6b00000000000000000000000000000000000000000000000063686f700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000029D42B64E76714244CB"),
	BlockNumber: 110,
	TxHash:      common.HexToHash("0xe32dfe6afd7ea28475569756fc30f0eea6ad4cfd32f67436ff1d1c805e4382df"),
	TxIndex:     15,
	BlockHash:   fakes.FakeHash,
	Index:       3,
	Removed:     false,
}
View Source
var EthCatFilePitVowLog = types.Log{
	Address: common.HexToAddress(KovanCatContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0xd4e8be8300000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x7069740000000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x0000000000000000000000008e84a1e068d77059cbe263c43ad0cdc130863313"),
	},
	Data:        hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044d4e8be8370697400000000000000000000000000000000000000000000000000000000000000000000000000000000008e84a1e068d77059cbe263c43ad0cdc130863313"),
	BlockNumber: 87,
	TxHash:      common.HexToHash("0x6515c7dfe53f0ad83ce1173fa99032c24a07cfd8b5d5a1c1f80486c99dd52800"),
	TxIndex:     11,
	BlockHash:   fakes.FakeHash,
	Index:       2,
	Removed:     false,
}
View Source
var EthDripDripLog = types.Log{
	Address: common.HexToAddress(KovanDripContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x44e2a5a800000000000000000000000000000000000000000000000000000000"),
		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 EthDripFileIlkLog = types.Log{
	Address: common.HexToAddress(KovanDripContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x1a0b287e00000000000000000000000000000000000000000000000000000000"),
		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 EthDripFileRepoLog = types.Log{
	Address: common.HexToAddress(KovanDripContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x29ae811400000000000000000000000000000000000000000000000000000000"),
		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 EthDripFileVowLog = types.Log{
	Address: common.HexToAddress(KovanDripContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0xe9b674b900000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x766f770000000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x0000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1"),
	},
	Data:        hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044e9b674b966616b652077686174000000000000000000000000000000000000000000000066616b6520646174610000000000000000000000000000000000000000000000"),
	BlockNumber: 51,
	TxHash:      common.HexToHash("0x586e26b71b41fcd6905044dbe8f0cca300517542278f74a9b925c4f800fed85c"),
	TxIndex:     14,
	BlockHash:   fakes.FakeHash,
	Index:       17,
	Removed:     false,
}
View Source
var EthFlapKickLog = types.Log{
	Address: common.HexToAddress(KovanFlapperContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0xefa52d9342a199cb30efd2692463f2c2bef63cd7186b50382d4fb94ad207880e"),
		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("0xbac86238bdba81d21995024470425ecb370078fa62b7271b90cf28cbd1e3e87e"),
		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 EthFrobLog = types.Log{
	Address: common.HexToAddress(KovanPitContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0xb2afa28318bcc689926b52835d844de174ef8de97e982a85c0199d584920791b"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
	},
	Data:        hexutil.MustDecode(TemporaryFrobData),
	BlockNumber: uint64(TemporaryFrobBlockNumber),
	TxHash:      common.HexToHash(TemporaryFrobTransaction),
	TxIndex:     123,
	BlockHash:   fakes.FakeHash,
	Index:       7,
	Removed:     false,
}
View Source
var EthPitFileDebtCeilingLog = types.Log{
	Address: common.HexToAddress(KovanPitContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x29ae811400000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x4c696e6500000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x000000000000000000000000000000000000000000000000000000000001e240"),
	},
	Data:        hexutil.MustDecode("0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004429ae81144c696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e240"),
	BlockNumber: 22,
	TxHash:      common.HexToHash("0xd744878a0b6655e3ba729e1019f56b563b4a16750196b8ad6104f3977db43f42"),
	TxIndex:     333,
	BlockHash:   fakes.FakeHash,
	Index:       15,
	Removed:     false,
}
View Source
var EthPitFileIlkLineLog = types.Log{
	Address: common.HexToAddress(KovanPitContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x1a0b287e00000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x6c696e6500000000000000000000000000000000000000000000000000000000"),
	},
	Data:        hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e66616b6520696c6b0000000000000000000000000000000000000000000000006c696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e8d4a51000"),
	BlockNumber: 12,
	TxHash:      common.HexToHash("0x2e27c962a697d4f7ec5d3206d0c058bd510f7593a711f082e55f3b62d44d8dd9"),
	TxIndex:     112,
	BlockHash:   fakes.FakeHash,
	Index:       15,
	Removed:     false,
}
View Source
var EthPitFileIlkSpotLog = types.Log{
	Address: common.HexToAddress(KovanPitContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x1a0b287e00000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x73706f7400000000000000000000000000000000000000000000000000000000"),
	},
	Data:        hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000641a0b287e66616b6520696c6b00000000000000000000000000000000000000000000000073706f7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e8d4a51000"),
	BlockNumber: 11,
	TxHash:      common.HexToHash("0x1ba8125f60fa045c85b35df3983bee37db8627fbc32e3442a5cf17c85bb83f09"),
	TxIndex:     111,
	BlockHash:   fakes.FakeHash,
	Index:       14,
	Removed:     false,
}
View Source
var EthPriceFeedLog = types.Log{
	Address:     medianizerAddress,
	Topics:      []common.Hash{common.HexToHash("0x296ba4ca62c6c21c95e828080cb8aec7481b71390585605300a8a76f9e95b527")},
	Data:        common.FromHex("00000000000000000000000000000000000000000000001486f658319fb0c100"),
	BlockNumber: blockNumber,
	TxHash:      common.HexToHash("0xa51a50a2adbfba4e2ab3d72dfd67a21c769f1bc8d2b180663a15500a56cde58f"),
	TxIndex:     txIndex,
	BlockHash:   fakes.FakeHash,
	Index:       8,
	Removed:     false,
}

https://etherscan.io/tx/0xa51a50a2adbfba4e2ab3d72dfd67a21c769f1bc8d2b180663a15500a56cde58f

View Source
var EthVatFoldLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0xe6a6a64d00000000000000000000000000000000000000000000000000000000"),
		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 EthVatGrabLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x3690ae4c00000000000000000000000000000000000000000000000000000000"),
		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("0x3b66319500000000000000000000000000000000000000000000000000000000"),
		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("0x78f1947000000000000000000000000000000000000000000000000000000000"),
		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("0x42066cbb00000000000000000000000000000000000000000000000000000000"),
		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 EthVatTollLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x09b7a0b500000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x66616b6520696c6b000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x0000000000000000000000000a3e37186e017747dba34042e83e3f76ad3cce9b"),
		common.HexToHash("0x00000000000000000000000000000000000000000000000000000000075bcd15"),
	},
	Data:        hexutil.MustDecode("0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006409b7a0b566616b6520696c6b000000000000000000000000000000000000000000000000a3e37186e017747dba34042e83e3f76ad3cce9b000000000000000000000000000000000000000000000000000000000000000000000000000000000075bcd15"),
	BlockNumber: 21,
	TxHash:      common.HexToHash("0x0d59cb158b033ffdfb9a021d1e80bfbbcd99594c62c501897ccee446bcd33828"),
	TxIndex:     2,
	BlockHash:   fakes.FakeHash,
	Index:       4,
	Removed:     false,
}
View Source
var EthVatTuneLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x5dd6471a00000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x4554480000000000000000000000000000000000000000000000000000000000"),
		common.HexToHash("0x0000000000000000000000004f26ffbe5f04ed43630fdc30a87638d53d0b0876"),
		common.HexToHash("0x0000000000000000000000004f26ffbe5f04ed43630fdc30a87638d53d0b0876"),
	},
	Data:        hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c45dd6471a45544800000000000000000000000000000000000000000000000000000000000000000000000000000000004f26ffbe5f04ed43630fdc30a87638d53d0b08760000000000000000000000004f26ffbe5f04ed43630fdc30a87638d53d0b08760000000000000000000000004f26ffbe5f04ed43630fdc30a87638d53d0b08760000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffe43e9298b1380000"),
	BlockNumber: 8761670,
	TxHash:      common.HexToHash("0x95eb3d6cbd83032efa29714d4a391ce163d7d215db668aadd7d33dd5c20b1ec7"),
	TxIndex:     0,
	BlockHash:   fakes.FakeHash,
	Index:       6,
	Removed:     false,
}
View Source
var EthVowFlogLog = types.Log{
	Address: common.HexToAddress(KovanVowContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x35aee16f00000000000000000000000000000000000000000000000000000000"),
		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 FrobEntity = frob.FrobEntity{
	Ilk:              ilk,
	Urn:              frobLad,
	Ink:              ink,
	Art:              art,
	Dink:             dink,
	Dart:             dart,
	IArt:             iArt,
	LogIndex:         EthFrobLog.Index,
	TransactionIndex: EthFrobLog.TxIndex,
	Raw:              EthFrobLog,
}
View Source
var FrobModel = frob.FrobModel{
	Ilk:              frobIlkString,
	Urn:              frobUrnString,
	Ink:              ink.String(),
	Art:              art.String(),
	Dink:             dink.String(),
	Dart:             dart.String(),
	IArt:             iArt.String(),
	LogIndex:         EthFrobLog.Index,
	TransactionIndex: EthFrobLog.TxIndex,
	Raw:              rawFrobLog,
}
View Source
var GenericTestConfig = shared_t.TransformerConfig{
	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 PitFileDebtCeilingModel = debt_ceiling.PitFileDebtCeilingModel{
	What:             "Line",
	Data:             shared.ConvertToWad(big.NewInt(123456).String()),
	LogIndex:         EthPitFileDebtCeilingLog.Index,
	TransactionIndex: EthPitFileDebtCeilingLog.TxIndex,
	Raw:              rawPitFileDebtCeilingLog,
}
View Source
var PitFileIlkLineModel = ilk2.PitFileIlkModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	What:             "line",
	Data:             "0.000001000000000000",
	LogIndex:         EthPitFileIlkLineLog.Index,
	TransactionIndex: EthPitFileIlkLineLog.TxIndex,
	Raw:              rawPitFileIlkLineLog,
}
View Source
var PitFileIlkSpotModel = ilk2.PitFileIlkModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	What:             "spot",
	Data:             "0.000000000000001000000000000",
	LogIndex:         EthPitFileIlkSpotLog.Index,
	TransactionIndex: EthPitFileIlkSpotLog.TxIndex,
	Raw:              rawPitFileIlkSpotLog,
}
View Source
var PriceFeedModel = price_feeds.PriceFeedModel{
	BlockNumber:       blockNumber,
	MedianizerAddress: EthPriceFeedLog.Address.String(),
	UsdValue:          "378.659938889700015352",
	LogIndex:          EthPriceFeedLog.Index,
	TransactionIndex:  EthPriceFeedLog.TxIndex,
	Raw:               rawPriceFeedLog,
}
View Source
var TendLogNote = types.Log{
	Address: common.HexToAddress(KovanFlipperContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0x4b43ed1200000000000000000000000000000000000000000000000000000000"),
		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 VatFluxLog = types.Log{
	Address: common.HexToAddress(KovanVatContractAddress),
	Topics: []common.Hash{
		common.HexToHash("0xa6e4182100000000000000000000000000000000000000000000000000000000"),
		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 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("0x990a5f6300000000000000000000000000000000000000000000000000000000"),
		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 VatTollModel = vat_toll.VatTollModel{
	Ilk:              "66616b6520696c6b000000000000000000000000000000000000000000000000",
	Urn:              "0000000000000000000000000a3e37186e017747dba34042e83e3f76ad3cce9b",
	Take:             big.NewInt(123456789).String(),
	TransactionIndex: EthVatTollLog.TxIndex,
	LogIndex:         EthVatTollLog.Index,
	Raw:              rawVatTollLog,
}
View Source
var VatTuneModel = vat_tune.VatTuneModel{
	Ilk:              "4554480000000000000000000000000000000000000000000000000000000000",
	Urn:              urn,
	V:                urn,
	W:                urn,
	Dink:             big.NewInt(0).String(),
	Dart:             vatTuneDart.String(),
	TransactionIndex: EthVatTuneLog.TxIndex,
	LogIndex:         EthVatTuneLog.Index,
	Raw:              rawVatTuneLog,
}
View Source
var VowFlogModel = vow_flog.VowFlogModel{
	Era:              "1337",
	LogIndex:         EthVowFlogLog.Index,
	TransactionIndex: EthVowFlogLog.TxIndex,
	Raw:              rawVowFlogLog,
}

Functions

This section is empty.

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