https://github.com/layr-labs/zeus-templates
Smart contract template scripts for Zeus, the deploy & upgrade management CLI
https://github.com/layr-labs/zeus-templates
Last synced: about 2 months ago
JSON representation
Smart contract template scripts for Zeus, the deploy & upgrade management CLI
- Host: GitHub
- URL: https://github.com/layr-labs/zeus-templates
- Owner: Layr-Labs
- License: other
- Created: 2024-10-10T20:21:54.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-03-12T17:05:17.000Z (3 months ago)
- Last Synced: 2025-04-10T23:55:21.198Z (about 2 months ago)
- Language: Solidity
- Size: 190 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Zeus Templates
This repo sets up template contracts for [Zeus](https://github.com/Layr-Labs/zeus), the staged web3 deployer + metadata management CLI.
## Usage
The `templates` directory contains all relevant abstract contracts for scripts to inherit.
An example import is `import {EOADeployer} from "zeus-templates/templates/EOADeployer.sol";`
### EOADeployer
A generic script with a `deploy(string memory)` entry function for setting up any number of consecutive deploys.
### MultisigBuilder
A generic script with an `execute(string memory)` entry function for setting up any number of arbitrary calls from a multisig. Uses the `MultiSendCallOnly` contract for batching multiple calls into one transaction.
### OpsTimelockBuilder
A specialized script for the Operations Multisig, allowing for calls to be written for queueing into the Timelock before being sent to the Executor Multisig. See [the multisig governance documentation](https://docs.eigenlayer.xyz/eigenlayer/security/multisig-governance) for more details on EigenLayer's onchain role structure.
## Install via Foundry
```shell
forge install Layr-labs/zeus-templates
```Run `forge install` inside a relevant repo that Zeus is using as a $ZEUS_CONTRACTS repo (e.g. [eigenlayer-contracts](https://github.com/Layr-Labs/eigenlayer-contracts)).