From 180bdd0b2a9cc00a399fc87e957c7cff1dce81b0 Mon Sep 17 00:00:00 2001 From: gidonkatten Date: Mon, 25 Jul 2022 13:13:54 -0400 Subject: [PATCH] Added goBTC/gALGO PLP and goETH/gALGO PLP pools --- docs/interfaces/AssetRewardsInfo.html | 2 +- docs/interfaces/BasePool.html | 2 +- docs/interfaces/ConversionRate.html | 2 +- docs/interfaces/Dispenser.html | 2 +- docs/interfaces/DispenserInfo.html | 2 +- docs/interfaces/Distributor.html | 2 +- docs/interfaces/DistributorInfo.html | 2 +- docs/interfaces/LoanInfo.html | 2 +- docs/interfaces/LockAndEarn.html | 2 +- docs/interfaces/LockAndEarnInfo.html | 2 +- docs/interfaces/LockedDepositInfo.html | 2 +- docs/interfaces/Oracle.html | 2 +- docs/interfaces/OraclePrice.html | 2 +- docs/interfaces/OraclePrices.html | 2 +- docs/interfaces/PactLPToken.html | 2 +- docs/interfaces/PactLPTokenPool.html | 2 +- docs/interfaces/PoolInfo.html | 2 +- docs/interfaces/RewardsAggregator.html | 2 +- docs/interfaces/RewardsAggregatorInfo.html | 2 +- docs/interfaces/StakedRewardsInfo.html | 2 +- docs/interfaces/TinymanLPToken.html | 2 +- docs/interfaces/TinymanLPTokenPool.html | 2 +- docs/interfaces/TokenPair.html | 2 +- docs/interfaces/TokenPairInfo.html | 2 +- docs/interfaces/UserCommitmentInfo.html | 2 +- docs/modules.html | 66 +++++++++--------- package.json | 2 +- src/lend/v1/constants/mainnetConstants.ts | 80 +++++++++++++++++++++- 28 files changed, 137 insertions(+), 61 deletions(-) diff --git a/docs/interfaces/AssetRewardsInfo.html b/docs/interfaces/AssetRewardsInfo.html index da830e07..758e7dea 100644 --- a/docs/interfaces/AssetRewardsInfo.html +++ b/docs/interfaces/AssetRewardsInfo.html @@ -1 +1 @@ -AssetRewardsInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssetRewardsInfo

Hierarchy

  • AssetRewardsInfo

Index

Properties

assetId: number
periodRewards: { claimed: bigint; conversionRate: bigint; limit: bigint }[]

Generated using TypeDoc

\ No newline at end of file +AssetRewardsInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssetRewardsInfo

Hierarchy

  • AssetRewardsInfo

Index

Properties

assetId: number
periodRewards: { claimed: bigint; conversionRate: bigint; limit: bigint }[]

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/BasePool.html b/docs/interfaces/BasePool.html index 6eab1851..9103f85b 100644 --- a/docs/interfaces/BasePool.html +++ b/docs/interfaces/BasePool.html @@ -1 +1 @@ -BasePool | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

appId: number
assetDecimals: number
assetId: number
fAssetId: number
frAssetId: number

Generated using TypeDoc

\ No newline at end of file +BasePool | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

appId: number
assetDecimals: number
assetId: number
fAssetId: number
frAssetId: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/ConversionRate.html b/docs/interfaces/ConversionRate.html index fcee8157..cf1d69a8 100644 --- a/docs/interfaces/ConversionRate.html +++ b/docs/interfaces/ConversionRate.html @@ -1 +1 @@ -ConversionRate | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConversionRate

Hierarchy

  • ConversionRate

Index

Properties

Properties

decimals: number
rate: bigint

Generated using TypeDoc

\ No newline at end of file +ConversionRate | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConversionRate

Hierarchy

  • ConversionRate

Index

Properties

Properties

decimals: number
rate: bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Dispenser.html b/docs/interfaces/Dispenser.html index 38e63413..d66d81ca 100644 --- a/docs/interfaces/Dispenser.html +++ b/docs/interfaces/Dispenser.html @@ -1 +1 @@ -Dispenser | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Dispenser

Index

Properties

Properties

appId: number
gAlgoId: number

Generated using TypeDoc

\ No newline at end of file +Dispenser | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Dispenser

Index

Properties

Properties

appId: number
gAlgoId: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/DispenserInfo.html b/docs/interfaces/DispenserInfo.html index 81edc461..56b74984 100644 --- a/docs/interfaces/DispenserInfo.html +++ b/docs/interfaces/DispenserInfo.html @@ -1 +1 @@ -DispenserInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DispenserInfo

Hierarchy

  • DispenserInfo

Index

Properties

currentRound: number
distributorAppIds: number[]
isMintingPaused: boolean

Generated using TypeDoc

\ No newline at end of file +DispenserInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DispenserInfo

Hierarchy

  • DispenserInfo

Index

Properties

currentRound: number
distributorAppIds: number[]
isMintingPaused: boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Distributor.html b/docs/interfaces/Distributor.html index 9322da45..c473402b 100644 --- a/docs/interfaces/Distributor.html +++ b/docs/interfaces/Distributor.html @@ -1 +1 @@ -Distributor | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Distributor

Hierarchy

  • Distributor

Index

Properties

Properties

appId: number

Generated using TypeDoc

\ No newline at end of file +Distributor | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Distributor

Hierarchy

  • Distributor

Index

Properties

Properties

appId: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/DistributorInfo.html b/docs/interfaces/DistributorInfo.html index acdf149b..1ee2bea3 100644 --- a/docs/interfaces/DistributorInfo.html +++ b/docs/interfaces/DistributorInfo.html @@ -1 +1 @@ -DistributorInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DistributorInfo

