mock

package
v0.53.4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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 API

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

API is a mock of API interface.

func NewAPI

func NewAPI(ctrl *gomock.Controller) *API

NewAPI creates a new mock instance.

func (*API) AddFriend

func (m *API) AddFriend(ctx context.Context, friendAddress string, optionalNickname *string) (bool, *api.Friend, error)

AddFriend mocks base method.

func (*API) AddOffchainInventory

func (m *API) AddOffchainInventory(ctx context.Context, inventory *api.OffchainInventory) (uint64, error)

AddOffchainInventory mocks base method.

func (*API) BlockNumberAtTime

func (m *API) BlockNumberAtTime(ctx context.Context, chainId uint64, timestamps []uint64) ([]uint64, error)

BlockNumberAtTime mocks base method.

func (*API) CheckoutOptionsGetTransakContractID added in v0.53.2

func (m *API) CheckoutOptionsGetTransakContractID(ctx context.Context, chainId uint64, contractAddress string) (string, error)

CheckoutOptionsGetTransakContractID mocks base method.

func (*API) CheckoutOptionsPrimary added in v0.53.2

func (m *API) CheckoutOptionsPrimary(ctx context.Context, chainId uint64, wallet, contractAddress, collectionAddress string, params []*api.CheckoutOptionsPrimaryParams) (*api.CheckoutOptions, error)

CheckoutOptionsPrimary mocks base method.

func (*API) CheckoutOptionsSecondary added in v0.53.2

func (m *API) CheckoutOptionsSecondary(ctx context.Context, chainId uint64, wallet string, params []*api.CheckoutOptionsSecondaryParams) (*api.CheckoutOptions, error)

CheckoutOptionsSecondary mocks base method.

func (*API) Clock

func (m *API) Clock(ctx context.Context) (time.Time, error)

Clock mocks base method.

func (*API) ContractCall

func (m *API) ContractCall(ctx context.Context, chainID, contract, inputExpr, outputExpr string, args []string) ([]string, error)

ContractCall mocks base method.

func (*API) DecodeContractCall

func (m *API) DecodeContractCall(ctx context.Context, callData string) (*api.ContractCall, error)

DecodeContractCall mocks base method.

func (*API) DeleteOffchainInventory

func (m *API) DeleteOffchainInventory(ctx context.Context, inventoryId uint64) (bool, error)

DeleteOffchainInventory mocks base method.

func (*API) DeletePack

func (m *API) DeletePack(ctx context.Context, contractAddress string, chainId uint64) (bool, error)

DeletePack mocks base method.

func (*API) EXPECT

func (m *API) EXPECT() *APIMockRecorder

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

func (*API) FriendList

func (m *API) FriendList(ctx context.Context, nickname *string, page *api.Page) (*api.Page, []*api.Friend, error)

FriendList mocks base method.

func (*API) GenerateWaaSVerificationURL

func (m *API) GenerateWaaSVerificationURL(ctx context.Context, walletAddress string) (string, string, error)

GenerateWaaSVerificationURL mocks base method.

func (*API) GetAuthToken

func (m *API) GetAuthToken(ctx context.Context, ewtString string, testnetMode *bool) (bool, string, string, *api.User, error)

GetAuthToken mocks base method.

func (*API) GetAuthToken2

func (m *API) GetAuthToken2(ctx context.Context, ewtString, chainID string) (bool, string, string, *api.User, error)

GetAuthToken2 mocks base method.

func (*API) GetCoinPrices

func (m *API) GetCoinPrices(ctx context.Context, tokens []*api.Token) ([]*api.TokenPrice, error)

GetCoinPrices mocks base method.

func (*API) GetCollectiblePrices

func (m *API) GetCollectiblePrices(ctx context.Context, tokens []*api.Token) ([]*api.TokenPrice, error)

GetCollectiblePrices mocks base method.

func (*API) GetExchangeRate

func (m *API) GetExchangeRate(ctx context.Context, toCurrency string) (*api.ExchangeRate, error)

GetExchangeRate mocks base method.

func (*API) GetFriendByAddress

func (m *API) GetFriendByAddress(ctx context.Context, friendAddress string) (bool, *api.Friend, error)

GetFriendByAddress mocks base method.

func (*API) GetInviteInfo

func (m *API) GetInviteInfo(ctx context.Context) (*api.InviteInfo, error)

GetInviteInfo mocks base method.

func (*API) GetLifiChains added in v0.53.2

func (m *API) GetLifiChains(ctx context.Context) ([]uint64, error)

GetLifiChains mocks base method.

func (*API) GetLifiSwapQuote added in v0.53.2

func (m *API) GetLifiSwapQuote(ctx context.Context, params *api.GetLifiSwapQuoteParams) (*api.LifiSwapQuote, error)

GetLifiSwapQuote mocks base method.

func (*API) GetLifiSwapRoutes added in v0.53.2

func (m *API) GetLifiSwapRoutes(ctx context.Context, chainId uint64, toTokenAddress, toTokenAmount, walletAddress string) ([]*api.LifiSwapRoute, error)

GetLifiSwapRoutes mocks base method.

func (*API) GetLifiTokens added in v0.53.2

func (m *API) GetLifiTokens(ctx context.Context, chainIds []uint64) ([]*api.Token, error)

GetLifiTokens mocks base method.

func (*API) GetLinkedWallets

func (m *API) GetLinkedWallets(ctx context.Context, parentWalletAddress, parentWalletMessage, parentWalletSignature, signatureChainId string) ([]*api.LinkedWallet, error)

GetLinkedWallets mocks base method.

func (m *API) GetMoonpayLink(ctx context.Context, url string) (string, error)

GetMoonpayLink mocks base method.

func (*API) GetOffchainInventory

func (m *API) GetOffchainInventory(ctx context.Context, inventoryId uint64) (*api.OffchainInventory, error)

GetOffchainInventory mocks base method.

func (*API) GetPack

func (m *API) GetPack(ctx context.Context, contractAddress string, chainId uint64) (*api.Pack, error)

GetPack mocks base method.

func (*API) GetPublicKey

func (m *API) GetPublicKey(ctx context.Context, id string) (*api.PublicKey, error)

GetPublicKey mocks base method.

func (*API) GetSardineClientToken

func (m *API) GetSardineClientToken(ctx context.Context) (string, error)

GetSardineClientToken mocks base method.

func (*API) GetSardineNFTCheckoutOrderStatus

func (m *API) GetSardineNFTCheckoutOrderStatus(ctx context.Context, orderId string) (*api.SardineOrder, error)

GetSardineNFTCheckoutOrderStatus mocks base method.

func (*API) GetSardineNFTCheckoutToken

func (m *API) GetSardineNFTCheckoutToken(ctx context.Context, params *api.SardineNFTCheckoutParams) (*api.SardineNFTCheckout, error)

GetSardineNFTCheckoutToken mocks base method.

func (*API) GetSequenceContext

func (m *API) GetSequenceContext(ctx context.Context) (*api.SequenceContext, error)

GetSequenceContext mocks base method.

func (*API) InternalClaimAccessCode

func (m *API) InternalClaimAccessCode(ctx context.Context, address, accessCode string) (bool, error)

InternalClaimAccessCode mocks base method.

func (*API) IsValidAccessCode

func (m *API) IsValidAccessCode(ctx context.Context, accessCode string) (bool, error)

IsValidAccessCode mocks base method.

func (*API) IsValidETHAuthProof

func (m *API) IsValidETHAuthProof(ctx context.Context, chainId, walletAddress, ethAuthProofString string) (bool, error)

IsValidETHAuthProof mocks base method.

func (*API) IsValidMessageSignature

func (m *API) IsValidMessageSignature(ctx context.Context, chainId, walletAddress, message, signature string) (bool, error)

IsValidMessageSignature mocks base method.

func (*API) IsValidSignature

func (m *API) IsValidSignature(ctx context.Context, chainId, walletAddress, digest, signature string) (bool, error)

IsValidSignature mocks base method.

func (*API) IsValidTypedDataSignature

func (m *API) IsValidTypedDataSignature(ctx context.Context, chainId, walletAddress string, typedData any, signature string) (bool, error)

IsValidTypedDataSignature mocks base method.

func (*API) LinkWallet

func (m *API) LinkWallet(ctx context.Context, parentWalletAddress, parentWalletMessage, parentWalletSignature, linkedWalletAddress, linkedWalletMessage, linkedWalletSignature, signatureChainId string, linkedWalletType *string) (bool, error)

LinkWallet mocks base method.

func (*API) ListAdoptedWallets

func (m *API) ListAdoptedWallets(ctx context.Context, page *api.Page) (*api.Page, []*api.AdoptedChildWallet, error)

ListAdoptedWallets mocks base method.

func (*API) ListCurrencyGroups

func (m *API) ListCurrencyGroups(ctx context.Context) ([]*api.CurrencyGroup, error)

ListCurrencyGroups mocks base method.

func (*API) ListOffchainInventories

func (m *API) ListOffchainInventories(ctx context.Context, projectId uint64) ([]*api.OffchainInventory, error)

ListOffchainInventories mocks base method.

func (*API) ListOffchainPayments

func (m *API) ListOffchainPayments(ctx context.Context, inventoryId uint64, page *api.Page) (*api.Page, []*api.OffchainPayment, error)

ListOffchainPayments mocks base method.

func (*API) LookupContractCallSelectors

func (m *API) LookupContractCallSelectors(ctx context.Context, selectors []string) ([][]string, error)

LookupContractCallSelectors mocks base method.

func (*API) MemoryLoad

func (m *API) MemoryLoad(ctx context.Context, key string) (string, error)

MemoryLoad mocks base method.

func (*API) MemoryStore

func (m *API) MemoryStore(ctx context.Context, key, value string) (bool, error)

MemoryStore mocks base method.

func (*API) PaperSessionSecret

func (m *API) PaperSessionSecret(ctx context.Context, chainName, contractAddress, paramsJson, contractType string) (string, error)

PaperSessionSecret mocks base method.

func (*API) PaperSessionSecret2

func (m *API) PaperSessionSecret2(ctx context.Context, chainName, contractAddress, paramsJson, abi string) (string, error)

PaperSessionSecret2 mocks base method.

func (*API) Ping

func (m *API) Ping(ctx context.Context) (bool, error)

Ping mocks base method.

func (*API) RegisterPublicKey

func (m *API) RegisterPublicKey(ctx context.Context, publicKey *api.PublicKey) (bool, error)

RegisterPublicKey mocks base method.

func (*API) RemoveFriend

func (m *API) RemoveFriend(ctx context.Context, friendAddress string) (bool, error)

RemoveFriend mocks base method.

func (*API) RemoveLinkedWallet

func (m *API) RemoveLinkedWallet(ctx context.Context, parentWalletAddress, parentWalletMessage, parentWalletSignature, linkedWalletAddress, signatureChainId string) (bool, error)

RemoveLinkedWallet mocks base method.

func (*API) RequestOffchainPayment

func (m *API) RequestOffchainPayment(ctx context.Context, inventoryId uint64, recipient string, chainId *uint64, tokenAddress *string) (*api.PaymentResponse, error)

RequestOffchainPayment mocks base method.

func (*API) ResolveENSAddress

func (m *API) ResolveENSAddress(ctx context.Context, ens string) (string, bool, error)

ResolveENSAddress mocks base method.

func (*API) RuntimeStatus

func (m *API) RuntimeStatus(ctx context.Context) (*api.RuntimeStatus, error)

RuntimeStatus mocks base method.

func (*API) SardineGetClientToken

func (m *API) SardineGetClientToken(ctx context.Context) (string, error)

SardineGetClientToken mocks base method.

func (*API) SardineGetEnabledTokens

func (m *API) SardineGetEnabledTokens(ctx context.Context) ([]*api.SardineEnabledToken, error)

SardineGetEnabledTokens mocks base method.

func (*API) SardineGetNFTCheckoutOrderStatus

func (m *API) SardineGetNFTCheckoutOrderStatus(ctx context.Context, orderId string) (*api.SardineOrder, error)

SardineGetNFTCheckoutOrderStatus mocks base method.

func (*API) SardineGetNFTCheckoutToken

func (m *API) SardineGetNFTCheckoutToken(ctx context.Context, params *api.SardineNFTCheckoutParams) (*api.SardineNFTCheckout, error)

SardineGetNFTCheckoutToken mocks base method.

func (*API) SardineGetQuote

func (m *API) SardineGetQuote(ctx context.Context, params *api.SardineGetQuoteParams) (*api.SardineQuote, error)

SardineGetQuote mocks base method.

func (*API) SardineGetSupportedFiatCurrencies

func (m *API) SardineGetSupportedFiatCurrencies(ctx context.Context) ([]*api.SardineFiatCurrency, error)

SardineGetSupportedFiatCurrencies mocks base method.

func (*API) SardineGetSupportedRegions

func (m *API) SardineGetSupportedRegions(ctx context.Context) ([]*api.SardineRegion, error)

SardineGetSupportedRegions mocks base method.

func (*API) SardineGetSupportedTokenForSwap

func (m *API) SardineGetSupportedTokenForSwap(ctx context.Context, network, tokenAddress string) (*api.SardineSupportedTokenForSwap, error)

SardineGetSupportedTokenForSwap mocks base method.

func (*API) SardineGetSupportedTokens

func (m *API) SardineGetSupportedTokens(ctx context.Context) ([]*api.SardineSupportedToken, error)

SardineGetSupportedTokens mocks base method.

func (*API) SavePack

func (m *API) SavePack(ctx context.Context, pack *api.Pack) (string, error)

SavePack mocks base method.

func (*API) SearchFriends

func (m *API) SearchFriends(ctx context.Context, filterUsername string, page *api.Page) ([]*api.Friend, error)

SearchFriends mocks base method.

func (m *API) SendPasswordlessLink(ctx context.Context, email, redirectUri, intent string) (bool, error)

SendPasswordlessLink mocks base method.

func (*API) TransakGetCountries

func (m *API) TransakGetCountries(ctx context.Context) ([]*api.TransakCountry, error)

TransakGetCountries mocks base method.

func (*API) TransakGetCryptoCurrencies

func (m *API) TransakGetCryptoCurrencies(ctx context.Context) ([]*api.TransakCryptoCurrency, error)

TransakGetCryptoCurrencies mocks base method.

func (*API) TransakGetFiatCurrencies

func (m *API) TransakGetFiatCurrencies(ctx context.Context) ([]*api.TransakFiatCurrency, error)

TransakGetFiatCurrencies mocks base method.

func (*API) TransakGetPrice

func (m *API) TransakGetPrice(ctx context.Context, params *api.TransakGetPriceParams) (*api.TransakPrice, error)

TransakGetPrice mocks base method.

func (*API) TransakGetSupportedNFTCheckoutChains

func (m *API) TransakGetSupportedNFTCheckoutChains(ctx context.Context) ([]*api.TransakChain, error)

TransakGetSupportedNFTCheckoutChains mocks base method.

func (*API) UpdateFriendNickname

func (m *API) UpdateFriendNickname(ctx context.Context, friendAddress, nickname string) (bool, *api.Friend, error)

UpdateFriendNickname mocks base method.

func (*API) UpdateOffchainInventory

func (m *API) UpdateOffchainInventory(ctx context.Context, inventory *api.OffchainInventory) error

UpdateOffchainInventory mocks base method.

func (*API) UpdatePackContent

func (m *API) UpdatePackContent(ctx context.Context, pack *api.Pack) (string, error)

UpdatePackContent mocks base method.

func (*API) UserStorageDelete

func (m *API) UserStorageDelete(ctx context.Context, key string) (bool, error)

UserStorageDelete mocks base method.

func (*API) UserStorageFetch

func (m *API) UserStorageFetch(ctx context.Context, key string) (any, error)

UserStorageFetch mocks base method.

func (*API) UserStorageFetchAll

func (m *API) UserStorageFetchAll(ctx context.Context, keys []string) (map[string]any, error)

UserStorageFetchAll mocks base method.

func (*API) UserStorageSave

func (m *API) UserStorageSave(ctx context.Context, key string, object any) (bool, error)

UserStorageSave mocks base method.

func (*API) ValidateWaaSVerificationNonce

func (m *API) ValidateWaaSVerificationNonce(ctx context.Context, nonce, signature, sessionId, chainId string) (string, error)

ValidateWaaSVerificationNonce mocks base method.

func (*API) Version

func (m *API) Version(ctx context.Context) (*api.Version, error)

Version mocks base method.

type APIMockRecorder

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

APIMockRecorder is the mock recorder for API.

func (*APIMockRecorder) AddFriend

func (mr *APIMockRecorder) AddFriend(ctx, friendAddress, optionalNickname any) *gomock.Call

AddFriend indicates an expected call of AddFriend.

func (*APIMockRecorder) AddOffchainInventory

func (mr *APIMockRecorder) AddOffchainInventory(ctx, inventory any) *gomock.Call

AddOffchainInventory indicates an expected call of AddOffchainInventory.

func (*APIMockRecorder) BlockNumberAtTime

