Note: This repository has been archived. Content has been duplicated in suzaku-core.
This repository contains a Suzaku Collateral interface and its default implementation.
It is a fork of symbioticfi/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 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 audits can be found in the symbioticfi/collateral repository.
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.
forge buildforge testforge fmtforge snapshot