Use ERC-XXX syntax (#4730)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
@ -9,7 +9,7 @@ import {Context} from "../utils/Context.sol";
|
||||
import {Ownable} from "../access/Ownable.sol";
|
||||
|
||||
/**
|
||||
* @dev A vesting wallet is an ownable contract that can receive native currency and ERC20 tokens, and release these
|
||||
* @dev A vesting wallet is an ownable contract that can receive native currency and ERC-20 tokens, and release these
|
||||
* assets to the wallet owner, also referred to as "beneficiary", according to a vesting schedule.
|
||||
*
|
||||
* Any assets transferred to this contract will follow the vesting schedule as if they were locked from the beginning.
|
||||
@ -94,7 +94,7 @@ contract VestingWallet is Context, Ownable {
|
||||
|
||||
/**
|
||||
* @dev Getter for the amount of releasable `token` tokens. `token` should be the address of an
|
||||
* IERC20 contract.
|
||||
* {IERC20} contract.
|
||||
*/
|
||||
function releasable(address token) public view virtual returns (uint256) {
|
||||
return vestedAmount(token, uint64(block.timestamp)) - released(token);
|
||||
|
||||
Reference in New Issue
Block a user