@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.
Files changed (187) hide show
  1. package/dist/commonjs/lib/config.d.ts +2 -2
  2. package/dist/commonjs/lib/config.js +2 -2
  3. package/dist/commonjs/models/components/chain.d.ts +1 -0
  4. package/dist/commonjs/models/components/chain.d.ts.map +1 -1
  5. package/dist/commonjs/models/components/chain.js +1 -0
  6. package/dist/commonjs/models/components/chain.js.map +1 -1
  7. package/dist/commonjs/models/components/chainmarketinfo.d.ts +5 -1
  8. package/dist/commonjs/models/components/chainmarketinfo.d.ts.map +1 -1
  9. package/dist/commonjs/models/components/chainmarketinfo.js +2 -0
  10. package/dist/commonjs/models/components/chainmarketinfo.js.map +1 -1
  11. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +5 -0
  12. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
  14. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +5 -0
  15. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
  16. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
  17. package/dist/commonjs/models/components/loopedpositioncurrentstate.d.ts +25 -3
  18. package/dist/commonjs/models/components/loopedpositioncurrentstate.d.ts.map +1 -1
  19. package/dist/commonjs/models/components/loopedpositioncurrentstate.js +8 -0
  20. package/dist/commonjs/models/components/loopedpositioncurrentstate.js.map +1 -1
  21. package/dist/commonjs/models/components/marketdetail.d.ts +5 -0
  22. package/dist/commonjs/models/components/marketdetail.d.ts.map +1 -1
  23. package/dist/commonjs/models/components/marketdetail.js.map +1 -1
  24. package/dist/commonjs/models/components/morpholendingmarket.d.ts +8 -0
  25. package/dist/commonjs/models/components/morpholendingmarket.d.ts.map +1 -1
  26. package/dist/commonjs/models/components/morpholendingmarket.js +4 -0
  27. package/dist/commonjs/models/components/morpholendingmarket.js.map +1 -1
  28. package/dist/commonjs/models/components/reserveinfo.d.ts +5 -1
  29. package/dist/commonjs/models/components/reserveinfo.d.ts.map +1 -1
  30. package/dist/commonjs/models/components/reserveinfo.js +2 -0
  31. package/dist/commonjs/models/components/reserveinfo.js.map +1 -1
  32. package/dist/commonjs/models/components/tokenizedassetclass.d.ts +11 -0
  33. package/dist/commonjs/models/components/tokenizedassetclass.d.ts.map +1 -1
  34. package/dist/commonjs/models/components/tokenizedassetclass.js +6 -0
  35. package/dist/commonjs/models/components/tokenizedassetclass.js.map +1 -1
  36. package/dist/commonjs/models/components/tokenizedassetprovider.d.ts +1 -0
  37. package/dist/commonjs/models/components/tokenizedassetprovider.d.ts.map +1 -1
  38. package/dist/commonjs/models/components/tokenizedassetprovider.js +1 -0
  39. package/dist/commonjs/models/components/tokenizedassetprovider.js.map +1 -1
  40. package/dist/commonjs/models/operations/v2earnswapquote.d.ts +1 -0
  41. package/dist/commonjs/models/operations/v2earnswapquote.d.ts.map +1 -1
  42. package/dist/commonjs/models/operations/v2earnswapquote.js +1 -0
  43. package/dist/commonjs/models/operations/v2earnswapquote.js.map +1 -1
  44. package/dist/commonjs/models/operations/v2tokenizedassetsbalances.d.ts +1 -0
  45. package/dist/commonjs/models/operations/v2tokenizedassetsbalances.d.ts.map +1 -1
  46. package/dist/commonjs/models/operations/v2tokenizedassetsbalances.js +1 -0
  47. package/dist/commonjs/models/operations/v2tokenizedassetsbalances.js.map +1 -1
  48. package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.d.ts +1 -0
  49. package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.d.ts.map +1 -1
  50. package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.js +1 -0
  51. package/dist/commonjs/models/operations/v2tokenizedassetsmarketssymbol.js.map +1 -1
  52. package/dist/commonjs/models/operations/v2tokenizedassetspositions.d.ts +1 -0
  53. package/dist/commonjs/models/operations/v2tokenizedassetspositions.d.ts.map +1 -1
  54. package/dist/commonjs/models/operations/v2tokenizedassetspositions.js +1 -0
  55. package/dist/commonjs/models/operations/v2tokenizedassetspositions.js.map +1 -1
  56. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts +1 -0
  57. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -1
  58. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js +1 -0
  59. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js.map +1 -1
  60. package/dist/esm/lib/config.d.ts +2 -2
  61. package/dist/esm/lib/config.js +2 -2
  62. package/dist/esm/models/components/chain.d.ts +1 -0
  63. package/dist/esm/models/components/chain.d.ts.map +1 -1
  64. package/dist/esm/models/components/chain.js +1 -0
  65. package/dist/esm/models/components/chain.js.map +1 -1
  66. package/dist/esm/models/components/chainmarketinfo.d.ts +5 -1
  67. package/dist/esm/models/components/chainmarketinfo.d.ts.map +1 -1
  68. package/dist/esm/models/components/chainmarketinfo.js +2 -0
  69. package/dist/esm/models/components/chainmarketinfo.js.map +1 -1
  70. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +5 -0
  71. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
  72. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
  73. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +5 -0
  74. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
  75. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
  76. package/dist/esm/models/components/loopedpositioncurrentstate.d.ts +25 -3
  77. package/dist/esm/models/components/loopedpositioncurrentstate.d.ts.map +1 -1
  78. package/dist/esm/models/components/loopedpositioncurrentstate.js +8 -0
  79. package/dist/esm/models/components/loopedpositioncurrentstate.js.map +1 -1
  80. package/dist/esm/models/components/marketdetail.d.ts +5 -0
  81. package/dist/esm/models/components/marketdetail.d.ts.map +1 -1
  82. package/dist/esm/models/components/marketdetail.js.map +1 -1
  83. package/dist/esm/models/components/morpholendingmarket.d.ts +8 -0
  84. package/dist/esm/models/components/morpholendingmarket.d.ts.map +1 -1
  85. package/dist/esm/models/components/morpholendingmarket.js +4 -0
  86. package/dist/esm/models/components/morpholendingmarket.js.map +1 -1
  87. package/dist/esm/models/components/reserveinfo.d.ts +5 -1
  88. package/dist/esm/models/components/reserveinfo.d.ts.map +1 -1
  89. package/dist/esm/models/components/reserveinfo.js +2 -0
  90. package/dist/esm/models/components/reserveinfo.js.map +1 -1
  91. package/dist/esm/models/components/tokenizedassetclass.d.ts +11 -0
  92. package/dist/esm/models/components/tokenizedassetclass.d.ts.map +1 -1
  93. package/dist/esm/models/components/tokenizedassetclass.js +6 -0
  94. package/dist/esm/models/components/tokenizedassetclass.js.map +1 -1
  95. package/dist/esm/models/components/tokenizedassetprovider.d.ts +1 -0
  96. package/dist/esm/models/components/tokenizedassetprovider.d.ts.map +1 -1
  97. package/dist/esm/models/components/tokenizedassetprovider.js +1 -0
  98. package/dist/esm/models/components/tokenizedassetprovider.js.map +1 -1
  99. package/dist/esm/models/operations/v2earnswapquote.d.ts +1 -0
  100. package/dist/esm/models/operations/v2earnswapquote.d.ts.map +1 -1
  101. package/dist/esm/models/operations/v2earnswapquote.js +1 -0
  102. package/dist/esm/models/operations/v2earnswapquote.js.map +1 -1
  103. package/dist/esm/models/operations/v2tokenizedassetsbalances.d.ts +1 -0
  104. package/dist/esm/models/operations/v2tokenizedassetsbalances.d.ts.map +1 -1
  105. package/dist/esm/models/operations/v2tokenizedassetsbalances.js +1 -0
  106. package/dist/esm/models/operations/v2tokenizedassetsbalances.js.map +1 -1
  107. package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.d.ts +1 -0
  108. package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.d.ts.map +1 -1
  109. package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.js +1 -0
  110. package/dist/esm/models/operations/v2tokenizedassetsmarketssymbol.js.map +1 -1
  111. package/dist/esm/models/operations/v2tokenizedassetspositions.d.ts +1 -0
  112. package/dist/esm/models/operations/v2tokenizedassetspositions.d.ts.map +1 -1
  113. package/dist/esm/models/operations/v2tokenizedassetspositions.js +1 -0
  114. package/dist/esm/models/operations/v2tokenizedassetspositions.js.map +1 -1
  115. package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts +1 -0
  116. package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -1
  117. package/dist/esm/models/operations/v2tokenizedassetsredemptions.js +1 -0
  118. package/dist/esm/models/operations/v2tokenizedassetsredemptions.js.map +1 -1
  119. package/docs/models/components/chain.md +2 -2
  120. package/docs/models/components/chainmarketinfo.md +15 -14
  121. package/docs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.md +23 -23
  122. package/docs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.md +15 -15
  123. package/docs/models/components/loopedpositioncurrentstate.md +17 -13
  124. package/docs/models/components/marketdetail.md +34 -34
  125. package/docs/models/components/morpholendingmarket.md +23 -21
  126. package/docs/models/components/reserveinfo.md +14 -13
  127. package/docs/models/components/tokenizedassetclass.md +6 -1
  128. package/docs/models/components/tokenizedassetprovider.md +2 -2
  129. package/docs/models/operations/v2earnswapquotechain.md +1 -1
  130. package/docs/models/operations/v2tokenizedassetsbalanceschain.md +1 -1
  131. package/docs/models/operations/v2tokenizedassetsmarketssymbolchain.md +1 -1
  132. package/docs/models/operations/v2tokenizedassetspositionschain.md +2 -2
  133. package/docs/models/operations/v2tokenizedassetsredemptionschain.md +1 -1
  134. package/examples/node_modules/tsx/dist/cjs/api/index.cjs +1 -1
  135. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -1
  136. package/examples/node_modules/tsx/dist/cjs/index.cjs +1 -1
  137. package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -1
  138. package/examples/node_modules/tsx/dist/cli.cjs +3 -3
  139. package/examples/node_modules/tsx/dist/cli.mjs +3 -3
  140. package/examples/node_modules/tsx/dist/esm/api/index.cjs +1 -1
  141. package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -1
  142. package/examples/node_modules/tsx/dist/esm/index.cjs +1 -1
  143. package/examples/node_modules/tsx/dist/esm/index.mjs +1 -1
  144. package/examples/node_modules/tsx/dist/index-CVGQLgGk.mjs +14 -0
  145. package/examples/node_modules/tsx/dist/index-LWEOpzQe.cjs +14 -0
  146. package/examples/node_modules/tsx/dist/loader.cjs +1 -1
  147. package/examples/node_modules/tsx/dist/loader.mjs +1 -1
  148. package/examples/node_modules/tsx/dist/package-BPDo_TJ6.mjs +1 -0
  149. package/examples/node_modules/tsx/dist/package-D8zHkzom.cjs +1 -0
  150. package/examples/node_modules/tsx/dist/preflight.cjs +1 -1
  151. package/examples/node_modules/tsx/dist/preflight.mjs +1 -1
  152. package/examples/node_modules/tsx/dist/register-Bu1t3CsJ.mjs +2 -0
  153. package/examples/node_modules/tsx/dist/register-CRHZwkwo.cjs +10 -0
  154. package/examples/node_modules/tsx/dist/register-D3Z1kaw7.cjs +2 -0
  155. package/examples/node_modules/tsx/dist/register-DjEWBuYC.mjs +10 -0
  156. package/examples/node_modules/tsx/dist/repl.cjs +1 -1
  157. package/examples/node_modules/tsx/dist/repl.mjs +1 -1
  158. package/examples/node_modules/tsx/dist/{require-C7ivLNeu.cjs → require-BomokLx3.cjs} +1 -1
  159. package/examples/node_modules/tsx/dist/{require-awuW45Q3.mjs → require-DLrt45w5.mjs} +1 -1
  160. package/examples/node_modules/tsx/package.json +1 -1
  161. package/examples/package-lock.json +3 -3
  162. package/openapi_prepped_for_speakeasy.json +118 -14
  163. package/package.json +1 -1
  164. package/src/lib/config.ts +2 -2
  165. package/src/models/components/chain.ts +1 -0
  166. package/src/models/components/chainmarketinfo.ts +7 -1
  167. package/src/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.ts +5 -0
  168. package/src/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.ts +5 -0
  169. package/src/models/components/loopedpositioncurrentstate.ts +33 -3
  170. package/src/models/components/marketdetail.ts +5 -0
  171. package/src/models/components/morpholendingmarket.ts +12 -0
  172. package/src/models/components/reserveinfo.ts +7 -1
  173. package/src/models/components/tokenizedassetclass.ts +11 -0
  174. package/src/models/components/tokenizedassetprovider.ts +1 -0
  175. package/src/models/operations/v2earnswapquote.ts +1 -0
  176. package/src/models/operations/v2tokenizedassetsbalances.ts +1 -0
  177. package/src/models/operations/v2tokenizedassetsmarketssymbol.ts +1 -0
  178. package/src/models/operations/v2tokenizedassetspositions.ts +1 -0
  179. package/src/models/operations/v2tokenizedassetsredemptions.ts +1 -0
  180. package/examples/node_modules/tsx/dist/index-BN2t1Mfo.cjs +0 -14
  181. package/examples/node_modules/tsx/dist/index-CQhDiIsg.mjs +0 -14
  182. package/examples/node_modules/tsx/dist/package-CiRlP2hu.mjs +0 -1
  183. package/examples/node_modules/tsx/dist/package-DYbiKo1t.cjs +0 -1
  184. package/examples/node_modules/tsx/dist/register-BoI6-WNn.cjs +0 -10
  185. package/examples/node_modules/tsx/dist/register-DlUHyDDv.cjs +0 -2
  186. package/examples/node_modules/tsx/dist/register-HWZIKnmC.mjs +0 -10
  187. package/examples/node_modules/tsx/dist/register-zZ7SWseA.mjs +0 -2
