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 @@ -23,7 +23,7 @@ interface IERC1155 is IERC1155Internal, IERC165 {

/**
* @notice query the balances of given tokens held by given addresses
* @param accounts addresss to query
* @param accounts address to query
* @param ids tokens to query
* @return token balances
*/
Expand Down
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
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
2 changes: 1 addition & 1 deletion smart-wallets/src/extensions/AssetVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ contract AssetVault is WalletUtils, IAssetVault {
* If there are too many yield distributions to process, the function will stop to avoid
* reaching the gas limit, and the beneficiary must call the function again to renounce more.
* @param assetToken AssetToken from which the yield is to be redistributed
* @param amount Amount of AssetTokens to renounce from from the yield distribution
* @param amount Amount of AssetTokens to renounce from the yield distribution
* @param expiration Timestamp at which the yield expires
*/
function renounceYieldDistribution(
Expand Down