Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vittominacori committed Jan 22, 2024
1 parent 4a585cb commit b725d68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/token/ERC1363/IERC1363Spender.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pragma solidity ^0.8.20;
*/
interface IERC1363Spender {
/**
* @dev Whenever an ERC-1363 token `owner` approves this contract via `approveAndCall` to spend their tokens, this function is called.
* @dev Whenever an ERC-1363 tokens `owner` approves this contract via `approveAndCall` to spend their tokens, this function is called.
*
* NOTE: To accept the approval, this must return
* `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))`
Expand Down
2 changes: 1 addition & 1 deletion dist/ERC1363.dist.sol
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ pragma solidity ^0.8.20;
*/
interface IERC1363Spender {
/**
* @dev Whenever an ERC-1363 token `owner` approves this contract via `approveAndCall` to spend their tokens, this function is called.
* @dev Whenever an ERC-1363 tokens `owner` approves this contract via `approveAndCall` to spend their tokens, this function is called.
*
* NOTE: To accept the approval, this must return
* `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))`
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ _Interface for any contract that wants to support `approveAndCall` from ERC-1363
function onApprovalReceived(address owner, uint256 value, bytes data) external returns (bytes4)
```

_Whenever an ERC-1363 token `owner` approves this contract via `approveAndCall` to spend their tokens, this function is called.
_Whenever an ERC-1363 tokens `owner` approves this contract via `approveAndCall` to spend their tokens, this function is called.

NOTE: To accept the approval, this must return
`bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "erc-payable-token",
"version": "5.1.6",
"version": "5.1.7",
"description": "ERC-1363 Payable Token Implementation",
"files": [
"contracts",
Expand Down

0 comments on commit b725d68

Please sign in to comment.