Versions in this module Expand all Collapse all v0 v0.0.1 Dec 13, 2023 Changes in this version + type DB interface + SubmitterDB func() submitterDB.Service + type Reader interface + GetDeadlineQueueEvents func(ctx context.Context) ([]*model.DeadlineQueue, error) + GetDestinationBridgeEvent func(ctx context.Context, transactionID string) (*model.DestinationBridgeEvent, error) + GetLastIndexed func(ctx context.Context, chainID uint32, address common.Address) (uint64, error) + GetOriginBridgeEvent func(ctx context.Context, transactionID string) (*model.OriginBridgeEvent, error) + GetToken func(ctx context.Context, tokenID string) (*model.Token, error) + type TestDB interface + UNSAFE_DB func() *gorm.DB + type Writer interface + RemoveDeadlineQueueEvent func(ctx context.Context, eventID string) error + StoreDeadlineQueueEvent func(ctx context.Context, entry *model.DeadlineQueue) error + StoreDestinationBridgeEvent func(ctx context.Context, log *types.Log, originEvent *model.OriginBridgeEvent) error + StoreLastIndexed func(ctx context.Context, contractAddress common.Address, chainID uint32, ...) error + StoreOriginBridgeEvent func(ctx context.Context, chainID uint32, log *types.Log, ...) error + StoreToken func(ctx context.Context, token *model.Token) error