yield-utils-v2 icon indicating copy to clipboard operation
yield-utils-v2 copied to clipboard

Utility contracts for Yield v2

Results 7 yield-utils-v2 issues
Sort by recently updated
recently updated
newest added

`SafeERC20Namer.tokenDecimals` returns zero in case the `decimals` is not implemented by the provided `token` address: https://github.com/yieldprotocol/yield-utils-v2/blob/dbeb85ac94befc477bf8cdff9f178fdf331eb83d/src/token/SafeERC20Namer.sol#L99-102 However, this is not necessary, because "0" is the implicit default value for `uint8`....

Like `transfer`, `approve` may fail by returning `false`. Should `TransferHelper` have a function `safeApprove`?

Using an auth Ether faucet, we can pool small amounts of Ether at a time to deal with refunds, this will mean: - Less risk, since only a certain amount...

With the OptimisticTimelock, all proposals are automatically approved, but an account with `deny` permissions can take them off the queue. In the event of a DoS attack, simply take the...

One of the main reasons we wrote a lot of our own contracts instead of using the popular OpenZeppelin library is because OZ's contracts are bloated and not optimized; we...

Hi, Thank you for the library I am looking to implement the ERC20Rewards.sol to erc721 owners however the rewards per users is not accumulating. Can you give an example of...