func (mr *APIMockRecorder) BlockNumberAtTime(ctx, chainId, timestamps any) *gomock.Call

BlockNumberAtTime indicates an expected call of BlockNumberAtTime.

func (*APIMockRecorder) CheckoutOptionsGetTransakContractID added in v0.53.2

func (mr *APIMockRecorder) CheckoutOptionsGetTransakContractID(ctx, chainId, contractAddress any) *gomock.Call

CheckoutOptionsGetTransakContractID indicates an expected call of CheckoutOptionsGetTransakContractID.

func (*APIMockRecorder) CheckoutOptionsPrimary added in v0.53.2

func (mr *APIMockRecorder) CheckoutOptionsPrimary(ctx, chainId, wallet, contractAddress, collectionAddress, params any) *gomock.Call

CheckoutOptionsPrimary indicates an expected call of CheckoutOptionsPrimary.

func (*APIMockRecorder) CheckoutOptionsSecondary added in v0.53.2

func (mr *APIMockRecorder) CheckoutOptionsSecondary(ctx, chainId, wallet, params any) *gomock.Call

CheckoutOptionsSecondary indicates an expected call of CheckoutOptionsSecondary.

func (*APIMockRecorder) Clock

func (mr *APIMockRecorder) Clock(ctx any) *gomock.Call

Clock indicates an expected call of Clock.

func (*APIMockRecorder) ContractCall

func (mr *APIMockRecorder) ContractCall(ctx, chainID, contract, inputExpr, outputExpr, args any) *gomock.Call

ContractCall indicates an expected call of ContractCall.

func (*APIMockRecorder) DecodeContractCall

func (mr *APIMockRecorder) DecodeContractCall(ctx, callData any) *gomock.Call

DecodeContractCall indicates an expected call of DecodeContractCall.

func (*APIMockRecorder) DeleteOffchainInventory

func (mr *APIMockRecorder) DeleteOffchainInventory(ctx, inventoryId any) *gomock.Call

DeleteOffchainInventory indicates an expected call of DeleteOffchainInventory.

func (*APIMockRecorder) DeletePack

func (mr *APIMockRecorder) DeletePack(ctx, contractAddress, chainId any) *gomock.Call

DeletePack indicates an expected call of DeletePack.

func (*APIMockRecorder) FriendList

func (mr *APIMockRecorder) FriendList(ctx, nickname, page any) *gomock.Call

FriendList indicates an expected call of FriendList.

func (*APIMockRecorder) GenerateWaaSVerificationURL

func (mr *APIMockRecorder) GenerateWaaSVerificationURL(ctx, walletAddress any) *gomock.Call

GenerateWaaSVerificationURL indicates an expected call of GenerateWaaSVerificationURL.

func (*APIMockRecorder) GetAuthToken

func (mr *APIMockRecorder) GetAuthToken(ctx, ewtString, testnetMode any) *gomock.Call

GetAuthToken indicates an expected call of GetAuthToken.

func (*APIMockRecorder) GetAuthToken2

func (mr *APIMockRecorder) GetAuthToken2(ctx, ewtString, chainID any) *gomock.Call

GetAuthToken2 indicates an expected call of GetAuthToken2.

func (*APIMockRecorder) GetCoinPrices

func (mr *APIMockRecorder) GetCoinPrices(ctx, tokens any) *gomock.Call

GetCoinPrices indicates an expected call of GetCoinPrices.

func (*APIMockRecorder) GetCollectiblePrices

func (mr *APIMockRecorder) GetCollectiblePrices(ctx, tokens any) *gomock.Call

GetCollectiblePrices indicates an expected call of GetCollectiblePrices.

func (*APIMockRecorder) GetExchangeRate

func (mr *APIMockRecorder) GetExchangeRate(ctx, toCurrency any) *gomock.Call

GetExchangeRate indicates an expected call of GetExchangeRate.

func (*APIMockRecorder) GetFriendByAddress

func (mr *APIMockRecorder) GetFriendByAddress(ctx, friendAddress any) *gomock.Call

GetFriendByAddress indicates an expected call of GetFriendByAddress.

func (*APIMockRecorder) GetInviteInfo

func (mr *APIMockRecorder) GetInviteInfo(ctx any) *gomock.Call

GetInviteInfo indicates an expected call of GetInviteInfo.

func (*APIMockRecorder) GetLifiChains added in v0.53.2

func (mr *APIMockRecorder) GetLifiChains(ctx any) *gomock.Call

GetLifiChains indicates an expected call of GetLifiChains.

func (*APIMockRecorder) GetLifiSwapQuote added in v0.53.2

func (mr *APIMockRecorder) GetLifiSwapQuote(ctx, params any) *gomock.Call

GetLifiSwapQuote indicates an expected call of GetLifiSwapQuote.

func (*APIMockRecorder) GetLifiSwapRoutes added in v0.53.2

func (mr *APIMockRecorder) GetLifiSwapRoutes(ctx, chainId, toTokenAddress, toTokenAmount, walletAddress any) *gomock.Call

GetLifiSwapRoutes indicates an expected call of GetLifiSwapRoutes.

func (*APIMockRecorder) GetLifiTokens added in v0.53.2

func (mr *APIMockRecorder) GetLifiTokens(ctx, chainIds any) *gomock.Call

GetLifiTokens indicates an expected call of GetLifiTokens.

func (*APIMockRecorder) GetLinkedWallets

func (mr *APIMockRecorder) GetLinkedWallets(ctx, parentWalletAddress, parentWalletMessage, parentWalletSignature, signatureChainId any) *gomock.Call

GetLinkedWallets indicates an expected call of GetLinkedWallets.

func (mr *APIMockRecorder) GetMoonpayLink(ctx, url any) *gomock.Call

GetMoonpayLink indicates an expected call of GetMoonpayLink.

func (*APIMockRecorder) GetOffchainInventory

func (mr *APIMockRecorder) GetOffchainInventory(ctx, inventoryId any) *gomock.Call

GetOffchainInventory indicates an expected call of GetOffchainInventory.

func (*APIMockRecorder) GetPack

func (mr *APIMockRecorder) GetPack(ctx, contractAddress, chainId any) *gomock.Call

GetPack indicates an expected call of GetPack.

func (*APIMockRecorder) GetPublicKey

func (mr *APIMockRecorder) GetPublicKey(ctx, id any) *gomock.Call

GetPublicKey indicates an expected call of GetPublicKey.

func (*APIMockRecorder) GetSardineClientToken

func (mr *APIMockRecorder) GetSardineClientToken(ctx any) *gomock.Call

GetSardineClientToken indicates an expected call of GetSardineClientToken.

func (*APIMockRecorder) GetSardineNFTCheckoutOrderStatus

func (mr *APIMockRecorder) GetSardineNFTCheckoutOrderStatus(ctx, orderId any) *gomock.Call

GetSardineNFTCheckoutOrderStatus indicates an expected call of GetSardineNFTCheckoutOrderStatus.

func (*APIMockRecorder) GetSardineNFTCheckoutToken

func (mr *APIMockRecorder) GetSardineNFTCheckoutToken(ctx, params any) *gomock.Call

GetSardineNFTCheckoutToken indicates an expected call of GetSardineNFTCheckoutToken.

func (*APIMockRecorder) GetSequenceContext

func (mr *APIMockRecorder) GetSequenceContext(ctx any) *gomock.Call

GetSequenceContext indicates an expected call of GetSequenceContext.

func (*APIMockRecorder) InternalClaimAccessCode

func (mr *APIMockRecorder) InternalClaimAccessCode(ctx, address, accessCode any) *gomock.Call

InternalClaimAccessCode indicates an expected call of InternalClaimAccessCode.

func (*APIMockRecorder) IsValidAccessCode

func (mr *APIMockRecorder) IsValidAccessCode(ctx, accessCode any) *gomock.Call

IsValidAccessCode indicates an expected call of IsValidAccessCode.

func (*APIMockRecorder) IsValidETHAuthProof

func (mr *APIMockRecorder) IsValidETHAuthProof(ctx, chainId, walletAddress, ethAuthProofString any) *gomock.Call

IsValidETHAuthProof indicates an expected call of IsValidETHAuthProof.

func (*APIMockRecorder) IsValidMessageSignature

func (mr *APIMockRecorder) IsValidMessageSignature(ctx, chainId, walletAddress, message, signature any) *gomock.Call

IsValidMessageSignature indicates an expected call of IsValidMessageSignature.

func (*APIMockRecorder) IsValidSignature

func (mr *APIMockRecorder) IsValidSignature(ctx, chainId, walletAddress, digest, signature any) *gomock.Call

IsValidSignature indicates an expected call of IsValidSignature.

func (*APIMockRecorder) IsValidTypedDataSignature

func (mr *APIMockRecorder) IsValidTypedDataSignature(ctx, chainId, walletAddress, typedData, signature any) *gomock.Call

IsValidTypedDataSignature indicates an expected call of IsValidTypedDataSignature.

func (*APIMockRecorder) LinkWallet

func (mr *APIMockRecorder) LinkWallet(ctx, parentWalletAddress, parentWalletMessage, parentWalletSignature, linkedWalletAddress, linkedWalletMessage, linkedWalletSignature, signatureChainId, linkedWalletType any) *gomock.Call

LinkWallet indicates an expected call of LinkWallet.

func (*APIMockRecorder) ListAdoptedWallets

func (mr *APIMockRecorder) ListAdoptedWallets(ctx, page any) *gomock.Call

ListAdoptedWallets indicates an expected call of ListAdoptedWallets.

func (*APIMockRecorder) ListCurrencyGroups

func (mr *APIMockRecorder) ListCurrencyGroups(ctx any) *gomock.Call

ListCurrencyGroups indicates an expected call of ListCurrencyGroups.

func (*APIMockRecorder) ListOffchainInventories

func (mr *APIMockRecorder) ListOffchainInventories(ctx, projectId any) *gomock.Call

ListOffchainInventories indicates an expected call of ListOffchainInventories.

func (*APIMockRecorder) ListOffchainPayments

func (mr *APIMockRecorder) ListOffchainPayments(ctx, inventoryId, page any) *gomock.Call

ListOffchainPayments indicates an expected call of ListOffchainPayments.

func (*APIMockRecorder) LookupContractCallSelectors

func (mr *APIMockRecorder) LookupContractCallSelectors(ctx, selectors any) *gomock.Call

LookupContractCallSelectors indicates an expected call of LookupContractCallSelectors.

func (*APIMockRecorder) MemoryLoad

func (mr *APIMockRecorder) MemoryLoad(ctx, key any) *gomock.Call

MemoryLoad indicates an expected call of MemoryLoad.

func (*APIMockRecorder) MemoryStore

func (mr *APIMockRecorder) MemoryStore(ctx, key, value any) *gomock.Call

MemoryStore indicates an expected call of MemoryStore.

func (*APIMockRecorder) PaperSessionSecret

func (mr *APIMockRecorder) PaperSessionSecret(ctx, chainName, contractAddress, paramsJson, contractType any) *gomock.Call

PaperSessionSecret indicates an expected call of PaperSessionSecret.

func (*APIMockRecorder) PaperSessionSecret2

func (mr *APIMockRecorder) PaperSessionSecret2(ctx, chainName, contractAddress, paramsJson, abi any) *gomock.Call

PaperSessionSecret2 indicates an expected call of PaperSessionSecret2.

func (*APIMockRecorder) Ping

func (mr *APIMockRecorder) Ping(ctx any) *gomock.Call

Ping indicates an expected call of Ping.

func (*APIMockRecorder) RegisterPublicKey

func (mr *APIMockRecorder) RegisterPublicKey(ctx, publicKey any) *gomock.Call

RegisterPublicKey indicates an expected call of RegisterPublicKey.

func (*APIMockRecorder) RemoveFriend

func (mr *APIMockRecorder) RemoveFriend(ctx, friendAddress any) *gomock.Call

RemoveFriend indicates an expected call of RemoveFriend.

func (*APIMockRecorder) RemoveLinkedWallet

func (mr *APIMockRecorder) RemoveLinkedWallet(ctx, parentWalletAddress, parentWalletMessage, parentWalletSignature, linkedWalletAddress, signatureChainId any) *gomock.Call

RemoveLinkedWallet indicates an expected call of RemoveLinkedWallet.

func (*APIMockRecorder) RequestOffchainPayment

func (mr *APIMockRecorder) RequestOffchainPayment(ctx, inventoryId, recipient, chainId, tokenAddress any) *gomock.Call

RequestOffchainPayment indicates an expected call of RequestOffchainPayment.

func (*APIMockRecorder) ResolveENSAddress

func (mr *APIMockRecorder) ResolveENSAddress(ctx, ens any) *gomock.Call

ResolveENSAddress indicates an expected call of ResolveENSAddress.

func (*APIMockRecorder) RuntimeStatus

func (mr *APIMockRecorder) RuntimeStatus(ctx any) *gomock.Call

RuntimeStatus indicates an expected call of RuntimeStatus.

func (*APIMockRecorder) SardineGetClientToken

func (mr *APIMockRecorder) SardineGetClientToken(ctx any) *gomock.Call

SardineGetClientToken indicates an expected call of SardineGetClientToken.

func (*APIMockRecorder) SardineGetEnabledTokens

func (mr *APIMockRecorder) SardineGetEnabledTokens(ctx any) *gomock.Call

SardineGetEnabledTokens indicates an expected call of SardineGetEnabledTokens.

func (*APIMockRecorder) SardineGetNFTCheckoutOrderStatus

func (mr *APIMockRecorder) SardineGetNFTCheckoutOrderStatus(ctx, orderId any) *gomock.Call

SardineGetNFTCheckoutOrderStatus indicates an expected call of SardineGetNFTCheckoutOrderStatus.

func (*APIMockRecorder) SardineGetNFTCheckoutToken

func (mr *APIMockRecorder) SardineGetNFTCheckoutToken(ctx, params any) *gomock.Call

SardineGetNFTCheckoutToken indicates an expected call of SardineGetNFTCheckoutToken.

func (*APIMockRecorder) SardineGetQuote

func (mr *APIMockRecorder) SardineGetQuote(ctx, params any) *gomock.Call

SardineGetQuote indicates an expected call of SardineGetQuote.

func (*APIMockRecorder) SardineGetSupportedFiatCurrencies

func (mr *APIMockRecorder) SardineGetSupportedFiatCurrencies(ctx any) *gomock.Call

SardineGetSupportedFiatCurrencies indicates an expected call of SardineGetSupportedFiatCurrencies.

func (*APIMockRecorder) SardineGetSupportedRegions

func (mr *APIMockRecorder) SardineGetSupportedRegions(ctx any) *gomock.Call

SardineGetSupportedRegions indicates an expected call of SardineGetSupportedRegions.

func (*APIMockRecorder) SardineGetSupportedTokenForSwap

func (mr *APIMockRecorder) SardineGetSupportedTokenForSwap(ctx, network, tokenAddress any) *gomock.Call

SardineGetSupportedTokenForSwap indicates an expected call of SardineGetSupportedTokenForSwap.

func (*APIMockRecorder) SardineGetSupportedTokens

func (mr *APIMockRecorder) SardineGetSupportedTokens(ctx any) *gomock.Call

SardineGetSupportedTokens indicates an expected call of SardineGetSupportedTokens.

func (*APIMockRecorder) SavePack

func (mr *APIMockRecorder) SavePack(ctx, pack any) *gomock.Call

SavePack indicates an expected call of SavePack.

func (*APIMockRecorder) SearchFriends

func (mr *APIMockRecorder) SearchFriends(ctx, filterUsername, page any) *gomock.Call

SearchFriends indicates an expected call of SearchFriends.

func (mr *APIMockRecorder) SendPasswordlessLink(ctx, email, redirectUri, intent any) *gomock.Call

SendPasswordlessLink indicates an expected call of SendPasswordlessLink.

func (*APIMockRecorder) TransakGetCountries

func (mr *APIMockRecorder) TransakGetCountries(ctx any) *gomock.Call

TransakGetCountries indicates an expected call of TransakGetCountries.

func (*APIMockRecorder) TransakGetCryptoCurrencies

func (mr *APIMockRecorder) TransakGetCryptoCurrencies(ctx any) *gomock.Call

TransakGetCryptoCurrencies indicates an expected call of TransakGetCryptoCurrencies.

func (*APIMockRecorder) TransakGetFiatCurrencies

func (mr *APIMockRecorder) TransakGetFiatCurrencies(ctx any) *gomock.Call

TransakGetFiatCurrencies indicates an expected call of TransakGetFiatCurrencies.

func (*APIMockRecorder) TransakGetPrice

func (mr *APIMockRecorder) TransakGetPrice(ctx, params any) *gomock.Call

TransakGetPrice indicates an expected call of TransakGetPrice.

func (*APIMockRecorder) TransakGetSupportedNFTCheckoutChains

func (mr *APIMockRecorder) TransakGetSupportedNFTCheckoutChains(ctx any) *gomock.Call

TransakGetSupportedNFTCheckoutChains indicates an expected call of TransakGetSupportedNFTCheckoutChains.

