alcueca / solidity-mentorship

An use case by use case program to learn solidity
27 stars 0 forks source link

Timelock #10

Open alcueca opened 3 years ago

alcueca commented 3 years ago

Deploy and configure the Timelock from yield-utils-v2, and use it to add new collaterals to the Multicollateralized Vault.

Why does Timelock use call instead of delegatecall. What are the risks of executing call on untrusted contracts?

hamzahkhan commented 3 years ago

https://github.com/yieldprotocol/yield-utils-v2/blob/main/contracts/utils/Timelock.sol

I should be looking at this?