0

This is the contract:https://github.com/laronlineworld/vestingcontract/blob/main/VestingContract.sol

Is it possible to add withdraw/transfer token from vesting contract? And the access is for owner only.

3
  • I think for this question it would be better for you to contact the contract authors directly. Commented Jul 19, 2021 at 7:33
  • I'm the author of the contract, I'm asking for a function for withdraw or transfer that fits my contract. Commented Jul 19, 2021 at 8:08
  • Then the answer yes. You can program your contract in any logic you wish. Commented Jul 19, 2021 at 8:29

1 Answer 1

0

If you want to control contract access, then you should use OpenZeppelin's Ownable, which is the document.

https://docs.openzeppelin.com/contracts/3.x/api/access#Ownable

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.