|
|
|
@ -23,7 +23,7 @@ interface IERC1363 is IERC165, IERC20 { |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver |
|
|
|
|
* @dev Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver |
|
|
|
|
* @param to address The address which you want to transfer to |
|
|
|
|
* @param value uint256 The amount of tokens to be transferred |
|
|
|
|
* @return true unless throwing |
|
|
|
@ -31,7 +31,7 @@ interface IERC1363 is IERC165, IERC20 { |
|
|
|
|
function transferAndCall(address to, uint256 value) external returns (bool); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver |
|
|
|
|
* @dev Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver |
|
|
|
|
* @param to address The address which you want to transfer to |
|
|
|
|
* @param value uint256 The amount of tokens to be transferred |
|
|
|
|
* @param data bytes Additional data with no specified format, sent in call to `to` |
|
|
|
@ -44,7 +44,7 @@ interface IERC1363 is IERC165, IERC20 { |
|
|
|
|
) external returns (bool); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver |
|
|
|
|
* @dev Transfer tokens from one address to another and then call `onTransferReceived` on receiver |
|
|
|
|
* @param from address The address which you want to send tokens from |
|
|
|
|
* @param to address The address which you want to transfer to |
|
|
|
|
* @param value uint256 The amount of tokens to be transferred |
|
|
|
@ -57,7 +57,7 @@ interface IERC1363 is IERC165, IERC20 { |
|
|
|
|
) external returns (bool); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver |
|
|
|
|
* @dev Transfer tokens from one address to another and then call `onTransferReceived` on receiver |
|
|
|
|
* @param from address The address which you want to send tokens from |
|
|
|
|
* @param to address The address which you want to transfer to |
|
|
|
|
* @param value uint256 The amount of tokens to be transferred |
|
|
|
@ -72,7 +72,7 @@ interface IERC1363 is IERC165, IERC20 { |
|
|
|
|
) external returns (bool); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender |
|
|
|
|
* @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender |
|
|
|
|
* and then call `onApprovalReceived` on spender. |
|
|
|
|
* @param spender address The address which will spend the funds |
|
|
|
|
* @param value uint256 The amount of tokens to be spent |
|
|
|
@ -80,7 +80,7 @@ interface IERC1363 is IERC165, IERC20 { |
|
|
|
|
function approveAndCall(address spender, uint256 value) external returns (bool); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender |
|
|
|
|
* @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender |
|
|
|
|
* and then call `onApprovalReceived` on spender. |
|
|
|
|
* @param spender address The address which will spend the funds |
|
|
|
|
* @param value uint256 The amount of tokens to be spent |
|
|
|
|