Skip to content

Fork of Mantle Network's eignlayr-contracts used to build mantle's op-node from source

License

Notifications You must be signed in to change notification settings

Tessellated-io/eignlayr-contracts

Repository files navigation

MantleDA

The current version of MantleDA is powered by EigenDA technology and licensed by EigenLabs.

EigenLayer

EigenLayer (formerly 'EigenLayr') is a set of smart contracts deployed on Ethereum that enable restaking of assets to secure new services. At present, this repository contains both the contracts for EigenLayer and a set of general "middleware" contracts, designed to be reuseable across different applications built on top of EigenLayer.

Click the links in the Table of Contents below to access more specific documentation. We recommend starting with the EigenLayer Technical Specification to get a better overview before diving into any of the other docs.

Table of Contents

Design Docs

Flow Docs

Installation and Running Tests / Analyzers

Installation

foundry up

This repository uses Foundry as a smart contract development toolchain.

See the Foundry Docs for more info on installation and usage.

Run Tests

forge test -vv

Run Static Analysis

solhint 'src/contracts/**/*.sol'

slither .

Generate Inheritance and Control-Flow Graphs

first install surya

then run

surya inheritance ./src/contracts/**/*.sol | dot -Tpng > InheritanceGraph.png

and/or

surya graph ./src/contracts/middleware/*.sol | dot -Tpng > MiddlewareControlFlowGraph.png

and/or

surya mdreport surya_report.md ./src/contracts/**/*.sol

About

Fork of Mantle Network's eignlayr-contracts used to build mantle's op-node from source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages