@oakagentkit/core 0.2.4 → 0.2.6

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 (510) hide show
  1. package/build/dist/api/amounts.d.ts +2 -0
  2. package/build/dist/api/amounts.js +1 -1
  3. package/build/dist/api/args.js +1 -1
  4. package/build/dist/api/gas.js +1 -1
  5. package/build/dist/api/grandfather.js +1 -1
  6. package/build/dist/api/guards.js +1 -1
  7. package/build/dist/api/history.js +1 -1
  8. package/build/dist/api/http.js +1 -1
  9. package/build/dist/api/merkle.js +1 -1
  10. package/build/dist/api/module.js +1 -1
  11. package/build/dist/api/modules/beefy/boosts.js +1 -1
  12. package/build/dist/api/modules/beefy/clm.js +1 -1
  13. package/build/dist/api/modules/beefy/guard.js +1 -1
  14. package/build/dist/api/modules/beefy/index.js +1 -1
  15. package/build/dist/api/modules/beefy/liquidity.js +1 -1
  16. package/build/dist/api/modules/beefy/management.js +1 -1
  17. package/build/dist/api/modules/beefy/vaults.js +1 -1
  18. package/build/dist/api/modules/borro/abi.d.ts +149 -0
  19. package/build/dist/api/modules/borro/abi.js +1 -0
  20. package/build/dist/api/modules/borro/actions.d.ts +2 -0
  21. package/build/dist/api/modules/borro/actions.js +1 -0
  22. package/build/dist/api/modules/borro/checks.d.ts +151 -0
  23. package/build/dist/api/modules/borro/checks.js +1 -0
  24. package/build/dist/api/modules/borro/copy.d.ts +174 -0
  25. package/build/dist/api/modules/borro/copy.js +1 -0
  26. package/build/dist/api/modules/borro/index.d.ts +13 -0
  27. package/build/dist/api/modules/borro/index.js +1 -0
  28. package/build/dist/api/modules/borro/liquidity.d.ts +4 -0
  29. package/build/dist/api/modules/borro/liquidity.js +1 -0
  30. package/build/dist/api/modules/borro/pins.d.ts +264 -0
  31. package/build/dist/api/modules/borro/pins.js +1 -0
  32. package/build/dist/api/modules/borro/positions.d.ts +8 -0
  33. package/build/dist/api/modules/borro/positions.js +1 -0
  34. package/build/dist/api/modules/borro/rates.d.ts +20 -0
  35. package/build/dist/api/modules/borro/rates.js +1 -0
  36. package/build/dist/api/modules/borro/reader.d.ts +36 -0
  37. package/build/dist/api/modules/borro/reader.js +1 -0
  38. package/build/dist/api/modules/borro/types.d.ts +126 -0
  39. package/build/dist/api/modules/borro/types.js +0 -0
  40. package/build/dist/api/modules/chop/abi.d.ts +527 -0
  41. package/build/dist/api/modules/chop/abi.js +1 -0
  42. package/build/dist/api/modules/chop/actions.d.ts +24 -0
  43. package/build/dist/api/modules/chop/actions.js +1 -0
  44. package/build/dist/api/modules/chop/checks.d.ts +26 -0
  45. package/build/dist/api/modules/chop/checks.js +1 -0
  46. package/build/dist/api/modules/chop/copy.d.ts +5 -0
  47. package/build/dist/api/modules/chop/copy.js +1 -0
  48. package/build/dist/api/modules/chop/guard.d.ts +13 -0
  49. package/build/dist/api/modules/chop/guard.js +1 -0
  50. package/build/dist/api/modules/chop/index.d.ts +3 -0
  51. package/build/dist/api/modules/chop/index.js +1 -0
  52. package/build/dist/api/modules/chop/pins.d.ts +53 -0
  53. package/build/dist/api/modules/chop/pins.js +1 -0
  54. package/build/dist/api/modules/chop/positions.d.ts +3 -0
  55. package/build/dist/api/modules/chop/positions.js +1 -0
  56. package/build/dist/api/modules/chop/reader.d.ts +70 -0
  57. package/build/dist/api/modules/chop/reader.js +1 -0
  58. package/build/dist/api/modules/chop/types.d.ts +32 -0
  59. package/build/dist/api/modules/chop/types.js +0 -0
  60. package/build/dist/api/modules/clanker/extensions.js +1 -1
  61. package/build/dist/api/modules/clanker/index.js +1 -1
  62. package/build/dist/api/modules/clanker/manage.js +1 -1
  63. package/build/dist/api/modules/clanker/pool-config.js +1 -1
  64. package/build/dist/api/modules/clanker/protocol.js +1 -1
  65. package/build/dist/api/modules/clanker/state.js +1 -1
  66. package/build/dist/api/modules/earn/copy.d.ts +2 -2
  67. package/build/dist/api/modules/earn/copy.js +1 -1
  68. package/build/dist/api/modules/earn/index.js +1 -1
  69. package/build/dist/api/modules/earn/lp.js +1 -1
  70. package/build/dist/api/modules/earn/options.js +1 -1
  71. package/build/dist/api/modules/erc8004/common.js +1 -1
  72. package/build/dist/api/modules/erc8004/domain.js +1 -1
  73. package/build/dist/api/modules/erc8004/index.js +1 -1
  74. package/build/dist/api/modules/erc8004/management.js +1 -1
  75. package/build/dist/api/modules/erc8004/reputation.js +1 -1
  76. package/build/dist/api/modules/erc8004/services.js +1 -1
  77. package/build/dist/api/modules/erc8004/validation.js +1 -1
  78. package/build/dist/api/modules/gloam/abi.d.ts +89 -0
  79. package/build/dist/api/modules/gloam/abi.js +1 -0
  80. package/build/dist/api/modules/gloam/actions.d.ts +5 -0
  81. package/build/dist/api/modules/gloam/actions.js +1 -0
  82. package/build/dist/api/modules/gloam/checks.d.ts +17 -0
  83. package/build/dist/api/modules/gloam/checks.js +1 -0
  84. package/build/dist/api/modules/gloam/copy.d.ts +22 -0
  85. package/build/dist/api/modules/gloam/copy.js +2 -0
  86. package/build/dist/api/modules/gloam/index.d.ts +6 -0
  87. package/build/dist/api/modules/gloam/index.js +1 -0
  88. package/build/dist/api/modules/gloam/pins.d.ts +41 -0
  89. package/build/dist/api/modules/gloam/pins.js +1 -0
  90. package/build/dist/api/modules/gloam/types.d.ts +308 -0
  91. package/build/dist/api/modules/gloam/types.js +1 -0
  92. package/build/dist/api/modules/grove/index.js +1 -1
  93. package/build/dist/api/modules/heyresearch/builder-feed.js +1 -1
  94. package/build/dist/api/modules/heyresearch/index.js +1 -1
  95. package/build/dist/api/modules/heyresearch/proof-reads.js +1 -1
  96. package/build/dist/api/modules/heyresearch/public-reads.js +1 -1
  97. package/build/dist/api/modules/heyresearch/scan.js +1 -1
  98. package/build/dist/api/modules/heyresearch/token-facts.js +1 -1
  99. package/build/dist/api/modules/hoodag/chain-reads.js +1 -1
  100. package/build/dist/api/modules/hoodag/index.js +1 -1
  101. package/build/dist/api/modules/hoodag/management.js +1 -1
  102. package/build/dist/api/modules/hoodag/public-reads.js +1 -1
  103. package/build/dist/api/modules/hoodag/reconstruct.js +1 -1
  104. package/build/dist/api/modules/hoodlock/airdrop.js +1 -1
  105. package/build/dist/api/modules/hoodlock/commerce.js +1 -1
  106. package/build/dist/api/modules/hoodlock/fee.js +1 -1
  107. package/build/dist/api/modules/hoodlock/guard.js +1 -1
  108. package/build/dist/api/modules/hoodlock/index.js +1 -1
  109. package/build/dist/api/modules/hoodlock/lifecycle.js +1 -1
  110. package/build/dist/api/modules/hoodlock/locks-burn.js +1 -1
  111. package/build/dist/api/modules/hoodlock/public.js +1 -1
  112. package/build/dist/api/modules/hookr/actions.js +1 -1
  113. package/build/dist/api/modules/hookr/addons.js +1 -1
  114. package/build/dist/api/modules/hookr/agent-gate.js +1 -1
  115. package/build/dist/api/modules/hookr/contracts.js +1 -1
  116. package/build/dist/api/modules/hookr/create-cancel.js +1 -1
  117. package/build/dist/api/modules/hookr/discovery.js +1 -1
  118. package/build/dist/api/modules/hookr/fill-bounty.js +1 -1
  119. package/build/dist/api/modules/hookr/index.js +1 -1
  120. package/build/dist/api/modules/hookr/launch-options.js +1 -1
  121. package/build/dist/api/modules/hookr/launch-receipt.js +1 -1
  122. package/build/dist/api/modules/hookr/launch.js +1 -1
  123. package/build/dist/api/modules/hookr/liquidity.js +1 -1
  124. package/build/dist/api/modules/hookr/lp-positions.js +1 -1
  125. package/build/dist/api/modules/hookr/lp-reads.js +1 -1
  126. package/build/dist/api/modules/hookr/lp-receipt.js +1 -1
  127. package/build/dist/api/modules/hookr/lp-state.js +1 -1
  128. package/build/dist/api/modules/hookr/public-reads.js +1 -1
  129. package/build/dist/api/modules/hookr/read-utils.js +1 -1
  130. package/build/dist/api/modules/hookr/relay.js +1 -1
  131. package/build/dist/api/modules/hookr/revenue.js +1 -1
  132. package/build/dist/api/modules/kyberswap/index.js +1 -1
  133. package/build/dist/api/modules/kyberswap/source-pools.js +1 -1
  134. package/build/dist/api/modules/layerbank/actions.js +1 -1
  135. package/build/dist/api/modules/layerbank/checks.js +1 -1
  136. package/build/dist/api/modules/layerbank/index.js +1 -1
  137. package/build/dist/api/modules/layerbank/merkl.js +1 -1
  138. package/build/dist/api/modules/layerbank/reader.js +1 -1
  139. package/build/dist/api/modules/layerbank/reserve.js +1 -1
  140. package/build/dist/api/modules/lighter/index.js +1 -1
  141. package/build/dist/api/modules/longbow/administration.js +1 -1
  142. package/build/dist/api/modules/longbow/analytics.js +1 -1
  143. package/build/dist/api/modules/longbow/fixed.js +1 -1
  144. package/build/dist/api/modules/longbow/index.js +1 -1
  145. package/build/dist/api/modules/longbow/nft.js +1 -1
  146. package/build/dist/api/modules/longbow/rebates.js +1 -1
  147. package/build/dist/api/modules/longbow/staking.js +1 -1
  148. package/build/dist/api/modules/meridian/index.js +1 -1
  149. package/build/dist/api/modules/meridian/markets.js +1 -1
  150. package/build/dist/api/modules/meridian/perps-batch.js +1 -1
  151. package/build/dist/api/modules/meridian/perps-common.js +1 -1
  152. package/build/dist/api/modules/meridian/perps-guards.js +1 -1
  153. package/build/dist/api/modules/meridian/perps-intents.js +1 -1
  154. package/build/dist/api/modules/meridian/perps-stream.js +1 -1
  155. package/build/dist/api/modules/meridian/perps.d.ts +1 -0
  156. package/build/dist/api/modules/meridian/perps.js +1 -1
  157. package/build/dist/api/modules/meridian/predict-read.js +1 -1
  158. package/build/dist/api/modules/meridian/rfq.js +1 -1
  159. package/build/dist/api/modules/merkl/discovery.js +1 -1
  160. package/build/dist/api/modules/merkl/index.js +1 -1
  161. package/build/dist/api/modules/merkl/manage.js +1 -1
  162. package/build/dist/api/modules/merkl/protocol.js +1 -1
  163. package/build/dist/api/modules/morpho/allocator.js +1 -1
  164. package/build/dist/api/modules/morpho/bundles.js +1 -1
  165. package/build/dist/api/modules/morpho/in-kind.js +1 -1
  166. package/build/dist/api/modules/morpho/index.js +1 -1
  167. package/build/dist/api/modules/morpho/local-guard.js +1 -1
  168. package/build/dist/api/modules/morpho/midnight.js +1 -1
  169. package/build/dist/api/modules/morpho/protocol.js +1 -1
  170. package/build/dist/api/modules/morpho/vault-management.js +1 -1
  171. package/build/dist/api/modules/morpho/vault-tools.js +1 -1
  172. package/build/dist/api/modules/morpho/vault-v2.js +1 -1
  173. package/build/dist/api/modules/netnet/card-plan.js +1 -1
  174. package/build/dist/api/modules/netnet/card-read.js +1 -1
  175. package/build/dist/api/modules/netnet/card-recovery.js +1 -1
  176. package/build/dist/api/modules/netnet/desk-action.js +1 -1
  177. package/build/dist/api/modules/netnet/financial.js +1 -1
  178. package/build/dist/api/modules/netnet/index.js +1 -1
  179. package/build/dist/api/modules/netnet/staking.js +1 -1
  180. package/build/dist/api/modules/orbio/gateway.js +1 -1
  181. package/build/dist/api/modules/orbio/index.js +1 -1
  182. package/build/dist/api/modules/orbio/positions.js +1 -1
  183. package/build/dist/api/modules/pendle/convert.js +1 -1
  184. package/build/dist/api/modules/pendle/costs.js +1 -1
  185. package/build/dist/api/modules/pendle/index.js +1 -1
  186. package/build/dist/api/modules/pendle/markets.js +1 -1
  187. package/build/dist/api/modules/pendle/positions.js +1 -1
  188. package/build/dist/api/modules/pendle/pricecheck.js +1 -1
  189. package/build/dist/api/modules/pendle/reader.js +1 -1
  190. package/build/dist/api/modules/pendle/redeem.js +1 -1
  191. package/build/dist/api/modules/pendle/trade.js +1 -1
  192. package/build/dist/api/modules/pendle/types.d.ts +16 -1
  193. package/build/dist/api/modules/pendle/validate.js +1 -1
  194. package/build/dist/api/modules/pendle/verify.js +1 -1
  195. package/build/dist/api/modules/pons/claim.js +1 -1
  196. package/build/dist/api/modules/pons/holder-directory.js +1 -1
  197. package/build/dist/api/modules/pons/index.js +1 -1
  198. package/build/dist/api/modules/pons/launch-status.d.ts +1 -0
  199. package/build/dist/api/modules/pons/launch-status.js +1 -1
  200. package/build/dist/api/modules/pons/prices.js +1 -1
  201. package/build/dist/api/modules/pons/reads.js +1 -1
  202. package/build/dist/api/modules/pons/swap-terms.js +1 -1
  203. package/build/dist/api/modules/pons/trade.js +1 -1
  204. package/build/dist/api/modules/poolstrade/index.js +1 -1
  205. package/build/dist/api/modules/priors/coverage.js +1 -1
  206. package/build/dist/api/modules/priors/discovery.js +1 -1
  207. package/build/dist/api/modules/priors/features.js +1 -1
  208. package/build/dist/api/modules/priors/holdings.js +1 -1
  209. package/build/dist/api/modules/priors/index.js +1 -1
  210. package/build/dist/api/modules/priors/integration.js +1 -1
  211. package/build/dist/api/modules/priors/market.js +1 -1
  212. package/build/dist/api/modules/priors/pt.js +1 -1
  213. package/build/dist/api/modules/priors/savings-exit.js +1 -1
  214. package/build/dist/api/modules/priors/starter-line.js +1 -1
  215. package/build/dist/api/modules/priors/stock-swap.js +1 -1
  216. package/build/dist/api/modules/relay/api.js +1 -1
  217. package/build/dist/api/modules/relay/bootstrap.js +1 -1
  218. package/build/dist/api/modules/relay/discovery.js +1 -1
  219. package/build/dist/api/modules/relay/inbound.d.ts +2 -0
  220. package/build/dist/api/modules/relay/inbound.js +1 -1
  221. package/build/dist/api/modules/relay/index.js +1 -1
  222. package/build/dist/api/modules/relay/order.js +1 -1
  223. package/build/dist/api/modules/relay/outbound-status.js +1 -1
  224. package/build/dist/api/modules/relay/readiness.js +1 -1
  225. package/build/dist/api/modules/relay/reads.js +1 -1
  226. package/build/dist/api/modules/relay/vaults.js +1 -1
  227. package/build/dist/api/modules/spark/actions.js +1 -1
  228. package/build/dist/api/modules/spark/details.js +1 -1
  229. package/build/dist/api/modules/spark/index.js +1 -1
  230. package/build/dist/api/modules/spark/management.js +1 -1
  231. package/build/dist/api/modules/steakhouse/analytics.js +1 -1
  232. package/build/dist/api/modules/steakhouse/erc4626.js +1 -1
  233. package/build/dist/api/modules/steakhouse/index.js +1 -1
  234. package/build/dist/api/modules/steakhouse/local-guard.js +1 -1
  235. package/build/dist/api/modules/steakhouse/management.js +1 -1
  236. package/build/dist/api/modules/steakhouse/v2-exit.js +1 -1
  237. package/build/dist/api/modules/tickerspring/basket-routes.js +1 -1
  238. package/build/dist/api/modules/tickerspring/contract-reads.js +1 -1
  239. package/build/dist/api/modules/tickerspring/exit-preview.js +1 -1
  240. package/build/dist/api/modules/tickerspring/guards.js +1 -1
  241. package/build/dist/api/modules/tickerspring/index.js +1 -1
  242. package/build/dist/api/modules/tickerspring/journeys.js +1 -1
  243. package/build/dist/api/modules/tickerspring/ladder.js +1 -1
  244. package/build/dist/api/modules/tickerspring/maker.js +1 -1
  245. package/build/dist/api/modules/tickerspring/order-accounting.js +1 -1
  246. package/build/dist/api/modules/tickerspring/research.js +1 -1
  247. package/build/dist/api/modules/tickerspring/strategies.js +1 -1
  248. package/build/dist/api/modules/uniswap/auction-create.js +1 -1
  249. package/build/dist/api/modules/uniswap/auction.js +1 -1
  250. package/build/dist/api/modules/uniswap/batch.js +1 -1
  251. package/build/dist/api/modules/uniswap/common.js +1 -1
  252. package/build/dist/api/modules/uniswap/fees.js +1 -1
  253. package/build/dist/api/modules/uniswap/index.js +1 -1
  254. package/build/dist/api/modules/uniswap/local-guard.js +1 -1
  255. package/build/dist/api/modules/uniswap/oracle.js +1 -1
  256. package/build/dist/api/modules/uniswap/pool-math.js +1 -1
  257. package/build/dist/api/modules/uniswap/pools.js +1 -1
  258. package/build/dist/api/modules/uniswap/position.js +1 -1
  259. package/build/dist/api/modules/uniswap/protocol.js +1 -1
  260. package/build/dist/api/modules/uniswap/token-jar.js +1 -1
  261. package/build/dist/api/modules/uniswap/trade-batch.js +1 -1
  262. package/build/dist/api/modules/uniswap/trade.js +1 -1
  263. package/build/dist/api/modules/uniswap/v2.js +1 -1
  264. package/build/dist/api/modules/uniswap/v3.d.ts +11 -1
  265. package/build/dist/api/modules/uniswap/v3.js +1 -1
  266. package/build/dist/api/modules/uniswap/v4.js +1 -1
  267. package/build/dist/api/modules/uniswap/wrap.js +1 -1
  268. package/build/dist/api/modules/velora/claims.js +1 -1
  269. package/build/dist/api/modules/velora/delta-reads.js +1 -1
  270. package/build/dist/api/modules/velora/index.js +1 -1
  271. package/build/dist/api/modules/wormhole/index.d.ts +3 -0
  272. package/build/dist/api/modules/wormhole/index.js +1 -1
  273. package/build/dist/api/modules/wormhole/scan-text.js +1 -1
  274. package/build/dist/api/modules/wormhole/swap-token-verdict.d.ts +11 -0
  275. package/build/dist/api/modules/wormhole/swap-token-verdict.js +1 -0
  276. package/build/dist/api/modules/wormhole/third-party-text.d.ts +13 -0
  277. package/build/dist/api/modules/wormhole/third-party-text.js +1 -0
  278. package/build/dist/api/modules/wormhole/token-check.d.ts +2 -0
  279. package/build/dist/api/modules/wormhole/token-check.js +1 -1
  280. package/build/dist/api/modules/wormhole/x402-client.d.ts +36 -0
  281. package/build/dist/api/modules/wormhole/x402-client.js +1 -0
  282. package/build/dist/api/positions.js +1 -1
  283. package/build/dist/api/pricenote.js +1 -1
  284. package/build/dist/api/prices.js +1 -1
  285. package/build/dist/api/pricing.js +1 -1
  286. package/build/dist/api/routes.js +1 -1
  287. package/build/dist/api/send.js +1 -1
  288. package/build/dist/api/signing-registry.js +1 -1
  289. package/build/dist/api/simulate.js +1 -1
  290. package/build/dist/api/swap.js +1 -1
  291. package/build/dist/api/tokens.d.ts +1 -0
  292. package/build/dist/api/tokens.js +1 -1
  293. package/build/dist/api/tool-policy.js +1 -1
  294. package/build/dist/api/tx.js +1 -1
  295. package/build/dist/api/types.d.ts +6 -1
  296. package/build/dist/api/vendor-limits.js +1 -1
  297. package/build/dist/chunks/{ALRRW7SF.js → 2MT3G7YZ.js} +1 -1
  298. package/build/dist/chunks/{WPAF55SP.js → 2THSW4QN.js} +1 -1
  299. package/build/dist/chunks/{MKAPRRKF.js → 2TK3ETUO.js} +1 -1
  300. package/build/dist/chunks/{VVA72C6O.js → 2VXLVXIB.js} +1 -1
  301. package/build/dist/chunks/{ZE7EU2CS.js → 35KR3VSS.js} +1 -1
  302. package/build/dist/chunks/{ZYH4B2GR.js → 3GQ7A3VB.js} +1 -1
  303. package/build/dist/chunks/3VWVW7PX.js +1 -0
  304. package/build/dist/chunks/{WPFAEBE7.js → 3XNZUIRU.js} +1 -1
  305. package/build/dist/chunks/{PBQSJSZO.js → 43LI5NKJ.js} +1 -1
  306. package/build/dist/chunks/{QVYCJ6WV.js → 46KWRAYK.js} +1 -1
  307. package/build/dist/chunks/4DP2VPXR.js +3 -0
  308. package/build/dist/chunks/{47YN4OUI.js → 4EN6MQEI.js} +1 -1
  309. package/build/dist/chunks/{UHRCM7AG.js → 4HG6FRVH.js} +1 -1
  310. package/build/dist/chunks/{E6UU7DL2.js → 4I3OU56B.js} +1 -1
  311. package/build/dist/chunks/{WIVYKLQM.js → 52ELWNXJ.js} +1 -1
  312. package/build/dist/chunks/{5WUKOQIJ.js → 5AXWBSPG.js} +1 -1
  313. package/build/dist/chunks/{D6ZJPNK7.js → 5N3O42X6.js} +1 -1
  314. package/build/dist/chunks/{UA4O226F.js → 5SMVQCAP.js} +1 -1
  315. package/build/dist/chunks/{6L5KTE6Y.js → 5SZPNZG4.js} +1 -1
  316. package/build/dist/chunks/{6PY3IRDS.js → 64GOINYS.js} +1 -1
  317. package/build/dist/chunks/{5ZLOCQA4.js → 66F5ZH34.js} +1 -1
  318. package/build/dist/chunks/{XDZRO5JQ.js → 6I4NTKB2.js} +1 -1
  319. package/build/dist/chunks/{LVLVP5KQ.js → 6JAXZNZ3.js} +1 -1
  320. package/build/dist/chunks/{BXHNYCH2.js → 6O3Q5B6M.js} +1 -1
  321. package/build/dist/chunks/{MFCPL6LF.js → 6OGDTEGH.js} +1 -1
  322. package/build/dist/chunks/{43CSMYDO.js → 6WD4HHID.js} +1 -1
  323. package/build/dist/chunks/{XJEOEMDS.js → 6WZX7C4T.js} +1 -1
  324. package/build/dist/chunks/6YB3VOUL.js +1 -0
  325. package/build/dist/chunks/77CLMPM7.js +1 -0
  326. package/build/dist/chunks/{EKNSLLJK.js → 7GJ6SLEV.js} +1 -1
  327. package/build/dist/chunks/{S2TAJHHK.js → 7KWZ5QJU.js} +1 -1
  328. package/build/dist/chunks/{CTMA4BTM.js → 7QIO77VE.js} +1 -1
  329. package/build/dist/chunks/7QZOTRSA.js +2 -0
  330. package/build/dist/chunks/{IKEJCBYU.js → 7WSHW7KW.js} +1 -1
  331. package/build/dist/chunks/{PQC5635W.js → A7I4IWUB.js} +1 -1
  332. package/build/dist/chunks/ACW63WIL.js +20 -0
  333. package/build/dist/chunks/AEL62KCG.js +1 -0
  334. package/build/dist/chunks/{UPMGGK34.js → AFBEZXNV.js} +1 -1
  335. package/build/dist/chunks/{AUOXDNUO.js → AKYF5264.js} +1 -1
  336. package/build/dist/chunks/{HVM2EEXB.js → ALLLYOUG.js} +1 -1
  337. package/build/dist/chunks/APQYLJGS.js +1 -0
  338. package/build/dist/chunks/AW7AXQCZ.js +1 -0
  339. package/build/dist/chunks/{WOEKXQAH.js → AXRL3REN.js} +1 -1
  340. package/build/dist/chunks/{ECWGKLBW.js → BBTPRZ6T.js} +1 -1
  341. package/build/dist/chunks/{ALPYEM7B.js → BND2UFVW.js} +1 -1
  342. package/build/dist/chunks/{GHPREYQK.js → BOVMED7R.js} +1 -1
  343. package/build/dist/chunks/{57JFKIMK.js → BTPXJAUX.js} +1 -1
  344. package/build/dist/chunks/{ZGKVXFM5.js → C7AXJHBT.js} +1 -1
  345. package/build/dist/chunks/{5U7TCKX2.js → CBG5HARQ.js} +1 -1
  346. package/build/dist/chunks/{NA7R6J5N.js → CBLMQ5UU.js} +1 -1
  347. package/build/dist/chunks/CDPSMI3Z.js +1 -0
  348. package/build/dist/chunks/{5N4A5XAW.js → CHXBOXOD.js} +1 -1
  349. package/build/dist/chunks/{2ZUP7ZEV.js → CQEJSCFQ.js} +1 -1
  350. package/build/dist/chunks/{6AAARNZ3.js → DBNTZEAJ.js} +1 -1
  351. package/build/dist/chunks/{IQIWASRD.js → DHUDSOGR.js} +1 -1
  352. package/build/dist/chunks/{L7OQUHM5.js → DJN3JAWB.js} +1 -1
  353. package/build/dist/chunks/{YPM2UITD.js → DL6AEWEM.js} +1 -1
  354. package/build/dist/chunks/{CERNEJ2F.js → DW4V5PUY.js} +1 -1
  355. package/build/dist/chunks/E3RACZUY.js +1 -0
  356. package/build/dist/chunks/{MOPETB64.js → EGYVRQUR.js} +1 -1
  357. package/build/dist/chunks/{IQGY5FW7.js → ER47KGRM.js} +1 -1
  358. package/build/dist/chunks/{ZSQOMSOC.js → FEYAY6OZ.js} +1 -1
  359. package/build/dist/chunks/FIO6VC2J.js +1 -0
  360. package/build/dist/chunks/FJ4S4GHY.js +1 -0
  361. package/build/dist/chunks/{RPNAFUM5.js → FUDAXV5X.js} +1 -1
  362. package/build/dist/chunks/{I6KUORFT.js → GG6Y4OCJ.js} +1 -1
  363. package/build/dist/chunks/{3AXVB23N.js → GGHBFLRC.js} +1 -1
  364. package/build/dist/chunks/{4ALMYJJV.js → GGSAKCND.js} +1 -1
  365. package/build/dist/chunks/GNC6RXLT.js +1 -0
  366. package/build/dist/chunks/{3ESNHZT5.js → GRQYTVNT.js} +1 -1
  367. package/build/dist/chunks/{WVONJOWN.js → GSBIERZD.js} +1 -1
  368. package/build/dist/chunks/H43RNCX2.js +1 -0
  369. package/build/dist/chunks/{NYNJITCM.js → H6T5FXEX.js} +1 -1
  370. package/build/dist/chunks/HHXBUYHO.js +1 -0
  371. package/build/dist/chunks/{64WKYWZV.js → HKEMQBFA.js} +1 -1
  372. package/build/dist/chunks/{4YFVAYKR.js → HM72DH4V.js} +1 -1
  373. package/build/dist/chunks/{XFKVU46U.js → HQUVB7Z5.js} +1 -1
  374. package/build/dist/chunks/HS4DZPYT.js +1 -0
  375. package/build/dist/chunks/{OTIXQZ3X.js → HU7IMNBI.js} +1 -1
  376. package/build/dist/chunks/{ENX72ARB.js → HWX36XJI.js} +1 -1
  377. package/build/dist/chunks/{QRC4ZPDA.js → I26DMNJG.js} +1 -1
  378. package/build/dist/chunks/I55MURSJ.js +1 -0
  379. package/build/dist/chunks/I6PQW2JI.js +1 -0
  380. package/build/dist/chunks/{S3FPF537.js → IMO3GDA5.js} +1 -1
  381. package/build/dist/chunks/{BQICZFLR.js → IOYRL6AY.js} +1 -1
  382. package/build/dist/chunks/IPN6Z4JM.js +1 -0
  383. package/build/dist/chunks/{MKBNLGDD.js → IPRVIKYC.js} +1 -1
  384. package/build/dist/chunks/{EOQYLFXA.js → IVX4R5OL.js} +1 -1
  385. package/build/dist/chunks/IX3GZMTM.js +1 -0
  386. package/build/dist/chunks/JFYBH3DX.js +1 -0
  387. package/build/dist/chunks/{Y7RPSDD2.js → JKD2B6OX.js} +1 -1
  388. package/build/dist/chunks/JQOQMFWD.js +3 -0
  389. package/build/dist/chunks/{PSVOVZH7.js → JUZ5JU6D.js} +5 -5
  390. package/build/dist/chunks/{I4TGMF2C.js → JZS3E66E.js} +1 -1
  391. package/build/dist/chunks/{SSIENQVU.js → K3RDPI5J.js} +1 -1
  392. package/build/dist/chunks/{PADWZX7J.js → K4DHHQBI.js} +1 -1
  393. package/build/dist/chunks/{NB3LYS3G.js → KIFZ5ZSK.js} +1 -1
  394. package/build/dist/chunks/KVFZKPJT.js +1 -0
  395. package/build/dist/chunks/{EYFBVQ46.js → L5BLHY34.js} +1 -1
  396. package/build/dist/chunks/{GVPX5XCL.js → LKXO2BQS.js} +1 -1
  397. package/build/dist/chunks/{JPNYUEQP.js → LKZX4CAA.js} +1 -1
  398. package/build/dist/chunks/{LROVANUR.js → LYMNHO5T.js} +1 -1
  399. package/build/dist/chunks/{QSN6Y2K6.js → M2UXYCKH.js} +1 -1
  400. package/build/dist/chunks/{BNG2IWZL.js → M37654RL.js} +1 -1
  401. package/build/dist/chunks/{YAJYDD6C.js → M6LC6DRE.js} +1 -1
  402. package/build/dist/chunks/{AG67Z3SC.js → MOE3EVAL.js} +1 -1
  403. package/build/dist/chunks/{DVVFT42J.js → MRMR4QHA.js} +1 -1
  404. package/build/dist/chunks/{WWHCEMNB.js → N4Q6GN65.js} +1 -1
  405. package/build/dist/chunks/{S5WICHIS.js → NAZPDRIF.js} +1 -1
  406. package/build/dist/chunks/{HSFOWJ3Z.js → NKZKKCK2.js} +1 -1
  407. package/build/dist/chunks/{BAAXGB4K.js → NOFUKKP5.js} +1 -1
  408. package/build/dist/chunks/{5KUWLUPM.js → NWNYJ26T.js} +1 -1
  409. package/build/dist/chunks/{7UOOIDR3.js → O6ROOKY2.js} +1 -1
  410. package/build/dist/chunks/{KBXU7U6Q.js → O7HCEPQY.js} +1 -1
  411. package/build/dist/chunks/{LDT3QTSY.js → OJ4WJUPP.js} +1 -1
  412. package/build/dist/chunks/{WD37MEMZ.js → OLSP46ZD.js} +1 -1
  413. package/build/dist/chunks/{TPL4U3AQ.js → OOZSE2R7.js} +1 -1
  414. package/build/dist/chunks/OTXSKFUD.js +1 -0
  415. package/build/dist/chunks/{4TQQH7N6.js → P5AJSLZ7.js} +1 -1
  416. package/build/dist/chunks/{BK23XJXE.js → P5PYFK7L.js} +1 -1
  417. package/build/dist/chunks/{A6YQ5H24.js → PACN53TR.js} +1 -1
  418. package/build/dist/chunks/{K72EYD6R.js → PAHXBLCS.js} +1 -1
  419. package/build/dist/chunks/PAY5PD4H.js +1 -0
  420. package/build/dist/chunks/{SGEZIYJW.js → PIIHOXWF.js} +1 -1
  421. package/build/dist/chunks/{SQL6HD5E.js → PK66GCDT.js} +1 -1
  422. package/build/dist/chunks/PNA6UIE5.js +1 -0
  423. package/build/dist/chunks/{6FTYNYGF.js → PSBQWDYI.js} +1 -1
  424. package/build/dist/chunks/{W76QC2AW.js → PV5FDT6O.js} +1 -1
  425. package/build/dist/chunks/{42DQTKEO.js → PXT5YTWU.js} +1 -1
  426. package/build/dist/chunks/{4ISR2U72.js → PZGGE5D3.js} +1 -1
  427. package/build/dist/chunks/{IMRXZ7JB.js → Q42YI3EP.js} +1 -1
  428. package/build/dist/chunks/{F3BSEE52.js → QA2RRIES.js} +1 -1
  429. package/build/dist/chunks/{ZBFKKUNP.js → QA3UHEO3.js} +1 -1
  430. package/build/dist/chunks/{PWH464CJ.js → QBIY6FQN.js} +1 -1
  431. package/build/dist/chunks/QFNT73OF.js +1 -0
  432. package/build/dist/chunks/QHBS3PVU.js +1 -0
  433. package/build/dist/chunks/QQECG3WP.js +1 -0
  434. package/build/dist/chunks/{RVO3QK2B.js → QU5XKRGK.js} +1 -1
  435. package/build/dist/chunks/QW2OPEYJ.js +1 -0
  436. package/build/dist/chunks/{G7XSFUDL.js → QYVREJYC.js} +1 -1
  437. package/build/dist/chunks/{KA7BPBCV.js → ROFPXEQ5.js} +1 -1
  438. package/build/dist/chunks/{5MQ5KSSV.js → RTAHNWHN.js} +1 -1
  439. package/build/dist/chunks/{MDDHG34Y.js → RTGS7RIO.js} +1 -1
  440. package/build/dist/chunks/{3WXK2FUA.js → RUC7KH7A.js} +1 -1
  441. package/build/dist/chunks/{MBTARLZQ.js → RUX3RY7Y.js} +1 -1
  442. package/build/dist/chunks/{3VAJW6TQ.js → RVDUSNWW.js} +1 -1
  443. package/build/dist/chunks/{ET23SES4.js → S5CBVFHY.js} +1 -1
  444. package/build/dist/chunks/{WMNRP3YH.js → SIYUNOLI.js} +1 -1
  445. package/build/dist/chunks/{TNKVRVTH.js → SJJR4ZBZ.js} +1 -1
  446. package/build/dist/chunks/{UFVPMWPJ.js → SMYWWIE6.js} +1 -1
  447. package/build/dist/chunks/{Z4SRGAVL.js → SPJCSEKP.js} +1 -1
  448. package/build/dist/chunks/{YEXUSRIZ.js → T7TFUH5K.js} +1 -1
  449. package/build/dist/chunks/{SKMPKAZI.js → TAEZTP4L.js} +1 -1
  450. package/build/dist/chunks/{E3UBHTJO.js → TEJ7W534.js} +1 -1
  451. package/build/dist/chunks/{AWXJV2YH.js → TFDPEAVZ.js} +1 -1
  452. package/build/dist/chunks/{UOGHQLQX.js → TMVO2DAK.js} +1 -1
  453. package/build/dist/chunks/{QJFXLYZG.js → TPBAFS7K.js} +1 -1
  454. package/build/dist/chunks/{MXW2TP5P.js → TVWMTMEF.js} +1 -1
  455. package/build/dist/chunks/{GRIGSPD4.js → TX2EOIRS.js} +1 -1
  456. package/build/dist/chunks/{Y7PRJOIK.js → U2RMUVVY.js} +1 -1
  457. package/build/dist/chunks/{VV2HEIFI.js → U5PMVP56.js} +1 -1
  458. package/build/dist/chunks/{TBCSZDAF.js → UD2XMNIT.js} +1 -1
  459. package/build/dist/chunks/{F26FK47J.js → UNJJRQIU.js} +1 -1
  460. package/build/dist/chunks/V5JWGWXC.js +1 -0
  461. package/build/dist/chunks/V74F6IDY.js +1 -0
  462. package/build/dist/chunks/VCOTCVKN.js +1 -0
  463. package/build/dist/chunks/{MYFAKCQI.js → VEQBHI6O.js} +1 -1
  464. package/build/dist/chunks/VHV6WQ5F.js +1 -0
  465. package/build/dist/chunks/{7WQEPZJY.js → VNV6ZISN.js} +1 -1
  466. package/build/dist/chunks/{W2OJ57ZO.js → VYAJXLND.js} +1 -1
  467. package/build/dist/chunks/{MDV7GECM.js → VYYSL557.js} +1 -1
  468. package/build/dist/chunks/WCNHZYQQ.js +1 -0
  469. package/build/dist/chunks/{K22EXPWN.js → WIRBCS4W.js} +1 -1
  470. package/build/dist/chunks/{YRXT3HTW.js → WLMWWEP7.js} +1 -1
  471. package/build/dist/chunks/{NDW5DAFL.js → WP6RHXGN.js} +1 -1
  472. package/build/dist/chunks/{PLZKXQ76.js → WTXC3XKW.js} +1 -1
  473. package/build/dist/chunks/{WGL46F3S.js → WU7XIAXB.js} +1 -1
  474. package/build/dist/chunks/{5OKJEGBH.js → WV3A3OUU.js} +1 -1
  475. package/build/dist/chunks/{MGPHD4VV.js → X2P55AC3.js} +1 -1
  476. package/build/dist/chunks/{RNC463IM.js → XBE3B6Y2.js} +1 -1
  477. package/build/dist/chunks/XD6X3KTC.js +1 -0
  478. package/build/dist/chunks/{BIRMUW7Z.js → XKSVTN5X.js} +1 -1
  479. package/build/dist/chunks/XL3LLGIR.js +1 -0
  480. package/build/dist/chunks/XQA5LCL6.js +1 -0
  481. package/build/dist/chunks/{SDHPFXRM.js → XSKFKBDR.js} +1 -1
  482. package/build/dist/chunks/{TJWVY4VO.js → YCZPSMZ5.js} +1 -1
  483. package/build/dist/chunks/{JZXYLHI7.js → YDNTY67T.js} +1 -1
  484. package/build/dist/chunks/{2DUCTO5C.js → YN56C7PN.js} +1 -1
  485. package/build/dist/chunks/{E6RRXNV2.js → YRNXGQJC.js} +1 -1
  486. package/build/dist/chunks/YWRLY5EA.js +1 -0
  487. package/build/dist/chunks/YWSX6IE6.js +1 -0
  488. package/build/dist/chunks/{DP2NIYBP.js → YXTSWRV5.js} +1 -1
  489. package/build/dist/chunks/{MQYOG66Q.js → Z6LZGCVW.js} +1 -1
  490. package/build/dist/chunks/{OFI3Y55L.js → ZQAFFWDK.js} +1 -1
  491. package/build/dist/chunks/{NZXQWDGF.js → ZQWZGH7V.js} +1 -1
  492. package/build/dist/chunks/{TBIVTEP5.js → ZSN4IRI5.js} +1 -1
  493. package/build/dist/chunks/{ZET37EIG.js → ZV5HIQXC.js} +1 -1
  494. package/build/dist/chunks/{VHLINDDS.js → ZXJ24B4L.js} +1 -1
  495. package/package.json +1 -1
  496. package/build/dist/chunks/24CQ2SPB.js +0 -1
  497. package/build/dist/chunks/2OJAOVMG.js +0 -1
  498. package/build/dist/chunks/65EQECL3.js +0 -1
  499. package/build/dist/chunks/6YYCGUCU.js +0 -1
  500. package/build/dist/chunks/EU3OAJU2.js +0 -1
  501. package/build/dist/chunks/H4NYYJ3Z.js +0 -1
  502. package/build/dist/chunks/HTXKERNS.js +0 -1
  503. package/build/dist/chunks/JG27HM4P.js +0 -1
  504. package/build/dist/chunks/L6D26AMO.js +0 -1
  505. package/build/dist/chunks/O6L4BJP4.js +0 -1
  506. package/build/dist/chunks/SUFA2GKR.js +0 -1
  507. package/build/dist/chunks/UP7FBDMJ.js +0 -1
  508. package/build/dist/chunks/YHRUAQQK.js +0 -1
  509. package/build/dist/chunks/ZCOFMGPS.js +0 -1
  510. package/build/dist/chunks/ZCUXM52B.js +0 -1
