@etherspot/contracts
Version:
Etherspot Solidity contracts
16 lines (15 loc) • 525 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const func = async function (hre) {
const { deployments: { deploy }, getNamedAccounts, ethers, } = hre;
const { from } = await getNamedAccounts();
const diamondCutFacet = await ethers.getContract('DiamondCutFacet');
await deploy('Diamond', {
from,
args: [from, diamondCutFacet.address],
log: true,
deterministicDeployment: true,
});
};
func.tags = ['bridges', 'diamond'];
exports.default = func;