An open API service indexing awesome lists of open source software.

https://github.com/symbioticfi/periphery

Symbiotic Periphery smart contracts
https://github.com/symbioticfi/periphery

periphery smart-contracts

Last synced: about 1 year ago
JSON representation

Symbiotic Periphery smart contracts

Awesome Lists containing this project

README

          

**[Symbiotic Protocol](https://symbiotic.fi) 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

## Security

Security audits can be found [here](./audits).

## Usage

### Env

Create `.env` file using a template:

```
ETH_RPC_URL=
ETH_RPC_URL_HOLESKY=
ETHERSCAN_API_KEY=
```

\* ETH_RPC_URL_HOLESKY is optional.
\* ETHERSCAN_API_KEY is optional.

### Build

```shell
forge build
```

### Test

```shell
forge test
```

### Format

```shell
forge fmt
```

### Gas Snapshots

```shell
forge snapshot
```