@@ -1248,7 +1248,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1248
1248
/**
1249
1249
* A security token issuer can specify that issuance has finished for the token
1250
1250
* (i.e. no new tokens can be minted or issued).
1251
- * @dev If a token returns FALSE for `isIssuable()` then it MUST always return FALSE in the future.
1251
+ * If a token returns FALSE for `isIssuable()` then it MUST always return FALSE in the future.
1252
1252
* If a token returns FALSE for `isIssuable()` then it MUST never allow additional tokens to be issued.
1253
1253
* @return bool `true` signifies the minting is allowed. While `false` denotes the end of minting
1254
1254
*/
@@ -1267,7 +1267,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1267
1267
/**
1268
1268
* In order to provide transparency over whether `controllerTransfer` / `controllerRedeem` are useable
1269
1269
* or not `isControllable` function will be used.
1270
- * @dev If `isControllable` returns `false` then it always return `false` and
1270
+ * If `isControllable` returns `false` then it always return `false` and
1271
1271
* `controllerTransfer` / `controllerRedeem` will always revert.
1272
1272
* @return bool `true` when controller address is non-zero otherwise return `false`.
1273
1273
*/
@@ -1395,7 +1395,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1395
1395
1396
1396
/**
1397
1397
* Allows the owner to withdraw unspent POLY stored by them on the ST or any ERC20 token.
1398
- * @dev Owner can transfer POLY to the ST which will be used to pay for modules that require a POLY fee.
1398
+ * Owner can transfer POLY to the ST which will be used to pay for modules that require a POLY fee.
1399
1399
*/
1400
1400
public withdrawERC20 = async ( params : WithdrawERC20Params ) => {
1401
1401
assert . isNonZeroETHAddressHex ( 'tokenContract' , params . tokenContract ) ;
@@ -1590,7 +1590,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1590
1590
1591
1591
/**
1592
1592
* Permanently freeze issuance of this security token.
1593
- * @dev It MUST NOT be possible to increase `totalSupply` after this function is called.
1593
+ * It MUST NOT be possible to increase `totalSupply` after this function is called.
1594
1594
*/
1595
1595
public freezeIssuance = async ( params : FreezeIssuanceParams ) => {
1596
1596
assert . assert ( await this . isIssuable ( ) , 'Issuance frozen' ) ;
@@ -1610,7 +1610,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1610
1610
1611
1611
/**
1612
1612
* This function must be called to increase the total supply (Corresponds to mint function of ERC20).
1613
- * @dev It is only be called by the token issuer or the operator defined by the issuer. ERC1594 doesn't have
1613
+ * It is only be called by the token issuer or the operator defined by the issuer. ERC1594 doesn't have
1614
1614
* have the any logic related to operator but its superset ERC1400 have the operator logic and this function
1615
1615
* is allowed to call by the operator.
1616
1616
*/
@@ -1676,8 +1676,8 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1676
1676
1677
1677
/**
1678
1678
* Validate permissions with PermissionManager if it exists, If no Permission return false
1679
- * @dev Note that IModule withPerm will allow ST owner all permissions anyway
1680
- * @dev this allows individual modules to override this logic if needed (to not allow ST owner all permissions)
1679
+ * Note that IModule withPerm will allow ST owner all permissions anyway
1680
+ * this allows individual modules to override this logic if needed (to not allow ST owner all permissions)
1681
1681
* @return success
1682
1682
*/
1683
1683
public checkPermission = async ( params : CheckPermissionParams ) : Promise < boolean > => {
@@ -1722,7 +1722,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1722
1722
1723
1723
/**
1724
1724
* Decreases totalSupply and the corresponding amount of the specified partition of tokenHolder
1725
- * @dev This function can only be called by the authorised operator.
1725
+ * This function can only be called by the authorised operator.
1726
1726
* @param partition The partition to allocate the decrease in balance.
1727
1727
* @param tokenHolder The token holder whose balance should be decreased
1728
1728
* @param value The amount by which to decrease the balance
@@ -1749,7 +1749,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1749
1749
* This function redeem an amount of the token of a msg.sender. For doing so msg.sender may incentivize
1750
1750
* using different ways that could be implemented with in the `redeem` function definition. But those implementations
1751
1751
* are out of the scope of the ERC1594.
1752
- * @dev It is analogy to `transferFrom`
1752
+ * It is analogy to `transferFrom`
1753
1753
*/
1754
1754
public redeemFrom = async ( params : RedeemFromParams ) => {
1755
1755
await this . checkBalanceFromGreaterThanValue ( params . from , params . value ) ;
@@ -1946,7 +1946,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1946
1946
1947
1947
/**
1948
1948
* Used by the issuer to permanently disable controller functionality
1949
- * @dev enabled via feature switch "disableControllerAllowed"
1949
+ * enabled via feature switch "disableControllerAllowed"
1950
1950
*/
1951
1951
public disableController = async ( params : DisableControllerParams ) => {
1952
1952
await this . checkOnlyOwner ( params . txData ) ;
@@ -1962,7 +1962,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1962
1962
* This function allows an authorised address to transfer tokens between any two token holders.
1963
1963
* The transfer must still respect the balances of the token holders (so the transfer must be for at most
1964
1964
* `balanceOf(_from)` tokens) and potentially also need to respect other transfer restrictions.
1965
- * @dev This function can only be executed by the `controller` address.
1965
+ * This function can only be executed by the `controller` address.
1966
1966
*/
1967
1967
public controllerTransfer = async ( params : ControllerTransferParams ) => {
1968
1968
assert . isETHAddressHex ( 'from' , params . from ) ;
@@ -1985,7 +1985,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
1985
1985
* This function allows an authorised address to redeem tokens for any token holder.
1986
1986
* The redemption must still respect the balances of the token holder (so the redemption must be for at most
1987
1987
* `balanceOf(tokenHolder)` tokens) and potentially also need to respect other transfer restrictions.
1988
- * @dev This function can only be executed by the `controller` address.
1988
+ * This function can only be executed by the `controller` address.
1989
1989
*/
1990
1990
public controllerRedeem = async ( params : ControllerRedeemParams ) => {
1991
1991
assert . isETHAddressHex ( 'from' , params . from ) ;
@@ -2025,11 +2025,11 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
2025
2025
2026
2026
/**
2027
2027
* Function used to attach a module to the security token
2028
- * @dev E.G.: On deployment (through the STR) ST gets a TransferManager module attached to it
2029
- * @dev to control restrictions on transfers.
2030
- * @dev You are allowed to add a new moduleType if:
2031
- * @dev - there is no existing module of that type yet added
2032
- * @dev - the last member of the module list is replacable
2028
+ * E.G.: On deployment (through the STR) ST gets a TransferManager module attached to it
2029
+ * to control restrictions on transfers.
2030
+ * You are allowed to add a new moduleType if:
2031
+ * - there is no existing module of that type yet added
2032
+ * - the last member of the module list is replacable
2033
2033
*/
2034
2034
public addModule : AddModuleInterface = async ( params : AddModuleParams ) => {
2035
2035
const producedAddModuleInfo = await this . addModuleRequirementsAndGetData ( params ) ;
@@ -2046,8 +2046,8 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
2046
2046
2047
2047
/**
2048
2048
* Attachs a module to the SecurityToken
2049
- * @dev E.G.: On deployment (through the STR) ST gets a TransferManager module attached to it
2050
- * @dev to control restrictions on transfers.
2049
+ * E.G.: On deployment (through the STR) ST gets a TransferManager module attached to it
2050
+ * to control restrictions on transfers.
2051
2051
*/
2052
2052
public addModuleWithLabel : AddModuleInterface = async ( params : AddModuleParams ) => {
2053
2053
const producedAddModuleInfo = await this . addModuleRequirementsAndGetData ( params ) ;
@@ -2214,7 +2214,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
2214
2214
2215
2215
/**
2216
2216
* Used to attach a new document to the contract, or update the URI or hash of an existing attached document
2217
- * @dev Can only be executed by the owner of the contract.
2217
+ * Can only be executed by the owner of the contract.
2218
2218
*/
2219
2219
public setDocument = async ( params : SetDocumentParams ) => {
2220
2220
assert . assert ( params . name . length > 0 , 'Bad name, cannot be empty' ) ;
@@ -2231,7 +2231,7 @@ export default class SecurityTokenWrapper extends ERC20TokenWrapper {
2231
2231
2232
2232
/**
2233
2233
* Used to remove an existing document from the contract by giving the name of the document.
2234
- * @dev Can only be executed by the owner of the contract.
2234
+ * Can only be executed by the owner of the contract.
2235
2235
*/
2236
2236
public removeDocument = async ( params : DocumentParams ) => {
2237
2237
await this . checkOnlyOwner ( params . txData ) ;
0 commit comments