/* eslint-disable prefer-const */ /* global artifacts */ module.exports = async function (deployer, network, accounts) { const LibControl = artifacts.require('LibControl'); const LibPause = artifacts.require('LibPause'); const LibERC1155 = artifacts.require('LibERC1155'); const Address = artifacts.require('Address'); const SafeMath = artifacts.require('SafeMath'); const Strings = artifacts.require('Strings'); const ERC1155Facet = artifacts.require('ERC1155Facet'); await deployer.link(LibControl, ERC1155Facet); await deployer.link(LibPause, ERC1155Facet); await deployer.link(LibERC1155, ERC1155Facet); await deployer.link(Address, ERC1155Facet); await deployer.link(SafeMath, ERC1155Facet); await deployer.link(Strings, ERC1155Facet); await deployer.deploy(ERC1155Facet); }