Maple
  • Welcome to Maple
  • Maple for Lenders
    • Introduction
    • Lending
    • Defaults and Impairments
    • Margin Calls and Liquidations
    • Risk
    • Withdrawal Process
  • syrupUSDC for Lenders
    • Powered by Maple
    • Lending in syrupUSDC and syrupUSDT
    • Commitments
    • Drips Rewards
    • Withdrawals
    • Monthly Updates
    • Pendle Integration
  • SyrupUSDC Rewards Prize Draw Program Summary
  • FAQ
  • Maple for Borrowers
    • Introduction
    • Loan Management
  • Maple for Token Holders
    • Introduction to SYRUP
      • MPL to SYRUP Conversion
      • FAQs
    • SYRUP Tokenomics
      • Staking
      • Staking Smart Contract Details
    • Governance and Voting
    • Drips Rewards
    • Research and Media
      • Podcasts
      • News Articles
      • TV Segments
      • Research Reports
      • Data Dashboards
    • Additional Resources
  • Technical Resources
    • Protocol Overview
      • Background
      • Protocol Actors
      • Smart Contract Architecture
      • Glossary
      • Smart Contract Addresses
      • Fees
      • Composability
      • Proxies and Upgradeability
    • Security
      • Security
      • List of Assumptions
      • External Entry Points
      • Emergency Protocol Pause
      • Protocol Invariants
      • Test Report
    • Loans
      • Loans
      • Fixed Term Loans
      • Open Term Loans
      • Refinancing
      • Impairments
      • Defaults
    • Pools
      • Pools
      • Pool Creation
      • PoolManager
      • PoolDelegateCover
      • Accounting
        • Pool Accounting
        • Pool Exchange Rates
    • Strategies
      • Fixed Term Loan Manager
        • Overview
        • Claims
        • Advance Payment Accounting
        • Accounting Examples
      • Open Term Loan Manager
      • DeFi Strategies
    • Withdrawal Managers
      • WithdrawalManager (Cyclical)
      • WithdrawalManager (Queue)
    • Singletons
      • Globals
      • MapleTreasury
      • Oracles
      • Pool Permission Manager
    • Admin Functions
      • Governor Admin Actions
        • Operational Admin Actions
      • Pool Delegate Admin Actions
      • Timelocks
    • Operations
      • Protocol Deployment
      • Open Term Loan Deployment
      • December 2023 Deployment & Upgrade Procedure
      • Strategies Release Deployment Procedure
    • Interfaces
      • FixedTermLoan
      • FixedTermLoanFactory
      • FixedTermLoanFeeManager
      • FixedTermLoanInitializer
      • FixedTermLoanManager
      • FixedTermLoanManagerFactory
      • FixedTermLoanManagerInitializer
      • FixedTermLoanRefinancer
      • Globals
      • Liquidator
      • LiquidatorFactory
      • LiquidatorInitializer
      • OpenTermLoan
      • OpenTermLoanFactory
      • OpenTermLoanInitializer
      • OpenTermLoanManager
      • OpenTermLoanManagerFactory
      • OpenTermLoanManagerInitializer
      • OpenTermLoanRefinancer
      • Pool
      • PoolDelegateCover
      • PoolDeployer
      • PoolManager
      • PoolManagerFactory
      • PoolManagerInitializer
      • PoolPermissionManager
      • WithdrawalManager (Cyclical)
      • WithdrawalManagerFactory (Cyclical)
      • WithdrawalManagerInitializer (Cyclical)
      • WithdrawalManager (Queue)
      • WithdrawalManagerFactory (Queue)
      • WithdrawalManagerInitializer (Queue)
    • SYRUP Token
      • Architectural Overview
      • Base ERC20 Structure
      • Upgradability
      • Modules
      • Time Locks
      • Recapitalization Module
      • Emergency Module
      • Deployment and Migration Procedure
    • GraphQL API
    • SDK
      • Introduction
      • Installation
      • Protocol Actors
      • Usage Guide
  • Troubleshooting & Support
    • Intercom
  • Maple 1.0
    • Access to deprecated Maple 1.0
  • Legal
    • Borrower MLA
    • KYC
    • Interface Terms of Use
    • Privacy Policy
    • syrupUSDC and syrupUSDT - Risks
    • syrupUSDC and syrupUSDT - Defaults and Impairments
    • syrupUSDC and syrupUSDT - Available Jurisdictions
    • Interface Terms of Use [syrupUSDC and syrupUSDT]
    • Interface Terms of Use [Syrup.fi/convert/ and Syrup.fi/stake/]
    • syrupUSDC and syrupUSDT- Privacy Policy
    • SyrupUSDC Rewards Prize Draw Terms & Conditions
