Skip to content

Commit

Permalink
fix check-protocol-fee script
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed May 11, 2023
1 parent 9c18d52 commit dd84840
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/check-protocol-fee.ts
Expand Up @@ -16,11 +16,12 @@ let protocolWallet: SignerWithAddress;
const YEAR = 1; // 1 year

async function showPrice(length, paymentMethod) {
const { price, protocolFee } = await soulStore.getPriceForMintingName(
paymentMethod,
length,
YEAR
);
const { price, protocolFee } =
await soulStore.getPriceForMintingNameWithProtocolFee(
paymentMethod,
length,
YEAR
);
const paymentMethodStr =
paymentMethod === ethers.constants.AddressZero ? "ETH " : "USDC";
console.log(
Expand Down

0 comments on commit dd84840

Please sign in to comment.