Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: interface.go
Generated by this command:
mockgen -source=interface.go -destination=mock/general.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: model.go
Generated by this command:
mockgen -source=model.go -destination=mock/model.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: rollback.go
Generated by this command:
mockgen -source=rollback.go -destination=mock/rollback.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: saver.go
Generated by this command:
mockgen -source=saver.go -destination=mock/saver.go -package=mock -typed
Package mock is a generated GoMock package.
Index ¶
- type GeneralRepositoryCreateIndexCall
- func (c *GeneralRepositoryCreateIndexCall) Do(f func(context.Context, string, string, any) error) *GeneralRepositoryCreateIndexCall
- func (c *GeneralRepositoryCreateIndexCall) DoAndReturn(f func(context.Context, string, string, any) error) *GeneralRepositoryCreateIndexCall
- func (c *GeneralRepositoryCreateIndexCall) Return(arg0 error) *GeneralRepositoryCreateIndexCall
- type GeneralRepositoryDropCall
- type GeneralRepositoryInitDatabaseCall
- func (c *GeneralRepositoryInitDatabaseCall) Do(f func(context.Context) error) *GeneralRepositoryInitDatabaseCall
- func (c *GeneralRepositoryInitDatabaseCall) DoAndReturn(f func(context.Context) error) *GeneralRepositoryInitDatabaseCall
- func (c *GeneralRepositoryInitDatabaseCall) Return(arg0 error) *GeneralRepositoryInitDatabaseCall
- type GeneralRepositoryIsRecordNotFoundCall
- func (c *GeneralRepositoryIsRecordNotFoundCall) Do(f func(error) bool) *GeneralRepositoryIsRecordNotFoundCall
- func (c *GeneralRepositoryIsRecordNotFoundCall) DoAndReturn(f func(error) bool) *GeneralRepositoryIsRecordNotFoundCall
- func (c *GeneralRepositoryIsRecordNotFoundCall) Return(arg0 bool) *GeneralRepositoryIsRecordNotFoundCall
- type GeneralRepositoryTablesExistCall
- func (c *GeneralRepositoryTablesExistCall) Do(f func(context.Context) bool) *GeneralRepositoryTablesExistCall
- func (c *GeneralRepositoryTablesExistCall) DoAndReturn(f func(context.Context) bool) *GeneralRepositoryTablesExistCall
- func (c *GeneralRepositoryTablesExistCall) Return(arg0 bool) *GeneralRepositoryTablesExistCall
- type MockGeneralRepository
- func (m *MockGeneralRepository) CreateIndex(ctx context.Context, name, columns string, model any) error
- func (m *MockGeneralRepository) Drop(ctx context.Context) error
- func (m *MockGeneralRepository) EXPECT() *MockGeneralRepositoryMockRecorder
- func (m *MockGeneralRepository) InitDatabase(ctx context.Context) error
- func (m *MockGeneralRepository) IsRecordNotFound(err error) bool
- func (m *MockGeneralRepository) TablesExist(ctx context.Context) bool
- type MockGeneralRepositoryMockRecorder
- func (mr *MockGeneralRepositoryMockRecorder) CreateIndex(ctx, name, columns, model any) *GeneralRepositoryCreateIndexCall
- func (mr *MockGeneralRepositoryMockRecorder) Drop(ctx any) *GeneralRepositoryDropCall
- func (mr *MockGeneralRepositoryMockRecorder) InitDatabase(ctx any) *GeneralRepositoryInitDatabaseCall
- func (mr *MockGeneralRepositoryMockRecorder) IsRecordNotFound(err any) *GeneralRepositoryIsRecordNotFoundCall
- func (mr *MockGeneralRepositoryMockRecorder) TablesExist(ctx any) *GeneralRepositoryTablesExistCall
- type MockModel
- type MockModelMockRecorder
- type MockRollback
- func (m *MockRollback) Commit() error
- func (m *MockRollback) DeleteAll(ctx context.Context, model any, level int64) (int, error)
- func (m *MockRollback) DeleteBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
- func (m *MockRollback) DeleteScriptsConstants(ctx context.Context, scriptIds, constantsIds []int64) error
- func (m *MockRollback) DeleteTicketBalances(ctx context.Context, ticketIds []int64) error
- func (m *MockRollback) DeleteTickets(ctx context.Context, level int64) ([]int64, error)
- func (m *MockRollback) EXPECT() *MockRollbackMockRecorder
- func (m *MockRollback) GetLastAction(ctx context.Context, addressIds ...int64) ([]models.LastAction, error)
- func (m *MockRollback) GetMigrations(ctx context.Context, level int64) ([]migration.Migration, error)
- func (m *MockRollback) GetOperations(ctx context.Context, level int64) ([]operation.Operation, error)
- func (m *MockRollback) GetTicketUpdates(ctx context.Context, level int64) ([]ticket.TicketUpdate, error)
- func (m *MockRollback) GlobalConstants(ctx context.Context, level int64) ([]contract.GlobalConstant, error)
- func (m *MockRollback) LastDiff(ctx context.Context, ptr int64, keyHash string, skipRemoved bool) (bigmapdiff.BigMapDiff, error)
- func (m *MockRollback) Protocols(ctx context.Context, level int64) error
- func (m *MockRollback) Rollback() error
- func (m *MockRollback) SaveBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
- func (m *MockRollback) Scripts(ctx context.Context, level int64) ([]contract.Script, error)
- func (m *MockRollback) StatesChangedAtLevel(ctx context.Context, level int64) ([]bigmapdiff.BigMapState, error)
- func (m *MockRollback) TicketBalances(ctx context.Context, balances ...*ticket.Balance) error
- func (m *MockRollback) UpdateAccountStats(ctx context.Context, account account.Account) error
- func (m *MockRollback) UpdateStats(ctx context.Context, stats stats.Stats) error
- func (m *MockRollback) UpdateTicket(ctx context.Context, ticket ticket.Ticket) error
- type MockRollbackMockRecorder
- func (mr *MockRollbackMockRecorder) Commit() *RollbackCommitCall
- func (mr *MockRollbackMockRecorder) DeleteAll(ctx, model, level any) *RollbackDeleteAllCall
- func (mr *MockRollbackMockRecorder) DeleteBigMapState(ctx, state any) *RollbackDeleteBigMapStateCall
- func (mr *MockRollbackMockRecorder) DeleteScriptsConstants(ctx, scriptIds, constantsIds any) *RollbackDeleteScriptsConstantsCall
- func (mr *MockRollbackMockRecorder) DeleteTicketBalances(ctx, ticketIds any) *RollbackDeleteTicketBalancesCall
- func (mr *MockRollbackMockRecorder) DeleteTickets(ctx, level any) *RollbackDeleteTicketsCall
- func (mr *MockRollbackMockRecorder) GetLastAction(ctx any, addressIds ...any) *RollbackGetLastActionCall
- func (mr *MockRollbackMockRecorder) GetMigrations(ctx, level any) *RollbackGetMigrationsCall
- func (mr *MockRollbackMockRecorder) GetOperations(ctx, level any) *RollbackGetOperationsCall
- func (mr *MockRollbackMockRecorder) GetTicketUpdates(ctx, level any) *RollbackGetTicketUpdatesCall
- func (mr *MockRollbackMockRecorder) GlobalConstants(ctx, level any) *RollbackGlobalConstantsCall
- func (mr *MockRollbackMockRecorder) LastDiff(ctx, ptr, keyHash, skipRemoved any) *RollbackLastDiffCall
- func (mr *MockRollbackMockRecorder) Protocols(ctx, level any) *RollbackProtocolsCall
- func (mr *MockRollbackMockRecorder) Rollback() *RollbackRollbackCall
- func (mr *MockRollbackMockRecorder) SaveBigMapState(ctx, state any) *RollbackSaveBigMapStateCall
- func (mr *MockRollbackMockRecorder) Scripts(ctx, level any) *RollbackScriptsCall
- func (mr *MockRollbackMockRecorder) StatesChangedAtLevel(ctx, level any) *RollbackStatesChangedAtLevelCall
- func (mr *MockRollbackMockRecorder) TicketBalances(ctx any, balances ...any) *RollbackTicketBalancesCall
- func (mr *MockRollbackMockRecorder) UpdateAccountStats(ctx, account any) *RollbackUpdateAccountStatsCall
- func (mr *MockRollbackMockRecorder) UpdateStats(ctx, stats any) *RollbackUpdateStatsCall
- func (mr *MockRollbackMockRecorder) UpdateTicket(ctx, ticket any) *RollbackUpdateTicketCall
- type MockSaver
- func (m *MockSaver) Commit() error
- func (m *MockSaver) DeleteAll(ctx context.Context, model any, level int64) error
- func (m *MockSaver) DeleteBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
- func (m *MockSaver) EXPECT() *MockSaverMockRecorder
- func (m *MockSaver) GetContractsLastAction(ctx context.Context, addressIds ...int64) ([]models.LastAction, error)
- func (m *MockSaver) GetOperations(ctx context.Context, level int64) ([]operation.Operation, error)
- func (m *MockSaver) LastDiff(ctx context.Context, ptr int64, keyHash string, skipRemoved bool) (bigmapdiff.BigMapDiff, error)
- func (m *MockSaver) Rollback() error
- func (m *MockSaver) SaveBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
- func (m *MockSaver) StatesChangedAtLevel(ctx context.Context, level int64) ([]bigmapdiff.BigMapState, error)
- func (m *MockSaver) UpdateContractStats(ctx context.Context, accountId int64, lastAction time.Time, txCount int64) error
- type MockSaverMockRecorder
- func (mr *MockSaverMockRecorder) Commit() *SaverCommitCall
- func (mr *MockSaverMockRecorder) DeleteAll(ctx, model, level any) *SaverDeleteAllCall
- func (mr *MockSaverMockRecorder) DeleteBigMapState(ctx, state any) *SaverDeleteBigMapStateCall
- func (mr *MockSaverMockRecorder) GetContractsLastAction(ctx any, addressIds ...any) *SaverGetContractsLastActionCall
- func (mr *MockSaverMockRecorder) GetOperations(ctx, level any) *SaverGetOperationsCall
- func (mr *MockSaverMockRecorder) LastDiff(ctx, ptr, keyHash, skipRemoved any) *SaverLastDiffCall
- func (mr *MockSaverMockRecorder) Rollback() *SaverRollbackCall
- func (mr *MockSaverMockRecorder) SaveBigMapState(ctx, state any) *SaverSaveBigMapStateCall
- func (mr *MockSaverMockRecorder) StatesChangedAtLevel(ctx, level any) *SaverStatesChangedAtLevelCall
- func (mr *MockSaverMockRecorder) UpdateContractStats(ctx, accountId, lastAction, txCount any) *SaverUpdateContractStatsCall
- type MockTransaction
- func (m *MockTransaction) Accounts(ctx context.Context, accounts ...*account.Account) error
- func (m *MockTransaction) BabylonUpdateBigMapDiffs(ctx context.Context, contract string, ptr int64) (int, error)
- func (m *MockTransaction) BabylonUpdateNonDelegator(ctx context.Context, contract *contract.Contract) error
- func (m *MockTransaction) BigMapActions(ctx context.Context, bigmapdiffs ...*bigmapaction.BigMapAction) error
- func (m *MockTransaction) BigMapDiffs(ctx context.Context, bigmapdiffs ...*bigmapdiff.BigMapDiff) error
- func (m *MockTransaction) BigMapStates(ctx context.Context, states ...*bigmapdiff.BigMapState) error
- func (m *MockTransaction) Block(ctx context.Context, block *block.Block) error
- func (m *MockTransaction) Commit() error
- func (m *MockTransaction) Contracts(ctx context.Context, contracts ...*contract.Contract) error
- func (m *MockTransaction) DeleteBigMapStatesByContract(ctx context.Context, contract string) ([]bigmapdiff.BigMapState, error)
- func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
- func (m *MockTransaction) GlobalConstants(ctx context.Context, constants ...*contract.GlobalConstant) error
- func (m *MockTransaction) JakartaUpdateNonDelegator(ctx context.Context, contract *contract.Contract) error
- func (m *MockTransaction) JakartaVesting(ctx context.Context, contract *contract.Contract) error
- func (m *MockTransaction) Migrations(ctx context.Context, migrations ...*migration.Migration) error
- func (m *MockTransaction) Operations(ctx context.Context, operations ...*operation.Operation) error
- func (m *MockTransaction) Protocol(ctx context.Context, proto *protocol.Protocol) error
- func (m *MockTransaction) Rollback() error
- func (m *MockTransaction) Save(ctx context.Context, data any) error
- func (m *MockTransaction) ScriptConstant(ctx context.Context, data ...*contract.ScriptConstants) error
- func (m *MockTransaction) Scripts(ctx context.Context, scripts ...*contract.Script) error
- func (m *MockTransaction) SmartRollups(ctx context.Context, rollups ...*smartrollup.SmartRollup) error
- func (m *MockTransaction) TickerUpdates(ctx context.Context, updates ...*ticket.TicketUpdate) error
- func (m *MockTransaction) TicketBalances(ctx context.Context, balances ...*ticket.Balance) error
- func (m *MockTransaction) Tickets(ctx context.Context, tickets ...*ticket.Ticket) error
- func (m *MockTransaction) ToBabylon(ctx context.Context) error
- func (m *MockTransaction) ToJakarta(ctx context.Context) error
- func (m *MockTransaction) UpdateStats(ctx context.Context, stats stats.Stats) error
- type MockTransactionMockRecorder
- func (mr *MockTransactionMockRecorder) Accounts(ctx any, accounts ...any) *TransactionAccountsCall
- func (mr *MockTransactionMockRecorder) BabylonUpdateBigMapDiffs(ctx, contract, ptr any) *TransactionBabylonUpdateBigMapDiffsCall
- func (mr *MockTransactionMockRecorder) BabylonUpdateNonDelegator(ctx, contract any) *TransactionBabylonUpdateNonDelegatorCall
- func (mr *MockTransactionMockRecorder) BigMapActions(ctx any, bigmapdiffs ...any) *TransactionBigMapActionsCall
- func (mr *MockTransactionMockRecorder) BigMapDiffs(ctx any, bigmapdiffs ...any) *TransactionBigMapDiffsCall
- func (mr *MockTransactionMockRecorder) BigMapStates(ctx any, states ...any) *TransactionBigMapStatesCall
- func (mr *MockTransactionMockRecorder) Block(ctx, block any) *TransactionBlockCall
- func (mr *MockTransactionMockRecorder) Commit() *TransactionCommitCall
- func (mr *MockTransactionMockRecorder) Contracts(ctx any, contracts ...any) *TransactionContractsCall
- func (mr *MockTransactionMockRecorder) DeleteBigMapStatesByContract(ctx, contract any) *TransactionDeleteBigMapStatesByContractCall
- func (mr *MockTransactionMockRecorder) GlobalConstants(ctx any, constants ...any) *TransactionGlobalConstantsCall
- func (mr *MockTransactionMockRecorder) JakartaUpdateNonDelegator(ctx, contract any) *TransactionJakartaUpdateNonDelegatorCall
- func (mr *MockTransactionMockRecorder) JakartaVesting(ctx, contract any) *TransactionJakartaVestingCall
- func (mr *MockTransactionMockRecorder) Migrations(ctx any, migrations ...any) *TransactionMigrationsCall
- func (mr *MockTransactionMockRecorder) Operations(ctx any, operations ...any) *TransactionOperationsCall
- func (mr *MockTransactionMockRecorder) Protocol(ctx, proto any) *TransactionProtocolCall
- func (mr *MockTransactionMockRecorder) Rollback() *TransactionRollbackCall
- func (mr *MockTransactionMockRecorder) Save(ctx, data any) *TransactionSaveCall
- func (mr *MockTransactionMockRecorder) ScriptConstant(ctx any, data ...any) *TransactionScriptConstantCall
- func (mr *MockTransactionMockRecorder) Scripts(ctx any, scripts ...any) *TransactionScriptsCall
- func (mr *MockTransactionMockRecorder) SmartRollups(ctx any, rollups ...any) *TransactionSmartRollupsCall
- func (mr *MockTransactionMockRecorder) TickerUpdates(ctx any, updates ...any) *TransactionTickerUpdatesCall
- func (mr *MockTransactionMockRecorder) TicketBalances(ctx any, balances ...any) *TransactionTicketBalancesCall
- func (mr *MockTransactionMockRecorder) Tickets(ctx any, tickets ...any) *TransactionTicketsCall
- func (mr *MockTransactionMockRecorder) ToBabylon(ctx any) *TransactionToBabylonCall
- func (mr *MockTransactionMockRecorder) ToJakarta(ctx any) *TransactionToJakartaCall
- func (mr *MockTransactionMockRecorder) UpdateStats(ctx, stats any) *TransactionUpdateStatsCall
- type ModelGetIDCall
- type ModelTableNameCall
- type RollbackCommitCall
- type RollbackDeleteAllCall
- func (c *RollbackDeleteAllCall) Do(f func(context.Context, any, int64) (int, error)) *RollbackDeleteAllCall
- func (c *RollbackDeleteAllCall) DoAndReturn(f func(context.Context, any, int64) (int, error)) *RollbackDeleteAllCall
- func (c *RollbackDeleteAllCall) Return(arg0 int, arg1 error) *RollbackDeleteAllCall
- type RollbackDeleteBigMapStateCall
- func (c *RollbackDeleteBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackDeleteBigMapStateCall
- func (c *RollbackDeleteBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackDeleteBigMapStateCall
- func (c *RollbackDeleteBigMapStateCall) Return(arg0 error) *RollbackDeleteBigMapStateCall
- type RollbackDeleteScriptsConstantsCall
- func (c *RollbackDeleteScriptsConstantsCall) Do(f func(context.Context, []int64, []int64) error) *RollbackDeleteScriptsConstantsCall
- func (c *RollbackDeleteScriptsConstantsCall) DoAndReturn(f func(context.Context, []int64, []int64) error) *RollbackDeleteScriptsConstantsCall
- func (c *RollbackDeleteScriptsConstantsCall) Return(arg0 error) *RollbackDeleteScriptsConstantsCall
- type RollbackDeleteTicketBalancesCall
- func (c *RollbackDeleteTicketBalancesCall) Do(f func(context.Context, []int64) error) *RollbackDeleteTicketBalancesCall
- func (c *RollbackDeleteTicketBalancesCall) DoAndReturn(f func(context.Context, []int64) error) *RollbackDeleteTicketBalancesCall
- func (c *RollbackDeleteTicketBalancesCall) Return(err error) *RollbackDeleteTicketBalancesCall
- type RollbackDeleteTicketsCall
- func (c *RollbackDeleteTicketsCall) Do(f func(context.Context, int64) ([]int64, error)) *RollbackDeleteTicketsCall
- func (c *RollbackDeleteTicketsCall) DoAndReturn(f func(context.Context, int64) ([]int64, error)) *RollbackDeleteTicketsCall
- func (c *RollbackDeleteTicketsCall) Return(ids []int64, err error) *RollbackDeleteTicketsCall
- type RollbackGetLastActionCall
- func (c *RollbackGetLastActionCall) Do(f func(context.Context, ...int64) ([]models.LastAction, error)) *RollbackGetLastActionCall
- func (c *RollbackGetLastActionCall) DoAndReturn(f func(context.Context, ...int64) ([]models.LastAction, error)) *RollbackGetLastActionCall
- func (c *RollbackGetLastActionCall) Return(arg0 []models.LastAction, arg1 error) *RollbackGetLastActionCall
- type RollbackGetMigrationsCall
- func (c *RollbackGetMigrationsCall) Do(f func(context.Context, int64) ([]migration.Migration, error)) *RollbackGetMigrationsCall
- func (c *RollbackGetMigrationsCall) DoAndReturn(f func(context.Context, int64) ([]migration.Migration, error)) *RollbackGetMigrationsCall
- func (c *RollbackGetMigrationsCall) Return(arg0 []migration.Migration, arg1 error) *RollbackGetMigrationsCall
- type RollbackGetOperationsCall
- func (c *RollbackGetOperationsCall) Do(f func(context.Context, int64) ([]operation.Operation, error)) *RollbackGetOperationsCall
- func (c *RollbackGetOperationsCall) DoAndReturn(f func(context.Context, int64) ([]operation.Operation, error)) *RollbackGetOperationsCall
- func (c *RollbackGetOperationsCall) Return(arg0 []operation.Operation, arg1 error) *RollbackGetOperationsCall
- type RollbackGetTicketUpdatesCall
- func (c *RollbackGetTicketUpdatesCall) Do(f func(context.Context, int64) ([]ticket.TicketUpdate, error)) *RollbackGetTicketUpdatesCall
- func (c *RollbackGetTicketUpdatesCall) DoAndReturn(f func(context.Context, int64) ([]ticket.TicketUpdate, error)) *RollbackGetTicketUpdatesCall
- func (c *RollbackGetTicketUpdatesCall) Return(arg0 []ticket.TicketUpdate, arg1 error) *RollbackGetTicketUpdatesCall
- type RollbackGlobalConstantsCall
- func (c *RollbackGlobalConstantsCall) Do(f func(context.Context, int64) ([]contract.GlobalConstant, error)) *RollbackGlobalConstantsCall
- func (c *RollbackGlobalConstantsCall) DoAndReturn(f func(context.Context, int64) ([]contract.GlobalConstant, error)) *RollbackGlobalConstantsCall
- func (c *RollbackGlobalConstantsCall) Return(arg0 []contract.GlobalConstant, arg1 error) *RollbackGlobalConstantsCall
- type RollbackLastDiffCall
- func (c *RollbackLastDiffCall) Do(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *RollbackLastDiffCall
- func (c *RollbackLastDiffCall) DoAndReturn(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *RollbackLastDiffCall
- func (c *RollbackLastDiffCall) Return(arg0 bigmapdiff.BigMapDiff, arg1 error) *RollbackLastDiffCall
- type RollbackProtocolsCall
- type RollbackRollbackCall
- type RollbackSaveBigMapStateCall
- func (c *RollbackSaveBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackSaveBigMapStateCall
- func (c *RollbackSaveBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackSaveBigMapStateCall
- func (c *RollbackSaveBigMapStateCall) Return(arg0 error) *RollbackSaveBigMapStateCall
- type RollbackScriptsCall
- func (c *RollbackScriptsCall) Do(f func(context.Context, int64) ([]contract.Script, error)) *RollbackScriptsCall
- func (c *RollbackScriptsCall) DoAndReturn(f func(context.Context, int64) ([]contract.Script, error)) *RollbackScriptsCall
- func (c *RollbackScriptsCall) Return(arg0 []contract.Script, arg1 error) *RollbackScriptsCall
- type RollbackStatesChangedAtLevelCall
- func (c *RollbackStatesChangedAtLevelCall) Do(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *RollbackStatesChangedAtLevelCall
- func (c *RollbackStatesChangedAtLevelCall) DoAndReturn(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *RollbackStatesChangedAtLevelCall
- func (c *RollbackStatesChangedAtLevelCall) Return(arg0 []bigmapdiff.BigMapState, arg1 error) *RollbackStatesChangedAtLevelCall
- type RollbackTicketBalancesCall
- func (c *RollbackTicketBalancesCall) Do(f func(context.Context, ...*ticket.Balance) error) *RollbackTicketBalancesCall
- func (c *RollbackTicketBalancesCall) DoAndReturn(f func(context.Context, ...*ticket.Balance) error) *RollbackTicketBalancesCall
- func (c *RollbackTicketBalancesCall) Return(arg0 error) *RollbackTicketBalancesCall
- type RollbackUpdateAccountStatsCall
- func (c *RollbackUpdateAccountStatsCall) Do(f func(context.Context, account.Account) error) *RollbackUpdateAccountStatsCall
- func (c *RollbackUpdateAccountStatsCall) DoAndReturn(f func(context.Context, account.Account) error) *RollbackUpdateAccountStatsCall
- func (c *RollbackUpdateAccountStatsCall) Return(arg0 error) *RollbackUpdateAccountStatsCall
- type RollbackUpdateStatsCall
- type RollbackUpdateTicketCall
- func (c *RollbackUpdateTicketCall) Do(f func(context.Context, ticket.Ticket) error) *RollbackUpdateTicketCall
- func (c *RollbackUpdateTicketCall) DoAndReturn(f func(context.Context, ticket.Ticket) error) *RollbackUpdateTicketCall
- func (c *RollbackUpdateTicketCall) Return(arg0 error) *RollbackUpdateTicketCall
- type SaverCommitCall
- type SaverDeleteAllCall
- type SaverDeleteBigMapStateCall
- func (c *SaverDeleteBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *SaverDeleteBigMapStateCall
- func (c *SaverDeleteBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *SaverDeleteBigMapStateCall
- func (c *SaverDeleteBigMapStateCall) Return(arg0 error) *SaverDeleteBigMapStateCall
- type SaverGetContractsLastActionCall
- func (c *SaverGetContractsLastActionCall) Do(f func(context.Context, ...int64) ([]models.LastAction, error)) *SaverGetContractsLastActionCall
- func (c *SaverGetContractsLastActionCall) DoAndReturn(f func(context.Context, ...int64) ([]models.LastAction, error)) *SaverGetContractsLastActionCall
- func (c *SaverGetContractsLastActionCall) Return(arg0 []models.LastAction, arg1 error) *SaverGetContractsLastActionCall
- type SaverGetOperationsCall
- func (c *SaverGetOperationsCall) Do(f func(context.Context, int64) ([]operation.Operation, error)) *SaverGetOperationsCall
- func (c *SaverGetOperationsCall) DoAndReturn(f func(context.Context, int64) ([]operation.Operation, error)) *SaverGetOperationsCall
- func (c *SaverGetOperationsCall) Return(arg0 []operation.Operation, arg1 error) *SaverGetOperationsCall
- type SaverLastDiffCall
- func (c *SaverLastDiffCall) Do(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *SaverLastDiffCall
- func (c *SaverLastDiffCall) DoAndReturn(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *SaverLastDiffCall
- func (c *SaverLastDiffCall) Return(arg0 bigmapdiff.BigMapDiff, arg1 error) *SaverLastDiffCall
- type SaverRollbackCall
- type SaverSaveBigMapStateCall
- func (c *SaverSaveBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *SaverSaveBigMapStateCall
- func (c *SaverSaveBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *SaverSaveBigMapStateCall
- func (c *SaverSaveBigMapStateCall) Return(arg0 error) *SaverSaveBigMapStateCall
- type SaverStatesChangedAtLevelCall
- func (c *SaverStatesChangedAtLevelCall) Do(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *SaverStatesChangedAtLevelCall
- func (c *SaverStatesChangedAtLevelCall) DoAndReturn(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *SaverStatesChangedAtLevelCall
- func (c *SaverStatesChangedAtLevelCall) Return(arg0 []bigmapdiff.BigMapState, arg1 error) *SaverStatesChangedAtLevelCall
- type SaverUpdateContractStatsCall
- func (c *SaverUpdateContractStatsCall) Do(f func(context.Context, int64, time.Time, int64) error) *SaverUpdateContractStatsCall
- func (c *SaverUpdateContractStatsCall) DoAndReturn(f func(context.Context, int64, time.Time, int64) error) *SaverUpdateContractStatsCall
- func (c *SaverUpdateContractStatsCall) Return(arg0 error) *SaverUpdateContractStatsCall
- type TransactionAccountsCall
- func (c *TransactionAccountsCall) Do(f func(context.Context, ...*account.Account) error) *TransactionAccountsCall
- func (c *TransactionAccountsCall) DoAndReturn(f func(context.Context, ...*account.Account) error) *TransactionAccountsCall
- func (c *TransactionAccountsCall) Return(arg0 error) *TransactionAccountsCall
- type TransactionBabylonUpdateBigMapDiffsCall
- func (c *TransactionBabylonUpdateBigMapDiffsCall) Do(f func(context.Context, string, int64) (int, error)) *TransactionBabylonUpdateBigMapDiffsCall
- func (c *TransactionBabylonUpdateBigMapDiffsCall) DoAndReturn(f func(context.Context, string, int64) (int, error)) *TransactionBabylonUpdateBigMapDiffsCall
- func (c *TransactionBabylonUpdateBigMapDiffsCall) Return(arg0 int, arg1 error) *TransactionBabylonUpdateBigMapDiffsCall
- type TransactionBabylonUpdateNonDelegatorCall
- func (c *TransactionBabylonUpdateNonDelegatorCall) Do(f func(context.Context, *contract.Contract) error) *TransactionBabylonUpdateNonDelegatorCall
- func (c *TransactionBabylonUpdateNonDelegatorCall) DoAndReturn(f func(context.Context, *contract.Contract) error) *TransactionBabylonUpdateNonDelegatorCall
- func (c *TransactionBabylonUpdateNonDelegatorCall) Return(arg0 error) *TransactionBabylonUpdateNonDelegatorCall
- type TransactionBigMapActionsCall
- func (c *TransactionBigMapActionsCall) Do(f func(context.Context, ...*bigmapaction.BigMapAction) error) *TransactionBigMapActionsCall
- func (c *TransactionBigMapActionsCall) DoAndReturn(f func(context.Context, ...*bigmapaction.BigMapAction) error) *TransactionBigMapActionsCall
- func (c *TransactionBigMapActionsCall) Return(arg0 error) *TransactionBigMapActionsCall
- type TransactionBigMapDiffsCall
- func (c *TransactionBigMapDiffsCall) Do(f func(context.Context, ...*bigmapdiff.BigMapDiff) error) *TransactionBigMapDiffsCall
- func (c *TransactionBigMapDiffsCall) DoAndReturn(f func(context.Context, ...*bigmapdiff.BigMapDiff) error) *TransactionBigMapDiffsCall
- func (c *TransactionBigMapDiffsCall) Return(arg0 error) *TransactionBigMapDiffsCall
- type TransactionBigMapStatesCall
- func (c *TransactionBigMapStatesCall) Do(f func(context.Context, ...*bigmapdiff.BigMapState) error) *TransactionBigMapStatesCall
- func (c *TransactionBigMapStatesCall) DoAndReturn(f func(context.Context, ...*bigmapdiff.BigMapState) error) *TransactionBigMapStatesCall
- func (c *TransactionBigMapStatesCall) Return(arg0 error) *TransactionBigMapStatesCall
- type TransactionBlockCall
- type TransactionCommitCall
- type TransactionContractsCall
- func (c *TransactionContractsCall) Do(f func(context.Context, ...*contract.Contract) error) *TransactionContractsCall
- func (c *TransactionContractsCall) DoAndReturn(f func(context.Context, ...*contract.Contract) error) *TransactionContractsCall
- func (c *TransactionContractsCall) Return(arg0 error) *TransactionContractsCall
- type TransactionDeleteBigMapStatesByContractCall
- func (c *TransactionDeleteBigMapStatesByContractCall) Do(f func(context.Context, string) ([]bigmapdiff.BigMapState, error)) *TransactionDeleteBigMapStatesByContractCall
- func (c *TransactionDeleteBigMapStatesByContractCall) DoAndReturn(f func(context.Context, string) ([]bigmapdiff.BigMapState, error)) *TransactionDeleteBigMapStatesByContractCall
- func (c *TransactionDeleteBigMapStatesByContractCall) Return(arg0 []bigmapdiff.BigMapState, arg1 error) *TransactionDeleteBigMapStatesByContractCall
- type TransactionGlobalConstantsCall
- func (c *TransactionGlobalConstantsCall) Do(f func(context.Context, ...*contract.GlobalConstant) error) *TransactionGlobalConstantsCall
- func (c *TransactionGlobalConstantsCall) DoAndReturn(f func(context.Context, ...*contract.GlobalConstant) error) *TransactionGlobalConstantsCall
- func (c *TransactionGlobalConstantsCall) Return(arg0 error) *TransactionGlobalConstantsCall
- type TransactionJakartaUpdateNonDelegatorCall
- func (c *TransactionJakartaUpdateNonDelegatorCall) Do(f func(context.Context, *contract.Contract) error) *TransactionJakartaUpdateNonDelegatorCall
- func (c *TransactionJakartaUpdateNonDelegatorCall) DoAndReturn(f func(context.Context, *contract.Contract) error) *TransactionJakartaUpdateNonDelegatorCall
- func (c *TransactionJakartaUpdateNonDelegatorCall) Return(arg0 error) *TransactionJakartaUpdateNonDelegatorCall
- type TransactionJakartaVestingCall
- func (c *TransactionJakartaVestingCall) Do(f func(context.Context, *contract.Contract) error) *TransactionJakartaVestingCall
- func (c *TransactionJakartaVestingCall) DoAndReturn(f func(context.Context, *contract.Contract) error) *TransactionJakartaVestingCall
- func (c *TransactionJakartaVestingCall) Return(arg0 error) *TransactionJakartaVestingCall
- type TransactionMigrationsCall
- func (c *TransactionMigrationsCall) Do(f func(context.Context, ...*migration.Migration) error) *TransactionMigrationsCall
- func (c *TransactionMigrationsCall) DoAndReturn(f func(context.Context, ...*migration.Migration) error) *TransactionMigrationsCall
- func (c *TransactionMigrationsCall) Return(arg0 error) *TransactionMigrationsCall
- type TransactionOperationsCall
- func (c *TransactionOperationsCall) Do(f func(context.Context, ...*operation.Operation) error) *TransactionOperationsCall
- func (c *TransactionOperationsCall) DoAndReturn(f func(context.Context, ...*operation.Operation) error) *TransactionOperationsCall
- func (c *TransactionOperationsCall) Return(arg0 error) *TransactionOperationsCall
- type TransactionProtocolCall
- func (c *TransactionProtocolCall) Do(f func(context.Context, *protocol.Protocol) error) *TransactionProtocolCall
- func (c *TransactionProtocolCall) DoAndReturn(f func(context.Context, *protocol.Protocol) error) *TransactionProtocolCall
- func (c *TransactionProtocolCall) Return(arg0 error) *TransactionProtocolCall
- type TransactionRollbackCall
- type TransactionSaveCall
- type TransactionScriptConstantCall
- func (c *TransactionScriptConstantCall) Do(f func(context.Context, ...*contract.ScriptConstants) error) *TransactionScriptConstantCall
- func (c *TransactionScriptConstantCall) DoAndReturn(f func(context.Context, ...*contract.ScriptConstants) error) *TransactionScriptConstantCall
- func (c *TransactionScriptConstantCall) Return(arg0 error) *TransactionScriptConstantCall
- type TransactionScriptsCall
- func (c *TransactionScriptsCall) Do(f func(context.Context, ...*contract.Script) error) *TransactionScriptsCall
- func (c *TransactionScriptsCall) DoAndReturn(f func(context.Context, ...*contract.Script) error) *TransactionScriptsCall
- func (c *TransactionScriptsCall) Return(arg0 error) *TransactionScriptsCall
- type TransactionSmartRollupsCall
- func (c *TransactionSmartRollupsCall) Do(f func(context.Context, ...*smartrollup.SmartRollup) error) *TransactionSmartRollupsCall
- func (c *TransactionSmartRollupsCall) DoAndReturn(f func(context.Context, ...*smartrollup.SmartRollup) error) *TransactionSmartRollupsCall
- func (c *TransactionSmartRollupsCall) Return(arg0 error) *TransactionSmartRollupsCall
- type TransactionTickerUpdatesCall
- func (c *TransactionTickerUpdatesCall) Do(f func(context.Context, ...*ticket.TicketUpdate) error) *TransactionTickerUpdatesCall
- func (c *TransactionTickerUpdatesCall) DoAndReturn(f func(context.Context, ...*ticket.TicketUpdate) error) *TransactionTickerUpdatesCall
- func (c *TransactionTickerUpdatesCall) Return(arg0 error) *TransactionTickerUpdatesCall
- type TransactionTicketBalancesCall
- func (c *TransactionTicketBalancesCall) Do(f func(context.Context, ...*ticket.Balance) error) *TransactionTicketBalancesCall
- func (c *TransactionTicketBalancesCall) DoAndReturn(f func(context.Context, ...*ticket.Balance) error) *TransactionTicketBalancesCall
- func (c *TransactionTicketBalancesCall) Return(arg0 error) *TransactionTicketBalancesCall
- type TransactionTicketsCall
- func (c *TransactionTicketsCall) Do(f func(context.Context, ...*ticket.Ticket) error) *TransactionTicketsCall
- func (c *TransactionTicketsCall) DoAndReturn(f func(context.Context, ...*ticket.Ticket) error) *TransactionTicketsCall
- func (c *TransactionTicketsCall) Return(arg0 error) *TransactionTicketsCall
- type TransactionToBabylonCall
- type TransactionToJakartaCall
- type TransactionUpdateStatsCall
- func (c *TransactionUpdateStatsCall) Do(f func(context.Context, stats.Stats) error) *TransactionUpdateStatsCall
- func (c *TransactionUpdateStatsCall) DoAndReturn(f func(context.Context, stats.Stats) error) *TransactionUpdateStatsCall
- func (c *TransactionUpdateStatsCall) Return(arg0 error) *TransactionUpdateStatsCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneralRepositoryCreateIndexCall ¶
GeneralRepositoryCreateIndexCall wrap *gomock.Call
func (*GeneralRepositoryCreateIndexCall) Do ¶
func (c *GeneralRepositoryCreateIndexCall) Do(f func(context.Context, string, string, any) error) *GeneralRepositoryCreateIndexCall
Do rewrite *gomock.Call.Do
func (*GeneralRepositoryCreateIndexCall) DoAndReturn ¶
func (c *GeneralRepositoryCreateIndexCall) DoAndReturn(f func(context.Context, string, string, any) error) *GeneralRepositoryCreateIndexCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*GeneralRepositoryCreateIndexCall) Return ¶
func (c *GeneralRepositoryCreateIndexCall) Return(arg0 error) *GeneralRepositoryCreateIndexCall
Return rewrite *gomock.Call.Return
type GeneralRepositoryDropCall ¶
GeneralRepositoryDropCall wrap *gomock.Call
func (*GeneralRepositoryDropCall) Do ¶
func (c *GeneralRepositoryDropCall) Do(f func(context.Context) error) *GeneralRepositoryDropCall
Do rewrite *gomock.Call.Do
func (*GeneralRepositoryDropCall) DoAndReturn ¶
func (c *GeneralRepositoryDropCall) DoAndReturn(f func(context.Context) error) *GeneralRepositoryDropCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*GeneralRepositoryDropCall) Return ¶
func (c *GeneralRepositoryDropCall) Return(arg0 error) *GeneralRepositoryDropCall
Return rewrite *gomock.Call.Return
type GeneralRepositoryInitDatabaseCall ¶
GeneralRepositoryInitDatabaseCall wrap *gomock.Call
func (*GeneralRepositoryInitDatabaseCall) Do ¶
func (c *GeneralRepositoryInitDatabaseCall) Do(f func(context.Context) error) *GeneralRepositoryInitDatabaseCall
Do rewrite *gomock.Call.Do
func (*GeneralRepositoryInitDatabaseCall) DoAndReturn ¶
func (c *GeneralRepositoryInitDatabaseCall) DoAndReturn(f func(context.Context) error) *GeneralRepositoryInitDatabaseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*GeneralRepositoryInitDatabaseCall) Return ¶
func (c *GeneralRepositoryInitDatabaseCall) Return(arg0 error) *GeneralRepositoryInitDatabaseCall
Return rewrite *gomock.Call.Return
type GeneralRepositoryIsRecordNotFoundCall ¶
GeneralRepositoryIsRecordNotFoundCall wrap *gomock.Call
func (*GeneralRepositoryIsRecordNotFoundCall) Do ¶
func (c *GeneralRepositoryIsRecordNotFoundCall) Do(f func(error) bool) *GeneralRepositoryIsRecordNotFoundCall
Do rewrite *gomock.Call.Do
func (*GeneralRepositoryIsRecordNotFoundCall) DoAndReturn ¶
func (c *GeneralRepositoryIsRecordNotFoundCall) DoAndReturn(f func(error) bool) *GeneralRepositoryIsRecordNotFoundCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*GeneralRepositoryIsRecordNotFoundCall) Return ¶
func (c *GeneralRepositoryIsRecordNotFoundCall) Return(arg0 bool) *GeneralRepositoryIsRecordNotFoundCall
Return rewrite *gomock.Call.Return
type GeneralRepositoryTablesExistCall ¶
GeneralRepositoryTablesExistCall wrap *gomock.Call
func (*GeneralRepositoryTablesExistCall) Do ¶
func (c *GeneralRepositoryTablesExistCall) Do(f func(context.Context) bool) *GeneralRepositoryTablesExistCall
Do rewrite *gomock.Call.Do
func (*GeneralRepositoryTablesExistCall) DoAndReturn ¶
func (c *GeneralRepositoryTablesExistCall) DoAndReturn(f func(context.Context) bool) *GeneralRepositoryTablesExistCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*GeneralRepositoryTablesExistCall) Return ¶
func (c *GeneralRepositoryTablesExistCall) Return(arg0 bool) *GeneralRepositoryTablesExistCall
Return rewrite *gomock.Call.Return
type MockGeneralRepository ¶
type MockGeneralRepository struct {
// contains filtered or unexported fields
}
MockGeneralRepository is a mock of GeneralRepository interface.
func NewMockGeneralRepository ¶
func NewMockGeneralRepository(ctrl *gomock.Controller) *MockGeneralRepository
NewMockGeneralRepository creates a new mock instance.
func (*MockGeneralRepository) CreateIndex ¶
func (m *MockGeneralRepository) CreateIndex(ctx context.Context, name, columns string, model any) error
CreateIndex mocks base method.
func (*MockGeneralRepository) Drop ¶
func (m *MockGeneralRepository) Drop(ctx context.Context) error
Drop mocks base method.
func (*MockGeneralRepository) EXPECT ¶
func (m *MockGeneralRepository) EXPECT() *MockGeneralRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGeneralRepository) InitDatabase ¶
func (m *MockGeneralRepository) InitDatabase(ctx context.Context) error
InitDatabase mocks base method.
func (*MockGeneralRepository) IsRecordNotFound ¶
func (m *MockGeneralRepository) IsRecordNotFound(err error) bool
IsRecordNotFound mocks base method.
func (*MockGeneralRepository) TablesExist ¶
func (m *MockGeneralRepository) TablesExist(ctx context.Context) bool
TablesExist mocks base method.
type MockGeneralRepositoryMockRecorder ¶
type MockGeneralRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockGeneralRepositoryMockRecorder is the mock recorder for MockGeneralRepository.
func (*MockGeneralRepositoryMockRecorder) CreateIndex ¶
func (mr *MockGeneralRepositoryMockRecorder) CreateIndex(ctx, name, columns, model any) *GeneralRepositoryCreateIndexCall
CreateIndex indicates an expected call of CreateIndex.
func (*MockGeneralRepositoryMockRecorder) Drop ¶
func (mr *MockGeneralRepositoryMockRecorder) Drop(ctx any) *GeneralRepositoryDropCall
Drop indicates an expected call of Drop.
func (*MockGeneralRepositoryMockRecorder) InitDatabase ¶
func (mr *MockGeneralRepositoryMockRecorder) InitDatabase(ctx any) *GeneralRepositoryInitDatabaseCall
InitDatabase indicates an expected call of InitDatabase.
func (*MockGeneralRepositoryMockRecorder) IsRecordNotFound ¶
func (mr *MockGeneralRepositoryMockRecorder) IsRecordNotFound(err any) *GeneralRepositoryIsRecordNotFoundCall
IsRecordNotFound indicates an expected call of IsRecordNotFound.
func (*MockGeneralRepositoryMockRecorder) TablesExist ¶
func (mr *MockGeneralRepositoryMockRecorder) TablesExist(ctx any) *GeneralRepositoryTablesExistCall
TablesExist indicates an expected call of TablesExist.
type MockModel ¶
type MockModel struct {
// contains filtered or unexported fields
}
MockModel is a mock of Model interface.
func NewMockModel ¶
func NewMockModel(ctrl *gomock.Controller) *MockModel
NewMockModel creates a new mock instance.
func (*MockModel) EXPECT ¶
func (m *MockModel) EXPECT() *MockModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModelMockRecorder ¶
type MockModelMockRecorder struct {
// contains filtered or unexported fields
}
MockModelMockRecorder is the mock recorder for MockModel.
func (*MockModelMockRecorder) GetID ¶
func (mr *MockModelMockRecorder) GetID() *ModelGetIDCall
GetID indicates an expected call of GetID.
func (*MockModelMockRecorder) TableName ¶
func (mr *MockModelMockRecorder) TableName() *ModelTableNameCall
TableName indicates an expected call of TableName.
type MockRollback ¶
type MockRollback struct {
// contains filtered or unexported fields
}
MockRollback is a mock of Rollback interface.
func NewMockRollback ¶
func NewMockRollback(ctrl *gomock.Controller) *MockRollback
NewMockRollback creates a new mock instance.
func (*MockRollback) DeleteBigMapState ¶
func (m *MockRollback) DeleteBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
DeleteBigMapState mocks base method.
func (*MockRollback) DeleteScriptsConstants ¶
func (m *MockRollback) DeleteScriptsConstants(ctx context.Context, scriptIds, constantsIds []int64) error
DeleteScriptsConstants mocks base method.
func (*MockRollback) DeleteTicketBalances ¶
func (m *MockRollback) DeleteTicketBalances(ctx context.Context, ticketIds []int64) error
DeleteTicketBalances mocks base method.
func (*MockRollback) DeleteTickets ¶
DeleteTickets mocks base method.
func (*MockRollback) EXPECT ¶
func (m *MockRollback) EXPECT() *MockRollbackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRollback) GetLastAction ¶
func (m *MockRollback) GetLastAction(ctx context.Context, addressIds ...int64) ([]models.LastAction, error)
GetLastAction mocks base method.
func (*MockRollback) GetMigrations ¶
func (m *MockRollback) GetMigrations(ctx context.Context, level int64) ([]migration.Migration, error)
GetMigrations mocks base method.
func (*MockRollback) GetOperations ¶
func (m *MockRollback) GetOperations(ctx context.Context, level int64) ([]operation.Operation, error)
GetOperations mocks base method.
func (*MockRollback) GetTicketUpdates ¶
func (m *MockRollback) GetTicketUpdates(ctx context.Context, level int64) ([]ticket.TicketUpdate, error)
GetTicketUpdates mocks base method.
func (*MockRollback) GlobalConstants ¶
func (m *MockRollback) GlobalConstants(ctx context.Context, level int64) ([]contract.GlobalConstant, error)
GlobalConstants mocks base method.
func (*MockRollback) LastDiff ¶
func (m *MockRollback) LastDiff(ctx context.Context, ptr int64, keyHash string, skipRemoved bool) (bigmapdiff.BigMapDiff, error)
LastDiff mocks base method.
func (*MockRollback) Protocols ¶
func (m *MockRollback) Protocols(ctx context.Context, level int64) error
Protocols mocks base method.
func (*MockRollback) SaveBigMapState ¶
func (m *MockRollback) SaveBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
SaveBigMapState mocks base method.
func (*MockRollback) StatesChangedAtLevel ¶
func (m *MockRollback) StatesChangedAtLevel(ctx context.Context, level int64) ([]bigmapdiff.BigMapState, error)
StatesChangedAtLevel mocks base method.
func (*MockRollback) TicketBalances ¶
TicketBalances mocks base method.
func (*MockRollback) UpdateAccountStats ¶
UpdateAccountStats mocks base method.
func (*MockRollback) UpdateStats ¶
UpdateStats mocks base method.
func (*MockRollback) UpdateTicket ¶
UpdateTicket mocks base method.
type MockRollbackMockRecorder ¶
type MockRollbackMockRecorder struct {
// contains filtered or unexported fields
}
MockRollbackMockRecorder is the mock recorder for MockRollback.
func (*MockRollbackMockRecorder) Commit ¶
func (mr *MockRollbackMockRecorder) Commit() *RollbackCommitCall
Commit indicates an expected call of Commit.
func (*MockRollbackMockRecorder) DeleteAll ¶
func (mr *MockRollbackMockRecorder) DeleteAll(ctx, model, level any) *RollbackDeleteAllCall
DeleteAll indicates an expected call of DeleteAll.
func (*MockRollbackMockRecorder) DeleteBigMapState ¶
func (mr *MockRollbackMockRecorder) DeleteBigMapState(ctx, state any) *RollbackDeleteBigMapStateCall
DeleteBigMapState indicates an expected call of DeleteBigMapState.
func (*MockRollbackMockRecorder) DeleteScriptsConstants ¶
func (mr *MockRollbackMockRecorder) DeleteScriptsConstants(ctx, scriptIds, constantsIds any) *RollbackDeleteScriptsConstantsCall
DeleteScriptsConstants indicates an expected call of DeleteScriptsConstants.
func (*MockRollbackMockRecorder) DeleteTicketBalances ¶
func (mr *MockRollbackMockRecorder) DeleteTicketBalances(ctx, ticketIds any) *RollbackDeleteTicketBalancesCall
DeleteTicketBalances indicates an expected call of DeleteTicketBalances.
func (*MockRollbackMockRecorder) DeleteTickets ¶
func (mr *MockRollbackMockRecorder) DeleteTickets(ctx, level any) *RollbackDeleteTicketsCall
DeleteTickets indicates an expected call of DeleteTickets.
func (*MockRollbackMockRecorder) GetLastAction ¶
func (mr *MockRollbackMockRecorder) GetLastAction(ctx any, addressIds ...any) *RollbackGetLastActionCall
GetLastAction indicates an expected call of GetLastAction.
func (*MockRollbackMockRecorder) GetMigrations ¶
func (mr *MockRollbackMockRecorder) GetMigrations(ctx, level any) *RollbackGetMigrationsCall
GetMigrations indicates an expected call of GetMigrations.
func (*MockRollbackMockRecorder) GetOperations ¶
func (mr *MockRollbackMockRecorder) GetOperations(ctx, level any) *RollbackGetOperationsCall
GetOperations indicates an expected call of GetOperations.
func (*MockRollbackMockRecorder) GetTicketUpdates ¶
func (mr *MockRollbackMockRecorder) GetTicketUpdates(ctx, level any) *RollbackGetTicketUpdatesCall
GetTicketUpdates indicates an expected call of GetTicketUpdates.
func (*MockRollbackMockRecorder) GlobalConstants ¶
func (mr *MockRollbackMockRecorder) GlobalConstants(ctx, level any) *RollbackGlobalConstantsCall
GlobalConstants indicates an expected call of GlobalConstants.
func (*MockRollbackMockRecorder) LastDiff ¶
func (mr *MockRollbackMockRecorder) LastDiff(ctx, ptr, keyHash, skipRemoved any) *RollbackLastDiffCall
LastDiff indicates an expected call of LastDiff.
func (*MockRollbackMockRecorder) Protocols ¶
func (mr *MockRollbackMockRecorder) Protocols(ctx, level any) *RollbackProtocolsCall
Protocols indicates an expected call of Protocols.
func (*MockRollbackMockRecorder) Rollback ¶
func (mr *MockRollbackMockRecorder) Rollback() *RollbackRollbackCall
Rollback indicates an expected call of Rollback.
func (*MockRollbackMockRecorder) SaveBigMapState ¶
func (mr *MockRollbackMockRecorder) SaveBigMapState(ctx, state any) *RollbackSaveBigMapStateCall
SaveBigMapState indicates an expected call of SaveBigMapState.
func (*MockRollbackMockRecorder) Scripts ¶
func (mr *MockRollbackMockRecorder) Scripts(ctx, level any) *RollbackScriptsCall
Scripts indicates an expected call of Scripts.
func (*MockRollbackMockRecorder) StatesChangedAtLevel ¶
func (mr *MockRollbackMockRecorder) StatesChangedAtLevel(ctx, level any) *RollbackStatesChangedAtLevelCall
StatesChangedAtLevel indicates an expected call of StatesChangedAtLevel.
func (*MockRollbackMockRecorder) TicketBalances ¶
func (mr *MockRollbackMockRecorder) TicketBalances(ctx any, balances ...any) *RollbackTicketBalancesCall
TicketBalances indicates an expected call of TicketBalances.
func (*MockRollbackMockRecorder) UpdateAccountStats ¶
func (mr *MockRollbackMockRecorder) UpdateAccountStats(ctx, account any) *RollbackUpdateAccountStatsCall
UpdateAccountStats indicates an expected call of UpdateAccountStats.
func (*MockRollbackMockRecorder) UpdateStats ¶
func (mr *MockRollbackMockRecorder) UpdateStats(ctx, stats any) *RollbackUpdateStatsCall
UpdateStats indicates an expected call of UpdateStats.
func (*MockRollbackMockRecorder) UpdateTicket ¶
func (mr *MockRollbackMockRecorder) UpdateTicket(ctx, ticket any) *RollbackUpdateTicketCall
UpdateTicket indicates an expected call of UpdateTicket.
type MockSaver ¶
type MockSaver struct {
// contains filtered or unexported fields
}
MockSaver is a mock of Saver interface.
func NewMockSaver ¶
func NewMockSaver(ctrl *gomock.Controller) *MockSaver
NewMockSaver creates a new mock instance.
func (*MockSaver) DeleteBigMapState ¶
func (m *MockSaver) DeleteBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
DeleteBigMapState mocks base method.
func (*MockSaver) EXPECT ¶
func (m *MockSaver) EXPECT() *MockSaverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSaver) GetContractsLastAction ¶
func (m *MockSaver) GetContractsLastAction(ctx context.Context, addressIds ...int64) ([]models.LastAction, error)
GetContractsLastAction mocks base method.
func (*MockSaver) GetOperations ¶
GetOperations mocks base method.
func (*MockSaver) LastDiff ¶
func (m *MockSaver) LastDiff(ctx context.Context, ptr int64, keyHash string, skipRemoved bool) (bigmapdiff.BigMapDiff, error)
LastDiff mocks base method.
func (*MockSaver) SaveBigMapState ¶
func (m *MockSaver) SaveBigMapState(ctx context.Context, state bigmapdiff.BigMapState) error
SaveBigMapState mocks base method.
func (*MockSaver) StatesChangedAtLevel ¶
func (m *MockSaver) StatesChangedAtLevel(ctx context.Context, level int64) ([]bigmapdiff.BigMapState, error)
StatesChangedAtLevel mocks base method.
type MockSaverMockRecorder ¶
type MockSaverMockRecorder struct {
// contains filtered or unexported fields
}
MockSaverMockRecorder is the mock recorder for MockSaver.
func (*MockSaverMockRecorder) Commit ¶
func (mr *MockSaverMockRecorder) Commit() *SaverCommitCall
Commit indicates an expected call of Commit.
func (*MockSaverMockRecorder) DeleteAll ¶
func (mr *MockSaverMockRecorder) DeleteAll(ctx, model, level any) *SaverDeleteAllCall
DeleteAll indicates an expected call of DeleteAll.
func (*MockSaverMockRecorder) DeleteBigMapState ¶
func (mr *MockSaverMockRecorder) DeleteBigMapState(ctx, state any) *SaverDeleteBigMapStateCall
DeleteBigMapState indicates an expected call of DeleteBigMapState.
func (*MockSaverMockRecorder) GetContractsLastAction ¶
func (mr *MockSaverMockRecorder) GetContractsLastAction(ctx any, addressIds ...any) *SaverGetContractsLastActionCall
GetContractsLastAction indicates an expected call of GetContractsLastAction.
func (*MockSaverMockRecorder) GetOperations ¶
func (mr *MockSaverMockRecorder) GetOperations(ctx, level any) *SaverGetOperationsCall
GetOperations indicates an expected call of GetOperations.
func (*MockSaverMockRecorder) LastDiff ¶
func (mr *MockSaverMockRecorder) LastDiff(ctx, ptr, keyHash, skipRemoved any) *SaverLastDiffCall
LastDiff indicates an expected call of LastDiff.
func (*MockSaverMockRecorder) Rollback ¶
func (mr *MockSaverMockRecorder) Rollback() *SaverRollbackCall
Rollback indicates an expected call of Rollback.
func (*MockSaverMockRecorder) SaveBigMapState ¶
func (mr *MockSaverMockRecorder) SaveBigMapState(ctx, state any) *SaverSaveBigMapStateCall
SaveBigMapState indicates an expected call of SaveBigMapState.
func (*MockSaverMockRecorder) StatesChangedAtLevel ¶
func (mr *MockSaverMockRecorder) StatesChangedAtLevel(ctx, level any) *SaverStatesChangedAtLevelCall
StatesChangedAtLevel indicates an expected call of StatesChangedAtLevel.
func (*MockSaverMockRecorder) UpdateContractStats ¶
func (mr *MockSaverMockRecorder) UpdateContractStats(ctx, accountId, lastAction, txCount any) *SaverUpdateContractStatsCall
UpdateContractStats indicates an expected call of UpdateContractStats.
type MockTransaction ¶
type MockTransaction struct {
// contains filtered or unexported fields
}
MockTransaction is a mock of Transaction interface.
func NewMockTransaction ¶
func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction
NewMockTransaction creates a new mock instance.
func (*MockTransaction) BabylonUpdateBigMapDiffs ¶
func (m *MockTransaction) BabylonUpdateBigMapDiffs(ctx context.Context, contract string, ptr int64) (int, error)
BabylonUpdateBigMapDiffs mocks base method.
func (*MockTransaction) BabylonUpdateNonDelegator ¶
func (m *MockTransaction) BabylonUpdateNonDelegator(ctx context.Context, contract *contract.Contract) error
BabylonUpdateNonDelegator mocks base method.
func (*MockTransaction) BigMapActions ¶
func (m *MockTransaction) BigMapActions(ctx context.Context, bigmapdiffs ...*bigmapaction.BigMapAction) error
BigMapActions mocks base method.
func (*MockTransaction) BigMapDiffs ¶
func (m *MockTransaction) BigMapDiffs(ctx context.Context, bigmapdiffs ...*bigmapdiff.BigMapDiff) error
BigMapDiffs mocks base method.
func (*MockTransaction) BigMapStates ¶
func (m *MockTransaction) BigMapStates(ctx context.Context, states ...*bigmapdiff.BigMapState) error
BigMapStates mocks base method.
func (*MockTransaction) DeleteBigMapStatesByContract ¶
func (m *MockTransaction) DeleteBigMapStatesByContract(ctx context.Context, contract string) ([]bigmapdiff.BigMapState, error)
DeleteBigMapStatesByContract mocks base method.
func (*MockTransaction) EXPECT ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransaction) GlobalConstants ¶
func (m *MockTransaction) GlobalConstants(ctx context.Context, constants ...*contract.GlobalConstant) error
GlobalConstants mocks base method.
func (*MockTransaction) JakartaUpdateNonDelegator ¶
func (m *MockTransaction) JakartaUpdateNonDelegator(ctx context.Context, contract *contract.Contract) error
JakartaUpdateNonDelegator mocks base method.
func (*MockTransaction) JakartaVesting ¶
JakartaVesting mocks base method.
func (*MockTransaction) Migrations ¶
Migrations mocks base method.
func (*MockTransaction) Operations ¶
Operations mocks base method.
func (*MockTransaction) Rollback ¶
func (m *MockTransaction) Rollback() error
Rollback mocks base method.
func (*MockTransaction) Save ¶
func (m *MockTransaction) Save(ctx context.Context, data any) error
Save mocks base method.
func (*MockTransaction) ScriptConstant ¶
func (m *MockTransaction) ScriptConstant(ctx context.Context, data ...*contract.ScriptConstants) error
ScriptConstant mocks base method.
func (*MockTransaction) SmartRollups ¶
func (m *MockTransaction) SmartRollups(ctx context.Context, rollups ...*smartrollup.SmartRollup) error
SmartRollups mocks base method.
func (*MockTransaction) TickerUpdates ¶
func (m *MockTransaction) TickerUpdates(ctx context.Context, updates ...*ticket.TicketUpdate) error
TickerUpdates mocks base method.
func (*MockTransaction) TicketBalances ¶
TicketBalances mocks base method.
func (*MockTransaction) ToBabylon ¶
func (m *MockTransaction) ToBabylon(ctx context.Context) error
ToBabylon mocks base method.
func (*MockTransaction) ToJakarta ¶
func (m *MockTransaction) ToJakarta(ctx context.Context) error
ToJakarta mocks base method.
func (*MockTransaction) UpdateStats ¶
UpdateStats mocks base method.
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction.
func (*MockTransactionMockRecorder) Accounts ¶
func (mr *MockTransactionMockRecorder) Accounts(ctx any, accounts ...any) *TransactionAccountsCall
Accounts indicates an expected call of Accounts.
func (*MockTransactionMockRecorder) BabylonUpdateBigMapDiffs ¶
func (mr *MockTransactionMockRecorder) BabylonUpdateBigMapDiffs(ctx, contract, ptr any) *TransactionBabylonUpdateBigMapDiffsCall
BabylonUpdateBigMapDiffs indicates an expected call of BabylonUpdateBigMapDiffs.
func (*MockTransactionMockRecorder) BabylonUpdateNonDelegator ¶
func (mr *MockTransactionMockRecorder) BabylonUpdateNonDelegator(ctx, contract any) *TransactionBabylonUpdateNonDelegatorCall
BabylonUpdateNonDelegator indicates an expected call of BabylonUpdateNonDelegator.
func (*MockTransactionMockRecorder) BigMapActions ¶
func (mr *MockTransactionMockRecorder) BigMapActions(ctx any, bigmapdiffs ...any) *TransactionBigMapActionsCall
BigMapActions indicates an expected call of BigMapActions.
func (*MockTransactionMockRecorder) BigMapDiffs ¶
func (mr *MockTransactionMockRecorder) BigMapDiffs(ctx any, bigmapdiffs ...any) *TransactionBigMapDiffsCall
BigMapDiffs indicates an expected call of BigMapDiffs.
func (*MockTransactionMockRecorder) BigMapStates ¶
func (mr *MockTransactionMockRecorder) BigMapStates(ctx any, states ...any) *TransactionBigMapStatesCall
BigMapStates indicates an expected call of BigMapStates.
func (*MockTransactionMockRecorder) Block ¶
func (mr *MockTransactionMockRecorder) Block(ctx, block any) *TransactionBlockCall
Block indicates an expected call of Block.
func (*MockTransactionMockRecorder) Commit ¶
func (mr *MockTransactionMockRecorder) Commit() *TransactionCommitCall
Commit indicates an expected call of Commit.
func (*MockTransactionMockRecorder) Contracts ¶
func (mr *MockTransactionMockRecorder) Contracts(ctx any, contracts ...any) *TransactionContractsCall
Contracts indicates an expected call of Contracts.
func (*MockTransactionMockRecorder) DeleteBigMapStatesByContract ¶
func (mr *MockTransactionMockRecorder) DeleteBigMapStatesByContract(ctx, contract any) *TransactionDeleteBigMapStatesByContractCall
DeleteBigMapStatesByContract indicates an expected call of DeleteBigMapStatesByContract.
func (*MockTransactionMockRecorder) GlobalConstants ¶
func (mr *MockTransactionMockRecorder) GlobalConstants(ctx any, constants ...any) *TransactionGlobalConstantsCall
GlobalConstants indicates an expected call of GlobalConstants.
func (*MockTransactionMockRecorder) JakartaUpdateNonDelegator ¶
func (mr *MockTransactionMockRecorder) JakartaUpdateNonDelegator(ctx, contract any) *TransactionJakartaUpdateNonDelegatorCall
JakartaUpdateNonDelegator indicates an expected call of JakartaUpdateNonDelegator.
func (*MockTransactionMockRecorder) JakartaVesting ¶
func (mr *MockTransactionMockRecorder) JakartaVesting(ctx, contract any) *TransactionJakartaVestingCall
JakartaVesting indicates an expected call of JakartaVesting.
func (*MockTransactionMockRecorder) Migrations ¶
func (mr *MockTransactionMockRecorder) Migrations(ctx any, migrations ...any) *TransactionMigrationsCall
Migrations indicates an expected call of Migrations.
func (*MockTransactionMockRecorder) Operations ¶
func (mr *MockTransactionMockRecorder) Operations(ctx any, operations ...any) *TransactionOperationsCall
Operations indicates an expected call of Operations.
func (*MockTransactionMockRecorder) Protocol ¶
func (mr *MockTransactionMockRecorder) Protocol(ctx, proto any) *TransactionProtocolCall
Protocol indicates an expected call of Protocol.
func (*MockTransactionMockRecorder) Rollback ¶
func (mr *MockTransactionMockRecorder) Rollback() *TransactionRollbackCall
Rollback indicates an expected call of Rollback.
func (*MockTransactionMockRecorder) Save ¶
func (mr *MockTransactionMockRecorder) Save(ctx, data any) *TransactionSaveCall
Save indicates an expected call of Save.
func (*MockTransactionMockRecorder) ScriptConstant ¶
func (mr *MockTransactionMockRecorder) ScriptConstant(ctx any, data ...any) *TransactionScriptConstantCall
ScriptConstant indicates an expected call of ScriptConstant.
func (*MockTransactionMockRecorder) Scripts ¶
func (mr *MockTransactionMockRecorder) Scripts(ctx any, scripts ...any) *TransactionScriptsCall
Scripts indicates an expected call of Scripts.
func (*MockTransactionMockRecorder) SmartRollups ¶
func (mr *MockTransactionMockRecorder) SmartRollups(ctx any, rollups ...any) *TransactionSmartRollupsCall
SmartRollups indicates an expected call of SmartRollups.
func (*MockTransactionMockRecorder) TickerUpdates ¶
func (mr *MockTransactionMockRecorder) TickerUpdates(ctx any, updates ...any) *TransactionTickerUpdatesCall
TickerUpdates indicates an expected call of TickerUpdates.
func (*MockTransactionMockRecorder) TicketBalances ¶
func (mr *MockTransactionMockRecorder) TicketBalances(ctx any, balances ...any) *TransactionTicketBalancesCall
TicketBalances indicates an expected call of TicketBalances.
func (*MockTransactionMockRecorder) Tickets ¶
func (mr *MockTransactionMockRecorder) Tickets(ctx any, tickets ...any) *TransactionTicketsCall
Tickets indicates an expected call of Tickets.
func (*MockTransactionMockRecorder) ToBabylon ¶
func (mr *MockTransactionMockRecorder) ToBabylon(ctx any) *TransactionToBabylonCall
ToBabylon indicates an expected call of ToBabylon.
func (*MockTransactionMockRecorder) ToJakarta ¶
func (mr *MockTransactionMockRecorder) ToJakarta(ctx any) *TransactionToJakartaCall
ToJakarta indicates an expected call of ToJakarta.
func (*MockTransactionMockRecorder) UpdateStats ¶
func (mr *MockTransactionMockRecorder) UpdateStats(ctx, stats any) *TransactionUpdateStatsCall
UpdateStats indicates an expected call of UpdateStats.
type ModelGetIDCall ¶
ModelGetIDCall wrap *gomock.Call
func (*ModelGetIDCall) Do ¶
func (c *ModelGetIDCall) Do(f func() int64) *ModelGetIDCall
Do rewrite *gomock.Call.Do
func (*ModelGetIDCall) DoAndReturn ¶
func (c *ModelGetIDCall) DoAndReturn(f func() int64) *ModelGetIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ModelGetIDCall) Return ¶
func (c *ModelGetIDCall) Return(arg0 int64) *ModelGetIDCall
Return rewrite *gomock.Call.Return
type ModelTableNameCall ¶
ModelTableNameCall wrap *gomock.Call
func (*ModelTableNameCall) Do ¶
func (c *ModelTableNameCall) Do(f func() string) *ModelTableNameCall
Do rewrite *gomock.Call.Do
func (*ModelTableNameCall) DoAndReturn ¶
func (c *ModelTableNameCall) DoAndReturn(f func() string) *ModelTableNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ModelTableNameCall) Return ¶
func (c *ModelTableNameCall) Return(arg0 string) *ModelTableNameCall
Return rewrite *gomock.Call.Return
type RollbackCommitCall ¶
RollbackCommitCall wrap *gomock.Call
func (*RollbackCommitCall) Do ¶
func (c *RollbackCommitCall) Do(f func() error) *RollbackCommitCall
Do rewrite *gomock.Call.Do
func (*RollbackCommitCall) DoAndReturn ¶
func (c *RollbackCommitCall) DoAndReturn(f func() error) *RollbackCommitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackCommitCall) Return ¶
func (c *RollbackCommitCall) Return(arg0 error) *RollbackCommitCall
Return rewrite *gomock.Call.Return
type RollbackDeleteAllCall ¶
RollbackDeleteAllCall wrap *gomock.Call
func (*RollbackDeleteAllCall) Do ¶
func (c *RollbackDeleteAllCall) Do(f func(context.Context, any, int64) (int, error)) *RollbackDeleteAllCall
Do rewrite *gomock.Call.Do
func (*RollbackDeleteAllCall) DoAndReturn ¶
func (c *RollbackDeleteAllCall) DoAndReturn(f func(context.Context, any, int64) (int, error)) *RollbackDeleteAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackDeleteAllCall) Return ¶
func (c *RollbackDeleteAllCall) Return(arg0 int, arg1 error) *RollbackDeleteAllCall
Return rewrite *gomock.Call.Return
type RollbackDeleteBigMapStateCall ¶
RollbackDeleteBigMapStateCall wrap *gomock.Call
func (*RollbackDeleteBigMapStateCall) Do ¶
func (c *RollbackDeleteBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackDeleteBigMapStateCall
Do rewrite *gomock.Call.Do
func (*RollbackDeleteBigMapStateCall) DoAndReturn ¶
func (c *RollbackDeleteBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackDeleteBigMapStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackDeleteBigMapStateCall) Return ¶
func (c *RollbackDeleteBigMapStateCall) Return(arg0 error) *RollbackDeleteBigMapStateCall
Return rewrite *gomock.Call.Return
type RollbackDeleteScriptsConstantsCall ¶
RollbackDeleteScriptsConstantsCall wrap *gomock.Call
func (*RollbackDeleteScriptsConstantsCall) Do ¶
func (c *RollbackDeleteScriptsConstantsCall) Do(f func(context.Context, []int64, []int64) error) *RollbackDeleteScriptsConstantsCall
Do rewrite *gomock.Call.Do
func (*RollbackDeleteScriptsConstantsCall) DoAndReturn ¶
func (c *RollbackDeleteScriptsConstantsCall) DoAndReturn(f func(context.Context, []int64, []int64) error) *RollbackDeleteScriptsConstantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackDeleteScriptsConstantsCall) Return ¶
func (c *RollbackDeleteScriptsConstantsCall) Return(arg0 error) *RollbackDeleteScriptsConstantsCall
Return rewrite *gomock.Call.Return
type RollbackDeleteTicketBalancesCall ¶
RollbackDeleteTicketBalancesCall wrap *gomock.Call
func (*RollbackDeleteTicketBalancesCall) Do ¶
func (c *RollbackDeleteTicketBalancesCall) Do(f func(context.Context, []int64) error) *RollbackDeleteTicketBalancesCall
Do rewrite *gomock.Call.Do
func (*RollbackDeleteTicketBalancesCall) DoAndReturn ¶
func (c *RollbackDeleteTicketBalancesCall) DoAndReturn(f func(context.Context, []int64) error) *RollbackDeleteTicketBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackDeleteTicketBalancesCall) Return ¶
func (c *RollbackDeleteTicketBalancesCall) Return(err error) *RollbackDeleteTicketBalancesCall
Return rewrite *gomock.Call.Return
type RollbackDeleteTicketsCall ¶
RollbackDeleteTicketsCall wrap *gomock.Call
func (*RollbackDeleteTicketsCall) Do ¶
func (c *RollbackDeleteTicketsCall) Do(f func(context.Context, int64) ([]int64, error)) *RollbackDeleteTicketsCall
Do rewrite *gomock.Call.Do
func (*RollbackDeleteTicketsCall) DoAndReturn ¶
func (c *RollbackDeleteTicketsCall) DoAndReturn(f func(context.Context, int64) ([]int64, error)) *RollbackDeleteTicketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackDeleteTicketsCall) Return ¶
func (c *RollbackDeleteTicketsCall) Return(ids []int64, err error) *RollbackDeleteTicketsCall
Return rewrite *gomock.Call.Return
type RollbackGetLastActionCall ¶
RollbackGetLastActionCall wrap *gomock.Call
func (*RollbackGetLastActionCall) Do ¶
func (c *RollbackGetLastActionCall) Do(f func(context.Context, ...int64) ([]models.LastAction, error)) *RollbackGetLastActionCall
Do rewrite *gomock.Call.Do
func (*RollbackGetLastActionCall) DoAndReturn ¶
func (c *RollbackGetLastActionCall) DoAndReturn(f func(context.Context, ...int64) ([]models.LastAction, error)) *RollbackGetLastActionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackGetLastActionCall) Return ¶
func (c *RollbackGetLastActionCall) Return(arg0 []models.LastAction, arg1 error) *RollbackGetLastActionCall
Return rewrite *gomock.Call.Return
type RollbackGetMigrationsCall ¶
RollbackGetMigrationsCall wrap *gomock.Call
func (*RollbackGetMigrationsCall) Do ¶
func (c *RollbackGetMigrationsCall) Do(f func(context.Context, int64) ([]migration.Migration, error)) *RollbackGetMigrationsCall
Do rewrite *gomock.Call.Do
func (*RollbackGetMigrationsCall) DoAndReturn ¶
func (c *RollbackGetMigrationsCall) DoAndReturn(f func(context.Context, int64) ([]migration.Migration, error)) *RollbackGetMigrationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackGetMigrationsCall) Return ¶
func (c *RollbackGetMigrationsCall) Return(arg0 []migration.Migration, arg1 error) *RollbackGetMigrationsCall
Return rewrite *gomock.Call.Return
type RollbackGetOperationsCall ¶
RollbackGetOperationsCall wrap *gomock.Call
func (*RollbackGetOperationsCall) Do ¶
func (c *RollbackGetOperationsCall) Do(f func(context.Context, int64) ([]operation.Operation, error)) *RollbackGetOperationsCall
Do rewrite *gomock.Call.Do
func (*RollbackGetOperationsCall) DoAndReturn ¶
func (c *RollbackGetOperationsCall) DoAndReturn(f func(context.Context, int64) ([]operation.Operation, error)) *RollbackGetOperationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackGetOperationsCall) Return ¶
func (c *RollbackGetOperationsCall) Return(arg0 []operation.Operation, arg1 error) *RollbackGetOperationsCall
Return rewrite *gomock.Call.Return
type RollbackGetTicketUpdatesCall ¶
RollbackGetTicketUpdatesCall wrap *gomock.Call
func (*RollbackGetTicketUpdatesCall) Do ¶
func (c *RollbackGetTicketUpdatesCall) Do(f func(context.Context, int64) ([]ticket.TicketUpdate, error)) *RollbackGetTicketUpdatesCall
Do rewrite *gomock.Call.Do
func (*RollbackGetTicketUpdatesCall) DoAndReturn ¶
func (c *RollbackGetTicketUpdatesCall) DoAndReturn(f func(context.Context, int64) ([]ticket.TicketUpdate, error)) *RollbackGetTicketUpdatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackGetTicketUpdatesCall) Return ¶
func (c *RollbackGetTicketUpdatesCall) Return(arg0 []ticket.TicketUpdate, arg1 error) *RollbackGetTicketUpdatesCall
Return rewrite *gomock.Call.Return
type RollbackGlobalConstantsCall ¶
RollbackGlobalConstantsCall wrap *gomock.Call
func (*RollbackGlobalConstantsCall) Do ¶
func (c *RollbackGlobalConstantsCall) Do(f func(context.Context, int64) ([]contract.GlobalConstant, error)) *RollbackGlobalConstantsCall
Do rewrite *gomock.Call.Do
func (*RollbackGlobalConstantsCall) DoAndReturn ¶
func (c *RollbackGlobalConstantsCall) DoAndReturn(f func(context.Context, int64) ([]contract.GlobalConstant, error)) *RollbackGlobalConstantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackGlobalConstantsCall) Return ¶
func (c *RollbackGlobalConstantsCall) Return(arg0 []contract.GlobalConstant, arg1 error) *RollbackGlobalConstantsCall
Return rewrite *gomock.Call.Return
type RollbackLastDiffCall ¶
RollbackLastDiffCall wrap *gomock.Call
func (*RollbackLastDiffCall) Do ¶
func (c *RollbackLastDiffCall) Do(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *RollbackLastDiffCall
Do rewrite *gomock.Call.Do
func (*RollbackLastDiffCall) DoAndReturn ¶
func (c *RollbackLastDiffCall) DoAndReturn(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *RollbackLastDiffCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackLastDiffCall) Return ¶
func (c *RollbackLastDiffCall) Return(arg0 bigmapdiff.BigMapDiff, arg1 error) *RollbackLastDiffCall
Return rewrite *gomock.Call.Return
type RollbackProtocolsCall ¶
RollbackProtocolsCall wrap *gomock.Call
func (*RollbackProtocolsCall) Do ¶
func (c *RollbackProtocolsCall) Do(f func(context.Context, int64) error) *RollbackProtocolsCall
Do rewrite *gomock.Call.Do
func (*RollbackProtocolsCall) DoAndReturn ¶
func (c *RollbackProtocolsCall) DoAndReturn(f func(context.Context, int64) error) *RollbackProtocolsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackProtocolsCall) Return ¶
func (c *RollbackProtocolsCall) Return(arg0 error) *RollbackProtocolsCall
Return rewrite *gomock.Call.Return
type RollbackRollbackCall ¶
RollbackRollbackCall wrap *gomock.Call
func (*RollbackRollbackCall) Do ¶
func (c *RollbackRollbackCall) Do(f func() error) *RollbackRollbackCall
Do rewrite *gomock.Call.Do
func (*RollbackRollbackCall) DoAndReturn ¶
func (c *RollbackRollbackCall) DoAndReturn(f func() error) *RollbackRollbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackRollbackCall) Return ¶
func (c *RollbackRollbackCall) Return(arg0 error) *RollbackRollbackCall
Return rewrite *gomock.Call.Return
type RollbackSaveBigMapStateCall ¶
RollbackSaveBigMapStateCall wrap *gomock.Call
func (*RollbackSaveBigMapStateCall) Do ¶
func (c *RollbackSaveBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackSaveBigMapStateCall
Do rewrite *gomock.Call.Do
func (*RollbackSaveBigMapStateCall) DoAndReturn ¶
func (c *RollbackSaveBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *RollbackSaveBigMapStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackSaveBigMapStateCall) Return ¶
func (c *RollbackSaveBigMapStateCall) Return(arg0 error) *RollbackSaveBigMapStateCall
Return rewrite *gomock.Call.Return
type RollbackScriptsCall ¶
RollbackScriptsCall wrap *gomock.Call
func (*RollbackScriptsCall) Do ¶
func (c *RollbackScriptsCall) Do(f func(context.Context, int64) ([]contract.Script, error)) *RollbackScriptsCall
Do rewrite *gomock.Call.Do
func (*RollbackScriptsCall) DoAndReturn ¶
func (c *RollbackScriptsCall) DoAndReturn(f func(context.Context, int64) ([]contract.Script, error)) *RollbackScriptsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackScriptsCall) Return ¶
func (c *RollbackScriptsCall) Return(arg0 []contract.Script, arg1 error) *RollbackScriptsCall
Return rewrite *gomock.Call.Return
type RollbackStatesChangedAtLevelCall ¶
RollbackStatesChangedAtLevelCall wrap *gomock.Call
func (*RollbackStatesChangedAtLevelCall) Do ¶
func (c *RollbackStatesChangedAtLevelCall) Do(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *RollbackStatesChangedAtLevelCall
Do rewrite *gomock.Call.Do
func (*RollbackStatesChangedAtLevelCall) DoAndReturn ¶
func (c *RollbackStatesChangedAtLevelCall) DoAndReturn(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *RollbackStatesChangedAtLevelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackStatesChangedAtLevelCall) Return ¶
func (c *RollbackStatesChangedAtLevelCall) Return(arg0 []bigmapdiff.BigMapState, arg1 error) *RollbackStatesChangedAtLevelCall
Return rewrite *gomock.Call.Return
type RollbackTicketBalancesCall ¶
RollbackTicketBalancesCall wrap *gomock.Call
func (*RollbackTicketBalancesCall) Do ¶
func (c *RollbackTicketBalancesCall) Do(f func(context.Context, ...*ticket.Balance) error) *RollbackTicketBalancesCall
Do rewrite *gomock.Call.Do
func (*RollbackTicketBalancesCall) DoAndReturn ¶
func (c *RollbackTicketBalancesCall) DoAndReturn(f func(context.Context, ...*ticket.Balance) error) *RollbackTicketBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackTicketBalancesCall) Return ¶
func (c *RollbackTicketBalancesCall) Return(arg0 error) *RollbackTicketBalancesCall
Return rewrite *gomock.Call.Return
type RollbackUpdateAccountStatsCall ¶
RollbackUpdateAccountStatsCall wrap *gomock.Call
func (*RollbackUpdateAccountStatsCall) Do ¶
func (c *RollbackUpdateAccountStatsCall) Do(f func(context.Context, account.Account) error) *RollbackUpdateAccountStatsCall
Do rewrite *gomock.Call.Do
func (*RollbackUpdateAccountStatsCall) DoAndReturn ¶
func (c *RollbackUpdateAccountStatsCall) DoAndReturn(f func(context.Context, account.Account) error) *RollbackUpdateAccountStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackUpdateAccountStatsCall) Return ¶
func (c *RollbackUpdateAccountStatsCall) Return(arg0 error) *RollbackUpdateAccountStatsCall
Return rewrite *gomock.Call.Return
type RollbackUpdateStatsCall ¶
RollbackUpdateStatsCall wrap *gomock.Call
func (*RollbackUpdateStatsCall) Do ¶
func (c *RollbackUpdateStatsCall) Do(f func(context.Context, stats.Stats) error) *RollbackUpdateStatsCall
Do rewrite *gomock.Call.Do
func (*RollbackUpdateStatsCall) DoAndReturn ¶
func (c *RollbackUpdateStatsCall) DoAndReturn(f func(context.Context, stats.Stats) error) *RollbackUpdateStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackUpdateStatsCall) Return ¶
func (c *RollbackUpdateStatsCall) Return(arg0 error) *RollbackUpdateStatsCall
Return rewrite *gomock.Call.Return
type RollbackUpdateTicketCall ¶
RollbackUpdateTicketCall wrap *gomock.Call
func (*RollbackUpdateTicketCall) Do ¶
func (c *RollbackUpdateTicketCall) Do(f func(context.Context, ticket.Ticket) error) *RollbackUpdateTicketCall
Do rewrite *gomock.Call.Do
func (*RollbackUpdateTicketCall) DoAndReturn ¶
func (c *RollbackUpdateTicketCall) DoAndReturn(f func(context.Context, ticket.Ticket) error) *RollbackUpdateTicketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*RollbackUpdateTicketCall) Return ¶
func (c *RollbackUpdateTicketCall) Return(arg0 error) *RollbackUpdateTicketCall
Return rewrite *gomock.Call.Return
type SaverCommitCall ¶
SaverCommitCall wrap *gomock.Call
func (*SaverCommitCall) Do ¶
func (c *SaverCommitCall) Do(f func() error) *SaverCommitCall
Do rewrite *gomock.Call.Do
func (*SaverCommitCall) DoAndReturn ¶
func (c *SaverCommitCall) DoAndReturn(f func() error) *SaverCommitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverCommitCall) Return ¶
func (c *SaverCommitCall) Return(arg0 error) *SaverCommitCall
Return rewrite *gomock.Call.Return
type SaverDeleteAllCall ¶
SaverDeleteAllCall wrap *gomock.Call
func (*SaverDeleteAllCall) Do ¶
func (c *SaverDeleteAllCall) Do(f func(context.Context, any, int64) error) *SaverDeleteAllCall
Do rewrite *gomock.Call.Do
func (*SaverDeleteAllCall) DoAndReturn ¶
func (c *SaverDeleteAllCall) DoAndReturn(f func(context.Context, any, int64) error) *SaverDeleteAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverDeleteAllCall) Return ¶
func (c *SaverDeleteAllCall) Return(arg0 error) *SaverDeleteAllCall
Return rewrite *gomock.Call.Return
type SaverDeleteBigMapStateCall ¶
SaverDeleteBigMapStateCall wrap *gomock.Call
func (*SaverDeleteBigMapStateCall) Do ¶
func (c *SaverDeleteBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *SaverDeleteBigMapStateCall
Do rewrite *gomock.Call.Do
func (*SaverDeleteBigMapStateCall) DoAndReturn ¶
func (c *SaverDeleteBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *SaverDeleteBigMapStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverDeleteBigMapStateCall) Return ¶
func (c *SaverDeleteBigMapStateCall) Return(arg0 error) *SaverDeleteBigMapStateCall
Return rewrite *gomock.Call.Return
type SaverGetContractsLastActionCall ¶
SaverGetContractsLastActionCall wrap *gomock.Call
func (*SaverGetContractsLastActionCall) Do ¶
func (c *SaverGetContractsLastActionCall) Do(f func(context.Context, ...int64) ([]models.LastAction, error)) *SaverGetContractsLastActionCall
Do rewrite *gomock.Call.Do
func (*SaverGetContractsLastActionCall) DoAndReturn ¶
func (c *SaverGetContractsLastActionCall) DoAndReturn(f func(context.Context, ...int64) ([]models.LastAction, error)) *SaverGetContractsLastActionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverGetContractsLastActionCall) Return ¶
func (c *SaverGetContractsLastActionCall) Return(arg0 []models.LastAction, arg1 error) *SaverGetContractsLastActionCall
Return rewrite *gomock.Call.Return
type SaverGetOperationsCall ¶
SaverGetOperationsCall wrap *gomock.Call
func (*SaverGetOperationsCall) Do ¶
func (c *SaverGetOperationsCall) Do(f func(context.Context, int64) ([]operation.Operation, error)) *SaverGetOperationsCall
Do rewrite *gomock.Call.Do
func (*SaverGetOperationsCall) DoAndReturn ¶
func (c *SaverGetOperationsCall) DoAndReturn(f func(context.Context, int64) ([]operation.Operation, error)) *SaverGetOperationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverGetOperationsCall) Return ¶
func (c *SaverGetOperationsCall) Return(arg0 []operation.Operation, arg1 error) *SaverGetOperationsCall
Return rewrite *gomock.Call.Return
type SaverLastDiffCall ¶
SaverLastDiffCall wrap *gomock.Call
func (*SaverLastDiffCall) Do ¶
func (c *SaverLastDiffCall) Do(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *SaverLastDiffCall
Do rewrite *gomock.Call.Do
func (*SaverLastDiffCall) DoAndReturn ¶
func (c *SaverLastDiffCall) DoAndReturn(f func(context.Context, int64, string, bool) (bigmapdiff.BigMapDiff, error)) *SaverLastDiffCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverLastDiffCall) Return ¶
func (c *SaverLastDiffCall) Return(arg0 bigmapdiff.BigMapDiff, arg1 error) *SaverLastDiffCall
Return rewrite *gomock.Call.Return
type SaverRollbackCall ¶
SaverRollbackCall wrap *gomock.Call
func (*SaverRollbackCall) Do ¶
func (c *SaverRollbackCall) Do(f func() error) *SaverRollbackCall
Do rewrite *gomock.Call.Do
func (*SaverRollbackCall) DoAndReturn ¶
func (c *SaverRollbackCall) DoAndReturn(f func() error) *SaverRollbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverRollbackCall) Return ¶
func (c *SaverRollbackCall) Return(arg0 error) *SaverRollbackCall
Return rewrite *gomock.Call.Return
type SaverSaveBigMapStateCall ¶
SaverSaveBigMapStateCall wrap *gomock.Call
func (*SaverSaveBigMapStateCall) Do ¶
func (c *SaverSaveBigMapStateCall) Do(f func(context.Context, bigmapdiff.BigMapState) error) *SaverSaveBigMapStateCall
Do rewrite *gomock.Call.Do
func (*SaverSaveBigMapStateCall) DoAndReturn ¶
func (c *SaverSaveBigMapStateCall) DoAndReturn(f func(context.Context, bigmapdiff.BigMapState) error) *SaverSaveBigMapStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverSaveBigMapStateCall) Return ¶
func (c *SaverSaveBigMapStateCall) Return(arg0 error) *SaverSaveBigMapStateCall
Return rewrite *gomock.Call.Return
type SaverStatesChangedAtLevelCall ¶
SaverStatesChangedAtLevelCall wrap *gomock.Call
func (*SaverStatesChangedAtLevelCall) Do ¶
func (c *SaverStatesChangedAtLevelCall) Do(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *SaverStatesChangedAtLevelCall
Do rewrite *gomock.Call.Do
func (*SaverStatesChangedAtLevelCall) DoAndReturn ¶
func (c *SaverStatesChangedAtLevelCall) DoAndReturn(f func(context.Context, int64) ([]bigmapdiff.BigMapState, error)) *SaverStatesChangedAtLevelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverStatesChangedAtLevelCall) Return ¶
func (c *SaverStatesChangedAtLevelCall) Return(arg0 []bigmapdiff.BigMapState, arg1 error) *SaverStatesChangedAtLevelCall
Return rewrite *gomock.Call.Return
type SaverUpdateContractStatsCall ¶
SaverUpdateContractStatsCall wrap *gomock.Call
func (*SaverUpdateContractStatsCall) Do ¶
func (c *SaverUpdateContractStatsCall) Do(f func(context.Context, int64, time.Time, int64) error) *SaverUpdateContractStatsCall
Do rewrite *gomock.Call.Do
func (*SaverUpdateContractStatsCall) DoAndReturn ¶
func (c *SaverUpdateContractStatsCall) DoAndReturn(f func(context.Context, int64, time.Time, int64) error) *SaverUpdateContractStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SaverUpdateContractStatsCall) Return ¶
func (c *SaverUpdateContractStatsCall) Return(arg0 error) *SaverUpdateContractStatsCall
Return rewrite *gomock.Call.Return
type TransactionAccountsCall ¶
TransactionAccountsCall wrap *gomock.Call
func (*TransactionAccountsCall) Do ¶
func (c *TransactionAccountsCall) Do(f func(context.Context, ...*account.Account) error) *TransactionAccountsCall
Do rewrite *gomock.Call.Do
func (*TransactionAccountsCall) DoAndReturn ¶
func (c *TransactionAccountsCall) DoAndReturn(f func(context.Context, ...*account.Account) error) *TransactionAccountsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionAccountsCall) Return ¶
func (c *TransactionAccountsCall) Return(arg0 error) *TransactionAccountsCall
Return rewrite *gomock.Call.Return
type TransactionBabylonUpdateBigMapDiffsCall ¶
TransactionBabylonUpdateBigMapDiffsCall wrap *gomock.Call
func (*TransactionBabylonUpdateBigMapDiffsCall) Do ¶
func (c *TransactionBabylonUpdateBigMapDiffsCall) Do(f func(context.Context, string, int64) (int, error)) *TransactionBabylonUpdateBigMapDiffsCall
Do rewrite *gomock.Call.Do
func (*TransactionBabylonUpdateBigMapDiffsCall) DoAndReturn ¶
func (c *TransactionBabylonUpdateBigMapDiffsCall) DoAndReturn(f func(context.Context, string, int64) (int, error)) *TransactionBabylonUpdateBigMapDiffsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionBabylonUpdateBigMapDiffsCall) Return ¶
func (c *TransactionBabylonUpdateBigMapDiffsCall) Return(arg0 int, arg1 error) *TransactionBabylonUpdateBigMapDiffsCall
Return rewrite *gomock.Call.Return
type TransactionBabylonUpdateNonDelegatorCall ¶
TransactionBabylonUpdateNonDelegatorCall wrap *gomock.Call
func (*TransactionBabylonUpdateNonDelegatorCall) Do ¶
func (c *TransactionBabylonUpdateNonDelegatorCall) Do(f func(context.Context, *contract.Contract) error) *TransactionBabylonUpdateNonDelegatorCall
Do rewrite *gomock.Call.Do
func (*TransactionBabylonUpdateNonDelegatorCall) DoAndReturn ¶
func (c *TransactionBabylonUpdateNonDelegatorCall) DoAndReturn(f func(context.Context, *contract.Contract) error) *TransactionBabylonUpdateNonDelegatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionBabylonUpdateNonDelegatorCall) Return ¶
func (c *TransactionBabylonUpdateNonDelegatorCall) Return(arg0 error) *TransactionBabylonUpdateNonDelegatorCall
Return rewrite *gomock.Call.Return
type TransactionBigMapActionsCall ¶
TransactionBigMapActionsCall wrap *gomock.Call
func (*TransactionBigMapActionsCall) Do ¶
func (c *TransactionBigMapActionsCall) Do(f func(context.Context, ...*bigmapaction.BigMapAction) error) *TransactionBigMapActionsCall
Do rewrite *gomock.Call.Do
func (*TransactionBigMapActionsCall) DoAndReturn ¶
func (c *TransactionBigMapActionsCall) DoAndReturn(f func(context.Context, ...*bigmapaction.BigMapAction) error) *TransactionBigMapActionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionBigMapActionsCall) Return ¶
func (c *TransactionBigMapActionsCall) Return(arg0 error) *TransactionBigMapActionsCall
Return rewrite *gomock.Call.Return
type TransactionBigMapDiffsCall ¶
TransactionBigMapDiffsCall wrap *gomock.Call
func (*TransactionBigMapDiffsCall) Do ¶
func (c *TransactionBigMapDiffsCall) Do(f func(context.Context, ...*bigmapdiff.BigMapDiff) error) *TransactionBigMapDiffsCall
Do rewrite *gomock.Call.Do
func (*TransactionBigMapDiffsCall) DoAndReturn ¶
func (c *TransactionBigMapDiffsCall) DoAndReturn(f func(context.Context, ...*bigmapdiff.BigMapDiff) error) *TransactionBigMapDiffsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionBigMapDiffsCall) Return ¶
func (c *TransactionBigMapDiffsCall) Return(arg0 error) *TransactionBigMapDiffsCall
Return rewrite *gomock.Call.Return
type TransactionBigMapStatesCall ¶
TransactionBigMapStatesCall wrap *gomock.Call
func (*TransactionBigMapStatesCall) Do ¶
func (c *TransactionBigMapStatesCall) Do(f func(context.Context, ...*bigmapdiff.BigMapState) error) *TransactionBigMapStatesCall
Do rewrite *gomock.Call.Do
func (*TransactionBigMapStatesCall) DoAndReturn ¶
func (c *TransactionBigMapStatesCall) DoAndReturn(f func(context.Context, ...*bigmapdiff.BigMapState) error) *TransactionBigMapStatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionBigMapStatesCall) Return ¶
func (c *TransactionBigMapStatesCall) Return(arg0 error) *TransactionBigMapStatesCall
Return rewrite *gomock.Call.Return
type TransactionBlockCall ¶
TransactionBlockCall wrap *gomock.Call
func (*TransactionBlockCall) Do ¶
func (c *TransactionBlockCall) Do(f func(context.Context, *block.Block) error) *TransactionBlockCall
Do rewrite *gomock.Call.Do
func (*TransactionBlockCall) DoAndReturn ¶
func (c *TransactionBlockCall) DoAndReturn(f func(context.Context, *block.Block) error) *TransactionBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionBlockCall) Return ¶
func (c *TransactionBlockCall) Return(arg0 error) *TransactionBlockCall
Return rewrite *gomock.Call.Return
type TransactionCommitCall ¶
TransactionCommitCall wrap *gomock.Call
func (*TransactionCommitCall) Do ¶
func (c *TransactionCommitCall) Do(f func() error) *TransactionCommitCall
Do rewrite *gomock.Call.Do
func (*TransactionCommitCall) DoAndReturn ¶
func (c *TransactionCommitCall) DoAndReturn(f func() error) *TransactionCommitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionCommitCall) Return ¶
func (c *TransactionCommitCall) Return(arg0 error) *TransactionCommitCall
Return rewrite *gomock.Call.Return
type TransactionContractsCall ¶
TransactionContractsCall wrap *gomock.Call
func (*TransactionContractsCall) Do ¶
func (c *TransactionContractsCall) Do(f func(context.Context, ...*contract.Contract) error) *TransactionContractsCall
Do rewrite *gomock.Call.Do
func (*TransactionContractsCall) DoAndReturn ¶
func (c *TransactionContractsCall) DoAndReturn(f func(context.Context, ...*contract.Contract) error) *TransactionContractsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionContractsCall) Return ¶
func (c *TransactionContractsCall) Return(arg0 error) *TransactionContractsCall
Return rewrite *gomock.Call.Return
type TransactionDeleteBigMapStatesByContractCall ¶
TransactionDeleteBigMapStatesByContractCall wrap *gomock.Call
func (*TransactionDeleteBigMapStatesByContractCall) Do ¶
func (c *TransactionDeleteBigMapStatesByContractCall) Do(f func(context.Context, string) ([]bigmapdiff.BigMapState, error)) *TransactionDeleteBigMapStatesByContractCall
Do rewrite *gomock.Call.Do
func (*TransactionDeleteBigMapStatesByContractCall) DoAndReturn ¶
func (c *TransactionDeleteBigMapStatesByContractCall) DoAndReturn(f func(context.Context, string) ([]bigmapdiff.BigMapState, error)) *TransactionDeleteBigMapStatesByContractCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionDeleteBigMapStatesByContractCall) Return ¶
func (c *TransactionDeleteBigMapStatesByContractCall) Return(arg0 []bigmapdiff.BigMapState, arg1 error) *TransactionDeleteBigMapStatesByContractCall
Return rewrite *gomock.Call.Return
type TransactionGlobalConstantsCall ¶
TransactionGlobalConstantsCall wrap *gomock.Call
func (*TransactionGlobalConstantsCall) Do ¶
func (c *TransactionGlobalConstantsCall) Do(f func(context.Context, ...*contract.GlobalConstant) error) *TransactionGlobalConstantsCall
Do rewrite *gomock.Call.Do
func (*TransactionGlobalConstantsCall) DoAndReturn ¶
func (c *TransactionGlobalConstantsCall) DoAndReturn(f func(context.Context, ...*contract.GlobalConstant) error) *TransactionGlobalConstantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionGlobalConstantsCall) Return ¶
func (c *TransactionGlobalConstantsCall) Return(arg0 error) *TransactionGlobalConstantsCall
Return rewrite *gomock.Call.Return
type TransactionJakartaUpdateNonDelegatorCall ¶
TransactionJakartaUpdateNonDelegatorCall wrap *gomock.Call
func (*TransactionJakartaUpdateNonDelegatorCall) Do ¶
func (c *TransactionJakartaUpdateNonDelegatorCall) Do(f func(context.Context, *contract.Contract) error) *TransactionJakartaUpdateNonDelegatorCall
Do rewrite *gomock.Call.Do
func (*TransactionJakartaUpdateNonDelegatorCall) DoAndReturn ¶
func (c *TransactionJakartaUpdateNonDelegatorCall) DoAndReturn(f func(context.Context, *contract.Contract) error) *TransactionJakartaUpdateNonDelegatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionJakartaUpdateNonDelegatorCall) Return ¶
func (c *TransactionJakartaUpdateNonDelegatorCall) Return(arg0 error) *TransactionJakartaUpdateNonDelegatorCall
Return rewrite *gomock.Call.Return
type TransactionJakartaVestingCall ¶
TransactionJakartaVestingCall wrap *gomock.Call
func (*TransactionJakartaVestingCall) Do ¶
func (c *TransactionJakartaVestingCall) Do(f func(context.Context, *contract.Contract) error) *TransactionJakartaVestingCall
Do rewrite *gomock.Call.Do
func (*TransactionJakartaVestingCall) DoAndReturn ¶
func (c *TransactionJakartaVestingCall) DoAndReturn(f func(context.Context, *contract.Contract) error) *TransactionJakartaVestingCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionJakartaVestingCall) Return ¶
func (c *TransactionJakartaVestingCall) Return(arg0 error) *TransactionJakartaVestingCall
Return rewrite *gomock.Call.Return
type TransactionMigrationsCall ¶
TransactionMigrationsCall wrap *gomock.Call
func (*TransactionMigrationsCall) Do ¶
func (c *TransactionMigrationsCall) Do(f func(context.Context, ...*migration.Migration) error) *TransactionMigrationsCall
Do rewrite *gomock.Call.Do
func (*TransactionMigrationsCall) DoAndReturn ¶
func (c *TransactionMigrationsCall) DoAndReturn(f func(context.Context, ...*migration.Migration) error) *TransactionMigrationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionMigrationsCall) Return ¶
func (c *TransactionMigrationsCall) Return(arg0 error) *TransactionMigrationsCall
Return rewrite *gomock.Call.Return
type TransactionOperationsCall ¶
TransactionOperationsCall wrap *gomock.Call
func (*TransactionOperationsCall) Do ¶
func (c *TransactionOperationsCall) Do(f func(context.Context, ...*operation.Operation) error) *TransactionOperationsCall
Do rewrite *gomock.Call.Do
func (*TransactionOperationsCall) DoAndReturn ¶
func (c *TransactionOperationsCall) DoAndReturn(f func(context.Context, ...*operation.Operation) error) *TransactionOperationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionOperationsCall) Return ¶
func (c *TransactionOperationsCall) Return(arg0 error) *TransactionOperationsCall
Return rewrite *gomock.Call.Return
type TransactionProtocolCall ¶
TransactionProtocolCall wrap *gomock.Call
func (*TransactionProtocolCall) Do ¶
func (c *TransactionProtocolCall) Do(f func(context.Context, *protocol.Protocol) error) *TransactionProtocolCall
Do rewrite *gomock.Call.Do
func (*TransactionProtocolCall) DoAndReturn ¶
func (c *TransactionProtocolCall) DoAndReturn(f func(context.Context, *protocol.Protocol) error) *TransactionProtocolCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionProtocolCall) Return ¶
func (c *TransactionProtocolCall) Return(arg0 error) *TransactionProtocolCall
Return rewrite *gomock.Call.Return
type TransactionRollbackCall ¶
TransactionRollbackCall wrap *gomock.Call
func (*TransactionRollbackCall) Do ¶
func (c *TransactionRollbackCall) Do(f func() error) *TransactionRollbackCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackCall) DoAndReturn ¶
func (c *TransactionRollbackCall) DoAndReturn(f func() error) *TransactionRollbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackCall) Return ¶
func (c *TransactionRollbackCall) Return(arg0 error) *TransactionRollbackCall
Return rewrite *gomock.Call.Return
type TransactionSaveCall ¶
TransactionSaveCall wrap *gomock.Call
func (*TransactionSaveCall) Do ¶
func (c *TransactionSaveCall) Do(f func(context.Context, any) error) *TransactionSaveCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveCall) DoAndReturn ¶
func (c *TransactionSaveCall) DoAndReturn(f func(context.Context, any) error) *TransactionSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveCall) Return ¶
func (c *TransactionSaveCall) Return(arg0 error) *TransactionSaveCall
Return rewrite *gomock.Call.Return
type TransactionScriptConstantCall ¶
TransactionScriptConstantCall wrap *gomock.Call
func (*TransactionScriptConstantCall) Do ¶
func (c *TransactionScriptConstantCall) Do(f func(context.Context, ...*contract.ScriptConstants) error) *TransactionScriptConstantCall
Do rewrite *gomock.Call.Do
func (*TransactionScriptConstantCall) DoAndReturn ¶
func (c *TransactionScriptConstantCall) DoAndReturn(f func(context.Context, ...*contract.ScriptConstants) error) *TransactionScriptConstantCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionScriptConstantCall) Return ¶
func (c *TransactionScriptConstantCall) Return(arg0 error) *TransactionScriptConstantCall
Return rewrite *gomock.Call.Return
type TransactionScriptsCall ¶
TransactionScriptsCall wrap *gomock.Call
func (*TransactionScriptsCall) Do ¶
func (c *TransactionScriptsCall) Do(f func(context.Context, ...*contract.Script) error) *TransactionScriptsCall
Do rewrite *gomock.Call.Do
func (*TransactionScriptsCall) DoAndReturn ¶
func (c *TransactionScriptsCall) DoAndReturn(f func(context.Context, ...*contract.Script) error) *TransactionScriptsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionScriptsCall) Return ¶
func (c *TransactionScriptsCall) Return(arg0 error) *TransactionScriptsCall
Return rewrite *gomock.Call.Return
type TransactionSmartRollupsCall ¶
TransactionSmartRollupsCall wrap *gomock.Call
func (*TransactionSmartRollupsCall) Do ¶
func (c *TransactionSmartRollupsCall) Do(f func(context.Context, ...*smartrollup.SmartRollup) error) *TransactionSmartRollupsCall
Do rewrite *gomock.Call.Do
func (*TransactionSmartRollupsCall) DoAndReturn ¶
func (c *TransactionSmartRollupsCall) DoAndReturn(f func(context.Context, ...*smartrollup.SmartRollup) error) *TransactionSmartRollupsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSmartRollupsCall) Return ¶
func (c *TransactionSmartRollupsCall) Return(arg0 error) *TransactionSmartRollupsCall
Return rewrite *gomock.Call.Return
type TransactionTickerUpdatesCall ¶
TransactionTickerUpdatesCall wrap *gomock.Call
func (*TransactionTickerUpdatesCall) Do ¶
func (c *TransactionTickerUpdatesCall) Do(f func(context.Context, ...*ticket.TicketUpdate) error) *TransactionTickerUpdatesCall
Do rewrite *gomock.Call.Do
func (*TransactionTickerUpdatesCall) DoAndReturn ¶
func (c *TransactionTickerUpdatesCall) DoAndReturn(f func(context.Context, ...*ticket.TicketUpdate) error) *TransactionTickerUpdatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionTickerUpdatesCall) Return ¶
func (c *TransactionTickerUpdatesCall) Return(arg0 error) *TransactionTickerUpdatesCall
Return rewrite *gomock.Call.Return
type TransactionTicketBalancesCall ¶
TransactionTicketBalancesCall wrap *gomock.Call
func (*TransactionTicketBalancesCall) Do ¶
func (c *TransactionTicketBalancesCall) Do(f func(context.Context, ...*ticket.Balance) error) *TransactionTicketBalancesCall
Do rewrite *gomock.Call.Do
func (*TransactionTicketBalancesCall) DoAndReturn ¶
func (c *TransactionTicketBalancesCall) DoAndReturn(f func(context.Context, ...*ticket.Balance) error) *TransactionTicketBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionTicketBalancesCall) Return ¶
func (c *TransactionTicketBalancesCall) Return(arg0 error) *TransactionTicketBalancesCall
Return rewrite *gomock.Call.Return
type TransactionTicketsCall ¶
TransactionTicketsCall wrap *gomock.Call
func (*TransactionTicketsCall) Do ¶
func (c *TransactionTicketsCall) Do(f func(context.Context, ...*ticket.Ticket) error) *TransactionTicketsCall
Do rewrite *gomock.Call.Do
func (*TransactionTicketsCall) DoAndReturn ¶
func (c *TransactionTicketsCall) DoAndReturn(f func(context.Context, ...*ticket.Ticket) error) *TransactionTicketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionTicketsCall) Return ¶
func (c *TransactionTicketsCall) Return(arg0 error) *TransactionTicketsCall
Return rewrite *gomock.Call.Return
type TransactionToBabylonCall ¶
TransactionToBabylonCall wrap *gomock.Call
func (*TransactionToBabylonCall) Do ¶
func (c *TransactionToBabylonCall) Do(f func(context.Context) error) *TransactionToBabylonCall
Do rewrite *gomock.Call.Do
func (*TransactionToBabylonCall) DoAndReturn ¶
func (c *TransactionToBabylonCall) DoAndReturn(f func(context.Context) error) *TransactionToBabylonCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionToBabylonCall) Return ¶
func (c *TransactionToBabylonCall) Return(arg0 error) *TransactionToBabylonCall
Return rewrite *gomock.Call.Return
type TransactionToJakartaCall ¶
TransactionToJakartaCall wrap *gomock.Call
func (*TransactionToJakartaCall) Do ¶
func (c *TransactionToJakartaCall) Do(f func(context.Context) error) *TransactionToJakartaCall
Do rewrite *gomock.Call.Do
func (*TransactionToJakartaCall) DoAndReturn ¶
func (c *TransactionToJakartaCall) DoAndReturn(f func(context.Context) error) *TransactionToJakartaCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionToJakartaCall) Return ¶
func (c *TransactionToJakartaCall) Return(arg0 error) *TransactionToJakartaCall
Return rewrite *gomock.Call.Return
type TransactionUpdateStatsCall ¶
TransactionUpdateStatsCall wrap *gomock.Call
func (*TransactionUpdateStatsCall) Do ¶
func (c *TransactionUpdateStatsCall) Do(f func(context.Context, stats.Stats) error) *TransactionUpdateStatsCall
Do rewrite *gomock.Call.Do
func (*TransactionUpdateStatsCall) DoAndReturn ¶
func (c *TransactionUpdateStatsCall) DoAndReturn(f func(context.Context, stats.Stats) error) *TransactionUpdateStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionUpdateStatsCall) Return ¶
func (c *TransactionUpdateStatsCall) Return(arg0 error) *TransactionUpdateStatsCall
Return rewrite *gomock.Call.Return
Directories ¶
Path | Synopsis |
---|---|
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |