mock

package
v0.0.0-...-0ff5682 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: internal/platform/state/state.go

Generated by this command:

mockgen -source=internal/platform/state/state.go -destination=internal/platform/state/mock/state.go -package=mock

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEvolutionContractState

type MockEvolutionContractState struct {
	// contains filtered or unexported fields
}

MockEvolutionContractState is a mock of EvolutionContractState interface.

func NewMockEvolutionContractState

func NewMockEvolutionContractState(ctrl *gomock.Controller) *MockEvolutionContractState

NewMockEvolutionContractState creates a new mock instance.

func (*MockEvolutionContractState) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEvolutionContractState) GetMintedWithExternalURIEvents

func (m *MockEvolutionContractState) GetMintedWithExternalURIEvents(contract string, blockNumber uint64) ([]model.MintedWithExternalURI, error)

GetMintedWithExternalURIEvents mocks base method.

func (*MockEvolutionContractState) StoreMintedWithExternalURIEvent

func (m *MockEvolutionContractState) StoreMintedWithExternalURIEvent(contract string, event *model.MintedWithExternalURI) error

StoreMintedWithExternalURIEvent mocks base method.

type MockEvolutionContractStateMockRecorder

type MockEvolutionContractStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockEvolutionContractStateMockRecorder is the mock recorder for MockEvolutionContractState.

func (*MockEvolutionContractStateMockRecorder) GetMintedWithExternalURIEvents

func (mr *MockEvolutionContractStateMockRecorder) GetMintedWithExternalURIEvents(contract, blockNumber any) *gomock.Call

GetMintedWithExternalURIEvents indicates an expected call of GetMintedWithExternalURIEvents.

func (*MockEvolutionContractStateMockRecorder) StoreMintedWithExternalURIEvent

func (mr *MockEvolutionContractStateMockRecorder) StoreMintedWithExternalURIEvent(contract, event any) *gomock.Call

StoreMintedWithExternalURIEvent indicates an expected call of StoreMintedWithExternalURIEvent.

type MockEvolutionSyncState

type MockEvolutionSyncState struct {
	// contains filtered or unexported fields
}

MockEvolutionSyncState is a mock of EvolutionSyncState interface.

func NewMockEvolutionSyncState

func NewMockEvolutionSyncState(ctrl *gomock.Controller) *MockEvolutionSyncState

NewMockEvolutionSyncState creates a new mock instance.

func (*MockEvolutionSyncState) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEvolutionSyncState) GetFirstEvoBlock

func (m *MockEvolutionSyncState) GetFirstEvoBlock() (model.Block, error)

GetFirstEvoBlock mocks base method.

func (*MockEvolutionSyncState) GetLastEvoBlock

func (m *MockEvolutionSyncState) GetLastEvoBlock() (model.Block, error)

GetLastEvoBlock mocks base method.

func (*MockEvolutionSyncState) GetNextEvoEventBlock

func (m *MockEvolutionSyncState) GetNextEvoEventBlock(contract string, blockNumber uint64) (uint64, error)

GetNextEvoEventBlock mocks base method.

func (*MockEvolutionSyncState) SetFirstEvoBlock

func (m *MockEvolutionSyncState) SetFirstEvoBlock(block model.Block) error

SetFirstEvoBlock mocks base method.

func (*MockEvolutionSyncState) SetLastEvoBlock

func (m *MockEvolutionSyncState) SetLastEvoBlock(block model.Block) error

SetLastEvoBlock mocks base method.

func (*MockEvolutionSyncState) SetNextEvoEventBlock

func (m *MockEvolutionSyncState) SetNextEvoEventBlock(contract string, blockNumber uint64) error

SetNextEvoEventBlock mocks base method.

type MockEvolutionSyncStateMockRecorder

type MockEvolutionSyncStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockEvolutionSyncStateMockRecorder is the mock recorder for MockEvolutionSyncState.

func (*MockEvolutionSyncStateMockRecorder) GetFirstEvoBlock

func (mr *MockEvolutionSyncStateMockRecorder) GetFirstEvoBlock() *gomock.Call

GetFirstEvoBlock indicates an expected call of GetFirstEvoBlock.

func (*MockEvolutionSyncStateMockRecorder) GetLastEvoBlock

func (mr *MockEvolutionSyncStateMockRecorder) GetLastEvoBlock() *gomock.Call

GetLastEvoBlock indicates an expected call of GetLastEvoBlock.

func (*MockEvolutionSyncStateMockRecorder) GetNextEvoEventBlock

func (mr *MockEvolutionSyncStateMockRecorder) GetNextEvoEventBlock(contract, blockNumber any) *gomock.Call

GetNextEvoEventBlock indicates an expected call of GetNextEvoEventBlock.

func (*MockEvolutionSyncStateMockRecorder) SetFirstEvoBlock

func (mr *MockEvolutionSyncStateMockRecorder) SetFirstEvoBlock(block any) *gomock.Call

SetFirstEvoBlock indicates an expected call of SetFirstEvoBlock.

func (*MockEvolutionSyncStateMockRecorder) SetLastEvoBlock

func (mr *MockEvolutionSyncStateMockRecorder) SetLastEvoBlock(block any) *gomock.Call

SetLastEvoBlock indicates an expected call of SetLastEvoBlock.

func (*MockEvolutionSyncStateMockRecorder) SetNextEvoEventBlock

func (mr *MockEvolutionSyncStateMockRecorder) SetNextEvoEventBlock(contract, blockNumber any) *gomock.Call

SetNextEvoEventBlock indicates an expected call of SetNextEvoEventBlock.

type MockOwnershipContractState

type MockOwnershipContractState struct {
	// contains filtered or unexported fields
}

MockOwnershipContractState is a mock of OwnershipContractState interface.

func NewMockOwnershipContractState

func NewMockOwnershipContractState(ctrl *gomock.Controller) *MockOwnershipContractState

NewMockOwnershipContractState creates a new mock instance.

func (*MockOwnershipContractState) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOwnershipContractState) GetAllERC721UniversalContracts

func (m *MockOwnershipContractState) GetAllERC721UniversalContracts() []string

GetAllERC721UniversalContracts mocks base method.

func (*MockOwnershipContractState) GetCollectionAddress

func (m *MockOwnershipContractState) GetCollectionAddress(contract string) (common.Address, error)

GetCollectionAddress mocks base method.

func (*MockOwnershipContractState) GetExistingERC721UniversalContracts

func (m *MockOwnershipContractState) GetExistingERC721UniversalContracts(contracts []string) ([]string, error)

GetExistingERC721UniversalContracts mocks base method.

func (*MockOwnershipContractState) HasERC721UniversalContract

func (m *MockOwnershipContractState) HasERC721UniversalContract(contract string) (bool, error)

HasERC721UniversalContract mocks base method.

func (*MockOwnershipContractState) StoreERC721UniversalContracts

func (m *MockOwnershipContractState) StoreERC721UniversalContracts(universalContracts []model.ERC721UniversalContract) error

StoreERC721UniversalContracts mocks base method.

type MockOwnershipContractStateMockRecorder

type MockOwnershipContractStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockOwnershipContractStateMockRecorder is the mock recorder for MockOwnershipContractState.

func (*MockOwnershipContractStateMockRecorder) GetAllERC721UniversalContracts

func (mr *MockOwnershipContractStateMockRecorder) GetAllERC721UniversalContracts() *gomock.Call

GetAllERC721UniversalContracts indicates an expected call of GetAllERC721UniversalContracts.

func (*MockOwnershipContractStateMockRecorder) GetCollectionAddress

func (mr *MockOwnershipContractStateMockRecorder) GetCollectionAddress(contract any) *gomock.Call

GetCollectionAddress indicates an expected call of GetCollectionAddress.

func (*MockOwnershipContractStateMockRecorder) GetExistingERC721UniversalContracts

func (mr *MockOwnershipContractStateMockRecorder) GetExistingERC721UniversalContracts(contracts any) *gomock.Call

GetExistingERC721UniversalContracts indicates an expected call of GetExistingERC721UniversalContracts.

func (*MockOwnershipContractStateMockRecorder) HasERC721UniversalContract

func (mr *MockOwnershipContractStateMockRecorder) HasERC721UniversalContract(contract any) *gomock.Call

HasERC721UniversalContract indicates an expected call of HasERC721UniversalContract.

func (*MockOwnershipContractStateMockRecorder) StoreERC721UniversalContracts

func (mr *MockOwnershipContractStateMockRecorder) StoreERC721UniversalContracts(universalContracts any) *gomock.Call

StoreERC721UniversalContracts indicates an expected call of StoreERC721UniversalContracts.

type MockOwnershipSyncState

type MockOwnershipSyncState struct {
	// contains filtered or unexported fields
}

MockOwnershipSyncState is a mock of OwnershipSyncState interface.

func NewMockOwnershipSyncState

func NewMockOwnershipSyncState(ctrl *gomock.Controller) *MockOwnershipSyncState

NewMockOwnershipSyncState creates a new mock instance.

func (*MockOwnershipSyncState) DeleteOldStoredBlockNumbers

func (m *MockOwnershipSyncState) DeleteOldStoredBlockNumbers() error

DeleteOldStoredBlockNumbers mocks base method.

func (*MockOwnershipSyncState) DeleteOrphanBlockData

func (m *MockOwnershipSyncState) DeleteOrphanBlockData(blockNumberRef uint64) error

DeleteOrphanBlockData mocks base method.

func (*MockOwnershipSyncState) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOwnershipSyncState) GetAllStoredBlockNumbers

func (m *MockOwnershipSyncState) GetAllStoredBlockNumbers() ([]uint64, error)

GetAllStoredBlockNumbers mocks base method.

func (*MockOwnershipSyncState) GetFirstOwnershipBlock

func (m *MockOwnershipSyncState) GetFirstOwnershipBlock() (model.Block, error)

GetFirstOwnershipBlock mocks base method.

func (*MockOwnershipSyncState) GetLastMappedOwnershipBlockNumber

func (m *MockOwnershipSyncState) GetLastMappedOwnershipBlockNumber() (uint64, error)

GetLastMappedOwnershipBlockNumber mocks base method.

func (*MockOwnershipSyncState) GetLastOwnershipBlock

func (m *MockOwnershipSyncState) GetLastOwnershipBlock() (model.Block, error)

GetLastOwnershipBlock mocks base method.

func (*MockOwnershipSyncState) GetMappedEvoBlockNumber

func (m *MockOwnershipSyncState) GetMappedEvoBlockNumber(ownershipBlockNumber uint64) (uint64, error)

GetMappedEvoBlockNumber mocks base method.

func (*MockOwnershipSyncState) GetOwnershipBlock

func (m *MockOwnershipSyncState) GetOwnershipBlock(blockNumber uint64) (model.Block, error)

GetOwnershipBlock mocks base method.

func (*MockOwnershipSyncState) SetFirstOwnershipBlock

func (m *MockOwnershipSyncState) SetFirstOwnershipBlock(block model.Block) error

SetFirstOwnershipBlock mocks base method.

func (*MockOwnershipSyncState) SetLastMappedOwnershipBlockNumber

func (m *MockOwnershipSyncState) SetLastMappedOwnershipBlockNumber(blockNumber uint64) error

SetLastMappedOwnershipBlockNumber mocks base method.

func (*MockOwnershipSyncState) SetLastOwnershipBlock

func (m *MockOwnershipSyncState) SetLastOwnershipBlock(block model.Block) error

SetLastOwnershipBlock mocks base method.

func (*MockOwnershipSyncState) SetOwnershipBlock

func (m *MockOwnershipSyncState) SetOwnershipBlock(blockNumber uint64, block model.Block) error

SetOwnershipBlock mocks base method.

func (*MockOwnershipSyncState) SetOwnershipEvoBlockMapping

func (m *MockOwnershipSyncState) SetOwnershipEvoBlockMapping(ownershipBlockNumber, evoBlockNumber uint64) error

SetOwnershipEvoBlockMapping mocks base method.

type MockOwnershipSyncStateMockRecorder

type MockOwnershipSyncStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockOwnershipSyncStateMockRecorder is the mock recorder for MockOwnershipSyncState.

func (*MockOwnershipSyncStateMockRecorder) DeleteOldStoredBlockNumbers

func (mr *MockOwnershipSyncStateMockRecorder) DeleteOldStoredBlockNumbers() *gomock.Call

DeleteOldStoredBlockNumbers indicates an expected call of DeleteOldStoredBlockNumbers.

func (*MockOwnershipSyncStateMockRecorder) DeleteOrphanBlockData

func (mr *MockOwnershipSyncStateMockRecorder) DeleteOrphanBlockData(blockNumberRef any) *gomock.Call

DeleteOrphanBlockData indicates an expected call of DeleteOrphanBlockData.

func (*MockOwnershipSyncStateMockRecorder) GetAllStoredBlockNumbers

func (mr *MockOwnershipSyncStateMockRecorder) GetAllStoredBlockNumbers() *gomock.Call

GetAllStoredBlockNumbers indicates an expected call of GetAllStoredBlockNumbers.

func (*MockOwnershipSyncStateMockRecorder) GetFirstOwnershipBlock

func (mr *MockOwnershipSyncStateMockRecorder) GetFirstOwnershipBlock() *gomock.Call

GetFirstOwnershipBlock indicates an expected call of GetFirstOwnershipBlock.

func (*MockOwnershipSyncStateMockRecorder) GetLastMappedOwnershipBlockNumber

func (mr *MockOwnershipSyncStateMockRecorder) GetLastMappedOwnershipBlockNumber() *gomock.Call

GetLastMappedOwnershipBlockNumber indicates an expected call of GetLastMappedOwnershipBlockNumber.

func (*MockOwnershipSyncStateMockRecorder) GetLastOwnershipBlock

func (mr *MockOwnershipSyncStateMockRecorder) GetLastOwnershipBlock() *gomock.Call

GetLastOwnershipBlock indicates an expected call of GetLastOwnershipBlock.

func (*MockOwnershipSyncStateMockRecorder) GetMappedEvoBlockNumber

func (mr *MockOwnershipSyncStateMockRecorder) GetMappedEvoBlockNumber(ownershipBlockNumber any) *gomock.Call

GetMappedEvoBlockNumber indicates an expected call of GetMappedEvoBlockNumber.

func (*MockOwnershipSyncStateMockRecorder) GetOwnershipBlock

func (mr *MockOwnershipSyncStateMockRecorder) GetOwnershipBlock(blockNumber any) *gomock.Call

GetOwnershipBlock indicates an expected call of GetOwnershipBlock.

func (*MockOwnershipSyncStateMockRecorder) SetFirstOwnershipBlock

func (mr *MockOwnershipSyncStateMockRecorder) SetFirstOwnershipBlock(block any) *gomock.Call

SetFirstOwnershipBlock indicates an expected call of SetFirstOwnershipBlock.

func (*MockOwnershipSyncStateMockRecorder) SetLastMappedOwnershipBlockNumber

func (mr *MockOwnershipSyncStateMockRecorder) SetLastMappedOwnershipBlockNumber(blockNumber any) *gomock.Call

SetLastMappedOwnershipBlockNumber indicates an expected call of SetLastMappedOwnershipBlockNumber.

func (*MockOwnershipSyncStateMockRecorder) SetLastOwnershipBlock

func (mr *MockOwnershipSyncStateMockRecorder) SetLastOwnershipBlock(block any) *gomock.Call

SetLastOwnershipBlock indicates an expected call of SetLastOwnershipBlock.

func (*MockOwnershipSyncStateMockRecorder) SetOwnershipBlock

func (mr *MockOwnershipSyncStateMockRecorder) SetOwnershipBlock(blockNumber, block any) *gomock.Call

SetOwnershipBlock indicates an expected call of SetOwnershipBlock.

func (*MockOwnershipSyncStateMockRecorder) SetOwnershipEvoBlockMapping

func (mr *MockOwnershipSyncStateMockRecorder) SetOwnershipEvoBlockMapping(ownershipBlockNumber, evoBlockNumber any) *gomock.Call

SetOwnershipEvoBlockMapping indicates an expected call of SetOwnershipEvoBlockMapping.

type MockService

type MockService struct {
	// contains filtered or unexported fields
}

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockService) NewTransaction

func (m *MockService) NewTransaction() (state.Tx, error)

NewTransaction mocks base method.

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) NewTransaction

func (mr *MockServiceMockRecorder) NewTransaction() *gomock.Call

NewTransaction indicates an expected call of NewTransaction.

type MockState

type MockState struct {
	// contains filtered or unexported fields
}

MockState is a mock of State interface.

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance.

func (*MockState) AccountData

func (m *MockState) AccountData(contract common.Address) (*account.AccountData, error)

AccountData mocks base method.

func (*MockState) BalanceOf

func (m *MockState) BalanceOf(contract, owner common.Address) (*big.Int, error)

BalanceOf mocks base method.

func (*MockState) Checkout

func (m *MockState) Checkout(blockNumber int64) error

Checkout mocks base method.

func (*MockState) DeleteOrphanRootTags

func (m *MockState) DeleteOrphanRootTags(formBlock, toBlock int64) error

DeleteOrphanRootTags mocks base method.

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockState) GetLastTaggedBlock

func (m *MockState) GetLastTaggedBlock() (int64, error)

GetLastTaggedBlock mocks base method.

func (*MockState) LoadContractTrees

func (m *MockState) LoadContractTrees(contractAddress common.Address) error

LoadContractTrees mocks base method.

func (*MockState) Mint

func (m *MockState) Mint(contract common.Address, mintEvent *model.MintedWithExternalURI) error

Mint mocks base method.

func (*MockState) OwnerOf

func (m *MockState) OwnerOf(contract common.Address, tokenId *big.Int) (common.Address, error)

OwnerOf mocks base method.

func (*MockState) TagRoot

func (m *MockState) TagRoot(blockNumber int64) error

TagRoot mocks base method.

func (*MockState) TokenByIndex

func (m *MockState) TokenByIndex(contract common.Address, idx int) (*big.Int, error)

TokenByIndex mocks base method.

func (*MockState) TokenOfOwnerByIndex

func (m *MockState) TokenOfOwnerByIndex(contract, owner common.Address, idx int) (*big.Int, error)

TokenOfOwnerByIndex mocks base method.

func (*MockState) TokenURI

func (m *MockState) TokenURI(contract common.Address, tokenId *big.Int) (string, error)

TokenURI mocks base method.

func (*MockState) TotalSupply

func (m *MockState) TotalSupply(contract common.Address) (int64, error)

TotalSupply mocks base method.

func (*MockState) Transfer

func (m *MockState) Transfer(contract common.Address, eventTransfer *model.ERC721Transfer) error

Transfer mocks base method.

func (*MockState) UpdateContractState

func (m *MockState) UpdateContractState(contract common.Address, lastProcessedEvoBlock uint64) error

UpdateContractState mocks base method.

type MockStateMockRecorder

type MockStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) AccountData

func (mr *MockStateMockRecorder) AccountData(contract any) *gomock.Call

AccountData indicates an expected call of AccountData.

func (*MockStateMockRecorder) BalanceOf

func (mr *MockStateMockRecorder) BalanceOf(contract, owner any) *gomock.Call

BalanceOf indicates an expected call of BalanceOf.

func (*MockStateMockRecorder) Checkout

func (mr *MockStateMockRecorder) Checkout(blockNumber any) *gomock.Call

Checkout indicates an expected call of Checkout.

func (*MockStateMockRecorder) DeleteOrphanRootTags

func (mr *MockStateMockRecorder) DeleteOrphanRootTags(formBlock, toBlock any) *gomock.Call

DeleteOrphanRootTags indicates an expected call of DeleteOrphanRootTags.

func (*MockStateMockRecorder) GetLastTaggedBlock

func (mr *MockStateMockRecorder) GetLastTaggedBlock() *gomock.Call

GetLastTaggedBlock indicates an expected call of GetLastTaggedBlock.

func (*MockStateMockRecorder) LoadContractTrees

func (mr *MockStateMockRecorder) LoadContractTrees(contractAddress any) *gomock.Call

