@nirvana-labs/nirvana 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/bin/migration-config.json +70 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/vektor/balances.d.mts +114 -0
- package/resources/vektor/balances.d.mts.map +1 -0
- package/resources/vektor/balances.d.ts +114 -0
- package/resources/vektor/balances.d.ts.map +1 -0
- package/resources/vektor/balances.js +44 -0
- package/resources/vektor/balances.js.map +1 -0
- package/resources/vektor/balances.mjs +40 -0
- package/resources/vektor/balances.mjs.map +1 -0
- package/resources/vektor/borrow/accounts.d.mts +114 -0
- package/resources/vektor/borrow/accounts.d.mts.map +1 -0
- package/resources/vektor/borrow/accounts.d.ts +114 -0
- package/resources/vektor/borrow/accounts.d.ts.map +1 -0
- package/resources/vektor/borrow/accounts.js +44 -0
- package/resources/vektor/borrow/accounts.js.map +1 -0
- package/resources/vektor/borrow/accounts.mjs +40 -0
- package/resources/vektor/borrow/accounts.mjs.map +1 -0
- package/resources/vektor/borrow/borrow.d.mts +18 -0
- package/resources/vektor/borrow/borrow.d.mts.map +1 -0
- package/resources/vektor/borrow/borrow.d.ts +18 -0
- package/resources/vektor/borrow/borrow.d.ts.map +1 -0
- package/resources/vektor/borrow/borrow.js +25 -0
- package/resources/vektor/borrow/borrow.js.map +1 -0
- package/resources/vektor/borrow/borrow.mjs +20 -0
- package/resources/vektor/borrow/borrow.mjs.map +1 -0
- package/resources/vektor/borrow/index.d.mts +5 -0
- package/resources/vektor/borrow/index.d.mts.map +1 -0
- package/resources/vektor/borrow/index.d.ts +5 -0
- package/resources/vektor/borrow/index.d.ts.map +1 -0
- package/resources/vektor/borrow/index.js +13 -0
- package/resources/vektor/borrow/index.js.map +1 -0
- package/resources/vektor/borrow/index.mjs +6 -0
- package/resources/vektor/borrow/index.mjs.map +1 -0
- package/resources/vektor/borrow/markets.d.mts +158 -0
- package/resources/vektor/borrow/markets.d.mts.map +1 -0
- package/resources/vektor/borrow/markets.d.ts +158 -0
- package/resources/vektor/borrow/markets.d.ts.map +1 -0
- package/resources/vektor/borrow/markets.js +42 -0
- package/resources/vektor/borrow/markets.js.map +1 -0
- package/resources/vektor/borrow/markets.mjs +38 -0
- package/resources/vektor/borrow/markets.mjs.map +1 -0
- package/resources/vektor/borrow/positions.d.mts +182 -0
- package/resources/vektor/borrow/positions.d.mts.map +1 -0
- package/resources/vektor/borrow/positions.d.ts +182 -0
- package/resources/vektor/borrow/positions.d.ts.map +1 -0
- package/resources/vektor/borrow/positions.js +50 -0
- package/resources/vektor/borrow/positions.js.map +1 -0
- package/resources/vektor/borrow/positions.mjs +46 -0
- package/resources/vektor/borrow/positions.mjs.map +1 -0
- package/resources/vektor/borrow.d.mts +2 -0
- package/resources/vektor/borrow.d.mts.map +1 -0
- package/resources/vektor/borrow.d.ts +2 -0
- package/resources/vektor/borrow.d.ts.map +1 -0
- package/resources/vektor/borrow.js +6 -0
- package/resources/vektor/borrow.js.map +1 -0
- package/resources/vektor/borrow.mjs +3 -0
- package/resources/vektor/borrow.mjs.map +1 -0
- package/resources/vektor/bridge/bridge.d.mts +10 -0
- package/resources/vektor/bridge/bridge.d.mts.map +1 -0
- package/resources/vektor/bridge/bridge.d.ts +10 -0
- package/resources/vektor/bridge/bridge.d.ts.map +1 -0
- package/resources/vektor/bridge/bridge.js +17 -0
- package/resources/vektor/bridge/bridge.js.map +1 -0
- package/resources/vektor/bridge/bridge.mjs +12 -0
- package/resources/vektor/bridge/bridge.mjs.map +1 -0
- package/resources/vektor/bridge/index.d.mts +3 -0
- package/resources/vektor/bridge/index.d.mts.map +1 -0
- package/resources/vektor/bridge/index.d.ts +3 -0
- package/resources/vektor/bridge/index.d.ts.map +1 -0
- package/resources/vektor/bridge/index.js +9 -0
- package/resources/vektor/bridge/index.js.map +1 -0
- package/resources/vektor/bridge/index.mjs +4 -0
- package/resources/vektor/bridge/index.mjs.map +1 -0
- package/resources/vektor/bridge/quotes.d.mts +57 -0
- package/resources/vektor/bridge/quotes.d.mts.map +1 -0
- package/resources/vektor/bridge/quotes.d.ts +57 -0
- package/resources/vektor/bridge/quotes.d.ts.map +1 -0
- package/resources/vektor/bridge/quotes.js +26 -0
- package/resources/vektor/bridge/quotes.js.map +1 -0
- package/resources/vektor/bridge/quotes.mjs +22 -0
- package/resources/vektor/bridge/quotes.mjs.map +1 -0
- package/resources/vektor/bridge.d.mts +2 -0
- package/resources/vektor/bridge.d.mts.map +1 -0
- package/resources/vektor/bridge.d.ts +2 -0
- package/resources/vektor/bridge.d.ts.map +1 -0
- package/resources/vektor/bridge.js +6 -0
- package/resources/vektor/bridge.js.map +1 -0
- package/resources/vektor/bridge.mjs +3 -0
- package/resources/vektor/bridge.mjs.map +1 -0
- package/resources/vektor/buy/buy.d.mts +14 -0
- package/resources/vektor/buy/buy.d.mts.map +1 -0
- package/resources/vektor/buy/buy.d.ts +14 -0
- package/resources/vektor/buy/buy.d.ts.map +1 -0
- package/resources/vektor/buy/buy.js +21 -0
- package/resources/vektor/buy/buy.js.map +1 -0
- package/resources/vektor/buy/buy.mjs +16 -0
- package/resources/vektor/buy/buy.mjs.map +1 -0
- package/resources/vektor/buy/buy_.d.mts +56 -0
- package/resources/vektor/buy/buy_.d.mts.map +1 -0
- package/resources/vektor/buy/buy_.d.ts +56 -0
- package/resources/vektor/buy/buy_.d.ts.map +1 -0
- package/resources/vektor/buy/buy_.js +27 -0
- package/resources/vektor/buy/buy_.js.map +1 -0
- package/resources/vektor/buy/buy_.mjs +23 -0
- package/resources/vektor/buy/buy_.mjs.map +1 -0
- package/resources/vektor/buy/index.d.mts +4 -0
- package/resources/vektor/buy/index.d.mts.map +1 -0
- package/resources/vektor/buy/index.d.ts +4 -0
- package/resources/vektor/buy/index.d.ts.map +1 -0
- package/resources/vektor/buy/index.js +9 -0
- package/resources/vektor/buy/index.js.map +1 -0
- package/resources/vektor/buy/index.mjs +4 -0
- package/resources/vektor/buy/index.mjs.map +1 -0
- package/resources/vektor/buy/quotes.d.mts +57 -0
- package/resources/vektor/buy/quotes.d.mts.map +1 -0
- package/resources/vektor/buy/quotes.d.ts +57 -0
- package/resources/vektor/buy/quotes.d.ts.map +1 -0
- package/resources/vektor/buy/quotes.js +26 -0
- package/resources/vektor/buy/quotes.js.map +1 -0
- package/resources/vektor/buy/quotes.mjs +22 -0
- package/resources/vektor/buy/quotes.mjs.map +1 -0
- package/resources/vektor/buy.d.mts +2 -0
- package/resources/vektor/buy.d.mts.map +1 -0
- package/resources/vektor/buy.d.ts +2 -0
- package/resources/vektor/buy.d.ts.map +1 -0
- package/resources/vektor/buy.js +6 -0
- package/resources/vektor/buy.js.map +1 -0
- package/resources/vektor/buy.mjs +3 -0
- package/resources/vektor/buy.mjs.map +1 -0
- package/resources/vektor/executions/executions.d.mts +38 -0
- package/resources/vektor/executions/executions.d.mts.map +1 -0
- package/resources/vektor/executions/executions.d.ts +38 -0
- package/resources/vektor/executions/executions.d.ts.map +1 -0
- package/resources/vektor/executions/executions.js +42 -0
- package/resources/vektor/executions/executions.js.map +1 -0
- package/resources/vektor/executions/executions.mjs +37 -0
- package/resources/vektor/executions/executions.mjs.map +1 -0
- package/resources/vektor/executions/index.d.mts +3 -0
- package/resources/vektor/executions/index.d.mts.map +1 -0
- package/resources/vektor/executions/index.d.ts +3 -0
- package/resources/vektor/executions/index.d.ts.map +1 -0
- package/resources/vektor/executions/index.js +9 -0
- package/resources/vektor/executions/index.js.map +1 -0
- package/resources/vektor/executions/index.mjs +4 -0
- package/resources/vektor/executions/index.mjs.map +1 -0
- package/resources/vektor/executions/steps.d.mts +1112 -0
- package/resources/vektor/executions/steps.d.mts.map +1 -0
- package/resources/vektor/executions/steps.d.ts +1112 -0
- package/resources/vektor/executions/steps.d.ts.map +1 -0
- package/resources/vektor/executions/steps.js +45 -0
- package/resources/vektor/executions/steps.js.map +1 -0
- package/resources/vektor/executions/steps.mjs +41 -0
- package/resources/vektor/executions/steps.mjs.map +1 -0
- package/resources/vektor/executions.d.mts +2 -0
- package/resources/vektor/executions.d.mts.map +1 -0
- package/resources/vektor/executions.d.ts +2 -0
- package/resources/vektor/executions.d.ts.map +1 -0
- package/resources/vektor/executions.js +6 -0
- package/resources/vektor/executions.js.map +1 -0
- package/resources/vektor/executions.mjs +3 -0
- package/resources/vektor/executions.mjs.map +1 -0
- package/resources/vektor/incentivize.d.mts +47 -0
- package/resources/vektor/incentivize.d.mts.map +1 -0
- package/resources/vektor/incentivize.d.ts +47 -0
- package/resources/vektor/incentivize.d.ts.map +1 -0
- package/resources/vektor/incentivize.js +24 -0
- package/resources/vektor/incentivize.js.map +1 -0
- package/resources/vektor/incentivize.mjs +20 -0
- package/resources/vektor/incentivize.mjs.map +1 -0
- package/resources/vektor/index.d.mts +17 -0
- package/resources/vektor/index.d.mts.map +1 -0
- package/resources/vektor/index.d.ts +17 -0
- package/resources/vektor/index.d.ts.map +1 -0
- package/resources/vektor/index.js +37 -0
- package/resources/vektor/index.js.map +1 -0
- package/resources/vektor/index.mjs +18 -0
- package/resources/vektor/index.mjs.map +1 -0
- package/resources/vektor/lend/index.d.mts +7 -0
- package/resources/vektor/lend/index.d.mts.map +1 -0
- package/resources/vektor/lend/index.d.ts +7 -0
- package/resources/vektor/lend/index.d.ts.map +1 -0
- package/resources/vektor/lend/index.js +15 -0
- package/resources/vektor/lend/index.js.map +1 -0
- package/resources/vektor/lend/index.mjs +7 -0
- package/resources/vektor/lend/index.mjs.map +1 -0
- package/resources/vektor/lend/lend.d.mts +26 -0
- package/resources/vektor/lend/lend.d.mts.map +1 -0
- package/resources/vektor/lend/lend.d.ts +26 -0
- package/resources/vektor/lend/lend.d.ts.map +1 -0
- package/resources/vektor/lend/lend.js +33 -0
- package/resources/vektor/lend/lend.js.map +1 -0
- package/resources/vektor/lend/lend.mjs +28 -0
- package/resources/vektor/lend/lend.mjs.map +1 -0
- package/resources/vektor/lend/lend_.d.mts +47 -0
- package/resources/vektor/lend/lend_.d.mts.map +1 -0
- package/resources/vektor/lend/lend_.d.ts +47 -0
- package/resources/vektor/lend/lend_.d.ts.map +1 -0
- package/resources/vektor/lend/lend_.js +26 -0
- package/resources/vektor/lend/lend_.js.map +1 -0
- package/resources/vektor/lend/lend_.mjs +22 -0
- package/resources/vektor/lend/lend_.mjs.map +1 -0
- package/resources/vektor/lend/markets.d.mts +158 -0
- package/resources/vektor/lend/markets.d.mts.map +1 -0
- package/resources/vektor/lend/markets.d.ts +158 -0
- package/resources/vektor/lend/markets.d.ts.map +1 -0
- package/resources/vektor/lend/markets.js +42 -0
- package/resources/vektor/lend/markets.js.map +1 -0
- package/resources/vektor/lend/markets.mjs +38 -0
- package/resources/vektor/lend/markets.mjs.map +1 -0
- package/resources/vektor/lend/positions.d.mts +178 -0
- package/resources/vektor/lend/positions.d.mts.map +1 -0
- package/resources/vektor/lend/positions.d.ts +178 -0
- package/resources/vektor/lend/positions.d.ts.map +1 -0
- package/resources/vektor/lend/positions.js +46 -0
- package/resources/vektor/lend/positions.js.map +1 -0
- package/resources/vektor/lend/positions.mjs +42 -0
- package/resources/vektor/lend/positions.mjs.map +1 -0
- package/resources/vektor/lend/set-collateral.d.mts +42 -0
- package/resources/vektor/lend/set-collateral.d.mts.map +1 -0
- package/resources/vektor/lend/set-collateral.d.ts +42 -0
- package/resources/vektor/lend/set-collateral.d.ts.map +1 -0
- package/resources/vektor/lend/set-collateral.js +27 -0
- package/resources/vektor/lend/set-collateral.js.map +1 -0
- package/resources/vektor/lend/set-collateral.mjs +23 -0
- package/resources/vektor/lend/set-collateral.mjs.map +1 -0
- package/resources/vektor/lend/withdraw.d.mts +47 -0
- package/resources/vektor/lend/withdraw.d.mts.map +1 -0
- package/resources/vektor/lend/withdraw.d.ts +47 -0
- package/resources/vektor/lend/withdraw.d.ts.map +1 -0
- package/resources/vektor/lend/withdraw.js +25 -0
- package/resources/vektor/lend/withdraw.js.map +1 -0
- package/resources/vektor/lend/withdraw.mjs +21 -0
- package/resources/vektor/lend/withdraw.mjs.map +1 -0
- package/resources/vektor/lend.d.mts +2 -0
- package/resources/vektor/lend.d.mts.map +1 -0
- package/resources/vektor/lend.d.ts +2 -0
- package/resources/vektor/lend.d.ts.map +1 -0
- package/resources/vektor/lend.js +6 -0
- package/resources/vektor/lend.js.map +1 -0
- package/resources/vektor/lend.mjs +3 -0
- package/resources/vektor/lend.mjs.map +1 -0
- package/resources/vektor/lock/index.d.mts +4 -0
- package/resources/vektor/lock/index.d.mts.map +1 -0
- package/resources/vektor/lock/index.d.ts +4 -0
- package/resources/vektor/lock/index.d.ts.map +1 -0
- package/resources/vektor/lock/index.js +11 -0
- package/resources/vektor/lock/index.js.map +1 -0
- package/resources/vektor/lock/index.mjs +5 -0
- package/resources/vektor/lock/index.mjs.map +1 -0
- package/resources/vektor/lock/lock.d.mts +14 -0
- package/resources/vektor/lock/lock.d.mts.map +1 -0
- package/resources/vektor/lock/lock.d.ts +14 -0
- package/resources/vektor/lock/lock.d.ts.map +1 -0
- package/resources/vektor/lock/lock.js +21 -0
- package/resources/vektor/lock/lock.js.map +1 -0
- package/resources/vektor/lock/lock.mjs +16 -0
- package/resources/vektor/lock/lock.mjs.map +1 -0
- package/resources/vektor/lock/markets.d.mts +43 -0
- package/resources/vektor/lock/markets.d.mts.map +1 -0
- package/resources/vektor/lock/markets.d.ts +43 -0
- package/resources/vektor/lock/markets.d.ts.map +1 -0
- package/resources/vektor/lock/markets.js +24 -0
- package/resources/vektor/lock/markets.js.map +1 -0
- package/resources/vektor/lock/markets.mjs +20 -0
- package/resources/vektor/lock/markets.mjs.map +1 -0
- package/resources/vektor/lock/positions.d.mts +48 -0
- package/resources/vektor/lock/positions.d.mts.map +1 -0
- package/resources/vektor/lock/positions.d.ts +48 -0
- package/resources/vektor/lock/positions.d.ts.map +1 -0
- package/resources/vektor/lock/positions.js +25 -0
- package/resources/vektor/lock/positions.js.map +1 -0
- package/resources/vektor/lock/positions.mjs +21 -0
- package/resources/vektor/lock/positions.mjs.map +1 -0
- package/resources/vektor/lock.d.mts +2 -0
- package/resources/vektor/lock.d.mts.map +1 -0
- package/resources/vektor/lock.d.ts +2 -0
- package/resources/vektor/lock.d.ts.map +1 -0
- package/resources/vektor/lock.js +6 -0
- package/resources/vektor/lock.js.map +1 -0
- package/resources/vektor/lock.mjs +3 -0
- package/resources/vektor/lock.mjs.map +1 -0
- package/resources/vektor/lp/deposit-quote.d.mts +119 -0
- package/resources/vektor/lp/deposit-quote.d.mts.map +1 -0
- package/resources/vektor/lp/deposit-quote.d.ts +119 -0
- package/resources/vektor/lp/deposit-quote.d.ts.map +1 -0
- package/resources/vektor/lp/deposit-quote.js +27 -0
- package/resources/vektor/lp/deposit-quote.js.map +1 -0
- package/resources/vektor/lp/deposit-quote.mjs +23 -0
- package/resources/vektor/lp/deposit-quote.mjs.map +1 -0
- package/resources/vektor/lp/index.d.mts +6 -0
- package/resources/vektor/lp/index.d.mts.map +1 -0
- package/resources/vektor/lp/index.d.ts +6 -0
- package/resources/vektor/lp/index.d.ts.map +1 -0
- package/resources/vektor/lp/index.js +15 -0
- package/resources/vektor/lp/index.js.map +1 -0
- package/resources/vektor/lp/index.mjs +7 -0
- package/resources/vektor/lp/index.mjs.map +1 -0
- package/resources/vektor/lp/lp.d.mts +22 -0
- package/resources/vektor/lp/lp.d.mts.map +1 -0
- package/resources/vektor/lp/lp.d.ts +22 -0
- package/resources/vektor/lp/lp.d.ts.map +1 -0
- package/resources/vektor/lp/lp.js +29 -0
- package/resources/vektor/lp/lp.js.map +1 -0
- package/resources/vektor/lp/lp.mjs +24 -0
- package/resources/vektor/lp/lp.mjs.map +1 -0
- package/resources/vektor/lp/pools.d.mts +158 -0
- package/resources/vektor/lp/pools.d.mts.map +1 -0
- package/resources/vektor/lp/pools.d.ts +158 -0
- package/resources/vektor/lp/pools.d.ts.map +1 -0
- package/resources/vektor/lp/pools.js +42 -0
- package/resources/vektor/lp/pools.js.map +1 -0
- package/resources/vektor/lp/pools.mjs +38 -0
- package/resources/vektor/lp/pools.mjs.map +1 -0
- package/resources/vektor/lp/positions.d.mts +194 -0
- package/resources/vektor/lp/positions.d.mts.map +1 -0
- package/resources/vektor/lp/positions.d.ts +194 -0
- package/resources/vektor/lp/positions.d.ts.map +1 -0
- package/resources/vektor/lp/positions.js +46 -0
- package/resources/vektor/lp/positions.js.map +1 -0
- package/resources/vektor/lp/positions.mjs +42 -0
- package/resources/vektor/lp/positions.mjs.map +1 -0
- package/resources/vektor/lp/withdraw-quote.d.mts +73 -0
- package/resources/vektor/lp/withdraw-quote.d.mts.map +1 -0
- package/resources/vektor/lp/withdraw-quote.d.ts +73 -0
- package/resources/vektor/lp/withdraw-quote.d.ts.map +1 -0
- package/resources/vektor/lp/withdraw-quote.js +27 -0
- package/resources/vektor/lp/withdraw-quote.js.map +1 -0
- package/resources/vektor/lp/withdraw-quote.mjs +23 -0
- package/resources/vektor/lp/withdraw-quote.mjs.map +1 -0
- package/resources/vektor/lp.d.mts +2 -0
- package/resources/vektor/lp.d.mts.map +1 -0
- package/resources/vektor/lp.d.ts +2 -0
- package/resources/vektor/lp.d.ts.map +1 -0
- package/resources/vektor/lp.js +6 -0
- package/resources/vektor/lp.js.map +1 -0
- package/resources/vektor/lp.mjs +3 -0
- package/resources/vektor/lp.mjs.map +1 -0
- package/resources/vektor/move.d.mts +47 -0
- package/resources/vektor/move.d.mts.map +1 -0
- package/resources/vektor/move.d.ts +47 -0
- package/resources/vektor/move.d.ts.map +1 -0
- package/resources/vektor/move.js +26 -0
- package/resources/vektor/move.js.map +1 -0
- package/resources/vektor/move.mjs +22 -0
- package/resources/vektor/move.mjs.map +1 -0
- package/resources/vektor/prices.d.mts +77 -0
- package/resources/vektor/prices.d.mts.map +1 -0
- package/resources/vektor/prices.d.ts +77 -0
- package/resources/vektor/prices.d.ts.map +1 -0
- package/resources/vektor/prices.js +35 -0
- package/resources/vektor/prices.js.map +1 -0
- package/resources/vektor/prices.mjs +31 -0
- package/resources/vektor/prices.mjs.map +1 -0
- package/resources/vektor/registry/assets.d.mts +39 -0
- package/resources/vektor/registry/assets.d.mts.map +1 -0
- package/resources/vektor/registry/assets.d.ts +39 -0
- package/resources/vektor/registry/assets.d.ts.map +1 -0
- package/resources/vektor/registry/assets.js +20 -0
- package/resources/vektor/registry/assets.js.map +1 -0
- package/resources/vektor/registry/assets.mjs +16 -0
- package/resources/vektor/registry/assets.mjs.map +1 -0
- package/resources/vektor/registry/blockchains.d.mts +36 -0
- package/resources/vektor/registry/blockchains.d.mts.map +1 -0
- package/resources/vektor/registry/blockchains.d.ts +36 -0
- package/resources/vektor/registry/blockchains.d.ts.map +1 -0
- package/resources/vektor/registry/blockchains.js +21 -0
- package/resources/vektor/registry/blockchains.js.map +1 -0
- package/resources/vektor/registry/blockchains.mjs +17 -0
- package/resources/vektor/registry/blockchains.mjs.map +1 -0
- package/resources/vektor/registry/borrow-markets.d.mts +46 -0
- package/resources/vektor/registry/borrow-markets.d.mts.map +1 -0
- package/resources/vektor/registry/borrow-markets.d.ts +46 -0
- package/resources/vektor/registry/borrow-markets.d.ts.map +1 -0
- package/resources/vektor/registry/borrow-markets.js +22 -0
- package/resources/vektor/registry/borrow-markets.js.map +1 -0
- package/resources/vektor/registry/borrow-markets.mjs +18 -0
- package/resources/vektor/registry/borrow-markets.mjs.map +1 -0
- package/resources/vektor/registry/errors.d.mts +28 -0
- package/resources/vektor/registry/errors.d.mts.map +1 -0
- package/resources/vektor/registry/errors.d.ts +28 -0
- package/resources/vektor/registry/errors.d.ts.map +1 -0
- package/resources/vektor/registry/errors.js +20 -0
- package/resources/vektor/registry/errors.js.map +1 -0
- package/resources/vektor/registry/errors.mjs +16 -0
- package/resources/vektor/registry/errors.mjs.map +1 -0
- package/resources/vektor/registry/index.d.mts +9 -0
- package/resources/vektor/registry/index.d.mts.map +1 -0
- package/resources/vektor/registry/index.d.ts +9 -0
- package/resources/vektor/registry/index.d.ts.map +1 -0
- package/resources/vektor/registry/index.js +21 -0
- package/resources/vektor/registry/index.js.map +1 -0
- package/resources/vektor/registry/index.mjs +10 -0
- package/resources/vektor/registry/index.mjs.map +1 -0
- package/resources/vektor/registry/lend-markets.d.mts +46 -0
- package/resources/vektor/registry/lend-markets.d.mts.map +1 -0
- package/resources/vektor/registry/lend-markets.d.ts +46 -0
- package/resources/vektor/registry/lend-markets.d.ts.map +1 -0
- package/resources/vektor/registry/lend-markets.js +22 -0
- package/resources/vektor/registry/lend-markets.js.map +1 -0
- package/resources/vektor/registry/lend-markets.mjs +18 -0
- package/resources/vektor/registry/lend-markets.mjs.map +1 -0
- package/resources/vektor/registry/lp-pools.d.mts +44 -0
- package/resources/vektor/registry/lp-pools.d.mts.map +1 -0
- package/resources/vektor/registry/lp-pools.d.ts +44 -0
- package/resources/vektor/registry/lp-pools.d.ts.map +1 -0
- package/resources/vektor/registry/lp-pools.js +21 -0
- package/resources/vektor/registry/lp-pools.js.map +1 -0
- package/resources/vektor/registry/lp-pools.mjs +17 -0
- package/resources/vektor/registry/lp-pools.mjs.map +1 -0
- package/resources/vektor/registry/registry.d.mts +34 -0
- package/resources/vektor/registry/registry.d.mts.map +1 -0
- package/resources/vektor/registry/registry.d.ts +34 -0
- package/resources/vektor/registry/registry.d.ts.map +1 -0
- package/resources/vektor/registry/registry.js +41 -0
- package/resources/vektor/registry/registry.js.map +1 -0
- package/resources/vektor/registry/registry.mjs +36 -0
- package/resources/vektor/registry/registry.mjs.map +1 -0
- package/resources/vektor/registry/venues.d.mts +35 -0
- package/resources/vektor/registry/venues.d.mts.map +1 -0
- package/resources/vektor/registry/venues.d.ts +35 -0
- package/resources/vektor/registry/venues.d.ts.map +1 -0
- package/resources/vektor/registry/venues.js +20 -0
- package/resources/vektor/registry/venues.js.map +1 -0
- package/resources/vektor/registry/venues.mjs +16 -0
- package/resources/vektor/registry/venues.mjs.map +1 -0
- package/resources/vektor/registry.d.mts +2 -0
- package/resources/vektor/registry.d.mts.map +1 -0
- package/resources/vektor/registry.d.ts +2 -0
- package/resources/vektor/registry.d.ts.map +1 -0
- package/resources/vektor/registry.js +6 -0
- package/resources/vektor/registry.js.map +1 -0
- package/resources/vektor/registry.mjs +3 -0
- package/resources/vektor/registry.mjs.map +1 -0
- package/resources/vektor/sell/index.d.mts +4 -0
- package/resources/vektor/sell/index.d.mts.map +1 -0
- package/resources/vektor/sell/index.d.ts +4 -0
- package/resources/vektor/sell/index.d.ts.map +1 -0
- package/resources/vektor/sell/index.js +9 -0
- package/resources/vektor/sell/index.js.map +1 -0
- package/resources/vektor/sell/index.mjs +4 -0
- package/resources/vektor/sell/index.mjs.map +1 -0
- package/resources/vektor/sell/quotes.d.mts +57 -0
- package/resources/vektor/sell/quotes.d.mts.map +1 -0
- package/resources/vektor/sell/quotes.d.ts +57 -0
- package/resources/vektor/sell/quotes.d.ts.map +1 -0
- package/resources/vektor/sell/quotes.js +26 -0
- package/resources/vektor/sell/quotes.js.map +1 -0
- package/resources/vektor/sell/quotes.mjs +22 -0
- package/resources/vektor/sell/quotes.mjs.map +1 -0
- package/resources/vektor/sell/sell.d.mts +14 -0
- package/resources/vektor/sell/sell.d.mts.map +1 -0
- package/resources/vektor/sell/sell.d.ts +14 -0
- package/resources/vektor/sell/sell.d.ts.map +1 -0
- package/resources/vektor/sell/sell.js +21 -0
- package/resources/vektor/sell/sell.js.map +1 -0
- package/resources/vektor/sell/sell.mjs +16 -0
- package/resources/vektor/sell/sell.mjs.map +1 -0
- package/resources/vektor/sell/sell_.d.mts +56 -0
- package/resources/vektor/sell/sell_.d.mts.map +1 -0
- package/resources/vektor/sell/sell_.d.ts +56 -0
- package/resources/vektor/sell/sell_.d.ts.map +1 -0
- package/resources/vektor/sell/sell_.js +27 -0
- package/resources/vektor/sell/sell_.js.map +1 -0
- package/resources/vektor/sell/sell_.mjs +23 -0
- package/resources/vektor/sell/sell_.mjs.map +1 -0
- package/resources/vektor/sell.d.mts +2 -0
- package/resources/vektor/sell.d.mts.map +1 -0
- package/resources/vektor/sell.d.ts +2 -0
- package/resources/vektor/sell.d.ts.map +1 -0
- package/resources/vektor/sell.js +6 -0
- package/resources/vektor/sell.js.map +1 -0
- package/resources/vektor/sell.mjs +3 -0
- package/resources/vektor/sell.mjs.map +1 -0
- package/resources/vektor/vektor.d.mts +2836 -0
- package/resources/vektor/vektor.d.mts.map +1 -0
- package/resources/vektor/vektor.d.ts +2836 -0
- package/resources/vektor/vektor.d.ts.map +1 -0
- package/resources/vektor/vektor.js +73 -0
- package/resources/vektor/vektor.js.map +1 -0
- package/resources/vektor/vektor.mjs +68 -0
- package/resources/vektor/vektor.mjs.map +1 -0
- package/resources/vektor/vote/index.d.mts +4 -0
- package/resources/vektor/vote/index.d.mts.map +1 -0
- package/resources/vektor/vote/index.d.ts +4 -0
- package/resources/vektor/vote/index.d.ts.map +1 -0
- package/resources/vektor/vote/index.js +11 -0
- package/resources/vektor/vote/index.js.map +1 -0
- package/resources/vektor/vote/index.mjs +5 -0
- package/resources/vektor/vote/index.mjs.map +1 -0
- package/resources/vektor/vote/markets.d.mts +47 -0
- package/resources/vektor/vote/markets.d.mts.map +1 -0
- package/resources/vektor/vote/markets.d.ts +47 -0
- package/resources/vektor/vote/markets.d.ts.map +1 -0
- package/resources/vektor/vote/markets.js +24 -0
- package/resources/vektor/vote/markets.js.map +1 -0
- package/resources/vektor/vote/markets.mjs +20 -0
- package/resources/vektor/vote/markets.mjs.map +1 -0
- package/resources/vektor/vote/rewards.d.mts +52 -0
- package/resources/vektor/vote/rewards.d.mts.map +1 -0
- package/resources/vektor/vote/rewards.d.ts +52 -0
- package/resources/vektor/vote/rewards.d.ts.map +1 -0
- package/resources/vektor/vote/rewards.js +25 -0
- package/resources/vektor/vote/rewards.js.map +1 -0
- package/resources/vektor/vote/rewards.mjs +21 -0
- package/resources/vektor/vote/rewards.mjs.map +1 -0
- package/resources/vektor/vote/vote.d.mts +14 -0
- package/resources/vektor/vote/vote.d.mts.map +1 -0
- package/resources/vektor/vote/vote.d.ts +14 -0
- package/resources/vektor/vote/vote.d.ts.map +1 -0
- package/resources/vektor/vote/vote.js +21 -0
- package/resources/vektor/vote/vote.js.map +1 -0
- package/resources/vektor/vote/vote.mjs +16 -0
- package/resources/vektor/vote/vote.mjs.map +1 -0
- package/resources/vektor/vote.d.mts +2 -0
- package/resources/vektor/vote.d.mts.map +1 -0
- package/resources/vektor/vote.d.ts +2 -0
- package/resources/vektor/vote.d.ts.map +1 -0
- package/resources/vektor/vote.js +6 -0
- package/resources/vektor/vote.js.map +1 -0
- package/resources/vektor/vote.mjs +3 -0
- package/resources/vektor/vote.mjs.map +1 -0
- package/resources/vektor/wrap/index.d.mts +4 -0
- package/resources/vektor/wrap/index.d.mts.map +1 -0
- package/resources/vektor/wrap/index.d.ts +4 -0
- package/resources/vektor/wrap/index.d.ts.map +1 -0
- package/resources/vektor/wrap/index.js +9 -0
- package/resources/vektor/wrap/index.js.map +1 -0
- package/resources/vektor/wrap/index.mjs +4 -0
- package/resources/vektor/wrap/index.mjs.map +1 -0
- package/resources/vektor/wrap/unwrap.d.mts +37 -0
- package/resources/vektor/wrap/unwrap.d.mts.map +1 -0
- package/resources/vektor/wrap/unwrap.d.ts +37 -0
- package/resources/vektor/wrap/unwrap.d.ts.map +1 -0
- package/resources/vektor/wrap/unwrap.js +24 -0
- package/resources/vektor/wrap/unwrap.js.map +1 -0
- package/resources/vektor/wrap/unwrap.mjs +20 -0
- package/resources/vektor/wrap/unwrap.mjs.map +1 -0
- package/resources/vektor/wrap/wrap.d.mts +14 -0
- package/resources/vektor/wrap/wrap.d.mts.map +1 -0
- package/resources/vektor/wrap/wrap.d.ts +14 -0
- package/resources/vektor/wrap/wrap.d.ts.map +1 -0
- package/resources/vektor/wrap/wrap.js +21 -0
- package/resources/vektor/wrap/wrap.js.map +1 -0
- package/resources/vektor/wrap/wrap.mjs +16 -0
- package/resources/vektor/wrap/wrap.mjs.map +1 -0
- package/resources/vektor/wrap/wrap_.d.mts +37 -0
- package/resources/vektor/wrap/wrap_.d.mts.map +1 -0
- package/resources/vektor/wrap/wrap_.d.ts +37 -0
- package/resources/vektor/wrap/wrap_.d.ts.map +1 -0
- package/resources/vektor/wrap/wrap_.js +24 -0
- package/resources/vektor/wrap/wrap_.js.map +1 -0
- package/resources/vektor/wrap/wrap_.mjs +20 -0
- package/resources/vektor/wrap/wrap_.mjs.map +1 -0
- package/resources/vektor/wrap.d.mts +2 -0
- package/resources/vektor/wrap.d.mts.map +1 -0
- package/resources/vektor/wrap.d.ts +2 -0
- package/resources/vektor/wrap.d.ts.map +1 -0
- package/resources/vektor/wrap.js +6 -0
- package/resources/vektor/wrap.js.map +1 -0
- package/resources/vektor/wrap.mjs +3 -0
- package/resources/vektor/wrap.mjs.map +1 -0
- package/resources/vektor.d.mts +2 -0
- package/resources/vektor.d.mts.map +1 -0
- package/resources/vektor.d.ts +2 -0
- package/resources/vektor.d.ts.map +1 -0
- package/resources/vektor.js +6 -0
- package/resources/vektor.js.map +1 -0
- package/resources/vektor.mjs +3 -0
- package/resources/vektor.mjs.map +1 -0
- package/src/client.ts +5 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/vektor/balances.ts +146 -0
- package/src/resources/vektor/borrow/accounts.ts +146 -0
- package/src/resources/vektor/borrow/borrow.ts +63 -0
- package/src/resources/vektor/borrow/index.ts +24 -0
- package/src/resources/vektor/borrow/markets.ts +205 -0
- package/src/resources/vektor/borrow/positions.ts +233 -0
- package/src/resources/vektor/borrow.ts +3 -0
- package/src/resources/vektor/bridge/bridge.ts +19 -0
- package/src/resources/vektor/bridge/index.ts +4 -0
- package/src/resources/vektor/bridge/quotes.ts +69 -0
- package/src/resources/vektor/bridge.ts +3 -0
- package/src/resources/vektor/buy/buy.ts +25 -0
- package/src/resources/vektor/buy/buy_.ts +68 -0
- package/src/resources/vektor/buy/index.ts +5 -0
- package/src/resources/vektor/buy/quotes.ts +69 -0
- package/src/resources/vektor/buy.ts +3 -0
- package/src/resources/vektor/executions/executions.ts +57 -0
- package/src/resources/vektor/executions/index.ts +4 -0
- package/src/resources/vektor/executions/steps.ts +1380 -0
- package/src/resources/vektor/executions.ts +3 -0
- package/src/resources/vektor/incentivize.ts +60 -0
- package/src/resources/vektor/index.ts +30 -0
- package/src/resources/vektor/lend/index.ts +20 -0
- package/src/resources/vektor/lend/lend.ts +63 -0
- package/src/resources/vektor/lend/lend_.ts +57 -0
- package/src/resources/vektor/lend/markets.ts +205 -0
- package/src/resources/vektor/lend/positions.ts +229 -0
- package/src/resources/vektor/lend/set-collateral.ts +51 -0
- package/src/resources/vektor/lend/withdraw.ts +57 -0
- package/src/resources/vektor/lend.ts +3 -0
- package/src/resources/vektor/lock/index.ts +5 -0
- package/src/resources/vektor/lock/lock.ts +29 -0
- package/src/resources/vektor/lock/markets.ts +52 -0
- package/src/resources/vektor/lock/positions.ts +58 -0
- package/src/resources/vektor/lock.ts +3 -0
- package/src/resources/vektor/lp/deposit-quote.ts +147 -0
- package/src/resources/vektor/lp/index.ts +27 -0
- package/src/resources/vektor/lp/lp.ts +65 -0
- package/src/resources/vektor/lp/pools.ts +205 -0
- package/src/resources/vektor/lp/positions.ts +249 -0
- package/src/resources/vektor/lp/withdraw-quote.ts +90 -0
- package/src/resources/vektor/lp.ts +3 -0
- package/src/resources/vektor/move.ts +57 -0
- package/src/resources/vektor/prices.ts +102 -0
- package/src/resources/vektor/registry/assets.ts +51 -0
- package/src/resources/vektor/registry/blockchains.ts +50 -0
- package/src/resources/vektor/registry/borrow-markets.ts +62 -0
- package/src/resources/vektor/registry/errors.ts +38 -0
- package/src/resources/vektor/registry/index.ts +10 -0
- package/src/resources/vektor/registry/lend-markets.ts +62 -0
- package/src/resources/vektor/registry/lp-pools.ts +57 -0
- package/src/resources/vektor/registry/registry.ts +79 -0
- package/src/resources/vektor/registry/venues.ts +46 -0
- package/src/resources/vektor/registry.ts +3 -0
- package/src/resources/vektor/sell/index.ts +5 -0
- package/src/resources/vektor/sell/quotes.ts +69 -0
- package/src/resources/vektor/sell/sell.ts +25 -0
- package/src/resources/vektor/sell/sell_.ts +68 -0
- package/src/resources/vektor/sell.ts +3 -0
- package/src/resources/vektor/vektor.ts +3581 -0
- package/src/resources/vektor/vote/index.ts +5 -0
- package/src/resources/vektor/vote/markets.ts +57 -0
- package/src/resources/vektor/vote/rewards.ts +63 -0
- package/src/resources/vektor/vote/vote.ts +29 -0
- package/src/resources/vektor/vote.ts +3 -0
- package/src/resources/vektor/wrap/index.ts +5 -0
- package/src/resources/vektor/wrap/unwrap.ts +45 -0
- package/src/resources/vektor/wrap/wrap.ts +21 -0
- package/src/resources/vektor/wrap/wrap_.ts +45 -0
- package/src/resources/vektor/wrap.ts +3 -0
- package/src/resources/vektor.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock.mjs","sourceRoot":"","sources":["../../src/resources/vektor/lock.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as VektorAPI from "../vektor.mjs";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
+
export declare class DepositQuote extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Simulate depositing liquidity to a specific LP pool, creating a position or
|
|
8
|
+
* adding to an existing one.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const depositQuote =
|
|
13
|
+
* await client.vektor.lp.depositQuote.create({
|
|
14
|
+
* amount: '10.0000000000000024',
|
|
15
|
+
* asset: 'asset_01jbz9qc00f8wr64hfe459gb7y',
|
|
16
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
17
|
+
* lp_pool_id: 'lp_pool_01h455vb4pex5vsknk084sn02q',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
create(body: DepositQuoteCreateParams, options?: RequestOptions): APIPromise<DepositQuoteCreateResponse>;
|
|
22
|
+
}
|
|
23
|
+
export interface DepositQuoteCreateResponse {
|
|
24
|
+
/**
|
|
25
|
+
* An LP quote
|
|
26
|
+
*/
|
|
27
|
+
items: VektorAPI.LPQuote;
|
|
28
|
+
}
|
|
29
|
+
export type DepositQuoteCreateParams = DepositQuoteCreateParams.LPPoolDepositQuoteRequestInput | DepositQuoteCreateParams.LPPositionDepositQuoteRequestInput;
|
|
30
|
+
export declare namespace DepositQuoteCreateParams {
|
|
31
|
+
interface LPPoolDepositQuoteRequestInput {
|
|
32
|
+
/**
|
|
33
|
+
* An arbitrary precision decimal represented as a string
|
|
34
|
+
*/
|
|
35
|
+
amount: VektorAPI.Decimal;
|
|
36
|
+
/**
|
|
37
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
38
|
+
*/
|
|
39
|
+
asset: VektorAPI.AssetIDOrAddressEVMOrAssetSymbol;
|
|
40
|
+
/**
|
|
41
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
42
|
+
*/
|
|
43
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
44
|
+
/**
|
|
45
|
+
* A LP pool ID, represented as a TypeID with `lp_pool` prefix
|
|
46
|
+
*/
|
|
47
|
+
lp_pool_id: string;
|
|
48
|
+
/**
|
|
49
|
+
* An asset symbol
|
|
50
|
+
*/
|
|
51
|
+
quote_asset_symbol?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* A Uniswap V3 range. Lower and upper bounds should satisfy 0 <= `lower` <
|
|
54
|
+
* `upper`. The value -1 can be used in `upper` for infinity
|
|
55
|
+
*/
|
|
56
|
+
range?: LPPoolDepositQuoteRequestInput.Range | null;
|
|
57
|
+
}
|
|
58
|
+
namespace LPPoolDepositQuoteRequestInput {
|
|
59
|
+
/**
|
|
60
|
+
* A Uniswap V3 range. Lower and upper bounds should satisfy 0 <= `lower` <
|
|
61
|
+
* `upper`. The value -1 can be used in `upper` for infinity
|
|
62
|
+
*/
|
|
63
|
+
interface Range {
|
|
64
|
+
/**
|
|
65
|
+
* An arbitrary precision decimal represented as a string
|
|
66
|
+
*/
|
|
67
|
+
lower: VektorAPI.Decimal;
|
|
68
|
+
/**
|
|
69
|
+
* An arbitrary precision decimal represented as a string
|
|
70
|
+
*/
|
|
71
|
+
upper: VektorAPI.Decimal;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
interface LPPositionDepositQuoteRequestInput {
|
|
75
|
+
/**
|
|
76
|
+
* An EVM address
|
|
77
|
+
*/
|
|
78
|
+
account: VektorAPI.Account;
|
|
79
|
+
/**
|
|
80
|
+
* An arbitrary precision decimal represented as a string
|
|
81
|
+
*/
|
|
82
|
+
amount: VektorAPI.Decimal;
|
|
83
|
+
/**
|
|
84
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
85
|
+
*/
|
|
86
|
+
asset: VektorAPI.AssetIDOrAddressEVMOrAssetSymbol;
|
|
87
|
+
/**
|
|
88
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
89
|
+
*/
|
|
90
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
91
|
+
/**
|
|
92
|
+
* A LP pool ID, represented as a TypeID with `lp_pool` prefix
|
|
93
|
+
*/
|
|
94
|
+
lp_pool_id: string;
|
|
95
|
+
/**
|
|
96
|
+
* An asset symbol
|
|
97
|
+
*/
|
|
98
|
+
quote_asset_symbol?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Uniswap position specifier
|
|
101
|
+
*/
|
|
102
|
+
specifier?: LPPositionDepositQuoteRequestInput.Specifier | null;
|
|
103
|
+
}
|
|
104
|
+
namespace LPPositionDepositQuoteRequestInput {
|
|
105
|
+
/**
|
|
106
|
+
* Uniswap position specifier
|
|
107
|
+
*/
|
|
108
|
+
interface Specifier {
|
|
109
|
+
/**
|
|
110
|
+
* A NFT
|
|
111
|
+
*/
|
|
112
|
+
position_nft: VektorAPI.NFT;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export declare namespace DepositQuote {
|
|
117
|
+
export { type DepositQuoteCreateResponse as DepositQuoteCreateResponse, type DepositQuoteCreateParams as DepositQuoteCreateParams, };
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=deposit-quote.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deposit-quote.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/lp/deposit-quote.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGzG;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAC1B;AAED,MAAM,MAAM,wBAAwB,GAChC,wBAAwB,CAAC,8BAA8B,GACvD,wBAAwB,CAAC,kCAAkC,CAAC;AAEhE,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,UAAiB,8BAA8B;QAC7C;;WAEG;QACH,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC;QAE1B;;WAEG;QACH,KAAK,EAAE,SAAS,CAAC,gCAAgC,CAAC;QAElD;;WAEG;QACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;QAErD;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEnC;;;WAGG;QACH,KAAK,CAAC,EAAE,8BAA8B,CAAC,KAAK,GAAG,IAAI,CAAC;KACrD;IAED,UAAiB,8BAA8B,CAAC;QAC9C;;;WAGG;QACH,UAAiB,KAAK;YACpB;;eAEG;YACH,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;YAEzB;;eAEG;YACH,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;SAC1B;KACF;IAED,UAAiB,kCAAkC;QACjD;;WAEG;QACH,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC;QAE3B;;WAEG;QACH,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC;QAE1B;;WAEG;QACH,KAAK,EAAE,SAAS,CAAC,gCAAgC,CAAC;QAElD;;WAEG;QACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;QAErD;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEnC;;WAEG;QACH,SAAS,CAAC,EAAE,kCAAkC,CAAC,SAAS,GAAG,IAAI,CAAC;KACjE;IAED,UAAiB,kCAAkC,CAAC;QAClD;;WAEG;QACH,UAAiB,SAAS;YACxB;;eAEG;YACH,YAAY,EAAE,SAAS,CAAC,GAAG,CAAC;SAC7B;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as VektorAPI from "../vektor.js";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
+
export declare class DepositQuote extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Simulate depositing liquidity to a specific LP pool, creating a position or
|
|
8
|
+
* adding to an existing one.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const depositQuote =
|
|
13
|
+
* await client.vektor.lp.depositQuote.create({
|
|
14
|
+
* amount: '10.0000000000000024',
|
|
15
|
+
* asset: 'asset_01jbz9qc00f8wr64hfe459gb7y',
|
|
16
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
17
|
+
* lp_pool_id: 'lp_pool_01h455vb4pex5vsknk084sn02q',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
create(body: DepositQuoteCreateParams, options?: RequestOptions): APIPromise<DepositQuoteCreateResponse>;
|
|
22
|
+
}
|
|
23
|
+
export interface DepositQuoteCreateResponse {
|
|
24
|
+
/**
|
|
25
|
+
* An LP quote
|
|
26
|
+
*/
|
|
27
|
+
items: VektorAPI.LPQuote;
|
|
28
|
+
}
|
|
29
|
+
export type DepositQuoteCreateParams = DepositQuoteCreateParams.LPPoolDepositQuoteRequestInput | DepositQuoteCreateParams.LPPositionDepositQuoteRequestInput;
|
|
30
|
+
export declare namespace DepositQuoteCreateParams {
|
|
31
|
+
interface LPPoolDepositQuoteRequestInput {
|
|
32
|
+
/**
|
|
33
|
+
* An arbitrary precision decimal represented as a string
|
|
34
|
+
*/
|
|
35
|
+
amount: VektorAPI.Decimal;
|
|
36
|
+
/**
|
|
37
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
38
|
+
*/
|
|
39
|
+
asset: VektorAPI.AssetIDOrAddressEVMOrAssetSymbol;
|
|
40
|
+
/**
|
|
41
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
42
|
+
*/
|
|
43
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
44
|
+
/**
|
|
45
|
+
* A LP pool ID, represented as a TypeID with `lp_pool` prefix
|
|
46
|
+
*/
|
|
47
|
+
lp_pool_id: string;
|
|
48
|
+
/**
|
|
49
|
+
* An asset symbol
|
|
50
|
+
*/
|
|
51
|
+
quote_asset_symbol?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* A Uniswap V3 range. Lower and upper bounds should satisfy 0 <= `lower` <
|
|
54
|
+
* `upper`. The value -1 can be used in `upper` for infinity
|
|
55
|
+
*/
|
|
56
|
+
range?: LPPoolDepositQuoteRequestInput.Range | null;
|
|
57
|
+
}
|
|
58
|
+
namespace LPPoolDepositQuoteRequestInput {
|
|
59
|
+
/**
|
|
60
|
+
* A Uniswap V3 range. Lower and upper bounds should satisfy 0 <= `lower` <
|
|
61
|
+
* `upper`. The value -1 can be used in `upper` for infinity
|
|
62
|
+
*/
|
|
63
|
+
interface Range {
|
|
64
|
+
/**
|
|
65
|
+
* An arbitrary precision decimal represented as a string
|
|
66
|
+
*/
|
|
67
|
+
lower: VektorAPI.Decimal;
|
|
68
|
+
/**
|
|
69
|
+
* An arbitrary precision decimal represented as a string
|
|
70
|
+
*/
|
|
71
|
+
upper: VektorAPI.Decimal;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
interface LPPositionDepositQuoteRequestInput {
|
|
75
|
+
/**
|
|
76
|
+
* An EVM address
|
|
77
|
+
*/
|
|
78
|
+
account: VektorAPI.Account;
|
|
79
|
+
/**
|
|
80
|
+
* An arbitrary precision decimal represented as a string
|
|
81
|
+
*/
|
|
82
|
+
amount: VektorAPI.Decimal;
|
|
83
|
+
/**
|
|
84
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
85
|
+
*/
|
|
86
|
+
asset: VektorAPI.AssetIDOrAddressEVMOrAssetSymbol;
|
|
87
|
+
/**
|
|
88
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
89
|
+
*/
|
|
90
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
91
|
+
/**
|
|
92
|
+
* A LP pool ID, represented as a TypeID with `lp_pool` prefix
|
|
93
|
+
*/
|
|
94
|
+
lp_pool_id: string;
|
|
95
|
+
/**
|
|
96
|
+
* An asset symbol
|
|
97
|
+
*/
|
|
98
|
+
quote_asset_symbol?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Uniswap position specifier
|
|
101
|
+
*/
|
|
102
|
+
specifier?: LPPositionDepositQuoteRequestInput.Specifier | null;
|
|
103
|
+
}
|
|
104
|
+
namespace LPPositionDepositQuoteRequestInput {
|
|
105
|
+
/**
|
|
106
|
+
* Uniswap position specifier
|
|
107
|
+
*/
|
|
108
|
+
interface Specifier {
|
|
109
|
+
/**
|
|
110
|
+
* A NFT
|
|
111
|
+
*/
|
|
112
|
+
position_nft: VektorAPI.NFT;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export declare namespace DepositQuote {
|
|
117
|
+
export { type DepositQuoteCreateResponse as DepositQuoteCreateResponse, type DepositQuoteCreateParams as DepositQuoteCreateParams, };
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=deposit-quote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deposit-quote.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/lp/deposit-quote.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGzG;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAC1B;AAED,MAAM,MAAM,wBAAwB,GAChC,wBAAwB,CAAC,8BAA8B,GACvD,wBAAwB,CAAC,kCAAkC,CAAC;AAEhE,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,UAAiB,8BAA8B;QAC7C;;WAEG;QACH,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC;QAE1B;;WAEG;QACH,KAAK,EAAE,SAAS,CAAC,gCAAgC,CAAC;QAElD;;WAEG;QACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;QAErD;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEnC;;;WAGG;QACH,KAAK,CAAC,EAAE,8BAA8B,CAAC,KAAK,GAAG,IAAI,CAAC;KACrD;IAED,UAAiB,8BAA8B,CAAC;QAC9C;;;WAGG;QACH,UAAiB,KAAK;YACpB;;eAEG;YACH,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;YAEzB;;eAEG;YACH,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;SAC1B;KACF;IAED,UAAiB,kCAAkC;QACjD;;WAEG;QACH,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC;QAE3B;;WAEG;QACH,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC;QAE1B;;WAEG;QACH,KAAK,EAAE,SAAS,CAAC,gCAAgC,CAAC;QAElD;;WAEG;QACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;QAErD;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEnC;;WAEG;QACH,SAAS,CAAC,EAAE,kCAAkC,CAAC,SAAS,GAAG,IAAI,CAAC;KACjE;IAED,UAAiB,kCAAkC,CAAC;QAClD;;WAEG;QACH,UAAiB,SAAS;YACxB;;eAEG;YACH,YAAY,EAAE,SAAS,CAAC,GAAG,CAAC;SAC7B;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DepositQuote = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
class DepositQuote extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulate depositing liquidity to a specific LP pool, creating a position or
|
|
9
|
+
* adding to an existing one.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const depositQuote =
|
|
14
|
+
* await client.vektor.lp.depositQuote.create({
|
|
15
|
+
* amount: '10.0000000000000024',
|
|
16
|
+
* asset: 'asset_01jbz9qc00f8wr64hfe459gb7y',
|
|
17
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
18
|
+
* lp_pool_id: 'lp_pool_01h455vb4pex5vsknk084sn02q',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
create(body, options) {
|
|
23
|
+
return this._client.post('/v1/vektor/lp/deposit_quote', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.DepositQuote = DepositQuote;
|
|
27
|
+
//# sourceMappingURL=deposit-quote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deposit-quote.js","sourceRoot":"","sources":["../../../src/resources/vektor/lp/deposit-quote.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAnBD,oCAmBC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
export class DepositQuote extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Simulate depositing liquidity to a specific LP pool, creating a position or
|
|
6
|
+
* adding to an existing one.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const depositQuote =
|
|
11
|
+
* await client.vektor.lp.depositQuote.create({
|
|
12
|
+
* amount: '10.0000000000000024',
|
|
13
|
+
* asset: 'asset_01jbz9qc00f8wr64hfe459gb7y',
|
|
14
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
15
|
+
* lp_pool_id: 'lp_pool_01h455vb4pex5vsknk084sn02q',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body, options) {
|
|
20
|
+
return this._client.post('/v1/vektor/lp/deposit_quote', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=deposit-quote.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deposit-quote.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/lp/deposit-quote.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DepositQuote, type DepositQuoteCreateResponse, type DepositQuoteCreateParams, } from "./deposit-quote.mjs";
|
|
2
|
+
export { LP } from "./lp.mjs";
|
|
3
|
+
export { Pools, type PoolListResponse, type PoolListHistoricalResponse, type PoolListParams, type PoolListHistoricalParams, } from "./pools.mjs";
|
|
4
|
+
export { Positions, type PositionListResponse, type PositionListHistoricalResponse, type PositionListParams, type PositionListHistoricalParams, } from "./positions.mjs";
|
|
5
|
+
export { WithdrawQuote, type WithdrawQuoteCreateResponse, type WithdrawQuoteCreateParams, } from "./withdraw-quote.mjs";
|
|
6
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/lp/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EAAE,EAAE,EAAE;OACN,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAC9B;OACM,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DepositQuote, type DepositQuoteCreateResponse, type DepositQuoteCreateParams, } from "./deposit-quote.js";
|
|
2
|
+
export { LP } from "./lp.js";
|
|
3
|
+
export { Pools, type PoolListResponse, type PoolListHistoricalResponse, type PoolListParams, type PoolListHistoricalParams, } from "./pools.js";
|
|
4
|
+
export { Positions, type PositionListResponse, type PositionListHistoricalResponse, type PositionListParams, type PositionListHistoricalParams, } from "./positions.js";
|
|
5
|
+
export { WithdrawQuote, type WithdrawQuoteCreateResponse, type WithdrawQuoteCreateParams, } from "./withdraw-quote.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/lp/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EAAE,EAAE,EAAE;OACN,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAC9B;OACM,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.WithdrawQuote = exports.Positions = exports.Pools = exports.LP = exports.DepositQuote = void 0;
|
|
5
|
+
var deposit_quote_1 = require("./deposit-quote.js");
|
|
6
|
+
Object.defineProperty(exports, "DepositQuote", { enumerable: true, get: function () { return deposit_quote_1.DepositQuote; } });
|
|
7
|
+
var lp_1 = require("./lp.js");
|
|
8
|
+
Object.defineProperty(exports, "LP", { enumerable: true, get: function () { return lp_1.LP; } });
|
|
9
|
+
var pools_1 = require("./pools.js");
|
|
10
|
+
Object.defineProperty(exports, "Pools", { enumerable: true, get: function () { return pools_1.Pools; } });
|
|
11
|
+
var positions_1 = require("./positions.js");
|
|
12
|
+
Object.defineProperty(exports, "Positions", { enumerable: true, get: function () { return positions_1.Positions; } });
|
|
13
|
+
var withdraw_quote_1 = require("./withdraw-quote.js");
|
|
14
|
+
Object.defineProperty(exports, "WithdrawQuote", { enumerable: true, get: function () { return withdraw_quote_1.WithdrawQuote; } });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/vektor/lp/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAIyB;AAHvB,6GAAA,YAAY,OAAA;AAId,8BAA0B;AAAjB,wFAAA,EAAE,OAAA;AACX,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,sDAI0B;AAHxB,+GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { DepositQuote, } from "./deposit-quote.mjs";
|
|
3
|
+
export { LP } from "./lp.mjs";
|
|
4
|
+
export { Pools, } from "./pools.mjs";
|
|
5
|
+
export { Positions, } from "./positions.mjs";
|
|
6
|
+
export { WithdrawQuote, } from "./withdraw-quote.mjs";
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/lp/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAGb;OACM,EAAE,EAAE,EAAE;OACN,EACL,KAAK,GAKN;OACM,EACL,SAAS,GAKV;OACM,EACL,aAAa,GAGd"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as DepositQuoteAPI from "./deposit-quote.mjs";
|
|
3
|
+
import { DepositQuote, DepositQuoteCreateParams, DepositQuoteCreateResponse } from "./deposit-quote.mjs";
|
|
4
|
+
import * as PoolsAPI from "./pools.mjs";
|
|
5
|
+
import { PoolListHistoricalParams, PoolListHistoricalResponse, PoolListParams, PoolListResponse, Pools } from "./pools.mjs";
|
|
6
|
+
import * as PositionsAPI from "./positions.mjs";
|
|
7
|
+
import { PositionListHistoricalParams, PositionListHistoricalResponse, PositionListParams, PositionListResponse, Positions } from "./positions.mjs";
|
|
8
|
+
import * as WithdrawQuoteAPI from "./withdraw-quote.mjs";
|
|
9
|
+
import { WithdrawQuote, WithdrawQuoteCreateParams, WithdrawQuoteCreateResponse } from "./withdraw-quote.mjs";
|
|
10
|
+
export declare class LP extends APIResource {
|
|
11
|
+
pools: PoolsAPI.Pools;
|
|
12
|
+
positions: PositionsAPI.Positions;
|
|
13
|
+
depositQuote: DepositQuoteAPI.DepositQuote;
|
|
14
|
+
withdrawQuote: WithdrawQuoteAPI.WithdrawQuote;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace LP {
|
|
17
|
+
export { Pools as Pools, type PoolListResponse as PoolListResponse, type PoolListHistoricalResponse as PoolListHistoricalResponse, type PoolListParams as PoolListParams, type PoolListHistoricalParams as PoolListHistoricalParams, };
|
|
18
|
+
export { Positions as Positions, type PositionListResponse as PositionListResponse, type PositionListHistoricalResponse as PositionListHistoricalResponse, type PositionListParams as PositionListParams, type PositionListHistoricalParams as PositionListHistoricalParams, };
|
|
19
|
+
export { DepositQuote as DepositQuote, type DepositQuoteCreateResponse as DepositQuoteCreateResponse, type DepositQuoteCreateParams as DepositQuoteCreateParams, };
|
|
20
|
+
export { WithdrawQuote as WithdrawQuote, type WithdrawQuoteCreateResponse as WithdrawQuoteCreateResponse, type WithdrawQuoteCreateParams as WithdrawQuoteCreateParams, };
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=lp.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lp.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/lp/lp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,YAAY,EAAE,wBAAwB,EAAE,0BAA0B,EAAE;OACtE,KAAK,QAAQ;OACb,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,gBAAgB,EAChB,KAAK,EACN;OACM,KAAK,YAAY;OACjB,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACV;OACM,KAAK,gBAAgB;OACrB,EAAE,aAAa,EAAE,yBAAyB,EAAE,2BAA2B,EAAE;AAEhF,qBAAa,EAAG,SAAQ,WAAW;IACjC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;CAClG;AAOD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as DepositQuoteAPI from "./deposit-quote.js";
|
|
3
|
+
import { DepositQuote, DepositQuoteCreateParams, DepositQuoteCreateResponse } from "./deposit-quote.js";
|
|
4
|
+
import * as PoolsAPI from "./pools.js";
|
|
5
|
+
import { PoolListHistoricalParams, PoolListHistoricalResponse, PoolListParams, PoolListResponse, Pools } from "./pools.js";
|
|
6
|
+
import * as PositionsAPI from "./positions.js";
|
|
7
|
+
import { PositionListHistoricalParams, PositionListHistoricalResponse, PositionListParams, PositionListResponse, Positions } from "./positions.js";
|
|
8
|
+
import * as WithdrawQuoteAPI from "./withdraw-quote.js";
|
|
9
|
+
import { WithdrawQuote, WithdrawQuoteCreateParams, WithdrawQuoteCreateResponse } from "./withdraw-quote.js";
|
|
10
|
+
export declare class LP extends APIResource {
|
|
11
|
+
pools: PoolsAPI.Pools;
|
|
12
|
+
positions: PositionsAPI.Positions;
|
|
13
|
+
depositQuote: DepositQuoteAPI.DepositQuote;
|
|
14
|
+
withdrawQuote: WithdrawQuoteAPI.WithdrawQuote;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace LP {
|
|
17
|
+
export { Pools as Pools, type PoolListResponse as PoolListResponse, type PoolListHistoricalResponse as PoolListHistoricalResponse, type PoolListParams as PoolListParams, type PoolListHistoricalParams as PoolListHistoricalParams, };
|
|
18
|
+
export { Positions as Positions, type PositionListResponse as PositionListResponse, type PositionListHistoricalResponse as PositionListHistoricalResponse, type PositionListParams as PositionListParams, type PositionListHistoricalParams as PositionListHistoricalParams, };
|
|
19
|
+
export { DepositQuote as DepositQuote, type DepositQuoteCreateResponse as DepositQuoteCreateResponse, type DepositQuoteCreateParams as DepositQuoteCreateParams, };
|
|
20
|
+
export { WithdrawQuote as WithdrawQuote, type WithdrawQuoteCreateResponse as WithdrawQuoteCreateResponse, type WithdrawQuoteCreateParams as WithdrawQuoteCreateParams, };
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=lp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lp.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/lp/lp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,YAAY,EAAE,wBAAwB,EAAE,0BAA0B,EAAE;OACtE,KAAK,QAAQ;OACb,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,cAAc,EACd,gBAAgB,EAChB,KAAK,EACN;OACM,KAAK,YAAY;OACjB,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACV;OACM,KAAK,gBAAgB;OACrB,EAAE,aAAa,EAAE,yBAAyB,EAAE,2BAA2B,EAAE;AAEhF,qBAAa,EAAG,SAAQ,WAAW;IACjC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;CAClG;AAOD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LP = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const DepositQuoteAPI = tslib_1.__importStar(require("./deposit-quote.js"));
|
|
8
|
+
const deposit_quote_1 = require("./deposit-quote.js");
|
|
9
|
+
const PoolsAPI = tslib_1.__importStar(require("./pools.js"));
|
|
10
|
+
const pools_1 = require("./pools.js");
|
|
11
|
+
const PositionsAPI = tslib_1.__importStar(require("./positions.js"));
|
|
12
|
+
const positions_1 = require("./positions.js");
|
|
13
|
+
const WithdrawQuoteAPI = tslib_1.__importStar(require("./withdraw-quote.js"));
|
|
14
|
+
const withdraw_quote_1 = require("./withdraw-quote.js");
|
|
15
|
+
class LP extends resource_1.APIResource {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.pools = new PoolsAPI.Pools(this._client);
|
|
19
|
+
this.positions = new PositionsAPI.Positions(this._client);
|
|
20
|
+
this.depositQuote = new DepositQuoteAPI.DepositQuote(this._client);
|
|
21
|
+
this.withdrawQuote = new WithdrawQuoteAPI.WithdrawQuote(this._client);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.LP = LP;
|
|
25
|
+
LP.Pools = pools_1.Pools;
|
|
26
|
+
LP.Positions = positions_1.Positions;
|
|
27
|
+
LP.DepositQuote = deposit_quote_1.DepositQuote;
|
|
28
|
+
LP.WithdrawQuote = withdraw_quote_1.WithdrawQuote;
|
|
29
|
+
//# sourceMappingURL=lp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lp.js","sourceRoot":"","sources":["../../../src/resources/vektor/lp/lp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,4EAAmD;AACnD,sDAAqG;AACrG,6DAAoC;AACpC,sCAMiB;AACjB,qEAA4C;AAC5C,8CAMqB;AACrB,8EAAqD;AACrD,wDAAyG;AAEzG,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnG,CAAC;CAAA;AALD,gBAKC;AAED,EAAE,CAAC,KAAK,GAAG,aAAK,CAAC;AACjB,EAAE,CAAC,SAAS,GAAG,qBAAS,CAAC;AACzB,EAAE,CAAC,YAAY,GAAG,4BAAY,CAAC;AAC/B,EAAE,CAAC,aAAa,GAAG,8BAAa,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as DepositQuoteAPI from "./deposit-quote.mjs";
|
|
4
|
+
import { DepositQuote } from "./deposit-quote.mjs";
|
|
5
|
+
import * as PoolsAPI from "./pools.mjs";
|
|
6
|
+
import { Pools, } from "./pools.mjs";
|
|
7
|
+
import * as PositionsAPI from "./positions.mjs";
|
|
8
|
+
import { Positions, } from "./positions.mjs";
|
|
9
|
+
import * as WithdrawQuoteAPI from "./withdraw-quote.mjs";
|
|
10
|
+
import { WithdrawQuote } from "./withdraw-quote.mjs";
|
|
11
|
+
export class LP extends APIResource {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.pools = new PoolsAPI.Pools(this._client);
|
|
15
|
+
this.positions = new PositionsAPI.Positions(this._client);
|
|
16
|
+
this.depositQuote = new DepositQuoteAPI.DepositQuote(this._client);
|
|
17
|
+
this.withdrawQuote = new WithdrawQuoteAPI.WithdrawQuote(this._client);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
LP.Pools = Pools;
|
|
21
|
+
LP.Positions = Positions;
|
|
22
|
+
LP.DepositQuote = DepositQuote;
|
|
23
|
+
LP.WithdrawQuote = WithdrawQuote;
|
|
24
|
+
//# sourceMappingURL=lp.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lp.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/lp/lp.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,YAAY,EAAwD;OACtE,KAAK,QAAQ;OACb,EAKL,KAAK,GACN;OACM,KAAK,YAAY;OACjB,EAKL,SAAS,GACV;OACM,KAAK,gBAAgB;OACrB,EAAE,aAAa,EAA0D;AAEhF,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnG,CAAC;CAAA;AAED,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;AACjB,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC;AAC/B,EAAE,CAAC,aAAa,GAAG,aAAa,CAAC"}
|