Skip to content

Commit

Permalink
Update generator/features/assetListing.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Harsh Pandey <[email protected]>
  • Loading branch information
Rozengarden and brotherlymite authored Oct 7, 2024
1 parent e0c3621 commit 33262dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/features/assetListing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const assetListing: FeatureModule<Listing[]> = {
let listingConstant = `address public constant ${cfg.assetSymbol} = ${translateJsAddressToSol(cfg.asset)};\n`;
listingConstant += `uint256 public constant ${cfg.assetSymbol}_SEED_AMOUNT = 1e${cfg.decimals};\n`;
if (isAddress(cfg.admin)) {
listingConstant += `address public constant ${cfg.assetSymbol}_ADMIN = ${translateJsAddressToSol(cfg.admin)};\n`;
listingConstant += `address public constant ${cfg.assetSymbol}_LM_ADMIN = ${translateJsAddressToSol(cfg.admin)};\n`;
}
return listingConstant;
}),
Expand Down

0 comments on commit 33262dd

Please sign in to comment.