func (*APIMockRecorder) UpdateFriendNickname

func (mr *APIMockRecorder) UpdateFriendNickname(ctx, friendAddress, nickname any) *gomock.Call

UpdateFriendNickname indicates an expected call of UpdateFriendNickname.

func (*APIMockRecorder) UpdateOffchainInventory

func (mr *APIMockRecorder) UpdateOffchainInventory(ctx, inventory any) *gomock.Call

UpdateOffchainInventory indicates an expected call of UpdateOffchainInventory.

func (*APIMockRecorder) UpdatePackContent

func (mr *APIMockRecorder) UpdatePackContent(ctx, pack any) *gomock.Call

UpdatePackContent indicates an expected call of UpdatePackContent.

func (*APIMockRecorder) UserStorageDelete

func (mr *APIMockRecorder) UserStorageDelete(ctx, key any) *gomock.Call

UserStorageDelete indicates an expected call of UserStorageDelete.

func (*APIMockRecorder) UserStorageFetch

func (mr *APIMockRecorder) UserStorageFetch(ctx, key any) *gomock.Call

UserStorageFetch indicates an expected call of UserStorageFetch.

func (*APIMockRecorder) UserStorageFetchAll

func (mr *APIMockRecorder) UserStorageFetchAll(ctx, keys any) *gomock.Call

UserStorageFetchAll indicates an expected call of UserStorageFetchAll.

func (*APIMockRecorder) UserStorageSave

func (mr *APIMockRecorder) UserStorageSave(ctx, key, object any) *gomock.Call

UserStorageSave indicates an expected call of UserStorageSave.

func (*APIMockRecorder) ValidateWaaSVerificationNonce

func (mr *APIMockRecorder) ValidateWaaSVerificationNonce(ctx, nonce, signature, sessionId, chainId any) *gomock.Call

ValidateWaaSVerificationNonce indicates an expected call of ValidateWaaSVerificationNonce.

func (*APIMockRecorder) Version

func (mr *APIMockRecorder) Version(ctx any) *gomock.Call

Version indicates an expected call of Version.

type Indexer

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

Indexer is a mock of Indexer interface.

func NewIndexer

func NewIndexer(ctrl *gomock.Controller) *Indexer

NewIndexer creates a new mock instance.

func (*Indexer) AddWebhookListener

func (m *Indexer) AddWebhookListener(ctx context.Context, url string, filters *indexer.EventFilter, projectId *uint64) (bool, *indexer.WebhookListener, error)

AddWebhookListener mocks base method.

func (*Indexer) EXPECT

func (m *Indexer) EXPECT() *IndexerMockRecorder

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

func (*Indexer) FetchTransactionReceipt

func (m *Indexer) FetchTransactionReceipt(ctx context.Context, txnHash string, maxBlockWait *int) (*indexer.TransactionReceipt, error)

FetchTransactionReceipt mocks base method.

func (*Indexer) FetchTransactionReceiptWithFilter

func (m *Indexer) FetchTransactionReceiptWithFilter(ctx context.Context, filter *indexer.TransactionFilter, maxBlockWait *int) (*indexer.TransactionReceipt, error)

FetchTransactionReceiptWithFilter mocks base method.

func (*Indexer) GetAllWebhookListeners

func (m *Indexer) GetAllWebhookListeners(ctx context.Context, projectId *uint64) ([]*indexer.WebhookListener, error)

GetAllWebhookListeners mocks base method.

func (*Indexer) GetBalanceUpdates

func (m *Indexer) GetBalanceUpdates(ctx context.Context, contractAddress string, lastBlockNumber uint64, lastBlockHash *string, page *indexer.Page) (*indexer.Page, []*indexer.TokenBalance, error)

GetBalanceUpdates mocks base method.

func (*Indexer) GetChainID

func (m *Indexer) GetChainID(ctx context.Context) (uint64, error)

GetChainID mocks base method.

func (*Indexer) GetEtherBalance

func (m *Indexer) GetEtherBalance(ctx context.Context, accountAddress *string) (*indexer.EtherBalance, error)

GetEtherBalance mocks base method.

func (*Indexer) GetNativeTokenBalance

func (m *Indexer) GetNativeTokenBalance(ctx context.Context, accountAddress *string) (*indexer.NativeTokenBalance, error)

GetNativeTokenBalance mocks base method.

func (*Indexer) GetOrderbookOrders

func (m *Indexer) GetOrderbookOrders(ctx context.Context, page *indexer.Page, orderbookContractAddress, collectionAddress string, currencyAddresses []string, filter *indexer.OrderbookOrderFilter, orderStatuses []indexer.OrderStatus, filters []*indexer.OrderbookOrderFilter, beforeExpiryTimestamp, blockNumberAfter, createdAtAfter int64) (*indexer.Page, []*indexer.OrderbookOrder, error)

GetOrderbookOrders mocks base method.

func (*Indexer) GetTokenBalances

func (m *Indexer) GetTokenBalances(ctx context.Context, accountAddress, contractAddress, tokenID *string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, includeCollectionTokens *bool, page *indexer.Page) (*indexer.Page, []*indexer.TokenBalance, error)

GetTokenBalances mocks base method.

func (*Indexer) GetTokenBalancesByContract

func (m *Indexer) GetTokenBalancesByContract(ctx context.Context, filter *indexer.TokenBalancesByContractFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.TokenBalance, error)

GetTokenBalancesByContract mocks base method.

func (*Indexer) GetTokenBalancesDetails

func (m *Indexer) GetTokenBalancesDetails(ctx context.Context, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.NativeTokenBalance, []*indexer.TokenBalance, error)

GetTokenBalancesDetails mocks base method.

func (*Indexer) GetTokenBalancesSummary

func (m *Indexer) GetTokenBalancesSummary(ctx context.Context, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.NativeTokenBalance, []*indexer.TokenBalance, error)

GetTokenBalancesSummary mocks base method.

func (*Indexer) GetTokenIDRanges

func (m *Indexer) GetTokenIDRanges(ctx context.Context, contractAddress string, lastTokenID *string) (indexer.ContractType, []*indexer.TokenIDRange, bool, error)

GetTokenIDRanges mocks base method.

func (*Indexer) GetTokenIDs

func (m *Indexer) GetTokenIDs(ctx context.Context, contractAddress string, page *indexer.Page) (*indexer.Page, indexer.ContractType, []string, error)

GetTokenIDs mocks base method.

func (*Indexer) GetTokenSupplies

func (m *Indexer) GetTokenSupplies(ctx context.Context, contractAddress string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, page *indexer.Page) (*indexer.Page, indexer.ContractType, []*indexer.TokenSupply, error)

GetTokenSupplies mocks base method.

func (*Indexer) GetTokenSuppliesMap

func (m *Indexer) GetTokenSuppliesMap(ctx context.Context, tokenMap map[string][]string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions) (map[string][]*indexer.TokenSupply, error)

GetTokenSuppliesMap mocks base method.

func (*Indexer) GetTopOrders

func (m *Indexer) GetTopOrders(ctx context.Context, orderbookContractAddress, collectionAddress string, currencyAddresses, tokenIDs []string, isListing bool, priceSort indexer.SortOrder, excludeUser *string) ([]*indexer.OrderbookOrder, error)

GetTopOrders mocks base method.

func (*Indexer) GetTransactionHistory

func (m *Indexer) GetTransactionHistory(ctx context.Context, filter *indexer.TransactionHistoryFilter, page *indexer.Page, includeMetadata *bool, metadataOptions *indexer.MetadataOptions) (*indexer.Page, []*indexer.Transaction, error)

GetTransactionHistory mocks base method.

func (*Indexer) GetWebhookListener

func (m *Indexer) GetWebhookListener(ctx context.Context, id uint64, projectId *uint64) (*indexer.WebhookListener, error)

GetWebhookListener mocks base method.

func (*Indexer) PauseAllWebhookListeners

func (m *Indexer) PauseAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)

PauseAllWebhookListeners mocks base method.

func (*Indexer) Ping

func (m *Indexer) Ping(ctx context.Context) (bool, error)

Ping mocks base method.

func (*Indexer) RemoveAllWebhookListeners

func (m *Indexer) RemoveAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)

RemoveAllWebhookListeners mocks base method.

func (*Indexer) RemoveWebhookListener

func (m *Indexer) RemoveWebhookListener(ctx context.Context, id uint64, projectId *uint64) (bool, error)

RemoveWebhookListener mocks base method.

func (*Indexer) ResumeAllWebhookListeners

func (m *Indexer) ResumeAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)

ResumeAllWebhookListeners mocks base method.

func (*Indexer) RuntimeStatus

func (m *Indexer) RuntimeStatus(ctx context.Context) (*indexer.RuntimeStatus, error)

RuntimeStatus mocks base method.

func (*Indexer) SubscribeBalanceUpdates

func (m *Indexer) SubscribeBalanceUpdates(ctx context.Context, contractAddress string, stream indexer.SubscribeBalanceUpdatesStreamWriter) error

SubscribeBalanceUpdates mocks base method.

func (*Indexer) SubscribeEvents

func (m *Indexer) SubscribeEvents(ctx context.Context, filter *indexer.EventFilter, stream indexer.SubscribeEventsStreamWriter) error

SubscribeEvents mocks base method.

func (*Indexer) SubscribeReceipts

func (m *Indexer) SubscribeReceipts(ctx context.Context, filter *indexer.TransactionFilter, stream indexer.SubscribeReceiptsStreamWriter) error

SubscribeReceipts mocks base method.

func (*Indexer) SyncBalance

func (m *Indexer) SyncBalance(ctx context.Context, accountAddress, contractAddress string, tokenID *string) error

SyncBalance mocks base method.

func (*Indexer) ToggleWebhookListener

func (m *Indexer) ToggleWebhookListener(ctx context.Context, id uint64, projectId *uint64) (*indexer.WebhookListener, error)

ToggleWebhookListener mocks base method.

func (*Indexer) UpdateWebhookListener

func (m *Indexer) UpdateWebhookListener(ctx context.Context, listener *indexer.WebhookListener, projectId *uint64) (bool, error)

UpdateWebhookListener mocks base method.

func (*Indexer) Version

func (m *Indexer) Version(ctx context.Context) (*indexer.Version, error)

Version mocks base method.

type IndexerClient added in v0.50.5

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

IndexerClient is a mock of IndexerClient interface.

func NewIndexerClient added in v0.50.5

func NewIndexerClient(ctrl *gomock.Controller) *IndexerClient

NewIndexerClient creates a new mock instance.

func (*IndexerClient) AddWebhookListener added in v0.50.5

func (m *IndexerClient) AddWebhookListener(ctx context.Context, url string, filters *indexer.EventFilter, projectId *uint64) (bool, *indexer.WebhookListener, error)

AddWebhookListener mocks base method.

func (*IndexerClient) EXPECT added in v0.50.5

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

func (*IndexerClient) FetchTransactionReceipt added in v0.50.5

func (m *IndexerClient) FetchTransactionReceipt(ctx context.Context, txnHash string, maxBlockWait *int) (*indexer.TransactionReceipt, error)

FetchTransactionReceipt mocks base method.

func (*IndexerClient) FetchTransactionReceiptWithFilter added in v0.50.5

func (m *IndexerClient) FetchTransactionReceiptWithFilter(ctx context.Context, filter *indexer.TransactionFilter, maxBlockWait *int) (*indexer.TransactionReceipt, error)

FetchTransactionReceiptWithFilter mocks base method.

func (*IndexerClient) GetAllWebhookListeners added in v0.50.5

func (m *IndexerClient) GetAllWebhookListeners(ctx context.Context, projectId *uint64) ([]*indexer.WebhookListener, error)

GetAllWebhookListeners mocks base method.

func (*IndexerClient) GetBalanceUpdates added in v0.50.5

func (m *IndexerClient) GetBalanceUpdates(ctx context.Context, contractAddress string, lastBlockNumber uint64, lastBlockHash *string, page *indexer.Page) (*indexer.Page, []*indexer.TokenBalance, error)

GetBalanceUpdates mocks base method.

func (*IndexerClient) GetChainID added in v0.50.5

func (m *IndexerClient) GetChainID(ctx context.Context) (uint64, error)

GetChainID mocks base method.

func (*IndexerClient) GetEtherBalance added in v0.50.5

func (m *IndexerClient) GetEtherBalance(ctx context.Context, accountAddress *string) (*indexer.EtherBalance, error)

GetEtherBalance mocks base method.

func (*IndexerClient) GetNativeTokenBalance added in v0.50.5

func (m *IndexerClient) GetNativeTokenBalance(ctx context.Context, accountAddress *string) (*indexer.NativeTokenBalance, error)

GetNativeTokenBalance mocks base method.

func (*IndexerClient) GetOrderbookOrders added in v0.50.5

func (m *IndexerClient) GetOrderbookOrders(ctx context.Context, page *indexer.Page, orderbookContractAddress, collectionAddress string, currencyAddresses []string, filter *indexer.OrderbookOrderFilter, orderStatuses []indexer.OrderStatus, filters []*indexer.OrderbookOrderFilter, beforeExpiryTimestamp, blockNumberAfter, createdAtAfter int64) (*indexer.Page, []*indexer.OrderbookOrder, error)

GetOrderbookOrders mocks base method.

func (*IndexerClient) GetTokenBalances added in v0.50.5

func (m *IndexerClient) GetTokenBalances(ctx context.Context, accountAddress, contractAddress, tokenID *string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, includeCollectionTokens *bool, page *indexer.Page) (*indexer.Page, []*indexer.TokenBalance, error)

GetTokenBalances mocks base method.

func (*IndexerClient) GetTokenBalancesByContract added in v0.50.5

func (m *IndexerClient) GetTokenBalancesByContract(ctx context.Context, filter *indexer.TokenBalancesByContractFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.TokenBalance, error)

GetTokenBalancesByContract mocks base method.

func (*IndexerClient) GetTokenBalancesDetails added in v0.50.5

func (m *IndexerClient) GetTokenBalancesDetails(ctx context.Context, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.NativeTokenBalance, []*indexer.TokenBalance, error)

GetTokenBalancesDetails mocks base method.

func (*IndexerClient) GetTokenBalancesSummary added in v0.50.5

func (m *IndexerClient) GetTokenBalancesSummary(ctx context.Context, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.NativeTokenBalance, []*indexer.TokenBalance, error)

GetTokenBalancesSummary mocks base method.

func (*IndexerClient) GetTokenIDRanges added in v0.50.5

func (m *IndexerClient) GetTokenIDRanges(ctx context.Context, contractAddress string, lastTokenID *string) (indexer.ContractType, []*indexer.TokenIDRange, bool, error)

GetTokenIDRanges mocks base method.

func (*IndexerClient) GetTokenIDs added in v0.50.5

func (m *IndexerClient) GetTokenIDs(ctx context.Context, contractAddress string, page *indexer.Page) (*indexer.Page, indexer.ContractType, []string, error)

GetTokenIDs mocks base method.

func (*IndexerClient) GetTokenSupplies added in v0.50.5

func (m *IndexerClient) GetTokenSupplies(ctx context.Context, contractAddress string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, page *indexer.Page) (*indexer.Page, indexer.ContractType, []*indexer.TokenSupply, error)

GetTokenSupplies mocks base method.

func (*IndexerClient) GetTokenSuppliesMap added in v0.50.5

func (m *IndexerClient) GetTokenSuppliesMap(ctx context.Context, tokenMap map[string][]string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions) (map[string][]*indexer.TokenSupply, error)

GetTokenSuppliesMap mocks base method.

func (*IndexerClient) GetTopOrders added in v0.50.5

func (m *IndexerClient) GetTopOrders(ctx context.Context, orderbookContractAddress, collectionAddress string, currencyAddresses, tokenIDs []string, isListing bool, priceSort indexer.SortOrder, excludeUser *string) ([]*indexer.OrderbookOrder, error)

GetTopOrders mocks base method.

func (*IndexerClient) GetTransactionHistory added in v0.50.5

func (m *IndexerClient) GetTransactionHistory(ctx context.Context, filter *indexer.TransactionHistoryFilter, page *indexer.Page, includeMetadata *bool, metadataOptions *indexer.MetadataOptions) (*indexer.Page, []*indexer.Transaction, error)

GetTransactionHistory mocks base method.

func (*IndexerClient) GetWebhookListener added in v0.50.5

func (m *IndexerClient) GetWebhookListener(ctx context.Context, id uint64, projectId *uint64) (*indexer.WebhookListener, error)

GetWebhookListener mocks base method.

func (*IndexerClient) PauseAllWebhookListeners added in v0.50.5

func (m *IndexerClient) PauseAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)

PauseAllWebhookListeners mocks base method.

func (*IndexerClient) Ping added in v0.50.5

func (m *IndexerClient) Ping(ctx context.Context) (bool, error)

Ping mocks base method.

func (*IndexerClient) RemoveAllWebhookListeners added in v0.50.5

func (m *IndexerClient) RemoveAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)

RemoveAllWebhookListeners mocks base method.

func (*IndexerClient) RemoveWebhookListener added in v0.50.5