LoadContractTrees indicates an expected call of LoadContractTrees.

func (*MockStateMockRecorder) Mint

func (mr *MockStateMockRecorder) Mint(contract, mintEvent any) *gomock.Call

Mint indicates an expected call of Mint.

func (*MockStateMockRecorder) OwnerOf

func (mr *MockStateMockRecorder) OwnerOf(contract, tokenId any) *gomock.Call

OwnerOf indicates an expected call of OwnerOf.

func (*MockStateMockRecorder) TagRoot

func (mr *MockStateMockRecorder) TagRoot(blockNumber any) *gomock.Call

TagRoot indicates an expected call of TagRoot.

func (*MockStateMockRecorder) TokenByIndex

func (mr *MockStateMockRecorder) TokenByIndex(contract, idx any) *gomock.Call

TokenByIndex indicates an expected call of TokenByIndex.

func (*MockStateMockRecorder) TokenOfOwnerByIndex

func (mr *MockStateMockRecorder) TokenOfOwnerByIndex(contract, owner, idx any) *gomock.Call

TokenOfOwnerByIndex indicates an expected call of TokenOfOwnerByIndex.

func (*MockStateMockRecorder) TokenURI

func (mr *MockStateMockRecorder) TokenURI(contract, tokenId any) *gomock.Call

TokenURI indicates an expected call of TokenURI.

func (*MockStateMockRecorder) TotalSupply

func (mr *MockStateMockRecorder) TotalSupply(contract any) *gomock.Call

TotalSupply indicates an expected call of TotalSupply.

func (*MockStateMockRecorder) Transfer

func (mr *MockStateMockRecorder) Transfer(contract, eventTransfer any) *gomock.Call

Transfer indicates an expected call of Transfer.

func (*MockStateMockRecorder) UpdateContractState

func (mr *MockStateMockRecorder) UpdateContractState(contract, lastProcessedEvoBlock any) *gomock.Call

UpdateContractState indicates an expected call of UpdateContractState.

type MockTx

type MockTx struct {
	// contains filtered or unexported fields
}

MockTx is a mock of Tx interface.

func NewMockTx

func NewMockTx(ctrl *gomock.Controller) *MockTx

NewMockTx creates a new mock instance.

func (*MockTx) AccountData

func (m *MockTx) AccountData(contract common.Address) (*account.AccountData, error)

AccountData mocks base method.

func (*MockTx) BalanceOf

func (m *MockTx) BalanceOf(contract, owner common.Address) (*big.Int, error)

BalanceOf mocks base method.

func (*MockTx) Checkout

func (m *MockTx) Checkout(blockNumber int64) error

Checkout mocks base method.

func (*MockTx) Commit

func (m *MockTx) Commit() error

Commit mocks base method.

func (*MockTx) DeleteOldStoredBlockNumbers

func (m *MockTx) DeleteOldStoredBlockNumbers() error

DeleteOldStoredBlockNumbers mocks base method.

func (*MockTx) DeleteOrphanBlockData

func (m *MockTx) DeleteOrphanBlockData(blockNumberRef uint64) error

DeleteOrphanBlockData mocks base method.

func (*MockTx) DeleteOrphanRootTags

func (m *MockTx) DeleteOrphanRootTags(formBlock, toBlock int64) error

DeleteOrphanRootTags mocks base method.

func (*MockTx) Discard

func (m *MockTx) Discard()

Discard mocks base method.

func (*MockTx) EXPECT

func (m *MockTx) EXPECT() *MockTxMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTx) GetAllERC721UniversalContracts

func (m *MockTx) GetAllERC721UniversalContracts() []string

GetAllERC721UniversalContracts mocks base method.

func (*MockTx) GetAllStoredBlockNumbers

func (m *MockTx) GetAllStoredBlockNumbers() ([]uint64, error)

GetAllStoredBlockNumbers mocks base method.

func (*MockTx) GetCollectionAddress

func (m *MockTx) GetCollectionAddress(contract string) (common.Address, error)

GetCollectionAddress mocks base method.

func (*MockTx) GetExistingERC721UniversalContracts

func (m *MockTx) GetExistingERC721UniversalContracts(contracts []string) ([]string, error)

GetExistingERC721UniversalContracts mocks base method.

func (*MockTx) GetFirstEvoBlock

func (m *MockTx) GetFirstEvoBlock() (model.Block, error)

GetFirstEvoBlock mocks base method.

func (*MockTx) GetFirstOwnershipBlock

func (m *MockTx) GetFirstOwnershipBlock() (model.Block, error)

GetFirstOwnershipBlock mocks base method.

func (*MockTx) GetLastEvoBlock

func (m *MockTx) GetLastEvoBlock() (model.Block, error)

GetLastEvoBlock mocks base method.

func (*MockTx) GetLastMappedOwnershipBlockNumber

func (m *MockTx) GetLastMappedOwnershipBlockNumber() (uint64, error)

GetLastMappedOwnershipBlockNumber mocks base method.

func (*MockTx) GetLastOwnershipBlock

func (m *MockTx) GetLastOwnershipBlock() (model.Block, error)

GetLastOwnershipBlock mocks base method.

