@compass-labs/api-sdk 2.2.95 → 2.2.97-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/components/chain.d.ts +1 -0
- package/dist/commonjs/models/components/chain.d.ts.map +1 -1
- package/dist/commonjs/models/components/chain.js +1 -0
- package/dist/commonjs/models/components/chain.js.map +1 -1
- package/dist/commonjs/models/components/chainmarketinfo.d.ts +5 -1
- package/dist/commonjs/models/components/chainmarketinfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/chainmarketinfo.js +2 -0
- package/dist/commonjs/models/components/chainmarketinfo.js.map +1 -1
- package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +5 -0
- package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
- package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
- package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +5 -0
- package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
- package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
- package/dist/commonjs/models/components/loopedpositioncurrentstate.d.ts +25 -3
- package/dist/commonjs/models/components/loopedpositioncurrentstate.d.ts.map +1 -1
- package/dist/commonjs/models/components/loopedpositioncurrentstate.js +8 -0
- package/dist/commonjs/models/components/loopedpositioncurrentstate.js.map +1 -1
- package/dist/commonjs/models/components/marketdetail.d.ts +5 -0
- package/dist/commonjs/models/components/marketdetail.d.ts.map +1 -1
- package/dist/commonjs/models/components/marketdetail.js.map +1 -1
- package/dist/commonjs/models/components/morpholendingmarket.d.ts +8 -0
- package/dist/commonjs/models/components/morpholendingmarket.d.ts.map +1 -1
- package/dist/commonjs/models/components/morpholendingmarket.js +4 -0
- package/dist/commonjs/models/components/morpholendingmarket.js.map +1 -1
- package/dist/commonjs/models/components/reserveinfo.d.ts +5 -1
- package/dist/commonjs/models/components/reserveinfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/reserveinfo.js +2 -0
- package/dist/commonjs/models/components/reserveinfo.js.map +1 -1
- package/dist/commonjs/models/components/tokenizedassetclass.d.ts +11 -0
- package/dist/commonjs/models/components/tokenizedassetclass.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokenizedassetclass.js +6 -0
- package/dist/commonjs/models/components/tokenizedassetclass.js.map +1 -1
- package/dist/commonjs/models/components/tokenizedassetprovider.d.ts +1 -0
- package/dist/commonjs/models/components/tokenizedassetprovider.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokenizedassetprovider.js +1 -0
- package/dist/commonjs/models/components/tokenizedassetprovider.js.map +1 -1
- package/dist/commonjs/models/operations/v2earnswapquote.d.ts +1 -0
- package/dist/commonjs/models/operations/v2earnswapquote.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2earnswapquote.js +1 -0
- package/dist/commonjs/models/operations/v2earnswapquote.js.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetsbalances.d.ts +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetsbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetsbalances.js +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetsbalances.js.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.d.ts +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.js +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.js.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetspositions.d.ts +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetspositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetspositions.js +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetspositions.js.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js +1 -0
- package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/components/chain.d.ts +1 -0
- package/dist/esm/models/components/chain.d.ts.map +1 -1
- package/dist/esm/models/components/chain.js +1 -0
- package/dist/esm/models/components/chain.js.map +1 -1
- package/dist/esm/models/components/chainmarketinfo.d.ts +5 -1
- package/dist/esm/models/components/chainmarketinfo.d.ts.map +1 -1
- package/dist/esm/models/components/chainmarketinfo.js +2 -0
- package/dist/esm/models/components/chainmarketinfo.js.map +1 -1
- package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +5 -0
- package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
- package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
- package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +5 -0
- package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
- package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
- package/dist/esm/models/components/loopedpositioncurrentstate.d.ts +25 -3
- package/dist/esm/models/components/loopedpositioncurrentstate.d.ts.map +1 -1
- package/dist/esm/models/components/loopedpositioncurrentstate.js +8 -0
- package/dist/esm/models/components/loopedpositioncurrentstate.js.map +1 -1
- package/dist/esm/models/components/marketdetail.d.ts +5 -0
- package/dist/esm/models/components/marketdetail.d.ts.map +1 -1
- package/dist/esm/models/components/marketdetail.js.map +1 -1
- package/dist/esm/models/components/morpholendingmarket.d.ts +8 -0
- package/dist/esm/models/components/morpholendingmarket.d.ts.map +1 -1
- package/dist/esm/models/components/morpholendingmarket.js +4 -0
- package/dist/esm/models/components/morpholendingmarket.js.map +1 -1
- package/dist/esm/models/components/reserveinfo.d.ts +5 -1
- package/dist/esm/models/components/reserveinfo.d.ts.map +1 -1
- package/dist/esm/models/components/reserveinfo.js +2 -0
- package/dist/esm/models/components/reserveinfo.js.map +1 -1
- package/dist/esm/models/components/tokenizedassetclass.d.ts +11 -0
- package/dist/esm/models/components/tokenizedassetclass.d.ts.map +1 -1
- package/dist/esm/models/components/tokenizedassetclass.js +6 -0
- package/dist/esm/models/components/tokenizedassetclass.js.map +1 -1
- package/dist/esm/models/components/tokenizedassetprovider.d.ts +1 -0
- package/dist/esm/models/components/tokenizedassetprovider.d.ts.map +1 -1
- package/dist/esm/models/components/tokenizedassetprovider.js +1 -0
- package/dist/esm/models/components/tokenizedassetprovider.js.map +1 -1
- package/dist/esm/models/operations/v2earnswapquote.d.ts +1 -0
- package/dist/esm/models/operations/v2earnswapquote.d.ts.map +1 -1
- package/dist/esm/models/operations/v2earnswapquote.js +1 -0
- package/dist/esm/models/operations/v2earnswapquote.js.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetsbalances.d.ts +1 -0
- package/dist/esm/models/operations/v2tokenizedassetsbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetsbalances.js +1 -0
- package/dist/esm/models/operations/v2tokenizedassetsbalances.js.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.d.ts +1 -0
- package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.d.ts.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.js +1 -0
- package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.js.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetspositions.d.ts +1 -0
- package/dist/esm/models/operations/v2tokenizedassetspositions.d.ts.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetspositions.js +1 -0
- package/dist/esm/models/operations/v2tokenizedassetspositions.js.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts +1 -0
- package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -1
- package/dist/esm/models/operations/v2tokenizedassetsredemptions.js +1 -0
- package/dist/esm/models/operations/v2tokenizedassetsredemptions.js.map +1 -1
- package/docs/models/components/chain.md +2 -2
- package/docs/models/components/chainmarketinfo.md +15 -14
- package/docs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.md +23 -23
- package/docs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.md +15 -15
- package/docs/models/components/loopedpositioncurrentstate.md +17 -13
- package/docs/models/components/marketdetail.md +34 -34
- package/docs/models/components/morpholendingmarket.md +23 -21
- package/docs/models/components/reserveinfo.md +14 -13
- package/docs/models/components/tokenizedassetclass.md +6 -1
- package/docs/models/components/tokenizedassetprovider.md +2 -2
- package/docs/models/operations/v2earnswapquotechain.md +1 -1
- package/docs/models/operations/v2tokenizedassetsbalanceschain.md +1 -1
- package/docs/models/operations/v2tokenizedassetsmarketssymbolchain.md +1 -1
- package/docs/models/operations/v2tokenizedassetspositionschain.md +2 -2
- package/docs/models/operations/v2tokenizedassetsredemptionschain.md +1 -1
- package/examples/node_modules/tsx/dist/cjs/api/index.cjs +1 -1
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -1
- package/examples/node_modules/tsx/dist/cjs/index.cjs +1 -1
- package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -1
- package/examples/node_modules/tsx/dist/cli.cjs +3 -3
- package/examples/node_modules/tsx/dist/cli.mjs +3 -3
- package/examples/node_modules/tsx/dist/esm/api/index.cjs +1 -1
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -1
- package/examples/node_modules/tsx/dist/esm/index.cjs +1 -1
- package/examples/node_modules/tsx/dist/esm/index.mjs +1 -1
- package/examples/node_modules/tsx/dist/index-CVGQLgGk.mjs +14 -0
- package/examples/node_modules/tsx/dist/index-LWEOpzQe.cjs +14 -0
- package/examples/node_modules/tsx/dist/loader.cjs +1 -1
- package/examples/node_modules/tsx/dist/loader.mjs +1 -1
- package/examples/node_modules/tsx/dist/package-BPDo_TJ6.mjs +1 -0
- package/examples/node_modules/tsx/dist/package-D8zHkzom.cjs +1 -0
- package/examples/node_modules/tsx/dist/preflight.cjs +1 -1
- package/examples/node_modules/tsx/dist/preflight.mjs +1 -1
- package/examples/node_modules/tsx/dist/register-Bu1t3CsJ.mjs +2 -0
- package/examples/node_modules/tsx/dist/register-CRHZwkwo.cjs +10 -0
- package/examples/node_modules/tsx/dist/register-D3Z1kaw7.cjs +2 -0
- package/examples/node_modules/tsx/dist/register-DjEWBuYC.mjs +10 -0
- package/examples/node_modules/tsx/dist/repl.cjs +1 -1
- package/examples/node_modules/tsx/dist/repl.mjs +1 -1
- package/examples/node_modules/tsx/dist/{require-C7ivLNeu.cjs → require-BomokLx3.cjs} +1 -1
- package/examples/node_modules/tsx/dist/{require-awuW45Q3.mjs → require-DLrt45w5.mjs} +1 -1
- package/examples/node_modules/tsx/package.json +1 -1
- package/examples/package-lock.json +3 -3
- package/openapi_prepped_for_speakeasy.json +118 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/chain.ts +1 -0
- package/src/models/components/chainmarketinfo.ts +7 -1
- package/src/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.ts +5 -0
- package/src/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.ts +5 -0
- package/src/models/components/loopedpositioncurrentstate.ts +33 -3
- package/src/models/components/marketdetail.ts +5 -0
- package/src/models/components/morpholendingmarket.ts +12 -0
- package/src/models/components/reserveinfo.ts +7 -1
- package/src/models/components/tokenizedassetclass.ts +11 -0
- package/src/models/components/tokenizedassetprovider.ts +1 -0
- package/src/models/operations/v2earnswapquote.ts +1 -0
- package/src/models/operations/v2tokenizedassetsbalances.ts +1 -0
- package/src/models/operations/v2tokenizedassetsmarketssymbol.ts +1 -0
- package/src/models/operations/v2tokenizedassetspositions.ts +1 -0
- package/src/models/operations/v2tokenizedassetsredemptions.ts +1 -0
- package/examples/node_modules/tsx/dist/index-BN2t1Mfo.cjs +0 -14
- package/examples/node_modules/tsx/dist/index-CQhDiIsg.mjs +0 -14
- package/examples/node_modules/tsx/dist/package-CiRlP2hu.mjs +0 -1
- package/examples/node_modules/tsx/dist/package-DYbiKo1t.cjs +0 -1
- package/examples/node_modules/tsx/dist/register-BoI6-WNn.cjs +0 -10
- package/examples/node_modules/tsx/dist/register-DlUHyDDv.cjs +0 -2
- package/examples/node_modules/tsx/dist/register-HWZIKnmC.mjs +0 -10
- package/examples/node_modules/tsx/dist/register-zZ7SWseA.mjs +0 -2
|
@@ -28,24 +28,26 @@ let value: MorphoLendingMarket = {
|
|
|
28
28
|
|
|
29
29
|
## Fields
|
|
30
30
|
|
|
31
|
-
| Field
|
|
32
|
-
|
|
|
33
|
-
| `marketId`
|
|
34
|
-
| `loanToken`
|
|
35
|
-
| `loanTokenSymbol`
|
|
36
|
-
| `loanTokenDecimals`
|
|
37
|
-
| `collateralToken`
|
|
38
|
-
| `collateralTokenSymbol`
|
|
39
|
-
| `collateralTokenDecimals`
|
|
40
|
-
| `oracle`
|
|
41
|
-
| `irm`
|
|
42
|
-
| `lltv`
|
|
43
|
-
| `supplyApy`
|
|
44
|
-
| `borrowApy`
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
50
|
-
| `
|
|
51
|
-
| `
|
|
31
|
+
| Field | Type | Required | Description |
|
|
32
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
33
|
+
| `marketId` | *string* | :heavy_check_mark: | Morpho Blue market id — the bytes32 keccak of the market's (loanToken, collateralToken, oracle, irm, lltv) tuple. Pass this to the Morpho credit actions to identify the market. |
|
|
34
|
+
| `loanToken` | *string* | :heavy_check_mark: | Token that is supplied and borrowed in this market. |
|
|
35
|
+
| `loanTokenSymbol` | *string* | :heavy_check_mark: | Symbol of the loan token (e.g. USDC). |
|
|
36
|
+
| `loanTokenDecimals` | *number* | :heavy_check_mark: | Decimals of the loan token. |
|
|
37
|
+
| `collateralToken` | *string* | :heavy_check_mark: | Token accepted as collateral in this market. |
|
|
38
|
+
| `collateralTokenSymbol` | *string* | :heavy_check_mark: | Symbol of the collateral token (e.g. wstETH). |
|
|
39
|
+
| `collateralTokenDecimals` | *number* | :heavy_check_mark: | Decimals of the collateral token. |
|
|
40
|
+
| `oracle` | *string* | :heavy_check_mark: | Oracle pricing the collateral in loan-token terms for this market. |
|
|
41
|
+
| `irm` | *string* | :heavy_check_mark: | Interest rate model contract of this market. |
|
|
42
|
+
| `lltv` | *string* | :heavy_check_mark: | Liquidation loan-to-value in percentage (e.g. 86 means a position is liquidatable once debt exceeds 86% of collateral value). |
|
|
43
|
+
| `supplyApy` | *string* | :heavy_minus_sign: | Current supply APY for lending the loan token, in percentage (e.g. 3.5 means 3.5%). Null if the rate is unavailable. |
|
|
44
|
+
| `borrowApy` | *string* | :heavy_minus_sign: | Current borrow APY for the loan token, in percentage (e.g. 5.25 means 5.25%). Null if the rate is unavailable. |
|
|
45
|
+
| `collateralIntrinsicApy` | *string* | :heavy_minus_sign: | What the COLLATERAL token earns inside its own price, in percentage: an ERC-4626 share's vault yield or a staking token's rewards, trailing 7 days. Morpho holds collateral without lending it out, so this is the collateral leg's ENTIRE yield. Null means unmeasured, NOT zero — a plain token (WETH, cbBTC) earns nothing and a yield-bearing one may simply not be indexed yet. |
|
|
46
|
+
| `loanIntrinsicApy` | *string* | :heavy_minus_sign: | What the LOAN token earns inside its own price, in percentage, trailing 7 days. Debt owed in such a token grows by this on top of borrow_apy — a borrower's true cost is their sum. Null means unmeasured, NOT zero. |
|
|
47
|
+
| `utilization` | *string* | :heavy_check_mark: | Borrowed share of supplied assets, in percentage 0-100. |
|
|
48
|
+
| `totalSupplyAssets` | *string* | :heavy_check_mark: | Total loan tokens supplied to the market, in token units. |
|
|
49
|
+
| `totalBorrowAssets` | *string* | :heavy_check_mark: | Total loan tokens borrowed from the market, in token units. |
|
|
50
|
+
| `availableLiquidity` | *string* | :heavy_check_mark: | Loan tokens available to borrow or withdraw (supplied - borrowed), in token units. |
|
|
51
|
+
| `fee` | *string* | :heavy_check_mark: | Protocol fee taken from interest, in percentage of interest (e.g. 0 means no fee). |
|
|
52
|
+
| `tvlUsd` | *string* | :heavy_minus_sign: | Total value locked (total supplied assets) in USD, sourced from the indexer. Null if the indexer hasn't priced this market yet. |
|
|
53
|
+
| `liquidityUsd` | *string* | :heavy_minus_sign: | Available liquidity (supplied - borrowed) in USD, sourced from the indexer. Null if the indexer hasn't priced this market yet. |
|
|
@@ -29,16 +29,17 @@ let value: ReserveInfo = {
|
|
|
29
29
|
|
|
30
30
|
## Fields
|
|
31
31
|
|
|
32
|
-
| Field
|
|
33
|
-
|
|
|
34
|
-
| `address`
|
|
35
|
-
| `aTokenAddress`
|
|
36
|
-
| `supplyApy`
|
|
37
|
-
| `
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
40
|
-
| `
|
|
41
|
-
| `
|
|
42
|
-
| `
|
|
43
|
-
| `
|
|
44
|
-
| `
|
|
32
|
+
| Field | Type | Required | Description |
|
|
33
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
34
|
+
| `address` | *string* | :heavy_check_mark: | Underlying token (reserve) contract address on this chain. This is Aave's canonical per-reserve identifier. |
|
|
35
|
+
| `aTokenAddress` | *string* | :heavy_check_mark: | Aave aToken contract address on this chain. This is the interest-bearing token that represents the supply position. |
|
|
36
|
+
| `supplyApy` | *string* | :heavy_check_mark: | Variable rate APY for deposits, in percentage (e.g., 4.5 means 4.5%). This is LENDING interest only — what borrowers pay. For a staked or wrapped asset it is not the whole yield; add `intrinsic_apy`. |
|
|
37
|
+
| `intrinsicApy` | *string* | :heavy_minus_sign: | What holding this asset earns OUTSIDE the lending pool, in percentage: staking rewards or vault yield accruing inside the token's own exchange rate, which the pool neither pays nor observes. A trailing 7-day measurement. ABSENT when no measurement is available (the route omits null fields) — absent does not mean zero. For an asset that plainly earns beyond lending (wstETH, sUSDe, wstHYPE) `supply_apy` alone understates what it earns by percentage points, since almost nobody borrows these and their supply rate rounds to nothing: Hyperlend's wstHYPE reserve pays 0.00006% against a ~2.5% staking yield. Treat an absent value as unknown rather than as the asset earning nothing beyond `supply_apy`. |
|
|
38
|
+
| `borrowApy` | *string* | :heavy_check_mark: | Variable rate APY for loans, in percentage (e.g., 6.2 means 6.2%). |
|
|
39
|
+
| `supplyApyAvg` | *string* | :heavy_check_mark: | Variable rate APY for deposits averaged over the `days` window in the request (default 30 days), in percentage. Computed the same way as the v1 `/v1/aave/avg_rate` endpoint. |
|
|
40
|
+
| `borrowApyAvg` | *string* | :heavy_check_mark: | Variable rate APY for loans averaged over the `days` window in the request (default 30 days), in percentage. Computed the same way as the v1 `/v1/aave/avg_rate` endpoint. |
|
|
41
|
+
| `totalBorrowed` | *string* | :heavy_check_mark: | Total amount currently borrowed from this market, in token units (e.g., 1234567.89 USDC). |
|
|
42
|
+
| `availableLiquidity` | *string* | :heavy_check_mark: | Amount of tokens available to borrow, in token units. Equals total supplied minus total borrowed. |
|
|
43
|
+
| `utilizationRate` | *string* | :heavy_check_mark: | Percentage of supplied tokens that are currently borrowed (e.g., 85.0 means 85%). |
|
|
44
|
+
| `ltv` | *string* | :heavy_check_mark: | Maximum loan-to-value when this reserve is used as collateral, in percentage (e.g., 80.0 means 80%). This is the highest LTV you can borrow at against this asset; 0 means it cannot be used as collateral. |
|
|
45
|
+
| `liquidationThreshold` | *string* | :heavy_check_mark: | Liquidation threshold when this reserve is used as collateral, in percentage (e.g., 82.5 means 82.5%). A position whose LTV crosses this can be liquidated; 0 means the asset cannot be used as collateral. |
|
|
@@ -10,6 +10,11 @@ is an *asynchronous* redemption request settled off-chain by the vault
|
|
|
10
10
|
operator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles
|
|
11
11
|
each buy/sell as a single instant DEX swap.
|
|
12
12
|
|
|
13
|
+
`MONEY_MARKET` (WisdomTree Connect digital funds) also uses `transact/buy`
|
|
14
|
+
and `transact/sell`, but neither swaps nor mints: a buy transfers the
|
|
15
|
+
settlement stablecoin to the issuer's deposit address and the issuer mints
|
|
16
|
+
fund shares back at the next NAV cycle, so settlement is *asynchronous*.
|
|
17
|
+
|
|
13
18
|
## Example Usage
|
|
14
19
|
|
|
15
20
|
```typescript
|
|
@@ -21,5 +26,5 @@ let value: TokenizedAssetClass = "DERWA";
|
|
|
21
26
|
## Values
|
|
22
27
|
|
|
23
28
|
```typescript
|
|
24
|
-
"EQUITY" | "T_BILLS" | "BASIS_TRADE" | "BTC_YIELD" | "MANAGED_VAULT" | "DERWA"
|
|
29
|
+
"EQUITY" | "T_BILLS" | "BASIS_TRADE" | "BTC_YIELD" | "MANAGED_VAULT" | "DERWA" | "MONEY_MARKET"
|
|
25
30
|
```
|
|
@@ -7,11 +7,11 @@ Issuer/provider of a tokenized asset.
|
|
|
7
7
|
```typescript
|
|
8
8
|
import { TokenizedAssetProvider } from "@compass-labs/api-sdk/models/components";
|
|
9
9
|
|
|
10
|
-
let value: TokenizedAssetProvider = "
|
|
10
|
+
let value: TokenizedAssetProvider = "ixs";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Values
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
"ondo" | "midas" | "ixs" | "centrifuge"
|
|
16
|
+
"ondo" | "midas" | "ixs" | "centrifuge" | "wisdomtree"
|
|
17
17
|
```
|
|
@@ -7,11 +7,11 @@ The chain to use.
|
|
|
7
7
|
```typescript
|
|
8
8
|
import { V2TokenizedAssetsPositionsChain } from "@compass-labs/api-sdk/models/operations";
|
|
9
9
|
|
|
10
|
-
let value: V2TokenizedAssetsPositionsChain = "
|
|
10
|
+
let value: V2TokenizedAssetsPositionsChain = "hyperevm";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Values
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
"base" | "ethereum" | "arbitrum" | "hyperevm" | "tempo" | "bsc"
|
|
16
|
+
"base" | "ethereum" | "arbitrum" | "hyperevm" | "tempo" | "bsc" | "ethereum_sepolia"
|
|
17
17
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("../../get-pipe-path-D4YM6rQt.cjs");var r=require("../../register-
|
|
1
|
+
"use strict";require("../../get-pipe-path-D4YM6rQt.cjs");var r=require("../../register-CRHZwkwo.cjs"),e=require("../../require-BomokLx3.cjs");require("module"),require("node:path"),require("../../temporary-directory-B83uKxJF.cjs"),require("node:os"),require("node:module"),require("node:url"),require("node:fs"),require("fs"),require("os"),require("path"),require("../../index-LWEOpzQe.cjs"),require("esbuild"),require("node:crypto"),require("../../node-features-CEjg7cMX.cjs"),require("../../client-D3mGB526.cjs"),require("node:net"),require("node:util"),require("../../index-BWFBUo6r.cjs"),exports.register=r.register,exports.require=e.tsxRequire;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../get-pipe-path-_tAJyU_v.mjs";import{r as n}from"../../register-
|
|
1
|
+
import"../../get-pipe-path-_tAJyU_v.mjs";import{r as n}from"../../register-DjEWBuYC.mjs";import{t as w}from"../../require-DLrt45w5.mjs";import"module";import"node:path";import"../../temporary-directory-BDDVQOvU.mjs";import"node:os";import"node:module";import"node:url";import"node:fs";import"fs";import"os";import"path";import"../../index-CVGQLgGk.mjs";import"esbuild";import"node:crypto";import"../../node-features-JeyyvQz6.mjs";import"../../client-D_mPDF5S.mjs";import"node:net";import"node:util";import"../../index-gbaejti9.mjs";export{n as register,w as require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("../register-
|
|
1
|
+
"use strict";var r=require("../register-CRHZwkwo.cjs");require("../get-pipe-path-D4YM6rQt.cjs"),require("module"),require("node:path"),require("../temporary-directory-B83uKxJF.cjs"),require("node:os"),require("node:module"),require("node:url"),require("node:fs"),require("fs"),require("os"),require("path"),require("../index-LWEOpzQe.cjs"),require("esbuild"),require("node:crypto"),require("../node-features-CEjg7cMX.cjs"),require("../client-D3mGB526.cjs"),require("node:net"),require("node:util"),require("../index-BWFBUo6r.cjs"),r.register();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"../register-
|
|
1
|
+
import{r}from"../register-DjEWBuYC.mjs";import"../get-pipe-path-_tAJyU_v.mjs";import"module";import"node:path";import"../temporary-directory-BDDVQOvU.mjs";import"node:os";import"node:module";import"node:url";import"node:fs";import"fs";import"os";import"path";import"../index-CVGQLgGk.mjs";import"esbuild";import"node:crypto";import"../node-features-JeyyvQz6.mjs";import"../client-D_mPDF5S.mjs";import"node:net";import"node:util";import"../index-gbaejti9.mjs";r();
|