@@ -1,3 +1,3 @@
1
- var p=Object.defineProperty;var t=(o,r)=>p(o,"name",{value:r,configurable:!0});import a from"node:repl";import{v as l}from"./package-CiRlP2hu.mjs";import{t as c}from"./index-CQhDiIsg.mjs";import"node:path";import"node:url";import"esbuild";import"node:crypto";import"./node-features-JeyyvQz6.mjs";import"node:fs";import"node:os";import"./temporary-directory-BDDVQOvU.mjs";console.log(`Welcome to tsx v${l} (Node.js ${process.version}).
1
+ var p=Object.defineProperty;var t=(o,r)=>p(o,"name",{value:r,configurable:!0});import a from"node:repl";import{v as l}from"./package-BPDo_TJ6.mjs";import{t as c}from"./index-CVGQLgGk.mjs";import"node:path";import"node:url";import"esbuild";import"node:crypto";import"./node-features-JeyyvQz6.mjs";import"node:fs";import"node:os";import"./temporary-directory-BDDVQOvU.mjs";console.log(`Welcome to tsx v${l} (Node.js ${process.version}).
2
2
  Type ".help" for more information.`);const s=a.start(),{eval:f}=s,v=t(async function(o,r,e,i){const m=await c(o,e,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(n=>(console.log(n.message),{code:`
3
3
  `}));return f.call(this,m.code,r,e,i)},"preEval");s.eval=v;
@@ -1 +1 @@
1
- "use strict";var c=Object.defineProperty;var a=(r,t)=>c(r,"name",{value:t,configurable:!0});var s=require("./get-pipe-path-D4YM6rQt.cjs"),n=require("./register-BoI6-WNn.cjs");let e;const i=a((r,t)=>(e||(e=n.register({namespace:Date.now().toString()})),e.require(r,t)),"tsxRequire"),o=a((r,t,u)=>(e||(e=n.register({namespace:Date.now().toString()})),e.resolve(r,t,u)),"resolve");o.paths=s.require.resolve.paths,i.resolve=o,i.main=s.require.main,i.extensions=s.require.extensions,i.cache=s.require.cache,exports.tsxRequire=i;
1
+ "use strict";var c=Object.defineProperty;var a=(r,t)=>c(r,"name",{value:t,configurable:!0});var s=require("./get-pipe-path-D4YM6rQt.cjs"),n=require("./register-CRHZwkwo.cjs");let e;const i=a((r,t)=>(e||(e=n.register({namespace:Date.now().toString()})),e.require(r,t)),"tsxRequire"),o=a((r,t,u)=>(e||(e=n.register({namespace:Date.now().toString()})),e.resolve(r,t,u)),"resolve");o.paths=s.require.resolve.paths,i.resolve=o,i.main=s.require.main,i.extensions=s.require.extensions,i.cache=s.require.cache,exports.tsxRequire=i;
@@ -1 +1 @@
1
- var m=Object.defineProperty;var a=(r,t)=>m(r,"name",{value:t,configurable:!0});import{r as o}from"./get-pipe-path-_tAJyU_v.mjs";import{r as n}from"./register-HWZIKnmC.mjs";let e;const s=a((r,t)=>(e||(e=n({namespace:Date.now().toString()})),e.require(r,t)),"tsxRequire"),i=a((r,t,c)=>(e||(e=n({namespace:Date.now().toString()})),e.resolve(r,t,c)),"resolve");i.paths=o.resolve.paths,s.resolve=i,s.main=o.main,s.extensions=o.extensions,s.cache=o.cache;export{s as t};
1
+ var m=Object.defineProperty;var a=(r,t)=>m(r,"name",{value:t,configurable:!0});import{r as o}from"./get-pipe-path-_tAJyU_v.mjs";import{r as n}from"./register-DjEWBuYC.mjs";let e;const s=a((r,t)=>(e||(e=n({namespace:Date.now().toString()})),e.require(r,t)),"tsxRequire"),i=a((r,t,c)=>(e||(e=n({namespace:Date.now().toString()})),e.resolve(r,t,c)),"resolve");i.paths=o.resolve.paths,s.resolve=i,s.main=o.main,s.extensions=o.extensions,s.cache=o.cache;export{s as t};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsx",
3
- "version": "4.23.1",
3
+ "version": "4.23.9",
4
4
  "description": "TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files",
5
5
  "keywords": [
6
6
  "cli",
@@ -558,9 +558,9 @@
558
558
  }
559
559
  },
560
560
  "node_modules/tsx": {
561
- "version": "4.23.1",
562
- "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.1.tgz",
563
- "integrity": "sha512-GQHnkIfxyx1wYCOS/wonik5MVRZU9hi1TEZmzGZSCJB1y9YgoZ8H6itNE/u4suE+yLmOzuE4E5S4TZ/ZX2wcWQ==",
561
+ "version": "4.23.9",
562
+ "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.9.tgz",
563
+ "integrity": "sha512-6q8uTORRGauQVjqMQnKUucLFoeXZAfw6zKvG35GLbdKWbLdeOtZ3H4mhyA5mxuUd2o2cRTskhj59nLLQseUvUw==",
564
564
  "dev": true,
565
565
  "license": "MIT",
566
566
  "dependencies": {
@@ -5373,7 +5373,8 @@
5373
5373
  "arbitrum",
5374
5374
  "hyperevm",
5375
5375
  "tempo",
5376
- "bsc"
5376
+ "bsc",
5377
+ "ethereum_sepolia"
5377
5378
  ],
5378
5379
  "title": "Chain",
5379
5380
  "description": "The chain to use.",
@@ -7586,7 +7587,8 @@
7586
7587
  "arbitrum",
7587
7588
  "hyperevm",
7588
7589
  "tempo",
7589
- "bsc"
7590
+ "bsc",
7591
+ "ethereum_sepolia"
7590
7592
  ],
7591
7593
  "title": "Chain",
7592
7594
  "description": "The chain to use."
@@ -7715,7 +7717,8 @@
7715
7717
  "arbitrum",
7716
7718
  "hyperevm",
7717
7719
  "tempo",
7718
- "bsc"
7720
+ "bsc",
7721
+ "ethereum_sepolia"
7719
7722
  ],
7720
7723
  "title": "Chain",
7721
7724
  "description": "The chain to use."
@@ -7800,7 +7803,8 @@
7800
7803
  "arbitrum",
7801
7804
  "hyperevm",
7802
7805
  "tempo",
7803
- "bsc"
7806
+ "bsc",
7807
+ "ethereum_sepolia"
7804
7808
  ],
7805
7809
  "title": "Chain",
7806
7810
  "description": "The chain to use."
@@ -7939,7 +7943,8 @@
7939
7943
  "arbitrum",
7940
7944
  "hyperevm",
7941
7945
  "tempo",
7942
- "bsc"
7946
+ "bsc",
7947
+ "ethereum_sepolia"
7943
7948
  ],
7944
7949
  "title": "Chain",
7945
7950
  "description": "The chain to use.",
@@ -11862,7 +11867,8 @@
11862
11867
  "arbitrum",
11863
11868
  "hyperevm",
11864
11869
  "tempo",
11865
- "bsc"
11870
+ "bsc",
11871
+ "ethereum_sepolia"
11866
11872
  ],
11867
11873
  "title": "Chain",
11868
11874
  "description": "The chain to use."
@@ -11906,7 +11912,19 @@
11906
11912
  "supply_apy": {
11907
11913
  "type": "string",
11908
11914
  "title": "Supply Apy",
11909
- "description": "Variable rate APY for deposits, in percentage (e.g., 4.5 means 4.5%)."
11915
+ "description": "Variable rate APY for deposits, in percentage (e.g., 4.5 means 4.5%). This is LENDING interest only \u2014 what borrowers pay. For a staked or wrapped asset it is not the whole yield; add `intrinsic_apy`."
11916
+ },
11917
+ "intrinsic_apy": {
11918
+ "anyOf": [
11919
+ {
11920
+ "type": "string"
11921
+ },
11922
+ {
11923
+ "type": "null"
11924
+ }
11925
+ ],
11926
+ "title": "Intrinsic Apy",
11927
+ "description": "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) \u2014 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`."
11910
11928
  },
11911
11929
  "borrow_apy": {
11912
11930
  "type": "string",
@@ -16977,7 +16995,31 @@
16977
16995
  }
16978
16996
  ],
16979
16997
  "title": "Collateral Apy",
16980
- "description": "What the collateral leg currently earns, in percentage (e.g. 6.12 = 6.12%). Aave: the collateral reserve's spot supply APY. Morpho: the collateral token's own yield \u2014 its 7d vault APY when it is an indexed vault share (e.g. steakUSDC); null otherwise, since Morpho collateral earns nothing from the market itself and an unindexed token's intrinsic yield is unknown."
16998
+ "description": "What the collateral leg currently earns, in percentage (e.g. 6.12 = 6.12%) \u2014 the sum of collateral_lending_apy and collateral_intrinsic_apy where both apply. Null when the token earns a yield outside the lending pool (a staked or wrapped asset) and no source for that yield is available: the pool's supply APY alone would understate the leg by percentage points and can invert the sign of net_apy, so it is withheld rather than reported as the whole yield."
16999
+ },
17000
+ "collateral_lending_apy": {
17001
+ "anyOf": [
17002
+ {
17003
+ "type": "string"
17004
+ },
17005
+ {
17006
+ "type": "null"
17007
+ }
17008
+ ],
17009
+ "title": "Collateral Lending Apy",
17010
+ "description": "The supply half of the collateral leg, in percentage: interest paid by borrowers of the collateral asset (Aave supply APY). Near zero for staked assets, which almost nobody borrows. Exactly 0 on Morpho, whose collateral is held rather than lent \u2014 which is why a Morpho position's whole collateral leg is its vault yield."
17011
+ },
17012
+ "collateral_intrinsic_apy": {
17013
+ "anyOf": [
17014
+ {
17015
+ "type": "string"
17016
+ },
17017
+ {
17018
+ "type": "null"
17019
+ }
17020
+ ],
17021
+ "title": "Collateral Intrinsic Apy",
17022
+ "description": "The yield the collateral token earns inside its own price, in percentage, independent of the lending pool \u2014 a liquid-staking token's staking rewards (wstHYPE against HYPE) or an ERC-4626 share's vault yield \u2014 which of the two follows from the position's protocol. Null when the token has none or none is indexed.\n\nA TRAILING 7-DAY measurement, not a forward rate: a week is a short sample of a staking rate, so consecutive readings move around the longer-run average by a few tenths of a percent.\n\nA null here alongside a null collateral_apy and a NON-null collateral_lending_apy is the meaningful case: the token does earn outside the pool, but no source for that yield is available, so the total is withheld rather than understated."
16981
17023
  },