func (*MockTx) GetLastTaggedBlock

func (m *MockTx) GetLastTaggedBlock() (int64, error)

GetLastTaggedBlock mocks base method.

func (*MockTx) GetMappedEvoBlockNumber

func (m *MockTx) GetMappedEvoBlockNumber(ownershipBlockNumber uint64) (uint64, error)

GetMappedEvoBlockNumber mocks base method.

func (*MockTx) GetMintedWithExternalURIEvents

func (m *MockTx) GetMintedWithExternalURIEvents(contract string, blockNumber uint64) ([]model.MintedWithExternalURI, error)

GetMintedWithExternalURIEvents mocks base method.

func (*MockTx) GetNextEvoEventBlock

func (m *MockTx) GetNextEvoEventBlock(contract string, blockNumber uint64) (uint64, error)

GetNextEvoEventBlock mocks base method.

func (*MockTx) GetOwnershipBlock

func (m *MockTx) GetOwnershipBlock(blockNumber uint64) (model.Block, error)

GetOwnershipBlock mocks base method.

func (*MockTx) HasERC721UniversalContract

func (m *MockTx) HasERC721UniversalContract(contract string) (bool, error)

HasERC721UniversalContract mocks base method.

func (*MockTx) LoadContractTrees

func (m *MockTx) LoadContractTrees(contractAddress common.Address) error

LoadContractTrees mocks base method.

func (*MockTx) Mint

func (m *MockTx) Mint(contract common.Address, mintEvent *model.MintedWithExternalURI) error

Mint mocks base method.

func (*MockTx) OwnerOf

func (m *MockTx) OwnerOf(contract common.Address, tokenId *big.Int) (common.Address, error)

OwnerOf mocks base method.

func (*MockTx) SetFirstEvoBlock

func (m *MockTx) SetFirstEvoBlock(block model.Block) error

SetFirstEvoBlock mocks base method.

func (*MockTx) SetFirstOwnershipBlock

func (m *MockTx) SetFirstOwnershipBlock(block model.Block) error

SetFirstOwnershipBlock mocks base method.

func (*MockTx) SetLastEvoBlock

func (m *MockTx) SetLastEvoBlock(block model.Block) error

SetLastEvoBlock mocks base method.

func (*MockTx) SetLastMappedOwnershipBlockNumber

func (m *MockTx) SetLastMappedOwnershipBlockNumber(blockNumber uint64) error

SetLastMappedOwnershipBlockNumber mocks base method.

func (*MockTx) SetLastOwnershipBlock

func (m *MockTx) SetLastOwnershipBlock(block model.Block) error

SetLastOwnershipBlock mocks base method.

func (*MockTx) SetNextEvoEventBlock

func (m *MockTx) SetNextEvoEventBlock(contract string, blockNumber uint64) error

SetNextEvoEventBlock mocks base method.

func (*MockTx) SetOwnershipBlock

func (m *MockTx) SetOwnershipBlock(blockNumber uint64, block model.Block) error

SetOwnershipBlock mocks base method.

func (*MockTx) SetOwnershipEvoBlockMapping

func (m *MockTx) SetOwnershipEvoBlockMapping(ownershipBlockNumber, evoBlockNumber uint64) error

SetOwnershipEvoBlockMapping mocks base method.

func (*MockTx) StoreERC721UniversalContracts

func (m *MockTx) StoreERC721UniversalContracts(universalContracts []model.ERC721UniversalContract) error

StoreERC721UniversalContracts mocks base method.

func (*MockTx) StoreMintedWithExternalURIEvent

func (m *MockTx) StoreMintedWithExternalURIEvent(contract string, event *model.MintedWithExternalURI) error

StoreMintedWithExternalURIEvent mocks base method.

func (*MockTx) TagRoot

func (m *MockTx) TagRoot(blockNumber int64) error

TagRoot mocks base method.

func (*MockTx) TokenByIndex

func (m *MockTx) TokenByIndex(contract common.Address, idx int) (*big.Int, error)

TokenByIndex mocks base method.

func (*MockTx) TokenOfOwnerByIndex

func (m *MockTx) TokenOfOwnerByIndex(contract, owner common.Address, idx int) (*big.Int, error)

TokenOfOwnerByIndex mocks base method.

func (*MockTx) TokenURI

func (m *MockTx) TokenURI(contract common.Address, tokenId *big.Int) (string, error)

TokenURI mocks base method.

func (*MockTx) TotalSupply

func (m *MockTx) TotalSupply(contract common.Address) (int64, error)

TotalSupply mocks base method.

func (*MockTx) Transfer

func (m *MockTx) Transfer(contract common.Address, eventTransfer *model.ERC721Transfer) error

Transfer mocks base method.

func (*MockTx) UpdateContractState

func (m *MockTx) UpdateContractState(contract common.Address, lastProcessedEvoBlock uint64) error

UpdateContractState mocks base method.

type MockTxMockRecorder

type MockTxMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxMockRecorder is the mock recorder for MockTx.

func (*MockTxMockRecorder) AccountData

func (mr *MockTxMockRecorder) AccountData(contract any) *gomock.Call

AccountData indicates an expected call of AccountData.

func (*MockTxMockRecorder) BalanceOf

func (mr *MockTxMockRecorder) BalanceOf(contract, owner any) *gomock.Call

BalanceOf indicates an expected call of BalanceOf.

func (*MockTxMockRecorder) Checkout

func (mr *MockTxMockRecorder) Checkout(blockNumber any) *gomock.Call

Checkout indicates an expected call of Checkout.

func (*MockTxMockRecorder) Commit

func (mr *MockTxMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockTxMockRecorder) DeleteOldStoredBlockNumbers

func (mr *MockTxMockRecorder) DeleteOldStoredBlockNumbers() *gomock.Call

DeleteOldStoredBlockNumbers indicates an expected call of DeleteOldStoredBlockNumbers.

func (*MockTxMockRecorder) DeleteOrphanBlockData

func (mr *MockTxMockRecorder) DeleteOrphanBlockData(blockNumberRef any) *gomock.Call

DeleteOrphanBlockData indicates an expected call of DeleteOrphanBlockData.

func (*MockTxMockRecorder) DeleteOrphanRootTags

func (mr *MockTxMockRecorder) DeleteOrphanRootTags(formBlock, toBlock any) *gomock.Call

DeleteOrphanRootTags indicates an expected call of DeleteOrphanRootTags.

func (*MockTxMockRecorder) Discard

func (mr *MockTxMockRecorder) Discard() *gomock.Call

Discard indicates an expected call of Discard.

func (*MockTxMockRecorder) GetAllERC721UniversalContracts

func (mr *MockTxMockRecorder) GetAllERC721UniversalContracts() *gomock.Call

GetAllERC721UniversalContracts indicates an expected call of GetAllERC721UniversalContracts.

func (*MockTxMockRecorder) GetAllStoredBlockNumbers

func (mr *MockTxMockRecorder) GetAllStoredBlockNumbers() *gomock.Call

GetAllStoredBlockNumbers indicates an expected call of GetAllStoredBlockNumbers.

func (*MockTxMockRecorder) GetCollectionAddress

func (mr *MockTxMockRecorder) GetCollectionAddress(contract any) *gomock.Call

GetCollectionAddress indicates an expected call of GetCollectionAddress.

func (*MockTxMockRecorder) GetExistingERC721UniversalContracts

func (mr *MockTxMockRecorder) GetExistingERC721UniversalContracts(contracts any) *gomock.Call

GetExistingERC721UniversalContracts indicates an expected call of GetExistingERC721UniversalContracts.

func (*MockTxMockRecorder) GetFirstEvoBlock

func (mr *MockTxMockRecorder) GetFirstEvoBlock() *gomock.Call

GetFirstEvoBlock indicates an expected call of GetFirstEvoBlock.

func (*MockTxMockRecorder) GetFirstOwnershipBlock

func (mr *MockTxMockRecorder) GetFirstOwnershipBlock() *gomock.Call

GetFirstOwnershipBlock indicates an expected call of GetFirstOwnershipBlock.

func (*MockTxMockRecorder) GetLastEvoBlock

func (mr *MockTxMockRecorder) GetLastEvoBlock() *gomock.Call

GetLastEvoBlock indicates an expected call of GetLastEvoBlock.

func (*MockTxMockRecorder) GetLastMappedOwnershipBlockNumber

func (mr *MockTxMockRecorder) GetLastMappedOwnershipBlockNumber() *gomock.Call

GetLastMappedOwnershipBlockNumber indicates an expected call of GetLastMappedOwnershipBlockNumber.

func (*MockTxMockRecorder) GetLastOwnershipBlock

func (mr *MockTxMockRecorder) GetLastOwnershipBlock() *gomock.Call

GetLastOwnershipBlock indicates an expected call of GetLastOwnershipBlock.

func (*MockTxMockRecorder) GetLastTaggedBlock

func (mr *MockTxMockRecorder) GetLastTaggedBlock() *gomock.Call

GetLastTaggedBlock indicates an expected call of GetLastTaggedBlock.

func (*MockTxMockRecorder) GetMappedEvoBlockNumber

func (mr *MockTxMockRecorder) GetMappedEvoBlockNumber(ownershipBlockNumber any) *gomock.Call

GetMappedEvoBlockNumber indicates an expected call of GetMappedEvoBlockNumber.

func (*MockTxMockRecorder) GetMintedWithExternalURIEvents

func (mr *MockTxMockRecorder) GetMintedWithExternalURIEvents(contract, blockNumber any) *gomock.Call

GetMintedWithExternalURIEvents indicates an expected call of GetMintedWithExternalURIEvents.

func (*MockTxMockRecorder) GetNextEvoEventBlock

func (mr *MockTxMockRecorder) GetNextEvoEventBlock(contract, blockNumber any) *gomock.Call

GetNextEvoEventBlock indicates an expected call of GetNextEvoEventBlock.

func (*MockTxMockRecorder) GetOwnershipBlock

func (mr *MockTxMockRecorder) GetOwnershipBlock(blockNumber any) *gomock.Call

GetOwnershipBlock indicates an expected call of GetOwnershipBlock.

