MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / getDeployedFacetAddressFromName

Function getDeployedFacetAddressFromName

contracts/scripts/util.ts:399–405  ·  view source on GitHub ↗
(facetName, deployments)

Source from the content-addressed store, hash-verified

397}
398
399function getDeployedFacetAddressFromName(facetName, deployments) {
400 for (let facet of deployments.Facets) {
401 if (facet.name === facetName) {
402 return facet.address
403 }
404 }
405}
406
407/**
408 * Handle facet upgrades on chain.

Callers 1

upgradeFacetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected