Skip to content
Closed
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
1 change: 1 addition & 0 deletions src/interfaces/IERC173.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pragma solidity >=0.8.30;
/// @title ERC-173 Contract Ownership Standard Interface
/// @notice Interface for contract ownership with custom errors
/// @dev This interface includes all custom errors used by ERC-173 implementations
/// @author ogazboiz
interface IERC173 {
/// @notice Thrown when attempting to transfer ownership while not being the owner.
error OwnableUnauthorizedAccount();
Expand Down
1 change: 1 addition & 0 deletions src/interfaces/IERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pragma solidity >=0.8.30;
/// @title ERC-20 Token Standard Interface
/// @notice Interface for ERC-20 token contracts with custom errors
/// @dev This interface includes all custom errors used by ERC-20 implementations
/// @author ogazboiz
interface IERC20 {
/// @notice Thrown when an account has insufficient balance for a transfer or burn.
/// @param _sender Address attempting the transfer.
Expand Down
1 change: 1 addition & 0 deletions src/interfaces/IERC721.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pragma solidity >=0.8.30;
/// @title ERC-721 Token Standard Interface
/// @notice Interface for ERC-721 token contracts with custom errors
/// @dev This interface includes all custom errors used by ERC-721 implementations
/// @author ogazboiz
interface IERC721 {
/// @notice Error indicating the queried owner address is invalid (zero address).
error ERC721InvalidOwner(address _owner);
Expand Down
3 changes: 2 additions & 1 deletion src/interfaces/IERC721Enumerable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pragma solidity >=0.8.30;
/// @title ERC-721 Enumerable Token Standard Interface
/// @notice Interface for ERC-721 token contracts with enumeration support and custom errors
/// @dev This interface includes all custom errors used by ERC-721 Enumerable implementations
/// @author ogazboiz
interface IERC721Enumerable {
/// @notice Thrown when querying or transferring from an invalid owner address.
error ERC721InvalidOwner(address _owner);
Expand Down Expand Up @@ -106,6 +107,6 @@ interface IERC721Enumerable {
/// @param _from The current owner of the token.
/// @param _to The recipient address.
/// @param _tokenId The token ID to transfer.
/// @param _data Additional data to send to the receiver contract.
/// @param _data Additional data to send to the receiver.
function safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes calldata _data) external;
}