Skip to content

Commit 08f43d9

Browse files
committed
Update comments
1 parent 0f77384 commit 08f43d9

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

contracts/SecurityTokenRegistry.sol

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ contract SecurityTokenRegistry is EternalStorage, Proxy {
165165
* @notice Initializes instance of STR
166166
* @param _polymathRegistry is the address of the Polymath Registry
167167
* @param _STFactory is the address of the Proxy contract for Security Tokens
168-
* @param _stLaunchFee is the fee in POLY required to launch a token
169-
* @param _tickerRegFee is the fee in POLY required to register a ticker
168+
* @param _stLaunchFee is the fee in USD required to launch a token
169+
* @param _tickerRegFee is the fee in USD required to register a ticker
170170
* @param _owner is the owner of the STR,
171171
* @param _getterContract Contract address of the contract which consists getter functions.
172172
*/
@@ -252,7 +252,7 @@ contract SecurityTokenRegistry is EternalStorage, Proxy {
252252
function registerTicker(address _owner, string calldata _ticker, string calldata _tokenName) external whenNotPausedOrOwner {
253253
require(_owner != address(0), "Owner should not be 0x");
254254
require(bytes(_ticker).length > 0 && bytes(_ticker).length <= 10, "Ticker length range (0,10]");
255-
// Attempt to charge the reg fee if it is > 0 POLY
255+
// Attempt to charge the reg fee if it is > 0 USD
256256
(uint256 _usdFee, uint256 _polyFee) = _takeFee(TICKERREGFEE);
257257
string memory ticker = Util.upper(_ticker);
258258
require(_tickerAvailable(ticker), "Ticker is reserved");
@@ -609,8 +609,8 @@ contract SecurityTokenRegistry is EternalStorage, Proxy {
609609
}
610610

611611
/**
612-
* @notice Sets the ticker registration fee in POLY tokens. Only Polymath.
613-
* @param _tickerRegFee is the registration fee in POLY tokens (base 18 decimals)
612+
* @notice Sets the ticker registration fee in USD tokens. Only Polymath.
613+
* @param _tickerRegFee is the registration fee in USD tokens (base 18 decimals)
614614
*/
615615
function changeTickerRegistrationFee(uint256 _tickerRegFee) external onlyOwner {
616616
uint256 fee = getUintValue(TICKERREGFEE);
@@ -620,8 +620,8 @@ contract SecurityTokenRegistry is EternalStorage, Proxy {
620620
}
621621

622622
/**
623-
* @notice Sets the ticker registration fee in POLY tokens. Only Polymath.
624-
* @param _stLaunchFee is the registration fee in POLY tokens (base 18 decimals)
623+
* @notice Sets the ticker registration fee in USD tokens. Only Polymath.
624+
* @param _stLaunchFee is the registration fee in USD tokens (base 18 decimals)
625625
*/
626626
function changeSecurityLaunchFee(uint256 _stLaunchFee) external onlyOwner {
627627
uint256 fee = getUintValue(STLAUNCHFEE);

contracts/modules/ModuleFactory.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import "../libraries/DecimalMath.sol";
1414
* @notice Contract is abstract
1515
*/
1616
contract ModuleFactory is IModuleFactory, Ownable {
17+
// Fee to create underlying module in USD
1718
uint256 public setupCost;
1819
uint256 public usageCost;
1920
address public polymathRegistry;
@@ -42,7 +43,7 @@ contract ModuleFactory is IModuleFactory, Ownable {
4243

4344
/**
4445
* @notice Used to change the fee of the setup cost
45-
* @param _newSetupCost new setup cost
46+
* @param _newSetupCost new setup cost in USD
4647
*/
4748
function changeSetupCost(uint256 _newSetupCost) public onlyOwner {
4849
emit ChangeSetupCost(setupCost, _newSetupCost);
@@ -51,7 +52,7 @@ contract ModuleFactory is IModuleFactory, Ownable {
5152

5253
/**
5354
* @notice Used to change the fee of the usage cost
54-
* @param _newUsageCost new usage cost
55+
* @param _newUsageCost new usage cost in USD
5556
*/
5657
function changeUsageCost(uint256 _newUsageCost) public onlyOwner {
5758
emit ChangeUsageCost(usageCost, _newUsageCost);

0 commit comments

Comments
 (0)