Skip to content

Smart contract template scripts for Zeus, the deploy & upgrade management CLI

Notifications You must be signed in to change notification settings

Layr-Labs/zeus-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zeus Templates

This repo sets up template contracts for 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 for more details on EigenLayer's onchain role structure.

Install via Foundry

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).

About

Smart contract template scripts for Zeus, the deploy & upgrade management CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published