Skip to content

minanew12/collateral

 
 

Repository files navigation

Symbiotic Protocol is an extremely flexible and permissionless shared security system.

This repository contains a Default Symbiotic Collateral implementation.

Collateral

Collateral - a concept introduced by Symbiotic that brings capital efficiency and scale by allowing assets used to secure Symbiotic networks to be held outside the Symbiotic protocol itself, such as in DeFi positions on networks other than Ethereum.

Symbiotic achieves this by separating the ability to slash assets from the underlying asset, similar to how liquid staking tokens create tokenized representations of underlying staked positions. Technically, collateral positions in Symbiotic are ERC-20 tokens with extended functionality to handle slashing incidents if applicable. In other words, if the collateral token supports slashing, it should be possible to create a Burner responsible for properly burning the asset.

ETH_RPC_URL=
ETHERSCAN_API_KEY=

* ETHERSCAN_API_KEY is optional.

Build

forge build

Test

forge test

Format

forge fmt

Gas Snapshots

forge snapshot

About

Symbiotic Collateral smart contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 100.0%