LogoLogo
Summer.fiContact us
  • Summer.fi
    • Overview
    • Basic Concepts
    • Audits
  • Lazy Summer Protocol
    • Lazy Summer Protocol
      • ARKs
        • Buffer ARK
        • RAFT
          • Dutch Auctions
      • Fees
      • Contracts Addresses
    • Rebalancer
    • Governance
      • Cross-Chain Governance
      • Rewards
      • Tip Streams
      • $SUMR Token
        • Delegation
        • Voting Power Decay
  • Summer.fi pro
    • General
      • Smart Contracts and Documentation
      • Costs and Fees
      • Address Compliance Check
      • Security
      • Referrals Program
        • FAQ
        • How to refer a friend
    • Products
      • Borrow
        • Frequently Asked Questions
      • Multiply
        • The difference between Borrow and Multiply Vaults
        • Frequently Asked Questions
      • Swap and Bridge
      • Earn
        • Aave v2 stETH
        • Aave v3 stETH
        • Dai Savings Rate (DSR)
          • sDAI
          • What is sDAI Conversion?
      • $RAYS
        • FAQ
    • Automation
      • Stop-Loss
        • How to setup your Stop-Loss
        • Trailing Stop-Loss
      • Auto-Buy
      • Auto-Sell
      • Take Profit
        • Auto Take Profit
          • How to setup Auto Take Profit
  • LEGAL
    • UK Disclaimer
    • Risks of using our products
  • Get in touch
    • Contact Us
Powered by GitBook
LogoLogo

Products

  • Borrow
  • Multiply
  • Earn

About

  • Team
  • Security
  • Terms
  • Privacy

Resources

  • Blog
  • Bug Bounty
  • Brand Assets

Oazo Apps 2023

On this page
  • High level Summer.fi Architecture
  • Summer.fi Smart contracts & audits
  • Protocol smart contracts & documentations
  • Maker
  • Aave
  • Spark
  • Ajna

Was this helpful?

Export as PDF
  1. Summer.fi pro
  2. General

Smart Contracts and Documentation

In here you can find all smart contract addresses and documentation related to Summer.fi.

PreviousGeneralNextCosts and Fees

Last updated 5 months ago

Was this helpful?

Summer.fi's code is fully open-source, giving everyone in the community the ability to pressure test and audit the core technology. We built on top of heavily audited and long standing lending protocols.

This page provides all relevant links and documentation as a reference. If you think you have found a bug or security issue you can report it on immunefi: and your report will be treated with the highest priority.

High level Summer.fi Architecture

The architecture of Summer.fi consists of 5 layers:

  1. Summer.fi webapp - https://summer.fi/

    • This is where the magic happens. Here you view & interact with your DeFi positions.

    • Code for the UI:

  2. DeFi Smart Account Layer

    • To enable better UX, users first need to create a DeFi Smart Account. This is a proxy layer that manages positions on the blockchain.

    • Code for the contracts:

  3. Summer.fi Automation contracts & Automation workers

    • If you wan to automate your position with a stop loss or other trigger, then those will be recorded in the automation trigger contracts, which get executed only when eligible by the Automation workers.

    • Code for automation ,

  4. Summer.fi Contract layer

    • The smart contracts that enable the Borrow, Multiply and Earn functionality.

    • Code for the contracts ,

  5. The Defi protocols themselves, that Summer.fi users interact with through the above layers.

High level, this is how these layers fit together.

Summer.fi Smart contracts & audits

Protocol smart contracts & documentations

Maker

Aave

Spark

Ajna

All smart contracts that you can interact with through Summer.fi can be found on our Immunefi Bug bounty program here: including audits.

These are the contract addresses for the Maker protocol which are used in Summer.fi:

The maker protocol also has a documentation portal where you can find more information on how it works:

The contracts for Aave v3 can be found here:

Full documentation for Aave is here:

The contracts for Spark can be found here:

Full documentation for Spark is here:

The contracts for Ajna protocol can be fond here:

https://immunefi.com/bounty/summerfi/
https://github.com/OasisDEX/oasis-borrow
https://github.com/OasisDEX/oasis-earn-sc
https://github.com/OasisDEX/automation-mono
https://github.com/OasisDEX/automation-workers
https://github.com/OasisDEX/multiply-proxy-actions
https://github.com/OasisDEX/oasis-earn-sc
https://immunefi.com/bounty/summerfi/
https://changelog.makerdao.com/releases/mainnet/active/contracts.json
https://docs.makerdao.com/
https://docs.aave.com/developers/deployed-contracts/v3-mainnet/ethereum-mainnet
https://docs.aave.com/developers/
https://docs.sparkprotocol.io/developers/deployed-contracts/mainnet-addresses
https://docs.sparkprotocol.io/hub/
https://github.com/ajna-finance/ajna-core
Summer.fi High level Architecture