File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
apps/dashboard/src/components
contract-components/contract-deploy-form Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -522,10 +522,6 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
522522
523523 return (
524524 < >
525- < p className = "mb-3 text-muted-foreground text-sm" >
526- A 2.5% minting fee is applied per primary sale at no cost to the
527- contract deployer.
528- </ p >
529525 < FormProvider { ...form } >
530526 < Flex
531527 flexGrow = { 1 }
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ export const PrimarySaleFieldset: React.FC<PrimarySaleFieldsetProps> = (
2727 >
2828 < SolidityInput solidityType = "address" { ...props . register } />
2929 </ FormFieldSetup >
30+ < p className = "mb-3 pt-4 text-muted-foreground text-sm italic" >
31+ A 2.5% platform fee is deducted from each primary sale price to support
32+ ongoing platform operations and improvements.
33+ </ p >
3034 </ Fieldset >
3135 ) ;
3236} ;
Original file line number Diff line number Diff line change @@ -286,7 +286,14 @@ export const ContractFunctionsPanel: React.FC<ContractFunctionsPanelProps> = ({
286286} ) => {
287287 // TODO: clean this up
288288 const functionsWithExtension = useMemo ( ( ) => {
289- const allFunctions = fnsOrEvents . filter ( ( f ) => f . type === "function" ) ;
289+ const allFunctions = fnsOrEvents
290+ . filter ( ( f ) => f . type === "function" )
291+ . filter (
292+ ( f ) =>
293+ f . name !== "setPlatformFeeInfo" &&
294+ f . name !== "setFlatPlatformFeeInfo" &&
295+ f . name !== "setPlatformFeeType" ,
296+ ) ;
290297 const results : ExtensionFunctions [ ] = [ ] ;
291298 results . push ( {
292299 extension : "" ,
You can’t perform that action at this time.
0 commit comments