@@ -0,0 +1,174 @@
1
+ import { BANNED_COPY, fill, placeholdersOf, type Placeholders, type Template } from '../earn/copy.js';
2
+ export { BANNED_COPY, fill, placeholdersOf };
3
+ export type { Placeholders, Template };
4
+ export declare const BORRO_SITE = "borro.markets";
5
+ export declare const CARD_INTRO: Template<"Borro: lend your {symbol} to borrowers through Borro's vault.">;
6
+ export declare const INDEPENDENCE: Template<"Borro is an official Oak partner. Borro's own team runs its product and contracts; Oak didn't build them and doesn't run them.">;
7
+ export declare const FEE_CLAUSE: Template<"Borro keeps {fee_pct}% of the interest as its fee.">;
8
+ export declare const FEE_CLAUSE_UNREADABLE: Template<"Borro keeps part of the interest as its fee, and I couldn't read how much.">;
9
+ export declare const REWARD_USDG: Template<"Reward: about {borro_rate}% a year today, which changes. {fee_clause} {comparison_clause}">;
10
+ export declare const REWARD_STOCK: Template<"Reward: lending {symbol} pays about {borro_rate}% a year today, which changes. {fee_clause}">;
11
+ export declare const REWARD_STOCK_LOW: Template<"Reward: lending {symbol} pays about {borro_rate}% a year today, which is close to nothing and changes. {fee_clause}">;
12
+ export declare const RATE_UNREADABLE: Template<"Borro's page didn't give a rate I can check, so I can't tell you what this pays today.">;
13
+ export declare const REWARD_UNREADABLE: Template<"Reward: Borro's page didn't give a rate I can check, so I can't tell you what this pays today. {fee_clause}">;
14
+ export declare const STOCK_CATCH: Template<"The catch: you are lending {symbol}, a stock token, not dollars. If its price falls, what you get back is worth less in dollars, even though the {symbol} count is what you lent. The company that issues the token can also pause or restrict it.">;
15
+ export declare const COMPARE_LAYERBANK_HIGHER: Template<"LayerBank on Robinhood Chain pays about {lb_rate}% a year on USDG today, so LayerBank pays more.">;
16
+ export declare const COMPARE_BORRO_HIGHER: Template<"LayerBank on Robinhood Chain pays about {lb_rate}% a year on USDG today, so Borro pays more.">;
17
+ export declare const COMPARE_SAME: Template<"LayerBank on Robinhood Chain pays about {lb_rate}% a year on USDG today, so they pay about the same.">;
18
+ export declare const COMPARE_UNREADABLE: Template<"I couldn't read {the_other} rate, so I can't compare them right now.">;
19
+ export declare const AGE_CLAUSE: Template<"Borro is {age_phrase} old and has had no outside security check">;
20
+ export declare const AGE_CLAUSE_UNKNOWN: Template<"Borro's age couldn't be read, and it has had no outside security check">;
21
+ export declare const CONTROLLER_SAFE: Template<"A {threshold}-of-{owners} group wallet">;
22
+ export declare const CONTROLLER_UNKNOWN: Template<"A wallet Oak could not inspect">;
23
+ export declare const RISK_CLAUSE: Template<"{age_clause}; its own page says only internal reviews were done. {controller_clause} controls the vault and can change where the money is lent. If Borro's code fails, or the people who control it make a harmful change, you could lose money.">;
24
+ export declare const RISK_LINE: Template<"Risk: {risk_clause}">;
25
+ export declare const TAKING_OUT: Template<"Taking it out: you can take your money out when the vault has cash on hand. Right now about {ready} {symbol} of the {total} {symbol} lent in is ready; the rest is out with borrowers and can take time to come back. You can also take it out on borro.markets with this wallet.">;
26
+ export declare const TAKING_OUT_UNREADABLE: Template<"Taking it out: you can take your money out when the vault has cash on hand. I couldn't read how much is ready to take out right now; money that is out with borrowers can take time to come back. You can also take it out on borro.markets with this wallet.">;
27
+ export declare const CARD_COST: Template<"Cost: about {gas_in_usd} in network fees to put it in and about {gas_out_usd} to take it out.">;
28
+ export declare const COST_UNREADABLE: Template<"Cost: I couldn't read the network fees right now.">;
29
+ export declare const NOTES_INCENTIVE: Template<"Rates shown leave out any $BORRO incentive.">;
30
+ export declare const DEPOSIT_SCREEN: Template<"Lend {amount} {symbol} to Borro?\n\nBorro is an official Oak partner. Borro's own team runs its product and contracts; Oak didn't build them and doesn't run them.\nWhat you get: {reward_clause} {stock_catch_clause}\nWhat happens: {amount} {symbol} leaves your wallet and becomes about {shares} \"{vault_symbol}\" tokens, your receipt for money lent through Borro. Oak accepts no fewer than {shares_min}.\nThe risk: {risk_clause}\nTaking it out: {taking_out_clause}\n{cost_line}\n\nLend {amount} {symbol}? [Yes] [No]">;
31
+ export declare const SCREEN_REWARD: Template<"about {borro_rate}% a year at today's rate, which changes.">;
32
+ export declare const SCREEN_TAKING_OUT: Template<"when the vault has cash on hand. Right now about {ready} {symbol} is ready of the {total} {symbol} lent in. Also possible on borro.markets with this wallet.">;
33
+ export declare const SCREEN_TAKING_OUT_UNREADABLE: Template<"when the vault has cash on hand. I couldn't read how much is ready right now. Also possible on borro.markets with this wallet.">;
34
+ export declare const DEPOSIT_COST: Template<"Cost: about {gas_in_usd} in network fees now and about {gas_out_usd} to take it out.">;
35
+ export declare const WITHDRAW_SCREEN: Template<"Take {amount_or_all} {symbol} out of Borro?\n\nYou get back about {out} {symbol} for {shares} \"{vault_symbol}\" tokens (what you lent plus interest so far).\n{liquidity_note}\n{drift_notice}\n{cost_line}\n\nTake it out? [Yes] [No]">;
36
+ export declare const LIQUIDITY_NOTE: Template<"Borro's vault only has about {ready} {symbol} ready right now, so I can take out {max_now} {symbol} today. Say so if you want that smaller amount.">;
37
+ export declare const WITHDRAW_COST: Template<"Cost: about {gas_out_usd} in network fees.">;
38
+ export declare const DRIFT_NOTICE: Template<"Borro's setup has changed since Oak checked it; the exit below was checked against the live contract.">;
39
+ export declare const UNVERIFIED_REFUSAL: Template<"I could not verify {vault_label} on chain, so Oak won't offer it. Nothing was signed.">;
40
+ export declare const SETUP_MISMATCH: Template<"Borro's setup no longer matches what Oak checked. Nothing was signed.">;
41
+ export declare const TOO_LITTLE_READY: Template<"Borro only has {ready} {symbol} ready to take out right now, and you asked for {requested} {symbol}. I can take out {max_now} {symbol} now, or you can wait for more to come back.">;
42
+ export declare const NOTHING_READY: Template<"Borro only has {ready} {symbol} ready to take out right now, and you asked for {requested} {symbol}. None can be taken out today, so you can wait for more to come back.">;
43
+ export declare const NO_SHARES: Template<"This wallet has nothing lent on Borro for {symbol}.">;
44
+ export declare const DEPOSIT_WOULD_REVERT: Template<"Borro's vault wouldn't take this deposit right now (it may be full or paused). Nothing was signed.">;
45
+ export declare const NEW_VAULT_NOTICE: Template<"New on Borro: the {symbol} vault. Oak checked it on the chain just now and it passes Oak's checks.">;
46
+ export declare const POSITIONS_NOTE: Template<"If you also borrowed, shorted or used credit on borro.markets, Oak's view doesn't include that.">;
47
+ export declare const TEMPLATES: {
48
+ readonly CARD_INTRO: Template<"Borro: lend your {symbol} to borrowers through Borro's vault.">;
49
+ readonly INDEPENDENCE: Template<"Borro is an official Oak partner. Borro's own team runs its product and contracts; Oak didn't build them and doesn't run them.">;
50
+ readonly FEE_CLAUSE: Template<"Borro keeps {fee_pct}% of the interest as its fee.">;
51
+ readonly FEE_CLAUSE_UNREADABLE: Template<"Borro keeps part of the interest as its fee, and I couldn't read how much.">;
52
+ readonly REWARD_USDG: Template<"Reward: about {borro_rate}% a year today, which changes. {fee_clause} {comparison_clause}">;
53
+ readonly REWARD_STOCK: Template<"Reward: lending {symbol} pays about {borro_rate}% a year today, which changes. {fee_clause}">;
54
+ readonly REWARD_STOCK_LOW: Template<"Reward: lending {symbol} pays about {borro_rate}% a year today, which is close to nothing and changes. {fee_clause}">;
55
+ readonly RATE_UNREADABLE: Template<"Borro's page didn't give a rate I can check, so I can't tell you what this pays today.">;
56
+ readonly REWARD_UNREADABLE: Template<"Reward: Borro's page didn't give a rate I can check, so I can't tell you what this pays today. {fee_clause}">;
57
+ readonly STOCK_CATCH: Template<"The catch: you are lending {symbol}, a stock token, not dollars. If its price falls, what you get back is worth less in dollars, even though the {symbol} count is what you lent. The company that issues the token can also pause or restrict it.">;
58
+ readonly COMPARE_LAYERBANK_HIGHER: Template<"LayerBank on Robinhood Chain pays about {lb_rate}% a year on USDG today, so LayerBank pays more.">;
59
+ readonly COMPARE_BORRO_HIGHER: Template<"LayerBank on Robinhood Chain pays about {lb_rate}% a year on USDG today, so Borro pays more.">;
60
+ readonly COMPARE_SAME: Template<"LayerBank on Robinhood Chain pays about {lb_rate}% a year on USDG today, so they pay about the same.">;
61
+ readonly COMPARE_UNREADABLE: Template<"I couldn't read {the_other} rate, so I can't compare them right now.">;
62
+ readonly AGE_CLAUSE: Template<"Borro is {age_phrase} old and has had no outside security check">;
63
+ readonly AGE_CLAUSE_UNKNOWN: Template<"Borro's age couldn't be read, and it has had no outside security check">;
64
+ readonly CONTROLLER_SAFE: Template<"A {threshold}-of-{owners} group wallet">;
65
+ readonly CONTROLLER_UNKNOWN: Template<"A wallet Oak could not inspect">;
66
+ readonly RISK_CLAUSE: Template<"{age_clause}; its own page says only internal reviews were done. {controller_clause} controls the vault and can change where the money is lent. If Borro's code fails, or the people who control it make a harmful change, you could lose money.">;
67
+ readonly RISK_LINE: Template<"Risk: {risk_clause}">;
68
+ readonly TAKING_OUT: Template<"Taking it out: you can take your money out when the vault has cash on hand. Right now about {ready} {symbol} of the {total} {symbol} lent in is ready; the rest is out with borrowers and can take time to come back. You can also take it out on borro.markets with this wallet.">;
69
+ readonly TAKING_OUT_UNREADABLE: Template<"Taking it out: you can take your money out when the vault has cash on hand. I couldn't read how much is ready to take out right now; money that is out with borrowers can take time to come back. You can also take it out on borro.markets with this wallet.">;
70
+ readonly CARD_COST: Template<"Cost: about {gas_in_usd} in network fees to put it in and about {gas_out_usd} to take it out.">;
71
+ readonly COST_UNREADABLE: Template<"Cost: I couldn't read the network fees right now.">;
72
+ readonly NOTES_INCENTIVE: Template<"Rates shown leave out any $BORRO incentive.">;
73
+ readonly DEPOSIT_SCREEN: Template<"Lend {amount} {symbol} to Borro?\n\nBorro is an official Oak partner. Borro's own team runs its product and contracts; Oak didn't build them and doesn't run them.\nWhat you get: {reward_clause} {stock_catch_clause}\nWhat happens: {amount} {symbol} leaves your wallet and becomes about {shares} \"{vault_symbol}\" tokens, your receipt for money lent through Borro. Oak accepts no fewer than {shares_min}.\nThe risk: {risk_clause}\nTaking it out: {taking_out_clause}\n{cost_line}\n\nLend {amount} {symbol}? [Yes] [No]">;
74
+ readonly SCREEN_REWARD: Template<"about {borro_rate}% a year at today's rate, which changes.">;
75
+ readonly SCREEN_TAKING_OUT: Template<"when the vault has cash on hand. Right now about {ready} {symbol} is ready of the {total} {symbol} lent in. Also possible on borro.markets with this wallet.">;
76
+ readonly SCREEN_TAKING_OUT_UNREADABLE: Template<"when the vault has cash on hand. I couldn't read how much is ready right now. Also possible on borro.markets with this wallet.">;
77
+ readonly DEPOSIT_COST: Template<"Cost: about {gas_in_usd} in network fees now and about {gas_out_usd} to take it out.">;
78
+ readonly WITHDRAW_SCREEN: Template<"Take {amount_or_all} {symbol} out of Borro?\n\nYou get back about {out} {symbol} for {shares} \"{vault_symbol}\" tokens (what you lent plus interest so far).\n{liquidity_note}\n{drift_notice}\n{cost_line}\n\nTake it out? [Yes] [No]">;
79
+ readonly LIQUIDITY_NOTE: Template<"Borro's vault only has about {ready} {symbol} ready right now, so I can take out {max_now} {symbol} today. Say so if you want that smaller amount.">;
80
+ readonly WITHDRAW_COST: Template<"Cost: about {gas_out_usd} in network fees.">;
81
+ readonly DRIFT_NOTICE: Template<"Borro's setup has changed since Oak checked it; the exit below was checked against the live contract.">;
82
+ readonly UNVERIFIED_REFUSAL: Template<"I could not verify {vault_label} on chain, so Oak won't offer it. Nothing was signed.">;
83
+ readonly SETUP_MISMATCH: Template<"Borro's setup no longer matches what Oak checked. Nothing was signed.">;
84
+ readonly TOO_LITTLE_READY: Template<"Borro only has {ready} {symbol} ready to take out right now, and you asked for {requested} {symbol}. I can take out {max_now} {symbol} now, or you can wait for more to come back.">;
85
+ readonly NOTHING_READY: Template<"Borro only has {ready} {symbol} ready to take out right now, and you asked for {requested} {symbol}. None can be taken out today, so you can wait for more to come back.">;
86
+ readonly NO_SHARES: Template<"This wallet has nothing lent on Borro for {symbol}.">;
87
+ readonly DEPOSIT_WOULD_REVERT: Template<"Borro's vault wouldn't take this deposit right now (it may be full or paused). Nothing was signed.">;
88
+ readonly NEW_VAULT_NOTICE: Template<"New on Borro: the {symbol} vault. Oak checked it on the chain just now and it passes Oak's checks.">;
89
+ readonly POSITIONS_NOTE: Template<"If you also borrowed, shorted or used credit on borro.markets, Oak's view doesn't include that.">;
90
+ };
91
+ export declare const BORRO_BANNED_COPY: readonly [RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp];
92
+ export declare function formatPct(pct: number): string;
93
+ export declare function agePhrase(deployedAtSeconds: number | undefined, nowSeconds: number): string | undefined;
94
+ export declare const COMPARE_SAME_POINTS = 0.05;
95
+ export declare function comparisonClause(borroPct: number | undefined, layerbankPct: number | undefined): string;
96
+ export interface RiskFacts {
97
+ readonly deployedAtSeconds?: number;
98
+ readonly nowSeconds: number;
99
+ readonly threshold?: number;
100
+ readonly owners?: number;
101
+ }
102
+ export interface CardFacts extends RiskFacts {
103
+ readonly symbol: string;
104
+ readonly kind: 'usdg' | 'stock';
105
+ readonly borroRatePct?: number;
106
+ readonly feePct?: number;
107
+ readonly layerbankRatePct?: number;
108
+ readonly readyAmount?: string;
109
+ readonly totalAmount?: string;
110
+ readonly gasInUsd?: string;
111
+ readonly gasOutUsd?: string;
112
+ }
113
+ export interface DepositScreenFacts extends RiskFacts {
114
+ readonly amount: string;
115
+ readonly symbol: string;
116
+ readonly kind: 'usdg' | 'stock';
117
+ readonly borroRatePct?: number;
118
+ readonly shares: string;
119
+ readonly sharesMin: string;
120
+ readonly vaultSymbol: string;
121
+ readonly readyAmount?: string;
122
+ readonly totalAmount?: string;
123
+ readonly gasInUsd?: string;
124
+ readonly gasOutUsd?: string;
125
+ }
126
+ export interface WithdrawScreenFacts {
127
+ readonly amount: string;
128
+ readonly isAll?: boolean;
129
+ readonly symbol: string;
130
+ readonly out: string;
131
+ readonly shares: string;
132
+ readonly vaultSymbol: string;
133
+ readonly liquidity?: {
134
+ readonly ready: string;
135
+ readonly maxNow: string;
136
+ };
137
+ readonly drift?: boolean;
138
+ readonly gasOutUsd?: string;
139
+ }
140
+ export declare function riskClause(facts: RiskFacts): string;
141
+ export interface CardText {
142
+ readonly intro: string;
143
+ readonly independence: string;
144
+ readonly reward: string;
145
+ readonly catch?: string;
146
+ readonly risk: string;
147
+ readonly takingOut: string;
148
+ readonly cost: string;
149
+ readonly notes: string;
150
+ }
151
+ export declare function renderCardParts(input: CardFacts): CardText;
152
+ export declare function renderCard(facts: CardFacts): string;
153
+ export declare function renderDepositScreen(input: DepositScreenFacts): string;
154
+ export declare function renderWithdrawScreen(input: WithdrawScreenFacts): string;
155
+ export declare function renderNewVaultNotice(symbol: string): string;
156
+ export declare function renderPositionsNote(): string;
157
+ export interface RefusalFacts {
158
+ readonly 'unverified': {
159
+ readonly vaultLabel?: string;
160
+ };
161
+ readonly 'setup-mismatch': Record<string, never>;
162
+ readonly 'too-little-ready': {
163
+ readonly ready: string;
164
+ readonly requested: string;
165
+ readonly symbol: string;
166
+ readonly maxNow?: string;
167
+ };
168
+ readonly 'no-shares': {
169
+ readonly symbol: string;
170
+ };
171
+ readonly 'deposit-would-revert': Record<string, never>;
172
+ }
173
+ export type RefusalKind = keyof RefusalFacts;
174
+ export declare function renderRefusal<K extends RefusalKind>(kind: K, facts: RefusalFacts[K]): string;
@@ -0,0 +1 @@
1
+ import{$ as ca,A as D,B as E,C as F,D as G,E as H,F as I,G as J,H as K,I as L,J as M,K as N,L as O,M as P,N as Q,O as R,P as S,Q as T,R as U,S as V,T as W,U as X,V as Y,W as Z,X as _,Y as $,Z as aa,_ as ba,a as d,aa as da,b as e,ba as ea,c as f,ca as fa,d as g,e as h,f as i,g as j,h as k,i as l,j as m,k as n,l as o,m as p,n as q,o as r,p as s,q as t,r as u,s as v,t as w,u as x,v as y,w as z,x as A,y as B,z as C}from"../../../chunks/ACW63WIL.js";import{a,b,ha as c}from"../../../chunks/JUZ5JU6D.js";import"../../../chunks/63YRSLDK.js";export{s as AGE_CLAUSE,t as AGE_CLAUSE_UNKNOWN,c as BANNED_COPY,V as BORRO_BANNED_COPY,d as BORRO_SITE,A as CARD_COST,e as CARD_INTRO,p as COMPARE_BORRO_HIGHER,o as COMPARE_LAYERBANK_HIGHER,q as COMPARE_SAME,Y as COMPARE_SAME_POINTS,r as COMPARE_UNREADABLE,u as CONTROLLER_SAFE,v as CONTROLLER_UNKNOWN,B as COST_UNREADABLE,H as DEPOSIT_COST,D as DEPOSIT_SCREEN,R as DEPOSIT_WOULD_REVERT,L as DRIFT_NOTICE,g as FEE_CLAUSE,h as FEE_CLAUSE_UNREADABLE,f as INDEPENDENCE,J as LIQUIDITY_NOTE,S as NEW_VAULT_NOTICE,C as NOTES_INCENTIVE,P as NOTHING_READY,Q as NO_SHARES,T as POSITIONS_NOTE,l as RATE_UNREADABLE,j as REWARD_STOCK,k as REWARD_STOCK_LOW,m as REWARD_UNREADABLE,i as REWARD_USDG,w as RISK_CLAUSE,x as RISK_LINE,E as SCREEN_REWARD,F as SCREEN_TAKING_OUT,G as SCREEN_TAKING_OUT_UNREADABLE,N as SETUP_MISMATCH,n as STOCK_CATCH,y as TAKING_OUT,z as TAKING_OUT_UNREADABLE,U as TEMPLATES,O as TOO_LITTLE_READY,M as UNVERIFIED_REFUSAL,K as WITHDRAW_COST,I as WITHDRAW_SCREEN,X as agePhrase,Z as comparisonClause,b as fill,W as formatPct,a as placeholdersOf,aa as renderCard,$ as renderCardParts,ba as renderDepositScreen,da as renderNewVaultNotice,ea as renderPositionsNote,fa as renderRefusal,ca as renderWithdrawScreen,_ as riskClause};
@@ -0,0 +1,13 @@
1
+ import type { CreateModule, ModuleContext, ProjectModulePart } from '../../types.js';
2
+ import { type ReaderOptions } from './reader.js';
3
+ import type { CreateActionTools } from './types.js';
4
+ export interface BorroModuleOptions extends ReaderOptions {
5
+ createActionTools?: CreateActionTools;
6
+ }
7
+ export declare function createBorroDiscovery(context: ModuleContext, options?: ReaderOptions): {
8
+ discoverVaults: import("./types.js").DiscoverVaults;
9
+ verifyVault: import("./types.js").VerifyVault;
10
+ resolveVault: import("./types.js").ResolveVault;
11
+ };
12
+ export declare function createModulePart(context: ModuleContext, options?: BorroModuleOptions): ProjectModulePart;
13
+ export declare const createModule: CreateModule;
@@ -0,0 +1 @@
1
+ import{a,b,c}from"../../../chunks/YWRLY5EA.js";import"../../../chunks/I55MURSJ.js";import"../../../chunks/VCOTCVKN.js";import"../../../chunks/JKD2B6OX.js";import"../../../chunks/TFDPEAVZ.js";import"../../../chunks/2MZXTOZU.js";import"../../../chunks/V74F6IDY.js";import"../../../chunks/JQOQMFWD.js";import"../../../chunks/VHV6WQ5F.js";import"../../../chunks/PNA6UIE5.js";import"../../../chunks/QFNT73OF.js";import"../../../chunks/ACW63WIL.js";import"../../../chunks/JUZ5JU6D.js";import"../../../chunks/E3RACZUY.js";import"../../../chunks/7KWZ5QJU.js";import"../../../chunks/WU7XIAXB.js";import"../../../chunks/VYYSL557.js";import"../../../chunks/6WD4HHID.js";import"../../../chunks/AEL62KCG.js";import"../../../chunks/X2P55AC3.js";import"../../../chunks/HQUVB7Z5.js";import"../../../chunks/DL6AEWEM.js";import"../../../chunks/GRQYTVNT.js";import"../../../chunks/BOVMED7R.js";import"../../../chunks/P5PYFK7L.js";import"../../../chunks/ZQAFFWDK.js";import"../../../chunks/WP6RHXGN.js";import"../../../chunks/QHBS3PVU.js";import"../../../chunks/LIUXNOLP.js";import"../../../chunks/RUX3RY7Y.js";import"../../../chunks/XBE3B6Y2.js";import"../../../chunks/RVDUSNWW.js";import"../../../chunks/ZV5HIQXC.js";import"../../../chunks/PV5FDT6O.js";import"../../../chunks/U4JGEMKT.js";import"../../../chunks/P4UQGWCP.js";import"../../../chunks/SPJCSEKP.js";import"../../../chunks/Z25UKUJF.js";import"../../../chunks/43LI5NKJ.js";import"../../../chunks/IOYRL6AY.js";import"../../../chunks/VEQBHI6O.js";import"../../../chunks/OTXSKFUD.js";import"../../../chunks/66F5ZH34.js";import"../../../chunks/NWNYJ26T.js";import"../../../chunks/IX3GZMTM.js";import"../../../chunks/5HCXZWUH.js";import"../../../chunks/ABPL3ZZI.js";import"../../../chunks/FWD4L3CJ.js";import"../../../chunks/XSD5NL7J.js";import"../../../chunks/JXOEJPJ4.js";import"../../../chunks/63YRSLDK.js";export{a as createBorroDiscovery,c as createModule,b as createModulePart};
@@ -0,0 +1,4 @@
1
+ import { type PublicClient } from 'viem';
2
+ import type { BorroPin, ReadLiquidity, VerifiedVault } from './types.js';
3
+ export declare function readLiquidityAt(client: PublicClient, pin: BorroPin | VerifiedVault, blockNumber?: bigint): ReturnType<ReadLiquidity>;
4
+ export declare const readLiquidity: ReadLiquidity;
@@ -0,0 +1 @@
1
+ import{a,b}from"../../../chunks/PNA6UIE5.js";import"../../../chunks/QFNT73OF.js";import"../../../chunks/ACW63WIL.js";import"../../../chunks/JUZ5JU6D.js";import"../../../chunks/E3RACZUY.js";import"../../../chunks/NWNYJ26T.js";import"../../../chunks/IX3GZMTM.js";import"../../../chunks/FWD4L3CJ.js";import"../../../chunks/XSD5NL7J.js";import"../../../chunks/JXOEJPJ4.js";import"../../../chunks/63YRSLDK.js";export{b as readLiquidity,a as readLiquidityAt};
@@ -0,0 +1,264 @@
1
+ export declare const BORRO_TRUST_ANCHORS: {
2
+ readonly chainId: 4663;
3
+ readonly owner: "0x8A22d6e75e9427b9D57e42a7984200029e7E173C";
4
+ readonly curator: "0x8A22d6e75e9427b9D57e42a7984200029e7E173C";
5
+ readonly factory: {
6
+ readonly address: "0x0FBad98595b0186dA120E41f77C102beb49f803c";
7
+ readonly codeHash: "0xba55eb73d42937607d7e3c77f68353c2517c4fad4df02f0c9bbd2e4248475503";
8
+ readonly membershipFunction: "isVaultV2";
9
+ readonly creationEvent: "CreateVaultV2(address,address,bytes32,address)";
10
+ readonly fromBlock: "0";
11
+ readonly source: "https://github.com/morpho-org/vault-v2/blob/main/src/VaultV2Factory.sol";
12
+ readonly measuredAtBlock: "106289278";
13
+ };
14
+ readonly assetRule: {
15
+ readonly usdg: {
16
+ readonly address: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168";
17
+ readonly symbol: "USDG";
18
+ readonly decimals: 6;
19
+ };
20
+ readonly officialStockRegistry: "https://api.robinhood.com/rhj/assets";
21
+ };
22
+ readonly source: "https://borro.markets/contracts.json";
23
+ };
24
+ export declare const BORRO_INPUT_DELEGATIONS: ({
25
+ readonly chainId: 4663;
26
+ readonly symbol: "SPY";
27
+ readonly entry: "0xc3ed4a5a7db4102f4ed37af26ef0d3f21e2360c1";
28
+ readonly proxy: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c";
29
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
30
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
31
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
32
+ readonly measuredAtBlock: "106350992";
33
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
34
+ } | {
35
+ readonly chainId: 4663;
36
+ readonly symbol: "QQQ";
37
+ readonly entry: "0xbad8a97da1050092d6a14194d53e72d407d6cc17";
38
+ readonly proxy: "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68";
39
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
40
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
41
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
42
+ readonly measuredAtBlock: "106350992";
43
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
44
+ } | {
45
+ readonly chainId: 4663;
46
+ readonly symbol: "NVDA";
47
+ readonly entry: "0x508e23274c39c60c345e35b1f0188be180717cb9";
48
+ readonly proxy: "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec";
49
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
50
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
51
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
52
+ readonly measuredAtBlock: "106350992";
53
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
54
+ } | {
55
+ readonly chainId: 4663;
56
+ readonly symbol: "TSLA";
57
+ readonly entry: "0x60b3d353e7e5bd12ed4ea2589c11b5603dd4c988";
58
+ readonly proxy: "0x322f0929c4625ed5bad873c95208d54e1c003b2d";
59
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
60
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
61
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
62
+ readonly measuredAtBlock: "106350992";
63
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
64
+ } | {
65
+ readonly chainId: 4663;
66
+ readonly symbol: "MSTR";
67
+ readonly entry: "0x2b74f8f2b76cd4e97265bc37fb2578a04b8437e9";
68
+ readonly proxy: "0xec262a75e413fafd0df80480274532c79d42da09";
69
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
70
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
71
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
72
+ readonly measuredAtBlock: "106350992";
73
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
74
+ } | {
75
+ readonly chainId: 4663;
76
+ readonly symbol: "COIN";
77
+ readonly entry: "0x7ba71bccecb12860ae7e141b6b6f1f8b96d31257";
78
+ readonly proxy: "0x6330d8c3178a418788df01a47479c0ce7ccf450b";
79
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
80
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
81
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
82
+ readonly measuredAtBlock: "106350992";
83
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
84
+ } | {
85
+ readonly chainId: 4663;
86
+ readonly symbol: "PLTR";
87
+ readonly entry: "0xfe9419e70e5481f7a2ddddc18f856b09b3687b27";
88
+ readonly proxy: "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a";
89
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
90
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
91
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
92
+ readonly measuredAtBlock: "106350992";
93
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
94
+ } | {
95
+ readonly chainId: 4663;
96
+ readonly symbol: "SPCX";
97
+ readonly entry: "0x1261210e19052157fce2064d9aa9a2140bd89791";
98
+ readonly proxy: "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea";
99
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
100
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
101
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
102
+ readonly measuredAtBlock: "106350992";
103
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
104
+ } | {
105
+ readonly chainId: 4663;
106
+ readonly symbol: "GME";
107
+ readonly entry: "0x328461fb01f54c2ab73909ea947c583d0dc24c3d";
108
+ readonly proxy: "0x1b0e319c6a659f002271b69db8a7df2f911c153e";
109
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
110
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
111
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
112
+ readonly measuredAtBlock: "106350992";
113
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
114
+ } | {
115
+ readonly chainId: 4663;
116
+ readonly symbol: "AAPL";
117
+ readonly entry: "0x24fe7bcaeb75bc2202a42ecd48a177a27782c64a";
118
+ readonly proxy: "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9";
119
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
120
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
121
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
122
+ readonly measuredAtBlock: "106350992";
123
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
124
+ } | {
125
+ readonly chainId: 4663;
126
+ readonly symbol: "GOOGL";
127
+ readonly entry: "0xf0731b1022abd1e3f543cfd837c7eba42ed60e4f";
128
+ readonly proxy: "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3";
129
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
130
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
131
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
132
+ readonly measuredAtBlock: "106350992";
133
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
134
+ } | {
135
+ readonly chainId: 4663;
136
+ readonly symbol: "MSFT";
137
+ readonly entry: "0x8032c80a7817a3c4c401b096515b27b2ceda4e71";
138
+ readonly proxy: "0xe93237c50d904957cf27e7b1133b510c669c2e74";
139
+ readonly proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
140
+ readonly implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
141
+ readonly codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
142
+ readonly measuredAtBlock: "106350992";
143
+ readonly source: "https://rpc.mainnet.chain.robinhood.com";
144
+ } | {
145
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
146
+ chainId: 4663;
147
+ symbol: "SPY";
148
+ proxy: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c";
149
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
150
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
151
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
152
+ measuredAtBlock: "106350992";
153
+ source: "https://rpc.mainnet.chain.robinhood.com";
154
+ } | {
155
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
156
+ chainId: 4663;
157
+ symbol: "QQQ";
158
+ proxy: "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68";
159
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
160
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
161
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
162
+ measuredAtBlock: "106350992";
163
+ source: "https://rpc.mainnet.chain.robinhood.com";
164
+ } | {
165
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
166
+ chainId: 4663;
167
+ symbol: "NVDA";
168
+ proxy: "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec";
169
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
170
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
171
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
172
+ measuredAtBlock: "106350992";
173
+ source: "https://rpc.mainnet.chain.robinhood.com";
174
+ } | {
175
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
176
+ chainId: 4663;
177
+ symbol: "TSLA";
178
+ proxy: "0x322f0929c4625ed5bad873c95208d54e1c003b2d";
179
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
180
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
181
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
182
+ measuredAtBlock: "106350992";
183
+ source: "https://rpc.mainnet.chain.robinhood.com";
184
+ } | {
185
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
186
+ chainId: 4663;
187
+ symbol: "MSTR";
188
+ proxy: "0xec262a75e413fafd0df80480274532c79d42da09";
189
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
190
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
191
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
192
+ measuredAtBlock: "106350992";
193
+ source: "https://rpc.mainnet.chain.robinhood.com";
194
+ } | {
195
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
196
+ chainId: 4663;
197
+ symbol: "COIN";
198
+ proxy: "0x6330d8c3178a418788df01a47479c0ce7ccf450b";
199
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
200
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
201
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
202
+ measuredAtBlock: "106350992";
203
+ source: "https://rpc.mainnet.chain.robinhood.com";
204
+ } | {
205
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
206
+ chainId: 4663;
207
+ symbol: "PLTR";
208
+ proxy: "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a";
209
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
210
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
211
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
212
+ measuredAtBlock: "106350992";
213
+ source: "https://rpc.mainnet.chain.robinhood.com";
214
+ } | {
215
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
216
+ chainId: 4663;
217
+ symbol: "SPCX";
218
+ proxy: "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea";
219
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
220
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
221
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
222
+ measuredAtBlock: "106350992";
223
+ source: "https://rpc.mainnet.chain.robinhood.com";
224
+ } | {
225
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
226
+ chainId: 4663;
227
+ symbol: "GME";
228
+ proxy: "0x1b0e319c6a659f002271b69db8a7df2f911c153e";
229
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
230
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
231
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
232
+ measuredAtBlock: "106350992";
233
+ source: "https://rpc.mainnet.chain.robinhood.com";
234
+ } | {
235
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
236
+ chainId: 4663;
237
+ symbol: "AAPL";
238
+ proxy: "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9";
239
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
240
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
241
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
242
+ measuredAtBlock: "106350992";
243
+ source: "https://rpc.mainnet.chain.robinhood.com";
244
+ } | {
245
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
246
+ chainId: 4663;
247
+ symbol: "GOOGL";
248
+ proxy: "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3";
249
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
250
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
251
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
252
+ measuredAtBlock: "106350992";
253
+ source: "https://rpc.mainnet.chain.robinhood.com";
254
+ } | {
255
+ entry: "0x117cc2133c37b721f49de2a7a74833232b3b4c0c" | "0xd5f3879160bc7c32ebb4dc785f8a4f505888de68" | "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec" | "0x322f0929c4625ed5bad873c95208d54e1c003b2d" | "0xec262a75e413fafd0df80480274532c79d42da09" | "0x6330d8c3178a418788df01a47479c0ce7ccf450b" | "0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a" | "0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea" | "0x1b0e319c6a659f002271b69db8a7df2f911c153e" | "0xaf3d76f1834a1d425780943c99ea8a608f8a93f9" | "0x2e0847e8910a9732eb3fb1bb4b70a580adad4fe3" | "0xe93237c50d904957cf27e7b1133b510c669c2e74";
256
+ chainId: 4663;
257
+ symbol: "MSFT";
258
+ proxy: "0xe93237c50d904957cf27e7b1133b510c669c2e74";
259
+ proxyCodeHash: "0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630";
260
+ implementation: "0xb35490d6f9163de4f80d88dc75c3516eb64c5ae2";
261
+ codeHash: "0xdc07e86ee482f99641bdafb9a0d772846b167401e094d90a666b94dbdcd1eec7";
262
+ measuredAtBlock: "106350992";
263
+ source: "https://rpc.mainnet.chain.robinhood.com";
264
+ })[];
@@ -0,0 +1 @@
1
+ import{a,b}from"../../../chunks/E3RACZUY.js";import"../../../chunks/63YRSLDK.js";export{b as BORRO_INPUT_DELEGATIONS,a as BORRO_TRUST_ANCHORS};
@@ -0,0 +1,8 @@
1
+ import { type PublicClient } from 'viem';
2
+ import type { Address, ModuleContext, Position, PositionReaderOptions } from '../../types.js';
3
+ import { type ReaderOptions } from './reader.js';
4
+ import type { DiscoverVaults } from './types.js';
5
+ export declare function shareBalances(client: PublicClient, wallet: Address, vaults: readonly Address[], blockNumber: bigint): Promise<bigint[]>;
6
+ export declare function readPositions(context: ModuleContext, wallet: Address, options?: PositionReaderOptions & ReaderOptions & {
7
+ discoverVaults?: DiscoverVaults;
8
+ }): Promise<Position[]>;
@@ -0,0 +1 @@
1
+ import{a,b}from"../../../chunks/I55MURSJ.js";import"../../../chunks/VCOTCVKN.js";import"../../../chunks/JKD2B6OX.js";import"../../../chunks/TFDPEAVZ.js";import"../../../chunks/2MZXTOZU.js";import"../../../chunks/V74F6IDY.js";import"../../../chunks/PNA6UIE5.js";import"../../../chunks/QFNT73OF.js";import"../../../chunks/ACW63WIL.js";import"../../../chunks/JUZ5JU6D.js";import"../../../chunks/E3RACZUY.js";import"../../../chunks/7KWZ5QJU.js";import"../../../chunks/WU7XIAXB.js";import"../../../chunks/VYYSL557.js";import"../../../chunks/6WD4HHID.js";import"../../../chunks/AEL62KCG.js";import"../../../chunks/X2P55AC3.js";import"../../../chunks/HQUVB7Z5.js";import"../../../chunks/DL6AEWEM.js";import"../../../chunks/GRQYTVNT.js";import"../../../chunks/BOVMED7R.js";import"../../../chunks/P5PYFK7L.js";import"../../../chunks/ZQAFFWDK.js";import"../../../chunks/WP6RHXGN.js";import"../../../chunks/QHBS3PVU.js";import"../../../chunks/LIUXNOLP.js";import"../../../chunks/RUX3RY7Y.js";import"../../../chunks/XBE3B6Y2.js";import"../../../chunks/RVDUSNWW.js";import"../../../chunks/ZV5HIQXC.js";import"../../../chunks/PV5FDT6O.js";import"../../../chunks/U4JGEMKT.js";import"../../../chunks/P4UQGWCP.js";import"../../../chunks/SPJCSEKP.js";import"../../../chunks/Z25UKUJF.js";import"../../../chunks/43LI5NKJ.js";import"../../../chunks/IOYRL6AY.js";import"../../../chunks/VEQBHI6O.js";import"../../../chunks/OTXSKFUD.js";import"../../../chunks/66F5ZH34.js";import"../../../chunks/NWNYJ26T.js";import"../../../chunks/IX3GZMTM.js";import"../../../chunks/5HCXZWUH.js";import"../../../chunks/ABPL3ZZI.js";import"../../../chunks/FWD4L3CJ.js";import"../../../chunks/XSD5NL7J.js";import"../../../chunks/JXOEJPJ4.js";import"../../../chunks/63YRSLDK.js";export{b as readPositions,a as shareBalances};
@@ -0,0 +1,20 @@
1
+ import type { Address, Token, TokenAmount } from '../../types.js';
2
+ export declare const BORRO_HEADERS: {
3
+ 'User-Agent': string;
4
+ Accept: string;
5
+ };
6
+ export declare function borroJson(http: typeof fetch, page: 'markets' | 'contracts', signal?: AbortSignal): Promise<unknown>;
7
+ export interface RateReading {
8
+ rate: 'available' | 'unavailable';
9
+ apr?: number;
10
+ source?: string;
11
+ readyToWithdraw?: TokenAmount;
12
+ }
13
+ export type BorroRates = Map<string, {
14
+ apr?: number;
15
+ ready?: number;
16
+ vault?: Address;
17
+ }>;
18
+ export declare function parseRates(value: unknown, nowSeconds?: number): BorroRates;
19
+ export declare function readRates(http: typeof fetch, signal?: AbortSignal, nowSeconds?: number): Promise<BorroRates>;
20
+ export declare function rateFor(rates: BorroRates, token: Token, vault: Address): RateReading;
@@ -0,0 +1 @@
1
+ import{a,b,c,d,e}from"../../../chunks/V74F6IDY.js";import"../../../chunks/NWNYJ26T.js";import"../../../chunks/IX3GZMTM.js";import"../../../chunks/XSD5NL7J.js";import"../../../chunks/JXOEJPJ4.js";import"../../../chunks/63YRSLDK.js";export{a as BORRO_HEADERS,b as borroJson,c as parseRates,e as rateFor,d as readRates};
@@ -0,0 +1,36 @@
1
+ import { type PublicClient } from 'viem';
2
+ import type { Address, ModuleContext, Token, TokenAmount } from '../../types.js';
3
+ import { type BorroRates } from './rates.js';
4
+ import type { DiscoverVaults, ResolveAllowedAsset, ResolveVault, VaultReading, VerifiedVault, VerifyVault } from './types.js';
5
+ export interface ReaderOptions {
6
+ officialStockTokens?: readonly Token[];
7
+ resolveAllowedAsset?: ResolveAllowedAsset;
8
+ factoryEvents?: boolean;
9
+ }
10
+ export declare function candidates(value: unknown): Address[];
11
+ export declare function sortVaults(vaults: VerifiedVault[]): VerifiedVault[];
12
+ export declare function createDiscovery(context: ModuleContext, options?: ReaderOptions): {
13
+ discoverVaults: DiscoverVaults;
14
+ verifyVault: VerifyVault;
15
+ resolveVault: ResolveVault;
16
+ };
17
+ export declare const tokenAmount: (token: Token, amount: bigint) => TokenAmount;
18
+ export declare function readVault(context: ModuleContext, client: PublicClient, facts: VerifiedVault, wallet: Address, rates?: BorroRates, readBlock?: bigint): Promise<VaultReading>;
19
+ export declare function listVaults(context: ModuleContext, wallet: Address, selector?: {
20
+ asset?: string;
21
+ vault?: Address;
22
+ }, options?: ReaderOptions, discoveryReader?: ReturnType<typeof createDiscovery>): Promise<{
23
+ vaults: VaultReading[];
24
+ shareBalances?: {
25
+ vault: Address;
26
+ amount: string;
27
+ }[];
28
+ refused: {
29
+ vault?: Address;
30
+ reason: string;
31
+ }[];
32
+ sources: ("contracts.json" | "factory-events")[];
33
+ incomplete: boolean;
34
+ warnings: string[];
35
+ measuredAtBlock: string;
36
+ }>;
@@ -0,0 +1 @@
1
+ import{a,b,c,d,e,f}from"../../../chunks/VCOTCVKN.js";import"../../../chunks/JKD2B6OX.js";import"../../../chunks/TFDPEAVZ.js";import"../../../chunks/2MZXTOZU.js";import"../../../chunks/V74F6IDY.js";import"../../../chunks/PNA6UIE5.js";import"../../../chunks/QFNT73OF.js";import"../../../chunks/ACW63WIL.js";import"../../../chunks/JUZ5JU6D.js";import"../../../chunks/E3RACZUY.js";import"../../../chunks/7KWZ5QJU.js";import"../../../chunks/WU7XIAXB.js";import"../../../chunks/VYYSL557.js";import"../../../chunks/6WD4HHID.js";import"../../../chunks/AEL62KCG.js";import"../../../chunks/X2P55AC3.js";import"../../../chunks/HQUVB7Z5.js";import"../../../chunks/DL6AEWEM.js";import"../../../chunks/GRQYTVNT.js";import"../../../chunks/BOVMED7R.js";import"../../../chunks/P5PYFK7L.js";import"../../../chunks/ZQAFFWDK.js";import"../../../chunks/WP6RHXGN.js";import"../../../chunks/QHBS3PVU.js";import"../../../chunks/LIUXNOLP.js";import"../../../chunks/RUX3RY7Y.js";import"../../../chunks/XBE3B6Y2.js";import"../../../chunks/RVDUSNWW.js";import"../../../chunks/ZV5HIQXC.js";import"../../../chunks/PV5FDT6O.js";import"../../../chunks/U4JGEMKT.js";import"../../../chunks/P4UQGWCP.js";import"../../../chunks/SPJCSEKP.js";import"../../../chunks/Z25UKUJF.js";import"../../../chunks/43LI5NKJ.js";import"../../../chunks/IOYRL6AY.js";import"../../../chunks/VEQBHI6O.js";import"../../../chunks/OTXSKFUD.js";import"../../../chunks/66F5ZH34.js";import"../../../chunks/NWNYJ26T.js";import"../../../chunks/IX3GZMTM.js";import"../../../chunks/5HCXZWUH.js";import"../../../chunks/ABPL3ZZI.js";import"../../../chunks/FWD4L3CJ.js";import"../../../chunks/XSD5NL7J.js";import"../../../chunks/JXOEJPJ4.js";import"../../../chunks/63YRSLDK.js";export{a as candidates,c as createDiscovery,f as listVaults,e as readVault,b as sortVaults,d as tokenAmount};