bnpl
Version:
The smart contracts for bnpl
17 lines (14 loc) • 469 B
text/typescript
import { HardhatRuntimeEnvironment } from "hardhat/types"
import { DeployFunction } from "hardhat-deploy/types"
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const { deployments, getNamedAccounts } = hre
const { deploy } = deployments
const { deployer } = await getNamedAccounts()
await deploy("ERC4907", {
from: deployer,
log: true,
skipIfAlreadyDeployed: true,
})
}
export default func
func.tags = ["ERC4907"]