Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.3 KB

README.md

File metadata and controls

57 lines (34 loc) · 1.3 KB

Suzaku Collateral

This repository contains a Suzaku Collateral interface and its default implementation.

It is a fork of symbioticfi/collateral.

Collateral

Collateral is a concept introduced by Symbiotic that brings capital efficiency and scale by enabling assets used to secure networks to be held outside of the restaking protocol itself - e.g. in DeFi positions on networks other than Ethereum itself.

The Collateral interface can be found here.

Default Collateral

Default Collateral is a simple version of Collateral that has an instant debt repayment, which supports only non-rebase underlying assets.

The implementation can be found here.

Security

Security audits can be found in the symbioticfi/collateral repository.

Usage

Env

Create .env file using a template:

ETH_RPC_URL=

To get the ETH_RPC_URL, you can use Alchemy, Infura, or any other Ethereum node provider.

Build

forge build

Test

forge test

Format

forge fmt

Gas Snapshots

forge snapshot