func (m *IndexerClient) RemoveWebhookListener(ctx context.Context, id uint64, projectId *uint64) (bool, error)

RemoveWebhookListener mocks base method.

func (*IndexerClient) ResumeAllWebhookListeners added in v0.50.5

func (m *IndexerClient) ResumeAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)

ResumeAllWebhookListeners mocks base method.

func (*IndexerClient) RuntimeStatus added in v0.50.5

func (m *IndexerClient) RuntimeStatus(ctx context.Context) (*indexer.RuntimeStatus, error)

RuntimeStatus mocks base method.

func (*IndexerClient) SubscribeBalanceUpdates added in v0.50.5

func (m *IndexerClient) SubscribeBalanceUpdates(ctx context.Context, contractAddress string) (indexer.SubscribeBalanceUpdatesStreamReader, error)

SubscribeBalanceUpdates mocks base method.

func (*IndexerClient) SubscribeEvents added in v0.50.5

SubscribeEvents mocks base method.

func (*IndexerClient) SubscribeReceipts added in v0.50.5

SubscribeReceipts mocks base method.

func (*IndexerClient) SyncBalance added in v0.50.5

func (m *IndexerClient) SyncBalance(ctx context.Context, accountAddress, contractAddress string, tokenID *string) error

SyncBalance mocks base method.

func (*IndexerClient) ToggleWebhookListener added in v0.50.5

func (m *IndexerClient) ToggleWebhookListener(ctx context.Context, id uint64, projectId *uint64) (*indexer.WebhookListener, error)

ToggleWebhookListener mocks base method.

func (*IndexerClient) UpdateWebhookListener added in v0.50.5

func (m *IndexerClient) UpdateWebhookListener(ctx context.Context, listener *indexer.WebhookListener, projectId *uint64) (bool, error)

UpdateWebhookListener mocks base method.

func (*IndexerClient) Version added in v0.50.5

func (m *IndexerClient) Version(ctx context.Context) (*indexer.Version, error)

Version mocks base method.

type IndexerClientMockRecorder added in v0.50.5

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

IndexerClientMockRecorder is the mock recorder for IndexerClient.

func (*IndexerClientMockRecorder) AddWebhookListener added in v0.50.5

func (mr *IndexerClientMockRecorder) AddWebhookListener(ctx, url, filters, projectId any) *gomock.Call

AddWebhookListener indicates an expected call of AddWebhookListener.

func (*IndexerClientMockRecorder) FetchTransactionReceipt added in v0.50.5

func (mr *IndexerClientMockRecorder) FetchTransactionReceipt(ctx, txnHash, maxBlockWait any) *gomock.Call

FetchTransactionReceipt indicates an expected call of FetchTransactionReceipt.

func (*IndexerClientMockRecorder) FetchTransactionReceiptWithFilter added in v0.50.5

func (mr *IndexerClientMockRecorder) FetchTransactionReceiptWithFilter(ctx, filter, maxBlockWait any) *gomock.Call

FetchTransactionReceiptWithFilter indicates an expected call of FetchTransactionReceiptWithFilter.

func (*IndexerClientMockRecorder) GetAllWebhookListeners added in v0.50.5

func (mr *IndexerClientMockRecorder) GetAllWebhookListeners(ctx, projectId any) *gomock.Call

GetAllWebhookListeners indicates an expected call of GetAllWebhookListeners.

func (*IndexerClientMockRecorder) GetBalanceUpdates added in v0.50.5

func (mr *IndexerClientMockRecorder) GetBalanceUpdates(ctx, contractAddress, lastBlockNumber, lastBlockHash, page any) *gomock.Call

GetBalanceUpdates indicates an expected call of GetBalanceUpdates.

func (*IndexerClientMockRecorder) GetChainID added in v0.50.5

func (mr *IndexerClientMockRecorder) GetChainID(ctx any) *gomock.Call

GetChainID indicates an expected call of GetChainID.

func (*IndexerClientMockRecorder) GetEtherBalance added in v0.50.5

func (mr *IndexerClientMockRecorder) GetEtherBalance(ctx, accountAddress any) *gomock.Call

GetEtherBalance indicates an expected call of GetEtherBalance.

func (*IndexerClientMockRecorder) GetNativeTokenBalance added in v0.50.5

func (mr *IndexerClientMockRecorder) GetNativeTokenBalance(ctx, accountAddress any) *gomock.Call

GetNativeTokenBalance indicates an expected call of GetNativeTokenBalance.

func (*IndexerClientMockRecorder) GetOrderbookOrders added in v0.50.5

func (mr *IndexerClientMockRecorder) GetOrderbookOrders(ctx, page, orderbookContractAddress, collectionAddress, currencyAddresses, filter, orderStatuses, filters, beforeExpiryTimestamp, blockNumberAfter, createdAtAfter any) *gomock.Call

GetOrderbookOrders indicates an expected call of GetOrderbookOrders.

func (*IndexerClientMockRecorder) GetTokenBalances added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenBalances(ctx, accountAddress, contractAddress, tokenID, includeMetadata, metadataOptions, includeCollectionTokens, page any) *gomock.Call

GetTokenBalances indicates an expected call of GetTokenBalances.

func (*IndexerClientMockRecorder) GetTokenBalancesByContract added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenBalancesByContract(ctx, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesByContract indicates an expected call of GetTokenBalancesByContract.

func (*IndexerClientMockRecorder) GetTokenBalancesDetails added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenBalancesDetails(ctx, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesDetails indicates an expected call of GetTokenBalancesDetails.

func (*IndexerClientMockRecorder) GetTokenBalancesSummary added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenBalancesSummary(ctx, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesSummary indicates an expected call of GetTokenBalancesSummary.

func (*IndexerClientMockRecorder) GetTokenIDRanges added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenIDRanges(ctx, contractAddress, lastTokenID any) *gomock.Call

GetTokenIDRanges indicates an expected call of GetTokenIDRanges.

func (*IndexerClientMockRecorder) GetTokenIDs added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenIDs(ctx, contractAddress, page any) *gomock.Call

GetTokenIDs indicates an expected call of GetTokenIDs.

func (*IndexerClientMockRecorder) GetTokenSupplies added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenSupplies(ctx, contractAddress, includeMetadata, metadataOptions, page any) *gomock.Call

GetTokenSupplies indicates an expected call of GetTokenSupplies.

func (*IndexerClientMockRecorder) GetTokenSuppliesMap added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTokenSuppliesMap(ctx, tokenMap, includeMetadata, metadataOptions any) *gomock.Call

GetTokenSuppliesMap indicates an expected call of GetTokenSuppliesMap.

func (*IndexerClientMockRecorder) GetTopOrders added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTopOrders(ctx, orderbookContractAddress, collectionAddress, currencyAddresses, tokenIDs, isListing, priceSort, excludeUser any) *gomock.Call

GetTopOrders indicates an expected call of GetTopOrders.

func (*IndexerClientMockRecorder) GetTransactionHistory added in v0.50.5

func (mr *IndexerClientMockRecorder) GetTransactionHistory(ctx, filter, page, includeMetadata, metadataOptions any) *gomock.Call

GetTransactionHistory indicates an expected call of GetTransactionHistory.

func (*IndexerClientMockRecorder) GetWebhookListener added in v0.50.5

func (mr *IndexerClientMockRecorder) GetWebhookListener(ctx, id, projectId any) *gomock.Call

GetWebhookListener indicates an expected call of GetWebhookListener.

func (*IndexerClientMockRecorder) PauseAllWebhookListeners added in v0.50.5

func (mr *IndexerClientMockRecorder) PauseAllWebhookListeners(ctx, projectId any) *gomock.Call

PauseAllWebhookListeners indicates an expected call of PauseAllWebhookListeners.

func (*IndexerClientMockRecorder) Ping added in v0.50.5

func (mr *IndexerClientMockRecorder) Ping(ctx any) *gomock.Call

Ping indicates an expected call of Ping.

func (*IndexerClientMockRecorder) RemoveAllWebhookListeners added in v0.50.5

func (mr *IndexerClientMockRecorder) RemoveAllWebhookListeners(ctx, projectId any) *gomock.Call

RemoveAllWebhookListeners indicates an expected call of RemoveAllWebhookListeners.

func (*IndexerClientMockRecorder) RemoveWebhookListener added in v0.50.5

func (mr *IndexerClientMockRecorder) RemoveWebhookListener(ctx, id, projectId any) *gomock.Call

RemoveWebhookListener indicates an expected call of RemoveWebhookListener.

func (*IndexerClientMockRecorder) ResumeAllWebhookListeners added in v0.50.5

func (mr *IndexerClientMockRecorder) ResumeAllWebhookListeners(ctx, projectId any) *gomock.Call

ResumeAllWebhookListeners indicates an expected call of ResumeAllWebhookListeners.

func (*IndexerClientMockRecorder) RuntimeStatus added in v0.50.5

func (mr *IndexerClientMockRecorder) RuntimeStatus(ctx any) *gomock.Call

RuntimeStatus indicates an expected call of RuntimeStatus.

func (*IndexerClientMockRecorder) SubscribeBalanceUpdates added in v0.50.5

func (mr *IndexerClientMockRecorder) SubscribeBalanceUpdates(ctx, contractAddress any) *gomock.Call

SubscribeBalanceUpdates indicates an expected call of SubscribeBalanceUpdates.

func (*IndexerClientMockRecorder) SubscribeEvents added in v0.50.5

func (mr *IndexerClientMockRecorder) SubscribeEvents(ctx, filter any) *gomock.Call

SubscribeEvents indicates an expected call of SubscribeEvents.

func (*IndexerClientMockRecorder) SubscribeReceipts added in v0.50.5

func (mr *IndexerClientMockRecorder) SubscribeReceipts(ctx, filter any) *gomock.Call

SubscribeReceipts indicates an expected call of SubscribeReceipts.

func (*IndexerClientMockRecorder) SyncBalance added in v0.50.5

func (mr *IndexerClientMockRecorder) SyncBalance(ctx, accountAddress, contractAddress, tokenID any) *gomock.Call

SyncBalance indicates an expected call of SyncBalance.

func (*IndexerClientMockRecorder) ToggleWebhookListener added in v0.50.5

func (mr *IndexerClientMockRecorder) ToggleWebhookListener(ctx, id, projectId any) *gomock.Call

ToggleWebhookListener indicates an expected call of ToggleWebhookListener.

func (*IndexerClientMockRecorder) UpdateWebhookListener added in v0.50.5

func (mr *IndexerClientMockRecorder) UpdateWebhookListener(ctx, listener, projectId any) *gomock.Call

UpdateWebhookListener indicates an expected call of UpdateWebhookListener.

func (*IndexerClientMockRecorder) Version added in v0.50.5

func (mr *IndexerClientMockRecorder) Version(ctx any) *gomock.Call

Version indicates an expected call of Version.

type IndexerGateway added in v0.51.0

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

IndexerGateway is a mock of IndexerGateway interface.

func NewIndexerGateway added in v0.51.0

func NewIndexerGateway(ctrl *gomock.Controller) *IndexerGateway

NewIndexerGateway creates a new mock instance.

func (*IndexerGateway) EXPECT added in v0.51.0

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

func (*IndexerGateway) GetBalanceUpdates added in v0.51.0

func (m *IndexerGateway) GetBalanceUpdates(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, contractAddress string, lastBlockNumber uint64, lastBlockHash *string, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTokenBalance, error)

GetBalanceUpdates mocks base method.

func (*IndexerGateway) GetChains added in v0.53.2

func (m *IndexerGateway) GetChains(ctx context.Context, networkType *indexer.NetworkType) ([]*indexer.ChainInfo, error)

GetChains mocks base method.

func (*IndexerGateway) GetNativeTokenBalance added in v0.51.0

func (m *IndexerGateway) GetNativeTokenBalance(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, accountAddress *string) ([]*indexer.GatewayNativeTokenBalance, error)

GetNativeTokenBalance mocks base method.

func (*IndexerGateway) GetTokenBalances added in v0.51.0

func (m *IndexerGateway) GetTokenBalances(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, accountAddress, contractAddress, tokenID *string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, includeCollectionTokens *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTokenBalance, error)

GetTokenBalances mocks base method.

func (*IndexerGateway) GetTokenBalancesByContract added in v0.51.0

func (m *IndexerGateway) GetTokenBalancesByContract(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TokenBalancesByContractFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTokenBalance, error)

GetTokenBalancesByContract mocks base method.

func (*IndexerGateway) GetTokenBalancesDetails added in v0.51.0

func (m *IndexerGateway) GetTokenBalancesDetails(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayNativeTokenBalances, []*indexer.GatewayTokenBalance, error)

GetTokenBalancesDetails mocks base method.

func (*IndexerGateway) GetTokenBalancesSummary added in v0.51.0

func (m *IndexerGateway) GetTokenBalancesSummary(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayNativeTokenBalances, []*indexer.GatewayTokenBalance, error)

GetTokenBalancesSummary mocks base method.

func (*IndexerGateway) GetTransactionHistory added in v0.53.4

func (m *IndexerGateway) GetTransactionHistory(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TransactionHistoryFilter, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTransaction, error)

GetTransactionHistory mocks base method.

func (*IndexerGateway) Ping added in v0.51.0

func (m *IndexerGateway) Ping(ctx context.Context) (bool, error)

Ping mocks base method.

func (*IndexerGateway) RuntimeStatus added in v0.51.0

func (m *IndexerGateway) RuntimeStatus(ctx context.Context) (*indexer.GatewayRuntimeStatus, error)

RuntimeStatus mocks base method.

func (*IndexerGateway) Version added in v0.51.0

func (m *IndexerGateway) Version(ctx context.Context) (*indexer.Version, error)

Version mocks base method.

type IndexerGatewayClient added in v0.51.0

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

IndexerGatewayClient is a mock of IndexerGatewayClient interface.

func NewIndexerGatewayClient added in v0.51.0

func NewIndexerGatewayClient(ctrl *gomock.Controller) *IndexerGatewayClient

NewIndexerGatewayClient creates a new mock instance.

func (*IndexerGatewayClient) EXPECT added in v0.51.0

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

func (*IndexerGatewayClient) GetBalanceUpdates added in v0.51.0

func (m *IndexerGatewayClient) GetBalanceUpdates(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, contractAddress string, lastBlockNumber uint64, lastBlockHash *string, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTokenBalance, error)

GetBalanceUpdates mocks base method.

func (*IndexerGatewayClient) GetChains added in v0.53.2

func (m *IndexerGatewayClient) GetChains(ctx context.Context, networkType *indexer.NetworkType) ([]*indexer.ChainInfo, error)

GetChains mocks base method.

func (*IndexerGatewayClient) GetNativeTokenBalance added in v0.51.0

func (m *IndexerGatewayClient) GetNativeTokenBalance(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, accountAddress *string) ([]*indexer.GatewayNativeTokenBalance, error)

GetNativeTokenBalance mocks base method.

func (*IndexerGatewayClient) GetTokenBalances added in v0.51.0

func (m *IndexerGatewayClient) GetTokenBalances(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, accountAddress, contractAddress, tokenID *string, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, includeCollectionTokens *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTokenBalance, error)

GetTokenBalances mocks base method.

func (*IndexerGatewayClient) GetTokenBalancesByContract added in v0.51.0

func (m *IndexerGatewayClient) GetTokenBalancesByContract(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TokenBalancesByContractFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTokenBalance, error)

GetTokenBalancesByContract mocks base method.

func (*IndexerGatewayClient) GetTokenBalancesDetails added in v0.51.0

func (m *IndexerGatewayClient) GetTokenBalancesDetails(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayNativeTokenBalances, []*indexer.GatewayTokenBalance, error)

GetTokenBalancesDetails mocks base method.

func (*IndexerGatewayClient) GetTokenBalancesSummary added in v0.51.0

func (m *IndexerGatewayClient) GetTokenBalancesSummary(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TokenBalancesFilter, omitMetadata *bool, page *indexer.Page) (*indexer.Page, []*indexer.GatewayNativeTokenBalances, []*indexer.GatewayTokenBalance, error)

GetTokenBalancesSummary mocks base method.

func (*IndexerGatewayClient) GetTransactionHistory added in v0.53.4

func (m *IndexerGatewayClient) GetTransactionHistory(ctx context.Context, chainIds []uint64, networks []string, networkType *indexer.NetworkType, filter *indexer.TransactionHistoryFilter, includeMetadata *bool, metadataOptions *indexer.MetadataOptions, page *indexer.Page) (*indexer.Page, []*indexer.GatewayTransaction, error)

GetTransactionHistory mocks base method.

func (*IndexerGatewayClient) Ping added in v0.51.0

func (m *IndexerGatewayClient) Ping(ctx context.Context) (bool, error)

Ping mocks base method.

func (*IndexerGatewayClient) RuntimeStatus added in v0.51.0

RuntimeStatus mocks base method.

func (*IndexerGatewayClient) Version added in v0.51.0

Version mocks base method.

type IndexerGatewayClientMockRecorder added in v0.51.0

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

IndexerGatewayClientMockRecorder is the mock recorder for IndexerGatewayClient.

func (*IndexerGatewayClientMockRecorder) GetBalanceUpdates added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) GetBalanceUpdates(ctx, chainIds, networks, networkType, contractAddress, lastBlockNumber, lastBlockHash, page any) *gomock.Call

GetBalanceUpdates indicates an expected call of GetBalanceUpdates.

func (*IndexerGatewayClientMockRecorder) GetChains added in v0.53.2

func (mr *IndexerGatewayClientMockRecorder) GetChains(ctx, networkType any) *gomock.Call

GetChains indicates an expected call of GetChains.

func (*IndexerGatewayClientMockRecorder) GetNativeTokenBalance added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) GetNativeTokenBalance(ctx, chainIds, networks, networkType, accountAddress any) *gomock.Call

GetNativeTokenBalance indicates an expected call of GetNativeTokenBalance.

func (*IndexerGatewayClientMockRecorder) GetTokenBalances added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) GetTokenBalances(ctx, chainIds, networks, networkType, accountAddress, contractAddress, tokenID, includeMetadata, metadataOptions, includeCollectionTokens, page any) *gomock.Call

