1.3.0 • Published 3 years ago

@yield-protocol/utils v1.3.0

Weekly downloads
163
License
GPL-3.0-or-later
Repository
github
Last release
3 years ago

Yield Utils

This repo contains contracts used for Yield projects that can be reused.

  • DecimalMath.sol - Fixed point safe math.
  • Delegable.sol - Permission delegation, including through off-chain signatures.
  • ERC20Permit.sol - ERC20 with ERC2612 permit.
  • Orchestrated.sol - Access control for static contracts.
  • SafeCast.sol - Safely cast between types.
  • YieldAuth.sol - Use packed off-chain signatures, from 3 arguments to 1.

Bug Bounty

Yield is offering bounties for bugs disclosed to us at security@yield.is. The bounty reward is up to $25,000, depending on severity. Please include full details of the vulnerability and steps/code to reproduce. We ask that you permit us time to review and remediate any findings before public disclosure.

Contributing

If you have a contribution to make, please reach us out on Discord and we will consider it for a future release or product.

ChangeLog

  • 1.2.1 - Simplified permit off-chain calculations.
  • 1.2.0 - Upgrade to Solidity 0.8
  • 1.1.0 - Replaced OpenZeppelin's ERC20 for our own.
  • 1.0.0 - Contracts released as part of Yield v1

License

All files in this repository are released under the GPLv3 license.

1.3.0

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.9.1

3 years ago

0.9.0

3 years ago