Syrup
  • Welcome to Syrup
  • About Syrup
    • Powered by Maple
    • Lending in Syrup
    • Commitments
    • Drips Rewards
    • Withdrawals
    • Monthly Updates
    • Pendle Integration
    • SyrupUSDC Rewards Prize Draw Program Summary
  • Technical Resources
    • Protocol Overview
    • Security
    • Addresses
  • Troubleshooting & Support
    • FAQ
    • Contact
  • Legal
    • Risks
    • Defaults and Impairments
    • Available Jurisdictions
    • Interface Terms of Use [Syrup.fi]
    • Interface Terms of Use [Syrup.fi/convert/ and Syrup.fi/stake/]
    • Privacy Policy
  • SyrupUSDC Rewards Prize Draw Terms & Conditions
Powered by GitBook
On this page
  • Overview
  • Permissions System
  • Syrup Router Flow
  • deposit()
  • depositWithPermit()
  • authAndDeposit()
  • authAndDepositWithPermit()
  1. Technical Resources

Protocol Overview

PreviousSyrupUSDC Rewards Prize Draw Program SummaryNextSecurity

Last updated 12 months ago

Overview

Syrup is a layer built on top of , which is a protocol for a decentralized corporate credit market that provides capital to institutional borrowers on the Ethereum mainnet. Syrup's main contract, the SyrupRouter, is uniquely designed to allow authorized participants to securely access and benefit from the yields available in the ecosystem, abstracting all the complexities of the permissioning system inherent to Maple.

Permissions System

The Maple Protocol is geared towards institutions and has a permissioning system that requires allowlisting for executing most functions. For pool deposits, in general, lenders need to have their wallet allowlisted in Maple's Pool Permission Manager. Aiming to abstract and simplify the process, the SyrupRouter integrates directly with the Pool Permission Manager to allow for valid users to self-authorize and deposit in a single transaction assuming the user meets eligibility requirements.

Syrup Router Flow

There are 4 main entry points to interact and deposit in the Syrup router. The deciding factor for which entry point to use is whether the user has been allowlisted in the Pool Permission Manager (PPM). The following table summarizes the entry points:

With Pool Permission Manager Authorization
Without Pool Permission Manager Authorization

Direct Approval

deposit()

authAndDeposit()

Permit Signature

depositWithPermit()

authAndDepositWithPermit()

To help understand the execution and fund flows, here is a diagram for each of the 4 entry points:

deposit()

deposit()

depositWithPermit()

authAndDeposit()

authAndDepositWithPermit()

depositWithPermit()
authAndDeposit()
authAndDepositWithPermit()
Maple