token-gallery-contracts/migrations/7_sellablefacet_migration.js

22 lines
741 B
JavaScript

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