token-gallery-contracts/migrations/5_erc1155facet_migration.js

24 lines
815 B
JavaScript
Raw Normal View History

2025-01-18 12:44:49 +00:00
/* 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);
}