Skip to main content

Euler Periphery Overview

Periphery contracts for the Euler Ecosystem. The periphery consists of several components that are designed to be used on-chain:

  • ERC20s
  • Governor contracts
  • Hook Target contracts
  • Interest Rate Model factories
  • Euler Router factory
  • Perspectives
  • Swaps
  • Lenses

ERC20s

Directory: src/ERC20

Collection of ERC20 contracts that can be used for different purposes.

Governor contracts

Directory: src/Governor

Collection of specialized governor contracts that can be installed as an admin in the EVK factory contract and as a governor admin in the EVK credit vaults.

Hook Target contracts

Directory: src/HookTarget

Collection of hook target contracts that can be configured as hook targets in the EVK credit vaults.

Interest Rate Model factories

Directory: src/IRMFactory

Collection of contracts for deploying interest rate models that can be used by the EVK credit vaults.

Euler Router factory

Directory: src/EulerRouterFactory

Immutable factory contract that can be used to deploy instances of EulerRouter. It allows the deployment provenance of router instances to be verified by perspectives.

Perspectives

Directory: src/Perspectives

Collection of contracts that encode validity criteria for the EVK credit vaults.

Swaps

Directory: src/Swaps

Utilities for performing DEX swaps for EVK credit vault operations.

Lenses

Directory: src/Lens

Collection of contracts to assist with off-chain querying of the accounts and credit vaults' chain-state.