MCPcopy Create free account

hub / github.com/OpenZeppelin/openzeppelin-upgrades / functions

Functions637 in github.com/OpenZeppelin/openzeppelin-upgrades

↓ 1 callersFunctiongetOverrides
()
packages/core/hardhat.config.js:34
↓ 1 callersFunctiongetParentDefinition
(deref: ASTDereferencer, contractOrFunctionDef: ContractDefinition | FunctionDefinition)
packages/core/src/validate/run.ts:553
↓ 1 callersFunctiongetParentNameToInitializersMap
* Gets a map of parent contract names to their possible initializers. * If a parent contract has no initializers, it is not included in the map.
packages/core/src/validate/run/initializer.ts:77
↓ 1 callersFunctiongetParentsNotInitializedByOtherParents
* Returns parent contract names that are not initialized by other parent contracts, * keeping the same order as they appear in the original lineariza
packages/core/src/validate/run/initializer.ts:113
↓ 1 callersFunctiongetProjectFile
()
packages/core/src/scripts/migrate-oz-cli-project.ts:105
↓ 1 callersFunctiongetRecursiveFunctionIds
* Gets the IDs of all functions that are recursively called by the given function, including the given function itself at the end of the list. * * @
packages/core/src/validate/run/initializer.ts:292
↓ 1 callersFunctiongetReferencedFunctionOpcodeErrors
( contractOrFunctionDef: ContractDefinition | FunctionDefinition, deref: ASTDereferencer, decodeSrc: Src
packages/core/src/validate/run.ts:475
↓ 1 callersFunctiongetReferencedLibraryIds
(contractDef: ContractDefinition)
packages/core/src/validate/run.ts:596
↓ 1 callersFunctiongetReport
(t: ExecutionContext<Context>, contractName: string)
packages/core/src/cli/validate/validations.test.ts:31
↓ 1 callersFunctiongetSimulatedData
* Gets data for a simulated deployment of the given contract to the given address.
packages/plugin-hardhat/src/utils/simulate-deploy.ts:27
↓ 1 callersFunctiongetSource
(sourceId: number)
packages/core/src/src-decoder.ts:14
↓ 1 callersFunctiongetSpdxLicenseIdentifier
* Get the SPDX license identifier from the contract metadata without validating it.
packages/plugin-hardhat/src/defender/deploy.ts:249
↓ 1 callersFunctiongetStandaloneReport
( data: ValidationData, version: Version, opts: Required<ValidationOptions>, excludeWithDefaults: stri
packages/core/src/cli/validate/contract-report.ts:180
↓ 1 callersFunctiongetStateVariableErrors
( contractDef: ContractDefinition, decodeSrc: SrcDecoder, )
packages/core/src/validate/run.ts:568
↓ 1 callersFunctiongetStorageAt
( provider: EthereumProvider, address: string, position: string, block = 'latest', )
packages/core/src/provider.ts:69
↓ 1 callersFunctiongetStringLiteralValue
(literal: Literal)
packages/core/src/utils/erc7201-builtin.ts:84
↓ 1 callersFunctiongetSuffix
(chainId: number, devInstanceMetadata?: DevInstanceMetadata)
packages/core/src/manifest.ts:87
↓ 1 callersFunctiongetUnsafeAllowKinds
(parseArgs: minimist.ParsedArgs)
packages/core/src/cli/validate.ts:172
↓ 1 callersFunctiongetUpgradeabilityAssessment
( contract: SourceContract, buildInfoDictionary: BuildInfoDictionary, overrideReferenceContract?: Source
packages/core/src/cli/validate/upgradeability-assessment.ts:19
↓ 1 callersFunctiongetUpgradeableContractReport
* Gets a report for an upgradeable contract. * Returns undefined if the contract is excluded or is abstract.
packages/core/src/cli/validate/contract-report.ts:131
↓ 1 callersFunctiongetUpgrader
(proxyAddress: string, opts: UpgradeProxyOptions, signer?: Signer)
packages/plugin-hardhat/src/upgrade-proxy.ts:60
↓ 1 callersFunctiongetUpgradesFrom
(doc: string, contract: SourceContract)
packages/core/src/cli/validate/upgradeability-assessment.ts:93
↓ 1 callersFunctiongetUsedContracts
(contractName: string, runValidation: ValidationRunData)
packages/core/src/validate/query.ts:183
↓ 1 callersFunctiongetVariableDeclarations
* Gets variables declared directly in a contract or in a struct definition. * * If this is a contract with struct definitions annotated with a stora
packages/core/src/validate/run.ts:677
↓ 1 callersMethodgetVisibilityChange
(original: ParsedTypeDetailed, updated: ParsedTypeDetailed)
packages/core/src/storage/compare.ts:190
↓ 1 callersFunctionhardhatCompile
(input: SolcInput, solcVersion: string)
packages/core/src/utils/make-namespaced.test.ts:78
↓ 1 callersFunctionhasBuildInfoDirWithContractName
(contractName: string)
packages/core/src/cli/validate/find-contract.ts:83
↓ 1 callersFunctionhasBuildInfoDirWithFullyQualifiedName
(contractName: string)
packages/core/src/cli/validate/find-contract.ts:87
↓ 1 callersFunctionhasInitializerNameOrModifier
(fnDef: FunctionDefinition)
packages/core/src/validate/run/initializer.ts:361
↓ 1 callersFunctionhasPropertyStartsWith
(obj, prefix)
packages/core/scripts/copy-build-info-v5.js:18
↓ 1 callersFunctionhasValidateAsInitializerAnnotation
(node: Node, decodeSrc: SrcDecoder)
packages/core/src/validate/run/initializer.ts:348
↓ 1 callersFunctionhelp
(parsedArgs: minimist.ParsedArgs, extraArgs: string[])
packages/core/src/cli/validate.ts:63
↓ 1 callersFunctionimportProxyToManifest
( provider: EthereumProvider, hre: HardhatRuntimeEnvironment, proxyAddress: string, implAddress: strin
packages/plugin-hardhat/src/force-import.ts:69
↓ 1 callersFunctioninferConstructorArgs
(txInput: string, creationCode: string)
packages/plugin-hardhat/src/verify-proxy.ts:552
↓ 1 callersFunctioninferPossibleInitializer
* Infers whether a function could be an initializer. Does not include private functions. * For parent contracts, only internal and public functions w
packages/core/src/validate/run/initializer.ts:372
↓ 1 callersFunctioninjectAstIntoArtifacts
(artifactPaths: string[], buildInfoDir: string)
packages/plugin-hardhat/src/hooks/solidity.ts:218
↓ 1 callersFunctionisCurrentLayoutVersion
(layout: StorageLayout)
packages/core/src/storage/extract.ts:23
↓ 1 callersFunctionisFullSolcOutput
(output: MaybeSolcOutput | undefined)
packages/plugin-hardhat/src/utils/is-full-solc-output.ts:7
↓ 1 callersFunctionisPublicNetwork
(network: string)
packages/core/src/scripts/migrate-oz-cli-project.ts:128
↓ 1 callersFunctionisReceiptSuccessful
(receipt: Pick<EthereumTransactionReceipt, 'status'>)
packages/core/src/provider.ts:169
↓ 1 callersMethodisRetypedFromOriginal
(original: StorageField, updated: StorageField)
packages/core/src/storage/compare.ts:232
↓ 1 callersFunctionlinkBytecode
(artifact, libraries)
packages/plugin-hardhat/test/transparent-linked-libraries.js:107
↓ 1 callersFunctionlinkBytecode
(artifact, libraries)
packages/plugin-hardhat/test/uups-linked-libraries.js:107
↓ 1 callersFunctionlinkBytecode
(artifact, libraries)
packages/plugin-hardhat/test/beacon-linked-libraries.js:106
↓ 1 callersFunctionloadBaseSlot
(contractDef: ContractDefinition, decodeSrc: SrcDecoder, layout: StorageLayout)
packages/core/src/storage/extract.ts:108
↓ 1 callersFunctionloadBuildInfo
(buildInfoFilePath: string)
packages/core/src/cli/validate/build-info-file.ts:171
↓ 1 callersFunctionloadNamespaces
( decodeSrc: SrcDecoder, layout: StorageLayout, origContext: CompilationContext, namespacedContext?: C
packages/core/src/storage/namespace.ts:33
↓ 1 callersFunctionlookupDeployment
( data: ManifestData, address: string, checkAllAddresses: boolean, )
packages/core/src/impl-store.ts:261
↓ 1 callersFunctionmain
()
packages/plugin-hardhat/examples/BoxTransparent/scripts/2-upgrade.ts:6
↓ 1 callersFunctionmain
()
packages/plugin-hardhat/examples/BoxTransparent/scripts/1-deploy.ts:4
↓ 1 callersFunctionmain
()
packages/plugin-hardhat/examples/BoxUUPS/scripts/2-upgrade.ts:6
↓ 1 callersFunctionmain
()
packages/plugin-hardhat/examples/BoxUUPS/scripts/1-deploy.ts:4
↓ 1 callersFunctionmain
(args: string[])
packages/core/src/cli/validate.ts:27
↓ 1 callersFunctionmain
()
packages/core/scripts/verify.js:43
↓ 1 callersFunctionmakeChangeProxyAdmin
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/admin.ts:31
↓ 1 callersFunctionmakeDeployBeacon
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/deploy-beacon.ts:22
↓ 1 callersFunctionmakeDeployBeaconProxy
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/deploy-beacon-proxy.ts:44
↓ 1 callersFunctionmakeDeployImplementation
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/deploy-implementation.ts:16
↓ 1 callersFunctionmakeDeployProxy
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/deploy-proxy.ts:40
↓ 1 callersFunctionmakeForceImport
(hre: HardhatRuntimeEnvironment, connection: NetworkConnection)
packages/plugin-hardhat/src/force-import.ts:36
↓ 1 callersFunctionmakeGetDeployApprovalProcess
( hre: HardhatRuntimeEnvironment, connection: NetworkConnection, )
packages/plugin-hardhat/src/defender/get-approval-process.ts:17
↓ 1 callersFunctionmakeGetUpgradeApprovalProcess
( hre: HardhatRuntimeEnvironment, connection: NetworkConnection, )
packages/plugin-hardhat/src/defender/get-approval-process.ts:26
↓ 1 callersFunctionmakeInsertBefore
(node: Node, text: string)
packages/core/src/utils/make-namespaced.ts:349
↓ 1 callersFunctionmakeNamespacedCompilationJob
* Wraps a compilation job so that it feeds solc a modified (namespaced) input while * reusing the original job's compiler version, settings, and depe
packages/plugin-hardhat/src/hooks/solidity.ts:60
↓ 1 callersFunctionmakePrepareUpgrade
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/prepare-upgrade.ts:30
↓ 1 callersFunctionmakeProposeUpgradeWithApproval
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/defender/propose-upgrade-with-approval.ts:34
↓ 1 callersFunctionmakeTransferProxyAdminOwnership
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/admin.ts:56
↓ 1 callersFunctionmakeUpgradeBeacon
( hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection, )
packages/plugin-hardhat/src/upgrade-beacon.ts:23
↓ 1 callersFunctionmakeValidateImplementation
( hre: HardhatRuntimeEnvironment, connection: NetworkConnection, )
packages/plugin-hardhat/src/validate-implementation.ts:15
↓ 1 callersFunctionmakeValidateUpgrade
( hre: HardhatRuntimeEnvironment, connection: NetworkConnection, )
packages/plugin-hardhat/src/validate-upgrade.ts:30
↓ 1 callersMethodmerge
(value: T | undefined)
packages/core/src/impl-store.ts:25
↓ 1 callersFunctionmigrateManifest
(data: ManifestData)
packages/core/src/manifest.ts:315
↓ 1 callersFunctionmigrateManifestFiles
(manifestFiles: string[])
packages/core/src/scripts/migrate-oz-cli-project.ts:31
↓ 1 callersFunctionminBy
(arr: [T, ...T[]], value: (item: T) => number)
packages/core/src/levenshtein.ts:95
↓ 1 callersFunctionmine
()
packages/core/src/stub-provider.ts:20
↓ 1 callersFunctionmockManifest
(data: ManifestData)
packages/core/src/manifest-storage-layout.test.ts:97
↓ 1 callersMethodmoveFileIfRequired
()
packages/core/src/manifest.ts:236
↓ 1 callersFunctionnormalizeIdentifiers
(input: SolcInput)
packages/core/src/utils/make-namespaced.test.ts:66
↓ 1 callersFunctionparseArgs
(args: string[])
packages/core/src/cli/validate.ts:45
↓ 1 callersFunctionparseNumberOrUndefined
(value?: string | number | null)
packages/plugin-hardhat/src/defender/utils.ts:239
↓ 1 callersFunctionparseTxOverrides
(overrides?: Overrides)
packages/plugin-hardhat/src/defender/utils.ts:209
↓ 1 callersFunctionprocessBeaconImpl
* Asserts that the address is not a proxy and returns the beacon's implementation address.
packages/plugin-hardhat/src/utils/validate-impl.ts:31
↓ 1 callersFunctionprocessExceptions
( contractName: string, errors: ValidationError[], opts: ValidationOptions, )
packages/core/src/validate/overrides.ts:134
↓ 1 callersFunctionprocessProxyImpl
* Processes the proxy kind and returns the implementation address if proxyAddress is provided.
packages/plugin-hardhat/src/utils/validate-impl.ts:17
↓ 1 callersFunctionprocessProxyKind
( provider: EthereumProvider, proxyAddress: string | undefined, opts: ValidationOptions, data: Validat
packages/core/src/proxy-kind.ts:38
↓ 1 callersFunctionreadBuildInfo
(buildInfoFilePaths: string[], dirShortName: string)
packages/core/src/cli/validate/build-info-file.ts:136
↓ 1 callersFunctionreadCache
()
packages/plugin-hardhat/test/force-recompile-on-outdated-cache.js:12
↓ 1 callersFunctionremoveProjectPrefix
* Removes the 'project/' prefix from a fully qualified name if present. * In Hardhat 3, validation data uses 'project/' prefix for local contracts *
packages/plugin-hardhat/src/defender/deploy.ts:41
↓ 1 callersFunctionrunValidations
(buildInfoFile: BuildInfoFile)
packages/core/src/cli/validate/validations.ts:28
↓ 1 callersFunctionsearchEvent
( etherscan: Etherscan, address: string, possibleContractInfo: VerifiableContractInfo[], )
packages/plugin-hardhat/src/verify-proxy.ts:326
↓ 1 callersFunctionserializeTypeName
(typeName: TypeName, deref: ASTDereferencer)
packages/core/src/utils/function.ts:17
↓ 1 callersFunctionsetProxyKind
( provider: EthereumProvider, proxyAddress: string, opts: ValidationOptions, )
packages/core/src/proxy-kind.ts:9
↓ 1 callersFunctionsimulateDeployImpl
( hre: HardhatRuntimeEnvironment, ImplFactory: ContractFactory, opts: UpgradeOptions, implAddress: str
packages/plugin-hardhat/src/utils/simulate-deploy.ts:13
↓ 1 callersFunctiontestOverride
(name: string, kind: ValidationOptions['kind'], opts: ValidationOptions, valid: boolean)
packages/core/src/validate-ignore-errors.test.ts:73
↓ 1 callersFunctiontoCompilerInput
* Converts upgrades-core's SolcInput to Hardhat's CompilerInput.
packages/plugin-hardhat/src/hooks/solidity.ts:40
↓ 1 callersFunctiontoDummyEnumWithName
(name: string)
packages/core/src/utils/make-namespaced.ts:250
↓ 1 callersFunctiontoLicenseType
* Infers a SourceCodeLicense from an SPDX license identifier.
packages/plugin-hardhat/src/defender/deploy.ts:272
↓ 1 callersFunctiontoReturnParameterReplacement
(param: VariableDeclaration)
packages/core/src/utils/make-namespaced.ts:329
↓ 1 callersFunctiontoSolcInput
* Converts Hardhat's CompilerInput to upgrades-core's SolcInput. * The types are structurally compatible for the fields we use.
packages/plugin-hardhat/src/hooks/solidity.ts:25
↓ 1 callersFunctiontransformDynArrayTypeName
(typeName: string, getAstId: AstIdGetter)
packages/core/src/scripts/migrate-oz-cli-project.ts:322
← previousnext →401–500 of 637, ranked by callers