Powered by GitBook
On this page
  • Functions
  • accountedInterest
  • allowedSlippageFor
  • decodeArguments
  • domainEnd
  • domainStart
  • encodeArguments
  • fundsAsset
  • issuanceRate
  • liquidationInfo
  • minRatioFor
  • paymentCounter
  • paymentIdOf
  • payments
  • paymentWithEarliestDueDate
  • poolManager
  • principalOut
  • sortedPayments
  • unrealizedLosses
  • Events
  • Initialized
  1. Technical Resources
  2. Interfaces

FixedTermLoanManagerInitializer

\

Functions

accountedInterest

    function accountedInterest()
        view
        returns (
            uint112
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint112

uint112

\

allowedSlippageFor

    function allowedSlippageFor(
        address
    )
        view
        returns (
            uint256
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

address

address

Return Values:

Index
Name
Type
Internal Type
Description

0

uint256

uint256

\

decodeArguments

Decodes the initialization arguments of a loan manager.

    function decodeArguments(
        bytes calldata_
    )
        pure
        returns (
            address poolManager_
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

calldata_

bytes

bytes

ABI encoded address of the pool manager.

Return Values:

Index
Name
Type
Internal Type
Description

0

poolManager_

address

address

Address of the pool manager.

\

domainEnd

    function domainEnd()
        view
        returns (
            uint48
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint48

uint48

\

domainStart

    function domainStart()
        view
        returns (
            uint48
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint48

uint48

\

encodeArguments

Encodes the initialization arguments of a loan manager.

    function encodeArguments(
        address poolManager_
    )
        pure
        returns (
            bytes calldata_
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

poolManager_

address

address

Address of the pool manager.

Return Values:

Index
Name
Type
Internal Type
Description

0

calldata_

bytes

bytes

ABI encoded address of the pool manager.

\

fundsAsset

    function fundsAsset()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

issuanceRate

    function issuanceRate()
        view
        returns (
            uint256
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint256

uint256

\

liquidationInfo

    function liquidationInfo(
        address
    )
        view
        returns (
            bool triggeredByGovernor,
            uint128 principal,
            uint120 interest,
            uint256 lateInterest,
            uint96 platformFees,
            address liquidator
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

address

address

Return Values:

Index
Name
Type
Internal Type
Description

0

triggeredByGovernor

bool

bool

1

principal

uint128

uint128

2

interest

uint120

uint120

3

lateInterest

uint256

uint256

4

platformFees

uint96

uint96

5

liquidator

address

address

\

minRatioFor

    function minRatioFor(
        address
    )
        view
        returns (
            uint256
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

address

address

Return Values:

Index
Name
Type
Internal Type
Description

0

uint256

uint256

\

paymentCounter

    function paymentCounter()
        view
        returns (
            uint24
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint24

uint24

\

paymentIdOf

    function paymentIdOf(
        address
    )
        view
        returns (
            uint24
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

address

address

Return Values:

Index
Name
Type
Internal Type
Description

0

uint24

uint24

\

payments

    function payments(
        uint256
    )
        view
        returns (
            uint24 platformManagementFeeRate,
            uint24 delegateManagementFeeRate,
            uint48 startDate,
            uint48 paymentDueDate,
            uint128 incomingNetInterest,
            uint128 refinanceInterest,
            uint256 issuanceRate
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

uint256

uint256

Return Values:

Index
Name
Type
Internal Type
Description

0

platformManagementFeeRate

uint24

uint24

1

delegateManagementFeeRate

uint24

uint24

2

startDate

uint48

uint48

3

paymentDueDate

uint48

uint48

4

incomingNetInterest

uint128

uint128

5

refinanceInterest

uint128

uint128

6

issuanceRate

uint256

uint256

\

paymentWithEarliestDueDate

    function paymentWithEarliestDueDate()
        view
        returns (
            uint24
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint24

uint24

\

poolManager

    function poolManager()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

principalOut

    function principalOut()
        view
        returns (
            uint128
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint128

uint128

\

sortedPayments

    function sortedPayments(
        uint256
    )
        view
        returns (
            uint24 previous,
            uint24 next,
            uint48 paymentDueDate
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

uint256

uint256

Return Values:

Index
Name
Type
Internal Type
Description

0

previous

uint24

uint24

1

next

uint24

uint24

2

paymentDueDate

uint48

uint48

\

unrealizedLosses

    function unrealizedLosses()
        view
        returns (
            uint128
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint128

uint128

\

Events

Initialized

Emitted when the loan manager is initialized.

    event Initialized(
        address poolManager_
    );

Parameters:

Index
Name
Type
Internal Type
Description

0

poolManager_

address

address

Address of the associated pool manager.

\

PreviousFixedTermLoanManagerFactoryNextFixedTermLoanRefinancer

Last updated 6 months ago