File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ export default function InteractionClient() {
423423 } ;
424424
425425 console . log ( 'Contract returned maxMintableAmount:' , {
426- raw : maxMintable . toString ( ) ,
426+ raw : ( maxMintable as bigint ) . toString ( ) ,
427427 formatted : maxMintableAmountNumber ,
428428 currentSupply : newTokenDetails . currentSupply ,
429429 maxSupply : newTokenDetails . maxSupply ,
Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ const fields = [
110110 description : "Maximum supply expansion rate per year, for expansions above the supply threshold." ,
111111 validate : ( value : string ) => ( {
112112 isValid : / ^ \d + $ / . test ( value ) &&
113- parseInt ( value ) >= 1 &&
113+ parseInt ( value ) >= 0 &&
114114 parseInt ( value ) <= 100 ,
115- errorMessage : "Expansion rate must be between 1 and 100"
115+ errorMessage : "Expansion rate must be between 0 and 100"
116116 } )
117117 } ,
118118] ;
You can’t perform that action at this time.
0 commit comments