Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0 Review PR #29

Open
wants to merge 3 commits into
base: Version-0-Review
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix typos
  • Loading branch information
0age committed Nov 7, 2024
commit 5a5b649ec39ab8f0e84289e6333df5960d6ed65a
2 changes: 1 addition & 1 deletion src/lib/ClaimHashFunctionCastLib.sol
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ import {

/**
* @title ClaimHashFunctionCastLib
* @notice Libray contract implementing function casts used throughout the codebase,
* @notice Library contract implementing function casts used throughout the codebase,
* particularly as part of processing claims. The input function operates on a
* function that takes some argument that differs from what is currently available.
* The output function modifies one or more argument types so that they match the
2 changes: 1 addition & 1 deletion src/lib/ClaimHashLib.sol
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ import { HashLib } from "./HashLib.sol";

/**
* @title ClaimHashLib
* @notice Libray contract implementing logic for deriving hashes as part of processing
* @notice Library contract implementing logic for deriving hashes as part of processing
* claims, allocated transfers, and withdrawals.
*/
library ClaimHashLib {
2 changes: 1 addition & 1 deletion src/lib/ClaimProcessorFunctionCastLib.sol
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ import {

/**
* @title ClaimProcessorFunctionCastLib
* @notice Libray contract implementing function casts used in ClaimProcessorLogic.
* @notice Library contract implementing function casts used in ClaimProcessorLogic.
* The input function operates on a function that takes some argument that differs
* from what is currently available. The output function modifies one or more
* argument types so that they match the arguments that are being used to call the
2 changes: 1 addition & 1 deletion src/lib/ConsumerLib.sol
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ pragma solidity ^0.8.27;

/**
* @title ConsumerLib
* @notice Libray contract implementing logic for consuming bitpacked nonces scoped to
* @notice Library contract implementing logic for consuming bitpacked nonces scoped to
* specific accounts and for querying for the state of those nonces. Note that only the
* allocator nonce scope is currently in use in The Compact.
*/
2 changes: 1 addition & 1 deletion src/lib/DomainLib.sol
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ pragma solidity ^0.8.27;

/**
* @title DomainLib
* @notice Libray contract implementing logic for deriving domain hashes.
* @notice Library contract implementing logic for deriving domain hashes.
*/
library DomainLib {
/// @dev `keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")`.
2 changes: 1 addition & 1 deletion src/lib/HashLib.sol
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ import { TransferFunctionCastLib } from "./TransferFunctionCastLib.sol";

/**
* @title HashLib
* @notice Libray contract implementing logic for deriving hashes as part of processing
* @notice Library contract implementing logic for deriving hashes as part of processing
* claims, allocated transfers, and withdrawals, including deriving typehashes when
* witness data is utilized and qualification hashes when claims have been qualified by
* the allocator.
2 changes: 1 addition & 1 deletion src/lib/IdLib.sol
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ import { EfficientHashLib } from "solady/utils/EfficientHashLib.sol";

/**
* @title IdLib
* @notice Libray contract implementing logic for deriving IDs for allocators and
* @notice Library contract implementing logic for deriving IDs for allocators and
* for resource locks, converting between various IDs, and for extracting details
* related to those IDs. This includes logic for registering allocators and for
* assigning them an allocator ID.
2 changes: 1 addition & 1 deletion src/lib/MetadataLib.sol
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ import { MetadataReaderLib } from "solady/utils/MetadataReaderLib.sol";

/**
* @title MetadataLib
* @notice Libray contract implementing logic for deriving and displaying
* @notice Library contract implementing logic for deriving and displaying
* ERC6909 metadata as well as metadata specific to various underlying tokens.
*/
library MetadataLib {
2 changes: 1 addition & 1 deletion src/lib/RegistrationLib.sol
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import { IdLib } from "./IdLib.sol";

/**
* @title RegistrationLib
* @notice Libray contract implementing logic for registering compact claim hashes
* @notice Library contract implementing logic for registering compact claim hashes
* and typehashes and querying for whether given claim hashes and typehashes have
* been registered.
*/
2 changes: 1 addition & 1 deletion src/lib/TransferFunctionCastLib.sol
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import { TransferComponent, SplitByIdComponent } from "../types/Components.sol";

/**
* @title TransferFunctionCastLib
* @notice Libray contract implementing function casts used in TransferLogic as well as
* @notice Library contract implementing function casts used in TransferLogic as well as
* in HashLib. The input function operates on a function that takes some argument that
* differs from what is currently available. The output function modifies one or more
* argument types so that they match the arguments that are being used to call the
2 changes: 1 addition & 1 deletion src/lib/ValidityLib.sol
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ import { SignatureCheckerLib } from "solady/utils/SignatureCheckerLib.sol";

/**
* @title ValidityLib
* @notice Libray contract implementing logic for validating expirations,
* @notice Library contract implementing logic for validating expirations,
* signatures, nonces (including consuming unused nonces), and token addresses.
*/
library ValidityLib {