New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@yield-protocol/utils

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yield-protocol/utils

Solidity contracts used for Yield projects that can be reused

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
4
Created
Source

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.

FAQs

Package last updated on 19 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts