Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/contracts/mocks/nf-token-metadata-enumerable-mock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ contract NFTokenMetadataEnumerableMock is
/**
* @notice Use and override this function with caution. Wrong usage can have serious consequences.
* @dev Removes a NFT from an address.
* @param _from Address from wich we want to remove the NFT.
* @param _from Address from which we want to remove the NFT.
* @param _tokenId Which NFT we want to remove.
*/
function _removeNFToken(
Expand All @@ -120,7 +120,7 @@ contract NFTokenMetadataEnumerableMock is
/**
* @notice Use and override this function with caution. Wrong usage can have serious consequences.
* @dev Assigns a new NFT to an address.
* @param _to Address to wich we want to add the NFT.
* @param _to Address to which we want to add the NFT.
* @param _tokenId Which NFT we want to add.
*/
function _addNFToken(
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/ownership/ownable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.0;

/**
* @dev The contract has an owner address, and provides basic authorization control whitch
* @dev The contract has an owner address, and provides basic authorization control which
* simplifies the implementation of user permissions. This contract is based on the source code at:
* https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/ownership/Ownable.sol
*/
Expand Down
4 changes: 2 additions & 2 deletions src/contracts/tokens/nf-token-enumerable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ contract NFTokenEnumerable is
/**
* @notice Use and override this function with caution. Wrong usage can have serious consequences.
* @dev Removes a NFT from an address.
* @param _from Address from wich we want to remove the NFT.
* @param _from Address from which we want to remove the NFT.
* @param _tokenId Which NFT we want to remove.
*/
function _removeNFToken(
Expand Down Expand Up @@ -178,7 +178,7 @@ contract NFTokenEnumerable is
/**
* @notice Use and override this function with caution. Wrong usage can have serious consequences.
* @dev Assigns a new NFT to an address.
* @param _to Address to wich we want to add the NFT.
* @param _to Address to which we want to add the NFT.
* @param _tokenId Which NFT we want to add.
*/
function _addNFToken(
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/tokens/nf-token-metadata.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ contract NFTokenMetadata is
}

/**
* @notice This is an internal function that can be overriden if you want to implement a different
* @notice This is an internal function that can be overridden if you want to implement a different
* way to generate token URI.
* @param _tokenId Id for which we want uri.
* @return URI of _tokenId.
Expand Down
4 changes: 2 additions & 2 deletions src/contracts/utils/supports-interface.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contract SupportsInterface is
{

/**
* @dev Mapping of supported intefraces. You must not set element 0xffffffff to true.
* @dev Mapping of supported interfaces. You must not set element 0xffffffff to true.
*/
mapping(bytes4 => bool) internal supportedInterfaces;

Expand All @@ -24,7 +24,7 @@ contract SupportsInterface is
}

/**
* @dev Function to check which interfaces are suported by this contract.
* @dev Function to check which interfaces are supported by this contract.
* @param _interfaceID Id of the interface.
* @return True if _interfaceID is supported, false otherwise.
*/
Expand Down