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 - npm Package Compare versions

Comparing version 5.0.2 to 5.9.0

src/test/SafeCastLib.t.sol

2

package.json
{
"name": "@rari-capital/solmate",
"license": "AGPL-3.0-only",
"version": "5.0.2",
"version": "5.9.0",
"description": "Modern, opinionated and gas optimized building blocks for smart contract development.",

@@ -6,0 +6,0 @@ "files": [

# solmate
**Modern**, **opinionated** and **gas optimized** building blocks for **smart contract development**.
**Modern**, **opinionated**, and **gas optimized** building blocks for **smart contract development**.

@@ -14,11 +14,13 @@ ## Contracts

│ ├─ TrustAuthority — "Simple Authority which only authorizes trusted users"
erc20
tokens
├─ WETH — "Minimalist and modern Wrapped Ether implementation"
├─ ERC20 — "Modern and gas efficient ERC20 + EIP-2612 implementation"
├─ SafeERC20 — "Safe ERC20/ETH transfer lib that handles missing return values"
utils
├─ SSTORE2 - "Library for cheaper reads and writes to persistent storage."
├─ CREATE3 — "Deploy to deterministic addresses without an initcode factor."
├─ SSTORE2 - "Library for cheaper reads and writes to persistent storage"
├─ CREATE3 — "Deploy to deterministic addresses without an initcode factor"
├─ SafeCastLib - "Safe unsigned integer casting lib that reverts on overflow"
├─ ReentrancyGuard — "Gas optimized reentrancy protection for smart contracts"
├─ FixedPointMathLib — "Arithmetic library with operations for fixed-point numbers"
├─ Bytes32AddressLib — "Library for converting between addresses and bytes32 values"
├─ SafeTransferLib — "Safe ERC20/ETH transfer lib that handles missing return values"
```

@@ -28,3 +30,3 @@

To install with **DappTools**:
To install with [**DappTools**](https://github.com/dapphub/dapptools):

@@ -35,5 +37,11 @@ ```sh

To install with **Hardhat** or **Truffle**:
To install with [**Foundry**](https://github.com/gakonst/foundry):
```sh
forge install rari-capital/solmate
```
To install with [**Hardhat**](https://github.com/nomiclabs/hardhat) or [**Truffle**](https://github.com/trufflesuite/truffle):
```sh
npm install @rari-capital/solmate

@@ -46,5 +54,7 @@ ```

- [Gnosis](https://github.com/gnosis/gp-v2-contracts)
- [Uniswap](https://github.com/Uniswap/uniswap-lib)
- [Dappsys](https://github.com/dapphub/dappsys)
- [Dappsys V2](https://github.com/dapp-org/dappsys-v2)
- [0xSequence](https://github.com/0xSequence)
- [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts)
- **[Dappsys V2](https://github.com/dapp-org/dappsys-v2)**
- **[Dappsys](https://github.com/dapphub/dappsys)**
- [Uniswap](https://github.com/Uniswap/uniswap-lib)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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