This repository keeps track of Sablier V2 deployment bundles, each of which includes:
- Contract artifacts and ABIs.
- The broadcast directories generated by Foundry upon running the deploy scripts.
The deployments are indexed by:
- Repository ("core" or "periphery")
- Version name (e.g. "v1.0.0")
- Artifacts
- Broadcasts, which in turn are indexed by chain name.
If you need the deployment addresses, you can find them in the docs.
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.
You can see the deployment addresses here.
The contract artifacts and the ABIs are published as NPM packages:
The contracts have been deployed using these scripts:
Specifically, with the "DeployDeterministic" scripts, which use this CREATE2 factory:
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.
This repo is licensed under GPL 3-0 or later.