16982
17024
  "borrow_apy": {
16983
17025
  "anyOf": [
@@ -16989,7 +17031,31 @@
16989
17031
  }
16990
17032
  ],
16991
17033
  "title": "Borrow Apy",
16992
- "description": "What the debt leg currently costs, in percentage: the market's spot borrow APY (Morpho IRM rate / Aave variable borrow rate). Null when the rate read was unavailable."
17034
+ "description": "What the debt leg currently costs, in percentage \u2014 the sum of borrow_lending_apy and borrow_intrinsic_apy where both apply. Debt owed in a token that appreciates inside its own price (a staked or wrapped asset) grows by that appreciation on top of the pool's interest, so the pool rate alone would understate the cost and overstate net_apy; for such a token with no yield source available this is null (withheld) rather than the pool rate. For ordinary debt assets it equals the market's spot borrow APY. Null also when the rate read was unavailable."
17035
+ },
17036
+ "borrow_lending_apy": {
17037
+ "anyOf": [
17038
+ {
17039
+ "type": "string"
17040
+ },
17041
+ {
17042
+ "type": "null"
17043
+ }
17044
+ ],
17045
+ "title": "Borrow Lending Apy",
17046
+ "description": "The pool half of the debt leg, in percentage: the market's spot borrow APY (Morpho IRM rate / Aave variable borrow rate) \u2014 interest charged on the debt by the lending market itself."
17047
+ },
17048
+ "borrow_intrinsic_apy": {
17049
+ "anyOf": [
17050
+ {
17051
+ "type": "string"
17052
+ },
17053
+ {
17054
+ "type": "null"
17055
+ }
17056
+ ],
17057
+ "title": "Borrow Intrinsic Apy",
17058
+ "description": "The yield the DEBT token earns inside its own price, in percentage \u2014 which the borrower owes on top of pool interest, since the debt is denominated in an appreciating token. Same source and trailing 7-day window as collateral_intrinsic_apy. Null when the token has none or none is indexed; null alongside a null borrow_apy and a NON-null borrow_lending_apy means the debt token does earn outside the pool but no source is available, so the total cost is withheld rather than understated."
16993
17059
  },
