MCPcopy Create free account

hub / github.com/ScopeLift/stealth-address-sdk / functions

Functions202 in github.com/ScopeLift/stealth-address-sdk

↓ 1 callersFunctionassertStrictlyDescendingAnnouncementIds
( announcements: SubgraphAnnouncementEntity[], cursor?: string )
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:134
↓ 1 callersFunctionassertStrictlyDescendingChainRecency
( announcements: AnnouncementLog[] )
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.ts:103
↓ 1 callersFunctionassertValidPageParams
({ cursor, snapshotBlock }: Pick< GetAnnouncementsPageUsingSubgraphUnsafeParams, 'cursor' | 'snapshotB
src/lib/actions/getAnnouncementsUsingSubgraph/getAnnouncementsPageUsingSubgraph.ts:13
↓ 1 callersFunctionassertValidScanParams
({ cursor, snapshotBlock }: Pick< ScanAnnouncementsForUserUsingSubgraphParams, 'cursor' | 'snapshotBlo
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.ts:24
↓ 1 callersFunctionbuildAnnouncementLog
( entity: NormalizedSubgraphAnnouncementEntity )
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:510
↓ 1 callersFunctionbuildAnnouncementsQuery
({ snapshotBlock, whereClause }: { snapshotBlock?: string; whereClause: string; })
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:99
↓ 1 callersFunctionbuildBaseSepoliaSubgraphUrlCandidates
()
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.test.ts:198
↓ 1 callersFunctionbuildLegacyFilter
({ caller, fromBlock, schemeId, toBlock }: { caller?: string; fromBlock?: number; schemeId?: num
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.test.ts:48
↓ 1 callersFunctionbuildMetadataCustom
({ viewTag, functionSelector, contractAddress, data }: CustomMetadataParams)
src/utils/helpers/buildMetadata.ts:273
↓ 1 callersFunctionbuildPageParams
({ caller, cursor, fromBlock, pageSize, schemeId, snapshotBlock, subgraphUrl, toBlock }: ScanA
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.ts:120
↓ 1 callersFunctioncomputeSharedSecret
* @description Computes a shared secret based on the scheme * * @param {object} params - Parameters for computing the shared secret: * - ephemera
src/utils/crypto/generateStealthAddress.ts:243
↓ 1 callersFunctionconvertAnnouncementArgs
(args: AnnouncementArgs)
src/lib/actions/getAnnouncements/getAnnouncements.ts:57
↓ 1 callersFunctioncreateDatasetBackedMockClient
( dataset: SubgraphAnnouncementEntity[] )
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.test.ts:68
↓ 1 callersFunctioncreatePublicClientForAnnouncements
( announcements: AnnouncementLog[], fromByHash?: Record<`0x${string}`, `0x${string}`> )
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.test.ts:76
↓ 1 callersFunctiondeployAllContracts
()
src/scripts/index.ts:9
↓ 1 callersFunctionemitHeartbeat
()
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:227
↓ 1 callersFunctionenqueueLogs
(logs: WatchedAnnouncementEventLog[])
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:300
↓ 1 callersFunctionextractPortions
(signature: HexString)
src/utils/helpers/generateKeysFromSignature.ts:48
↓ 1 callersFunctionfetchAnnouncements
()
examples/getAnnouncements/index.ts:30
↓ 1 callersFunctionfetchAnnouncementsForUser
()
examples/getAnnouncementsForUser/index.ts:33
↓ 1 callersFunctionfetchLogsInChunks
({ publicClient, abi, eventName, address, args, fromBlock = 'earliest', toBlock = 'latest', ch
src/lib/helpers/logs.ts:58
↓ 1 callersFunctionfilterAnnouncementsForUser
({ announcements }: { announcements: AnnouncementLog[]; })
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.test.ts:1072
↓ 1 callersFunctiongetAnnouncements
* This function queries logs for the `Announcement` event emitted by the ERC5564 contract. * * @param {GetAnnouncementsParams} params - Parameters r
src/lib/actions/getAnnouncements/getAnnouncements.ts:27
↓ 1 callersFunctiongetAnnouncementsForUser
* @description Fetches and processes a list of announcements to determine which are relevant for the user. * Filters announcements based on the `chec
src/lib/actions/getAnnouncementsForUser/getAnnouncementsForUser.ts:87
↓ 1 callersFunctiongetAppliedConfig
({ caller, chainId, fromBlock, pageSize, pollingInterval, rpcUrl, spendingPublicKey, subgraphU
examples/composeAnnouncementHistoryAndWatch/index.tsx:155
↓ 1 callersFunctiongetEndingBalances
({ sendingWalletClient, receivingWalletClient }: { sendingWalletClient: SuperWalletClient; receivingWa
src/test/helpers/index.ts:147
↓ 1 callersFunctiongetInitialPreviousBlockNumber
({ fromBlock, publicClient }: { fromBlock?: WatchAnnouncementsForUserParams['fromBlock']; publicClient
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:100
↓ 1 callersFunctiongetKeys
({ walletClient }: { walletClient: WalletClient; })
src/test/helpers/index.ts:38
↓ 1 callersFunctiongetNetworksInfo
()
src/lib/actions/getAnnouncementsUsingSubgraph/getAnnouncementsUsingSubgraph.test.ts:230
↓ 1 callersFunctiongetObservedBlockFromLogs
( logs: WatchedAnnouncementEventLog[] )
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:114
↓ 1 callersFunctiongetScanConfig
({ fromBlock, pageSize, spendingPublicKey, subgraphUrl, toBlock, viewingPrivateKey }: { fromBloc
examples/scanAnnouncementsForUserUsingSubgraph/index.tsx:44
↓ 1 callersFunctiongetSignature
({ message }: { message: string })
examples/sendToAndTransferFromStealthAddress/components/stealth-actions-example.tsx:98
↓ 1 callersFunctiongetStealthMetaAddress
* @description Retrieves a stealth meta address from the ERC-6538 Registry contract. * * The `registrant` parameter can represent different types of
src/lib/actions/getStealthMetaAddress/getStealthMetaAddress.ts:24
↓ 1 callersFunctiongetWalletClients
()
src/test/helpers/index.ts:49
↓ 1 callersFunctiongetWalletClientsAndKeys
()
src/test/helpers/index.ts:75
↓ 1 callersFunctionincrementLastCharOfHexString
(hexStr: `0x${string}`)
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.test.ts:70
↓ 1 callersFunctionisRateLimitedSubgraphError
(error: unknown)
src/lib/actions/getAnnouncementsUsingSubgraph/getAnnouncementsUsingSubgraph.test.ts:59
↓ 1 callersFunctionisRateLimitedSubgraphError
(error: unknown)
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.test.ts:148
↓ 1 callersFunctionisSchemeId1
(schemeId: VALID_SCHEME_ID)
src/utils/crypto/generateStealthAddress.ts:277
↓ 1 callersFunctionisUsingFork
()
src/lib/helpers/test/setupTestEnv.ts:118
↓ 1 callersFunctionisValidSignature
(sig: string)
src/utils/helpers/generateKeysFromSignature.ts:44
↓ 1 callersFunctionmakeSnapshotMetaResponse
(number: number | string)
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.test.ts:40
↓ 1 callersFunctionnormalizeOptionalSnapshotBlock
( snapshotBlock?: bigint | number )
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:124
↓ 1 callersFunctionnormalizeSubgraphAnnouncementEntity
( entity: SubgraphAnnouncementEntity )
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:477
↓ 1 callersFunctionnormalizeTopics
(topics?: string[])
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:161
↓ 1 callersFunctionparseOptionalNumber
( value: string, fieldName: string )
examples/composeAnnouncementHistoryAndWatch/index.tsx:72
↓ 1 callersFunctionpollAnnouncements
()
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:325
↓ 1 callersFunctionresolveSnapshotBlock
(client: GraphQLClient)
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:197
↓ 1 callersFunctionscheduleNextPoll
()
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:364
↓ 1 callersFunctionsetupInitialBalances
({ sendingWalletClient, receivingWalletClient }: { sendingWalletClient: SuperWalletClient; receivingWa
src/test/helpers/index.ts:96
↓ 1 callersFunctionshouldIncludeAnnouncement
* @description Determines if an announcement should be included based on exclude and include lists. * Fetches the transaction sender and checks again
src/lib/actions/getAnnouncementsForUser/getAnnouncementsForUser.ts:185
↓ 1 callersFunctionsleep
(ms: number)
src/lib/actions/getAnnouncementsUsingSubgraph/getAnnouncementsUsingSubgraph.test.ts:56
↓ 1 callersFunctionsleep
(ms: number)
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.test.ts:145
↓ 1 callersFunctionstartPollingAnnouncementEvents
({ args, ERC5564Address, excludeList, fromBlock, handleLogsForUser, includeList, onError, poll
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:263
↓ 1 callersFunctionvalidateGetAnnouncementsParams
* Validates input parameters for getAnnouncementsUsingSubgraph function. * * @param subgraphUrl - The subgraph URL to validate * @param pageSize -
src/lib/actions/getAnnouncementsUsingSubgraph/getAnnouncementsUsingSubgraph.ts:21
↓ 1 callersFunctionvalidateStealthMetaAddress
* @description Validates the format and structure of a stealth meta-address based on the specified scheme. * * @param {object} params - Parameters f
src/utils/crypto/generateStealthAddress.ts:137
↓ 1 callersFunctionvalidateSubgraphAnnouncementEntity
* Validates a SubgraphAnnouncementEntity to ensure it has all required fields. * * @param entity - The entity to validate * @throws {GetAnnouncemen
src/lib/actions/getAnnouncementsUsingSubgraph/subgraphHelpers.ts:390
↓ 1 callersFunctionvalidateSubgraphMetaResponse
* Validates the GraphQL response from the subgraph meta query. * * @param response - The response to validate * @throws {GetLatestSubgraphIndexedBl
src/utils/helpers/getLatestSubgraphIndexedBlock.ts:51
↓ 1 callersFunctionwaitForNextPaint
()
examples/scanAnnouncementsForUserUsingSubgraph/index.tsx:81
↓ 1 callersFunctionwatchAnnouncementsForUser
* Watches for announcement events relevant to the user. * * @property {EthAddress} ERC5564Address - The Ethereum address of the ERC5564 contract. *
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:408
↓ 1 callersFunctionwithRealSubgraphRetry
(fn: () => Promise<T>)
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/scanAnnouncementsForUserUsingSubgraph.test.ts:178
FunctionApp
()
examples/sendToAndTransferFromStealthAddress/index.tsx:22
FunctionExample
()
examples/prepareRegisterKeys/index.tsx:24
FunctionExample
()
examples/prepareAnnounce/index.tsx:32
FunctionExample
()
examples/scanAnnouncementsForUserUsingSubgraph/index.tsx:87
FunctionExample
()
examples/generateDeterministicStealthMetaAddress/index.tsx:19
FunctionExample
()
examples/prepareRegisterKeysOnBehalf/index.tsx:24
FunctionInboxExample
()
examples/composeAnnouncementHistoryAndWatch/index.tsx:206
FunctionStealthActionsExample
()
examples/sendToAndTransferFromStealthAddress/components/stealth-actions-example.tsx:24
FunctionannounceERC20Metadata
()
examples/prepareAnnounce/index.tsx:97
FunctionannounceETHMetadata
()
examples/prepareAnnounce/index.tsx:63
FunctioncomparePersistedAnnouncements
( left: PersistedAnnouncement, right: PersistedAnnouncement )
examples/composeAnnouncementHistoryAndWatch/index.tsx:118
Functionconnect
()
examples/prepareRegisterKeys/index.tsx:54
Functionconnect
()
examples/prepareAnnounce/index.tsx:57
Functionconnect
()
examples/generateDeterministicStealthMetaAddress/index.tsx:35
Functionconnect
()
examples/prepareRegisterKeysOnBehalf/index.tsx:54
Functionconnect
()
examples/sendToAndTransferFromStealthAddress/components/stealth-actions-example.tsx:88
Methodconstructor
( message: string, public readonly originalError?: unknown )
src/utils/helpers/getLatestSubgraphIndexedBlock.ts:36
Methodconstructor
( message: string, public readonly cause?: unknown )
src/utils/helpers/types/index.ts:15
Methodconstructor
(message = 'error preparing transaction payload')
src/lib/actions/types.ts:9
Methodconstructor
( message: string, public readonly originalError?: unknown )
src/lib/actions/getAnnouncementsUsingSubgraph/types.ts:111
Methodconstructor
( message: string, public readonly originalError?: unknown )
src/lib/actions/scanAnnouncementsForUserUsingSubgraph/types.ts:59
Methodconstructor
(message = 'Error getting stealth meta address.')
src/lib/actions/getStealthMetaAddress/types.ts:13
Methodconstructor
( message = 'The "from" value could not be retrieved for a transaction.' )
src/lib/actions/getAnnouncementsForUser/types.ts:43
Methodconstructor
(message = 'The transaction hash is required.')
src/lib/actions/getAnnouncementsForUser/types.ts:53
Methodconstructor
(message = 'publicClient is required')
src/lib/stealthClient/types.ts:120
Functionenqueue
(task)
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:75
FunctionfetchJson
(url: string, options: FetchRequestInit)
src/lib/helpers/test/setupTestEnv.ts:108
FunctiongetStealthAddressDetails
()
examples/sendToAndTransferFromStealthAddress/components/stealth-actions-example.tsx:106
FunctionhandleSignAndGenStealthMetaAddress
()
examples/generateDeterministicStealthMetaAddress/index.tsx:56
FunctiononIdle
()
src/lib/actions/watchAnnouncementsForUser/watchAnnouncementsForUser.ts:84
FunctionopenInbox
()
examples/composeAnnouncementHistoryAndWatch/index.tsx:436
FunctionprepareAnnounce
* Prepares the payload for announcing a stealth address to the ERC5564 contract. * It simulates the contract call to generate the necessary payload w
src/lib/actions/prepareAnnounce/prepareAnnounce.ts:25
FunctionprepareRegisterKeys
* Prepares the payload for registering keys (setting the stealth meta-address) by simulating the contract call. * This function generates the necessa
src/lib/actions/prepareRegisterKeys/prepareRegisterKeys.ts:25
FunctionprepareRegisterKeysOnBehalf
({ ERC6538Address, args, account, clientParams }: PrepareRegisterKeysOnBehalfParams)
src/lib/actions/prepareRegisterKeysOnBehalf/prepareRegisterKeysOnBehalf.ts:10
FunctionregisterKeys
()
examples/prepareRegisterKeys/index.tsx:59
FunctionregisterKeysOnBehalf
()
examples/prepareRegisterKeysOnBehalf/index.tsx:59
FunctionresetSessionInbox
()
examples/composeAnnouncementHistoryAndWatch/index.tsx:469
FunctionsendToStealthAddress
()
examples/sendToAndTransferFromStealthAddress/components/stealth-actions-example.tsx:124
FunctionstartScan
()
examples/scanAnnouncementsForUserUsingSubgraph/index.tsx:107
← previousnext →101–200 of 202, ranked by callers