Documentation ¶
Index ¶
- Constants
- Variables
- func AlreadySeededRandomString(length int) string
- func AssertDBRecordCount(db *postgres.DB, dbTable string, expectedCount int)
- func AssignAddressID(log core.EventLog, insertionModel event.InsertionModel, db *postgres.DB)
- func AssignMessageSenderID(log core.EventLog, insertionModel event.InsertionModel, db *postgres.DB)
- func AuctionFileModel() event.InsertionModel
- func BiteModel() event.InsertionModel
- func Cat100Address() string
- func Cat110Address() string
- func CatClawModel() event.InsertionModel
- func CatFileBoxModel() event.InsertionModel
- func CatFileChopModel() event.InsertionModel
- func CatFileDunkModel() event.InsertionModel
- func CatFileFlipModel() event.InsertionModel
- func CatFileLumpModel() event.InsertionModel
- func CatFileVowModel() event.InsertionModel
- func CdpManagerAddress() string
- func CopyModel(model event.InsertionModel) event.InsertionModel
- func CreateLogs(headerID int64, logs []types.Log, db *postgres.DB) []core.EventLog
- func CreateTestHeader(db *postgres.DB) int64
- func CreateTestLog(headerID int64, db *postgres.DB) core.EventLog
- func CreateTestLogFromEventLog(headerID int64, log types.Log, db *postgres.DB) core.EventLog
- func DealModel() event.InsertionModel
- func DentModel() event.InsertionModel
- func DenyModel() event.InsertionModel
- func EthLogMedianPriceModel() event.InsertionModel
- func FlapKickModel() event.InsertionModel
- func FlapV100Address() string
- func FlapV109Address() string
- func FlipBatV100Address() string
- func FlipBatV109Address() string
- func FlipBatV110Address() string
- func FlipCompV112Address() string
- func FlipEthV100Address() string
- func FlipEthV109Address() string
- func FlipEthV110Address() string
- func FlipFileCatModel() event.InsertionModel
- func FlipKickModel() event.InsertionModel
- func FlipKncAV108Address() string
- func FlipKncAV109Address() string
- func FlipLinkV112Address() string
- func FlipLrcV112Address() string
- func FlipManaAV109Address() string
- func FlipPaxusdAV111Address() string
- func FlipTusdAV107Address() string
- func FlipTusdAV109Address() string
- func FlipUsdcAV104Address() string
- func FlipUsdcAV109Address() string
- func FlipUsdcBV107Address() string
- func FlipUsdcBV109Address() string
- func FlipUsdtAV111Address() string
- func FlipV100Addresses() []string
- func FlipV110Addresses() []string
- func FlipWbtcAV106Address() string
- func FlipWbtcAV109Address() string
- func FlipZrxAV108Address() string
- func FlipZrxAV109Address() string
- func FlopKickModel() event.InsertionModel
- func FlopV101Address() string
- func FlopV109Address() string
- func JugAddress() string
- func JugDripModel() event.InsertionModel
- func JugFileBaseModel() event.InsertionModel
- func JugFileIlkModel() event.InsertionModel
- func JugFileVowModel() event.InsertionModel
- func JugInitModel() event.InsertionModel
- func LogValueModel() event.InsertionModel
- func MedianAddresses() []string
- func MedianBatAddress() string
- func MedianCompAddress() string
- func MedianDissBatchModelFiveAddresses() event.InsertionModel
- func MedianDissBatchModelOneAddress() event.InsertionModel
- func MedianDissSingleModel() event.InsertionModel
- func MedianDropModelWithFiveAccounts() event.InsertionModel
- func MedianDropModelWithOneAccount() event.InsertionModel
- func MedianEthAddress() string
- func MedianKissBatchModelFiveAddresses() event.InsertionModel
- func MedianKissBatchModelOneAddress() event.InsertionModel
- func MedianKissSingleModel() event.InsertionModel
- func MedianKncAddress() string
- func MedianLiftModelWithFiveAccounts() event.InsertionModel
- func MedianLiftModelWithOneAccount() event.InsertionModel
- func MedianLinkAddress() string
- func MedianLrcAddress() string
- func MedianManaAddress() string
- func MedianUsdtAddress() string
- func MedianWbtcAddress() string
- func MedianZrxAddress() string
- func NewCdpModel() event.InsertionModel
- func OsmAddresses() []string
- func OsmBatAddress() string
- func OsmChangeModel() event.InsertionModel
- func OsmCompAddress() string
- func OsmEthAddress() string
- func OsmKncAddress() string
- func OsmLinkAddress() string
- func OsmLrcAddress() string
- func OsmManaAddress() string
- func OsmUsdtAddress() string
- func OsmWbtcAddress() string
- func OsmZrxAddress() string
- func PotAddress() string
- func PotCageModel() event.InsertionModel
- func PotDripModel() event.InsertionModel
- func PotExitModel() event.InsertionModel
- func PotFileDSRModel() event.InsertionModel
- func PotFileVowModel() event.InsertionModel
- func PotJoinModel() event.InsertionModel
- func RandomString(length int) string
- func RelyModel() event.InsertionModel
- func SetTestConfig() bool
- func SpotAddress() string
- func SpotFileMatModel() event.InsertionModel
- func SpotFileParModel() event.InsertionModel
- func SpotFilePipModel() event.InsertionModel
- func SpotPokeModel() event.InsertionModel
- func TendModel() event.InsertionModel
- func TickModel() event.InsertionModel
- func VatAddress() string
- func VatDenyModel() event.InsertionModel
- func VatFileDebtCeilingModel() event.InsertionModel
- func VatFileIlkDustModel() event.InsertionModel
- func VatFileIlkLineModel() event.InsertionModel
- func VatFileIlkSpotModel() event.InsertionModel
- func VatFluxModel() event.InsertionModel
- func VatFoldModelWithNegativeRate() event.InsertionModel
- func VatFoldModelWithPositiveRate() event.InsertionModel
- func VatForkModelWithNegativeDinkDart() event.InsertionModel
- func VatForkModelWithPositiveDinkDart() event.InsertionModel
- func VatFrobModelWithNegativeDink() event.InsertionModel
- func VatFrobModelWithPositiveDart() event.InsertionModel
- func VatGrabModelWithNegativeDink() event.InsertionModel
- func VatGrabModelWithPositiveDink() event.InsertionModel
- func VatHopeModel() event.InsertionModel
- func VatInitModel() event.InsertionModel
- func VatNopeModel() event.InsertionModel
- func VatRelyModel() event.InsertionModel
- func VatSlipModelWithNegativeWad() event.InsertionModel
- func VatSlipModelWithPositiveWad() event.InsertionModel
- func VowAddress() string
- func VowFessModel() event.InsertionModel
- func VowFileAuctionAddressModel() event.InsertionModel
- func VowFileAuctionAttributesModel() event.InsertionModel
- func VowHealModel() event.InsertionModel
- func YankModel() event.InsertionModel
- type GenericEntity
- type GenericModel
- type WrongEntity
- type WrongModel
Constants ¶
View Source
const ( TemporaryBiteBlockNumber = int64(26) TemporaryBiteTransaction = "0x5c698f13940a2153440c6d19660878bc90219d9298fdcf37365aa8d88d40fc42" )
View Source
const ( TemporaryLogValueBlockNumber = int64(14824113) TemporaryLogValueTransaction = "0x81c446bceeaeb9b5117cda43eeb5926e63d4057247018bd0c6cc54c07c8eb15b" )
View Source
const SpotPokeIlkHex = "0x434f4c352d410000000000000000000000000000000000000000000000000000"
Variables ¶
View Source
var ( JugFileIlkMsgSender = shared.GetChecksumAddressString(jugFileIlkTopic1) JugFileIlkEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawJugFileIlkLog, Transformed: false, } )
View Source
var AuctionFileEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawAuctionFileLog, Transformed: false, }
View Source
var BiteEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawBiteLog, Transformed: false, }
View Source
var ( CatClawEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawCatClawLog, Transformed: false, } )
View Source
var CatFileBoxEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawCatFileBoxLog, Transformed: false, }
View Source
var CatFileChopEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawCatFileChopLog, Transformed: false, }
View Source
var CatFileDunkEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawCatFileDunkLog, Transformed: false, }
View Source
var CatFileFlipEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawCatFileFlipLog, Transformed: false, }
View Source
var CatFileLumpEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawCatFileLumpLog, Transformed: false, }
View Source
var CatFileVowEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawCatFileVowLog, Transformed: false, }
View Source
var DealEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawDealLog, Transformed: false, }
View Source
var DentEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawDentLog, Transformed: false, }
View Source
var (
DentMsgSender = common.HexToAddress(topic1).Hex()
)
View Source
var DenyEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawDenyLog, Transformed: false, }
View Source
var ( EthLogMedianPriceEventLog = core.EventLog{ ID: rand.Int63(), HeaderID: rand.Int63(), Log: rawEthLogMedianPriceLog, Transformed: false, } )
View Source
var (
FakeUrn = "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA"
)
View Source
var FlapKickEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawFlapKickLog, Transformed: false, }
View Source
var FlipFileCatEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawFlipFileCatLog, Transformed: false, }
View Source
var (
FlipKickBlockNumber = int64(10)
)
View Source
var FlipKickEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawFlipKickLog, Transformed: false, }
View Source
var FlipTickEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawFlipTickLog, Transformed: false, }
View Source
var FlopKickEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawFlopKickLog, Transformed: false, }
View Source
var GenericTestConfig = event.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 JugDripEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawJugDripLog, Transformed: false, }
View Source
var ( JugFileBaseEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawJugFileBaseLog, Transformed: false, } )
View Source
var ( JugFileVowEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawJugFileVowLog, Transformed: false, } )
View Source
var JugInitEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawJugInitLog, Transformed: false, }
View Source
var LogValueEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawLogValueLog, Transformed: false, }
View Source
var MedianDissBatchLogFiveAddresses = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: RawMedianDissBatchLogFiveAddresses, Transformed: false, }
View Source
var MedianDissBatchLogOneAddress = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawMedianDissBatchLogOneAddress, Transformed: false, }
View Source
var MedianDissSingleLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawMedianDissSingleLog, Transformed: false, }
View Source
var MedianDropLogWithFiveAccounts = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawMedianDropLogWithFiveAccounts, Transformed: false, }
View Source
var MedianDropLogWithOneAccount = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawMedianDropLogWithOneAccount, Transformed: false, }
View Source
var MedianKissBatchLogFiveAddresses = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: RawMedianKissBatchLogFiveAddresses, Transformed: false, }
View Source
var MedianKissBatchLogOneAddress = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawMedianKissBatchLogOneAddress, Transformed: false, }
View Source
var MedianKissSingleLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawMedianKissSingleLog, Transformed: false, }
View Source
var MedianLiftLogWithFiveAccounts = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: RawMedianLiftLogWithFiveAccounts, Transformed: false, }
View Source
var MedianLiftLogWithOneAccount = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawMedianLiftLogWithOneAccount, Transformed: false, }
View Source
var NewCdpEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawNewCdpLog, Transformed: false, }
View Source
var OsmChangeEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawOsmChangeLog, Transformed: false, }
View Source
var PotCageEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawPotCageLog, Transformed: false, }
View Source
var PotDripEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawPotDripLog, Transformed: false, }
View Source
var PotExitEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawPotExitLog, Transformed: false, }
View Source
var PotFileDSREventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawPotFileDSRLog, Transformed: false, }
View Source
var PotFileVowEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawPotFileVowLog, Transformed: false, }
View Source
var PotJoinEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawPotJoinLog, Transformed: false, }
View Source
var RawMedianDissBatchLogFiveAddresses = types.Log{ Address: common.HexToAddress(MedianEthAddress()), Topics: []common.Hash{ common.HexToHash(constants.MedianDissBatchSignature()), common.HexToHash("0x000000000000000000000000e87f55af91068a1da44095138f3d37c45894eb21"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000020"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000005"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e046d4577d00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000a52f23a651d1fa7c2610753c768103ee8c498f22000000000000000000000000ce91db32ad1c91278a56cbb2d8f24f9315043de90000000000000000000000003482f7a06db71f8ecac04f882546a66081311667000000000000000000000000702f365e1e559d9dc7b1af6ab9be64feb9c4d822000000000000000000000000ae37ab846ce92cf19031e602bf7dd3ae"), BlockNumber: 8936530, TxHash: common.HexToHash("0x27f7834f778ec7d4289cf3337f8e428785c6d023164c02fc44565dbf2e26c49a"), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 11, Removed: false, }
View Source
var RawMedianKissBatchLogFiveAddresses = types.Log{ Address: common.HexToAddress(MedianEthAddress()), Topics: []common.Hash{ common.HexToHash(constants.MedianKissBatchSignature()), common.HexToHash("0x000000000000000000000000e87f55af91068a1da44095138f3d37c45894eb21"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000020"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000005"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e046d4577d00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000a52f23a651d1fa7c2610753c768103ee8c498f22000000000000000000000000ce91db32ad1c91278a56cbb2d8f24f9315043de90000000000000000000000003482f7a06db71f8ecac04f882546a66081311667000000000000000000000000702f365e1e559d9dc7b1af6ab9be64feb9c4d822000000000000000000000000ae37ab846ce92cf19031e602bf7dd3ae"), BlockNumber: 8936530, TxHash: common.HexToHash("0x27f7834f778ec7d4289cf3337f8e428785c6d023164c02fc44565dbf2e26c49a"), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 11, Removed: false, }
View Source
var RawMedianLiftLogWithFiveAccounts = types.Log{ Address: common.HexToAddress(MedianEthAddress()), Topics: []common.Hash{ common.HexToHash(constants.MedianLiftSignature()), common.HexToHash("0x000000000000000000000000c45e7858eef1318337a803ede8c5a9be12e2b40f"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000020"), common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000005"), }, Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e094318106000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000050000000000000000000000006bdbc0ccc17d72a33bf72a4657781a37dc2aa94e00000000000000000000000026c45f7b0e456e36fc85781488a3cd42a57ccbd200000000000000000000000020c576f989ee94e571f027b30314acf709267f7c000000000000000000000000fcb1fb52e114b364b3aab63d8a6f65fe8dcbef9d000000000000000000000000c2de180006ed15273f8dc59c436b954b"), BlockNumber: 8936530, TxHash: common.HexToHash("0xd17875c308e4778ebe4335e445d84e9b280e181cd60e65ecce68f43da5e390b8"), TxIndex: 10, BlockHash: fakes.FakeHash, Index: 11, Removed: false, }
View Source
var RelyEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawRelyLog, Transformed: false, }
View Source
var SpotFileMatEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawSpotFileMatLog, Transformed: false, }
View Source
var SpotFileParEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawSpotFileParLog, Transformed: false, }
View Source
var SpotFilePipEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawSpotFilePipLog, Transformed: false, }
View Source
var SpotPokeEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawEthSpotPokeLog, Transformed: false, }
View Source
var TendEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawTendLog, Transformed: false, }
View Source
var VatDenyEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatDenyLog, Transformed: false, }
View Source
var VatFileDebtCeilingEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFileDebtCeilingLog, Transformed: false, }
View Source
var VatFileIlkDustEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFileIlkDustLog, Transformed: false, }
View Source
var VatFileIlkLineEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFileIlkLineLog, Transformed: false, }
View Source
var VatFileIlkSpotEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFileIlkSpotLog, Transformed: false, }
View Source
var VatFluxEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFluxLog, Transformed: false, }
View Source
var VatFoldEventLogWithNegativeRate = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFoldLogWithNegativeRate, Transformed: false, }
View Source
var VatFoldEventLogWithPositiveRate = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFoldLogWithPositiveRate, Transformed: false, }
View Source
var VatForkEventLogWithNegativeDinkDart = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatForkLogWithNegativeDinkDart, Transformed: false, }
View Source
var VatForkEventLogWithPositiveDinkDart = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatForkLogWithPositiveDinkDart, Transformed: false, }
View Source
var VatFrobEventLogWithNegativeDink = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFrobLogWithNegativeDink, Transformed: false, }
View Source
var VatFrobEventLogWithPositiveDart = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatFrobLogWithPositiveDart, Transformed: false, }
View Source
var VatGrabEventLogWithNegativeDink = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatGrabLogWithNegativeDink, Transformed: false, }
View Source
var VatGrabEventLogWithPositiveDink = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatGrabLogWithPositiveDink, Transformed: false, }
View Source
var VatHealEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatHealLog, Transformed: false, }
View Source
var VatHealModel = event.InsertionModel{ SchemaName: constants.MakerSchema, TableName: constants.VatHealTable, OrderedColumns: []event.ColumnName{ event.HeaderFK, event.LogFK, constants.RadColumn, }, ColumnValues: event.ColumnValues{ constants.RadColumn: "10001", event.HeaderFK: VatHealEventLog.HeaderID, event.LogFK: VatHealEventLog.ID, }, }
View Source
var VatHopeEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatHopeLog, Transformed: false, }
View Source
var VatInitEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatInitLog, Transformed: false, }
View Source
var VatMoveEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatMoveLog, Transformed: false, }
View Source
var VatMoveModel = event.InsertionModel{ SchemaName: constants.MakerSchema, TableName: constants.VatMoveTable, OrderedColumns: []event.ColumnName{ event.HeaderFK, event.LogFK, constants.SrcColumn, constants.DstColumn, constants.RadColumn, }, ColumnValues: event.ColumnValues{ constants.SrcColumn: "0xA730d1FF8B6Bc74a26d54c20a9dda539909BaB0e", constants.DstColumn: "0xB730D1fF8b6BC74a26D54c20a9ddA539909BAb0e", constants.RadColumn: "42", event.HeaderFK: VatMoveEventLog.HeaderID, event.LogFK: VatMoveEventLog.ID, }, }
View Source
var VatNopeEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatNopeLog, Transformed: false, }
View Source
var VatRelyEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatRelyLog, Transformed: false, }
View Source
var VatSlipEventLogWithNegativeWad = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatSlipLogWithNegativeWad, Transformed: false, }
View Source
var VatSlipEventLogWithPositiveWad = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatSlipLogWithPositiveWad, Transformed: false, }
View Source
var VatSuckEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVatSuckLog, Transformed: false, }
View Source
var VatSuckModel = event.InsertionModel{ SchemaName: constants.MakerSchema, TableName: constants.VatSuckTable, OrderedColumns: []event.ColumnName{ event.HeaderFK, event.LogFK, constants.UColumn, constants.VColumn, constants.RadColumn, }, ColumnValues: event.ColumnValues{ constants.UColumn: "0x07Fa9eF6609cA7921112231F8f195138ebbA2977", constants.VColumn: "0x7340e006f4135BA6970D43bf43d88DCAD4e7a8CA", constants.RadColumn: "1000000000000000000000", event.HeaderFK: VatSuckEventLog.HeaderID, event.LogFK: VatSuckEventLog.ID, }, }
View Source
var VowFessEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVowFessLog, Transformed: false, }
View Source
var VowFileAuctionAddressEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVowFileAuctionAddressLog, Transformed: false, }
View Source
var VowFileAuctionAttributesEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVowFileAuctionAttributesLog, Transformed: false, }
View Source
var VowFlogEventLog = core.EventLog{ ID: int64(rand.Int31()), HeaderID: int64(rand.Int31()), Log: rawVowFlogLog, Transformed: false, }
View Source
var VowFlogModel = event.InsertionModel{ SchemaName: constants.MakerSchema, TableName: constants.VowFlogTable, OrderedColumns: []event.ColumnName{ event.HeaderFK, event.LogFK, constants.EraColumn, constants.MsgSenderColumn, }, ColumnValues: event.ColumnValues{ event.HeaderFK: VowFlogEventLog.HeaderID, event.LogFK: VowFlogEventLog.ID, constants.EraColumn: "1337", }, }
Functions ¶
func AlreadySeededRandomString ¶ added in v0.2.5
func AssertDBRecordCount ¶ added in v0.2.15
func AssignAddressID ¶
func AssignMessageSenderID ¶
func AuctionFileModel ¶
func AuctionFileModel() event.InsertionModel
func BiteModel ¶
func BiteModel() event.InsertionModel
func Cat100Address ¶
func Cat100Address() string
func Cat110Address ¶
func Cat110Address() string
func CatClawModel ¶
func CatClawModel() event.InsertionModel
func CatFileBoxModel ¶
func CatFileBoxModel() event.InsertionModel
func CatFileChopModel ¶
func CatFileChopModel() event.InsertionModel
func CatFileDunkModel ¶
func CatFileDunkModel() event.InsertionModel
func CatFileFlipModel ¶
func CatFileFlipModel() event.InsertionModel
func CatFileLumpModel ¶
func CatFileLumpModel() event.InsertionModel
func CatFileVowModel ¶ added in v0.2.2
func CatFileVowModel() event.InsertionModel
func CdpManagerAddress ¶ added in v0.2.15
func CdpManagerAddress() string
func CopyModel ¶ added in v0.2.8
func CopyModel(model event.InsertionModel) event.InsertionModel
Returns a deep copy of the given model, so tests aren't getting the same map/slice references
func CreateLogs ¶ added in v0.2.15
func CreateTestHeader ¶ added in v0.2.15
Create a header to reference in an event, returning headerID
func CreateTestLog ¶ added in v0.2.15
Create a header sync log to reference in an event, returning inserted header sync log
func DealModel ¶
func DealModel() event.InsertionModel
func DentModel ¶
func DentModel() event.InsertionModel
func DenyModel ¶
func DenyModel() event.InsertionModel
func EthLogMedianPriceModel ¶
func EthLogMedianPriceModel() event.InsertionModel
func FlapKickModel ¶
func FlapKickModel() event.InsertionModel
func FlapV100Address ¶
func FlapV100Address() string
func FlapV109Address ¶
func FlapV109Address() string
func FlipBatV100Address ¶
func FlipBatV100Address() string
func FlipBatV109Address ¶
func FlipBatV109Address() string
func FlipBatV110Address ¶
func FlipBatV110Address() string
func FlipCompV112Address ¶
func FlipCompV112Address() string
func FlipEthV100Address ¶
func FlipEthV100Address() string
func FlipEthV109Address ¶
func FlipEthV109Address() string
func FlipEthV110Address ¶
func FlipEthV110Address() string
func FlipFileCatModel ¶
func FlipFileCatModel() event.InsertionModel
func FlipKickModel ¶
func FlipKickModel() event.InsertionModel
func FlipKncAV108Address ¶
func FlipKncAV108Address() string
func FlipKncAV109Address ¶
func FlipKncAV109Address() string
func FlipLinkV112Address ¶
func FlipLinkV112Address() string
func FlipLrcV112Address ¶
func FlipLrcV112Address() string
func FlipManaAV109Address ¶
func FlipManaAV109Address() string
func FlipPaxusdAV111Address ¶
func FlipPaxusdAV111Address() string
func FlipTusdAV107Address ¶
func FlipTusdAV107Address() string
func FlipTusdAV109Address ¶
func FlipTusdAV109Address() string
func FlipUsdcAV104Address ¶
func FlipUsdcAV104Address() string
func FlipUsdcAV109Address ¶
func FlipUsdcAV109Address() string
func FlipUsdcBV107Address ¶
func FlipUsdcBV107Address() string
func FlipUsdcBV109Address ¶
func FlipUsdcBV109Address() string
func FlipUsdtAV111Address ¶
func FlipUsdtAV111Address() string
func FlipV100Addresses ¶
func FlipV100Addresses() []string
func FlipV110Addresses ¶
func FlipV110Addresses() []string
func FlipWbtcAV106Address ¶
func FlipWbtcAV106Address() string
func FlipWbtcAV109Address ¶
func FlipWbtcAV109Address() string
func FlipZrxAV108Address ¶
func FlipZrxAV108Address() string
func FlipZrxAV109Address ¶
func FlipZrxAV109Address() string
func FlopKickModel ¶
func FlopKickModel() event.InsertionModel
func FlopV101Address ¶
func FlopV101Address() string
func FlopV109Address ¶
func FlopV109Address() string
func JugAddress ¶ added in v0.2.15
func JugAddress() string
func JugDripModel ¶ added in v0.2.2
func JugDripModel() event.InsertionModel
func JugFileBaseModel ¶ added in v0.2.2
func JugFileBaseModel() event.InsertionModel
func JugFileIlkModel ¶ added in v0.2.2
func JugFileIlkModel() event.InsertionModel
func JugFileVowModel ¶ added in v0.2.2
func JugFileVowModel() event.InsertionModel
func JugInitModel ¶ added in v0.2.6
func JugInitModel() event.InsertionModel
func LogValueModel ¶ added in v0.2.17
func LogValueModel() event.InsertionModel
func MedianAddresses ¶
func MedianAddresses() []string
func MedianBatAddress ¶
func MedianBatAddress() string
func MedianCompAddress ¶
func MedianCompAddress() string
func MedianDissBatchModelFiveAddresses ¶
func MedianDissBatchModelFiveAddresses() event.InsertionModel
func MedianDissBatchModelOneAddress ¶
func MedianDissBatchModelOneAddress() event.InsertionModel
func MedianDissSingleModel ¶
func MedianDissSingleModel() event.InsertionModel
func MedianDropModelWithFiveAccounts ¶
func MedianDropModelWithFiveAccounts() event.InsertionModel
func MedianDropModelWithOneAccount ¶
func MedianDropModelWithOneAccount() event.InsertionModel
func MedianEthAddress ¶
func MedianEthAddress() string
func MedianKissBatchModelFiveAddresses ¶
func MedianKissBatchModelFiveAddresses() event.InsertionModel
func MedianKissBatchModelOneAddress ¶
func MedianKissBatchModelOneAddress() event.InsertionModel
func MedianKissSingleModel ¶
func MedianKissSingleModel() event.InsertionModel
func MedianKncAddress ¶
func MedianKncAddress() string
func MedianLiftModelWithFiveAccounts ¶
func MedianLiftModelWithFiveAccounts() event.InsertionModel
func MedianLiftModelWithOneAccount ¶
func MedianLiftModelWithOneAccount() event.InsertionModel
func MedianLinkAddress ¶
func MedianLinkAddress() string
func MedianLrcAddress ¶
func MedianLrcAddress() string
func MedianManaAddress ¶
func MedianManaAddress() string
func MedianUsdtAddress ¶
func MedianUsdtAddress() string
func MedianWbtcAddress ¶
func MedianWbtcAddress() string
func MedianZrxAddress ¶
func MedianZrxAddress() string
func NewCdpModel ¶ added in v0.2.15
func NewCdpModel() event.InsertionModel
func OsmAddresses ¶ added in v0.2.17
func OsmAddresses() []string
func OsmBatAddress ¶
func OsmBatAddress() string
func OsmChangeModel ¶
func OsmChangeModel() event.InsertionModel
func OsmCompAddress ¶
func OsmCompAddress() string
func OsmEthAddress ¶
func OsmEthAddress() string
func OsmKncAddress ¶
func OsmKncAddress() string
func OsmLinkAddress ¶
func OsmLinkAddress() string
func OsmLrcAddress ¶
func OsmLrcAddress() string
func OsmManaAddress ¶
func OsmManaAddress() string
func OsmUsdtAddress ¶
func OsmUsdtAddress() string
func OsmWbtcAddress ¶
func OsmWbtcAddress() string
func OsmZrxAddress ¶
func OsmZrxAddress() string
func PotAddress ¶ added in v0.2.17
func PotAddress() string
func PotCageModel ¶ added in v0.2.17
func PotCageModel() event.InsertionModel
func PotDripModel ¶ added in v0.2.17
func PotDripModel() event.InsertionModel
func PotExitModel ¶ added in v0.2.17
func PotExitModel() event.InsertionModel
func PotFileDSRModel ¶ added in v0.2.17
func PotFileDSRModel() event.InsertionModel
func PotFileVowModel ¶ added in v0.2.17
func PotFileVowModel() event.InsertionModel
func PotJoinModel ¶ added in v0.2.17
func PotJoinModel() event.InsertionModel
func RandomString ¶ added in v0.2.2
func RelyModel ¶
func RelyModel() event.InsertionModel
func SetTestConfig ¶ added in v0.2.4
func SetTestConfig() bool
func SpotAddress ¶ added in v0.2.15
func SpotAddress() string
func SpotFileMatModel ¶ added in v0.2.7
func SpotFileMatModel() event.InsertionModel
func SpotFileParModel ¶ added in v0.2.17
func SpotFileParModel() event.InsertionModel
func SpotFilePipModel ¶ added in v0.2.7
func SpotFilePipModel() event.InsertionModel
func SpotPokeModel ¶ added in v0.2.7
func SpotPokeModel() event.InsertionModel
func TendModel ¶
func TendModel() event.InsertionModel
func TickModel ¶ added in v0.2.15
func TickModel() event.InsertionModel
func VatAddress ¶ added in v0.2.15
func VatAddress() string
func VatDenyModel ¶
func VatDenyModel() event.InsertionModel
func VatFileDebtCeilingModel ¶ added in v0.2.2
func VatFileDebtCeilingModel() event.InsertionModel
func VatFileIlkDustModel ¶ added in v0.2.2
func VatFileIlkDustModel() event.InsertionModel
func VatFileIlkLineModel ¶ added in v0.2.2
func VatFileIlkLineModel() event.InsertionModel
func VatFileIlkSpotModel ¶ added in v0.2.2
func VatFileIlkSpotModel() event.InsertionModel
func VatFluxModel ¶
func VatFluxModel() event.InsertionModel
func VatFoldModelWithNegativeRate ¶ added in v0.2.3
func VatFoldModelWithNegativeRate() event.InsertionModel
func VatFoldModelWithPositiveRate ¶ added in v0.2.3
func VatFoldModelWithPositiveRate() event.InsertionModel
func VatForkModelWithNegativeDinkDart ¶ added in v0.2.6
func VatForkModelWithNegativeDinkDart() event.InsertionModel
func VatForkModelWithPositiveDinkDart ¶ added in v0.2.6
func VatForkModelWithPositiveDinkDart() event.InsertionModel
func VatFrobModelWithNegativeDink ¶ added in v0.2.3
func VatFrobModelWithNegativeDink() event.InsertionModel
func VatFrobModelWithPositiveDart ¶ added in v0.2.3
func VatFrobModelWithPositiveDart() event.InsertionModel
func VatGrabModelWithNegativeDink ¶ added in v0.2.3
func VatGrabModelWithNegativeDink() event.InsertionModel
func VatGrabModelWithPositiveDink ¶ added in v0.2.3
func VatGrabModelWithPositiveDink() event.InsertionModel
func VatHopeModel ¶
func VatHopeModel() event.InsertionModel
func VatInitModel ¶
func VatInitModel() event.InsertionModel
func VatNopeModel ¶
func VatNopeModel() event.InsertionModel
func VatRelyModel ¶
func VatRelyModel() event.InsertionModel
func VatSlipModelWithNegativeWad ¶ added in v0.2.3
func VatSlipModelWithNegativeWad() event.InsertionModel
func VatSlipModelWithPositiveWad ¶ added in v0.2.3
func VatSlipModelWithPositiveWad() event.InsertionModel
func VowAddress ¶ added in v0.2.15
func VowAddress() string
func VowFessModel ¶ added in v0.2.2
func VowFessModel() event.InsertionModel
func VowFileAuctionAddressModel ¶
func VowFileAuctionAddressModel() event.InsertionModel
func VowFileAuctionAttributesModel ¶
func VowFileAuctionAttributesModel() event.InsertionModel
func VowHealModel ¶
func VowHealModel() event.InsertionModel
func YankModel ¶ added in v0.2.8
func YankModel() event.InsertionModel
Types ¶
type GenericEntity ¶
type GenericEntity struct{}
type GenericModel ¶
type GenericModel struct{}
type WrongEntity ¶
type WrongEntity struct{}
type WrongModel ¶
type WrongModel struct{}
Source Files ¶
- 0.go
- auction_file.go
- bite.go
- cat_claw.go
- cat_file.go
- config.go
- config_values.go
- deal.go
- dent.go
- deny.go
- flap_kick.go
- flip_file.go
- flip_kick.go
- flop_kick.go
- generic.go
- jug_drip.go
- jug_file.go
- jug_init.go
- log_median_price.go
- log_value.go
- median_diss.go
- median_drop.go
- median_kiss.go
- median_lift.go
- newcdp.go
- osm_change.go
- pot_cage.go
- pot_drip.go
- pot_exit.go
- pot_file.go
- pot_join.go
- rely.go
- spot_file.go
- spot_poke.go
- tend.go
- test_helpers.go
- tick.go
- vat_file.go
- vat_flux.go
- vat_fold.go
- vat_fork.go
- vat_frob.go
- vat_grab.go
- vat_heal.go
- vat_hope.go
- vat_init.go
- vat_move.go
- vat_nope.go
- vat_slip.go
- vat_suck.go
- vow_fess.go
- vow_file.go
- vow_flog.go
- vow_heal.go
- wrong_types.go
- yank.go
Click to show internal directories.
Click to hide internal directories.