Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/src/app/[cat]/InteractionClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export default function InteractionClient() {
};

console.log('Contract returned maxMintableAmount:', {
raw: maxMintable.toString(),
raw: (maxMintable as bigint).toString(),
formatted: maxMintableAmountNumber,
currentSupply: newTokenDetails.currentSupply,
maxSupply: newTokenDetails.maxSupply,
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ const fields = [
description: "Maximum supply expansion rate per year, for expansions above the supply threshold.",
validate: (value: string) => ({
isValid: /^\d+$/.test(value) &&
parseInt(value) >= 1 &&
parseInt(value) >= 0 &&
parseInt(value) <= 100,
errorMessage: "Expansion rate must be between 1 and 100"
errorMessage: "Expansion rate must be between 0 and 100"
})
},
];
Expand Down