GetTokenBalances indicates an expected call of GetTokenBalances.

func (*IndexerGatewayClientMockRecorder) GetTokenBalancesByContract added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) GetTokenBalancesByContract(ctx, chainIds, networks, networkType, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesByContract indicates an expected call of GetTokenBalancesByContract.

func (*IndexerGatewayClientMockRecorder) GetTokenBalancesDetails added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) GetTokenBalancesDetails(ctx, chainIds, networks, networkType, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesDetails indicates an expected call of GetTokenBalancesDetails.

func (*IndexerGatewayClientMockRecorder) GetTokenBalancesSummary added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) GetTokenBalancesSummary(ctx, chainIds, networks, networkType, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesSummary indicates an expected call of GetTokenBalancesSummary.

func (*IndexerGatewayClientMockRecorder) GetTransactionHistory added in v0.53.4

func (mr *IndexerGatewayClientMockRecorder) GetTransactionHistory(ctx, chainIds, networks, networkType, filter, includeMetadata, metadataOptions, page any) *gomock.Call

GetTransactionHistory indicates an expected call of GetTransactionHistory.

func (*IndexerGatewayClientMockRecorder) Ping added in v0.51.0

Ping indicates an expected call of Ping.

func (*IndexerGatewayClientMockRecorder) RuntimeStatus added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) RuntimeStatus(ctx any) *gomock.Call

RuntimeStatus indicates an expected call of RuntimeStatus.

func (*IndexerGatewayClientMockRecorder) Version added in v0.51.0

func (mr *IndexerGatewayClientMockRecorder) Version(ctx any) *gomock.Call

Version indicates an expected call of Version.

type IndexerGatewayMockRecorder added in v0.51.0

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

IndexerGatewayMockRecorder is the mock recorder for IndexerGateway.

func (*IndexerGatewayMockRecorder) GetBalanceUpdates added in v0.51.0

func (mr *IndexerGatewayMockRecorder) GetBalanceUpdates(ctx, chainIds, networks, networkType, contractAddress, lastBlockNumber, lastBlockHash, page any) *gomock.Call

GetBalanceUpdates indicates an expected call of GetBalanceUpdates.

func (*IndexerGatewayMockRecorder) GetChains added in v0.53.2

func (mr *IndexerGatewayMockRecorder) GetChains(ctx, networkType any) *gomock.Call

GetChains indicates an expected call of GetChains.

func (*IndexerGatewayMockRecorder) GetNativeTokenBalance added in v0.51.0

func (mr *IndexerGatewayMockRecorder) GetNativeTokenBalance(ctx, chainIds, networks, networkType, accountAddress any) *gomock.Call

GetNativeTokenBalance indicates an expected call of GetNativeTokenBalance.

func (*IndexerGatewayMockRecorder) GetTokenBalances added in v0.51.0

func (mr *IndexerGatewayMockRecorder) GetTokenBalances(ctx, chainIds, networks, networkType, accountAddress, contractAddress, tokenID, includeMetadata, metadataOptions, includeCollectionTokens, page any) *gomock.Call

GetTokenBalances indicates an expected call of GetTokenBalances.

func (*IndexerGatewayMockRecorder) GetTokenBalancesByContract added in v0.51.0

