Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rari-capital/solmate

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rari-capital/solmate

Modern building blocks and mixins for smart contract development.

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
increased by1.71%
Maintainers
2
Weekly downloads
 
Created
Source

solmate

A catalogue of modern, opinionated, gas efficient and DappTools-centric contracts that will fit perfectly into your next project.

Contracts

auth
├─ Auth — "Flexible and updatable auth pattern"
├─ Trust — "Ultra-minimal authorization logic"
├─ authorities
│  ├─ TrustAuthority — "Simple Authority which only authorizes trusted users"
│  ├─ RolesAuthority — "Role based Authority that supports up to 256 roles"
erc20
├─ ERC20 — "Modern and gas efficient ERC20 + EIP-2612 implementation"
├─ SafeERC20 — "Safe ERC20/ETH transfer lib that handles missing return values"
utils
├─ MathHelpers — "Arithmetic library with operations for fixed-point numbers"
├─ ReentrancyGuard — "Gas optimized reentrancy protection for smart contracts"

Acknowledgements

These contracts were inspired by or directly modified from many sources, primarly:

FAQs

Package last updated on 25 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc