Skip to content

Lagrange-Labs/lsc-contracts

Repository files navigation

Lagrange State Committee Contracts

Prerequisites

  1. Install Node.js
  2. Install Docker
  3. Install Docker Compose
  4. Install Foundry

After cloning the repository, run the following command to install the dependencies

# Update forge packages
foundryup

# Install or update dependencies
forge install

Deployments

Current Mainnet Deployment

The current mainnet deployment is on Ethereum mainnet. You can view the deployed contract addresses below, or check out the code itself on the mainnet branch.

Name Proxy Implementation Notes
LagrangeCommittee 0xECc22f3EcD0EFC8aD77A78ad9469eFbc44E746F5 0x6934...0854 Proxy: TUP@4.7.1
LagrangeService 0x35F4f28A8d3Ff20EEd10e087e8F96Ea2641E6AA2 0x9bfd...0659 Proxy: TUP@4.7.1
EigenAdapter 0xc39D3882E2Aa607bd37725C99357405E14aba05A 0xb58c...e133 Proxy: TUP@4.7.1
VoteWeigher 0xe1E25a74Eb983e668f2aBC93407a102010b48FD9 0x7360...Fb22 Proxy: TUP@4.7.1
OZ: Proxy Admin - 0x7F11...845f

Current Testnet Deployment

The current testnet deployment is on Holesky testnet. You can view the deployed contract addresses below, or check out the code itself on the holesky/testnet branch.

Name Proxy Implementation Notes
LagrangeCommittee 0x57BAf26C77BBBa3D3A8Bd620c8d74B44Bfda8818 0xb0c7...87A5 Proxy: TUP@4.7.1
LagrangeService 0x18A74E66cc90F0B1744Da27E72Df338cEa0A542b 0xDB83...2FF3 Proxy: TUP@4.7.1
EigenAdapter 0xCe450Bbf64EF764D2092450718971B9D0b1789fb 0xBF24...ec8c Proxy: TUP@4.7.1
VoteWeigher 0xd03B086323d011445AC25c4FcBFD0A7A0463A89C 0x4f00...c618 Proxy: TUP@4.7.1
OZ: Proxy Admin - 0x5c70...0F70

Audit Reports

Here are the audit reports

Local Deployment

The following walks through the necessary steps to deploy the Lagrange contracts locally.

make deploy-eigen-localnet

Build the docker image

make docker-build

docker tag lagrange/contracts:latest lagrangelabs/lagrange-contracts:latest
docker push lagrangelabs/lagrange-contracts:latest