Hierarchy

  • DistributorInfo

Index

Properties

canClaimAlgoRewards: boolean
commitEnd: bigint
currentRound: number
dispenserAppId: number
isBurningPaused: boolean
periodEnd: bigint
rewardsPerAlgo: bigint
totalCommitment: bigint
totalCommitmentClaimed: bigint
totalRewardsClaimed: bigint

Generated using TypeDoc

\ No newline at end of file +DistributorInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DistributorInfo

Hierarchy

  • DistributorInfo

Index

Properties

canClaimAlgoRewards: boolean
commitEnd: bigint
currentRound: number
dispenserAppId: number
isBurningPaused: boolean
periodEnd: bigint
rewardsPerAlgo: bigint
totalCommitment: bigint
totalCommitmentClaimed: bigint
totalRewardsClaimed: bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LoanInfo.html b/docs/interfaces/LoanInfo.html index 0ca4af1a..c7791577 100644 --- a/docs/interfaces/LoanInfo.html +++ b/docs/interfaces/LoanInfo.html @@ -1 +1 @@ -LoanInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LoanInfo

Index

Properties

borrowBalance: bigint
borrowBalanceLiquidationThreshold: bigint
borrowed: bigint
collateralBalance: bigint
currentRound: number
escrowAddress: string
healthFactor: bigint
userAddress: string

Generated using TypeDoc

\ No newline at end of file +LoanInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LoanInfo

Index

Properties

borrowBalance: bigint
borrowBalanceLiquidationThreshold: bigint
borrowed: bigint
collateralBalance: bigint
currentRound: number
escrowAddress: string
healthFactor: bigint
userAddress: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LockAndEarn.html b/docs/interfaces/LockAndEarn.html index a5f7c3e1..4b5721e7 100644 --- a/docs/interfaces/LockAndEarn.html +++ b/docs/interfaces/LockAndEarn.html @@ -1 +1 @@ -LockAndEarn | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LockAndEarn

Hierarchy

  • LockAndEarn

Index

Properties

appId: number
linkAddr: string
pool: Pool

Generated using TypeDoc

\ No newline at end of file +LockAndEarn | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LockAndEarn

Hierarchy

  • LockAndEarn

Index

Properties

appId: number
linkAddr: string
pool: Pool

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LockAndEarnInfo.html b/docs/interfaces/LockAndEarnInfo.html index 246f52e7..1bd339e1 100644 --- a/docs/interfaces/LockAndEarnInfo.html +++ b/docs/interfaces/LockAndEarnInfo.html @@ -1 +1 @@ -LockAndEarnInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LockAndEarnInfo

Hierarchy

  • LockAndEarnInfo

Index

Properties

currentRound: number
deposits: bigint
limit: bigint
rewardsRatio: bigint
timeLocked: bigint

Generated using TypeDoc

\ No newline at end of file +LockAndEarnInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LockAndEarnInfo

Hierarchy

  • LockAndEarnInfo

Index

Properties

currentRound: number
deposits: bigint
limit: bigint
rewardsRatio: bigint
timeLocked: bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LockedDepositInfo.html b/docs/interfaces/LockedDepositInfo.html index 5f24c400..efe30071 100644 --- a/docs/interfaces/LockedDepositInfo.html +++ b/docs/interfaces/LockedDepositInfo.html @@ -1 +1 @@ -LockedDepositInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LockedDepositInfo

Hierarchy

  • LockedDepositInfo

Index

Properties

currentRound: number
escrowAddress: string
lockedBalance: bigint
release: bigint
userAddress: string

Generated using TypeDoc

\ No newline at end of file +LockedDepositInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LockedDepositInfo

Hierarchy

  • LockedDepositInfo

Index

Properties

currentRound: number
escrowAddress: string
lockedBalance: bigint
release: bigint
userAddress: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Oracle.html b/docs/interfaces/Oracle.html index d0b4b075..bb70f997 100644 --- a/docs/interfaces/Oracle.html +++ b/docs/interfaces/Oracle.html @@ -1 +1 @@ -Oracle | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Oracle

Index

Properties

decimals: number
oracle1AppId: number
oracle2AppId?: number
oracleAdapterAppId: number
tinymanValidatorAppId: number

Generated using TypeDoc

\ No newline at end of file +Oracle | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Oracle

Index

Properties

decimals: number
oracle1AppId: number
oracle2AppId?: number
oracleAdapterAppId: number
tinymanValidatorAppId: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/OraclePrice.html b/docs/interfaces/OraclePrice.html index 1703b3d2..7043b7a4 100644 --- a/docs/interfaces/OraclePrice.html +++ b/docs/interfaces/OraclePrice.html @@ -1 +1 @@ -OraclePrice | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OraclePrice

Hierarchy

  • OraclePrice

Index

Properties

Properties

price: bigint
timestamp: bigint

Generated using TypeDoc

\ No newline at end of file +OraclePrice | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OraclePrice

Hierarchy

  • OraclePrice

Index

Properties

Properties

price: bigint
timestamp: bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/OraclePrices.html b/docs/interfaces/OraclePrices.html index 6645ba3d..d7338dda 100644 --- a/docs/interfaces/OraclePrices.html +++ b/docs/interfaces/OraclePrices.html @@ -1 +1 @@ -OraclePrices | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OraclePrices

Hierarchy

  • OraclePrices

Index

Properties

currentRound: number
prices: Record<number, OraclePrice>

Generated using TypeDoc

\ No newline at end of file +OraclePrices | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OraclePrices

Hierarchy

  • OraclePrices

Index

Properties

currentRound: number
prices: Record<number, OraclePrice>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/PactLPToken.html b/docs/interfaces/PactLPToken.html index 061b092e..1389c272 100644 --- a/docs/interfaces/PactLPToken.html +++ b/docs/interfaces/PactLPToken.html @@ -1 +1 @@ -PactLPToken | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PactLPToken

Hierarchy

  • BaseLPToken
    • PactLPToken

Index

Properties

asset0Id: number
asset1Id: number
poolAppId: number
provider: "Pact"

Generated using TypeDoc

\ No newline at end of file +PactLPToken | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PactLPToken

Hierarchy

  • BaseLPToken
    • PactLPToken

Index

Properties

asset0Id: number
asset1Id: number
poolAppId: number
provider: "Pact"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/PactLPTokenPool.html b/docs/interfaces/PactLPTokenPool.html index 754e499b..dc7c7c91 100644 --- a/docs/interfaces/PactLPTokenPool.html +++ b/docs/interfaces/PactLPTokenPool.html @@ -1 +1 @@ -PactLPTokenPool | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PactLPTokenPool

Hierarchy

Index

Properties

appId: number
assetDecimals: number
assetId: number
fAssetId: number
frAssetId: number
poolAppId: number

Generated using TypeDoc

\ No newline at end of file +PactLPTokenPool | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PactLPTokenPool

Hierarchy

Index

Properties

appId: number
assetDecimals: number
assetId: number
fAssetId: number
frAssetId: number
poolAppId: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/PoolInfo.html b/docs/interfaces/PoolInfo.html index 23442b4a..045bdc84 100644 --- a/docs/interfaces/PoolInfo.html +++ b/docs/interfaces/PoolInfo.html @@ -1 +1 @@ -PoolInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PoolInfo

Index

Properties

baseRate: bigint
borrowInterestIndex: bigint
borrowInterestRate: bigint
currentRound: number
depositInterestIndex: bigint
depositInterestRate: bigint
epsilon: bigint
isPaused: boolean
isRewardsPaused: boolean
latestUpdate: bigint
optimalUtilizationRatio: bigint
retentionRate: bigint
slope1Rate: bigint
slope2Rate: bigint
totalBorrows: bigint
totalDeposits: bigint
utilizationRatio: bigint

Generated using TypeDoc

\ No newline at end of file +PoolInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PoolInfo

Index

Properties

baseRate: bigint
borrowInterestIndex: bigint
borrowInterestRate: bigint
currentRound: number
depositInterestIndex: bigint
depositInterestRate: bigint
epsilon: bigint
isPaused: boolean
isRewardsPaused: boolean
latestUpdate: bigint
optimalUtilizationRatio: bigint
retentionRate: bigint
slope1Rate: bigint
slope2Rate: bigint
totalBorrows: bigint
totalDeposits: bigint
utilizationRatio: bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RewardsAggregator.html b/docs/interfaces/RewardsAggregator.html index 0cb6503d..ed04e5f7 100644 --- a/docs/interfaces/RewardsAggregator.html +++ b/docs/interfaces/RewardsAggregator.html @@ -1 +1 @@ -RewardsAggregator | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RewardsAggregator

Hierarchy

  • RewardsAggregator

Index

Properties

Properties

appId: number
pool: Pool

Generated using TypeDoc

\ No newline at end of file +RewardsAggregator | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RewardsAggregator

Hierarchy

  • RewardsAggregator

Index

Properties

Properties

appId: number
pool: Pool

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RewardsAggregatorInfo.html b/docs/interfaces/RewardsAggregatorInfo.html index 73abe42d..4d259c7e 100644 --- a/docs/interfaces/RewardsAggregatorInfo.html +++ b/docs/interfaces/RewardsAggregatorInfo.html @@ -1 +1 @@ -RewardsAggregatorInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RewardsAggregatorInfo

Hierarchy

  • RewardsAggregatorInfo

Index

Properties

assetsRewards: AssetRewardsInfo[]
currentRound: number
vestingPeriodLengths: bigint[]

Generated using TypeDoc

\ No newline at end of file +RewardsAggregatorInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RewardsAggregatorInfo

Hierarchy

  • RewardsAggregatorInfo

Index

Properties

assetsRewards: AssetRewardsInfo[]
currentRound: number
vestingPeriodLengths: bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/StakedRewardsInfo.html b/docs/interfaces/StakedRewardsInfo.html index 783f1091..b11ee677 100644 --- a/docs/interfaces/StakedRewardsInfo.html +++ b/docs/interfaces/StakedRewardsInfo.html @@ -1 +1 @@ -StakedRewardsInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StakedRewardsInfo

Hierarchy

  • StakedRewardsInfo

Index

Properties

currentRound: number
end: bigint
escrowAddress: string
latest: bigint
rewards: { assetId: number; claimed: bigint; total: bigint }[]
start: bigint
userAddress: string

Generated using TypeDoc

\ No newline at end of file +StakedRewardsInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StakedRewardsInfo

Hierarchy

  • StakedRewardsInfo

Index

Properties

currentRound: number
end: bigint
escrowAddress: string
latest: bigint
rewards: { assetId: number; claimed: bigint; total: bigint }[]
start: bigint
userAddress: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/TinymanLPToken.html b/docs/interfaces/TinymanLPToken.html index 821799bf..9e676b3b 100644 --- a/docs/interfaces/TinymanLPToken.html +++ b/docs/interfaces/TinymanLPToken.html @@ -1 +1 @@ -TinymanLPToken | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TinymanLPToken

Hierarchy

  • BaseLPToken
    • TinymanLPToken

Index

Properties

asset0Id: number
asset1Id: number
poolAddress: string
provider: "Tinyman"

Generated using TypeDoc

\ No newline at end of file +TinymanLPToken | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TinymanLPToken

Hierarchy

  • BaseLPToken
    • TinymanLPToken

Index

