Skip to content

Commit 6ea4672

Browse files
Transpile 8a890fff
1 parent 2a23458 commit 6ea4672

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

contracts/token/ERC20/extensions/ERC1363Upgradeable.sol

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,23 @@ abstract contract ERC1363Upgradeable is Initializable, ERC20Upgradeable, ERC165U
3232

3333
/**
3434
* @dev Indicates a failure within the {transfer} part of a transferAndCall operation.
35+
* @param receiver Address to which tokens are being transferred.
36+
* @param value Amount of tokens to be transferred.
3537
*/
36-
error ERC1363TransferFailed(address to, uint256 value);
38+
error ERC1363TransferFailed(address receiver, uint256 value);
3739

3840
/**
3941
* @dev Indicates a failure within the {transferFrom} part of a transferFromAndCall operation.
42+
* @param sender Address from which to send tokens.
43+
* @param receiver Address to which tokens are being transferred.
44+
* @param value Amount of tokens to be transferred.
4045
*/
41-
error ERC1363TransferFromFailed(address from, address to, uint256 value);
46+
error ERC1363TransferFromFailed(address sender, address receiver, uint256 value);
4247

4348
/**
4449
* @dev Indicates a failure within the {approve} part of a approveAndCall operation.
50+
* @param spender Address which will spend the funds.
51+
* @param value Amount of tokens to be spent.
4552
*/
4653
error ERC1363ApproveFailed(address spender, uint256 value);
4754

0 commit comments

Comments
 (0)