token-gallery-contracts/migrations/3_diamondcutfacet_migration.js

15 lines
446 B
JavaScript

/* eslint-disable prefer-const */
/* global artifacts */
module.exports = async function (deployer, network, accounts) {
const LibControl = artifacts.require('LibControl');
const LibDiamond = artifacts.require('LibDiamond');
const DiamondCutFacet = artifacts.require('DiamondCutFacet');
await deployer.link(LibControl, DiamondCutFacet);
await deployer.link(LibDiamond, DiamondCutFacet);
await deployer.deploy(DiamondCutFacet)
}