MCPcopy Create free account

hub / github.com/celo-org/developer-tooling / functions

Functions1,444 in github.com/celo-org/developer-tooling

↓ 6 callersFunctionconcatHex
(values: string[])
packages/sdk/wallets/wallet-base/src/signing-utils.ts:316
↓ 6 callersFunctionconditionWatcher
( opts: RepeatTaskOptions & { pollCondition: () => Promise<boolean> onSuccess: () => void | Promise<
packages/sdk/base/src/task.ts:93
↓ 6 callersMethodfilterClaims
(type: K)
packages/sdk/metadata-claims/src/metadata.ts:242
↓ 6 callersMethodfromRawString
(contractKitOrAccountsWrapper: KitOrAccountsWrapper, rawData: string)
packages/sdk/metadata-claims/src/metadata.ts:114
↓ 6 callersFunctiongetAccountsContract
(clients: Clients)
packages/actions/src/contracts/accounts.ts:11
↓ 6 callersMethodgetAddresses
* Gets the address for each celo token proxy contract. * @return an promise resolving to an object containing the address for each celo token proxy
packages/sdk/contractkit/src/celo-tokens.ts:88
↓ 6 callersMethodgetDequeueIndex
(proposalID: BigNumber.Value, dequeue?: BigNumber[])
packages/sdk/contractkit/src/wrappers/Governance.ts:778
↓ 6 callersFunctiongetEpochManagerContract
( clients: T )
packages/actions/src/contracts/epoch-manager.ts:11
↓ 6 callersMethodgetEpochSize
* @returns epoch duration (in seconds)
packages/sdk/contractkit/src/kit.ts:180
↓ 6 callersFunctiongetHotfixRecord
( client: PublicCeloClient, hash: Buffer )
packages/cli/src/packages-to-be/governance.ts:21
↓ 6 callersFunctiongetL2OpChain
(network: BridgeNetwork)
packages/cli/src/utils/bridge.ts:109
↓ 6 callersFunctiongetPaths
()
packages/cli/src/utils/config.test.ts:10
↓ 6 callersFunctiongetRegionCodeFromCountryCode
(countryCode: string)
packages/sdk/phone-utils/src/phoneNumbers.ts:36
↓ 6 callersMethodgetScoreManager
()
packages/sdk/contractkit/src/contract-cache.ts:168
↓ 6 callersMethodgetVoter
(account: Address, blockNumber?: number)
packages/sdk/contractkit/src/wrappers/Election.ts:324
↓ 6 callersFunctionhexToSignatureBuffer
(value: string)
packages/sdk/wallets/wallet-ledger/src/ledger-signer.ts:19
↓ 6 callersFunctionisPriceToLow
(tx: CeloTx)
packages/sdk/wallets/wallet-base/src/signing-utils.ts:290
↓ 6 callersFunctionmapFromPairs
(pairs: [A, B][])
packages/sdk/explorer/src/base.ts:38
↓ 6 callersFunctionnodeIsSynced
(client: PublicCeloClient)
packages/cli/src/utils/helpers.ts:17
↓ 6 callersFunctionnormalizeAddress
(a: Address)
packages/sdk/base/src/address.ts:9
↓ 6 callersFunctionprefixAwareRLPDecode
(rlpEncode: string, type: OldTransactionTypes)
packages/sdk/wallets/wallet-base/src/signing-utils.ts:401
↓ 6 callersFunctionregisterAccount
(kit: ContractKit, address: string)
packages/cli/src/test-utils/chain-setup.ts:25
↓ 6 callersFunctionreportAsOracles
( sortedOracles: SortedOraclesWrapper, target: ReportTarget, oracles: Address[], rates: number
packages/sdk/contractkit/src/wrappers/SortedOracles.test.ts:26
↓ 6 callersFunctionsetupGroup
(groupAccount: string, members: number = 1)
packages/sdk/contractkit/src/wrappers/Validators.test.ts:44
↓ 6 callersMethodstageDurations
* Query durations of different stages in proposal lifecycle. * @returns Durations for approval, referendum and execution stages in seconds.
packages/sdk/contractkit/src/wrappers/Governance.ts:252
↓ 6 callersFunctionstructHash
(primaryType: string, data: EIP712Object, types: EIP712Types)
packages/sdk/utils/src/sign-typed-data-utils.ts:263
↓ 6 callersFunctiontestLocallyWithViemNode
( command: Runner, argv: string[], client: TestClientExtended, config?: Interfaces.LoadOptions )
packages/cli/src/test-utils/cliUtils.ts:49
↓ 6 callersFunctiontopUpWithToken
( kit: ContractKit, stableToken: StableToken, recipientAddress: string, amount: BigNumber )
packages/sdk/contractkit/src/test-utils/utils.ts:17
↓ 6 callersFunctiontryGetProxyImplementation
( connection: Connection, contract: Address )
packages/sdk/explorer/src/sourcify.ts:251
↓ 6 callersFunctionvalidateMnemonic
( mnemonic: string, bip39ToUse: Bip39 = bip39Wrapper, language?: MnemonicLanguages )
packages/sdk/cryptographic-utils/src/account.ts:69
↓ 6 callersFunctionvote
( adapter: VoteAdapter, validatorGroup: Address, value: bigint )
packages/core/src/staking/vote.ts:67
↓ 6 callersMethodwithSignerToAccount
( f: (account: StrongAddress, ctx: CheckBuilder) => A )
packages/cli/src/utils/checks.ts:86
↓ 6 callersFunctionzeroRange
(to: number)
packages/sdk/base/src/collections.ts:23
↓ 5 callersFunction_min
(d0: number, d1: number, d2: number, bx: number, ay: number)
packages/sdk/utils/src/levenshtein.ts:5
↓ 5 callersFunctionactivateAndVote
(groupAccount: string, userAccount: string, amount: BigNumber)
packages/sdk/contractkit/src/wrappers/Election.test.ts:89
↓ 5 callersFunctionassertCompat
(ledger: Eth)
packages/viem-account-ledger/src/utils.ts:47
↓ 5 callersMethodauthorizeAttestationSigner
* Authorize an attestation signing key on behalf of this account to another address. * @param signer The address of the signing key to authorize.
packages/sdk/contractkit/src/wrappers/Accounts.ts:166
↓ 5 callersFunctionbigNumberToBigInt
(value: BigNumber)
packages/cli/src/packages-to-be/utils.ts:9
↓ 5 callersFunctionclientWithLockedGold
(lockedGold: bigint)
packages/cli/src/packages-to-be/validators.test.ts:21
↓ 5 callersFunctioncreateL1PublicClient
(l1RpcUrl: string, network: BridgeNetwork)
packages/cli/src/utils/bridge.ts:139
↓ 5 callersFunctioncreateNameClaim
(name: string)
packages/sdk/metadata-claims/src/claim.ts:117
↓ 5 callersFunctiondeployMultiCall
(provider: Provider, address: StrongAddress)
packages/cli/src/test-utils/multicall.ts:5
↓ 5 callersFunctionencryptComment
( comment: string, pubKeyRecipient: Buffer, pubKeySelf: Buffer )
packages/sdk/cryptographic-utils/src/commentEncryption.ts:70
↓ 5 callersFunctionextractSignature
(rawTx: string)
packages/sdk/wallets/wallet-base/src/signing-utils.ts:429
↓ 5 callersMethodfetchFromURL
( contractKitOrAccountsWrapper: KitOrAccountsWrapper, url: string, tries = 3 )
packages/sdk/metadata-claims/src/metadata.ts:47
↓ 5 callersMethodforEachCeloToken
* Runs fn for each celo token found in celoTokenInfos, and returns the * value of each call in an object keyed by the token. * @param fn the fun
packages/sdk/contractkit/src/celo-tokens.ts:109
↓ 5 callersFunctiongenerateKeys
( mnemonic: string, password?: string, changeIndex: number = 0, addressIndex: number = 0, bip39ToUse
packages/sdk/cryptographic-utils/src/account.ts:390
↓ 5 callersFunctiongenerateMnemonic
( strength: MnemonicStrength = MnemonicStrength.s256_24words, language?: MnemonicLanguages, bip39ToUse =
packages/sdk/cryptographic-utils/src/account.ts:61
↓ 5 callersMethodgetAddress
(derivationPath: string)
packages/viem-account-ledger/src/test-utils.ts:130
↓ 5 callersMethodgetAddressFromKeyId
* Returns the EVM address for the given key * Useful for initially getting the 'from' field given a keyName * @param keyName Azure KeyVault key
packages/sdk/wallets/wallet-hsm-aws/src/aws-hsm-wallet.ts:92
↓ 5 callersMethodgetAddressFromKeyName
* Returns the EVM address for the given key * Useful for initially getting the 'from' field given a keyName * @param keyName Azure KeyVault key
packages/sdk/wallets/wallet-hsm-azure/src/azure-hsm-wallet.ts:51
↓ 5 callersFunctiongetAddressFromPublicKey
(publicKey: BigNumber)
packages/sdk/wallets/wallet-hsm/src/signature-utils.ts:99
↓ 5 callersMethodgetAddressFromVersionName
* Returns the EVM address for the given key * Useful for initially getting the 'from' field given a keyName * @param versionName GCP version nam
packages/sdk/wallets/wallet-hsm-gcp/src/gcp-hsm-wallet.ts:78
↓ 5 callersFunctiongetAllLanguages
()
packages/sdk/cryptographic-utils/src/account.ts:168
↓ 5 callersMethodgetConfig
* Returns current configuration parameters.
packages/sdk/contractkit/src/wrappers/Election.ts:364
↓ 5 callersMethodgetEpochNumberOfBlock
(blockNumber: number)
packages/sdk/contractkit/src/kit.ts:198
↓ 5 callersMethodgetFeeCurrencyDirectory
()
packages/sdk/contractkit/src/contract-cache.ts:142
↓ 5 callersMethodgetFirstBlockNumberForEpoch
(epochNumber: number)
packages/sdk/contractkit/src/kit.ts:186
↓ 5 callersMethodgetName
(account: Address, blockNumber?: number)
packages/sdk/contractkit/src/wrappers/Accounts.ts:377
↓ 5 callersFunctiongetProviderForKit
(url: string, options?: HttpProviderOptions)
packages/sdk/contractkit/src/setupForKits.ts:203
↓ 5 callersFunctiongetRegionCode
(e164PhoneNumber: string)
packages/sdk/phone-utils/src/phoneNumbers.ts:24
↓ 5 callersMethodgetRegisteredValidatorGroups
Get list of registered validator groups
packages/sdk/contractkit/src/wrappers/Validators.ts:488
↓ 5 callersMethodgetSortedOracles
()
packages/sdk/contractkit/src/contract-cache.ts:171
↓ 5 callersFunctiongetValidatorGroup
( client: PublicCeloClient, address: Address, getAffiliates: boolean = true, blockNumber?: number )
packages/cli/src/packages-to-be/validators.ts:103
↓ 5 callersFunctiongetValidatorsContract
( clients: T )
packages/actions/src/contracts/validators.ts:6
↓ 5 callersMethodgetValidatorsGroup
(address: Address)
packages/sdk/contractkit/src/wrappers/Validators.ts:376
↓ 5 callersFunctionimpersonateAccount
( provider: Provider, address: string, withBalance?: number | bigint | BigNumber )
packages/dev-utils/src/anvil-test.ts:94
↓ 5 callersFunctioninputAddressFormatter
(address?: string)
packages/sdk/connect/src/utils/formatter.ts:154
↓ 5 callersFunctionisNullAddress
(a: Address)
packages/sdk/base/src/address.ts:11
↓ 5 callersFunctionledgerToWalletClient
({ transport, derivationPathIndexes = zeroRange(ADDRESS_QTY), changeIndexes = [0], baseDerivationPath
packages/viem-account-ledger/src/ledger-to-wallet-client.ts:8
↓ 5 callersFunctionmineBlocks
(blocks: number, provider: Provider)
packages/dev-utils/src/ganache-test.ts:13
↓ 5 callersFunctionmockRpcFetch
({ method, result, error, }: { method: string | string[] result?: any error?: { code: RpcErrorCode
packages/cli/src/test-utils/mockRpc.ts:4
↓ 5 callersFunctionparseAccessList
(accessListRaw: AccessListRaw | undefined)
packages/sdk/connect/src/utils/formatter.ts:106
↓ 5 callersMethodparseSignatureOfAddress
(address: Address, signer: string, signature: string)
packages/sdk/contractkit/src/wrappers/Accounts.ts:538
↓ 5 callersMethodpersistKeystore
* Saves keystore entries as a file in the keystore directory * @param keystoreName File name of keystore entry * @param keystore V3Keystore stri
packages/sdk/keystores/src/file-keystore.ts:36
↓ 5 callersMethodregisterValidatorGroup
* Registers a validator group with no member validators. * Fails if the account is already a validator or validator group. * Fails if the accoun
packages/sdk/contractkit/src/wrappers/Validators.ts:548
↓ 5 callersMethodreject
(error: any)
packages/sdk/base/src/future.ts:31
↓ 5 callersMethodremoveExpiredReports
* Removes expired reports, if any exist * @param target The ReportTarget, either CeloToken or currency pair * @param numReports The upper-limit
packages/sdk/contractkit/src/wrappers/SortedOracles.ts:180
↓ 5 callersMethodreorderMember
* Reorders a member within a validator group. * Fails if `validator` is not a member of the account's validator group. * @param groupAddr The va
packages/sdk/contractkit/src/wrappers/Validators.ts:643
↓ 5 callersMethodrevoke
( account: Address, group: Address, value: BigNumber, txParams?: Omit<CeloTx, 'data'> )
packages/sdk/contractkit/src/wrappers/Election.ts:498
↓ 5 callersMethodsetWalletAddress
* Sets the wallet address for the account * @param address The address to set
packages/sdk/contractkit/src/wrappers/Accounts.ts:510
↓ 5 callersMethodsignTypedData
(typedData: EIP712TypedData)
packages/sdk/wallets/wallet-local/src/local-signer.ts:50
↓ 5 callersMethodsubmitTransaction
( destination: string, encodedData: string, value = '0', txParams?: Omit<CeloTx, 'data'> )
packages/sdk/contractkit/src/wrappers/MultiSig.ts:103
↓ 5 callersFunctiontimeTravelAndSwitchEpoch
(kit: ContractKit, provider: Provider, userAddress: string)
packages/cli/src/commands/election/activate.test.ts:445
↓ 5 callersFunctiontoFixed
(n: number | BigNumber)
packages/sdk/utils/src/fixidity.ts:6
↓ 5 callersFunctiontoNumber
(val: unknown)
packages/sdk/wallets/wallet-local/src/signing.test.ts:69
↓ 5 callersFunctiontoRecoveryBit
(v: number)
packages/sdk/utils/src/signatureUtils.ts:27
↓ 5 callersFunctionv2Url
(addr: Address)
packages/sdk/explorer/src/sourcify.test.ts:36
↓ 5 callersFunctionverifyEIP712TypedDataSigner
( typedData: EIP712TypedData, signedData: string, expectedAddress: string )
packages/sdk/wallets/wallet-base/src/signing-utils.ts:837
↓ 5 callersFunctionvote
( clients: C, proposalId: bigint, voteValue: VoteProposalTypes )
packages/actions/src/contracts/governance.ts:37
↓ 5 callersMethodwait
()
packages/sdk/base/src/future.ts:37
↓ 5 callersMethodwithAccounts
(f: (accounts: AccountsContract) => A)
packages/cli/src/utils/checks.ts:153
↓ 4 callersMethodactivate
* Activates any activatable pending votes. * * Sends one transaction per group eagerly and sequentially (unlike the old * API, which returned
packages/sdk/contractkit/src/wrappers/Election.ts:412
↓ 4 callersMethodauthorizeVoteSigner
* Authorizes an address to sign votes on behalf of the account. * @param signer The address of the vote signing key to authorize. * @param proof
packages/sdk/contractkit/src/wrappers/Accounts.ts:188
↓ 4 callersFunctionbinaryPrompt
(promptMessage: string, defaultToNo?: boolean)
packages/cli/src/utils/cli.ts:206
↓ 4 callersFunctionbitIsSet
(bitmap: Bitmap, index: number)
packages/sdk/utils/src/istanbul.ts:65
↓ 4 callersFunctioncalculateSHA256
(fileName)
packages/cli/homebrew/scripts/prepare.mjs:29
↓ 4 callersFunctionchainIdTransformationForSigning
(chainId: number)
packages/sdk/wallets/wallet-base/src/signing-utils.ts:62
↓ 4 callersMethodcheckAtLeastNParams
(params: any[], n: number)
packages/sdk/connect/src/celo-provider.ts:168
↓ 4 callersFunctioncheckForKnownToken
( ledger: Eth, { to, chainId, feeCurrency }: { to: string; chainId: number; feeCurrency?: Address } )
packages/viem-account-ledger/src/utils.ts:77
← previousnext →201–300 of 1,444, ranked by callers