16994
17060
  "net_apy": {
16995
17061
  "anyOf": [
@@ -17001,7 +17067,7 @@
17001
17067
  }
17002
17068
  ],
17003
17069
  "title": "Net Apy",
17004
- "description": "Levered net yield on the position's equity, in percentage: leverage x collateral_apy - (leverage - 1) x borrow_apy. Negative means the carry is upside down (borrowing costs more than the collateral earns). Null when leverage or either leg is unknown. The collateral leg of a Morpho vault-share position is a 7d average while the borrow leg is spot."
17070
+ "description": "Levered net yield on the position's equity, in percentage: leverage x collateral_apy - (leverage - 1) x borrow_apy. Negative means the carry is upside down (borrowing costs more than the collateral earns). Null when leverage or either leg is unknown. This is a SNAPSHOT at today's rates, not a forecast, and it mixes a trailing collateral measurement with a spot borrow rate. It is also denominated in the debt asset, not USD: a wstHYPE/WHYPE loop earning a positive net_apy still loses USD value if HYPE falls. The borrow leg floats with the debt reserve's utilisation, so this figure can move without the position changing at all."
17005
17071
  }
17006
17072
  },
17007
17073
  "additionalProperties": false,
@@ -18372,6 +18438,30 @@
18372
18438
  "title": "Borrow Apy",
18373
18439
  "description": "Current borrow APY for the loan token, in percentage (e.g. 5.25 means 5.25%). Null if the rate is unavailable."
18374
18440
  },
18441
+ "collateral_intrinsic_apy": {
18442
+ "anyOf": [
18443
+ {
18444
+ "type": "string"
18445
+ },
18446
+ {
18447
+ "type": "null"
18448
+ }
18449
+ ],
18450
+ "title": "Collateral Intrinsic Apy",
18451
+ "description": "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 \u2014 a plain token (WETH, cbBTC) earns nothing and a yield-bearing one may simply not be indexed yet."
18452
+ },
18453
+ "loan_intrinsic_apy": {
18454
+ "anyOf": [
18455
+ {
18456
+ "type": "string"
18457
+ },
18458
+ {
18459
+ "type": "null"
18460
+ }
18461
+ ],
18462
+ "title": "Loan Intrinsic Apy",
18463
+ "description": "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 \u2014 a borrower's true cost is their sum. Null means unmeasured, NOT zero."
18464
+ },
18375
18465
  "utilization": {
18376
18466
  "type": "string",
18377
18467
  "title": "Utilization",
@@ -23542,7 +23632,19 @@
23542
23632
  "supply_apy": {
23543
23633
  "type": "string",
23544
23634
  "title": "Supply Apy",
23545
- "description": "Variable rate APY for deposits, in percentage (e.g., 4.5 means 4.5%)."
23635
+ "description": "Variable rate APY for deposits, in percentage (e.g., 4.5 means 4.5%). This is LENDING interest only \u2014 what borrowers pay. For a staked or wrapped asset it is not the whole yield; add `intrinsic_apy`."
23636
+ },
23637
+ "intrinsic_apy": {
23638
+ "anyOf": [
23639
+ {
23640
+ "type": "string"
23641
+ },
23642
+ {
23643
+ "type": "null"
23644
+ }
23645
+ ],
23646
+ "title": "Intrinsic Apy",
23647
+ "description": "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) \u2014 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`."
23546
23648
  },
23547
23649
  "borrow_apy": {
23548
23650
  "type": "string",
@@ -25384,10 +25486,11 @@
25384
25486
  "BASIS_TRADE",
25385
25487
  "BTC_YIELD",
25386
25488
  "MANAGED_VAULT",
25387
- "DERWA"
25489
+ "DERWA",
25490
+ "MONEY_MARKET"
25388
25491
  ],
25389
25492
  "title": "TokenizedAssetClass",
25390
- "description": "Asset class of a tokenized asset.\n\n`EQUITY` trades via the order endpoints (build/submit/cancel); the RWA\nyield classes (`T_BILLS`, `BASIS_TRADE`, `BTC_YIELD`), `MANAGED_VAULT`, and\n`DERWA` trade via the swap-based `transact/buy` and `transact/sell`\nendpoints. `MANAGED_VAULT` (IXS ERC-4626 vaults) is special in that a sell\nis an *asynchronous* redemption request settled off-chain by the vault\noperator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles\neach buy/sell as a single instant DEX swap."
25493
+ "description": "Asset class of a tokenized asset.\n\n`EQUITY` trades via the order endpoints (build/submit/cancel); the RWA\nyield classes (`T_BILLS`, `BASIS_TRADE`, `BTC_YIELD`), `MANAGED_VAULT`, and\n`DERWA` trade via the swap-based `transact/buy` and `transact/sell`\nendpoints. `MANAGED_VAULT` (IXS ERC-4626 vaults) is special in that a sell\nis an *asynchronous* redemption request settled off-chain by the vault\noperator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles\neach buy/sell as a single instant DEX swap.\n\n`MONEY_MARKET` (WisdomTree Connect digital funds) also uses `transact/buy`\nand `transact/sell`, but neither swaps nor mints: a buy transfers the\nsettlement stablecoin to the issuer's deposit address and the issuer mints\nfund shares back at the next NAV cycle, so settlement is *asynchronous*."
25391
25494
  },
