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
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ library EIP712 {
bytes32 nameHash,
bytes32 versionHash
) internal view returns (bytes32 domainSeparator) {
// execute EIP-712 hashStruct procedure using assembly, equavalent to:
// execute EIP-712 hashStruct procedure using assembly, equivalent to:
//
// domainSeparator = keccak256(
// abi.encode(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ interface IERC2981 is IERC2981Internal, IERC165 {
* @notice called with the sale price to determine how much royalty is owed and to whom
* @param tokenId the ERC721 or ERC1155 token id to query for royalty information
* @param salePrice the sale price of the given asset
* @return receiever rightful recipient of royalty
* @return receiver rightful recipient of royalty
* @return royaltyAmount amount of royalty owed
*/
function royaltyInfo(
uint256 tokenId,
uint256 salePrice
) external view returns (address receiever, uint256 royaltyAmount);
) external view returns (address receiver, uint256 royaltyAmount);
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ abstract contract DiamondWritableInternal is IDiamondWritableInternal {
* @notice add to the diamond a set of selectors associated with a particular facet
* @dev selectors are added one-by-one to lastSlug, which is written to storage and updated to represent the subsequent slug when full
* @dev lastSlug may be initialized with "dirty" higher-index bits, but these are ignored because they are out of range
* @dev selectorCount and lastSlug are modified in place and returned to avoid reundant storage access
* @dev selectorCount and lastSlug are modified in place and returned to avoid redundant storage access
* @param l storage pointer to the DiamondBaseStorage Layout struct
* @param facetCut structured data representing facet address and selectors to add
* @param selectorCount total number of selectors registered on the diamond proxy
Expand Down Expand Up @@ -150,7 +150,7 @@ abstract contract DiamondWritableInternal is IDiamondWritableInternal {
* @notice remove from the diamond a set of selectors associated with a particular facet
* @dev selectors are removed one-by-one from lastSlug, which is updated to represent the preceeding slug when empty
* @dev lastSlug is not updated in storage when modified or removed, leaving "dirty" higher-index bits, but these are ignored because they are out of range
* @dev selectorCount and lastSlug are modified in place and returned to avoid reundant storage access
* @dev selectorCount and lastSlug are modified in place and returned to avoid redundant storage access
* @param l storage pointer to the DiamondBaseStorage Layout struct
* @param facetCut structured data representing facet address and selectors to remove
* @param selectorCount total number of selectors registered on the diamond proxy
Expand Down Expand Up @@ -268,7 +268,7 @@ abstract contract DiamondWritableInternal is IDiamondWritableInternal {
}

/**
* @notice run an optional post-diamond-cut initialization transation via delegatecall
* @notice run an optional post-diamond-cut initialization transaction via delegatecall
* @dev the target and data parameters must both be zero, or both be non-zero
* @param target contract address to which call shall be delegated
* @param data encoded delegatecall transaction data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ abstract contract ERC20PermitInternal is

ERC20PermitStorage.Layout storage l = ERC20PermitStorage.layout();

// execute EIP-712 hashStruct procedure using assembly, equavalent to:
// execute EIP-712 hashStruct procedure using assembly, equivalent to:
//
// bytes32 structHash = keccak256(
// abi.encode(
Expand Down