Skip to content

Commit

Permalink
chore: nft rent ignition module
Browse files Browse the repository at this point in the history
  • Loading branch information
kostyamospan committed May 31, 2024
1 parent 8a64b20 commit fede0d7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ignition/modules/NftRent.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules';
import { artifacts } from 'hardhat';

Check failure on line 2 in ignition/modules/NftRent.ts

View workflow job for this annotation

GitHub Actions / codestyle

There should be at least one empty line between import groups
import SmartWalletFactoryV1Module from './SmartWalletFactoryV1';

const NAME = 'NftRent';

const NftRentModule = buildModule(NAME, (m) => {
const { factory } = m.useModule(SmartWalletFactoryV1Module);

const nftRent = m.contract(NAME, artifacts.readArtifactSync(NAME), [factory]);

return { nftRent };
});

export default NftRentModule;

0 comments on commit fede0d7

Please sign in to comment.