πŸ› οΈLoan Pool Contracts

Handles all loans and loan repayments. Controls

Loan Pool Balances

Mappings

  • Max loan

  • Min Loan

  • Loan interest rate

  • Loan interest periods

  • Minimum Margin Requirements

  • Borrowed Amount

  • Trade Interest Rate

  • Loan last interest paid

  • Trading fee loan pool

  • Debt for loan pools

  • Dao to AMM

Variables

  • Ranges for loan pool variables i.e. Min and Max interest rate allowed

Git Hub

Loan Pool

Functionality

  • Allows Ariadne DAOs to set their desired loan pool rules and variables

  • Allows Theseus to set ranges for Ariadne's pools

  • Allows for loan pools to be initialized

  • Allows vault contracts to borrow USDC for trades

  • Keeps track of loans and interest owed for trades

  • Allows for loan repayment

  • Calculates interest owed and FFR for trades

Git Hub

Staking

Functionality

  • Keeps track of amm pools and their id's

  • Allows users to stake USDC for Ariadne / Theseus tokens

  • Calculates appropriate token amount to either mint or burn

  • Allows for amm's to be added and new tokens to be minted

  • Allows for freezing / unfreezing to protect pools

Git Hub

Last updated