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 ¶
- type API
- func (m *API) AddFriend(ctx context.Context, friendAddress string, optionalNickname *string) (bool, *api.Friend, error)
- func (m *API) AddOffchainInventory(ctx context.Context, inventory *api.OffchainInventory) (uint64, error)
- func (m *API) BlockNumberAtTime(ctx context.Context, chainId uint64, timestamps []uint64) ([]uint64, error)
- func (m *API) Clock(ctx context.Context) (time.Time, error)
- func (m *API) ContractCall(ctx context.Context, chainID, contract, inputExpr, outputExpr string, ...) ([]string, error)
- func (m *API) DecodeContractCall(ctx context.Context, callData string) (*api.ContractCall, error)
- func (m *API) DeleteOffchainInventory(ctx context.Context, inventoryId uint64) (bool, error)
- func (m *API) DeletePack(ctx context.Context, contractAddress string, chainId uint64) (bool, error)
- func (m *API) EXPECT() *APIMockRecorder
- func (m *API) FriendList(ctx context.Context, nickname *string, page *api.Page) (*api.Page, []*api.Friend, error)
- func (m *API) GenerateWaaSVerificationURL(ctx context.Context, walletAddress string) (string, string, error)
- func (m *API) GetAuthToken(ctx context.Context, ewtString string, testnetMode *bool) (bool, string, string, *api.User, error)
- func (m *API) GetAuthToken2(ctx context.Context, ewtString, chainID string) (bool, string, string, *api.User, error)
- func (m *API) GetCoinPrices(ctx context.Context, tokens []*api.Token) ([]*api.TokenPrice, error)
- func (m *API) GetCollectiblePrices(ctx context.Context, tokens []*api.Token) ([]*api.TokenPrice, error)
- func (m *API) GetExchangeRate(ctx context.Context, toCurrency string) (*api.ExchangeRate, error)
- func (m *API) GetFriendByAddress(ctx context.Context, friendAddress string) (bool, *api.Friend, error)
- func (m *API) GetInviteInfo(ctx context.Context) (*api.InviteInfo, error)
- func (m *API) GetLinkedWallets(ctx context.Context, ...) ([]*api.LinkedWallet, error)
- func (m *API) GetMoonpayLink(ctx context.Context, url string) (string, error)
- func (m *API) GetOffchainInventory(ctx context.Context, inventoryId uint64) (*api.OffchainInventory, error)
- func (m *API) GetPack(ctx context.Context, contractAddress string, chainId uint64) (*api.Pack, error)
- func (m *API) GetPublicKey(ctx context.Context, id string) (*api.PublicKey, error)
- func (m *API) GetSardineClientToken(ctx context.Context) (string, error)
- func (m *API) GetSardineNFTCheckoutOrderStatus(ctx context.Context, orderId string) (*api.SardineOrder, error)
- func (m *API) GetSardineNFTCheckoutToken(ctx context.Context, params *api.SardineNFTCheckoutParams) (*api.SardineNFTCheckout, error)
- func (m *API) GetSequenceContext(ctx context.Context) (*api.SequenceContext, error)
- func (m *API) GetSwapPermit2Price(ctx context.Context, buyCurrencyAddress, sellCurrencyAddress, buyAmount string, ...) (*api.SwapPermit2Price, error)
- func (m *API) GetSwapPermit2Prices(ctx context.Context, userAddress, buyCurrencyAddress, buyAmount string, ...) ([]*api.SwapPermit2Price, error)
- func (m *API) GetSwapPermit2Quote(ctx context.Context, ...) (*api.SwapPermit2Quote, error)
- func (m *API) GetSwapPrice(ctx context.Context, buyCurrencyAddress, sellCurrencyAddress, buyAmount string, ...) (*api.SwapPrice, error)
- func (m *API) GetSwapPrices(ctx context.Context, userAddress, buyCurrencyAddress, buyAmount string, ...) ([]*api.SwapPrice, error)
- func (m *API) GetSwapQuote(ctx context.Context, ...) (*api.SwapQuote, error)
- func (m *API) GetSwapQuoteV2(ctx context.Context, ...) (*api.SwapQuote, error)
- func (m *API) IntentQuery(ctx context.Context, wallet string, preconditions []*api.IntentPrecondition) ([]*api.IntentSolution, error)
- func (m *API) InternalClaimAccessCode(ctx context.Context, address, accessCode string) (bool, error)
- func (m *API) IsValidAccessCode(ctx context.Context, accessCode string) (bool, error)
- func (m *API) IsValidETHAuthProof(ctx context.Context, chainId, walletAddress, ethAuthProofString string) (bool, error)
- func (m *API) IsValidMessageSignature(ctx context.Context, chainId, walletAddress, message, signature string) (bool, error)
- func (m *API) IsValidSignature(ctx context.Context, chainId, walletAddress, digest, signature string) (bool, error)
- func (m *API) IsValidTypedDataSignature(ctx context.Context, chainId, walletAddress string, typedData any, ...) (bool, error)
- func (m *API) LinkWallet(ctx context.Context, ...) (bool, error)
- func (m *API) ListAdoptedWallets(ctx context.Context, page *api.Page) (*api.Page, []*api.AdoptedChildWallet, error)
- func (m *API) ListCurrencyGroups(ctx context.Context) ([]*api.CurrencyGroup, error)
- func (m *API) ListOffchainInventories(ctx context.Context, projectId uint64) ([]*api.OffchainInventory, error)
- func (m *API) ListOffchainPayments(ctx context.Context, inventoryId uint64, page *api.Page) (*api.Page, []*api.OffchainPayment, error)
- func (m *API) LookupContractCallSelectors(ctx context.Context, selectors []string) ([][]string, error)
- func (m *API) MemoryLoad(ctx context.Context, key string) (string, error)
- func (m *API) MemoryStore(ctx context.Context, key, value string) (bool, error)
- func (m *API) PaperSessionSecret(ctx context.Context, ...) (string, error)
- func (m *API) PaperSessionSecret2(ctx context.Context, chainName, contractAddress, paramsJson, abi string) (string, error)
- func (m *API) Ping(ctx context.Context) (bool, error)
- func (m *API) RegisterPublicKey(ctx context.Context, publicKey *api.PublicKey) (bool, error)
- func (m *API) RemoveFriend(ctx context.Context, friendAddress string) (bool, error)
- func (m *API) RemoveLinkedWallet(ctx context.Context, ...) (bool, error)
- func (m *API) RequestOffchainPayment(ctx context.Context, inventoryId uint64, recipient string, chainId *uint64, ...) (*api.PaymentResponse, error)
- func (m *API) ResolveENSAddress(ctx context.Context, ens string) (string, bool, error)
- func (m *API) RuntimeStatus(ctx context.Context) (*api.RuntimeStatus, error)
- func (m *API) SardineGetClientToken(ctx context.Context) (string, error)
- func (m *API) SardineGetEnabledTokens(ctx context.Context) ([]*api.SardineEnabledToken, error)
- func (m *API) SardineGetNFTCheckoutOrderStatus(ctx context.Context, orderId string) (*api.SardineOrder, error)
- func (m *API) SardineGetNFTCheckoutToken(ctx context.Context, params *api.SardineNFTCheckoutParams) (*api.SardineNFTCheckout, error)
- func (m *API) SardineGetQuote(ctx context.Context, params *api.SardineGetQuoteParams) (*api.SardineQuote, error)
- func (m *API) SardineGetSupportedFiatCurrencies(ctx context.Context) ([]*api.SardineFiatCurrency, error)
- func (m *API) SardineGetSupportedRegions(ctx context.Context) ([]*api.SardineRegion, error)
- func (m *API) SardineGetSupportedTokenForSwap(ctx context.Context, network, tokenAddress string) (*api.SardineSupportedTokenForSwap, error)
- func (m *API) SardineGetSupportedTokens(ctx context.Context) ([]*api.SardineSupportedToken, error)
- func (m *API) SavePack(ctx context.Context, pack *api.Pack) (string, error)
- func (m *API) SearchFriends(ctx context.Context, filterUsername string, page *api.Page) ([]*api.Friend, error)
- func (m *API) SendPasswordlessLink(ctx context.Context, email, redirectUri, intent string) (bool, error)
- func (m *API) TransakGetCountries(ctx context.Context) ([]*api.TransakCountry, error)
- func (m *API) TransakGetCryptoCurrencies(ctx context.Context) ([]*api.TransakCryptoCurrency, error)
- func (m *API) TransakGetFiatCurrencies(ctx context.Context) ([]*api.TransakFiatCurrency, error)
- func (m *API) TransakGetPrice(ctx context.Context, params *api.TransakGetPriceParams) (*api.TransakPrice, error)
- func (m *API) TransakGetSupportedNFTCheckoutChains(ctx context.Context) ([]*api.TransakChain, error)
- func (m *API) UpdateFriendNickname(ctx context.Context, friendAddress, nickname string) (bool, *api.Friend, error)
- func (m *API) UpdateOffchainInventory(ctx context.Context, inventory *api.OffchainInventory) error
- func (m *API) UpdatePackContent(ctx context.Context, pack *api.Pack) (string, error)
- func (m *API) UserStorageDelete(ctx context.Context, key string) (bool, error)
- func (m *API) UserStorageFetch(ctx context.Context, key string) (any, error)
- func (m *API) UserStorageFetchAll(ctx context.Context, keys []string) (map[string]any, error)
- func (m *API) UserStorageSave(ctx context.Context, key string, object any) (bool, error)
- func (m *API) ValidateWaaSVerificationNonce(ctx context.Context, nonce, signature, sessionId, chainId string) (string, error)
- func (m *API) Version(ctx context.Context) (*api.Version, error)
- type APIMockRecorder
- func (mr *APIMockRecorder) AddFriend(ctx, friendAddress, optionalNickname any) *gomock.Call
- func (mr *APIMockRecorder) AddOffchainInventory(ctx, inventory any) *gomock.Call
- func (mr *APIMockRecorder) BlockNumberAtTime(ctx, chainId, timestamps any) *gomock.Call
- func (mr *APIMockRecorder) Clock(ctx any) *gomock.Call
- func (mr *APIMockRecorder) ContractCall(ctx, chainID, contract, inputExpr, outputExpr, args any) *gomock.Call
- func (mr *APIMockRecorder) DecodeContractCall(ctx, callData any) *gomock.Call
- func (mr *APIMockRecorder) DeleteOffchainInventory(ctx, inventoryId any) *gomock.Call
- func (mr *APIMockRecorder) DeletePack(ctx, contractAddress, chainId any) *gomock.Call
- func (mr *APIMockRecorder) FriendList(ctx, nickname, page any) *gomock.Call
- func (mr *APIMockRecorder) GenerateWaaSVerificationURL(ctx, walletAddress any) *gomock.Call
- func (mr *APIMockRecorder) GetAuthToken(ctx, ewtString, testnetMode any) *gomock.Call
- func (mr *APIMockRecorder) GetAuthToken2(ctx, ewtString, chainID any) *gomock.Call
- func (mr *APIMockRecorder) GetCoinPrices(ctx, tokens any) *gomock.Call
- func (mr *APIMockRecorder) GetCollectiblePrices(ctx, tokens any) *gomock.Call
- func (mr *APIMockRecorder) GetExchangeRate(ctx, toCurrency any) *gomock.Call
- func (mr *APIMockRecorder) GetFriendByAddress(ctx, friendAddress any) *gomock.Call
- func (mr *APIMockRecorder) GetInviteInfo(ctx any) *gomock.Call
- func (mr *APIMockRecorder) GetLinkedWallets(ctx, parentWalletAddress, parentWalletMessage, parentWalletSignature, ... any) *gomock.Call
- func (mr *APIMockRecorder) GetMoonpayLink(ctx, url any) *gomock.Call
- func (mr *APIMockRecorder) GetOffchainInventory(ctx, inventoryId any) *gomock.Call
- func (mr *APIMockRecorder) GetPack(ctx, contractAddress, chainId any) *gomock.Call
- func (mr *APIMockRecorder) GetPublicKey(ctx, id any) *gomock.Call
- func (mr *APIMockRecorder) GetSardineClientToken(ctx any) *gomock.Call
- func (mr *APIMockRecorder) GetSardineNFTCheckoutOrderStatus(ctx, orderId any) *gomock.Call
- func (mr *APIMockRecorder) GetSardineNFTCheckoutToken(ctx, params any) *gomock.Call
- func (mr *APIMockRecorder) GetSequenceContext(ctx any) *gomock.Call
- func (mr *APIMockRecorder) GetSwapPermit2Price(ctx, buyCurrencyAddress, sellCurrencyAddress, buyAmount, chainId, ... any) *gomock.Call
- func (mr *APIMockRecorder) GetSwapPermit2Prices(...) *gomock.Call
- func (mr *APIMockRecorder) GetSwapPermit2Quote(...) *gomock.Call
- func (mr *APIMockRecorder) GetSwapPrice(ctx, buyCurrencyAddress, sellCurrencyAddress, buyAmount, chainId, ... any) *gomock.Call
- func (mr *APIMockRecorder) GetSwapPrices(...) *gomock.Call
- func (mr *APIMockRecorder) GetSwapQuote(...) *gomock.Call
- func (mr *APIMockRecorder) GetSwapQuoteV2(...) *gomock.Call
- func (mr *APIMockRecorder) IntentQuery(ctx, wallet, preconditions any) *gomock.Call
- func (mr *APIMockRecorder) InternalClaimAccessCode(ctx, address, accessCode any) *gomock.Call
- func (mr *APIMockRecorder) IsValidAccessCode(ctx, accessCode any) *gomock.Call
- func (mr *APIMockRecorder) IsValidETHAuthProof(ctx, chainId, walletAddress, ethAuthProofString any) *gomock.Call
- func (mr *APIMockRecorder) IsValidMessageSignature(ctx, chainId, walletAddress, message, signature any) *gomock.Call
- func (mr *APIMockRecorder) IsValidSignature(ctx, chainId, walletAddress, digest, signature any) *gomock.Call
- func (mr *APIMockRecorder) IsValidTypedDataSignature(ctx, chainId, walletAddress, typedData, signature any) *gomock.Call
- func (mr *APIMockRecorder) LinkWallet(ctx, parentWalletAddress, parentWalletMessage, parentWalletSignature, ... any) *gomock.Call
- func (mr *APIMockRecorder) ListAdoptedWallets(ctx, page any) *gomock.Call
- func (mr *APIMockRecorder) ListCurrencyGroups(ctx any) *gomock.Call
- func (mr *APIMockRecorder) ListOffchainInventories(ctx, projectId any) *gomock.Call
- func (mr *APIMockRecorder) ListOffchainPayments(ctx, inventoryId, page any) *gomock.Call
- func (mr *APIMockRecorder) LookupContractCallSelectors(ctx, selectors any) *gomock.Call
- func (mr *APIMockRecorder) MemoryLoad(ctx, key any) *gomock.Call
- func (mr *APIMockRecorder) MemoryStore(ctx, key, value any) *gomock.Call
- func (mr *APIMockRecorder) PaperSessionSecret(ctx, chainName, contractAddress, paramsJson, contractType any) *gomock.Call
- func (mr *APIMockRecorder) PaperSessionSecret2(ctx, chainName, contractAddress, paramsJson, abi any) *gomock.Call
- func (mr *APIMockRecorder) Ping(ctx any) *gomock.Call
- func (mr *APIMockRecorder) RegisterPublicKey(ctx, publicKey any) *gomock.Call
- func (mr *APIMockRecorder) RemoveFriend(ctx, friendAddress any) *gomock.Call
- func (mr *APIMockRecorder) RemoveLinkedWallet(ctx, parentWalletAddress, parentWalletMessage, parentWalletSignature, ... any) *gomock.Call
- func (mr *APIMockRecorder) RequestOffchainPayment(ctx, inventoryId, recipient, chainId, tokenAddress any) *gomock.Call
- func (mr *APIMockRecorder) ResolveENSAddress(ctx, ens any) *gomock.Call
- func (mr *APIMockRecorder) RuntimeStatus(ctx any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetClientToken(ctx any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetEnabledTokens(ctx any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetNFTCheckoutOrderStatus(ctx, orderId any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetNFTCheckoutToken(ctx, params any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetQuote(ctx, params any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetSupportedFiatCurrencies(ctx any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetSupportedRegions(ctx any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetSupportedTokenForSwap(ctx, network, tokenAddress any) *gomock.Call
- func (mr *APIMockRecorder) SardineGetSupportedTokens(ctx any) *gomock.Call
- func (mr *APIMockRecorder) SavePack(ctx, pack any) *gomock.Call
- func (mr *APIMockRecorder) SearchFriends(ctx, filterUsername, page any) *gomock.Call
- func (mr *APIMockRecorder) SendPasswordlessLink(ctx, email, redirectUri, intent any) *gomock.Call
- func (mr *APIMockRecorder) TransakGetCountries(ctx any) *gomock.Call
- func (mr *APIMockRecorder) TransakGetCryptoCurrencies(ctx any) *gomock.Call
- func (mr *APIMockRecorder) TransakGetFiatCurrencies(ctx any) *gomock.Call
- func (mr *APIMockRecorder) TransakGetPrice(ctx, params any) *gomock.Call
- func (mr *APIMockRecorder) TransakGetSupportedNFTCheckoutChains(ctx any) *gomock.Call
- func (mr *APIMockRecorder) UpdateFriendNickname(ctx, friendAddress, nickname any) *gomock.Call
- func (mr *APIMockRecorder) UpdateOffchainInventory(ctx, inventory any) *gomock.Call
- func (mr *APIMockRecorder) UpdatePackContent(ctx, pack any) *gomock.Call
- func (mr *APIMockRecorder) UserStorageDelete(ctx, key any) *gomock.Call
- func (mr *APIMockRecorder) UserStorageFetch(ctx, key any) *gomock.Call
- func (mr *APIMockRecorder) UserStorageFetchAll(ctx, keys any) *gomock.Call
- func (mr *APIMockRecorder) UserStorageSave(ctx, key, object any) *gomock.Call
- func (mr *APIMockRecorder) ValidateWaaSVerificationNonce(ctx, nonce, signature, sessionId, chainId any) *gomock.Call
- func (mr *APIMockRecorder) Version(ctx any) *gomock.Call
- type Indexer
- func (m *Indexer) AddWebhookListener(ctx context.Context, url string, filters *indexer.EventFilter, ...) (bool, *indexer.WebhookListener, error)
- func (m *Indexer) EXPECT() *IndexerMockRecorder
- func (m *Indexer) FetchTransactionReceipt(ctx context.Context, txnHash string, maxBlockWait *int) (*indexer.TransactionReceipt, error)
- func (m *Indexer) FetchTransactionReceiptWithFilter(ctx context.Context, filter *indexer.TransactionFilter, maxBlockWait *int) (*indexer.TransactionReceipt, error)
- func (m *Indexer) GetAllWebhookListeners(ctx context.Context, projectId *uint64) ([]*indexer.WebhookListener, error)
- func (m *Indexer) GetBalanceUpdates(ctx context.Context, contractAddress string, lastBlockNumber uint64, ...) (*indexer.Page, []*indexer.TokenBalance, error)
- func (m *Indexer) GetChainID(ctx context.Context) (uint64, error)
- func (m *Indexer) GetEtherBalance(ctx context.Context, accountAddress *string) (*indexer.EtherBalance, error)
- func (m *Indexer) GetNativeTokenBalance(ctx context.Context, accountAddress *string) (*indexer.NativeTokenBalance, error)
- func (m *Indexer) GetOrderbookOrders(ctx context.Context, page *indexer.Page, ...) (*indexer.Page, []*indexer.OrderbookOrder, error)
- func (m *Indexer) GetTokenBalances(ctx context.Context, accountAddress, contractAddress, tokenID *string, ...) (*indexer.Page, []*indexer.TokenBalance, error)
- func (m *Indexer) GetTokenBalancesByContract(ctx context.Context, filter *indexer.TokenBalancesByContractFilter, ...) (*indexer.Page, []*indexer.TokenBalance, error)
- func (m *Indexer) GetTokenBalancesDetails(ctx context.Context, filter *indexer.TokenBalancesFilter, omitMetadata *bool, ...) (*indexer.Page, []*indexer.NativeTokenBalance, []*indexer.TokenBalance, error)
- func (m *Indexer) GetTokenBalancesSummary(ctx context.Context, filter *indexer.TokenBalancesFilter, omitMetadata *bool, ...) (*indexer.Page, []*indexer.NativeTokenBalance, []*indexer.TokenBalance, error)
- func (m *Indexer) GetTokenIDRanges(ctx context.Context, contractAddress string) (indexer.ContractType, []*indexer.TokenIDRange, bool, error)
- func (m *Indexer) GetTokenIDs(ctx context.Context, contractAddress string, page *indexer.Page) (*indexer.Page, indexer.ContractType, []string, error)
- func (m *Indexer) GetTokenSupplies(ctx context.Context, contractAddress string, includeMetadata *bool, ...) (*indexer.Page, indexer.ContractType, []*indexer.TokenSupply, error)
- func (m *Indexer) GetTokenSuppliesMap(ctx context.Context, tokenMap map[string][]string, includeMetadata *bool, ...) (map[string][]*indexer.TokenSupply, error)
- func (m *Indexer) GetTopOrders(ctx context.Context, orderbookContractAddress, collectionAddress string, ...) ([]*indexer.OrderbookOrder, error)
- func (m *Indexer) GetTransactionHistory(ctx context.Context, filter *indexer.TransactionHistoryFilter, ...) (*indexer.Page, []*indexer.Transaction, error)
- func (m *Indexer) GetWebhookListener(ctx context.Context, id uint64, projectId *uint64) (*indexer.WebhookListener, error)
- func (m *Indexer) PauseAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)
- func (m *Indexer) Ping(ctx context.Context) (bool, error)
- func (m *Indexer) RemoveAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)
- func (m *Indexer) RemoveWebhookListener(ctx context.Context, id uint64, projectId *uint64) (bool, error)
- func (m *Indexer) ResumeAllWebhookListeners(ctx context.Context, projectId *uint64) (bool, error)
- func (m *Indexer) RuntimeStatus(ctx context.Context) (*indexer.RuntimeStatus, error)
- func (m *Indexer) SubscribeBalanceUpdates(ctx context.Context, contractAddress string, ...) error
- func (m *Indexer) SubscribeEvents(ctx context.Context, filter *indexer.EventFilter, ...) error
- func (m *Indexer) SubscribeReceipts(ctx context.Context, filter *indexer.TransactionFilter, ...) error
- func (m *Indexer) SyncBalance(ctx context.Context, accountAddress, contractAddress string, tokenID *string) error
- func (m *Indexer) ToggleWebhookListener(ctx context.Context, id uint64, projectId *uint64) (*indexer.WebhookListener, error)
- func (m *Indexer) UpdateWebhookListener(ctx context.Context, listener *indexer.WebhookListener, projectId *uint64) (bool, error)
- func (m *Indexer) Version(ctx context.Context) (*indexer.Version, error)
- type IndexerMockRecorder
- func (mr *IndexerMockRecorder) AddWebhookListener(ctx, url, filters, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) FetchTransactionReceipt(ctx, txnHash, maxBlockWait any) *gomock.Call
- func (mr *IndexerMockRecorder) FetchTransactionReceiptWithFilter(ctx, filter, maxBlockWait any) *gomock.Call
- func (mr *IndexerMockRecorder) GetAllWebhookListeners(ctx, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) GetBalanceUpdates(ctx, contractAddress, lastBlockNumber, lastBlockHash, page any) *gomock.Call
- func (mr *IndexerMockRecorder) GetChainID(ctx any) *gomock.Call
- func (mr *IndexerMockRecorder) GetEtherBalance(ctx, accountAddress any) *gomock.Call
- func (mr *IndexerMockRecorder) GetNativeTokenBalance(ctx, accountAddress any) *gomock.Call
- func (mr *IndexerMockRecorder) GetOrderbookOrders(...) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenBalances(ctx, accountAddress, contractAddress, tokenID, includeMetadata, ... any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenBalancesByContract(ctx, filter, omitMetadata, page any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenBalancesDetails(ctx, filter, omitMetadata, page any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenBalancesSummary(ctx, filter, omitMetadata, page any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenIDRanges(ctx, contractAddress any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenIDs(ctx, contractAddress, page any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenSupplies(ctx, contractAddress, includeMetadata, metadataOptions, page any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTokenSuppliesMap(ctx, tokenMap, includeMetadata, metadataOptions any) *gomock.Call
- func (mr *IndexerMockRecorder) GetTopOrders(...) *gomock.Call
- func (mr *IndexerMockRecorder) GetTransactionHistory(ctx, filter, page, includeMetadata, metadataOptions any) *gomock.Call
- func (mr *IndexerMockRecorder) GetWebhookListener(ctx, id, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) PauseAllWebhookListeners(ctx, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) Ping(ctx any) *gomock.Call
- func (mr *IndexerMockRecorder) RemoveAllWebhookListeners(ctx, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) RemoveWebhookListener(ctx, id, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) ResumeAllWebhookListeners(ctx, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) RuntimeStatus(ctx any) *gomock.Call
- func (mr *IndexerMockRecorder) SubscribeBalanceUpdates(ctx, contractAddress, stream any) *gomock.Call
- func (mr *IndexerMockRecorder) SubscribeEvents(ctx, filter, stream any) *gomock.Call
- func (mr *IndexerMockRecorder) SubscribeReceipts(ctx, filter, stream any) *gomock.Call
- func (mr *IndexerMockRecorder) SyncBalance(ctx, accountAddress, contractAddress, tokenID any) *gomock.Call
- func (mr *IndexerMockRecorder) ToggleWebhookListener(ctx, id, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) UpdateWebhookListener(ctx, listener, projectId any) *gomock.Call
- func (mr *IndexerMockRecorder) Version(ctx any) *gomock.Call
- type Marketplace
- func (m *Marketplace) CheckoutOptionsMarketplace(ctx context.Context, wallet string, ...) (*marketplace.CheckoutOptions, error)
- func (m *Marketplace) CheckoutOptionsSalesContract(ctx context.Context, wallet, contractAddress, collectionAddress string, ...) (*marketplace.CheckoutOptions, error)
- func (m *Marketplace) EXPECT() *MarketplaceMockRecorder
- func (m *Marketplace) Execute(ctx context.Context, signature string, executeType marketplace.ExecuteType, ...) (string, error)
- func (m *Marketplace) GenerateBuyTransaction(ctx context.Context, collectionAddress, buyer string, ...) ([]*marketplace.Step, error)
- func (m *Marketplace) GenerateCancelTransaction(ctx context.Context, collectionAddress, maker string, ...) ([]*marketplace.Step, error)
- func (m *Marketplace) GenerateListingTransaction(ctx context.Context, collectionAddress, owner string, ...) ([]*marketplace.Step, error)
- func (m *Marketplace) GenerateOfferTransaction(ctx context.Context, collectionAddress, maker string, ...) ([]*marketplace.Step, error)
- func (m *Marketplace) GenerateSellTransaction(ctx context.Context, collectionAddress, seller string, ...) ([]*marketplace.Step, error)
- func (m *Marketplace) GetCollectible(ctx context.Context, contractAddress, tokenId string) (*marketplace.TokenMetadata, error)
- func (m *Marketplace) GetCollectibleHighestListing(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetCollectibleHighestOffer(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetCollectibleLowestListing(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetCollectibleLowestOffer(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetCollectionDetail(ctx context.Context, contractAddress string) (*marketplace.Collection, error)
- func (m *Marketplace) GetCountOfAllCollectibles(ctx context.Context, contractAddress string) (uint64, error)
- func (m *Marketplace) GetCountOfFilteredCollectibles(ctx context.Context, side marketplace.OrderSide, contractAddress string, ...) (uint64, error)
- func (m *Marketplace) GetCountOfListingsForCollectible(ctx context.Context, contractAddress, tokenId string, ...) (uint64, error)
- func (m *Marketplace) GetCountOfOffersForCollectible(ctx context.Context, contractAddress, tokenId string, ...) (uint64, error)
- func (m *Marketplace) GetFloorOrder(ctx context.Context, contractAddress string, ...) (*marketplace.CollectibleOrder, error)
- func (m *Marketplace) GetHighestPriceListingForCollectible(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetHighestPriceOfferForCollectible(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetLowestPriceListingForCollectible(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetLowestPriceOfferForCollectible(ctx context.Context, contractAddress, tokenId string, ...) (*marketplace.Order, error)
- func (m *Marketplace) GetOrders(ctx context.Context, input []*marketplace.GetOrdersInput, ...) ([]*marketplace.Order, *marketplace.Page, error)
- func (m *Marketplace) ListCollectibleActivities(ctx context.Context, contractAddress, tokenId string, page *marketplace.Page) ([]*marketplace.Activity, *marketplace.Page, error)
- func (m *Marketplace) ListCollectibleListings(ctx context.Context, contractAddress, tokenId string, ...) ([]*marketplace.Order, *marketplace.Page, error)
- func (m *Marketplace) ListCollectibleOffers(ctx context.Context, contractAddress, tokenId string, ...) ([]*marketplace.Order, *marketplace.Page, error)
- func (m *Marketplace) ListCollectibles(ctx context.Context, side marketplace.OrderSide, contractAddress string, ...) ([]*marketplace.CollectibleOrder, *marketplace.Page, error)
- func (m *Marketplace) ListCollectiblesWithHighestOffer(ctx context.Context, contractAddress string, ...) ([]*marketplace.CollectibleOrder, *marketplace.Page, error)
- func (m *Marketplace) ListCollectiblesWithLowestListing(ctx context.Context, contractAddress string, ...) ([]*marketplace.CollectibleOrder, *marketplace.Page, error)
- func (m *Marketplace) ListCollectionActivities(ctx context.Context, contractAddress string, page *marketplace.Page) ([]*marketplace.Activity, *marketplace.Page, error)
- func (m *Marketplace) ListCurrencies(ctx context.Context) ([]*marketplace.Currency, error)
- func (m *Marketplace) ListListingsForCollectible(ctx context.Context, contractAddress, tokenId string, ...) ([]*marketplace.Order, *marketplace.Page, error)
- func (m *Marketplace) ListOffersForCollectible(ctx context.Context, contractAddress, tokenId string, ...) ([]*marketplace.Order, *marketplace.Page, error)
- func (m *Marketplace) SyncOrder(ctx context.Context, order *marketplace.Order) error
- func (m *Marketplace) SyncOrders(ctx context.Context, orders []*marketplace.Order) error
- type MarketplaceMockRecorder
- func (mr *MarketplaceMockRecorder) CheckoutOptionsMarketplace(ctx, wallet, orders, additionalFee any) *gomock.Call
- func (mr *MarketplaceMockRecorder) CheckoutOptionsSalesContract(ctx, wallet, contractAddress, collectionAddress, items any) *gomock.Call
- func (mr *MarketplaceMockRecorder) Execute(ctx, signature, executeType, body any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GenerateBuyTransaction(...) *gomock.Call
- func (mr *MarketplaceMockRecorder) GenerateCancelTransaction(ctx, collectionAddress, maker, arg3, orderId any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GenerateListingTransaction(...) *gomock.Call
- func (mr *MarketplaceMockRecorder) GenerateOfferTransaction(ctx, collectionAddress, maker, contractType, orderbook, offer, walletType any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GenerateSellTransaction(...) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCollectible(ctx, contractAddress, tokenId any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCollectibleHighestListing(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCollectibleHighestOffer(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCollectibleLowestListing(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCollectibleLowestOffer(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCollectionDetail(ctx, contractAddress any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCountOfAllCollectibles(ctx, contractAddress any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCountOfFilteredCollectibles(ctx, side, contractAddress, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCountOfListingsForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetCountOfOffersForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetFloorOrder(ctx, contractAddress, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetHighestPriceListingForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetHighestPriceOfferForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetLowestPriceListingForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetLowestPriceOfferForCollectible(ctx, contractAddress, tokenId, filter any) *gomock.Call
- func (mr *MarketplaceMockRecorder) GetOrders(ctx, input, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCollectibleActivities(ctx, contractAddress, tokenId, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCollectibleListings(ctx, contractAddress, tokenId, filter, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCollectibleOffers(ctx, contractAddress, tokenId, filter, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCollectibles(ctx, side, contractAddress, filter, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCollectiblesWithHighestOffer(ctx, contractAddress, filter, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCollectiblesWithLowestListing(ctx, contractAddress, filter, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCollectionActivities(ctx, contractAddress, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListCurrencies(ctx any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListListingsForCollectible(ctx, contractAddress, tokenId, filter, skipRealtimeSync, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) ListOffersForCollectible(ctx, contractAddress, tokenId, filter, skipRealtimeSync, page any) *gomock.Call
- func (mr *MarketplaceMockRecorder) SyncOrder(ctx, order any) *gomock.Call
- func (mr *MarketplaceMockRecorder) SyncOrders(ctx, orders any) *gomock.Call
- type Metadata
- func (m *Metadata) AbortContractSync(ctx context.Context, taskID uint64) (bool, error)
- func (m *Metadata) AddContractToMintMonitor(ctx context.Context, chainID, contractAddress string) (bool, error)
- func (m *Metadata) CancelRefreshJob(ctx context.Context, taskId uint64) (bool, error)
- func (m *Metadata) ContractSyncJobStatus(ctx context.Context, taskID uint64) (*metadata.Task, *metadata.Task, error)
- func (m *Metadata) DirectoryGetCollections(ctx context.Context, chainId *uint64, includeTestnets, onlyFeatured *bool, ...) ([]*metadata.ContractInfo, *metadata.Page, error)
- func (m *Metadata) DirectoryGetNetworks(ctx context.Context, includeTestnets, onlyFeatured *bool) ([]uint64, error)
- func (m *Metadata) DirectorySearchCollections(ctx context.Context, query string, chainId *uint64, ...) ([]*metadata.ContractInfo, *metadata.Page, error)
- func (m *Metadata) EXPECT() *MetadataMockRecorder
- func (m *Metadata) EnqueueTokensForRefresh(ctx context.Context, chainID, contractAddress string, tokenIDs []string, ...) (uint64, error)
- func (m *Metadata) GetContractInfo(ctx context.Context, chainID, contractAddress string) (*metadata.ContractInfo, *uint64, error)
- func (m *Metadata) GetContractInfoBatch(ctx context.Context, chainID string, contractAddresses []string) (map[string]*metadata.ContractInfo, *uint64, error)
- func (m *Metadata) GetNiftyswapTokenQuantity(ctx context.Context, chainID, contractAddress string, tokenIDs []string) (map[string]string, error)
- func (m *Metadata) GetNiftyswapUnitPrices(ctx context.Context, chainID, contractAddress string, ...) (map[string]string, error)
- func (m *Metadata) GetNiftyswapUnitPricesWithQuantities(ctx context.Context, chainID, contractAddress string, ...) (map[string]*metadata.GetNiftyswapUnitPricesResponse, error)
- func (m *Metadata) GetTask(ctx context.Context, taskId uint64) (*metadata.Task, error)
- func (m *Metadata) GetTaskStatus(ctx context.Context, taskId uint64) (*metadata.TaskStatus, error)
- func (m *Metadata) GetTokenMetadata(ctx context.Context, chainID, contractAddress string, tokenIDs []string) ([]*metadata.TokenMetadata, *uint64, error)
- func (m *Metadata) GetTokenMetadataBatch(ctx context.Context, chainID string, contractTokenMap map[string][]string) (map[string][]*metadata.TokenMetadata, *uint64, error)
- func (m *Metadata) GetTokenRefreshResult(ctx context.Context, taskId uint64) (*metadata.TaskStatus, map[string]bool, map[string]string, error)
- func (m *Metadata) GetTokenRefreshStatus(ctx context.Context, taskId uint64) (*metadata.TaskStatus, error)
- func (m *Metadata) MintMonitorJobStatus(ctx context.Context, chainID, contractAddress string) (*metadata.Task, error)
- func (m *Metadata) MintMonitorTriggerJob(ctx context.Context, chainID, contractAddress string) (bool, error)
- func (m *Metadata) Ping(ctx context.Context) (bool, error)
- func (m *Metadata) RefreshAllContractTokens(ctx context.Context, chainHandle, contractAddress string) (*uint64, uint64, error)
- func (m *Metadata) RefreshContractInfo(ctx context.Context, chainHandle, contractAddress string) error
- func (m *Metadata) RefreshContractTokens(ctx context.Context, chainHandle, contractAddress string, tokenIDs []string) (*uint64, error)
- func (m *Metadata) RefreshTokenMetadata(ctx context.Context, chainID, contractAddress string, tokenIDs []string, ...) (uint64, error)
- func (m *Metadata) RemoveContractFromMintMonitor(ctx context.Context, chainID, contractAddress string) (bool, error)
- func (m *Metadata) RuntimeStatus(ctx context.Context) (*metadata.RuntimeStatus, error)
- func (m *Metadata) SearchContractInfo(ctx context.Context, contractAddress string) ([]*metadata.ContractInfo, error)
- func (m *Metadata) SearchContractInfoBatch(ctx context.Context, contractAddresses []string) (map[string][]*metadata.ContractInfo, error)
- func (m *Metadata) SearchContracts(ctx context.Context, q string, chainID *string, chainIDs []string, ...) ([]*metadata.ContractInfo, *metadata.Page, error)
- func (m *Metadata) SearchMetadata(ctx context.Context, filter string, chainID *string, ...) ([]*metadata.TokenMetadata, []*metadata.ContractInfo, error)
- func (m *Metadata) SearchTokenIDs(ctx context.Context, chainID, contractAddress string, filter *metadata.Filter, ...) (*metadata.Page, []string, error)
- func (m *Metadata) SearchTokenMetadata(ctx context.Context, chainID, contractAddress string, filter *metadata.Filter, ...) (*metadata.Page, []*metadata.TokenMetadata, error)
- func (m *Metadata) SearchTokens(ctx context.Context, q string, chainID *string, page *metadata.Page) ([]*metadata.TokenMetadata, *metadata.Page, error)
- func (m *Metadata) SyncContractTokens(ctx context.Context, chainID, contractAddress string) (uint64, error)
- func (m *Metadata) TokenCollectionFilters(ctx context.Context, chainID, contractAddress string) ([]*metadata.PropertyFilter, error)
- func (m *Metadata) Version(ctx context.Context) (*metadata.Version, error)
- type MetadataMockRecorder
- func (mr *MetadataMockRecorder) AbortContractSync(ctx, taskID any) *gomock.Call
- func (mr *MetadataMockRecorder) AddContractToMintMonitor(ctx, chainID, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) CancelRefreshJob(ctx, taskId any) *gomock.Call
- func (mr *MetadataMockRecorder) ContractSyncJobStatus(ctx, taskID any) *gomock.Call
- func (mr *MetadataMockRecorder) DirectoryGetCollections(ctx, chainId, includeTestnets, onlyFeatured, page any) *gomock.Call
- func (mr *MetadataMockRecorder) DirectoryGetNetworks(ctx, includeTestnets, onlyFeatured any) *gomock.Call
- func (mr *MetadataMockRecorder) DirectorySearchCollections(ctx, query, chainId, includeTestnets, onlyFeatured, page any) *gomock.Call
- func (mr *MetadataMockRecorder) EnqueueTokensForRefresh(ctx, chainID, contractAddress, tokenIDs, refreshAll any) *gomock.Call
- func (mr *MetadataMockRecorder) GetContractInfo(ctx, chainID, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) GetContractInfoBatch(ctx, chainID, contractAddresses any) *gomock.Call
- func (mr *MetadataMockRecorder) GetNiftyswapTokenQuantity(ctx, chainID, contractAddress, tokenIDs any) *gomock.Call
- func (mr *MetadataMockRecorder) GetNiftyswapUnitPrices(ctx, chainID, contractAddress, req, fresh any) *gomock.Call
- func (mr *MetadataMockRecorder) GetNiftyswapUnitPricesWithQuantities(ctx, chainID, contractAddress, req, fresh any) *gomock.Call
- func (mr *MetadataMockRecorder) GetTask(ctx, taskId any) *gomock.Call
- func (mr *MetadataMockRecorder) GetTaskStatus(ctx, taskId any) *gomock.Call
- func (mr *MetadataMockRecorder) GetTokenMetadata(ctx, chainID, contractAddress, tokenIDs any) *gomock.Call
- func (mr *MetadataMockRecorder) GetTokenMetadataBatch(ctx, chainID, contractTokenMap any) *gomock.Call
- func (mr *MetadataMockRecorder) GetTokenRefreshResult(ctx, taskId any) *gomock.Call
- func (mr *MetadataMockRecorder) GetTokenRefreshStatus(ctx, taskId any) *gomock.Call
- func (mr *MetadataMockRecorder) MintMonitorJobStatus(ctx, chainID, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) MintMonitorTriggerJob(ctx, chainID, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) Ping(ctx any) *gomock.Call
- func (mr *MetadataMockRecorder) RefreshAllContractTokens(ctx, chainHandle, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) RefreshContractInfo(ctx, chainHandle, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) RefreshContractTokens(ctx, chainHandle, contractAddress, tokenIDs any) *gomock.Call
- func (mr *MetadataMockRecorder) RefreshTokenMetadata(ctx, chainID, contractAddress, tokenIDs, refreshAll any) *gomock.Call
- func (mr *MetadataMockRecorder) RemoveContractFromMintMonitor(ctx, chainID, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) RuntimeStatus(ctx any) *gomock.Call
- func (mr *MetadataMockRecorder) SearchContractInfo(ctx, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) SearchContractInfoBatch(ctx, contractAddresses any) *gomock.Call
- func (mr *MetadataMockRecorder) SearchContracts(ctx, q, chainID, chainIDs, types, page any) *gomock.Call
- func (mr *MetadataMockRecorder) SearchMetadata(ctx, filter, chainID, types, excludeTokenMetadata any) *gomock.Call
- func (mr *MetadataMockRecorder) SearchTokenIDs(ctx, chainID, contractAddress, filter, page any) *gomock.Call
- func (mr *MetadataMockRecorder) SearchTokenMetadata(ctx, chainID, contractAddress, filter, page any) *gomock.Call
- func (mr *MetadataMockRecorder) SearchTokens(ctx, q, chainID, page any) *gomock.Call
- func (mr *MetadataMockRecorder) SyncContractTokens(ctx, chainID, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) TokenCollectionFilters(ctx, chainID, contractAddress any) *gomock.Call
- func (mr *MetadataMockRecorder) Version(ctx any) *gomock.Call
- type Relayer
- func (m *Relayer) AddGasSponsor(ctx context.Context, projectId uint64, address string, name *string, ...) (bool, *proto.GasSponsor, error)
- func (m *Relayer) AddGasTank(ctx context.Context, name string, feeMarkupFactor float64, unlimited *bool) (bool, *proto.GasTank, error)
- func (m *Relayer) AddressGasSponsors(ctx context.Context, address string, page *proto.Page) (*proto.Page, []*proto.GasSponsor, error)
- func (m *Relayer) AdjustGasTankBalance(ctx context.Context, id, nonce uint64, amount float64) (bool, *proto.GasTankBalanceAdjustment, error)
- func (m *Relayer) AdjustProjectBalance(ctx context.Context, projectId uint64, amount float64, identifier string) (float64, error)
- func (m *Relayer) EXPECT() *RelayerMockRecorder
- func (m *Relayer) FeeOptions(ctx context.Context, wallet, to, data string, simulate *bool) ([]*proto.FeeOption, bool, *string, error)
- func (m *Relayer) FeeTokens(ctx context.Context) (bool, []*proto.FeeToken, error)
- func (m *Relayer) GetChainID(ctx context.Context) (uint64, error)
- func (m *Relayer) GetGasSponsor(ctx context.Context, projectId, id uint64) (*proto.GasSponsor, error)
- func (m *Relayer) GetGasTank(ctx context.Context, id uint64) (*proto.GasTank, error)
- func (m *Relayer) GetGasTankBalanceAdjustment(ctx context.Context, id, nonce uint64) (*proto.GasTankBalanceAdjustment, error)
- func (m *Relayer) GetMetaTransactions(ctx context.Context, projectId uint64, page *proto.Page) (*proto.Page, []*proto.MetaTxnLog, error)
- func (m *Relayer) GetMetaTxnNetworkFeeOptions(ctx context.Context, walletConfig any, payload string) ([]*proto.FeeOption, error)
- func (m *Relayer) GetMetaTxnNonce(ctx context.Context, walletContractAddress string, space *string) (string, error)
- func (m *Relayer) GetMetaTxnReceipt(ctx context.Context, metaTxID string) (*proto.MetaTxnReceipt, error)
- func (m *Relayer) GetProjectBalance(ctx context.Context, projectId uint64) (float64, error)
- func (m *Relayer) GetSequenceContext(ctx context.Context) (*proto.SequenceContext, error)
- func (m *Relayer) GetTransactionCost(ctx context.Context, projectId uint64, from, to time.Time) (float64, error)
- func (m *Relayer) ListGasSponsors(ctx context.Context, projectId uint64, page *proto.Page) (*proto.Page, []*proto.GasSponsor, error)
- func (m *Relayer) ListGasTankBalanceAdjustments(ctx context.Context, id uint64, page *proto.Page) (*proto.Page, []*proto.GasTankBalanceAdjustment, error)
- func (m *Relayer) NextGasTankBalanceAdjustmentNonce(ctx context.Context, id uint64) (uint64, error)
- func (m *Relayer) PendingTransactions(ctx context.Context, page *proto.Page) (*proto.Page, []*proto.Transaction, error)
- func (m *Relayer) Ping(ctx context.Context) (bool, error)
- func (m *Relayer) RemoveGasSponsor(ctx context.Context, projectId, id uint64) (bool, error)
- func (m *Relayer) RuntimeStatus(ctx context.Context) (*proto.RuntimeStatus, error)
- func (m *Relayer) SendMetaTxn(ctx context.Context, call *proto.MetaTxn, quote *string, projectID *uint64) (bool, string, error)
- func (m *Relayer) SentTransactions(ctx context.Context, filter *proto.SentTransactionsFilter, page *proto.Page) (*proto.Page, []*proto.Transaction, error)
- func (m *Relayer) Simulate(ctx context.Context, wallet, transactions string) ([]*proto.SimulateResult, error)
- func (m *Relayer) UpdateGasSponsor(ctx context.Context, projectId, id uint64, name *string, active *bool) (bool, *proto.GasSponsor, error)
- func (m *Relayer) UpdateGasTank(ctx context.Context, id uint64, name *string, feeMarkupFactor *float64, ...) (bool, *proto.GasTank, error)
- func (m *Relayer) UpdateMetaTxnGasLimits(ctx context.Context, walletAddress string, walletConfig any, payload string) (string, error)
- func (m *Relayer) Version(ctx context.Context) (*proto.Version, error)
- type RelayerMockRecorder
- func (mr *RelayerMockRecorder) AddGasSponsor(ctx, projectId, address, name, active any) *gomock.Call
- func (mr *RelayerMockRecorder) AddGasTank(ctx, name, feeMarkupFactor, unlimited any) *gomock.Call
- func (mr *RelayerMockRecorder) AddressGasSponsors(ctx, address, page any) *gomock.Call
- func (mr *RelayerMockRecorder) AdjustGasTankBalance(ctx, id, nonce, amount any) *gomock.Call
- func (mr *RelayerMockRecorder) AdjustProjectBalance(ctx, projectId, amount, identifier any) *gomock.Call
- func (mr *RelayerMockRecorder) FeeOptions(ctx, wallet, to, data, simulate any) *gomock.Call
- func (mr *RelayerMockRecorder) FeeTokens(ctx any) *gomock.Call
- func (mr *RelayerMockRecorder) GetChainID(ctx any) *gomock.Call
- func (mr *RelayerMockRecorder) GetGasSponsor(ctx, projectId, id any) *gomock.Call
- func (mr *RelayerMockRecorder) GetGasTank(ctx, id any) *gomock.Call
- func (mr *RelayerMockRecorder) GetGasTankBalanceAdjustment(ctx, id, nonce any) *gomock.Call
- func (mr *RelayerMockRecorder) GetMetaTransactions(ctx, projectId, page any) *gomock.Call
- func (mr *RelayerMockRecorder) GetMetaTxnNetworkFeeOptions(ctx, walletConfig, payload any) *gomock.Call
- func (mr *RelayerMockRecorder) GetMetaTxnNonce(ctx, walletContractAddress, space any) *gomock.Call
- func (mr *RelayerMockRecorder) GetMetaTxnReceipt(ctx, metaTxID any) *gomock.Call
- func (mr *RelayerMockRecorder) GetProjectBalance(ctx, projectId any) *gomock.Call
- func (mr *RelayerMockRecorder) GetSequenceContext(ctx any) *gomock.Call
- func (mr *RelayerMockRecorder) GetTransactionCost(ctx, projectId, from, to any) *gomock.Call
- func (mr *RelayerMockRecorder) ListGasSponsors(ctx, projectId, page any) *gomock.Call
- func (mr *RelayerMockRecorder) ListGasTankBalanceAdjustments(ctx, id, page any) *gomock.Call
- func (mr *RelayerMockRecorder) NextGasTankBalanceAdjustmentNonce(ctx, id any) *gomock.Call
- func (mr *RelayerMockRecorder) PendingTransactions(ctx, page any) *gomock.Call
- func (mr *RelayerMockRecorder) Ping(ctx any) *gomock.Call
- func (mr *RelayerMockRecorder) RemoveGasSponsor(ctx, projectId, id any) *gomock.Call
- func (mr *RelayerMockRecorder) RuntimeStatus(ctx any) *gomock.Call
- func (mr *RelayerMockRecorder) SendMetaTxn(ctx, call, quote, projectID any) *gomock.Call
- func (mr *RelayerMockRecorder) SentTransactions(ctx, filter, page any) *gomock.Call
- func (mr *RelayerMockRecorder) Simulate(ctx, wallet, transactions any) *gomock.Call
- func (mr *RelayerMockRecorder) UpdateGasSponsor(ctx, projectId, id, name, active any) *gomock.Call
- func (mr *RelayerMockRecorder) UpdateGasTank(ctx, id, name, feeMarkupFactor, unlimited any) *gomock.Call
- func (mr *RelayerMockRecorder) UpdateMetaTxnGasLimits(ctx, walletAddress, walletConfig, payload any) *gomock.Call
- func (mr *RelayerMockRecorder) Version(ctx any) *gomock.Call
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 (*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) ContractCall ¶
func (m *API) ContractCall(ctx context.Context, chainID, contract, inputExpr, outputExpr string, args []string) ([]string, error)
ContractCall mocks base method.
func (*API) DecodeContractCall ¶
DecodeContractCall mocks base method.
func (*API) DeleteOffchainInventory ¶
DeleteOffchainInventory mocks base method.
func (*API) DeletePack ¶
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 ¶
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 ¶
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 ¶
GetInviteInfo 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 (*API) GetMoonpayLink ¶
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 ¶
GetPublicKey mocks base method.
func (*API) GetSardineClientToken ¶
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 ¶
GetSequenceContext mocks base method.
func (*API) GetSwapPermit2Price ¶
func (m *API) GetSwapPermit2Price(ctx context.Context, buyCurrencyAddress, sellCurrencyAddress, buyAmount string, chainId uint64, slippagePercentage *uint64) (*api.SwapPermit2Price, error)
GetSwapPermit2Price mocks base method.
func (*API) GetSwapPermit2Prices ¶
func (m *API) GetSwapPermit2Prices(ctx context.Context, userAddress, buyCurrencyAddress, buyAmount string, chainId uint64, slippagePercentage *uint64) ([]*api.SwapPermit2Price, error)
GetSwapPermit2Prices mocks base method.
func (*API) GetSwapPermit2Quote ¶
func (m *API) GetSwapPermit2Quote(ctx context.Context, userAddress, buyCurrencyAddress, sellCurrencyAddress, buyAmount string, chainId uint64, includeApprove bool, slippagePercentage *uint64) (*api.SwapPermit2Quote, error)
GetSwapPermit2Quote mocks base method.
func (*API) GetSwapPrice ¶
func (m *API) GetSwapPrice(ctx context.Context, buyCurrencyAddress, sellCurrencyAddress, buyAmount string, chainId uint64, slippagePercentage *uint64) (*api.SwapPrice, error)
GetSwapPrice mocks base method.
func (*API) GetSwapPrices ¶
func (m *API) GetSwapPrices(ctx context.Context, userAddress, buyCurrencyAddress, buyAmount string, chainId uint64, slippagePercentage *uint64) ([]*api.SwapPrice, error)
GetSwapPrices mocks base method.
func (*API) GetSwapQuote ¶
func (m *API) GetSwapQuote(ctx context.Context, userAddress, buyCurrencyAddress, sellCurrencyAddress, buyAmount string, chainId uint64, includeApprove bool, slippagePercentage *uint64) (*api.SwapQuote, error)
GetSwapQuote mocks base method.
func (*API) GetSwapQuoteV2 ¶
func (m *API) GetSwapQuoteV2(ctx context.Context, userAddress, buyCurrencyAddress, sellCurrencyAddress, buyAmount string, chainId uint64, includeApprove bool, slippagePercentage *uint64) (*api.SwapQuote, error)
GetSwapQuoteV2 mocks base method.
func (*API) IntentQuery ¶
func (m *API) IntentQuery(ctx context.Context, wallet string, preconditions []*api.IntentPrecondition) ([]*api.IntentSolution, error)
IntentQuery 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 ¶
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 ¶
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 ¶
MemoryLoad mocks base method.
func (*API) MemoryStore ¶
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) RegisterPublicKey ¶
RegisterPublicKey mocks base method.
func (*API) RemoveFriend ¶
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 ¶
ResolveENSAddress mocks base method.
func (*API) RuntimeStatus ¶
RuntimeStatus mocks base method.
func (*API) SardineGetClientToken ¶
SardineGetClientToken mocks base method.
func (*API) SardineGetEnabledTokens ¶
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 ¶
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 ¶
SardineGetSupportedTokens 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 (*API) SendPasswordlessLink ¶
func (m *API) SendPasswordlessLink(ctx context.Context, email, redirectUri, intent string) (bool, error)
SendPasswordlessLink mocks base method.
func (*API) TransakGetCountries ¶
TransakGetCountries mocks base method.
func (*API) TransakGetCryptoCurrencies ¶
TransakGetCryptoCurrencies mocks base method.
func (*API) TransakGetFiatCurrencies ¶
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 ¶
UpdateOffchainInventory mocks base method.
func (*API) UpdatePackContent ¶
UpdatePackContent mocks base method.
func (*API) UserStorageDelete ¶
UserStorageDelete mocks base method.
func (*API) UserStorageFetch ¶
UserStorageFetch mocks base method.
func (*API) UserStorageFetchAll ¶
UserStorageFetchAll mocks base method.
func (*API) UserStorageSave ¶
UserStorageSave 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) 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) GetLinkedWallets ¶
func (mr *APIMockRecorder) GetLinkedWallets(ctx, parentWalletAddress, parentWalletMessage, parentWalletSignature, signatureChainId any) *gomock.Call
GetLinkedWallets indicates an expected call of GetLinkedWallets.
func (*APIMockRecorder) GetMoonpayLink ¶
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) GetSwapPermit2Price ¶
func (mr *APIMockRecorder) GetSwapPermit2Price(ctx, buyCurrencyAddress, sellCurrencyAddress, buyAmount, chainId, slippagePercentage any) *gomock.Call
GetSwapPermit2Price indicates an expected call of GetSwapPermit2Price.
func (*APIMockRecorder) GetSwapPermit2Prices ¶
func (mr *APIMockRecorder) GetSwapPermit2Prices(ctx, userAddress, buyCurrencyAddress, buyAmount, chainId, slippagePercentage any) *gomock.Call
GetSwapPermit2Prices indicates an expected call of GetSwapPermit2Prices.
func (*APIMockRecorder) GetSwapPermit2Quote ¶
func (mr *APIMockRecorder) GetSwapPermit2Quote(ctx, userAddress, buyCurrencyAddress, sellCurrencyAddress, buyAmount, chainId, includeApprove, slippagePercentage any) *gomock.Call
GetSwapPermit2Quote indicates an expected call of GetSwapPermit2Quote.
func (*APIMockRecorder) GetSwapPrice ¶
func (mr *APIMockRecorder) GetSwapPrice(ctx, buyCurrencyAddress, sellCurrencyAddress, buyAmount, chainId, slippagePercentage any) *gomock.Call
GetSwapPrice indicates an expected call of GetSwapPrice.
func (*APIMockRecorder) GetSwapPrices ¶
func (mr *APIMockRecorder) GetSwapPrices(ctx, userAddress, buyCurrencyAddress, buyAmount, chainId, slippagePercentage any) *gomock.Call
GetSwapPrices indicates an expected call of GetSwapPrices.
func (*APIMockRecorder) GetSwapQuote ¶
func (mr *APIMockRecorder) GetSwapQuote(ctx, userAddress, buyCurrencyAddress, sellCurrencyAddress, buyAmount, chainId, includeApprove, slippagePercentage any) *gomock.Call
GetSwapQuote indicates an expected call of GetSwapQuote.
func (*APIMockRecorder) GetSwapQuoteV2 ¶
func (mr *APIMockRecorder) GetSwapQuoteV2(ctx, userAddress, buyCurrencyAddress, sellCurrencyAddress, buyAmount, chainId, includeApprove, slippagePercentage any) *gomock.Call
GetSwapQuoteV2 indicates an expected call of GetSwapQuoteV2.
func (*APIMockRecorder) IntentQuery ¶
func (mr *APIMockRecorder) IntentQuery(ctx, wallet, preconditions any) *gomock.Call
IntentQuery indicates an expected call of IntentQuery.
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 (*APIMockRecorder) SendPasswordlessLink ¶
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.
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 ¶
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) (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 ¶
PauseAllWebhookListeners mocks base method.
func (*Indexer) RemoveAllWebhookListeners ¶
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 ¶
ResumeAllWebhookListeners mocks base method.
func (*Indexer) RuntimeStatus ¶
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.
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 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.
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 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 ¶
func (m *Marketplace) GetOrders(ctx context.Context, input []*marketplace.GetOrdersInput, page *marketplace.Page) ([]*marketplace.Order, *marketplace.Page, error)
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, skipRealtimeSync bool, 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, skipRealtimeSync bool, 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, 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, skipRealtimeSync, page any) *gomock.Call
ListListingsForCollectible indicates an expected call of ListListingsForCollectible.
func (*MarketplaceMockRecorder) ListOffersForCollectible ¶
func (mr *MarketplaceMockRecorder) ListOffersForCollectible(ctx, contractAddress, tokenId, filter, skipRealtimeSync, 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) AbortContractSync ¶
AbortContractSync mocks base method.
func (*Metadata) AddContractToMintMonitor ¶
func (m *Metadata) AddContractToMintMonitor(ctx context.Context, chainID, contractAddress string) (bool, error)
AddContractToMintMonitor mocks base method.
func (*Metadata) CancelRefreshJob ¶
CancelRefreshJob mocks base method.
func (*Metadata) ContractSyncJobStatus ¶
func (m *Metadata) ContractSyncJobStatus(ctx context.Context, taskID uint64) (*metadata.Task, *metadata.Task, error)
ContractSyncJobStatus mocks base method.
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) EnqueueTokensForRefresh ¶
func (m *Metadata) EnqueueTokensForRefresh(ctx context.Context, chainID, contractAddress string, tokenIDs []string, refreshAll *bool) (uint64, error)
EnqueueTokensForRefresh 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) GetTaskStatus ¶
GetTaskStatus 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) GetTokenRefreshResult ¶
func (m *Metadata) GetTokenRefreshResult(ctx context.Context, taskId uint64) (*metadata.TaskStatus, map[string]bool, map[string]string, error)
GetTokenRefreshResult mocks base method.
func (*Metadata) GetTokenRefreshStatus ¶
func (m *Metadata) GetTokenRefreshStatus(ctx context.Context, taskId uint64) (*metadata.TaskStatus, error)
GetTokenRefreshStatus mocks base method.
func (*Metadata) MintMonitorJobStatus ¶
func (m *Metadata) MintMonitorJobStatus(ctx context.Context, chainID, contractAddress string) (*metadata.Task, error)
MintMonitorJobStatus mocks base method.
func (*Metadata) MintMonitorTriggerJob ¶
func (m *Metadata) MintMonitorTriggerJob(ctx context.Context, chainID, contractAddress string) (bool, error)
MintMonitorTriggerJob 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, chainHandle, contractAddress string) error
RefreshContractInfo mocks base method.
func (*Metadata) RefreshContractTokens ¶
func (m *Metadata) RefreshContractTokens(ctx context.Context, chainHandle, contractAddress string, tokenIDs []string) (*uint64, error)
RefreshContractTokens 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) RemoveContractFromMintMonitor ¶
func (m *Metadata) RemoveContractFromMintMonitor(ctx context.Context, chainID, contractAddress string) (bool, error)
RemoveContractFromMintMonitor mocks base method.
func (*Metadata) RuntimeStatus ¶
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) 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) 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) 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) SyncContractTokens ¶
func (m *Metadata) SyncContractTokens(ctx context.Context, chainID, contractAddress string) (uint64, error)
SyncContractTokens mocks base method.
func (*Metadata) TokenCollectionFilters ¶
func (m *Metadata) TokenCollectionFilters(ctx context.Context, chainID, contractAddress string) ([]*metadata.PropertyFilter, error)
TokenCollectionFilters mocks base method.
type MetadataMockRecorder ¶
type MetadataMockRecorder struct {
// contains filtered or unexported fields
}
MetadataMockRecorder is the mock recorder for Metadata.
func (*MetadataMockRecorder) AbortContractSync ¶
func (mr *MetadataMockRecorder) AbortContractSync(ctx, taskID any) *gomock.Call
AbortContractSync indicates an expected call of AbortContractSync.
func (*MetadataMockRecorder) AddContractToMintMonitor ¶
func (mr *MetadataMockRecorder) AddContractToMintMonitor(ctx, chainID, contractAddress any) *gomock.Call
AddContractToMintMonitor indicates an expected call of AddContractToMintMonitor.
func (*MetadataMockRecorder) CancelRefreshJob ¶
func (mr *MetadataMockRecorder) CancelRefreshJob(ctx, taskId any) *gomock.Call
CancelRefreshJob indicates an expected call of CancelRefreshJob.
func (*MetadataMockRecorder) ContractSyncJobStatus ¶
func (mr *MetadataMockRecorder) ContractSyncJobStatus(ctx, taskID any) *gomock.Call
ContractSyncJobStatus indicates an expected call of ContractSyncJobStatus.
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) EnqueueTokensForRefresh ¶
func (mr *MetadataMockRecorder) EnqueueTokensForRefresh(ctx, chainID, contractAddress, tokenIDs, refreshAll any) *gomock.Call
EnqueueTokensForRefresh indicates an expected call of EnqueueTokensForRefresh.
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) 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) GetTokenRefreshResult ¶
func (mr *MetadataMockRecorder) GetTokenRefreshResult(ctx, taskId any) *gomock.Call
GetTokenRefreshResult indicates an expected call of GetTokenRefreshResult.
func (*MetadataMockRecorder) GetTokenRefreshStatus ¶
func (mr *MetadataMockRecorder) GetTokenRefreshStatus(ctx, taskId any) *gomock.Call
GetTokenRefreshStatus indicates an expected call of GetTokenRefreshStatus.
func (*MetadataMockRecorder) MintMonitorJobStatus ¶
func (mr *MetadataMockRecorder) MintMonitorJobStatus(ctx, chainID, contractAddress any) *gomock.Call
MintMonitorJobStatus indicates an expected call of MintMonitorJobStatus.
func (*MetadataMockRecorder) MintMonitorTriggerJob ¶
func (mr *MetadataMockRecorder) MintMonitorTriggerJob(ctx, chainID, contractAddress any) *gomock.Call
MintMonitorTriggerJob indicates an expected call of MintMonitorTriggerJob.
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, chainHandle, contractAddress any) *gomock.Call
RefreshContractInfo indicates an expected call of RefreshContractInfo.
func (*MetadataMockRecorder) RefreshContractTokens ¶
func (mr *MetadataMockRecorder) RefreshContractTokens(ctx, chainHandle, contractAddress, tokenIDs any) *gomock.Call
RefreshContractTokens indicates an expected call of RefreshContractTokens.
func (*MetadataMockRecorder) RefreshTokenMetadata ¶
func (mr *MetadataMockRecorder) RefreshTokenMetadata(ctx, chainID, contractAddress, tokenIDs, refreshAll any) *gomock.Call
RefreshTokenMetadata indicates an expected call of RefreshTokenMetadata.
func (*MetadataMockRecorder) RemoveContractFromMintMonitor ¶
func (mr *MetadataMockRecorder) RemoveContractFromMintMonitor(ctx, chainID, contractAddress any) *gomock.Call
RemoveContractFromMintMonitor indicates an expected call of RemoveContractFromMintMonitor.
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) SearchMetadata ¶
func (mr *MetadataMockRecorder) SearchMetadata(ctx, filter, chainID, types, excludeTokenMetadata any) *gomock.Call
SearchMetadata indicates an expected call of SearchMetadata.
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) SearchTokens ¶
func (mr *MetadataMockRecorder) SearchTokens(ctx, q, chainID, page any) *gomock.Call
SearchTokens indicates an expected call of SearchTokens.
func (*MetadataMockRecorder) SyncContractTokens ¶
func (mr *MetadataMockRecorder) SyncContractTokens(ctx, chainID, contractAddress any) *gomock.Call
SyncContractTokens indicates an expected call of SyncContractTokens.
func (*MetadataMockRecorder) TokenCollectionFilters ¶
func (mr *MetadataMockRecorder) TokenCollectionFilters(ctx, chainID, contractAddress any) *gomock.Call
TokenCollectionFilters indicates an expected call of TokenCollectionFilters.
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) GetChainID ¶
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 ¶
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 ¶
GetProjectBalance mocks base method.
func (*Relayer) GetSequenceContext ¶
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 ¶
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) RemoveGasSponsor ¶
RemoveGasSponsor mocks base method.
func (*Relayer) RuntimeStatus ¶
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.
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.