@symbioticfi/periphery

Symbiotic Periphery repository contains a helper contract allowing users to migrate their funds from Default Collaterals to Vaults in a convenient way.


Keywords
solidity, ethereum, smart, contracts, security, periphery, smart-contracts
License
MIT
Install
npm install @symbioticfi/periphery@1.0.0-devnet.1

Documentation

⚠️ Disclaimer: This code is going through audits. It is NOT intended for a production use yet.

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

This repository contains Symbiotic Periphery contracts:

  • Default Collateral Migrator - to withdraw an underlying asset and deposit it to a vault in one transaction

Usage

Env

Create .env file using a template:

ETH_RPC_URL=
ETHERSCAN_API_KEY=

* ETHERSCAN_API_KEY is optional.

Build

forge build

Test

forge test

Format

forge fmt

Gas Snapshots

forge snapshot