Properties

asset0Id: number
asset1Id: number
poolAddress: string
provider: "Tinyman"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/TinymanLPTokenPool.html b/docs/interfaces/TinymanLPTokenPool.html index 0c1aa728..e5cc77d1 100644 --- a/docs/interfaces/TinymanLPTokenPool.html +++ b/docs/interfaces/TinymanLPTokenPool.html @@ -1 +1 @@ -TinymanLPTokenPool | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TinymanLPTokenPool

Hierarchy

Index

Properties

appId: number
assetDecimals: number
assetId: number
fAssetId: number
frAssetId: number
poolAppAddress: string

Generated using TypeDoc

\ No newline at end of file +TinymanLPTokenPool | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TinymanLPTokenPool

Hierarchy

Index

Properties

appId: number
assetDecimals: number
assetId: number
fAssetId: number
frAssetId: number
poolAppAddress: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/TokenPair.html b/docs/interfaces/TokenPair.html index bd4d8776..b09092b2 100644 --- a/docs/interfaces/TokenPair.html +++ b/docs/interfaces/TokenPair.html @@ -1 +1 @@ -TokenPair | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TokenPair

Index

Properties

appId: number
borrowPool: Pool
collateralPool: Pool
linkAddr: string

Generated using TypeDoc

\ No newline at end of file +TokenPair | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TokenPair

Index

Properties

appId: number
borrowPool: Pool
collateralPool: Pool
linkAddr: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/TokenPairInfo.html b/docs/interfaces/TokenPairInfo.html index 181125b2..b435ac82 100644 --- a/docs/interfaces/TokenPairInfo.html +++ b/docs/interfaces/TokenPairInfo.html @@ -1 +1 @@ -TokenPairInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TokenPairInfo

Hierarchy

  • TokenPairInfo

Index

Properties

currentRound: number
liquidationThreshold: bigint
loanToValueRatio: bigint
safetyThreshold: bigint
totalBorrowed?: bigint
totalBorrowedLimit?: bigint

Generated using TypeDoc

\ No newline at end of file +TokenPairInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TokenPairInfo

Hierarchy

  • TokenPairInfo

Index

Properties

currentRound: number
liquidationThreshold: bigint
loanToValueRatio: bigint
safetyThreshold: bigint
totalBorrowed?: bigint
totalBorrowedLimit?: bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/UserCommitmentInfo.html b/docs/interfaces/UserCommitmentInfo.html index e4836dbd..9efb6fc1 100644 --- a/docs/interfaces/UserCommitmentInfo.html +++ b/docs/interfaces/UserCommitmentInfo.html @@ -1 +1 @@ -UserCommitmentInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UserCommitmentInfo

Hierarchy

  • UserCommitmentInfo

Index

Properties

commitment: bigint
commitmentClaimed: bigint
currentRound: number

Generated using TypeDoc

\ No newline at end of file +UserCommitmentInfo | folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UserCommitmentInfo

Hierarchy

  • UserCommitmentInfo

Index

Properties

commitment: bigint
commitmentClaimed: bigint
currentRound: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index d3bf2683..1cb5e096 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,25 +1,25 @@ -folks-finance-js-sdk
Options
All
  • Public
  • Public/Protected
  • All
Menu

folks-finance-js-sdk

Index

Type aliases

MainnetPoolKey: "ALGO" | "gALGO" | "USDC" | "USDt" | "goBTC" | "goETH" | "gALGO3" | "Planet" | "ALGOgALGOPLP" | "ALGOUSDCTMP" | "ALGOUSDCPLP" | "ALGOgALGO3TMP" | "ALGOgALGO3PLP" | "USDCgALGOTMP" | "USDCUSDtTMP" | "USDCUSDtPLP"
MainnetTokenPairKey: "ALGO-USDC" | "ALGO-USDt" | "ALGO-goBTC" | "ALGO-goETH" | "ALGO-Planet" | "gALGO-ALGO" | "gALGO-USDC" | "gALGO-USDt" | "gALGO-goBTC" | "gALGO-goETH" | "gALGO-Planet" | "USDC-ALGO" | "USDC-USDt" | "USDC-goBTC" | "USDC-goETH" | "USDC-Planet" | "USDt-ALGO" | "USDt-USDC" | "USDt-goBTC" | "USDt-goETH" | "USDt-Planet" | "goBTC-ALGO" | "goBTC-USDC" | "goBTC-USDt" | "goBTC-goETH" | "goETH-ALGO" | "goETH-USDC" | "goETH-USDt" | "goETH-goBTC" | "gALGO3-ALGO" | "gALGO3-USDC" | "gALGO3-USDt" | "gALGO3-goBTC" | "gALGO3-goETH" | "Planet-ALGO" | "Planet-USDC" | "Planet-USDt" | "ALGO/gALGOPLP-ALGO" | "ALGO/gALGOPLP-USDC" | "ALGO/gALGOPLP-USDt" | "ALGO/USDCTMP1.1-ALGO" | "ALGO/USDCTMP1.1-USDC" | "ALGO/USDCTMP1.1-USDt" | "ALGO/USDCPLP-ALGO" | "ALGO/USDCPLP-USDC" | "ALGO/USDCPLP-USDt" | "USDC/USDtTMP1.1-ALGO" | "USDC/USDtTMP1.1-USDC" | "USDC/USDtTMP1.1-USDt" | "ALGO/gALGO3PLP-ALGO" | "ALGO/gALGO3PLP-USDC" | "ALGO/gALGO3PLP-USDt" | "ALGO/gALGO3TMP1.1-ALGO" | "ALGO/gALGO3TMP1.1-USDC" | "ALGO/gALGO3TMP1.1-USDt" | "USDC/gALGOTMP1.1-ALGO" | "USDC/gALGOTMP1.1-USDC" | "USDC/gALGOTMP1.1-USDt" | "USDC/USDtPLP-ALGO" | "USDC/USDtPLP-USDC" | "USDC/USDtPLP-USDt"
ReserveAddress: string
TestnetPoolKey: "ALGO" | "USDC" | "USDt" | "goBTC" | "goETH" | "xUSD"
TestnetTokenPairKey: "ALGO-USDC" | "ALGO-USDt" | "ALGO-goBTC" | "ALGO-goETH" | "ALGO-xUSD" | "USDC-ALGO" | "USDC-USDt" | "USDC-goBTC" | "USDC-goETH" | "USDC-xUSD" | "USDt-ALGO" | "USDt-USDC" | "USDt-goBTC" | "USDt-goETH" | "USDt-xUSD" | "goBTC-ALGO" | "goBTC-USDC" | "goBTC-USDt" | "goBTC-goETH" | "goBTC-xUSD" | "goETH-ALGO" | "goETH-USDC" | "goETH-USDt" | "goETH-goBTC" | "goETH-xUSD" | "xUSD-ALGO" | "xUSD-USDC" | "xUSD-USDt" | "xUSD-goBTC" | "xUSD-goETH"

