Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 2.02 KB

README.md

File metadata and controls

59 lines (36 loc) · 2.02 KB

Sablier V2 Deployments

This repository keeps track of Sablier V2 deployment bundles, each of which includes:

  1. Contract artifacts and ABIs.
  2. The broadcast directories generated by Foundry upon running the deploy scripts.

The deployments are indexed by:

  1. Repository ("core" or "periphery")
  2. Version name (e.g. "v1.0.0")
  3. Artifacts
  4. Broadcasts, which in turn are indexed by chain name.

If you need the deployment addresses, you can find them in the docs.

Background

Sablier V2 has been built, tested, formatted, and deployed with the Foundry smart contract development toolchain.

To learn more about Foundry, see the Foundry Book.

To learn more about Sablier, see the Sablier Docs.

Addresses

You can see the deployment addresses here.

Packages

The contract artifacts and the ABIs are published as NPM packages:

Scripts

The contracts have been deployed using these scripts:

Specifically, with the "DeployDeterministic" scripts, which use this CREATE2 factory:

Differentiation

The rationale for using CREATE2 is not to generate deterministic deployment addresses - quite the opposite. The goal is to have different addresses on each chain. By using CREATE2, we can systematically differentiate the contract addresses by passing a salt, whereas if we had used CREATE, the deployer's nonce would have impacted the resulting deployment address.

License

This repo is licensed under GPL 3-0 or later.