func (mr *IndexerGatewayMockRecorder) GetTokenBalancesByContract(ctx, chainIds, networks, networkType, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesByContract indicates an expected call of GetTokenBalancesByContract.

func (*IndexerGatewayMockRecorder) GetTokenBalancesDetails added in v0.51.0

func (mr *IndexerGatewayMockRecorder) GetTokenBalancesDetails(ctx, chainIds, networks, networkType, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesDetails indicates an expected call of GetTokenBalancesDetails.

func (*IndexerGatewayMockRecorder) GetTokenBalancesSummary added in v0.51.0

func (mr *IndexerGatewayMockRecorder) GetTokenBalancesSummary(ctx, chainIds, networks, networkType, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesSummary indicates an expected call of GetTokenBalancesSummary.

func (*IndexerGatewayMockRecorder) GetTransactionHistory added in v0.53.4

func (mr *IndexerGatewayMockRecorder) GetTransactionHistory(ctx, chainIds, networks, networkType, filter, includeMetadata, metadataOptions, page any) *gomock.Call

GetTransactionHistory indicates an expected call of GetTransactionHistory.

func (*IndexerGatewayMockRecorder) Ping added in v0.51.0

func (mr *IndexerGatewayMockRecorder) Ping(ctx any) *gomock.Call

Ping indicates an expected call of Ping.

func (*IndexerGatewayMockRecorder) RuntimeStatus added in v0.51.0

func (mr *IndexerGatewayMockRecorder) RuntimeStatus(ctx any) *gomock.Call

RuntimeStatus indicates an expected call of RuntimeStatus.

func (*IndexerGatewayMockRecorder) Version added in v0.51.0

func (mr *IndexerGatewayMockRecorder) Version(ctx any) *gomock.Call

Version indicates an expected call of Version.

type IndexerMockRecorder

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

IndexerMockRecorder is the mock recorder for Indexer.

func (*IndexerMockRecorder) AddWebhookListener

func (mr *IndexerMockRecorder) AddWebhookListener(ctx, url, filters, projectId any) *gomock.Call

AddWebhookListener indicates an expected call of AddWebhookListener.

func (*IndexerMockRecorder) FetchTransactionReceipt

func (mr *IndexerMockRecorder) FetchTransactionReceipt(ctx, txnHash, maxBlockWait any) *gomock.Call

FetchTransactionReceipt indicates an expected call of FetchTransactionReceipt.

func (*IndexerMockRecorder) FetchTransactionReceiptWithFilter

func (mr *IndexerMockRecorder) FetchTransactionReceiptWithFilter(ctx, filter, maxBlockWait any) *gomock.Call

FetchTransactionReceiptWithFilter indicates an expected call of FetchTransactionReceiptWithFilter.

func (*IndexerMockRecorder) GetAllWebhookListeners

func (mr *IndexerMockRecorder) GetAllWebhookListeners(ctx, projectId any) *gomock.Call

GetAllWebhookListeners indicates an expected call of GetAllWebhookListeners.

func (*IndexerMockRecorder) GetBalanceUpdates

func (mr *IndexerMockRecorder) GetBalanceUpdates(ctx, contractAddress, lastBlockNumber, lastBlockHash, page any) *gomock.Call

GetBalanceUpdates indicates an expected call of GetBalanceUpdates.

func (*IndexerMockRecorder) GetChainID

func (mr *IndexerMockRecorder) GetChainID(ctx any) *gomock.Call

GetChainID indicates an expected call of GetChainID.

func (*IndexerMockRecorder) GetEtherBalance

func (mr *IndexerMockRecorder) GetEtherBalance(ctx, accountAddress any) *gomock.Call

GetEtherBalance indicates an expected call of GetEtherBalance.

func (*IndexerMockRecorder) GetNativeTokenBalance

func (mr *IndexerMockRecorder) GetNativeTokenBalance(ctx, accountAddress any) *gomock.Call

GetNativeTokenBalance indicates an expected call of GetNativeTokenBalance.

func (*IndexerMockRecorder) GetOrderbookOrders

func (mr *IndexerMockRecorder) GetOrderbookOrders(ctx, page, orderbookContractAddress, collectionAddress, currencyAddresses, filter, orderStatuses, filters, beforeExpiryTimestamp, blockNumberAfter, createdAtAfter any) *gomock.Call

GetOrderbookOrders indicates an expected call of GetOrderbookOrders.

func (*IndexerMockRecorder) GetTokenBalances

func (mr *IndexerMockRecorder) GetTokenBalances(ctx, accountAddress, contractAddress, tokenID, includeMetadata, metadataOptions, includeCollectionTokens, page any) *gomock.Call

GetTokenBalances indicates an expected call of GetTokenBalances.

func (*IndexerMockRecorder) GetTokenBalancesByContract

func (mr *IndexerMockRecorder) GetTokenBalancesByContract(ctx, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesByContract indicates an expected call of GetTokenBalancesByContract.

func (*IndexerMockRecorder) GetTokenBalancesDetails

func (mr *IndexerMockRecorder) GetTokenBalancesDetails(ctx, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesDetails indicates an expected call of GetTokenBalancesDetails.

func (*IndexerMockRecorder) GetTokenBalancesSummary

func (mr *IndexerMockRecorder) GetTokenBalancesSummary(ctx, filter, omitMetadata, page any) *gomock.Call

GetTokenBalancesSummary indicates an expected call of GetTokenBalancesSummary.

func (*IndexerMockRecorder) GetTokenIDRanges

func (mr *IndexerMockRecorder) GetTokenIDRanges(ctx, contractAddress, lastTokenID any) *gomock.Call

GetTokenIDRanges indicates an expected call of GetTokenIDRanges.

func (*IndexerMockRecorder) GetTokenIDs

func (mr *IndexerMockRecorder) GetTokenIDs(ctx, contractAddress, page any) *gomock.Call

GetTokenIDs indicates an expected call of GetTokenIDs.

func (*IndexerMockRecorder) GetTokenSupplies

func (mr *IndexerMockRecorder) GetTokenSupplies(ctx, contractAddress, includeMetadata, metadataOptions, page any) *gomock.Call

GetTokenSupplies indicates an expected call of GetTokenSupplies.

func (*IndexerMockRecorder) GetTokenSuppliesMap

func (mr *IndexerMockRecorder) GetTokenSuppliesMap(ctx, tokenMap, includeMetadata, metadataOptions any) *gomock.Call

GetTokenSuppliesMap indicates an expected call of GetTokenSuppliesMap.

func (*IndexerMockRecorder) GetTopOrders

func (mr *IndexerMockRecorder) GetTopOrders(ctx, orderbookContractAddress, collectionAddress, currencyAddresses, tokenIDs, isListing, priceSort, excludeUser any) *gomock.Call

GetTopOrders indicates an expected call of GetTopOrders.

func (*IndexerMockRecorder) GetTransactionHistory

func (mr *IndexerMockRecorder) GetTransactionHistory(ctx, filter, page, includeMetadata, metadataOptions any) *gomock.Call

GetTransactionHistory indicates an expected call of GetTransactionHistory.

func (*IndexerMockRecorder) GetWebhookListener

func (mr *IndexerMockRecorder) GetWebhookListener(ctx, id, projectId any) *gomock.Call

GetWebhookListener indicates an expected call of GetWebhookListener.

func (*IndexerMockRecorder) PauseAllWebhookListeners

func (mr *IndexerMockRecorder) PauseAllWebhookListeners(ctx, projectId any) *gomock.Call

PauseAllWebhookListeners indicates an expected call of PauseAllWebhookListeners.

func (*IndexerMockRecorder) Ping

func (mr *IndexerMockRecorder) Ping(ctx any) *gomock.Call

Ping indicates an expected call of Ping.

func (*IndexerMockRecorder) RemoveAllWebhookListeners

func (mr *IndexerMockRecorder) RemoveAllWebhookListeners(ctx, projectId any) *gomock.Call

RemoveAllWebhookListeners indicates an expected call of RemoveAllWebhookListeners.

func (*IndexerMockRecorder) RemoveWebhookListener

func (mr *IndexerMockRecorder) RemoveWebhookListener(ctx, id, projectId any) *gomock.Call

RemoveWebhookListener indicates an expected call of RemoveWebhookListener.

func (*IndexerMockRecorder) ResumeAllWebhookListeners

func (mr *IndexerMockRecorder) ResumeAllWebhookListeners(ctx, projectId any) *gomock.Call

ResumeAllWebhookListeners indicates an expected call of ResumeAllWebhookListeners.

func (*IndexerMockRecorder) RuntimeStatus

func (mr *IndexerMockRecorder) RuntimeStatus(ctx any) *gomock.Call

RuntimeStatus indicates an expected call of RuntimeStatus.

func (*IndexerMockRecorder) SubscribeBalanceUpdates

func (mr *IndexerMockRecorder) SubscribeBalanceUpdates(ctx, contractAddress, stream any) *gomock.Call

SubscribeBalanceUpdates indicates an expected call of SubscribeBalanceUpdates.

func (*IndexerMockRecorder) SubscribeEvents

func (mr *IndexerMockRecorder) SubscribeEvents(ctx, filter, stream any) *gomock.Call

SubscribeEvents indicates an expected call of SubscribeEvents.

func (*IndexerMockRecorder) SubscribeReceipts

func (mr *IndexerMockRecorder) SubscribeReceipts(ctx, filter, stream any) *gomock.Call

SubscribeReceipts indicates an expected call of SubscribeReceipts.

func (*IndexerMockRecorder) SyncBalance

func (mr *IndexerMockRecorder) SyncBalance(ctx, accountAddress, contractAddress, tokenID any) *gomock.Call

SyncBalance indicates an expected call of SyncBalance.

func (*IndexerMockRecorder) ToggleWebhookListener

func (mr *IndexerMockRecorder) ToggleWebhookListener(ctx, id, projectId any) *gomock.Call

ToggleWebhookListener indicates an expected call of ToggleWebhookListener.

func (*IndexerMockRecorder) UpdateWebhookListener

func (mr *IndexerMockRecorder) UpdateWebhookListener(ctx, listener, projectId any) *gomock.Call

UpdateWebhookListener indicates an expected call of UpdateWebhookListener.

func (*IndexerMockRecorder) Version

func (mr *IndexerMockRecorder) Version(ctx any) *gomock.Call

Version indicates an expected call of Version.

type Marketplace

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

Marketplace is a mock of Marketplace interface.

func NewMarketplace

func NewMarketplace(ctrl *gomock.Controller) *Marketplace

NewMarketplace creates a new mock instance.

func (*Marketplace) CheckoutOptionsMarketplace

func (m *Marketplace) CheckoutOptionsMarketplace(ctx context.Context, wallet string, orders []*marketplace.CheckoutOptionsMarketplaceOrder, additionalFee int) (*marketplace.CheckoutOptions, error)

CheckoutOptionsMarketplace mocks base method.

func (*Marketplace) CheckoutOptionsSalesContract

func (m *Marketplace) CheckoutOptionsSalesContract(ctx context.Context, wallet, contractAddress, collectionAddress string, items []*marketplace.CheckoutOptionsItem) (*marketplace.CheckoutOptions, error)

CheckoutOptionsSalesContract mocks base method.

func (*Marketplace) EXPECT

func (m *Marketplace) EXPECT() *MarketplaceMockRecorder

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

func (*Marketplace) Execute

func (m *Marketplace) Execute(ctx context.Context, signature, method, endpoint string, executeType marketplace.ExecuteType, body any) (string, error)

Execute mocks base method.

func (*Marketplace) GenerateBuyTransaction

func (m *Marketplace) GenerateBuyTransaction(ctx context.Context, collectionAddress, buyer string, arg3 marketplace.MarketplaceKind, ordersData []*marketplace.OrderData, additionalFees []*marketplace.AdditionalFee, walletType *marketplace.WalletKind) ([]*marketplace.Step, error)

GenerateBuyTransaction mocks base method.

func (*Marketplace) GenerateCancelTransaction

func (m *Marketplace) GenerateCancelTransaction(ctx context.Context, collectionAddress, maker string, arg3 marketplace.MarketplaceKind, orderId string) ([]*marketplace.Step, error)

GenerateCancelTransaction mocks base method.

func (*Marketplace) GenerateListingTransaction

func (m *Marketplace) GenerateListingTransaction(ctx context.Context, collectionAddress, owner string, contractType marketplace.ContractType, orderbook marketplace.OrderbookKind, listing *marketplace.CreateReq, walletType *marketplace.WalletKind) ([]*marketplace.Step, error)

GenerateListingTransaction mocks base method.

func (*Marketplace) GenerateOfferTransaction

func (m *Marketplace) GenerateOfferTransaction(ctx context.Context, collectionAddress, maker string, contractType marketplace.ContractType, orderbook marketplace.OrderbookKind, offer *marketplace.CreateReq, walletType *marketplace.WalletKind) ([]*marketplace.Step, error)

GenerateOfferTransaction mocks base method.

func (*Marketplace) GenerateSellTransaction

func (m *Marketplace) GenerateSellTransaction(ctx context.Context, collectionAddress, seller string, arg3 marketplace.MarketplaceKind, ordersData []*marketplace.OrderData, additionalFees []*marketplace.AdditionalFee, walletType *marketplace.WalletKind) ([]*marketplace.Step, error)

GenerateSellTransaction mocks base method.

func (*Marketplace) GetCollectible

func (m *Marketplace) GetCollectible(ctx context.Context, contractAddress, tokenId string) (*marketplace.TokenMetadata, error)

GetCollectible mocks base method.

func (*Marketplace) GetCollectibleHighestListing

func (m *Marketplace) GetCollectibleHighestListing(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetCollectibleHighestListing mocks base method.

func (*Marketplace) GetCollectibleHighestOffer

func (m *Marketplace) GetCollectibleHighestOffer(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetCollectibleHighestOffer mocks base method.

func (*Marketplace) GetCollectibleLowestListing

func (m *Marketplace) GetCollectibleLowestListing(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetCollectibleLowestListing mocks base method.

func (*Marketplace) GetCollectibleLowestOffer

func (m *Marketplace) GetCollectibleLowestOffer(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetCollectibleLowestOffer mocks base method.

func (*Marketplace) GetCollectionDetail

func (m *Marketplace) GetCollectionDetail(ctx context.Context, contractAddress string) (*marketplace.Collection, error)

GetCollectionDetail mocks base method.

func (*Marketplace) GetCountOfAllCollectibles

func (m *Marketplace) GetCountOfAllCollectibles(ctx context.Context, contractAddress string) (uint64, error)

GetCountOfAllCollectibles mocks base method.

func (*Marketplace) GetCountOfFilteredCollectibles

func (m *Marketplace) GetCountOfFilteredCollectibles(ctx context.Context, side marketplace.OrderSide, contractAddress string, filter *marketplace.CollectiblesFilter) (uint64, error)

GetCountOfFilteredCollectibles mocks base method.

func (*Marketplace) GetCountOfListingsForCollectible

func (m *Marketplace) GetCountOfListingsForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (uint64, error)

GetCountOfListingsForCollectible mocks base method.

func (*Marketplace) GetCountOfOffersForCollectible

func (m *Marketplace) GetCountOfOffersForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (uint64, error)

GetCountOfOffersForCollectible mocks base method.

func (*Marketplace) GetFloorOrder

func (m *Marketplace) GetFloorOrder(ctx context.Context, contractAddress string, filter *marketplace.CollectiblesFilter) (*marketplace.CollectibleOrder, error)

GetFloorOrder mocks base method.

func (*Marketplace) GetHighestPriceListingForCollectible

func (m *Marketplace) GetHighestPriceListingForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetHighestPriceListingForCollectible mocks base method.

func (*Marketplace) GetHighestPriceOfferForCollectible

func (m *Marketplace) GetHighestPriceOfferForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetHighestPriceOfferForCollectible mocks base method.

func (*Marketplace) GetLowestPriceListingForCollectible

func (m *Marketplace) GetLowestPriceListingForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetLowestPriceListingForCollectible mocks base method.

func (*Marketplace) GetLowestPriceOfferForCollectible

func (m *Marketplace) GetLowestPriceOfferForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter) (*marketplace.Order, error)

GetLowestPriceOfferForCollectible mocks base method.

func (*Marketplace) GetOrders

GetOrders mocks base method.

func (*Marketplace) ListCollectibleActivities

func (m *Marketplace) ListCollectibleActivities(ctx context.Context, contractAddress, tokenId string, page *marketplace.Page) ([]*marketplace.Activity, *marketplace.Page, error)

ListCollectibleActivities mocks base method.

func (*Marketplace) ListCollectibleListings

func (m *Marketplace) ListCollectibleListings(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter, page *marketplace.Page) ([]*marketplace.Order, *marketplace.Page, error)

ListCollectibleListings mocks base method.

func (*Marketplace) ListCollectibleOffers

func (m *Marketplace) ListCollectibleOffers(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter, page *marketplace.Page) ([]*marketplace.Order, *marketplace.Page, error)

ListCollectibleOffers mocks base method.

func (*Marketplace) ListCollectibles

func (m *Marketplace) ListCollectibles(ctx context.Context, side marketplace.OrderSide, contractAddress string, filter *marketplace.CollectiblesFilter, page *marketplace.Page) ([]*marketplace.CollectibleOrder, *marketplace.Page, error)

ListCollectibles mocks base method.

func (*Marketplace) ListCollectiblesWithHighestOffer

func (m *Marketplace) ListCollectiblesWithHighestOffer(ctx context.Context, contractAddress string, filter *marketplace.CollectiblesFilter, page *marketplace.Page) ([]*marketplace.CollectibleOrder, *marketplace.Page, error)

ListCollectiblesWithHighestOffer mocks base method.

func (*Marketplace) ListCollectiblesWithLowestListing

func (m *Marketplace) ListCollectiblesWithLowestListing(ctx context.Context, contractAddress string, filter *marketplace.CollectiblesFilter, page *marketplace.Page) ([]*marketplace.CollectibleOrder, *marketplace.Page, error)

ListCollectiblesWithLowestListing mocks base method.

func (*Marketplace) ListCollectionActivities

func (m *Marketplace) ListCollectionActivities(ctx context.Context, contractAddress string, page *marketplace.Page) ([]*marketplace.Activity, *marketplace.Page, error)

ListCollectionActivities mocks base method.

func (*Marketplace) ListCurrencies

func (m *Marketplace) ListCurrencies(ctx context.Context) ([]*marketplace.Currency, error)

ListCurrencies mocks base method.

func (*Marketplace) ListListingsForCollectible

func (m *Marketplace) ListListingsForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter, page *marketplace.Page) ([]*marketplace.Order, *marketplace.Page, error)

ListListingsForCollectible mocks base method.

func (*Marketplace) ListOffersForCollectible

func (m *Marketplace) ListOffersForCollectible(ctx context.Context, contractAddress, tokenId string, filter *marketplace.OrderFilter, page *marketplace.Page) ([]*marketplace.Order, *marketplace.Page, error)

ListOffersForCollectible mocks base method.

func (*Marketplace) SyncOrder

func (m *Marketplace) SyncOrder(ctx context.Context, order *marketplace.Order) error

SyncOrder mocks base method.

func (*Marketplace) SyncOrders

func (m *Marketplace) SyncOrders(ctx context.Context, orders []*marketplace.Order) error

SyncOrders mocks base method.

type MarketplaceMockRecorder

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

MarketplaceMockRecorder is the mock recorder for Marketplace.

func (*MarketplaceMockRecorder) CheckoutOptionsMarketplace

func (mr *MarketplaceMockRecorder) CheckoutOptionsMarketplace(ctx, wallet, orders, additionalFee any) *gomock.Call

CheckoutOptionsMarketplace indicates an expected call of CheckoutOptionsMarketplace.

func (*MarketplaceMockRecorder) CheckoutOptionsSalesContract

func (mr *MarketplaceMockRecorder) CheckoutOptionsSalesContract(ctx, wallet, contractAddress, collectionAddress, items any) *gomock.Call

CheckoutOptionsSalesContract indicates an expected call of CheckoutOptionsSalesContract.

func (*MarketplaceMockRecorder) Execute

func (mr *MarketplaceMockRecorder) Execute(ctx, signature, method, endpoint, executeType, body any) *gomock.Call

Execute indicates an expected call of Execute.

func (*MarketplaceMockRecorder) GenerateBuyTransaction

func (mr *MarketplaceMockRecorder) GenerateBuyTransaction(ctx, collectionAddress, buyer, arg3, ordersData, additionalFees, walletType any) *gomock.Call

GenerateBuyTransaction indicates an expected call of GenerateBuyTransaction.

func (*MarketplaceMockRecorder) GenerateCancelTransaction

func (mr *MarketplaceMockRecorder) GenerateCancelTransaction(ctx, collectionAddress, maker, arg3, orderId any) *gomock.Call

GenerateCancelTransaction indicates an expected call of GenerateCancelTransaction.

func (*MarketplaceMockRecorder) GenerateListingTransaction

func (mr *MarketplaceMockRecorder) GenerateListingTransaction(ctx, collectionAddress, owner, contractType, orderbook, listing, walletType any) *gomock.Call

GenerateListingTransaction indicates an expected call of GenerateListingTransaction.

func (*MarketplaceMockRecorder) GenerateOfferTransaction

func (mr *MarketplaceMockRecorder) GenerateOfferTransaction(ctx, collectionAddress, maker, contractType, orderbook, offer, walletType any) *gomock.Call

GenerateOfferTransaction indicates an expected call of GenerateOfferTransaction.

func (*MarketplaceMockRecorder) GenerateSellTransaction

func (mr *MarketplaceMockRecorder) GenerateSellTransaction(ctx, collectionAddress, seller, arg3, ordersData, additionalFees, walletType any) *gomock.Call

GenerateSellTransaction indicates an expected call of GenerateSellTransaction.

func (*MarketplaceMockRecorder) GetCollectible

func (mr *MarketplaceMockRecorder) GetCollectible(ctx, contractAddress, tokenId any) *gomock.Call

GetCollectible indicates an expected call of GetCollectible.

func (*MarketplaceMockRecorder) GetCollectibleHighestListing

func (mr *MarketplaceMockRecorder) GetCollectibleHighestListing(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetCollectibleHighestListing indicates an expected call of GetCollectibleHighestListing.

func (*MarketplaceMockRecorder) GetCollectibleHighestOffer

func (mr *MarketplaceMockRecorder) GetCollectibleHighestOffer(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetCollectibleHighestOffer indicates an expected call of GetCollectibleHighestOffer.

func (*MarketplaceMockRecorder) GetCollectibleLowestListing

func (mr *MarketplaceMockRecorder) GetCollectibleLowestListing(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetCollectibleLowestListing indicates an expected call of GetCollectibleLowestListing.

func (*MarketplaceMockRecorder) GetCollectibleLowestOffer

func (mr *MarketplaceMockRecorder) GetCollectibleLowestOffer(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetCollectibleLowestOffer indicates an expected call of GetCollectibleLowestOffer.

func (*MarketplaceMockRecorder) GetCollectionDetail

func (mr *MarketplaceMockRecorder) GetCollectionDetail(ctx, contractAddress any) *gomock.Call

GetCollectionDetail indicates an expected call of GetCollectionDetail.

func (*MarketplaceMockRecorder) GetCountOfAllCollectibles

func (mr *MarketplaceMockRecorder) GetCountOfAllCollectibles(ctx, contractAddress any) *gomock.Call

GetCountOfAllCollectibles indicates an expected call of GetCountOfAllCollectibles.

func (*MarketplaceMockRecorder) GetCountOfFilteredCollectibles

func (mr *MarketplaceMockRecorder) GetCountOfFilteredCollectibles(ctx, side, contractAddress, filter any) *gomock.Call

GetCountOfFilteredCollectibles indicates an expected call of GetCountOfFilteredCollectibles.

func (*MarketplaceMockRecorder) GetCountOfListingsForCollectible

func (mr *MarketplaceMockRecorder) GetCountOfListingsForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetCountOfListingsForCollectible indicates an expected call of GetCountOfListingsForCollectible.

func (*MarketplaceMockRecorder) GetCountOfOffersForCollectible

func (mr *MarketplaceMockRecorder) GetCountOfOffersForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetCountOfOffersForCollectible indicates an expected call of GetCountOfOffersForCollectible.

func (*MarketplaceMockRecorder) GetFloorOrder

func (mr *MarketplaceMockRecorder) GetFloorOrder(ctx, contractAddress, filter any) *gomock.Call

GetFloorOrder indicates an expected call of GetFloorOrder.

func (*MarketplaceMockRecorder) GetHighestPriceListingForCollectible

func (mr *MarketplaceMockRecorder) GetHighestPriceListingForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetHighestPriceListingForCollectible indicates an expected call of GetHighestPriceListingForCollectible.

func (*MarketplaceMockRecorder) GetHighestPriceOfferForCollectible

func (mr *MarketplaceMockRecorder) GetHighestPriceOfferForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetHighestPriceOfferForCollectible indicates an expected call of GetHighestPriceOfferForCollectible.

func (*MarketplaceMockRecorder) GetLowestPriceListingForCollectible

func (mr *MarketplaceMockRecorder) GetLowestPriceListingForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetLowestPriceListingForCollectible indicates an expected call of GetLowestPriceListingForCollectible.

func (*MarketplaceMockRecorder) GetLowestPriceOfferForCollectible

func (mr *MarketplaceMockRecorder) GetLowestPriceOfferForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call

GetLowestPriceOfferForCollectible indicates an expected call of GetLowestPriceOfferForCollectible.

func (*MarketplaceMockRecorder) GetOrders

func (mr *MarketplaceMockRecorder) GetOrders(ctx, input, page any) *gomock.Call

GetOrders indicates an expected call of GetOrders.

func (*MarketplaceMockRecorder) ListCollectibleActivities

func (mr *MarketplaceMockRecorder) ListCollectibleActivities(ctx, contractAddress, tokenId, page any) *gomock.Call

ListCollectibleActivities indicates an expected call of ListCollectibleActivities.

func (*MarketplaceMockRecorder) ListCollectibleListings

func (mr *MarketplaceMockRecorder) ListCollectibleListings(ctx, contractAddress, tokenId, filter, page any) *gomock.Call

ListCollectibleListings indicates an expected call of ListCollectibleListings.

func (*MarketplaceMockRecorder) ListCollectibleOffers

func (mr *MarketplaceMockRecorder) ListCollectibleOffers(ctx, contractAddress, tokenId, filter, page any) *gomock.Call

ListCollectibleOffers indicates an expected call of ListCollectibleOffers.

func (*MarketplaceMockRecorder) ListCollectibles

func (mr *MarketplaceMockRecorder) ListCollectibles(ctx, side, contractAddress, filter, page any) *gomock.Call

ListCollectibles indicates an expected call of ListCollectibles.

func (*MarketplaceMockRecorder) ListCollectiblesWithHighestOffer

func (mr *MarketplaceMockRecorder) ListCollectiblesWithHighestOffer(ctx, contractAddress, filter, page any) *gomock.Call

ListCollectiblesWithHighestOffer indicates an expected call of ListCollectiblesWithHighestOffer.

func (*MarketplaceMockRecorder) ListCollectiblesWithLowestListing

func (mr *MarketplaceMockRecorder) ListCollectiblesWithLowestListing(ctx, contractAddress, filter, page any) *gomock.Call

ListCollectiblesWithLowestListing indicates an expected call of ListCollectiblesWithLowestListing.

func (*MarketplaceMockRecorder) ListCollectionActivities

func (mr *MarketplaceMockRecorder) ListCollectionActivities(ctx, contractAddress, page any) *gomock.Call

ListCollectionActivities indicates an expected call of ListCollectionActivities.

func (*MarketplaceMockRecorder) ListCurrencies

func (mr *MarketplaceMockRecorder) ListCurrencies(ctx any) *gomock.Call

ListCurrencies indicates an expected call of ListCurrencies.

func (*MarketplaceMockRecorder) ListListingsForCollectible

func (mr *MarketplaceMockRecorder) ListListingsForCollectible(ctx, contractAddress, tokenId, filter, page any) *gomock.Call

ListListingsForCollectible indicates an expected call of ListListingsForCollectible.

func (*MarketplaceMockRecorder) ListOffersForCollectible

func (mr *MarketplaceMockRecorder) ListOffersForCollectible(ctx, contractAddress, tokenId, filter, page any) *gomock.Call

ListOffersForCollectible indicates an expected call of ListOffersForCollectible.

func (*MarketplaceMockRecorder) SyncOrder

func (mr *MarketplaceMockRecorder) SyncOrder(ctx, order any) *gomock.Call

SyncOrder indicates an expected call of SyncOrder.

func (*MarketplaceMockRecorder) SyncOrders

func (mr *MarketplaceMockRecorder) SyncOrders(ctx, orders any) *gomock.Call

SyncOrders indicates an expected call of SyncOrders.

type Metadata

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

Metadata is a mock of Metadata interface.

func NewMetadata

func NewMetadata(ctrl *gomock.Controller) *Metadata

NewMetadata creates a new mock instance.

func (*Metadata) DirectoryGetCollections

func (m *Metadata) DirectoryGetCollections(ctx context.Context, chainId *uint64, includeTestnets, onlyFeatured *bool, page *metadata.Page) ([]*metadata.ContractInfo, *metadata.Page, error)

DirectoryGetCollections mocks base method.

func (*Metadata) DirectoryGetNetworks

func (m *Metadata) DirectoryGetNetworks(ctx context.Context, includeTestnets, onlyFeatured *bool) ([]uint64, error)

DirectoryGetNetworks mocks base method.

func (*Metadata) DirectorySearchCollections

func (m *Metadata) DirectorySearchCollections(ctx context.Context, query string, chainId *uint64, includeTestnets, onlyFeatured *bool, page *metadata.Page) ([]*metadata.ContractInfo, *metadata.Page, error)

DirectorySearchCollections mocks base method.

func (*Metadata) EXPECT

func (m *Metadata) EXPECT() *MetadataMockRecorder

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

func (*Metadata) FindContractInfo added in v0.52.1

func (m *Metadata) FindContractInfo(ctx context.Context, contractAddress string) ([]*metadata.ContractInfo, error)

FindContractInfo mocks base method.

func (*Metadata) FindContractInfoBatch added in v0.52.1

func (m *Metadata) FindContractInfoBatch(ctx context.Context, contractAddresses []string) (map[string][]*metadata.ContractInfo, error)

FindContractInfoBatch mocks base method.

func (*Metadata) GetContractInfo

func (m *Metadata) GetContractInfo(ctx context.Context, chainID, contractAddress string) (*metadata.ContractInfo, *uint64, error)

GetContractInfo mocks base method.

func (*Metadata) GetContractInfoBatch

func (m *Metadata) GetContractInfoBatch(ctx context.Context, chainID string, contractAddresses []string) (map[string]*metadata.ContractInfo, *uint64, error)

GetContractInfoBatch mocks base method.

func (*Metadata) GetNiftyswapTokenQuantity

func (m *Metadata) GetNiftyswapTokenQuantity(ctx context.Context, chainID, contractAddress string, tokenIDs []string) (map[string]string, error)

GetNiftyswapTokenQuantity mocks base method.

func (*Metadata) GetNiftyswapUnitPrices

func (m *Metadata) GetNiftyswapUnitPrices(ctx context.Context, chainID, contractAddress string, req *metadata.GetNiftyswapUnitPricesRequest, fresh bool) (map[string]string, error)

GetNiftyswapUnitPrices mocks base method.

func (*Metadata) GetNiftyswapUnitPricesWithQuantities

func (m *Metadata) GetNiftyswapUnitPricesWithQuantities(ctx context.Context, chainID, contractAddress string, req *metadata.GetNiftyswapUnitPricesRequest, fresh bool) (map[string]*metadata.GetNiftyswapUnitPricesResponse, error)

GetNiftyswapUnitPricesWithQuantities mocks base method.

func (*Metadata) GetTask

func (m *Metadata) GetTask(ctx context.Context, taskId uint64) (*metadata.Task, error)

GetTask mocks base method.

func (*Metadata) GetTaskStatus

func (m *Metadata) GetTaskStatus(ctx context.Context, taskId uint64) (*metadata.TaskStatus, error)

GetTaskStatus mocks base method.

func (*Metadata) GetTokenDirectory added in v0.52.1

func (m *Metadata) GetTokenDirectory(ctx context.Context, chainID *string, includeTestnets, onlyFeatured *bool, page *metadata.Page) ([]*metadata.ContractInfo, *metadata.Page, error)

GetTokenDirectory mocks base method.

func (*Metadata) GetTokenDirectoryNetworks added in v0.52.1

func (m *Metadata) GetTokenDirectoryNetworks(ctx context.Context, includeTestnets, onlyFeatured *bool) ([]uint64, []string, error)

GetTokenDirectoryNetworks mocks base method.

func (*Metadata) GetTokenMetadata

func (m *Metadata) GetTokenMetadata(ctx context.Context, chainID, contractAddress string, tokenIDs []string) ([]*metadata.TokenMetadata, *uint64, error)

GetTokenMetadata mocks base method.

func (*Metadata) GetTokenMetadataBatch

func (m *Metadata) GetTokenMetadataBatch(ctx context.Context, chainID string, contractTokenMap map[string][]string) (map[string][]*metadata.TokenMetadata, *uint64, error)

GetTokenMetadataBatch mocks base method.

func (*Metadata) GetTokenMetadataPropertyFilters added in v0.52.1

func (m *Metadata) GetTokenMetadataPropertyFilters(ctx context.Context, chainID, contractAddress string, excludeProperties []string, excludePropertyValues *bool) ([]*metadata.PropertyFilter, error)

GetTokenMetadataPropertyFilters mocks base method.

func (*Metadata) GetTokenRefreshStatus

func (m *Metadata) GetTokenRefreshStatus(ctx context.Context, taskId uint64) (*metadata.TaskStatus, error)

GetTokenRefreshStatus mocks base method.

func (*Metadata) Ping

func (m *Metadata) Ping(ctx context.Context) (bool, error)

Ping mocks base method.

func (*Metadata) RefreshAllContractTokens

func (m *Metadata) RefreshAllContractTokens(ctx context.Context, chainHandle, contractAddress string) (*uint64, uint64, error)

RefreshAllContractTokens mocks base method.

func (*Metadata) RefreshContractInfo

func (m *Metadata) RefreshContractInfo(ctx context.Context, chainID, contractAddress string) (*uint64, error)

RefreshContractInfo mocks base method.

func (*Metadata) RefreshContractInfoBatch added in v0.52.1

func (m *Metadata) RefreshContractInfoBatch(ctx context.Context, chainID string, contractAddresses []string) (*uint64, error)

RefreshContractInfoBatch mocks base method.

func (*Metadata) RefreshTokenMetadata

func (m *Metadata) RefreshTokenMetadata(ctx context.Context, chainID, contractAddress string, tokenIDs []string, refreshAll *bool) (uint64, error)

RefreshTokenMetadata mocks base method.

func (*Metadata) RuntimeStatus

func (m *Metadata) RuntimeStatus(ctx context.Context) (*metadata.RuntimeStatus, error)

RuntimeStatus mocks base method.

func (*Metadata) SearchContractInfo

func (m *Metadata) SearchContractInfo(ctx context.Context, contractAddress string) ([]*metadata.ContractInfo, error)

SearchContractInfo mocks base method.

func (*Metadata) SearchContractInfoBatch

func (m *Metadata) SearchContractInfoBatch(ctx context.Context, contractAddresses []string) (map[string][]*metadata.ContractInfo, error)

SearchContractInfoBatch mocks base method.

func (*Metadata) SearchContracts

func (m *Metadata) SearchContracts(ctx context.Context, q string, chainID *string, chainIDs []string, types []metadata.ContractType, page *metadata.Page) ([]*metadata.ContractInfo, *metadata.Page, error)

SearchContracts mocks base method.

func (*Metadata) SearchContractsByQuery added in v0.52.1

func (m *Metadata) SearchContractsByQuery(ctx context.Context, q string, chainID *string, chainIDs []string, types []metadata.ContractType, page *metadata.Page) ([]*metadata.ContractInfo, *metadata.Page, error)

SearchContractsByQuery mocks base method.

func (*Metadata) SearchMetadata

func (m *Metadata) SearchMetadata(ctx context.Context, filter string, chainID *string, types []metadata.ContractType, excludeTokenMetadata *bool) ([]*metadata.TokenMetadata, []*metadata.ContractInfo, error)

SearchMetadata mocks base method.

func (*Metadata) SearchTokenDirectory added in v0.52.1

func (m *Metadata) SearchTokenDirectory(ctx context.Context, query string, chainID *uint64, includeTestnets, onlyFeatured *bool, page *metadata.Page) ([]*metadata.ContractInfo, *metadata.Page, error)

SearchTokenDirectory mocks base method.

func (*Metadata) SearchTokenIDs

func (m *Metadata) SearchTokenIDs(ctx context.Context, chainID, contractAddress string, filter *metadata.Filter, page *metadata.Page) (*metadata.Page, []string, error)

SearchTokenIDs mocks base method.

func (*Metadata) SearchTokenMetadata

func (m *Metadata) SearchTokenMetadata(ctx context.Context, chainID, contractAddress string, filter *metadata.Filter, page *metadata.Page) (*metadata.Page, []*metadata.TokenMetadata, error)

SearchTokenMetadata mocks base method.

func (*Metadata) SearchTokenMetadataByQuery added in v0.52.1

func (m *Metadata) SearchTokenMetadataByQuery(ctx context.Context, q string, chainID, contractAddress *string, page *metadata.Page) ([]*metadata.TokenMetadata, *metadata.Page, error)

SearchTokenMetadataByQuery mocks base method.

func (*Metadata) SearchTokenMetadataTokenIDs added in v0.52.1

func (m *Metadata) SearchTokenMetadataTokenIDs(ctx context.Context, chainID, contractAddress string, filter *metadata.Filter, page *metadata.Page) (*metadata.Page, []string, error)

SearchTokenMetadataTokenIDs mocks base method.

func (*Metadata) SearchTokens

func (m *Metadata) SearchTokens(ctx context.Context, q string, chainID *string, page *metadata.Page) ([]*metadata.TokenMetadata, *metadata.Page, error)

SearchTokens mocks base method.

func (*Metadata) TokenCollectionFilters

func (m *Metadata) TokenCollectionFilters(ctx context.Context, chainID, contractAddress string) ([]*metadata.PropertyFilter, error)

TokenCollectionFilters mocks base method.

func (*Metadata) Version

func (m *Metadata) Version(ctx context.Context) (*metadata.Version, error)

Version mocks base method.

type MetadataMockRecorder

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

MetadataMockRecorder is the mock recorder for Metadata.

func (*MetadataMockRecorder) DirectoryGetCollections

func (mr *MetadataMockRecorder) DirectoryGetCollections(ctx, chainId, includeTestnets, onlyFeatured, page any) *gomock.Call

DirectoryGetCollections indicates an expected call of DirectoryGetCollections.

func (*MetadataMockRecorder) DirectoryGetNetworks

func (mr *MetadataMockRecorder) DirectoryGetNetworks(ctx, includeTestnets, onlyFeatured any) *gomock.Call

DirectoryGetNetworks indicates an expected call of DirectoryGetNetworks.

func (*MetadataMockRecorder) DirectorySearchCollections

func (mr *MetadataMockRecorder) DirectorySearchCollections(ctx, query, chainId, includeTestnets, onlyFeatured, page any) *gomock.Call

DirectorySearchCollections indicates an expected call of DirectorySearchCollections.

func (*MetadataMockRecorder) FindContractInfo added in v0.52.1

func (mr *MetadataMockRecorder) FindContractInfo(ctx, contractAddress any) *gomock.Call

FindContractInfo indicates an expected call of FindContractInfo.

func (*MetadataMockRecorder) FindContractInfoBatch added in v0.52.1

func (mr *MetadataMockRecorder) FindContractInfoBatch(ctx, contractAddresses any) *gomock.Call

FindContractInfoBatch indicates an expected call of FindContractInfoBatch.

func (*MetadataMockRecorder) GetContractInfo

func (mr *MetadataMockRecorder) GetContractInfo(ctx, chainID, contractAddress any) *gomock.Call

GetContractInfo indicates an expected call of GetContractInfo.

func (*MetadataMockRecorder) GetContractInfoBatch

func (mr *MetadataMockRecorder) GetContractInfoBatch(ctx, chainID, contractAddresses any) *gomock.Call

GetContractInfoBatch indicates an expected call of GetContractInfoBatch.

func (*MetadataMockRecorder) GetNiftyswapTokenQuantity

func (mr *MetadataMockRecorder) GetNiftyswapTokenQuantity(ctx, chainID, contractAddress, tokenIDs any) *gomock.Call

GetNiftyswapTokenQuantity indicates an expected call of GetNiftyswapTokenQuantity.

func (*MetadataMockRecorder) GetNiftyswapUnitPrices

func (mr *MetadataMockRecorder) GetNiftyswapUnitPrices(ctx, chainID, contractAddress, req, fresh any) *gomock.Call

GetNiftyswapUnitPrices indicates an expected call of GetNiftyswapUnitPrices.

func (*MetadataMockRecorder) GetNiftyswapUnitPricesWithQuantities

func (mr *MetadataMockRecorder) GetNiftyswapUnitPricesWithQuantities(ctx, chainID, contractAddress, req, fresh any) *gomock.Call

GetNiftyswapUnitPricesWithQuantities indicates an expected call of GetNiftyswapUnitPricesWithQuantities.

func (*MetadataMockRecorder) GetTask

func (mr *MetadataMockRecorder) GetTask(ctx, taskId any) *gomock.Call

GetTask indicates an expected call of GetTask.

func (*MetadataMockRecorder) GetTaskStatus

func (mr *MetadataMockRecorder) GetTaskStatus(ctx, taskId any) *gomock.Call

GetTaskStatus indicates an expected call of GetTaskStatus.

func (*MetadataMockRecorder) GetTokenDirectory added in v0.52.1

func (mr *MetadataMockRecorder) GetTokenDirectory(ctx, chainID, includeTestnets, onlyFeatured, page any) *gomock.Call

GetTokenDirectory indicates an expected call of GetTokenDirectory.

func (*MetadataMockRecorder) GetTokenDirectoryNetworks added in v0.52.1

func (mr *MetadataMockRecorder) GetTokenDirectoryNetworks(ctx, includeTestnets, onlyFeatured any) *gomock.Call

GetTokenDirectoryNetworks indicates an expected call of GetTokenDirectoryNetworks.

func (*MetadataMockRecorder) GetTokenMetadata

func (mr *MetadataMockRecorder) GetTokenMetadata(ctx, chainID, contractAddress, tokenIDs any) *gomock.Call

GetTokenMetadata indicates an expected call of GetTokenMetadata.

func (*MetadataMockRecorder) GetTokenMetadataBatch

func (mr *MetadataMockRecorder) GetTokenMetadataBatch(ctx, chainID, contractTokenMap any) *gomock.Call

GetTokenMetadataBatch indicates an expected call of GetTokenMetadataBatch.

func (*MetadataMockRecorder) GetTokenMetadataPropertyFilters added in v0.52.1

func (mr *MetadataMockRecorder) GetTokenMetadataPropertyFilters(ctx, chainID, contractAddress, excludeProperties, excludePropertyValues any) *gomock.Call

GetTokenMetadataPropertyFilters indicates an expected call of GetTokenMetadataPropertyFilters.

func (*MetadataMockRecorder) GetTokenRefreshStatus

func (mr *MetadataMockRecorder) GetTokenRefreshStatus(ctx, taskId any) *gomock.Call

GetTokenRefreshStatus indicates an expected call of GetTokenRefreshStatus.

func (*MetadataMockRecorder) Ping

func (mr *MetadataMockRecorder) Ping(ctx any) *gomock.Call

Ping indicates an expected call of Ping.

func (*MetadataMockRecorder) RefreshAllContractTokens

func (mr *MetadataMockRecorder) RefreshAllContractTokens(ctx, chainHandle, contractAddress any) *gomock.Call

RefreshAllContractTokens indicates an expected call of RefreshAllContractTokens.

func (*MetadataMockRecorder) RefreshContractInfo

func (mr *MetadataMockRecorder) RefreshContractInfo(ctx, chainID, contractAddress any) *gomock.Call

RefreshContractInfo indicates an expected call of RefreshContractInfo.

func (*MetadataMockRecorder) RefreshContractInfoBatch added in v0.52.1

func (mr *MetadataMockRecorder) RefreshContractInfoBatch(ctx, chainID, contractAddresses any) *gomock.Call

RefreshContractInfoBatch indicates an expected call of RefreshContractInfoBatch.

func (*MetadataMockRecorder) RefreshTokenMetadata

func (mr *MetadataMockRecorder) RefreshTokenMetadata(ctx, chainID, contractAddress, tokenIDs, refreshAll any) *gomock.Call

RefreshTokenMetadata indicates an expected call of RefreshTokenMetadata.

func (*MetadataMockRecorder) RuntimeStatus

func (mr *MetadataMockRecorder) RuntimeStatus(ctx any) *gomock.Call

RuntimeStatus indicates an expected call of RuntimeStatus.

func (*MetadataMockRecorder) SearchContractInfo

func (mr *MetadataMockRecorder) SearchContractInfo(ctx, contractAddress any) *gomock.Call

SearchContractInfo indicates an expected call of SearchContractInfo.

func (*MetadataMockRecorder) SearchContractInfoBatch

func (mr *MetadataMockRecorder) SearchContractInfoBatch(ctx, contractAddresses any) *gomock.Call

SearchContractInfoBatch indicates an expected call of SearchContractInfoBatch.

func (*MetadataMockRecorder) SearchContracts

func (mr *MetadataMockRecorder) SearchContracts(ctx, q, chainID, chainIDs, types, page any) *gomock.Call

SearchContracts indicates an expected call of SearchContracts.

func (*MetadataMockRecorder) SearchContractsByQuery added in v0.52.1

func (mr *MetadataMockRecorder) SearchContractsByQuery(ctx, q, chainID, chainIDs, types, page any) *gomock.Call

SearchContractsByQuery indicates an expected call of SearchContractsByQuery.

func (*MetadataMockRecorder) SearchMetadata

func (mr *MetadataMockRecorder) SearchMetadata(ctx, filter, chainID, types, excludeTokenMetadata any) *gomock.Call

SearchMetadata indicates an expected call of SearchMetadata.

func (*MetadataMockRecorder) SearchTokenDirectory added in v0.52.1

func (mr *MetadataMockRecorder) SearchTokenDirectory(ctx, query, chainID, includeTestnets, onlyFeatured, page any) *gomock.Call

SearchTokenDirectory indicates an expected call of SearchTokenDirectory.

func (*MetadataMockRecorder) SearchTokenIDs

func (mr *MetadataMockRecorder) SearchTokenIDs(ctx, chainID, contractAddress, filter, page any) *gomock.Call

SearchTokenIDs indicates an expected call of SearchTokenIDs.

func (*MetadataMockRecorder) SearchTokenMetadata

func (mr *MetadataMockRecorder) SearchTokenMetadata(ctx, chainID, contractAddress, filter, page any) *gomock.Call

SearchTokenMetadata indicates an expected call of SearchTokenMetadata.

func (*MetadataMockRecorder) SearchTokenMetadataByQuery added in v0.52.1

func (mr *MetadataMockRecorder) SearchTokenMetadataByQuery(ctx, q, chainID, contractAddress, page any) *gomock.Call

SearchTokenMetadataByQuery indicates an expected call of SearchTokenMetadataByQuery.

func (*MetadataMockRecorder) SearchTokenMetadataTokenIDs added in v0.52.1

func (mr *MetadataMockRecorder) SearchTokenMetadataTokenIDs(ctx, chainID, contractAddress, filter, page any) *gomock.Call

SearchTokenMetadataTokenIDs indicates an expected call of SearchTokenMetadataTokenIDs.

func (*MetadataMockRecorder) SearchTokens

func (mr *MetadataMockRecorder) SearchTokens(ctx, q, chainID, page any) *gomock.Call

SearchTokens indicates an expected call of SearchTokens.

func (*MetadataMockRecorder) TokenCollectionFilters

func (mr *MetadataMockRecorder) TokenCollectionFilters(ctx, chainID, contractAddress any) *gomock.Call

TokenCollectionFilters indicates an expected call of TokenCollectionFilters.

func (*MetadataMockRecorder) Version

func (mr *MetadataMockRecorder) Version(ctx any) *gomock.Call

Version indicates an expected call of Version.

type Relayer

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

Relayer is a mock of Relayer interface.

func NewRelayer

func NewRelayer(ctrl *gomock.Controller) *Relayer

NewRelayer creates a new mock instance.

func (*Relayer) AddGasSponsor

func (m *Relayer) AddGasSponsor(ctx context.Context, projectId uint64, address string, name *string, active *bool) (bool, *proto.GasSponsor, error)

AddGasSponsor mocks base method.

func (*Relayer) AddGasTank

func (m *Relayer) AddGasTank(ctx context.Context, name string, feeMarkupFactor float64, unlimited *bool) (bool, *proto.GasTank, error)

AddGasTank mocks base method.

func (*Relayer) AddressGasSponsors

func (m *Relayer) AddressGasSponsors(ctx context.Context, address string, page *proto.Page) (*proto.Page, []*proto.GasSponsor, error)

AddressGasSponsors mocks base method.

func (*Relayer) AdjustGasTankBalance

func (m *Relayer) AdjustGasTankBalance(ctx context.Context, id, nonce uint64, amount float64) (bool, *proto.GasTankBalanceAdjustment, error)

AdjustGasTankBalance mocks base method.

func (*Relayer) AdjustProjectBalance

func (m *Relayer) AdjustProjectBalance(ctx context.Context, projectId uint64, amount float64, identifier string) (float64, error)

AdjustProjectBalance mocks base method.

func (*Relayer) EXPECT

func (m *Relayer) EXPECT() *RelayerMockRecorder

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

func (*Relayer) FeeOptions

func (m *Relayer) FeeOptions(ctx context.Context, wallet, to, data string, simulate *bool) ([]*proto.FeeOption, bool, *string, error)

FeeOptions mocks base method.

func (*Relayer) FeeTokens

func (m *Relayer) FeeTokens(ctx context.Context) (bool, []*proto.FeeToken, error)

FeeTokens mocks base method.

func (*Relayer) GetChainID

func (m *Relayer) GetChainID(ctx context.Context) (uint64, error)

GetChainID mocks base method.

func (*Relayer) GetGasSponsor

func (m *Relayer) GetGasSponsor(ctx context.Context, projectId, id uint64) (*proto.GasSponsor, error)

GetGasSponsor mocks base method.

func (*Relayer) GetGasTank

func (m *Relayer) GetGasTank(ctx context.Context, id uint64) (*proto.GasTank, error)

GetGasTank mocks base method.

func (*Relayer) GetGasTankBalanceAdjustment

func (m *Relayer) GetGasTankBalanceAdjustment(ctx context.Context, id, nonce uint64) (*proto.GasTankBalanceAdjustment, error)

GetGasTankBalanceAdjustment mocks base method.

func (*Relayer) GetMetaTransactions

func (m *Relayer) GetMetaTransactions(ctx context.Context, projectId uint64, page *proto.Page) (*proto.Page, []*proto.MetaTxnLog, error)

GetMetaTransactions mocks base method.

func (*Relayer) GetMetaTxnNetworkFeeOptions

func (m *Relayer) GetMetaTxnNetworkFeeOptions(ctx context.Context, walletConfig any, payload string) ([]*proto.FeeOption, error)

GetMetaTxnNetworkFeeOptions mocks base method.

func (*Relayer) GetMetaTxnNonce

func (m *Relayer) GetMetaTxnNonce(ctx context.Context, walletContractAddress string, space *string) (string, error)

GetMetaTxnNonce mocks base method.

func (*Relayer) GetMetaTxnReceipt

func (m *Relayer) GetMetaTxnReceipt(ctx context.Context, metaTxID string) (*proto.MetaTxnReceipt, error)

GetMetaTxnReceipt mocks base method.

func (*Relayer) GetProjectBalance

func (m *Relayer) GetProjectBalance(ctx context.Context, projectId uint64) (float64, error)

GetProjectBalance mocks base method.

func (*Relayer) GetSequenceContext

func (m *Relayer) GetSequenceContext(ctx context.Context) (*proto.SequenceContext, error)

GetSequenceContext mocks base method.

func (*Relayer) GetTransactionCost

func (m *Relayer) GetTransactionCost(ctx context.Context, projectId uint64, from, to time.Time) (float64, error)

GetTransactionCost mocks base method.

func (*Relayer) ListGasSponsors

func (m *Relayer) ListGasSponsors(ctx context.Context, projectId uint64, page *proto.Page) (*proto.Page, []*proto.GasSponsor, error)

ListGasSponsors mocks base method.

func (*Relayer) ListGasTankBalanceAdjustments

func (m *Relayer) ListGasTankBalanceAdjustments(ctx context.Context, id uint64, page *proto.Page) (*proto.Page, []*proto.GasTankBalanceAdjustment, error)

ListGasTankBalanceAdjustments mocks base method.

func (*Relayer) NextGasTankBalanceAdjustmentNonce

func (m *Relayer) NextGasTankBalanceAdjustmentNonce(ctx context.Context, id uint64) (uint64, error)

NextGasTankBalanceAdjustmentNonce mocks base method.

func (*Relayer) PendingTransactions

func (m *Relayer) PendingTransactions(ctx context.Context, page *proto.Page) (*proto.Page, []*proto.Transaction, error)

PendingTransactions mocks base method.

func (*Relayer) Ping

func (m *Relayer) Ping(ctx context.Context) (bool, error)

Ping mocks base method.

func (*Relayer) RemoveGasSponsor

func (m *Relayer) RemoveGasSponsor(ctx context.Context, projectId, id uint64) (bool, error)

RemoveGasSponsor mocks base method.

func (*Relayer) RuntimeStatus

func (m *Relayer) RuntimeStatus(ctx context.Context) (*proto.RuntimeStatus, error)

RuntimeStatus mocks base method.

func (*Relayer) SendMetaTxn

func (m *Relayer) SendMetaTxn(ctx context.Context, call *proto.MetaTxn, quote *string, projectID *uint64) (bool, string, error)

SendMetaTxn mocks base method.

func (*Relayer) SentTransactions

func (m *Relayer) SentTransactions(ctx context.Context, filter *proto.SentTransactionsFilter, page *proto.Page) (*proto.Page, []*proto.Transaction, error)

SentTransactions mocks base method.

func (*Relayer) Simulate

func (m *Relayer) Simulate(ctx context.Context, wallet, transactions string) ([]*proto.SimulateResult, error)

Simulate mocks base method.

func (*Relayer) UpdateGasSponsor

func (m *Relayer) UpdateGasSponsor(ctx context.Context, projectId, id uint64, name *string, active *bool) (bool, *proto.GasSponsor, error)

UpdateGasSponsor mocks base method.

func (*Relayer) UpdateGasTank

func (m *Relayer) UpdateGasTank(ctx context.Context, id uint64, name *string, feeMarkupFactor *float64, unlimited *bool) (bool, *proto.GasTank, error)

UpdateGasTank mocks base method.

func (*Relayer) UpdateMetaTxnGasLimits

func (m *Relayer) UpdateMetaTxnGasLimits(ctx context.Context, walletAddress string, walletConfig any, payload string) (string, error)

UpdateMetaTxnGasLimits mocks base method.

func (*Relayer) Version

func (m *Relayer) Version(ctx context.Context) (*proto.Version, error)

Version mocks base method.

type RelayerMockRecorder

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

RelayerMockRecorder is the mock recorder for Relayer.

func (*RelayerMockRecorder) AddGasSponsor

func (mr *RelayerMockRecorder) AddGasSponsor(ctx, projectId, address, name, active any) *gomock.Call

AddGasSponsor indicates an expected call of AddGasSponsor.

func (*RelayerMockRecorder) AddGasTank

func (mr *RelayerMockRecorder) AddGasTank(ctx, name, feeMarkupFactor, unlimited any) *gomock.Call

AddGasTank indicates an expected call of AddGasTank.

func (*RelayerMockRecorder) AddressGasSponsors

func (mr *RelayerMockRecorder) AddressGasSponsors(ctx, address, page any) *gomock.Call

AddressGasSponsors indicates an expected call of AddressGasSponsors.

func (*RelayerMockRecorder) AdjustGasTankBalance

func (mr *RelayerMockRecorder) AdjustGasTankBalance(ctx, id, nonce, amount any) *gomock.Call

AdjustGasTankBalance indicates an expected call of AdjustGasTankBalance.

func (*RelayerMockRecorder) AdjustProjectBalance

func (mr *RelayerMockRecorder) AdjustProjectBalance(ctx, projectId, amount, identifier any) *gomock.Call

AdjustProjectBalance indicates an expected call of AdjustProjectBalance.

func (*RelayerMockRecorder) FeeOptions

func (mr *RelayerMockRecorder) FeeOptions(ctx, wallet, to, data, simulate any) *gomock.Call

FeeOptions indicates an expected call of FeeOptions.

func (*RelayerMockRecorder) FeeTokens

func (mr *RelayerMockRecorder) FeeTokens(ctx any) *gomock.Call

FeeTokens indicates an expected call of FeeTokens.

func (*RelayerMockRecorder) GetChainID

func (mr *RelayerMockRecorder) GetChainID(ctx any) *gomock.Call

GetChainID indicates an expected call of GetChainID.

func (*RelayerMockRecorder) GetGasSponsor

func (mr *RelayerMockRecorder) GetGasSponsor(ctx, projectId, id any) *gomock.Call

GetGasSponsor indicates an expected call of GetGasSponsor.

func (*RelayerMockRecorder) GetGasTank

func (mr *RelayerMockRecorder) GetGasTank(ctx, id any) *gomock.Call

GetGasTank indicates an expected call of GetGasTank.

func (*RelayerMockRecorder) GetGasTankBalanceAdjustment

func (mr *RelayerMockRecorder) GetGasTankBalanceAdjustment(ctx, id, nonce any) *gomock.Call

GetGasTankBalanceAdjustment indicates an expected call of GetGasTankBalanceAdjustment.

func (*RelayerMockRecorder) GetMetaTransactions

func (mr *RelayerMockRecorder) GetMetaTransactions(ctx, projectId, page any) *gomock.Call

GetMetaTransactions indicates an expected call of GetMetaTransactions.

func (*RelayerMockRecorder) GetMetaTxnNetworkFeeOptions

func (mr *RelayerMockRecorder) GetMetaTxnNetworkFeeOptions(ctx, walletConfig, payload any) *gomock.Call

GetMetaTxnNetworkFeeOptions indicates an expected call of GetMetaTxnNetworkFeeOptions.

func (*RelayerMockRecorder) GetMetaTxnNonce

func (mr *RelayerMockRecorder) GetMetaTxnNonce(ctx, walletContractAddress, space any) *gomock.Call

GetMetaTxnNonce indicates an expected call of GetMetaTxnNonce.

func (*RelayerMockRecorder) GetMetaTxnReceipt

func (mr *RelayerMockRecorder) GetMetaTxnReceipt(ctx, metaTxID any) *gomock.Call

GetMetaTxnReceipt indicates an expected call of GetMetaTxnReceipt.

func (*RelayerMockRecorder) GetProjectBalance

func (mr *RelayerMockRecorder) GetProjectBalance(ctx, projectId any) *gomock.Call

GetProjectBalance indicates an expected call of GetProjectBalance.

func (*RelayerMockRecorder) GetSequenceContext

func (mr *RelayerMockRecorder) GetSequenceContext(ctx any) *gomock.Call

GetSequenceContext indicates an expected call of GetSequenceContext.

func (*RelayerMockRecorder) GetTransactionCost

func (mr *RelayerMockRecorder) GetTransactionCost(ctx, projectId, from, to any) *gomock.Call

GetTransactionCost indicates an expected call of GetTransactionCost.

func (*RelayerMockRecorder) ListGasSponsors

func (mr *RelayerMockRecorder) ListGasSponsors(ctx, projectId, page any) *gomock.Call

ListGasSponsors indicates an expected call of ListGasSponsors.

func (*RelayerMockRecorder) ListGasTankBalanceAdjustments

func (mr *RelayerMockRecorder) ListGasTankBalanceAdjustments(ctx, id, page any) *gomock.Call

ListGasTankBalanceAdjustments indicates an expected call of ListGasTankBalanceAdjustments.

func (*RelayerMockRecorder) NextGasTankBalanceAdjustmentNonce

func (mr *RelayerMockRecorder) NextGasTankBalanceAdjustmentNonce(ctx, id any) *gomock.Call

NextGasTankBalanceAdjustmentNonce indicates an expected call of NextGasTankBalanceAdjustmentNonce.

func (*RelayerMockRecorder) PendingTransactions

func (mr *RelayerMockRecorder) PendingTransactions(ctx, page any) *gomock.Call

PendingTransactions indicates an expected call of PendingTransactions.

func (*RelayerMockRecorder) Ping

func (mr *RelayerMockRecorder) Ping(ctx any) *gomock.Call

Ping indicates an expected call of Ping.

func (*RelayerMockRecorder) RemoveGasSponsor

func (mr *RelayerMockRecorder) RemoveGasSponsor(ctx, projectId, id any) *gomock.Call

RemoveGasSponsor indicates an expected call of RemoveGasSponsor.

func (*RelayerMockRecorder) RuntimeStatus

func (mr *RelayerMockRecorder) RuntimeStatus(ctx any) *gomock.Call

RuntimeStatus indicates an expected call of RuntimeStatus.

func (*RelayerMockRecorder) SendMetaTxn

func (mr *RelayerMockRecorder) SendMetaTxn(ctx, call, quote, projectID any) *gomock.Call

SendMetaTxn indicates an expected call of SendMetaTxn.

func (*RelayerMockRecorder) SentTransactions

func (mr *RelayerMockRecorder) SentTransactions(ctx, filter, page any) *gomock.Call

SentTransactions indicates an expected call of SentTransactions.

func (*RelayerMockRecorder) Simulate

func (mr *RelayerMockRecorder) Simulate(ctx, wallet, transactions any) *gomock.Call

Simulate indicates an expected call of Simulate.

func (*RelayerMockRecorder) UpdateGasSponsor

func (mr *RelayerMockRecorder) UpdateGasSponsor(ctx, projectId, id, name, active any) *gomock.Call

UpdateGasSponsor indicates an expected call of UpdateGasSponsor.

func (*RelayerMockRecorder) UpdateGasTank

func (mr *RelayerMockRecorder) UpdateGasTank(ctx, id, name, feeMarkupFactor, unlimited any) *gomock.Call

UpdateGasTank indicates an expected call of UpdateGasTank.

func (*RelayerMockRecorder) UpdateMetaTxnGasLimits

func (mr *RelayerMockRecorder) UpdateMetaTxnGasLimits(ctx, walletAddress, walletConfig, payload any) *gomock.Call

UpdateMetaTxnGasLimits indicates an expected call of UpdateMetaTxnGasLimits.

func (*RelayerMockRecorder) Version

func (mr *RelayerMockRecorder) Version(ctx any) *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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