Variables

MainnetOracle: Oracle = ...
MainnetPools: Record<MainnetPoolKey, Pool> = ...
MainnetReserveAddress: ReserveAddress = "XQEOICBG6FMMBBWTBOWCMVJX5IQEDUSBF6L4MTSIALWRWODSOV2THX6GTU"
MainnetTokenPairs: Record<MainnetTokenPairKey, TokenPair> = ...
TestnetOracle: Oracle = ...
TestnetPools: Record<TestnetPoolKey, Pool> = ...
TestnetReserveAddress: ReserveAddress = "5ISPVI3JMQ4MP5XWWK4ILLKJAYU34U4TGZGXNC5BKR5AK3JBVAMJYBRYEI"
TestnetTokenPairs: Record<TestnetTokenPairKey, TokenPair> = ...
abiDistributor: ABIContract = ...
govDispenser: Dispenser = ...
govDistributor4: Distributor = ...

Functions

  • getConversionRate(collateralPrice: bigint, borrowPrice: bigint): ConversionRate
  • prepareClaimLockedDepositTransactions(lockAndEarn: LockAndEarn, senderAddr: string, escrowAddr: string, params: SuggestedParams): Transaction
  • prepareClaimLockedDepositTransactions(lockAndEarn: LockAndEarn, senderAddr: string, escrowAddr: string, params: SuggestedParams): Transaction
  • Returns a transaction to claim locked deposit.

    Parameters

    • lockAndEarn: LockAndEarn

      lock and earn

      @@ -189,7 +189,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction

    Transaction claim locked deposit transaction

    -
  • prepareClaimRewardsTransaction(rewardsAggregator: RewardsAggregator, senderAddr: string, escrowAddr: string, rewardAssetIds: number[], params: SuggestedParams): Transaction
  • prepareClaimRewardsTransaction(rewardsAggregator: RewardsAggregator, senderAddr: string, escrowAddr: string, rewardAssetIds: number[], params: SuggestedParams): Transaction
  • Returns a transaction to claim staked rewards.

    Parameters

    • rewardsAggregator: RewardsAggregator

      rewards aggregator to exchange rewards using

      @@ -202,7 +202,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction

    Transaction claim stake rewards transaction

    -
  • prepareDepositTransactions(pool: Pool, senderAddr: string, depositAmount: number | bigint, params: SuggestedParams): Transaction[]
  • prepareDepositTransactions(pool: Pool, senderAddr: string, depositAmount: number | bigint, params: SuggestedParams): Transaction[]
  • Returns a group transaction to deposit into the specified pool.

    Parameters

    • pool: Pool

      pool to deposit into

      @@ -213,7 +213,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

    Transaction[] deposit group transaction

    -
  • prepareEarlyClaimGovernanceRewardsTransaction(dispenser: Dispenser, distributor: Distributor, senderAddr: string, amount: number | bigint, params: SuggestedParams): Transaction
  • prepareEarlyClaimGovernanceRewardsTransaction(dispenser: Dispenser, distributor: Distributor, senderAddr: string, amount: number | bigint, params: SuggestedParams): Transaction
  • Returns a group transaction to early claim governance rewards for a given amount of ALGO. Must be after commitment end. Rewards received is in gALGO. Amount of rewards is determined by rewards_per_algo.

    @@ -228,7 +228,7 @@
  • params: SuggestedParams

    suggested params for the transactions with the fees overwritten

Returns Transaction

Transaction early claim governance rewards transaction