25392
25495
  "TokenizedAssetProvider": {
25393
25496
  "type": "string",
@@ -25395,7 +25498,8 @@
25395
25498
  "ondo",
25396
25499
  "midas",
25397
25500
  "ixs",
25398
- "centrifuge"
25501
+ "centrifuge",
25502
+ "wisdomtree"
25399
25503
  ],
25400
25504
  "title": "TokenizedAssetProvider",
25401
25505
  "description": "Issuer/provider of a tokenized asset."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-labs/api-sdk",
3
- "version": "2.2.95",
3
+ "version": "2.2.97-rc.0",
4
4
  "author": "royalnine",
5
5
  "type": "module",
6
6
  "tshy": {
package/src/lib/config.ts CHANGED
@@ -62,7 +62,7 @@ export const SDK_METADATA = {
62
62
  language: "typescript",
63
63
  openapiDocVersion: "0.0.1",
64
64
  sdkVersion: "2.0.0",
65
- genVersion: "2.924.0",
65
+ genVersion: "2.926.8",
66
66
  userAgent:
67
- "speakeasy-sdk/typescript 2.0.0 2.924.0 0.0.1 @compass-labs/api-sdk",
67
+ "speakeasy-sdk/typescript 2.0.0 2.926.8 0.0.1 @compass-labs/api-sdk",
68
68
  } as const;
@@ -15,6 +15,7 @@ export const Chain = {
15
15
  Hyperevm: "hyperevm",
16
16
  Tempo: "tempo",
17
17
  Bsc: "bsc",
18
+ EthereumSepolia: "ethereum_sepolia",
18
19
  } as const;
19
20
  /**
20
21
  * The chain to use.
@@ -29,9 +29,13 @@ export type ChainMarketInfo = {
29
29
  */
30
30
  aTokenAddress: string;
31
31
  /**
32
- * Variable rate APY for deposits, in percentage (e.g., 4.5 means 4.5%).
32
+ * 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`.
33
33
  */
34
34
  supplyApy: string;
35
+ /**
36
+ * 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`.
37
+ */
38
+ intrinsicApy?: string | null | undefined;
35
39
  /**
36
40
  * Variable rate APY for loans, in percentage (e.g., 6.2 means 6.2%).
37
41
  */
@@ -79,6 +83,7 @@ export const ChainMarketInfo$inboundSchema: z.ZodType<
79
83
  address: z.string(),
80
84
  a_token_address: z.string(),
81
85
  supply_apy: z.string(),
86
+ intrinsic_apy: z.nullable(z.string()).optional(),
82
87
  borrow_apy: z.string(),
83
88
  supply_apy_avg: z.string(),
84
89
  borrow_apy_avg: z.string(),
@@ -92,6 +97,7 @@ export const ChainMarketInfo$inboundSchema: z.ZodType<
92
97
  return remap$(v, {
93
98
  "a_token_address": "aTokenAddress",
94
99
  "supply_apy": "supplyApy",
100
+ "intrinsic_apy": "intrinsicApy",
95
101
  "borrow_apy": "borrowApy",
96
102
  "supply_apy_avg": "supplyApyAvg",
97
103
  "borrow_apy_avg": "borrowApyAvg",
@@ -78,6 +78,11 @@ export type CompassApiBackendV2ModelsTokenizedAssetsMarketMarket = {
78
78
  * is an *asynchronous* redemption request settled off-chain by the vault
79
79
  * operator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles
80
80
  * each buy/sell as a single instant DEX swap.
81
+ *
82
+ * `MONEY_MARKET` (WisdomTree Connect digital funds) also uses `transact/buy`
83
+ * and `transact/sell`, but neither swaps nor mints: a buy transfers the
84
+ * settlement stablecoin to the issuer's deposit address and the issuer mints
85
+ * fund shares back at the next NAV cycle, so settlement is *asynchronous*.
81
86
  */
82
87
  assetClass: TokenizedAssetClass;
83
88
  /**
@@ -78,6 +78,11 @@ export type CompassApiBackendV2ModelsTokenizedAssetsReadResponsePositionsPositio
78
78
  * is an *asynchronous* redemption request settled off-chain by the vault
79
79
  * operator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles
80
80
  * each buy/sell as a single instant DEX swap.
81
+ *
82
+ * `MONEY_MARKET` (WisdomTree Connect digital funds) also uses `transact/buy`
83
+ * and `transact/sell`, but neither swaps nor mints: a buy transfers the
84
+ * settlement stablecoin to the issuer's deposit address and the issuer mints
85
+ * fund shares back at the next NAV cycle, so settlement is *asynchronous*.
81
86
  */
82
87
  assetClass?: TokenizedAssetClass | undefined;
83
88
  /**
@@ -60,15 +60,37 @@ export type LoopedPositionCurrentState = {
60
60
  */
61
61
  healthFactorScope: LoopedPositionCurrentStateHealthFactorScope;
62
62
  /**
63
- * What the collateral leg currently earns, in percentage (e.g. 6.12 = 6.12%). Aave: the collateral reserve's spot supply APY. Morpho: the collateral token's own yield its 7d vault APY when it is an indexed vault share (e.g. steakUSDC); null otherwise, since Morpho collateral earns nothing from the market itself and an unindexed token's intrinsic yield is unknown.
63
+ * What the collateral leg currently earns, in percentage (e.g. 6.12 = 6.12%) the sum of collateral_lending_apy and collateral_intrinsic_apy where both apply. Null when the token earns a yield outside the lending pool (a staked or wrapped asset) and no source for that yield is available: the pool's supply APY alone would understate the leg by percentage points and can invert the sign of net_apy, so it is withheld rather than reported as the whole yield.
64
64
  */
65
65
  collateralApy?: string | null | undefined;
66
66
  /**
67
- * What the debt leg currently costs, in percentage: the market's spot borrow APY (Morpho IRM rate / Aave variable borrow rate). Null when the rate read was unavailable.
67
+ * The supply half of the collateral leg, in percentage: interest paid by borrowers of the collateral asset (Aave supply APY). Near zero for staked assets, which almost nobody borrows. Exactly 0 on Morpho, whose collateral is held rather than lent — which is why a Morpho position's whole collateral leg is its vault yield.
68
+ */
69
+ collateralLendingApy?: string | null | undefined;
70
+ /**
71
+ * The yield the collateral token earns inside its own price, in percentage, independent of the lending pool — a liquid-staking token's staking rewards (wstHYPE against HYPE) or an ERC-4626 share's vault yield — which of the two follows from the position's protocol. Null when the token has none or none is indexed.
72
+ *
73
+ * @remarks
74
+ *
75
+ * A TRAILING 7-DAY measurement, not a forward rate: a week is a short sample of a staking rate, so consecutive readings move around the longer-run average by a few tenths of a percent.
76
+ *
77
+ * A null here alongside a null collateral_apy and a NON-null collateral_lending_apy is the meaningful case: the token does earn outside the pool, but no source for that yield is available, so the total is withheld rather than understated.
78
+ */
79
+ collateralIntrinsicApy?: string | null | undefined;
80
+ /**
81
+ * What the debt leg currently costs, in percentage — the sum of borrow_lending_apy and borrow_intrinsic_apy where both apply. Debt owed in a token that appreciates inside its own price (a staked or wrapped asset) grows by that appreciation on top of the pool's interest, so the pool rate alone would understate the cost and overstate net_apy; for such a token with no yield source available this is null (withheld) rather than the pool rate. For ordinary debt assets it equals the market's spot borrow APY. Null also when the rate read was unavailable.
68
82
  */
69
83
  borrowApy?: string | null | undefined;
70
84
  /**
71
- * Levered net yield on the position's equity, in percentage: leverage x collateral_apy - (leverage - 1) x borrow_apy. Negative means the carry is upside down (borrowing costs more than the collateral earns). Null when leverage or either leg is unknown. The collateral leg of a Morpho vault-share position is a 7d average while the borrow leg is spot.
85
+ * The pool half of the debt leg, in percentage: the market's spot borrow APY (Morpho IRM rate / Aave variable borrow rate) interest charged on the debt by the lending market itself.
86
+ */
87
+ borrowLendingApy?: string | null | undefined;
88
+ /**
89
+ * The yield the DEBT token earns inside its own price, in percentage — which the borrower owes on top of pool interest, since the debt is denominated in an appreciating token. Same source and trailing 7-day window as collateral_intrinsic_apy. Null when the token has none or none is indexed; null alongside a null borrow_apy and a NON-null borrow_lending_apy means the debt token does earn outside the pool but no source is available, so the total cost is withheld rather than understated.
90
+ */
91
+ borrowIntrinsicApy?: string | null | undefined;
92
+ /**
93
+ * Levered net yield on the position's equity, in percentage: leverage x collateral_apy - (leverage - 1) x borrow_apy. Negative means the carry is upside down (borrowing costs more than the collateral earns). Null when leverage or either leg is unknown. This is a SNAPSHOT at today's rates, not a forecast, and it mixes a trailing collateral measurement with a spot borrow rate. It is also denominated in the debt asset, not USD: a wstHYPE/WHYPE loop earning a positive net_apy still loses USD value if HYPE falls. The borrow leg floats with the debt reserve's utilisation, so this figure can move without the position changing at all.
72
94
  */
73
95
  netApy?: string | null | undefined;
74
96
  };
@@ -94,7 +116,11 @@ export const LoopedPositionCurrentState$inboundSchema: z.ZodType<
94
116
  health_factor_scope:
95
117
  LoopedPositionCurrentStateHealthFactorScope$inboundSchema,
96
118
  collateral_apy: z.nullable(z.string()).optional(),
119
+ collateral_lending_apy: z.nullable(z.string()).optional(),
120
+ collateral_intrinsic_apy: z.nullable(z.string()).optional(),
97
121
  borrow_apy: z.nullable(z.string()).optional(),
122
+ borrow_lending_apy: z.nullable(z.string()).optional(),
123
+ borrow_intrinsic_apy: z.nullable(z.string()).optional(),
98
124
  net_apy: z.nullable(z.string()).optional(),
99
125
  }).transform((v) => {
100
126
  return remap$(v, {
@@ -106,7 +132,11 @@ export const LoopedPositionCurrentState$inboundSchema: z.ZodType<
106
132
  "health_factor": "healthFactor",
107
133
  "health_factor_scope": "healthFactorScope",
108
134
  "collateral_apy": "collateralApy",
135
+ "collateral_lending_apy": "collateralLendingApy",
136
+ "collateral_intrinsic_apy": "collateralIntrinsicApy",
109
137
  "borrow_apy": "borrowApy",
138
+ "borrow_lending_apy": "borrowLendingApy",
139
+ "borrow_intrinsic_apy": "borrowIntrinsicApy",
110
140
  "net_apy": "netApy",
111
141
  });
112
142
  });
@@ -80,6 +80,11 @@ export type MarketDetail = {
80
80
  * is an *asynchronous* redemption request settled off-chain by the vault
81
81
  * operator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles
82
82
  * each buy/sell as a single instant DEX swap.
83
+ *
84
+ * `MONEY_MARKET` (WisdomTree Connect digital funds) also uses `transact/buy`
85
+ * and `transact/sell`, but neither swaps nor mints: a buy transfers the
86
+ * settlement stablecoin to the issuer's deposit address and the issuer mints
87
+ * fund shares back at the next NAV cycle, so settlement is *asynchronous*.
83
88
  */
84
89
  assetClass: TokenizedAssetClass;
85
90
  /**
@@ -60,6 +60,14 @@ export type MorphoLendingMarket = {
60
60
  * Current borrow APY for the loan token, in percentage (e.g. 5.25 means 5.25%). Null if the rate is unavailable.
61
61
  */
62
62
  borrowApy?: string | null | undefined;
63
+ /**
64
+ * 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.
65
+ */
66
+ collateralIntrinsicApy?: string | null | undefined;
67
+ /**
68
+ * 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.
69
+ */
70
+ loanIntrinsicApy?: string | null | undefined;
63
71
  /**
64
72
  * Borrowed share of supplied assets, in percentage 0-100.
65
73
  */
@@ -108,6 +116,8 @@ export const MorphoLendingMarket$inboundSchema: z.ZodType<
108
116
  lltv: z.string(),
109
117
  supply_apy: z.nullable(z.string()).optional(),
110
118
  borrow_apy: z.nullable(z.string()).optional(),
119
+ collateral_intrinsic_apy: z.nullable(z.string()).optional(),
120
+ loan_intrinsic_apy: z.nullable(z.string()).optional(),
111
121
  utilization: z.string(),
112
122
  total_supply_assets: z.string(),
113
123
  total_borrow_assets: z.string(),
@@ -126,6 +136,8 @@ export const MorphoLendingMarket$inboundSchema: z.ZodType<
126
136
  "collateral_token_decimals": "collateralTokenDecimals",
127
137
  "supply_apy": "supplyApy",
128
138
  "borrow_apy": "borrowApy",
139
+ "collateral_intrinsic_apy": "collateralIntrinsicApy",
140
+ "loan_intrinsic_apy": "loanIntrinsicApy",
129
141
  "total_supply_assets": "totalSupplyAssets",
130
142
  "total_borrow_assets": "totalBorrowAssets",
131
143
  "available_liquidity": "availableLiquidity",
@@ -28,9 +28,13 @@ export type ReserveInfo = {
28
28
  */
29
29
  aTokenAddress: string;
30
30
  /**
31
- * Variable rate APY for deposits, in percentage (e.g., 4.5 means 4.5%).
31
+ * 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`.
32
32
  */
33
33
  supplyApy: string;
34
+ /**
35
+ * 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`.
36
+ */
37
+ intrinsicApy?: string | null | undefined;
34
38
  /**
35
39
  * Variable rate APY for loans, in percentage (e.g., 6.2 means 6.2%).
36
40
  */
@@ -74,6 +78,7 @@ export const ReserveInfo$inboundSchema: z.ZodType<
74
78
  address: z.string(),
75
79
  a_token_address: z.string(),
76
80
  supply_apy: z.string(),
81
+ intrinsic_apy: z.nullable(z.string()).optional(),
77
82
  borrow_apy: z.string(),
78
83
  supply_apy_avg: z.string(),
79
84
  borrow_apy_avg: z.string(),
@@ -86,6 +91,7 @@ export const ReserveInfo$inboundSchema: z.ZodType<
86
91
  return remap$(v, {
87
92
  "a_token_address": "aTokenAddress",
88
93
  "supply_apy": "supplyApy",
94
+ "intrinsic_apy": "intrinsicApy",
89
95
  "borrow_apy": "borrowApy",
90
96
  "supply_apy_avg": "supplyApyAvg",
91
97
  "borrow_apy_avg": "borrowApyAvg",
@@ -17,6 +17,11 @@ import { ClosedEnum } from "../../types/enums.js";
17
17
  * is an *asynchronous* redemption request settled off-chain by the vault
18
18
  * operator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles
19
19
  * each buy/sell as a single instant DEX swap.
20
+ *
21
+ * `MONEY_MARKET` (WisdomTree Connect digital funds) also uses `transact/buy`
22
+ * and `transact/sell`, but neither swaps nor mints: a buy transfers the
23
+ * settlement stablecoin to the issuer's deposit address and the issuer mints
24
+ * fund shares back at the next NAV cycle, so settlement is *asynchronous*.
20
25
  */
21
26
  export const TokenizedAssetClass = {
22
27
  Equity: "EQUITY",
@@ -25,6 +30,7 @@ export const TokenizedAssetClass = {
25
30
  BtcYield: "BTC_YIELD",
26
31
  ManagedVault: "MANAGED_VAULT",
27
32
  Derwa: "DERWA",
33
+ MoneyMarket: "MONEY_MARKET",
28
34
  } as const;
29
35
  /**
30
36
  * Asset class of a tokenized asset.
@@ -38,6 +44,11 @@ export const TokenizedAssetClass = {
38
44
  * is an *asynchronous* redemption request settled off-chain by the vault
39
45
  * operator. `DERWA` (Centrifuge freely-transferable RWA wrappers) settles
40
46
  * each buy/sell as a single instant DEX swap.
47
+ *
48
+ * `MONEY_MARKET` (WisdomTree Connect digital funds) also uses `transact/buy`
49
+ * and `transact/sell`, but neither swaps nor mints: a buy transfers the
50
+ * settlement stablecoin to the issuer's deposit address and the issuer mints
51
+ * fund shares back at the next NAV cycle, so settlement is *asynchronous*.
41
52
  */
42
53
  export type TokenizedAssetClass = ClosedEnum<typeof TokenizedAssetClass>;
43
54
 
@@ -13,6 +13,7 @@ export const TokenizedAssetProvider = {
13
13
  Midas: "midas",
14
14
  Ixs: "ixs",
15
15
  Centrifuge: "centrifuge",
16
+ Wisdomtree: "wisdomtree",
16
17
  } as const;
17
18
  /**
18
19
  * Issuer/provider of a tokenized asset.
@@ -16,6 +16,7 @@ export const V2EarnSwapQuoteChain = {
16
16
  Hyperevm: "hyperevm",
17
17
  Tempo: "tempo",
18
18
  Bsc: "bsc",
19
+ EthereumSepolia: "ethereum_sepolia",
19
20
  } as const;
20
21
  /**
21
22
  * The chain to use.
@@ -15,6 +15,7 @@ export const V2TokenizedAssetsBalancesChain = {
15
15
  Hyperevm: "hyperevm",
16
16
  Tempo: "tempo",
17
17
  Bsc: "bsc",
18
+ EthereumSepolia: "ethereum_sepolia",
18
19
  } as const;
19
20
  /**
20
21
  * The chain to use.
@@ -16,6 +16,7 @@ export const V2TokenizedAssetsMarketsSymbolChain = {
16
16
  Hyperevm: "hyperevm",
17
17
  Tempo: "tempo",
18
18
  Bsc: "bsc",
19
+ EthereumSepolia: "ethereum_sepolia",
19
20
  } as const;
20
21
  /**
21
22
  * The chain to use.
@@ -15,6 +15,7 @@ export const V2TokenizedAssetsPositionsChain = {
15
15
  Hyperevm: "hyperevm",
16
16
  Tempo: "tempo",
17
17
  Bsc: "bsc",
18
+ EthereumSepolia: "ethereum_sepolia",
18
19
  } as const;
19
20
  /**
20
21
  * The chain to use.
@@ -15,6 +15,7 @@ export const V2TokenizedAssetsRedemptionsChain = {
15
15
  Hyperevm: "hyperevm",
16
16
  Tempo: "tempo",
17
17
  Bsc: "bsc",
18
+ EthereumSepolia: "ethereum_sepolia",
18
19
  } as const;
19
20
  /**
20
21
  * The chain to use.