func (*MockTxMockRecorder) HasERC721UniversalContract

func (mr *MockTxMockRecorder) HasERC721UniversalContract(contract any) *gomock.Call

HasERC721UniversalContract indicates an expected call of HasERC721UniversalContract.

func (*MockTxMockRecorder) LoadContractTrees

func (mr *MockTxMockRecorder) LoadContractTrees(contractAddress any) *gomock.Call

LoadContractTrees indicates an expected call of LoadContractTrees.

func (*MockTxMockRecorder) Mint

func (mr *MockTxMockRecorder) Mint(contract, mintEvent any) *gomock.Call

Mint indicates an expected call of Mint.

func (*MockTxMockRecorder) OwnerOf

func (mr *MockTxMockRecorder) OwnerOf(contract, tokenId any) *gomock.Call

OwnerOf indicates an expected call of OwnerOf.

func (*MockTxMockRecorder) SetFirstEvoBlock

func (mr *MockTxMockRecorder) SetFirstEvoBlock(block any) *gomock.Call

SetFirstEvoBlock indicates an expected call of SetFirstEvoBlock.

func (*MockTxMockRecorder) SetFirstOwnershipBlock

func (mr *MockTxMockRecorder) SetFirstOwnershipBlock(block any) *gomock.Call

SetFirstOwnershipBlock indicates an expected call of SetFirstOwnershipBlock.

func (*MockTxMockRecorder) SetLastEvoBlock

func (mr *MockTxMockRecorder) SetLastEvoBlock(block any) *gomock.Call

SetLastEvoBlock indicates an expected call of SetLastEvoBlock.

func (*MockTxMockRecorder) SetLastMappedOwnershipBlockNumber

func (mr *MockTxMockRecorder) SetLastMappedOwnershipBlockNumber(blockNumber any) *gomock.Call

SetLastMappedOwnershipBlockNumber indicates an expected call of SetLastMappedOwnershipBlockNumber.

func (*MockTxMockRecorder) SetLastOwnershipBlock

func (mr *MockTxMockRecorder) SetLastOwnershipBlock(block any) *gomock.Call

SetLastOwnershipBlock indicates an expected call of SetLastOwnershipBlock.

func (*MockTxMockRecorder) SetNextEvoEventBlock

func (mr *MockTxMockRecorder) SetNextEvoEventBlock(contract, blockNumber any) *gomock.Call

SetNextEvoEventBlock indicates an expected call of SetNextEvoEventBlock.

func (*MockTxMockRecorder) SetOwnershipBlock

func (mr *MockTxMockRecorder) SetOwnershipBlock(blockNumber, block any) *gomock.Call

SetOwnershipBlock indicates an expected call of SetOwnershipBlock.

func (*MockTxMockRecorder) SetOwnershipEvoBlockMapping

func (mr *MockTxMockRecorder) SetOwnershipEvoBlockMapping(ownershipBlockNumber, evoBlockNumber any) *gomock.Call

SetOwnershipEvoBlockMapping indicates an expected call of SetOwnershipEvoBlockMapping.

func (*MockTxMockRecorder) StoreERC721UniversalContracts

func (mr *MockTxMockRecorder) StoreERC721UniversalContracts(universalContracts any) *gomock.Call

StoreERC721UniversalContracts indicates an expected call of StoreERC721UniversalContracts.

func (*MockTxMockRecorder) StoreMintedWithExternalURIEvent

func (mr *MockTxMockRecorder) StoreMintedWithExternalURIEvent(contract, event any) *gomock.Call

StoreMintedWithExternalURIEvent indicates an expected call of StoreMintedWithExternalURIEvent.

func (*MockTxMockRecorder) TagRoot

func (mr *MockTxMockRecorder) TagRoot(blockNumber any) *gomock.Call

TagRoot indicates an expected call of TagRoot.

func (*MockTxMockRecorder) TokenByIndex

func (mr *MockTxMockRecorder) TokenByIndex(contract, idx any) *gomock.Call

TokenByIndex indicates an expected call of TokenByIndex.

func (*MockTxMockRecorder) TokenOfOwnerByIndex

func (mr *MockTxMockRecorder) TokenOfOwnerByIndex(contract, owner, idx any) *gomock.Call

TokenOfOwnerByIndex indicates an expected call of TokenOfOwnerByIndex.

func (*MockTxMockRecorder) TokenURI

func (mr *MockTxMockRecorder) TokenURI(contract, tokenId any) *gomock.Call

TokenURI indicates an expected call of TokenURI.

func (*MockTxMockRecorder) TotalSupply

func (mr *MockTxMockRecorder) TotalSupply(contract any) *gomock.Call

TotalSupply indicates an expected call of TotalSupply.

func (*MockTxMockRecorder) Transfer

func (mr *MockTxMockRecorder) Transfer(contract, eventTransfer any) *gomock.Call

Transfer indicates an expected call of Transfer.

func (*MockTxMockRecorder) UpdateContractState

func (mr *MockTxMockRecorder) UpdateContractState(contract, lastProcessedEvoBlock any) *gomock.Call

UpdateContractState indicates an expected call of UpdateContractState.

Jump to

Keyboard shortcuts

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