@folks-finance/algorand-sdk

    Namespaces

    algoLiquidGovernanceV1

    Enumerations

    LoanType
    LPTokenProvider

    Interfaces

    BaseLendingPoolInfo
    BasePool
    ConsensusConfig
    ConsensusState
    DepositStakingInfo
    DepositStakingProgramInfo
    Dispenser
    DispenserInfo
    Distributor
    DistributorInfo
    EscrowGovernanceStatus
    LoanInfo
    LoanLocalState
    LPTokenPool
    OpUp
    Oracle
    OraclePrice
    OraclePrices
    PactLendingPool
    PactLPToken
    PoolInfo
    PoolLoanInfo
    PoolManagerInfo
    TinymanLendingPool
    TinymanLendingPoolInfo
    TinymanLPToken
    UserCommitmentInfo
    UserDepositStakingInfo
    UserDepositStakingLocalState
    UserDepositStakingProgramInfo
    UserLoanInfo
    UserLoanInfoBorrow
    UserLoanInfoCollateral

    Type Aliases

    LendingPool
    LPToken
    MainnetLendingPoolKey
    MainnetPoolKey
    PactLendingPoolInfo
    Pool
    ProposerAllocations
    ReserveAddress
    TestnetPoolKey
    UserDepositFullInfo
    UserDepositInfo

    Variables

    abiDistributor
    consensusConfig
    depositsABIContract
    depositStakingABIContract
    govDispenser
    govDistributor10
    govDistributor11
    govDistributor12
    govDistributor13
    govDistributor7
    govDistributor8
    govDistributor9
    HOURS_IN_YEAR
    loanABIContract
    lpTokenOracleABIContract
    MainnetDepositsAppId
    MainnetDepositStakingAppId
    MainnetLendingPools
    MainnetLoans
    MainnetOpUp
    MainnetOracle
    MainnetPoolManagerAppId
    MainnetPools
    MainnetReserveAddress
    MainnetTinymanAppId
    ONE_10_DP
    ONE_14_DP
    ONE_16_DP
    ONE_2_DP
    ONE_4_DP
    oracleAdapterABIContract
    poolABIContract
    SECONDS_IN_YEAR
    TestnetDepositsAppId
    TestnetLoans
    TestnetOpUp
    TestnetOracle
    TestnetPoolManagerAppId
    TestnetPools
    TestnetReserveAddress
    UINT128
    UINT64
    xAlgoABIContract

    Functions

    calcAssetDollarValue
    calcAvailableLiquidity
    calcBorrowAssetLoanValue
    calcBorrowBalance
    calcBorrowInterestIndex
    calcBorrowUtilisationRatio
    calcCollateralAssetLoanValue
    calcDepositInterestIndex
    calcDepositInterestRate
    calcDepositReturn
    calcFlashLoanRepayment
    calcLiquidationMargin
    calcLoanStableInterestRate
    calcLPPrice
    calcLTVRatio
    calcMaxSingleStableBorrow
    calcOverallBorrowInterestRate
    calcRebalanceDownThreshold
    calcRebalanceUpThreshold
    calcStableBorrowInterestRate
    calcStableBorrowRatio
    calcStableDebtToTotalDebtRatio
    calcTotalDebt
    calcUtilisationRatio
    calcVariableBorrowInterestRate
    calcWithdrawReturn
    compoundEveryHour
    compoundEverySecond
    convertAlgoToXAlgoWhenDelay
    convertAlgoToXAlgoWhenImmediate
    convertXAlgoToAlgo
    depositStakingProgramsInfo
    divScale
    divScaleRoundUp
    expBySquaring
    getConsensusState
    getDispenserInfo
    getDistributorInfo
    getDistributorLogicSig
    getEscrowGovernanceStatus
    getMaxBorrowForBorrowUtilisationRatio
    getMaxReduceCollateralForBorrowUtilisationRatio
    getOraclePrices
    getUserLiquidGovernanceInfo
    greedyStakeAllocationStrategy
    greedyUnstakeAllocationStrategy
    maximum
    minimum
    mulScale
    mulScaleRoundUp
    prefixWithOpUp
    prepareAddCollateralToLoan
    prepareAddDepositEscrowToDeposits
    prepareAddDepositStakingEscrow
    prepareAddLiquidGovernanceEscrowTransactions
    prepareBorrowFromLoan
    prepareBurnTransactions
    prepareClaimDelayedStakeTransactions
    prepareClaimPremintTransaction
    prepareClaimRewardsOfDepositStakingEscrow
    prepareCommitOrVoteTransaction
    prepareCreateUserLoan
    prepareDelayedStakeTransactions
    prepareDepositIntoPool
    prepareDummyTransaction
    prepareFlashLoanBegin
    prepareFlashLoanEnd
    prepareImmediateStakeTransactions
    prepareLiquidateLoan
    prepareMintTransactions
    prepareOptDepositEscrowIntoAssetInDeposits
    prepareOptDepositStakingEscrowIntoAsset
    prepareOptOutDepositEscrowFromAssetInDeposits
    prepareOptOutDepositStakingEscrowFromAsset
    prepareRebalanceDownLoan
    prepareRebalanceUpLoan
    prepareReduceCollateralFromLoan
    prepareRefreshPricesInOracleAdapter
    prepareRegisterEscrowOfflineTransaction
    prepareRegisterEscrowOnlineTransaction
    prepareRemoveCollateralFromLoan
    prepareRemoveDepositEscrowFromDeposits
    prepareRemoveDepositStakingEscrow
    prepareRemoveLiquidGovernanceEscrowTransactions
    prepareRemoveUserLoan
    prepareRepayLoanWithCollateral
    prepareRepayLoanWithTxn
    prepareSwapCollateralInLoanBegin
    prepareSwapCollateralInLoanEnd
    prepareSwitchBorrowTypeInLoan
    prepareSyncCollateralInLoan
    prepareSyncStakeInDepositStakingEscrow
    prepareUnmintPremintTransaction
    prepareUnmintTransactions
    prepareUnstakeTransactions
    prepareUpdatePoolInterestIndexes
    prepareWithdrawFromDepositEscrowInDeposits
    prepareWithdrawFromDepositStakingEscrow
    prepareWithdrawFromPool
    retrieveDepositStakingInfo
    retrieveLiquidatableLoans
    retrieveLoanInfo
    retrieveLoanLocalState
    retrieveLoansLocalState
    retrievePactLendingPoolInfo
    retrievePoolInfo
    retrievePoolManagerInfo
    retrieveTinymanLendingPoolInfo
    retrieveUserDepositInfo
    retrieveUserDepositsFullInfo
    retrieveUserDepositsInfo
    retrieveUserDepositStakingLocalState
    retrieveUserDepositStakingsLocalState
    retrieveUserLoanInfo
    retrieveUserLoansInfo
    sqrt
    userDepositStakingInfo
    userLoanInfo
    wrapWithFlashLoan