-
  • prepareIncreaseBorrowTransactions(tokenPair: TokenPair, oracle: Oracle, senderAddr: string, escrow: string, increaseAmount: number | bigint, params: SuggestedParams): Transaction[]
  • prepareIncreaseBorrowTransactions(tokenPair: TokenPair, oracle: Oracle, senderAddr: string, escrow: string, increaseAmount: number | bigint, params: SuggestedParams): Transaction[]
  • Returns a group transaction to increase borrow.

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

      @@ -243,7 +243,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

    Transaction[] increase borrow group transaction

    -
  • prepareIncreaseCollateralTransaction(tokenPair: TokenPair, senderAddr: string, escrowAddr: string, collateralAmount: number | bigint, params: SuggestedParams): Transaction
  • prepareIncreaseCollateralTransaction(tokenPair: TokenPair, senderAddr: string, escrowAddr: string, collateralAmount: number | bigint, params: SuggestedParams): Transaction
  • Returns a transaction to increase collateral.

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

      @@ -256,7 +256,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction

    Transaction increase collateral transaction

    -
  • prepareLiquidateTransactions(tokenPair: TokenPair, oracle: Oracle, senderAddr: string, escrowAddr: string, reserveAddr: string, liquidationAmount: number | bigint, params: SuggestedParams): Transaction[]
  • prepareLiquidateTransactions(tokenPair: TokenPair, oracle: Oracle, senderAddr: string, escrowAddr: string, reserveAddr: string, liquidationAmount: number | bigint, params: SuggestedParams): Transaction[]
  • Returns a group transaction to liquidate an under-collateralized loan.

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

      @@ -273,7 +273,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

    Transaction[] liquidate group transaction

    -
  • prepareMintTransactions(dispenser: Dispenser, distributor: Distributor, senderAddr: string, amount: number | bigint, includeOptIn: boolean, params: SuggestedParams, note?: Uint8Array): Transaction[]
  • prepareMintTransactions(dispenser: Dispenser, distributor: Distributor, senderAddr: string, amount: number | bigint, includeOptIn: boolean, params: SuggestedParams, note?: Uint8Array): Transaction[]
  • Returns a group transaction to mint gALGO for ALGO at a one-to-one rate. If in the commitment period then also commits user into governance.

    Parameters

    • dispenser: Dispenser
      @@ -291,7 +291,7 @@
    • Optional note: Uint8Array

      optional note to distinguish who is the minter (must pass to be eligible for revenue share)

    Returns Transaction[]

    Transaction[] mint transactions

    -
  • prepareProvideLiquidityTransactions(lockAndEarn: LockAndEarn, senderAddr: string, depositAmount: number | bigint, params: SuggestedParams): { escrow: Account; txns: Transaction[] }
  • prepareProvideLiquidityTransactions(lockAndEarn: LockAndEarn, senderAddr: string, depositAmount: number | bigint, params: SuggestedParams): { escrow: Account; txns: Transaction[] }
  • Returns a group transaction to provide liquidity in lock and earn.

    Parameters

    • lockAndEarn: LockAndEarn

      lock and earn

      @@ -302,7 +302,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns { escrow: Account; txns: Transaction[] }

    object containing group transaction and escrow account

    -
    • escrow: Account
    • txns: Transaction[]
  • prepareReduceCollateralTransactions(tokenPair: TokenPair, oracle: Oracle, sender: string, escrow: string, reduceAmount: undefined | number | bigint, params: SuggestedParams): Transaction[]
  • prepareReduceCollateralTransactions(tokenPair: TokenPair, oracle: Oracle, sender: string, escrow: string, reduceAmount: undefined | number | bigint, params: SuggestedParams): Transaction[]
  • Returns a group transaction to reduce collateral.

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

      @@ -317,7 +317,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

    Transaction[] reduce collateral group transaction

    -
  • prepareRepayTransactions(tokenPair: TokenPair, senderAddr: string, escrowAddr: string, reserveAddr: string, repayAmount: number | bigint, params: SuggestedParams): Transaction[]
  • prepareRepayTransactions(tokenPair: TokenPair, senderAddr: string, escrowAddr: string, reserveAddr: string, repayAmount: number | bigint, params: SuggestedParams): Transaction[]
  • Returns a group transaction to increase borrow.

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

      @@ -332,7 +332,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

    Transaction[] increase borrow group transaction

    -
  • prepareRewardImmediateExchangeTransactions(rewardsAggregator: RewardsAggregator, senderAddr: string, rewardAssetIds: number[], frAssetAmount: number | bigint, params: SuggestedParams): Transaction[]
  • prepareRewardImmediateExchangeTransactions(rewardsAggregator: RewardsAggregator, senderAddr: string, rewardAssetIds: number[], frAssetAmount: number | bigint, params: SuggestedParams): Transaction[]
  • Returns a group transaction to immediately exchange frAsset for rewards.

    Parameters

    • rewardsAggregator: RewardsAggregator

      rewards aggregator to exchange rewards using

      @@ -345,7 +345,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction[]

    Transaction[] exchange group transaction

    -
  • prepareRewardStakedExchangeTransactions(rewardsAggregator: RewardsAggregator, senderAddr: string, period: number, frAssetAmount: number | bigint, params: SuggestedParams): { escrow: Account; txns: Transaction[] }
  • prepareRewardStakedExchangeTransactions(rewardsAggregator: RewardsAggregator, senderAddr: string, period: number, frAssetAmount: number | bigint, params: SuggestedParams): { escrow: Account; txns: Transaction[] }
  • Returns a group transaction to exchange frAsset for rewards staked.

    Parameters

    • rewardsAggregator: RewardsAggregator

      rewards aggregator to exchange rewards using

      @@ -358,7 +358,7 @@
    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns { escrow: Account; txns: Transaction[] }

    object containing group transaction and escrow account

    -
    • escrow: Account
    • txns: Transaction[]
  • prepareUnmintTransactions(dispenser: Dispenser, distributor: Distributor, senderAddr: string, amount: number | bigint, params: SuggestedParams, note?: Uint8Array): Transaction[]
  • prepareUnmintTransactions(dispenser: Dispenser, distributor: Distributor, senderAddr: string, amount: number | bigint, params: SuggestedParams, note?: Uint8Array): Transaction[]
  • Returns a group transaction to unmint gALGO for ALGO at a one-to-one rate. Must be in commitment period. By unminting, you will lose your governance rewards.

    Parameters

    • dispenser: Dispenser
      @@ -374,7 +374,7 @@
    • Optional note: Uint8Array

      optional note to distinguish who is the unminter (must pass to be eligible for revenue share)

    Returns Transaction[]

    Transaction[] unmint transactions

    -
  • prepareWithdrawTransactions(pool: Pool, senderAddr: string, withdrawAmount: number | bigint, params: SuggestedParams): Transaction[]
  • prepareWithdrawTransactions(pool: Pool, senderAddr: string, withdrawAmount: number | bigint, params: SuggestedParams): Transaction[]
  • Returns a group transaction to withdraw from the specified pool.

    Parameters

    • pool: Pool

      pool to deposit into

      diff --git a/package.json b/package.json index a109b088..a513370d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "folks-finance-js-sdk", - "version": "0.1.10", + "version": "0.1.11", "description": "The official JavaScript SDK for the Folks Finance Protocol", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/lend/v1/constants/mainnetConstants.ts b/src/lend/v1/constants/mainnetConstants.ts index fb59c62d..5cf91a0f 100644 --- a/src/lend/v1/constants/mainnetConstants.ts +++ b/src/lend/v1/constants/mainnetConstants.ts @@ -1,6 +1,6 @@ import { Oracle, Pool, ReserveAddress, TokenPair } from "../types"; -type MainnetPoolKey = "ALGO" | "gALGO" | "USDC" | "USDt" | "goBTC" | "goETH" | "gALGO3" | "Planet" | "ALGOgALGOPLP" | "ALGOUSDCTMP" | "ALGOUSDCPLP" |"ALGOgALGO3TMP" | "ALGOgALGO3PLP" | "USDCgALGOTMP" | "USDCUSDtTMP" | "USDCUSDtPLP"; +type MainnetPoolKey = "ALGO" | "gALGO" | "USDC" | "USDt" | "goBTC" | "goETH" | "gALGO3" | "Planet" | "ALGOgALGOPLP" | "ALGOUSDCTMP" | "ALGOUSDCPLP" |"ALGOgALGO3TMP" | "ALGOgALGO3PLP" | "USDCgALGOTMP" | "USDCUSDtTMP" | "USDCUSDtPLP" | "goBTCgALGOPLP" | "goETHgALGOPLP"; const MainnetPools: Record = { ALGO: { appId: 686498781, @@ -122,10 +122,26 @@ const MainnetPools: Record = { assetDecimals: 6, poolAppId: 701273050, }, + goBTCgALGOPLP: { + appId: 818026112, + assetId: 807805560, + fAssetId: 818036525, + frAssetId: 818036526, + assetDecimals: 6, + poolAppId: 807805342, + }, + goETHgALGOPLP: { + appId: 818028354, + assetId: 807804381, + fAssetId: 818036407, + frAssetId: 818036408, + assetDecimals: 6, + poolAppId: 807804196, + }, }; // CollateralPool-BorrowPool -type MainnetTokenPairKey = "ALGO-USDC" | "ALGO-USDt" | "ALGO-goBTC" | "ALGO-goETH" | "ALGO-Planet" | "gALGO-ALGO" | "gALGO-USDC" | "gALGO-USDt" | "gALGO-goBTC" | "gALGO-goETH" | "gALGO-Planet" | "USDC-ALGO" | "USDC-USDt" | "USDC-goBTC" | "USDC-goETH" | "USDC-Planet" |"USDt-ALGO" | "USDt-USDC" | "USDt-goBTC" | "USDt-goETH" | "USDt-Planet" | "goBTC-ALGO" | "goBTC-USDC" | "goBTC-USDt" | "goBTC-goETH" | "goETH-ALGO"| "goETH-USDC"| "goETH-USDt"| "goETH-goBTC" | "gALGO3-ALGO" | "gALGO3-USDC"| "gALGO3-USDt"| "gALGO3-goBTC"| "gALGO3-goETH" | "Planet-ALGO" | "Planet-USDC"| "Planet-USDt"| "ALGO/gALGOPLP-ALGO" | "ALGO/gALGOPLP-USDC" | "ALGO/gALGOPLP-USDt" | "ALGO/USDCTMP1.1-ALGO" | "ALGO/USDCTMP1.1-USDC" | "ALGO/USDCTMP1.1-USDt" | "ALGO/USDCPLP-ALGO" | "ALGO/USDCPLP-USDC" | "ALGO/USDCPLP-USDt" | "USDC/USDtTMP1.1-ALGO" | "USDC/USDtTMP1.1-USDC" | "USDC/USDtTMP1.1-USDt" | "ALGO/gALGO3PLP-ALGO" | "ALGO/gALGO3PLP-USDC" | "ALGO/gALGO3PLP-USDt" | "ALGO/gALGO3TMP1.1-ALGO" | "ALGO/gALGO3TMP1.1-USDC" | "ALGO/gALGO3TMP1.1-USDt" | "USDC/gALGOTMP1.1-ALGO" | "USDC/gALGOTMP1.1-USDC" | "USDC/gALGOTMP1.1-USDt"| "USDC/USDtPLP-ALGO" | "USDC/USDtPLP-USDC" | "USDC/USDtPLP-USDt"; +type MainnetTokenPairKey = "ALGO-USDC" | "ALGO-USDt" | "ALGO-goBTC" | "ALGO-goETH" | "ALGO-Planet" | "gALGO-ALGO" | "gALGO-USDC" | "gALGO-USDt" | "gALGO-goBTC" | "gALGO-goETH" | "gALGO-Planet" | "USDC-ALGO" | "USDC-USDt" | "USDC-goBTC" | "USDC-goETH" | "USDC-Planet" |"USDt-ALGO" | "USDt-USDC" | "USDt-goBTC" | "USDt-goETH" | "USDt-Planet" | "goBTC-ALGO" | "goBTC-USDC" | "goBTC-USDt" | "goBTC-goETH" | "goETH-ALGO"| "goETH-USDC"| "goETH-USDt"| "goETH-goBTC" | "gALGO3-ALGO" | "gALGO3-USDC"| "gALGO3-USDt"| "gALGO3-goBTC"| "gALGO3-goETH" | "Planet-ALGO" | "Planet-USDC"| "Planet-USDt" | "ALGO/gALGOPLP-ALGO" | "ALGO/gALGOPLP-USDC" | "ALGO/gALGOPLP-USDt" | "ALGO/USDCTMP1.1-ALGO" | "ALGO/USDCTMP1.1-USDC" | "ALGO/USDCTMP1.1-USDt" | "ALGO/USDCPLP-ALGO" | "ALGO/USDCPLP-USDC" | "ALGO/USDCPLP-USDt" | "USDC/USDtTMP1.1-ALGO" | "USDC/USDtTMP1.1-USDC" | "USDC/USDtTMP1.1-USDt" | "ALGO/gALGO3PLP-ALGO" | "ALGO/gALGO3PLP-USDC" | "ALGO/gALGO3PLP-USDt" | "ALGO/gALGO3TMP1.1-ALGO" | "ALGO/gALGO3TMP1.1-USDC" | "ALGO/gALGO3TMP1.1-USDt" | "USDC/gALGOTMP1.1-ALGO" | "USDC/gALGOTMP1.1-USDC" | "USDC/gALGOTMP1.1-USDt" | "USDC/USDtPLP-ALGO" | "USDC/USDtPLP-USDC" | "USDC/USDtPLP-USDt" | "goBTC/gALGOPLP-ALGO" | "goBTC/gALGOPLP-USDC" | "goBTC/gALGOPLP-USDt" | "goBTC/gALGOPLP-goBTC" | "goBTC/gALGOPLP-goETH" | "goETH/gALGOPLP-ALGO" | "goETH/gALGOPLP-USDC" | "goETH/gALGOPLP-USDt" | "goETH/gALGOPLP-goBTC" | "goETH/gALGOPLP-goETH"; const MainnetTokenPairs: Record = { "ALGO-USDC": { appId: 686541542, @@ -493,6 +509,66 @@ const MainnetTokenPairs: Record = { borrowPool: MainnetPools.USDt, linkAddr: "D7DSTJGLQXBHRSS5W5XT353ALXUO6LHFNGXQXX3L7OXK6A3HL7JZSPATMQ", }, + "goBTC/gALGOPLP-ALGO": { + appId: 818040031, + collateralPool: MainnetPools.goBTCgALGOPLP, + borrowPool: MainnetPools.ALGO, + linkAddr: "ERQN7QAXSBLHHPBE7DE3KTFZSQRKLTRCCV4BIXLRS3YJ5A77TPGNLTCUWI", + }, + "goBTC/gALGOPLP-USDC": { + appId: 818042616, + collateralPool: MainnetPools.goBTCgALGOPLP, + borrowPool: MainnetPools.USDC, + linkAddr: "A7E237D3MEFMSCTUH7GDYJRLX2RR3K7UFMPVETSVTEYSC2EVULJPYYARNA", + }, + "goBTC/gALGOPLP-USDt": { + appId: 818043183, + collateralPool: MainnetPools.goBTCgALGOPLP, + borrowPool: MainnetPools.USDt, + linkAddr: "IGH63FNVPPZPLXGJSL4A4ZQBIYCHM3V2CAOWPO7524XCAEIJDKS5EAE3OM", + }, + "goBTC/gALGOPLP-goBTC": { + appId: 818056982, + collateralPool: MainnetPools.goBTCgALGOPLP, + borrowPool: MainnetPools.goBTC, + linkAddr: "RLLNTANPDWBYJPM7VF7XXCY2FXDNTMKJSTZIPQLRDNWCQAAEGISMIYJM5M", + }, + "goBTC/gALGOPLP-goETH": { + appId: 818060413, + collateralPool: MainnetPools.goBTCgALGOPLP, + borrowPool: MainnetPools.goETH, + linkAddr: "FVVLBGGK7PTDXGZZZCM2DEBQ575QUWKHNZWIJBSYJFF76BKWBDMODIHCYU", + }, + "goETH/gALGOPLP-ALGO": { + appId: 818041145, + collateralPool: MainnetPools.goETHgALGOPLP, + borrowPool: MainnetPools.ALGO, + linkAddr: "HCRY6IF2LLH7CYZDDD3PVUHTSXJDSOYIETSK3EROKHAZDH4QHAON3N45VQ", + }, + "goETH/gALGOPLP-USDC": { + appId: 818045535, + collateralPool: MainnetPools.goETHgALGOPLP, + borrowPool: MainnetPools.USDC, + linkAddr: "DKUYMUWGF54SL74B2XYDIIEANNNNBVBNAAZEG7PVRNYBNO22U352N6ZCKY", + }, + "goETH/gALGOPLP-USDt": { + appId: 818044129, + collateralPool: MainnetPools.goETHgALGOPLP, + borrowPool: MainnetPools.USDt, + linkAddr: "YCAJAFX53IA7JEUYYCU2ZLSJQO65WOTR5DY7ZYQ4VNCOKHXXPTWXHADENE", + }, + "goETH/gALGOPLP-goBTC": { + appId: 818059371, + collateralPool: MainnetPools.goETHgALGOPLP, + borrowPool: MainnetPools.goBTC, + linkAddr: "FFMRRH6BGSSQS55DH6RU6HN4YHUH4NGJGVCM2CEU6IVAPYS4PXXZZRZMWU", + }, + "goETH/gALGOPLP-goETH": { + appId: 818061261, + collateralPool: MainnetPools.goETHgALGOPLP, + borrowPool: MainnetPools.goETH, + linkAddr: "BHBPNPF2PKUFGC7I5PZE57IAUC4XRZVFI4WINJ46UR6XC2ORTMC3NVU7KU", + }, }; const MainnetOracle: Oracle = {