@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,2836 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as VektorAPI from "./vektor.js";
|
|
3
|
+
import * as BalancesAPI from "./balances.js";
|
|
4
|
+
import { BalanceListHistoricalParams, BalanceListHistoricalResponse, BalanceListParams, BalanceListResponse, Balances } from "./balances.js";
|
|
5
|
+
import * as IncentivizeAPI from "./incentivize.js";
|
|
6
|
+
import { Incentivize, IncentivizeListParams, IncentivizeListResponse } from "./incentivize.js";
|
|
7
|
+
import * as MoveAPI from "./move.js";
|
|
8
|
+
import { Move, MoveCreateParams } from "./move.js";
|
|
9
|
+
import * as PricesAPI from "./prices.js";
|
|
10
|
+
import { PriceListHistoricalParams, PriceListHistoricalResponse, PriceListParams, PriceListResponse, Prices } from "./prices.js";
|
|
11
|
+
import * as BorrowAPI from "./borrow/borrow.js";
|
|
12
|
+
import { Borrow } from "./borrow/borrow.js";
|
|
13
|
+
import * as BridgeAPI from "./bridge/bridge.js";
|
|
14
|
+
import { Bridge } from "./bridge/bridge.js";
|
|
15
|
+
import * as BuyAPI from "./buy/buy.js";
|
|
16
|
+
import { Buy } from "./buy/buy.js";
|
|
17
|
+
import * as ExecutionsAPI from "./executions/executions.js";
|
|
18
|
+
import { ExecutionListResponse, Executions } from "./executions/executions.js";
|
|
19
|
+
import * as LendAPI from "./lend/lend.js";
|
|
20
|
+
import { Lend } from "./lend/lend.js";
|
|
21
|
+
import * as LockAPI from "./lock/lock.js";
|
|
22
|
+
import { Lock } from "./lock/lock.js";
|
|
23
|
+
import * as LPAPI from "./lp/lp.js";
|
|
24
|
+
import { LP } from "./lp/lp.js";
|
|
25
|
+
import * as RegistryAPI from "./registry/registry.js";
|
|
26
|
+
import { Registry } from "./registry/registry.js";
|
|
27
|
+
import * as SellAPI from "./sell/sell.js";
|
|
28
|
+
import { Sell } from "./sell/sell.js";
|
|
29
|
+
import * as VoteAPI from "./vote/vote.js";
|
|
30
|
+
import { Vote } from "./vote/vote.js";
|
|
31
|
+
import * as WrapAPI from "./wrap/wrap.js";
|
|
32
|
+
import { Wrap } from "./wrap/wrap.js";
|
|
33
|
+
export declare class Vektor extends APIResource {
|
|
34
|
+
registry: RegistryAPI.Registry;
|
|
35
|
+
balances: BalancesAPI.Balances;
|
|
36
|
+
prices: PricesAPI.Prices;
|
|
37
|
+
lend: LendAPI.Lend;
|
|
38
|
+
borrow: BorrowAPI.Borrow;
|
|
39
|
+
lp: LPAPI.LP;
|
|
40
|
+
buy: BuyAPI.Buy;
|
|
41
|
+
sell: SellAPI.Sell;
|
|
42
|
+
move: MoveAPI.Move;
|
|
43
|
+
wrap: WrapAPI.Wrap;
|
|
44
|
+
bridge: BridgeAPI.Bridge;
|
|
45
|
+
lock: LockAPI.Lock;
|
|
46
|
+
vote: VoteAPI.Vote;
|
|
47
|
+
incentivize: IncentivizeAPI.Incentivize;
|
|
48
|
+
executions: ExecutionsAPI.Executions;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* An EVM address
|
|
52
|
+
*/
|
|
53
|
+
export type Account = string;
|
|
54
|
+
/**
|
|
55
|
+
* An EVM address
|
|
56
|
+
*/
|
|
57
|
+
export type AddressEVM = string;
|
|
58
|
+
/**
|
|
59
|
+
* APY Data
|
|
60
|
+
*/
|
|
61
|
+
export interface APY {
|
|
62
|
+
/**
|
|
63
|
+
* An arbitrary precision decimal represented as a string
|
|
64
|
+
*/
|
|
65
|
+
apy: Decimal;
|
|
66
|
+
/**
|
|
67
|
+
* On-chain asset (aka token)
|
|
68
|
+
*/
|
|
69
|
+
asset: Asset;
|
|
70
|
+
/**
|
|
71
|
+
* APY Type
|
|
72
|
+
*/
|
|
73
|
+
type: 'fixed' | 'variable';
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* On-chain asset (aka token)
|
|
77
|
+
*/
|
|
78
|
+
export interface Asset {
|
|
79
|
+
/**
|
|
80
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
81
|
+
*/
|
|
82
|
+
id: AssetID;
|
|
83
|
+
/**
|
|
84
|
+
* An EVM address
|
|
85
|
+
*/
|
|
86
|
+
address: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* Data about a blockchain
|
|
89
|
+
*/
|
|
90
|
+
blockchain: Blockchain;
|
|
91
|
+
/**
|
|
92
|
+
* Asset's decimal places
|
|
93
|
+
*/
|
|
94
|
+
decimals: number;
|
|
95
|
+
/**
|
|
96
|
+
* Asset's name
|
|
97
|
+
*/
|
|
98
|
+
name: string;
|
|
99
|
+
/**
|
|
100
|
+
* Asset's symbol
|
|
101
|
+
*/
|
|
102
|
+
symbol: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
106
|
+
*/
|
|
107
|
+
export type AssetID = string;
|
|
108
|
+
/**
|
|
109
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
110
|
+
*/
|
|
111
|
+
export type AssetIDOrAddressEVMOrAssetSymbol = string;
|
|
112
|
+
/**
|
|
113
|
+
* An asset symbol
|
|
114
|
+
*/
|
|
115
|
+
export type AssetSymbol = string;
|
|
116
|
+
/**
|
|
117
|
+
* Balance properties
|
|
118
|
+
*/
|
|
119
|
+
export interface Balance {
|
|
120
|
+
/**
|
|
121
|
+
* An EVM address
|
|
122
|
+
*/
|
|
123
|
+
account: AddressEVM;
|
|
124
|
+
/**
|
|
125
|
+
* An arbitrary precision decimal represented as a string
|
|
126
|
+
*/
|
|
127
|
+
amount: Decimal;
|
|
128
|
+
/**
|
|
129
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
130
|
+
*/
|
|
131
|
+
asset_id: AssetID;
|
|
132
|
+
/**
|
|
133
|
+
* Information about a specific block number and its timestamp
|
|
134
|
+
*/
|
|
135
|
+
blockstamp: Blockstamp;
|
|
136
|
+
/**
|
|
137
|
+
* An arbitrary precision decimal represented as a string
|
|
138
|
+
*/
|
|
139
|
+
value: Decimal;
|
|
140
|
+
/**
|
|
141
|
+
* An asset symbol
|
|
142
|
+
*/
|
|
143
|
+
quote_asset_symbol?: string | null;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* A block number
|
|
147
|
+
*/
|
|
148
|
+
export type BlockNumber = number;
|
|
149
|
+
/**
|
|
150
|
+
* Data about a blockchain
|
|
151
|
+
*/
|
|
152
|
+
export interface Blockchain {
|
|
153
|
+
/**
|
|
154
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
155
|
+
*/
|
|
156
|
+
id: BlockchainID;
|
|
157
|
+
/**
|
|
158
|
+
* Data about an EVM blockchain
|
|
159
|
+
*/
|
|
160
|
+
chain_data: EVMChainData;
|
|
161
|
+
/**
|
|
162
|
+
* Blockchain ecosystem
|
|
163
|
+
*/
|
|
164
|
+
chain_type: ChainType;
|
|
165
|
+
/**
|
|
166
|
+
* The blockchain's explorer URL
|
|
167
|
+
*/
|
|
168
|
+
explorer_url: string;
|
|
169
|
+
/**
|
|
170
|
+
* BlockchainName
|
|
171
|
+
*/
|
|
172
|
+
name: BlockchainName;
|
|
173
|
+
/**
|
|
174
|
+
* Blockchain's network
|
|
175
|
+
*/
|
|
176
|
+
network: NetworkName;
|
|
177
|
+
/**
|
|
178
|
+
* A blockchain symbol
|
|
179
|
+
*/
|
|
180
|
+
symbol: BlockchainSymbol;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
184
|
+
*/
|
|
185
|
+
export type BlockchainID = string;
|
|
186
|
+
/**
|
|
187
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
188
|
+
*/
|
|
189
|
+
export type BlockchainIDOrBlockchainSymbol = string;
|
|
190
|
+
/**
|
|
191
|
+
* BlockchainName
|
|
192
|
+
*/
|
|
193
|
+
export type BlockchainName = string;
|
|
194
|
+
/**
|
|
195
|
+
* A blockchain symbol
|
|
196
|
+
*/
|
|
197
|
+
export type BlockchainSymbol = string;
|
|
198
|
+
/**
|
|
199
|
+
* Information about a specific block number and its timestamp
|
|
200
|
+
*/
|
|
201
|
+
export interface Blockstamp {
|
|
202
|
+
/**
|
|
203
|
+
* A block number
|
|
204
|
+
*/
|
|
205
|
+
block_number: BlockNumber;
|
|
206
|
+
/**
|
|
207
|
+
* Data about a blockchain
|
|
208
|
+
*/
|
|
209
|
+
blockchain: Blockchain;
|
|
210
|
+
/**
|
|
211
|
+
* ISO8601 Timestamp
|
|
212
|
+
*/
|
|
213
|
+
timestamp: Timestamp;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* A borrow account
|
|
217
|
+
*/
|
|
218
|
+
export interface BorrowAccount {
|
|
219
|
+
/**
|
|
220
|
+
* An EVM address
|
|
221
|
+
*/
|
|
222
|
+
account: Account;
|
|
223
|
+
/**
|
|
224
|
+
* An arbitrary precision decimal represented as a string
|
|
225
|
+
*/
|
|
226
|
+
available_borrow: Decimal;
|
|
227
|
+
/**
|
|
228
|
+
* Information about a specific block number and its timestamp
|
|
229
|
+
*/
|
|
230
|
+
blockstamp: Blockstamp;
|
|
231
|
+
/**
|
|
232
|
+
* An arbitrary precision decimal represented as a string
|
|
233
|
+
*/
|
|
234
|
+
health_factor: Decimal;
|
|
235
|
+
/**
|
|
236
|
+
* An asset symbol
|
|
237
|
+
*/
|
|
238
|
+
quote_asset_symbol: string | null;
|
|
239
|
+
/**
|
|
240
|
+
* An arbitrary precision decimal represented as a string
|
|
241
|
+
*/
|
|
242
|
+
total_collateral: Decimal;
|
|
243
|
+
/**
|
|
244
|
+
* An arbitrary precision decimal represented as a string
|
|
245
|
+
*/
|
|
246
|
+
total_debt: Decimal;
|
|
247
|
+
/**
|
|
248
|
+
* On-chain venue
|
|
249
|
+
*/
|
|
250
|
+
venue: Venue;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* A borrow market
|
|
254
|
+
*/
|
|
255
|
+
export interface BorrowMarket {
|
|
256
|
+
/**
|
|
257
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
258
|
+
* prefix
|
|
259
|
+
*/
|
|
260
|
+
id: LendBorrowMarketID;
|
|
261
|
+
/**
|
|
262
|
+
* APY Data for lend/borrow markets
|
|
263
|
+
*/
|
|
264
|
+
apys: LendBorrowAPYs;
|
|
265
|
+
/**
|
|
266
|
+
* On-chain asset (aka token)
|
|
267
|
+
*/
|
|
268
|
+
asset: Asset;
|
|
269
|
+
/**
|
|
270
|
+
* Information about a specific block number and its timestamp
|
|
271
|
+
*/
|
|
272
|
+
blockstamp: Blockstamp;
|
|
273
|
+
/**
|
|
274
|
+
* An arbitrary precision decimal represented as a string
|
|
275
|
+
*/
|
|
276
|
+
liquidity: Decimal;
|
|
277
|
+
/**
|
|
278
|
+
* An asset symbol
|
|
279
|
+
*/
|
|
280
|
+
quote_asset_symbol: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* An arbitrary precision decimal represented as a string
|
|
283
|
+
*/
|
|
284
|
+
total_debt: Decimal;
|
|
285
|
+
/**
|
|
286
|
+
* On-chain venue
|
|
287
|
+
*/
|
|
288
|
+
venue: Venue;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* A borrow position
|
|
292
|
+
*/
|
|
293
|
+
export interface BorrowPosition {
|
|
294
|
+
/**
|
|
295
|
+
* An EVM address
|
|
296
|
+
*/
|
|
297
|
+
account: Account;
|
|
298
|
+
/**
|
|
299
|
+
* Information about a specific block number and its timestamp
|
|
300
|
+
*/
|
|
301
|
+
blockstamp: Blockstamp;
|
|
302
|
+
/**
|
|
303
|
+
* An arbitrary precision decimal represented as a string
|
|
304
|
+
*/
|
|
305
|
+
debt_amount: Decimal;
|
|
306
|
+
/**
|
|
307
|
+
* A borrow market
|
|
308
|
+
*/
|
|
309
|
+
market: BorrowMarket;
|
|
310
|
+
/**
|
|
311
|
+
* An asset symbol
|
|
312
|
+
*/
|
|
313
|
+
quote_asset_symbol: string | null;
|
|
314
|
+
/**
|
|
315
|
+
* An arbitrary precision decimal represented as a string
|
|
316
|
+
*/
|
|
317
|
+
value: string | null;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* A bridge quote
|
|
321
|
+
*/
|
|
322
|
+
export interface BridgeQuote {
|
|
323
|
+
/**
|
|
324
|
+
* Estimated cost of an operation
|
|
325
|
+
*/
|
|
326
|
+
fee_estimate: BridgeQuote.FeeEstimate | null;
|
|
327
|
+
/**
|
|
328
|
+
* An arbitrary precision decimal represented as a string
|
|
329
|
+
*/
|
|
330
|
+
receive_amount: Decimal;
|
|
331
|
+
/**
|
|
332
|
+
* On-chain asset (aka token)
|
|
333
|
+
*/
|
|
334
|
+
receive_asset: Asset;
|
|
335
|
+
/**
|
|
336
|
+
* Estimated time to receive the asset (in seconds)
|
|
337
|
+
*/
|
|
338
|
+
receive_time_est: number;
|
|
339
|
+
/**
|
|
340
|
+
* The route name
|
|
341
|
+
*/
|
|
342
|
+
route: string;
|
|
343
|
+
/**
|
|
344
|
+
* An arbitrary precision decimal represented as a string
|
|
345
|
+
*/
|
|
346
|
+
send_amount: Decimal;
|
|
347
|
+
/**
|
|
348
|
+
* On-chain asset (aka token)
|
|
349
|
+
*/
|
|
350
|
+
send_asset: Asset;
|
|
351
|
+
/**
|
|
352
|
+
* On-chain venue
|
|
353
|
+
*/
|
|
354
|
+
venue: Venue;
|
|
355
|
+
}
|
|
356
|
+
export declare namespace BridgeQuote {
|
|
357
|
+
/**
|
|
358
|
+
* Estimated cost of an operation
|
|
359
|
+
*/
|
|
360
|
+
interface FeeEstimate {
|
|
361
|
+
/**
|
|
362
|
+
* An arbitrary precision decimal represented as a string
|
|
363
|
+
*/
|
|
364
|
+
amount: VektorAPI.Decimal;
|
|
365
|
+
/**
|
|
366
|
+
* On-chain asset (aka token)
|
|
367
|
+
*/
|
|
368
|
+
asset: VektorAPI.Asset;
|
|
369
|
+
/**
|
|
370
|
+
* An arbitrary precision decimal represented as a string
|
|
371
|
+
*/
|
|
372
|
+
cost: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* An asset symbol
|
|
375
|
+
*/
|
|
376
|
+
quote_asset_symbol: string | null;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* A buy quote
|
|
381
|
+
*/
|
|
382
|
+
export interface BuyQuote {
|
|
383
|
+
/**
|
|
384
|
+
* Data about a blockchain
|
|
385
|
+
*/
|
|
386
|
+
blockchain: Blockchain;
|
|
387
|
+
/**
|
|
388
|
+
* Estimated cost of an operation
|
|
389
|
+
*/
|
|
390
|
+
fee_estimate: BuyQuote.FeeEstimate | null;
|
|
391
|
+
/**
|
|
392
|
+
* An asset symbol
|
|
393
|
+
*/
|
|
394
|
+
quote_asset_symbol: string | null;
|
|
395
|
+
/**
|
|
396
|
+
* Quote info for buy quotes
|
|
397
|
+
*/
|
|
398
|
+
quote_info: QuoteInfoUniswapV2 | QuoteInfoUniswapV3;
|
|
399
|
+
/**
|
|
400
|
+
* An arbitrary precision decimal represented as a string
|
|
401
|
+
*/
|
|
402
|
+
quote_value: string | null;
|
|
403
|
+
/**
|
|
404
|
+
* An arbitrary precision decimal represented as a string
|
|
405
|
+
*/
|
|
406
|
+
receive_amount: Decimal;
|
|
407
|
+
/**
|
|
408
|
+
* On-chain asset (aka token)
|
|
409
|
+
*/
|
|
410
|
+
receive_asset: Asset;
|
|
411
|
+
/**
|
|
412
|
+
* An arbitrary precision decimal represented as a string
|
|
413
|
+
*/
|
|
414
|
+
spend_amount: Decimal;
|
|
415
|
+
/**
|
|
416
|
+
* On-chain asset (aka token)
|
|
417
|
+
*/
|
|
418
|
+
spend_asset: Asset;
|
|
419
|
+
/**
|
|
420
|
+
* On-chain venue
|
|
421
|
+
*/
|
|
422
|
+
venue: Venue;
|
|
423
|
+
}
|
|
424
|
+
export declare namespace BuyQuote {
|
|
425
|
+
/**
|
|
426
|
+
* Estimated cost of an operation
|
|
427
|
+
*/
|
|
428
|
+
interface FeeEstimate {
|
|
429
|
+
/**
|
|
430
|
+
* An arbitrary precision decimal represented as a string
|
|
431
|
+
*/
|
|
432
|
+
amount: VektorAPI.Decimal;
|
|
433
|
+
/**
|
|
434
|
+
* On-chain asset (aka token)
|
|
435
|
+
*/
|
|
436
|
+
asset: VektorAPI.Asset;
|
|
437
|
+
/**
|
|
438
|
+
* An arbitrary precision decimal represented as a string
|
|
439
|
+
*/
|
|
440
|
+
cost: string | null;
|
|
441
|
+
/**
|
|
442
|
+
* An asset symbol
|
|
443
|
+
*/
|
|
444
|
+
quote_asset_symbol: string | null;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Blockchain ecosystem
|
|
449
|
+
*/
|
|
450
|
+
export type ChainType = 'evm';
|
|
451
|
+
/**
|
|
452
|
+
* An arbitrary precision decimal represented as a string
|
|
453
|
+
*/
|
|
454
|
+
export type Decimal = string;
|
|
455
|
+
/**
|
|
456
|
+
* Wraps a list of errors into an error response
|
|
457
|
+
*/
|
|
458
|
+
export interface ErrorWrapper {
|
|
459
|
+
/**
|
|
460
|
+
* A list of errors
|
|
461
|
+
*/
|
|
462
|
+
errors?: Array<VektorError>;
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* Data about an EVM blockchain
|
|
466
|
+
*/
|
|
467
|
+
export interface EVMChainData {
|
|
468
|
+
/**
|
|
469
|
+
* Chain ID
|
|
470
|
+
*/
|
|
471
|
+
chain_id: number;
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* An execution
|
|
475
|
+
*/
|
|
476
|
+
export interface Execution {
|
|
477
|
+
/**
|
|
478
|
+
* An execution ID, represented as a TypeID with `execution` prefix
|
|
479
|
+
*/
|
|
480
|
+
id: ExecutionID;
|
|
481
|
+
/**
|
|
482
|
+
* ISO8601 Timestamp
|
|
483
|
+
*/
|
|
484
|
+
created_at: Timestamp;
|
|
485
|
+
/**
|
|
486
|
+
* An execution request
|
|
487
|
+
*/
|
|
488
|
+
request: Execution.BuyRequestFull | Execution.LendRequestFull | Execution.LendSetCollateralRequestFull | Execution.LendWithdrawRequestFull | Execution.MoveRequestFull | Execution.SellRequestFull | Execution.WrapRequestFull | Execution.UnwrapRequestFull;
|
|
489
|
+
/**
|
|
490
|
+
* An execution step ID, represented as a TypeID with `execution_step` prefix
|
|
491
|
+
*/
|
|
492
|
+
request_action_step_id: string | null;
|
|
493
|
+
/**
|
|
494
|
+
* The state of an execution
|
|
495
|
+
*/
|
|
496
|
+
state: ExecutionState;
|
|
497
|
+
step_action_url: string | null;
|
|
498
|
+
/**
|
|
499
|
+
* A list of execution steps
|
|
500
|
+
*/
|
|
501
|
+
steps: Array<Execution.Step>;
|
|
502
|
+
/**
|
|
503
|
+
* ISO8601 Timestamp
|
|
504
|
+
*/
|
|
505
|
+
updated_at: Timestamp;
|
|
506
|
+
}
|
|
507
|
+
export declare namespace Execution {
|
|
508
|
+
/**
|
|
509
|
+
* A request to buy an asset
|
|
510
|
+
*/
|
|
511
|
+
interface BuyRequestFull {
|
|
512
|
+
/**
|
|
513
|
+
* Data about a blockchain
|
|
514
|
+
*/
|
|
515
|
+
blockchain: VektorAPI.Blockchain;
|
|
516
|
+
/**
|
|
517
|
+
* An EVM address
|
|
518
|
+
*/
|
|
519
|
+
from: VektorAPI.Account;
|
|
520
|
+
/**
|
|
521
|
+
* An arbitrary precision decimal represented as a string
|
|
522
|
+
*/
|
|
523
|
+
receive_amount: VektorAPI.Decimal;
|
|
524
|
+
/**
|
|
525
|
+
* On-chain asset (aka token)
|
|
526
|
+
*/
|
|
527
|
+
receive_asset: VektorAPI.Asset;
|
|
528
|
+
/**
|
|
529
|
+
* An arbitrary precision decimal represented as a string
|
|
530
|
+
*/
|
|
531
|
+
slippage: VektorAPI.Decimal;
|
|
532
|
+
/**
|
|
533
|
+
* On-chain asset (aka token)
|
|
534
|
+
*/
|
|
535
|
+
spend_asset: VektorAPI.Asset;
|
|
536
|
+
/**
|
|
537
|
+
* A list of venues
|
|
538
|
+
*/
|
|
539
|
+
venues: Array<VektorAPI.Venue>;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* A request to lend an asset
|
|
543
|
+
*/
|
|
544
|
+
interface LendRequestFull {
|
|
545
|
+
/**
|
|
546
|
+
* An arbitrary precision decimal represented as a string
|
|
547
|
+
*/
|
|
548
|
+
amount: VektorAPI.Decimal;
|
|
549
|
+
/**
|
|
550
|
+
* On-chain asset (aka token)
|
|
551
|
+
*/
|
|
552
|
+
asset: VektorAPI.Asset;
|
|
553
|
+
/**
|
|
554
|
+
* Data about a blockchain
|
|
555
|
+
*/
|
|
556
|
+
blockchain: VektorAPI.Blockchain;
|
|
557
|
+
/**
|
|
558
|
+
* An EVM address
|
|
559
|
+
*/
|
|
560
|
+
from: VektorAPI.Account;
|
|
561
|
+
/**
|
|
562
|
+
* A list of venues
|
|
563
|
+
*/
|
|
564
|
+
venues: Array<VektorAPI.Venue>;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* A request to set/unset a position as collateral
|
|
568
|
+
*/
|
|
569
|
+
interface LendSetCollateralRequestFull {
|
|
570
|
+
/**
|
|
571
|
+
* Data about a blockchain
|
|
572
|
+
*/
|
|
573
|
+
blockchain: VektorAPI.Blockchain;
|
|
574
|
+
/**
|
|
575
|
+
* An EVM address
|
|
576
|
+
*/
|
|
577
|
+
from: VektorAPI.Account;
|
|
578
|
+
/**
|
|
579
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
580
|
+
* prefix
|
|
581
|
+
*/
|
|
582
|
+
market_id: VektorAPI.LendBorrowMarketID;
|
|
583
|
+
status: boolean;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* A request to withdraw an asset
|
|
587
|
+
*/
|
|
588
|
+
interface LendWithdrawRequestFull {
|
|
589
|
+
/**
|
|
590
|
+
* An arbitrary precision decimal represented as a string
|
|
591
|
+
*/
|
|
592
|
+
amount: string | null;
|
|
593
|
+
/**
|
|
594
|
+
* Data about a blockchain
|
|
595
|
+
*/
|
|
596
|
+
blockchain: VektorAPI.Blockchain;
|
|
597
|
+
/**
|
|
598
|
+
* An EVM address
|
|
599
|
+
*/
|
|
600
|
+
from: VektorAPI.Account;
|
|
601
|
+
/**
|
|
602
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
603
|
+
* prefix
|
|
604
|
+
*/
|
|
605
|
+
market_id: VektorAPI.LendBorrowMarketID;
|
|
606
|
+
/**
|
|
607
|
+
* On-chain asset (aka token)
|
|
608
|
+
*/
|
|
609
|
+
asset?: LendWithdrawRequestFull.Asset | null;
|
|
610
|
+
}
|
|
611
|
+
namespace LendWithdrawRequestFull {
|
|
612
|
+
/**
|
|
613
|
+
* On-chain asset (aka token)
|
|
614
|
+
*/
|
|
615
|
+
interface Asset {
|
|
616
|
+
/**
|
|
617
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
618
|
+
*/
|
|
619
|
+
id: VektorAPI.AssetID;
|
|
620
|
+
/**
|
|
621
|
+
* An EVM address
|
|
622
|
+
*/
|
|
623
|
+
address: string | null;
|
|
624
|
+
/**
|
|
625
|
+
* Data about a blockchain
|
|
626
|
+
*/
|
|
627
|
+
blockchain: VektorAPI.Blockchain;
|
|
628
|
+
/**
|
|
629
|
+
* Asset's decimal places
|
|
630
|
+
*/
|
|
631
|
+
decimals: number;
|
|
632
|
+
/**
|
|
633
|
+
* Asset's name
|
|
634
|
+
*/
|
|
635
|
+
name: string;
|
|
636
|
+
/**
|
|
637
|
+
* Asset's symbol
|
|
638
|
+
*/
|
|
639
|
+
symbol: string;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* A request to move assets from one account to another
|
|
644
|
+
*/
|
|
645
|
+
interface MoveRequestFull {
|
|
646
|
+
/**
|
|
647
|
+
* An arbitrary precision decimal represented as a string
|
|
648
|
+
*/
|
|
649
|
+
amount: VektorAPI.Decimal;
|
|
650
|
+
/**
|
|
651
|
+
* On-chain asset (aka token)
|
|
652
|
+
*/
|
|
653
|
+
asset: VektorAPI.Asset;
|
|
654
|
+
/**
|
|
655
|
+
* Data about a blockchain
|
|
656
|
+
*/
|
|
657
|
+
blockchain: VektorAPI.Blockchain;
|
|
658
|
+
/**
|
|
659
|
+
* An EVM address
|
|
660
|
+
*/
|
|
661
|
+
from: VektorAPI.Account;
|
|
662
|
+
/**
|
|
663
|
+
* An EVM address
|
|
664
|
+
*/
|
|
665
|
+
to: VektorAPI.Account;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* A request to sell an asset
|
|
669
|
+
*/
|
|
670
|
+
interface SellRequestFull {
|
|
671
|
+
/**
|
|
672
|
+
* Data about a blockchain
|
|
673
|
+
*/
|
|
674
|
+
blockchain: VektorAPI.Blockchain;
|
|
675
|
+
/**
|
|
676
|
+
* An EVM address
|
|
677
|
+
*/
|
|
678
|
+
from: VektorAPI.Account;
|
|
679
|
+
/**
|
|
680
|
+
* On-chain asset (aka token)
|
|
681
|
+
*/
|
|
682
|
+
receive_asset: VektorAPI.Asset;
|
|
683
|
+
/**
|
|
684
|
+
* An arbitrary precision decimal represented as a string
|
|
685
|
+
*/
|
|
686
|
+
slippage: VektorAPI.Decimal;
|
|
687
|
+
/**
|
|
688
|
+
* An arbitrary precision decimal represented as a string
|
|
689
|
+
*/
|
|
690
|
+
spend_amount: VektorAPI.Decimal;
|
|
691
|
+
/**
|
|
692
|
+
* On-chain asset (aka token)
|
|
693
|
+
*/
|
|
694
|
+
spend_asset: VektorAPI.Asset;
|
|
695
|
+
/**
|
|
696
|
+
* A list of venues
|
|
697
|
+
*/
|
|
698
|
+
venues: Array<VektorAPI.Venue>;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* A request to wrap the native asset
|
|
702
|
+
*/
|
|
703
|
+
interface WrapRequestFull {
|
|
704
|
+
/**
|
|
705
|
+
* An arbitrary precision decimal represented as a string
|
|
706
|
+
*/
|
|
707
|
+
amount: VektorAPI.Decimal;
|
|
708
|
+
/**
|
|
709
|
+
* Data about a blockchain
|
|
710
|
+
*/
|
|
711
|
+
blockchain: VektorAPI.Blockchain;
|
|
712
|
+
/**
|
|
713
|
+
* An EVM address
|
|
714
|
+
*/
|
|
715
|
+
from: VektorAPI.Account;
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* A request to unwrap the wrapped native asset
|
|
719
|
+
*/
|
|
720
|
+
interface UnwrapRequestFull {
|
|
721
|
+
/**
|
|
722
|
+
* An arbitrary precision decimal represented as a string
|
|
723
|
+
*/
|
|
724
|
+
amount: VektorAPI.Decimal;
|
|
725
|
+
/**
|
|
726
|
+
* Data about a blockchain
|
|
727
|
+
*/
|
|
728
|
+
blockchain: VektorAPI.Blockchain;
|
|
729
|
+
/**
|
|
730
|
+
* An EVM address
|
|
731
|
+
*/
|
|
732
|
+
from: VektorAPI.Account;
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* An execution step
|
|
736
|
+
*/
|
|
737
|
+
interface Step {
|
|
738
|
+
/**
|
|
739
|
+
* An execution step ID, represented as a TypeID with `execution_step` prefix
|
|
740
|
+
*/
|
|
741
|
+
id: VektorAPI.ExecutionStepID;
|
|
742
|
+
/**
|
|
743
|
+
* ISO8601 Timestamp
|
|
744
|
+
*/
|
|
745
|
+
created_at: VektorAPI.Timestamp;
|
|
746
|
+
/**
|
|
747
|
+
* The definition of an execution step
|
|
748
|
+
*/
|
|
749
|
+
definition: Step.ExecutionEVMTransactionApprove | Step.ExecutionEVMTransactionBuy | Step.ExecutionEVMTransactionLend | Step.ExecutionEVMTransactionLendSetCollateral | Step.ExecutionEVMTransactionLendWithdraw | Step.ExecutionEVMTransactionMove | Step.ExecutionEVMTransactionPermission | Step.ExecutionEVMTransactionUnwrap | Step.ExecutionEVMTransactionWrap | Step.ExecutionEVMTransactionSell;
|
|
750
|
+
index: number;
|
|
751
|
+
/**
|
|
752
|
+
* The type of an execution step
|
|
753
|
+
*/
|
|
754
|
+
type: 'evm_transaction_approve' | 'evm_transaction_buy' | 'evm_transaction_lend' | 'evm_transaction_lend_set_collateral' | 'evm_transaction_lend_withdraw' | 'evm_transaction_move' | 'evm_transaction_permission' | 'evm_transaction_wrap' | 'evm_transaction_unwrap' | 'evm_transaction_sell';
|
|
755
|
+
/**
|
|
756
|
+
* ISO8601 Timestamp
|
|
757
|
+
*/
|
|
758
|
+
updated_at: VektorAPI.Timestamp;
|
|
759
|
+
}
|
|
760
|
+
namespace Step {
|
|
761
|
+
/**
|
|
762
|
+
* An approval of an asset
|
|
763
|
+
*/
|
|
764
|
+
interface ExecutionEVMTransactionApprove {
|
|
765
|
+
/**
|
|
766
|
+
* An arbitrary precision decimal represented as a string
|
|
767
|
+
*/
|
|
768
|
+
amount: VektorAPI.Decimal;
|
|
769
|
+
/**
|
|
770
|
+
* On-chain asset (aka token)
|
|
771
|
+
*/
|
|
772
|
+
asset: VektorAPI.Asset;
|
|
773
|
+
block_number: number | null;
|
|
774
|
+
/**
|
|
775
|
+
* ISO8601 Timestamp
|
|
776
|
+
*/
|
|
777
|
+
broadcasted_at: string | null;
|
|
778
|
+
confirmation_target: number;
|
|
779
|
+
/**
|
|
780
|
+
* ISO8601 Timestamp
|
|
781
|
+
*/
|
|
782
|
+
confirmed_at: string | null;
|
|
783
|
+
/**
|
|
784
|
+
* ISO8601 Timestamp
|
|
785
|
+
*/
|
|
786
|
+
created_at: VektorAPI.Timestamp;
|
|
787
|
+
/**
|
|
788
|
+
* A hex string starting with 0x
|
|
789
|
+
*/
|
|
790
|
+
data: string | null;
|
|
791
|
+
/**
|
|
792
|
+
* An arbitrary precision decimal represented as a string
|
|
793
|
+
*/
|
|
794
|
+
effective_gas_price: string | null;
|
|
795
|
+
/**
|
|
796
|
+
* An error
|
|
797
|
+
*/
|
|
798
|
+
error: ExecutionEVMTransactionApprove.Error | null;
|
|
799
|
+
/**
|
|
800
|
+
* ISO8601 Timestamp
|
|
801
|
+
*/
|
|
802
|
+
errored_at: string | null;
|
|
803
|
+
/**
|
|
804
|
+
* An arbitrary precision decimal represented as a string
|
|
805
|
+
*/
|
|
806
|
+
gas_used: string | null;
|
|
807
|
+
/**
|
|
808
|
+
* A transaction hash
|
|
809
|
+
*/
|
|
810
|
+
hash: string | null;
|
|
811
|
+
/**
|
|
812
|
+
* The payload of an EIP-1559 transaction
|
|
813
|
+
*/
|
|
814
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
815
|
+
/**
|
|
816
|
+
* ISO8601 Timestamp
|
|
817
|
+
*/
|
|
818
|
+
signed_at: string | null;
|
|
819
|
+
/**
|
|
820
|
+
* An EVM address
|
|
821
|
+
*/
|
|
822
|
+
spender: VektorAPI.Account;
|
|
823
|
+
/**
|
|
824
|
+
* The state of an EVM transaction
|
|
825
|
+
*/
|
|
826
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
827
|
+
/**
|
|
828
|
+
* The state of an EVM transaction
|
|
829
|
+
*/
|
|
830
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
831
|
+
/**
|
|
832
|
+
* An EVM address
|
|
833
|
+
*/
|
|
834
|
+
to: string | null;
|
|
835
|
+
/**
|
|
836
|
+
* ISO8601 Timestamp
|
|
837
|
+
*/
|
|
838
|
+
updated_at: VektorAPI.Timestamp;
|
|
839
|
+
/**
|
|
840
|
+
* An arbitrary precision decimal represented as a string
|
|
841
|
+
*/
|
|
842
|
+
value: string | null;
|
|
843
|
+
}
|
|
844
|
+
namespace ExecutionEVMTransactionApprove {
|
|
845
|
+
/**
|
|
846
|
+
* An error
|
|
847
|
+
*/
|
|
848
|
+
interface Error {
|
|
849
|
+
/**
|
|
850
|
+
* Error message
|
|
851
|
+
*/
|
|
852
|
+
message: string;
|
|
853
|
+
/**
|
|
854
|
+
* Error parameters
|
|
855
|
+
*/
|
|
856
|
+
params: {
|
|
857
|
+
[key: string]: unknown;
|
|
858
|
+
};
|
|
859
|
+
/**
|
|
860
|
+
* Error type
|
|
861
|
+
*/
|
|
862
|
+
type: string;
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* Buying an asset with another asset
|
|
867
|
+
*/
|
|
868
|
+
interface ExecutionEVMTransactionBuy {
|
|
869
|
+
/**
|
|
870
|
+
* An EVM address
|
|
871
|
+
*/
|
|
872
|
+
approval_target: VektorAPI.Account;
|
|
873
|
+
block_number: number | null;
|
|
874
|
+
/**
|
|
875
|
+
* ISO8601 Timestamp
|
|
876
|
+
*/
|
|
877
|
+
broadcasted_at: string | null;
|
|
878
|
+
confirmation_target: number;
|
|
879
|
+
/**
|
|
880
|
+
* ISO8601 Timestamp
|
|
881
|
+
*/
|
|
882
|
+
confirmed_at: string | null;
|
|
883
|
+
/**
|
|
884
|
+
* ISO8601 Timestamp
|
|
885
|
+
*/
|
|
886
|
+
created_at: VektorAPI.Timestamp;
|
|
887
|
+
/**
|
|
888
|
+
* A hex string starting with 0x
|
|
889
|
+
*/
|
|
890
|
+
data: string | null;
|
|
891
|
+
/**
|
|
892
|
+
* An arbitrary precision decimal represented as a string
|
|
893
|
+
*/
|
|
894
|
+
effective_gas_price: string | null;
|
|
895
|
+
/**
|
|
896
|
+
* An error
|
|
897
|
+
*/
|
|
898
|
+
error: ExecutionEVMTransactionBuy.Error | null;
|
|
899
|
+
/**
|
|
900
|
+
* ISO8601 Timestamp
|
|
901
|
+
*/
|
|
902
|
+
errored_at: string | null;
|
|
903
|
+
/**
|
|
904
|
+
* An arbitrary precision decimal represented as a string
|
|
905
|
+
*/
|
|
906
|
+
gas_used: string | null;
|
|
907
|
+
/**
|
|
908
|
+
* A transaction hash
|
|
909
|
+
*/
|
|
910
|
+
hash: string | null;
|
|
911
|
+
/**
|
|
912
|
+
* An arbitrary precision decimal represented as a string
|
|
913
|
+
*/
|
|
914
|
+
max_spend_amount: VektorAPI.Decimal;
|
|
915
|
+
/**
|
|
916
|
+
* The payload of an EIP-1559 transaction
|
|
917
|
+
*/
|
|
918
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
919
|
+
/**
|
|
920
|
+
* A buy quote
|
|
921
|
+
*/
|
|
922
|
+
quote: VektorAPI.BuyQuote;
|
|
923
|
+
/**
|
|
924
|
+
* ISO8601 Timestamp
|
|
925
|
+
*/
|
|
926
|
+
signed_at: string | null;
|
|
927
|
+
/**
|
|
928
|
+
* An arbitrary precision decimal represented as a string
|
|
929
|
+
*/
|
|
930
|
+
slippage: VektorAPI.Decimal;
|
|
931
|
+
/**
|
|
932
|
+
* The state of an EVM transaction
|
|
933
|
+
*/
|
|
934
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
935
|
+
/**
|
|
936
|
+
* The state of an EVM transaction
|
|
937
|
+
*/
|
|
938
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
939
|
+
/**
|
|
940
|
+
* An EVM address
|
|
941
|
+
*/
|
|
942
|
+
to: string | null;
|
|
943
|
+
/**
|
|
944
|
+
* ISO8601 Timestamp
|
|
945
|
+
*/
|
|
946
|
+
updated_at: VektorAPI.Timestamp;
|
|
947
|
+
/**
|
|
948
|
+
* An arbitrary precision decimal represented as a string
|
|
949
|
+
*/
|
|
950
|
+
value: string | null;
|
|
951
|
+
}
|
|
952
|
+
namespace ExecutionEVMTransactionBuy {
|
|
953
|
+
/**
|
|
954
|
+
* An error
|
|
955
|
+
*/
|
|
956
|
+
interface Error {
|
|
957
|
+
/**
|
|
958
|
+
* Error message
|
|
959
|
+
*/
|
|
960
|
+
message: string;
|
|
961
|
+
/**
|
|
962
|
+
* Error parameters
|
|
963
|
+
*/
|
|
964
|
+
params: {
|
|
965
|
+
[key: string]: unknown;
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* Error type
|
|
969
|
+
*/
|
|
970
|
+
type: string;
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Lending an asset
|
|
975
|
+
*/
|
|
976
|
+
interface ExecutionEVMTransactionLend {
|
|
977
|
+
/**
|
|
978
|
+
* An arbitrary precision decimal represented as a string
|
|
979
|
+
*/
|
|
980
|
+
amount: VektorAPI.Decimal;
|
|
981
|
+
/**
|
|
982
|
+
* On-chain asset (aka token)
|
|
983
|
+
*/
|
|
984
|
+
asset: VektorAPI.Asset;
|
|
985
|
+
block_number: number | null;
|
|
986
|
+
/**
|
|
987
|
+
* ISO8601 Timestamp
|
|
988
|
+
*/
|
|
989
|
+
broadcasted_at: string | null;
|
|
990
|
+
confirmation_target: number;
|
|
991
|
+
/**
|
|
992
|
+
* ISO8601 Timestamp
|
|
993
|
+
*/
|
|
994
|
+
confirmed_at: string | null;
|
|
995
|
+
/**
|
|
996
|
+
* ISO8601 Timestamp
|
|
997
|
+
*/
|
|
998
|
+
created_at: VektorAPI.Timestamp;
|
|
999
|
+
/**
|
|
1000
|
+
* A hex string starting with 0x
|
|
1001
|
+
*/
|
|
1002
|
+
data: string | null;
|
|
1003
|
+
/**
|
|
1004
|
+
* An arbitrary precision decimal represented as a string
|
|
1005
|
+
*/
|
|
1006
|
+
effective_gas_price: string | null;
|
|
1007
|
+
/**
|
|
1008
|
+
* An error
|
|
1009
|
+
*/
|
|
1010
|
+
error: ExecutionEVMTransactionLend.Error | null;
|
|
1011
|
+
/**
|
|
1012
|
+
* ISO8601 Timestamp
|
|
1013
|
+
*/
|
|
1014
|
+
errored_at: string | null;
|
|
1015
|
+
/**
|
|
1016
|
+
* An arbitrary precision decimal represented as a string
|
|
1017
|
+
*/
|
|
1018
|
+
gas_used: string | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* A transaction hash
|
|
1021
|
+
*/
|
|
1022
|
+
hash: string | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1025
|
+
* prefix
|
|
1026
|
+
*/
|
|
1027
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
1028
|
+
/**
|
|
1029
|
+
* The payload of an EIP-1559 transaction
|
|
1030
|
+
*/
|
|
1031
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1032
|
+
/**
|
|
1033
|
+
* ISO8601 Timestamp
|
|
1034
|
+
*/
|
|
1035
|
+
signed_at: string | null;
|
|
1036
|
+
/**
|
|
1037
|
+
* The state of an EVM transaction
|
|
1038
|
+
*/
|
|
1039
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1040
|
+
/**
|
|
1041
|
+
* The state of an EVM transaction
|
|
1042
|
+
*/
|
|
1043
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1044
|
+
/**
|
|
1045
|
+
* An EVM address
|
|
1046
|
+
*/
|
|
1047
|
+
to: string | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* ISO8601 Timestamp
|
|
1050
|
+
*/
|
|
1051
|
+
updated_at: VektorAPI.Timestamp;
|
|
1052
|
+
/**
|
|
1053
|
+
* An arbitrary precision decimal represented as a string
|
|
1054
|
+
*/
|
|
1055
|
+
value: string | null;
|
|
1056
|
+
/**
|
|
1057
|
+
* A venue symbol
|
|
1058
|
+
*/
|
|
1059
|
+
venue_symbol: VektorAPI.VenueSymbol;
|
|
1060
|
+
}
|
|
1061
|
+
namespace ExecutionEVMTransactionLend {
|
|
1062
|
+
/**
|
|
1063
|
+
* An error
|
|
1064
|
+
*/
|
|
1065
|
+
interface Error {
|
|
1066
|
+
/**
|
|
1067
|
+
* Error message
|
|
1068
|
+
*/
|
|
1069
|
+
message: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Error parameters
|
|
1072
|
+
*/
|
|
1073
|
+
params: {
|
|
1074
|
+
[key: string]: unknown;
|
|
1075
|
+
};
|
|
1076
|
+
/**
|
|
1077
|
+
* Error type
|
|
1078
|
+
*/
|
|
1079
|
+
type: string;
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
/**
|
|
1083
|
+
* Setting/unsetting a position as collateral
|
|
1084
|
+
*/
|
|
1085
|
+
interface ExecutionEVMTransactionLendSetCollateral {
|
|
1086
|
+
block_number: number | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* ISO8601 Timestamp
|
|
1089
|
+
*/
|
|
1090
|
+
broadcasted_at: string | null;
|
|
1091
|
+
confirmation_target: number;
|
|
1092
|
+
/**
|
|
1093
|
+
* ISO8601 Timestamp
|
|
1094
|
+
*/
|
|
1095
|
+
confirmed_at: string | null;
|
|
1096
|
+
/**
|
|
1097
|
+
* ISO8601 Timestamp
|
|
1098
|
+
*/
|
|
1099
|
+
created_at: VektorAPI.Timestamp;
|
|
1100
|
+
/**
|
|
1101
|
+
* A hex string starting with 0x
|
|
1102
|
+
*/
|
|
1103
|
+
data: string | null;
|
|
1104
|
+
/**
|
|
1105
|
+
* An arbitrary precision decimal represented as a string
|
|
1106
|
+
*/
|
|
1107
|
+
effective_gas_price: string | null;
|
|
1108
|
+
/**
|
|
1109
|
+
* An error
|
|
1110
|
+
*/
|
|
1111
|
+
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* ISO8601 Timestamp
|
|
1114
|
+
*/
|
|
1115
|
+
errored_at: string | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* An arbitrary precision decimal represented as a string
|
|
1118
|
+
*/
|
|
1119
|
+
gas_used: string | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* A transaction hash
|
|
1122
|
+
*/
|
|
1123
|
+
hash: string | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1126
|
+
* prefix
|
|
1127
|
+
*/
|
|
1128
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
1129
|
+
/**
|
|
1130
|
+
* The payload of an EIP-1559 transaction
|
|
1131
|
+
*/
|
|
1132
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1133
|
+
/**
|
|
1134
|
+
* ISO8601 Timestamp
|
|
1135
|
+
*/
|
|
1136
|
+
signed_at: string | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* The state of an EVM transaction
|
|
1139
|
+
*/
|
|
1140
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1141
|
+
status: boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* The state of an EVM transaction
|
|
1144
|
+
*/
|
|
1145
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1146
|
+
/**
|
|
1147
|
+
* An EVM address
|
|
1148
|
+
*/
|
|
1149
|
+
to: string | null;
|
|
1150
|
+
/**
|
|
1151
|
+
* ISO8601 Timestamp
|
|
1152
|
+
*/
|
|
1153
|
+
updated_at: VektorAPI.Timestamp;
|
|
1154
|
+
/**
|
|
1155
|
+
* An arbitrary precision decimal represented as a string
|
|
1156
|
+
*/
|
|
1157
|
+
value: string | null;
|
|
1158
|
+
}
|
|
1159
|
+
namespace ExecutionEVMTransactionLendSetCollateral {
|
|
1160
|
+
/**
|
|
1161
|
+
* An error
|
|
1162
|
+
*/
|
|
1163
|
+
interface Error {
|
|
1164
|
+
/**
|
|
1165
|
+
* Error message
|
|
1166
|
+
*/
|
|
1167
|
+
message: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Error parameters
|
|
1170
|
+
*/
|
|
1171
|
+
params: {
|
|
1172
|
+
[key: string]: unknown;
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* Error type
|
|
1176
|
+
*/
|
|
1177
|
+
type: string;
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
* Withdrawing an asset
|
|
1182
|
+
*/
|
|
1183
|
+
interface ExecutionEVMTransactionLendWithdraw {
|
|
1184
|
+
/**
|
|
1185
|
+
* An arbitrary precision decimal represented as a string
|
|
1186
|
+
*/
|
|
1187
|
+
amount: string | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* On-chain asset (aka token)
|
|
1190
|
+
*/
|
|
1191
|
+
asset: VektorAPI.Asset;
|
|
1192
|
+
block_number: number | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* ISO8601 Timestamp
|
|
1195
|
+
*/
|
|
1196
|
+
broadcasted_at: string | null;
|
|
1197
|
+
confirmation_target: number;
|
|
1198
|
+
/**
|
|
1199
|
+
* ISO8601 Timestamp
|
|
1200
|
+
*/
|
|
1201
|
+
confirmed_at: string | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* ISO8601 Timestamp
|
|
1204
|
+
*/
|
|
1205
|
+
created_at: VektorAPI.Timestamp;
|
|
1206
|
+
/**
|
|
1207
|
+
* A hex string starting with 0x
|
|
1208
|
+
*/
|
|
1209
|
+
data: string | null;
|
|
1210
|
+
/**
|
|
1211
|
+
* An arbitrary precision decimal represented as a string
|
|
1212
|
+
*/
|
|
1213
|
+
effective_gas_price: string | null;
|
|
1214
|
+
/**
|
|
1215
|
+
* An error
|
|
1216
|
+
*/
|
|
1217
|
+
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* ISO8601 Timestamp
|
|
1220
|
+
*/
|
|
1221
|
+
errored_at: string | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* An arbitrary precision decimal represented as a string
|
|
1224
|
+
*/
|
|
1225
|
+
gas_used: string | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* A transaction hash
|
|
1228
|
+
*/
|
|
1229
|
+
hash: string | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1232
|
+
* prefix
|
|
1233
|
+
*/
|
|
1234
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
1235
|
+
/**
|
|
1236
|
+
* The payload of an EIP-1559 transaction
|
|
1237
|
+
*/
|
|
1238
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1239
|
+
/**
|
|
1240
|
+
* ISO8601 Timestamp
|
|
1241
|
+
*/
|
|
1242
|
+
signed_at: string | null;
|
|
1243
|
+
/**
|
|
1244
|
+
* The state of an EVM transaction
|
|
1245
|
+
*/
|
|
1246
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1247
|
+
/**
|
|
1248
|
+
* The state of an EVM transaction
|
|
1249
|
+
*/
|
|
1250
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1251
|
+
/**
|
|
1252
|
+
* An EVM address
|
|
1253
|
+
*/
|
|
1254
|
+
to: string | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* ISO8601 Timestamp
|
|
1257
|
+
*/
|
|
1258
|
+
updated_at: VektorAPI.Timestamp;
|
|
1259
|
+
/**
|
|
1260
|
+
* An arbitrary precision decimal represented as a string
|
|
1261
|
+
*/
|
|
1262
|
+
value: string | null;
|
|
1263
|
+
}
|
|
1264
|
+
namespace ExecutionEVMTransactionLendWithdraw {
|
|
1265
|
+
/**
|
|
1266
|
+
* An error
|
|
1267
|
+
*/
|
|
1268
|
+
interface Error {
|
|
1269
|
+
/**
|
|
1270
|
+
* Error message
|
|
1271
|
+
*/
|
|
1272
|
+
message: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* Error parameters
|
|
1275
|
+
*/
|
|
1276
|
+
params: {
|
|
1277
|
+
[key: string]: unknown;
|
|
1278
|
+
};
|
|
1279
|
+
/**
|
|
1280
|
+
* Error type
|
|
1281
|
+
*/
|
|
1282
|
+
type: string;
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* A move of assets from one account to another
|
|
1287
|
+
*/
|
|
1288
|
+
interface ExecutionEVMTransactionMove {
|
|
1289
|
+
/**
|
|
1290
|
+
* An arbitrary precision decimal represented as a string
|
|
1291
|
+
*/
|
|
1292
|
+
amount: VektorAPI.Decimal;
|
|
1293
|
+
/**
|
|
1294
|
+
* On-chain asset (aka token)
|
|
1295
|
+
*/
|
|
1296
|
+
asset: VektorAPI.Asset;
|
|
1297
|
+
block_number: number | null;
|
|
1298
|
+
/**
|
|
1299
|
+
* ISO8601 Timestamp
|
|
1300
|
+
*/
|
|
1301
|
+
broadcasted_at: string | null;
|
|
1302
|
+
confirmation_target: number;
|
|
1303
|
+
/**
|
|
1304
|
+
* ISO8601 Timestamp
|
|
1305
|
+
*/
|
|
1306
|
+
confirmed_at: string | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* ISO8601 Timestamp
|
|
1309
|
+
*/
|
|
1310
|
+
created_at: VektorAPI.Timestamp;
|
|
1311
|
+
/**
|
|
1312
|
+
* A hex string starting with 0x
|
|
1313
|
+
*/
|
|
1314
|
+
data: string | null;
|
|
1315
|
+
/**
|
|
1316
|
+
* An arbitrary precision decimal represented as a string
|
|
1317
|
+
*/
|
|
1318
|
+
effective_gas_price: string | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* An error
|
|
1321
|
+
*/
|
|
1322
|
+
error: ExecutionEVMTransactionMove.Error | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* ISO8601 Timestamp
|
|
1325
|
+
*/
|
|
1326
|
+
errored_at: string | null;
|
|
1327
|
+
/**
|
|
1328
|
+
* An arbitrary precision decimal represented as a string
|
|
1329
|
+
*/
|
|
1330
|
+
gas_used: string | null;
|
|
1331
|
+
/**
|
|
1332
|
+
* A transaction hash
|
|
1333
|
+
*/
|
|
1334
|
+
hash: string | null;
|
|
1335
|
+
/**
|
|
1336
|
+
* The payload of an EIP-1559 transaction
|
|
1337
|
+
*/
|
|
1338
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1339
|
+
/**
|
|
1340
|
+
* ISO8601 Timestamp
|
|
1341
|
+
*/
|
|
1342
|
+
signed_at: string | null;
|
|
1343
|
+
/**
|
|
1344
|
+
* The state of an EVM transaction
|
|
1345
|
+
*/
|
|
1346
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1347
|
+
/**
|
|
1348
|
+
* The state of an EVM transaction
|
|
1349
|
+
*/
|
|
1350
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1351
|
+
/**
|
|
1352
|
+
* An EVM address
|
|
1353
|
+
*/
|
|
1354
|
+
to: VektorAPI.Account | null;
|
|
1355
|
+
/**
|
|
1356
|
+
* ISO8601 Timestamp
|
|
1357
|
+
*/
|
|
1358
|
+
updated_at: VektorAPI.Timestamp;
|
|
1359
|
+
/**
|
|
1360
|
+
* An arbitrary precision decimal represented as a string
|
|
1361
|
+
*/
|
|
1362
|
+
value: string | null;
|
|
1363
|
+
}
|
|
1364
|
+
namespace ExecutionEVMTransactionMove {
|
|
1365
|
+
/**
|
|
1366
|
+
* An error
|
|
1367
|
+
*/
|
|
1368
|
+
interface Error {
|
|
1369
|
+
/**
|
|
1370
|
+
* Error message
|
|
1371
|
+
*/
|
|
1372
|
+
message: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* Error parameters
|
|
1375
|
+
*/
|
|
1376
|
+
params: {
|
|
1377
|
+
[key: string]: unknown;
|
|
1378
|
+
};
|
|
1379
|
+
/**
|
|
1380
|
+
* Error type
|
|
1381
|
+
*/
|
|
1382
|
+
type: string;
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* A permission to a contract
|
|
1387
|
+
*/
|
|
1388
|
+
interface ExecutionEVMTransactionPermission {
|
|
1389
|
+
block_number: number | null;
|
|
1390
|
+
/**
|
|
1391
|
+
* ISO8601 Timestamp
|
|
1392
|
+
*/
|
|
1393
|
+
broadcasted_at: string | null;
|
|
1394
|
+
confirmation_target: number;
|
|
1395
|
+
/**
|
|
1396
|
+
* ISO8601 Timestamp
|
|
1397
|
+
*/
|
|
1398
|
+
confirmed_at: string | null;
|
|
1399
|
+
/**
|
|
1400
|
+
* An EVM address
|
|
1401
|
+
*/
|
|
1402
|
+
contract_address: VektorAPI.AddressEVM;
|
|
1403
|
+
/**
|
|
1404
|
+
* ISO8601 Timestamp
|
|
1405
|
+
*/
|
|
1406
|
+
created_at: VektorAPI.Timestamp;
|
|
1407
|
+
/**
|
|
1408
|
+
* A hex string starting with 0x
|
|
1409
|
+
*/
|
|
1410
|
+
data: string | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* An arbitrary precision decimal represented as a string
|
|
1413
|
+
*/
|
|
1414
|
+
effective_gas_price: string | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* An error
|
|
1417
|
+
*/
|
|
1418
|
+
error: ExecutionEVMTransactionPermission.Error | null;
|
|
1419
|
+
/**
|
|
1420
|
+
* ISO8601 Timestamp
|
|
1421
|
+
*/
|
|
1422
|
+
errored_at: string | null;
|
|
1423
|
+
/**
|
|
1424
|
+
* An arbitrary precision decimal represented as a string
|
|
1425
|
+
*/
|
|
1426
|
+
gas_used: string | null;
|
|
1427
|
+
/**
|
|
1428
|
+
* A transaction hash
|
|
1429
|
+
*/
|
|
1430
|
+
hash: string | null;
|
|
1431
|
+
/**
|
|
1432
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1433
|
+
* prefix
|
|
1434
|
+
*/
|
|
1435
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
1436
|
+
/**
|
|
1437
|
+
* The payload of an EIP-1559 transaction
|
|
1438
|
+
*/
|
|
1439
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1440
|
+
permission: boolean;
|
|
1441
|
+
/**
|
|
1442
|
+
* ISO8601 Timestamp
|
|
1443
|
+
*/
|
|
1444
|
+
signed_at: string | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* An EVM address
|
|
1447
|
+
*/
|
|
1448
|
+
spender: VektorAPI.Account;
|
|
1449
|
+
/**
|
|
1450
|
+
* The state of an EVM transaction
|
|
1451
|
+
*/
|
|
1452
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1453
|
+
/**
|
|
1454
|
+
* The state of an EVM transaction
|
|
1455
|
+
*/
|
|
1456
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1457
|
+
/**
|
|
1458
|
+
* An EVM address
|
|
1459
|
+
*/
|
|
1460
|
+
to: string | null;
|
|
1461
|
+
/**
|
|
1462
|
+
* The type of a permission
|
|
1463
|
+
*/
|
|
1464
|
+
type: 'compound_v3_comet';
|
|
1465
|
+
/**
|
|
1466
|
+
* ISO8601 Timestamp
|
|
1467
|
+
*/
|
|
1468
|
+
updated_at: VektorAPI.Timestamp;
|
|
1469
|
+
/**
|
|
1470
|
+
* An arbitrary precision decimal represented as a string
|
|
1471
|
+
*/
|
|
1472
|
+
value: string | null;
|
|
1473
|
+
}
|
|
1474
|
+
namespace ExecutionEVMTransactionPermission {
|
|
1475
|
+
/**
|
|
1476
|
+
* An error
|
|
1477
|
+
*/
|
|
1478
|
+
interface Error {
|
|
1479
|
+
/**
|
|
1480
|
+
* Error message
|
|
1481
|
+
*/
|
|
1482
|
+
message: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* Error parameters
|
|
1485
|
+
*/
|
|
1486
|
+
params: {
|
|
1487
|
+
[key: string]: unknown;
|
|
1488
|
+
};
|
|
1489
|
+
/**
|
|
1490
|
+
* Error type
|
|
1491
|
+
*/
|
|
1492
|
+
type: string;
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* An unwrap of the wrapped native asset
|
|
1497
|
+
*/
|
|
1498
|
+
interface ExecutionEVMTransactionUnwrap {
|
|
1499
|
+
/**
|
|
1500
|
+
* An arbitrary precision decimal represented as a string
|
|
1501
|
+
*/
|
|
1502
|
+
amount: VektorAPI.Decimal;
|
|
1503
|
+
block_number: number | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* ISO8601 Timestamp
|
|
1506
|
+
*/
|
|
1507
|
+
broadcasted_at: string | null;
|
|
1508
|
+
confirmation_target: number;
|
|
1509
|
+
/**
|
|
1510
|
+
* ISO8601 Timestamp
|
|
1511
|
+
*/
|
|
1512
|
+
confirmed_at: string | null;
|
|
1513
|
+
/**
|
|
1514
|
+
* ISO8601 Timestamp
|
|
1515
|
+
*/
|
|
1516
|
+
created_at: VektorAPI.Timestamp;
|
|
1517
|
+
/**
|
|
1518
|
+
* A hex string starting with 0x
|
|
1519
|
+
*/
|
|
1520
|
+
data: string | null;
|
|
1521
|
+
/**
|
|
1522
|
+
* An arbitrary precision decimal represented as a string
|
|
1523
|
+
*/
|
|
1524
|
+
effective_gas_price: string | null;
|
|
1525
|
+
/**
|
|
1526
|
+
* An error
|
|
1527
|
+
*/
|
|
1528
|
+
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
1529
|
+
/**
|
|
1530
|
+
* ISO8601 Timestamp
|
|
1531
|
+
*/
|
|
1532
|
+
errored_at: string | null;
|
|
1533
|
+
/**
|
|
1534
|
+
* An arbitrary precision decimal represented as a string
|
|
1535
|
+
*/
|
|
1536
|
+
gas_used: string | null;
|
|
1537
|
+
/**
|
|
1538
|
+
* A transaction hash
|
|
1539
|
+
*/
|
|
1540
|
+
hash: string | null;
|
|
1541
|
+
/**
|
|
1542
|
+
* The payload of an EIP-1559 transaction
|
|
1543
|
+
*/
|
|
1544
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1545
|
+
/**
|
|
1546
|
+
* ISO8601 Timestamp
|
|
1547
|
+
*/
|
|
1548
|
+
signed_at: string | null;
|
|
1549
|
+
/**
|
|
1550
|
+
* The state of an EVM transaction
|
|
1551
|
+
*/
|
|
1552
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1553
|
+
/**
|
|
1554
|
+
* The state of an EVM transaction
|
|
1555
|
+
*/
|
|
1556
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1557
|
+
/**
|
|
1558
|
+
* An EVM address
|
|
1559
|
+
*/
|
|
1560
|
+
to: string | null;
|
|
1561
|
+
/**
|
|
1562
|
+
* ISO8601 Timestamp
|
|
1563
|
+
*/
|
|
1564
|
+
updated_at: VektorAPI.Timestamp;
|
|
1565
|
+
/**
|
|
1566
|
+
* An arbitrary precision decimal represented as a string
|
|
1567
|
+
*/
|
|
1568
|
+
value: string | null;
|
|
1569
|
+
}
|
|
1570
|
+
namespace ExecutionEVMTransactionUnwrap {
|
|
1571
|
+
/**
|
|
1572
|
+
* An error
|
|
1573
|
+
*/
|
|
1574
|
+
interface Error {
|
|
1575
|
+
/**
|
|
1576
|
+
* Error message
|
|
1577
|
+
*/
|
|
1578
|
+
message: string;
|
|
1579
|
+
/**
|
|
1580
|
+
* Error parameters
|
|
1581
|
+
*/
|
|
1582
|
+
params: {
|
|
1583
|
+
[key: string]: unknown;
|
|
1584
|
+
};
|
|
1585
|
+
/**
|
|
1586
|
+
* Error type
|
|
1587
|
+
*/
|
|
1588
|
+
type: string;
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
* A wrap of the native asset
|
|
1593
|
+
*/
|
|
1594
|
+
interface ExecutionEVMTransactionWrap {
|
|
1595
|
+
/**
|
|
1596
|
+
* An arbitrary precision decimal represented as a string
|
|
1597
|
+
*/
|
|
1598
|
+
amount: VektorAPI.Decimal;
|
|
1599
|
+
block_number: number | null;
|
|
1600
|
+
/**
|
|
1601
|
+
* ISO8601 Timestamp
|
|
1602
|
+
*/
|
|
1603
|
+
broadcasted_at: string | null;
|
|
1604
|
+
confirmation_target: number;
|
|
1605
|
+
/**
|
|
1606
|
+
* ISO8601 Timestamp
|
|
1607
|
+
*/
|
|
1608
|
+
confirmed_at: string | null;
|
|
1609
|
+
/**
|
|
1610
|
+
* ISO8601 Timestamp
|
|
1611
|
+
*/
|
|
1612
|
+
created_at: VektorAPI.Timestamp;
|
|
1613
|
+
/**
|
|
1614
|
+
* A hex string starting with 0x
|
|
1615
|
+
*/
|
|
1616
|
+
data: string | null;
|
|
1617
|
+
/**
|
|
1618
|
+
* An arbitrary precision decimal represented as a string
|
|
1619
|
+
*/
|
|
1620
|
+
effective_gas_price: string | null;
|
|
1621
|
+
/**
|
|
1622
|
+
* An error
|
|
1623
|
+
*/
|
|
1624
|
+
error: ExecutionEVMTransactionWrap.Error | null;
|
|
1625
|
+
/**
|
|
1626
|
+
* ISO8601 Timestamp
|
|
1627
|
+
*/
|
|
1628
|
+
errored_at: string | null;
|
|
1629
|
+
/**
|
|
1630
|
+
* An arbitrary precision decimal represented as a string
|
|
1631
|
+
*/
|
|
1632
|
+
gas_used: string | null;
|
|
1633
|
+
/**
|
|
1634
|
+
* A transaction hash
|
|
1635
|
+
*/
|
|
1636
|
+
hash: string | null;
|
|
1637
|
+
/**
|
|
1638
|
+
* The payload of an EIP-1559 transaction
|
|
1639
|
+
*/
|
|
1640
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1641
|
+
/**
|
|
1642
|
+
* ISO8601 Timestamp
|
|
1643
|
+
*/
|
|
1644
|
+
signed_at: string | null;
|
|
1645
|
+
/**
|
|
1646
|
+
* The state of an EVM transaction
|
|
1647
|
+
*/
|
|
1648
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1649
|
+
/**
|
|
1650
|
+
* The state of an EVM transaction
|
|
1651
|
+
*/
|
|
1652
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1653
|
+
/**
|
|
1654
|
+
* An EVM address
|
|
1655
|
+
*/
|
|
1656
|
+
to: string | null;
|
|
1657
|
+
/**
|
|
1658
|
+
* ISO8601 Timestamp
|
|
1659
|
+
*/
|
|
1660
|
+
updated_at: VektorAPI.Timestamp;
|
|
1661
|
+
/**
|
|
1662
|
+
* An arbitrary precision decimal represented as a string
|
|
1663
|
+
*/
|
|
1664
|
+
value: string | null;
|
|
1665
|
+
}
|
|
1666
|
+
namespace ExecutionEVMTransactionWrap {
|
|
1667
|
+
/**
|
|
1668
|
+
* An error
|
|
1669
|
+
*/
|
|
1670
|
+
interface Error {
|
|
1671
|
+
/**
|
|
1672
|
+
* Error message
|
|
1673
|
+
*/
|
|
1674
|
+
message: string;
|
|
1675
|
+
/**
|
|
1676
|
+
* Error parameters
|
|
1677
|
+
*/
|
|
1678
|
+
params: {
|
|
1679
|
+
[key: string]: unknown;
|
|
1680
|
+
};
|
|
1681
|
+
/**
|
|
1682
|
+
* Error type
|
|
1683
|
+
*/
|
|
1684
|
+
type: string;
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* Selling an asset for another asset
|
|
1689
|
+
*/
|
|
1690
|
+
interface ExecutionEVMTransactionSell {
|
|
1691
|
+
/**
|
|
1692
|
+
* An EVM address
|
|
1693
|
+
*/
|
|
1694
|
+
approval_target: VektorAPI.Account;
|
|
1695
|
+
block_number: number | null;
|
|
1696
|
+
/**
|
|
1697
|
+
* ISO8601 Timestamp
|
|
1698
|
+
*/
|
|
1699
|
+
broadcasted_at: string | null;
|
|
1700
|
+
confirmation_target: number;
|
|
1701
|
+
/**
|
|
1702
|
+
* ISO8601 Timestamp
|
|
1703
|
+
*/
|
|
1704
|
+
confirmed_at: string | null;
|
|
1705
|
+
/**
|
|
1706
|
+
* ISO8601 Timestamp
|
|
1707
|
+
*/
|
|
1708
|
+
created_at: VektorAPI.Timestamp;
|
|
1709
|
+
/**
|
|
1710
|
+
* A hex string starting with 0x
|
|
1711
|
+
*/
|
|
1712
|
+
data: string | null;
|
|
1713
|
+
/**
|
|
1714
|
+
* An arbitrary precision decimal represented as a string
|
|
1715
|
+
*/
|
|
1716
|
+
effective_gas_price: string | null;
|
|
1717
|
+
/**
|
|
1718
|
+
* An error
|
|
1719
|
+
*/
|
|
1720
|
+
error: ExecutionEVMTransactionSell.Error | null;
|
|
1721
|
+
/**
|
|
1722
|
+
* ISO8601 Timestamp
|
|
1723
|
+
*/
|
|
1724
|
+
errored_at: string | null;
|
|
1725
|
+
/**
|
|
1726
|
+
* An arbitrary precision decimal represented as a string
|
|
1727
|
+
*/
|
|
1728
|
+
gas_used: string | null;
|
|
1729
|
+
/**
|
|
1730
|
+
* A transaction hash
|
|
1731
|
+
*/
|
|
1732
|
+
hash: string | null;
|
|
1733
|
+
/**
|
|
1734
|
+
* An arbitrary precision decimal represented as a string
|
|
1735
|
+
*/
|
|
1736
|
+
min_receive_amount: VektorAPI.Decimal;
|
|
1737
|
+
/**
|
|
1738
|
+
* The payload of an EIP-1559 transaction
|
|
1739
|
+
*/
|
|
1740
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1741
|
+
/**
|
|
1742
|
+
* A sell quote
|
|
1743
|
+
*/
|
|
1744
|
+
quote: VektorAPI.SellQuote;
|
|
1745
|
+
/**
|
|
1746
|
+
* ISO8601 Timestamp
|
|
1747
|
+
*/
|
|
1748
|
+
signed_at: string | null;
|
|
1749
|
+
/**
|
|
1750
|
+
* An arbitrary precision decimal represented as a string
|
|
1751
|
+
*/
|
|
1752
|
+
slippage: VektorAPI.Decimal;
|
|
1753
|
+
/**
|
|
1754
|
+
* The state of an EVM transaction
|
|
1755
|
+
*/
|
|
1756
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1757
|
+
/**
|
|
1758
|
+
* The state of an EVM transaction
|
|
1759
|
+
*/
|
|
1760
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1761
|
+
/**
|
|
1762
|
+
* An EVM address
|
|
1763
|
+
*/
|
|
1764
|
+
to: string | null;
|
|
1765
|
+
/**
|
|
1766
|
+
* ISO8601 Timestamp
|
|
1767
|
+
*/
|
|
1768
|
+
updated_at: VektorAPI.Timestamp;
|
|
1769
|
+
/**
|
|
1770
|
+
* An arbitrary precision decimal represented as a string
|
|
1771
|
+
*/
|
|
1772
|
+
value: string | null;
|
|
1773
|
+
}
|
|
1774
|
+
namespace ExecutionEVMTransactionSell {
|
|
1775
|
+
/**
|
|
1776
|
+
* An error
|
|
1777
|
+
*/
|
|
1778
|
+
interface Error {
|
|
1779
|
+
/**
|
|
1780
|
+
* Error message
|
|
1781
|
+
*/
|
|
1782
|
+
message: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* Error parameters
|
|
1785
|
+
*/
|
|
1786
|
+
params: {
|
|
1787
|
+
[key: string]: unknown;
|
|
1788
|
+
};
|
|
1789
|
+
/**
|
|
1790
|
+
* Error type
|
|
1791
|
+
*/
|
|
1792
|
+
type: string;
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
* The payload of an EIP-1559 transaction
|
|
1799
|
+
*/
|
|
1800
|
+
export interface ExecutionEVMTransactionEIP1559Payload {
|
|
1801
|
+
/**
|
|
1802
|
+
* A hex string starting with 0x
|
|
1803
|
+
*/
|
|
1804
|
+
data: HexString;
|
|
1805
|
+
/**
|
|
1806
|
+
* An EVM address
|
|
1807
|
+
*/
|
|
1808
|
+
from: AddressEVM;
|
|
1809
|
+
/**
|
|
1810
|
+
* A hex string starting with 0x
|
|
1811
|
+
*/
|
|
1812
|
+
gasLimit: HexString;
|
|
1813
|
+
/**
|
|
1814
|
+
* A hex string starting with 0x
|
|
1815
|
+
*/
|
|
1816
|
+
maxFeePerGas: HexString;
|
|
1817
|
+
/**
|
|
1818
|
+
* A hex string starting with 0x
|
|
1819
|
+
*/
|
|
1820
|
+
maxPriorityFeePerGas: HexString;
|
|
1821
|
+
/**
|
|
1822
|
+
* A hex string starting with 0x
|
|
1823
|
+
*/
|
|
1824
|
+
nonce: HexString;
|
|
1825
|
+
/**
|
|
1826
|
+
* An EVM address
|
|
1827
|
+
*/
|
|
1828
|
+
to: AddressEVM;
|
|
1829
|
+
/**
|
|
1830
|
+
* A hex string starting with 0x
|
|
1831
|
+
*/
|
|
1832
|
+
value: HexString;
|
|
1833
|
+
/**
|
|
1834
|
+
* A hex string starting with 0x
|
|
1835
|
+
*/
|
|
1836
|
+
chainId?: HexString;
|
|
1837
|
+
}
|
|
1838
|
+
/**
|
|
1839
|
+
* The payload of an EIP-1559 transaction
|
|
1840
|
+
*/
|
|
1841
|
+
export interface ExecutionEVMTransactionPayload {
|
|
1842
|
+
/**
|
|
1843
|
+
* A hex string starting with 0x
|
|
1844
|
+
*/
|
|
1845
|
+
data: HexString;
|
|
1846
|
+
/**
|
|
1847
|
+
* An EVM address
|
|
1848
|
+
*/
|
|
1849
|
+
from: AddressEVM;
|
|
1850
|
+
/**
|
|
1851
|
+
* A hex string starting with 0x
|
|
1852
|
+
*/
|
|
1853
|
+
gasLimit: HexString;
|
|
1854
|
+
/**
|
|
1855
|
+
* A hex string starting with 0x
|
|
1856
|
+
*/
|
|
1857
|
+
maxFeePerGas: HexString;
|
|
1858
|
+
/**
|
|
1859
|
+
* A hex string starting with 0x
|
|
1860
|
+
*/
|
|
1861
|
+
maxPriorityFeePerGas: HexString;
|
|
1862
|
+
/**
|
|
1863
|
+
* A hex string starting with 0x
|
|
1864
|
+
*/
|
|
1865
|
+
nonce: HexString;
|
|
1866
|
+
/**
|
|
1867
|
+
* An EVM address
|
|
1868
|
+
*/
|
|
1869
|
+
to: AddressEVM;
|
|
1870
|
+
/**
|
|
1871
|
+
* A hex string starting with 0x
|
|
1872
|
+
*/
|
|
1873
|
+
value: HexString;
|
|
1874
|
+
/**
|
|
1875
|
+
* A hex string starting with 0x
|
|
1876
|
+
*/
|
|
1877
|
+
chainId?: HexString;
|
|
1878
|
+
}
|
|
1879
|
+
/**
|
|
1880
|
+
* The state of an EVM transaction
|
|
1881
|
+
*/
|
|
1882
|
+
export type ExecutionEVMTransactionState = 'not_started' | 'signature_required' | 'signed' | 'broadcasted' | 'confirmed' | 'error';
|
|
1883
|
+
/**
|
|
1884
|
+
* An execution ID, represented as a TypeID with `execution` prefix
|
|
1885
|
+
*/
|
|
1886
|
+
export type ExecutionID = string;
|
|
1887
|
+
/**
|
|
1888
|
+
* The state of an execution
|
|
1889
|
+
*/
|
|
1890
|
+
export type ExecutionState = 'not_started' | 'started' | 'success' | 'aborted' | 'error';
|
|
1891
|
+
/**
|
|
1892
|
+
* An execution step ID, represented as a TypeID with `execution_step` prefix
|
|
1893
|
+
*/
|
|
1894
|
+
export type ExecutionStepID = string;
|
|
1895
|
+
/**
|
|
1896
|
+
* A hex string starting with 0x
|
|
1897
|
+
*/
|
|
1898
|
+
export type HexString = string;
|
|
1899
|
+
/**
|
|
1900
|
+
* A lp pool incentive market
|
|
1901
|
+
*/
|
|
1902
|
+
export interface IncentivizeMarket {
|
|
1903
|
+
/**
|
|
1904
|
+
* A list of arbitrary precision decimals
|
|
1905
|
+
*/
|
|
1906
|
+
amounts: Array<Decimal>;
|
|
1907
|
+
/**
|
|
1908
|
+
* Response for multiple assets
|
|
1909
|
+
*/
|
|
1910
|
+
assets: Array<Asset>;
|
|
1911
|
+
/**
|
|
1912
|
+
* Information about a specific block number and its timestamp
|
|
1913
|
+
*/
|
|
1914
|
+
blockstamp: Blockstamp;
|
|
1915
|
+
/**
|
|
1916
|
+
* ISO8601 Timestamp
|
|
1917
|
+
*/
|
|
1918
|
+
closed_at: Timestamp;
|
|
1919
|
+
/**
|
|
1920
|
+
* A liquidity pool
|
|
1921
|
+
*/
|
|
1922
|
+
pool: LPPool;
|
|
1923
|
+
/**
|
|
1924
|
+
* An asset symbol
|
|
1925
|
+
*/
|
|
1926
|
+
quote_asset_symbol: string | null;
|
|
1927
|
+
/**
|
|
1928
|
+
* The round number
|
|
1929
|
+
*/
|
|
1930
|
+
round: number;
|
|
1931
|
+
/**
|
|
1932
|
+
* An arbitrary precision decimal represented as a string
|
|
1933
|
+
*/
|
|
1934
|
+
value: string | null;
|
|
1935
|
+
/**
|
|
1936
|
+
* On-chain venue
|
|
1937
|
+
*/
|
|
1938
|
+
venue: Venue;
|
|
1939
|
+
}
|
|
1940
|
+
/**
|
|
1941
|
+
* APY Data for lend/borrow markets
|
|
1942
|
+
*/
|
|
1943
|
+
export interface LendBorrowAPYs {
|
|
1944
|
+
/**
|
|
1945
|
+
* APY Data
|
|
1946
|
+
*/
|
|
1947
|
+
base: APY;
|
|
1948
|
+
/**
|
|
1949
|
+
* Array of APY
|
|
1950
|
+
*/
|
|
1951
|
+
rewards: Array<APY>;
|
|
1952
|
+
/**
|
|
1953
|
+
* An arbitrary precision decimal represented as a string
|
|
1954
|
+
*/
|
|
1955
|
+
total: Decimal;
|
|
1956
|
+
}
|
|
1957
|
+
/**
|
|
1958
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1959
|
+
* prefix
|
|
1960
|
+
*/
|
|
1961
|
+
export type LendBorrowMarketID = string;
|
|
1962
|
+
/**
|
|
1963
|
+
* A lend market
|
|
1964
|
+
*/
|
|
1965
|
+
export interface LendMarket {
|
|
1966
|
+
/**
|
|
1967
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1968
|
+
* prefix
|
|
1969
|
+
*/
|
|
1970
|
+
id: LendBorrowMarketID;
|
|
1971
|
+
/**
|
|
1972
|
+
* APY Data for lend/borrow markets
|
|
1973
|
+
*/
|
|
1974
|
+
apys: LendBorrowAPYs;
|
|
1975
|
+
/**
|
|
1976
|
+
* On-chain asset (aka token)
|
|
1977
|
+
*/
|
|
1978
|
+
asset: Asset;
|
|
1979
|
+
/**
|
|
1980
|
+
* Information about a specific block number and its timestamp
|
|
1981
|
+
*/
|
|
1982
|
+
blockstamp: Blockstamp;
|
|
1983
|
+
/**
|
|
1984
|
+
* An arbitrary precision decimal represented as a string
|
|
1985
|
+
*/
|
|
1986
|
+
liquidity: Decimal;
|
|
1987
|
+
/**
|
|
1988
|
+
* An asset symbol
|
|
1989
|
+
*/
|
|
1990
|
+
quote_asset_symbol: string | null;
|
|
1991
|
+
/**
|
|
1992
|
+
* An arbitrary precision decimal represented as a string
|
|
1993
|
+
*/
|
|
1994
|
+
total_supply: Decimal;
|
|
1995
|
+
/**
|
|
1996
|
+
* On-chain venue
|
|
1997
|
+
*/
|
|
1998
|
+
venue: Venue;
|
|
1999
|
+
}
|
|
2000
|
+
/**
|
|
2001
|
+
* A lend position
|
|
2002
|
+
*/
|
|
2003
|
+
export interface LendPosition {
|
|
2004
|
+
/**
|
|
2005
|
+
* An EVM address
|
|
2006
|
+
*/
|
|
2007
|
+
account: Account;
|
|
2008
|
+
/**
|
|
2009
|
+
* Information about a specific block number and its timestamp
|
|
2010
|
+
*/
|
|
2011
|
+
blockstamp: Blockstamp;
|
|
2012
|
+
collateral_enabled: boolean;
|
|
2013
|
+
/**
|
|
2014
|
+
* A lend market
|
|
2015
|
+
*/
|
|
2016
|
+
market: LendMarket;
|
|
2017
|
+
/**
|
|
2018
|
+
* An asset symbol
|
|
2019
|
+
*/
|
|
2020
|
+
quote_asset_symbol: string | null;
|
|
2021
|
+
/**
|
|
2022
|
+
* An arbitrary precision decimal represented as a string
|
|
2023
|
+
*/
|
|
2024
|
+
supplied_amount: Decimal;
|
|
2025
|
+
/**
|
|
2026
|
+
* An arbitrary precision decimal represented as a string
|
|
2027
|
+
*/
|
|
2028
|
+
value: string | null;
|
|
2029
|
+
}
|
|
2030
|
+
/**
|
|
2031
|
+
* A lock market
|
|
2032
|
+
*/
|
|
2033
|
+
export interface LockMarket {
|
|
2034
|
+
/**
|
|
2035
|
+
* On-chain asset (aka token)
|
|
2036
|
+
*/
|
|
2037
|
+
asset: Asset;
|
|
2038
|
+
/**
|
|
2039
|
+
* Data about a blockchain
|
|
2040
|
+
*/
|
|
2041
|
+
blockchain: Blockchain;
|
|
2042
|
+
/**
|
|
2043
|
+
* On-chain venue
|
|
2044
|
+
*/
|
|
2045
|
+
venue: Venue;
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* A lock position
|
|
2049
|
+
*/
|
|
2050
|
+
export interface LockPosition {
|
|
2051
|
+
/**
|
|
2052
|
+
* An EVM address
|
|
2053
|
+
*/
|
|
2054
|
+
account: Account;
|
|
2055
|
+
/**
|
|
2056
|
+
* Information about a specific block number and its timestamp
|
|
2057
|
+
*/
|
|
2058
|
+
blockstamp: Blockstamp;
|
|
2059
|
+
/**
|
|
2060
|
+
* An arbitrary precision decimal represented as a string
|
|
2061
|
+
*/
|
|
2062
|
+
locked_amount: Decimal;
|
|
2063
|
+
/**
|
|
2064
|
+
* A NFT
|
|
2065
|
+
*/
|
|
2066
|
+
locked_asset: NFT;
|
|
2067
|
+
/**
|
|
2068
|
+
* A lock market
|
|
2069
|
+
*/
|
|
2070
|
+
market: LockMarket;
|
|
2071
|
+
/**
|
|
2072
|
+
* ISO8601 Timestamp
|
|
2073
|
+
*/
|
|
2074
|
+
unlocked_at: Timestamp;
|
|
2075
|
+
used: boolean;
|
|
2076
|
+
/**
|
|
2077
|
+
* An arbitrary precision decimal represented as a string
|
|
2078
|
+
*/
|
|
2079
|
+
voting_power: Decimal;
|
|
2080
|
+
}
|
|
2081
|
+
/**
|
|
2082
|
+
* A liquidity pool
|
|
2083
|
+
*/
|
|
2084
|
+
export interface LPPool {
|
|
2085
|
+
/**
|
|
2086
|
+
* A LP pool ID, represented as a TypeID with `lp_pool` prefix
|
|
2087
|
+
*/
|
|
2088
|
+
id: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* Response for multiple assets
|
|
2091
|
+
*/
|
|
2092
|
+
assets: Array<Asset>;
|
|
2093
|
+
/**
|
|
2094
|
+
* Pool attributes that are specific to particular venue types
|
|
2095
|
+
*/
|
|
2096
|
+
attributes: LPPoolUniswapV3Attributes | LPPoolSolidlyAttributes;
|
|
2097
|
+
/**
|
|
2098
|
+
* Information about a specific block number and its timestamp
|
|
2099
|
+
*/
|
|
2100
|
+
blockstamp: Blockstamp;
|
|
2101
|
+
/**
|
|
2102
|
+
* An EVM address
|
|
2103
|
+
*/
|
|
2104
|
+
pool_address: Account;
|
|
2105
|
+
/**
|
|
2106
|
+
* An arbitrary precision decimal represented as a string
|
|
2107
|
+
*/
|
|
2108
|
+
pool_fee: Decimal;
|
|
2109
|
+
/**
|
|
2110
|
+
* Type of a liquidity pool
|
|
2111
|
+
*/
|
|
2112
|
+
pool_type: 'pair' | 'multi' | 'weighted' | 'range';
|
|
2113
|
+
/**
|
|
2114
|
+
* An asset symbol
|
|
2115
|
+
*/
|
|
2116
|
+
quote_asset_symbol: string | null;
|
|
2117
|
+
/**
|
|
2118
|
+
* A list of arbitrary precision decimals
|
|
2119
|
+
*/
|
|
2120
|
+
reserve_amounts: Array<Decimal>;
|
|
2121
|
+
/**
|
|
2122
|
+
* A list of arbitrary precision decimals
|
|
2123
|
+
*/
|
|
2124
|
+
reserve_ratios: Array<Decimal> | null;
|
|
2125
|
+
/**
|
|
2126
|
+
* An arbitrary precision decimal represented as a string
|
|
2127
|
+
*/
|
|
2128
|
+
total_liquidity: string | null;
|
|
2129
|
+
/**
|
|
2130
|
+
* On-chain venue
|
|
2131
|
+
*/
|
|
2132
|
+
venue: Venue;
|
|
2133
|
+
}
|
|
2134
|
+
/**
|
|
2135
|
+
* Attributes for Solidly venue type pools
|
|
2136
|
+
*/
|
|
2137
|
+
export interface LPPoolSolidlyAttributes {
|
|
2138
|
+
/**
|
|
2139
|
+
* True if pool is stable, false if volatile
|
|
2140
|
+
*/
|
|
2141
|
+
stable: boolean;
|
|
2142
|
+
}
|
|
2143
|
+
/**
|
|
2144
|
+
* Attributes for Uniswap V3 venue type pools
|
|
2145
|
+
*/
|
|
2146
|
+
export interface LPPoolUniswapV3Attributes {
|
|
2147
|
+
/**
|
|
2148
|
+
* Pool fee
|
|
2149
|
+
*/
|
|
2150
|
+
fee: string;
|
|
2151
|
+
}
|
|
2152
|
+
/**
|
|
2153
|
+
* A position in a liquidity pool
|
|
2154
|
+
*/
|
|
2155
|
+
export interface LPPosition {
|
|
2156
|
+
/**
|
|
2157
|
+
* An EVM address
|
|
2158
|
+
*/
|
|
2159
|
+
account: Account;
|
|
2160
|
+
/**
|
|
2161
|
+
* A list of arbitrary precision decimals
|
|
2162
|
+
*/
|
|
2163
|
+
amounts: Array<Decimal>;
|
|
2164
|
+
/**
|
|
2165
|
+
* Attributes for Uniswap V3 venue type positions
|
|
2166
|
+
*/
|
|
2167
|
+
attributes: LPPositionAttributes;
|
|
2168
|
+
/**
|
|
2169
|
+
* Information about a specific block number and its timestamp
|
|
2170
|
+
*/
|
|
2171
|
+
blockstamp: Blockstamp;
|
|
2172
|
+
/**
|
|
2173
|
+
* An arbitrary precision decimal represented as a string
|
|
2174
|
+
*/
|
|
2175
|
+
lp_amount: Decimal;
|
|
2176
|
+
/**
|
|
2177
|
+
* An LP asset, either an Asset or a NFT
|
|
2178
|
+
*/
|
|
2179
|
+
lp_asset: Asset | NFT;
|
|
2180
|
+
/**
|
|
2181
|
+
* An arbitrary precision decimal represented as a string
|
|
2182
|
+
*/
|
|
2183
|
+
ownership: string | null;
|
|
2184
|
+
/**
|
|
2185
|
+
* A liquidity pool
|
|
2186
|
+
*/
|
|
2187
|
+
pool: LPPool;
|
|
2188
|
+
/**
|
|
2189
|
+
* An asset symbol
|
|
2190
|
+
*/
|
|
2191
|
+
quote_asset_symbol: string | null;
|
|
2192
|
+
/**
|
|
2193
|
+
* An arbitrary precision decimal represented as a string
|
|
2194
|
+
*/
|
|
2195
|
+
value: string | null;
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* Attributes for Uniswap V3 venue type positions
|
|
2199
|
+
*/
|
|
2200
|
+
export interface LPPositionAttributes {
|
|
2201
|
+
/**
|
|
2202
|
+
* Whether the position is in range
|
|
2203
|
+
*/
|
|
2204
|
+
in_range: boolean;
|
|
2205
|
+
/**
|
|
2206
|
+
* An arbitrary precision decimal represented as a string
|
|
2207
|
+
*/
|
|
2208
|
+
lower: Decimal;
|
|
2209
|
+
/**
|
|
2210
|
+
* An arbitrary precision decimal represented as a string
|
|
2211
|
+
*/
|
|
2212
|
+
price: Decimal;
|
|
2213
|
+
/**
|
|
2214
|
+
* Lower tick
|
|
2215
|
+
*/
|
|
2216
|
+
tick_lower: number;
|
|
2217
|
+
/**
|
|
2218
|
+
* Upper tick
|
|
2219
|
+
*/
|
|
2220
|
+
tick_upper: number;
|
|
2221
|
+
/**
|
|
2222
|
+
* An arbitrary precision decimal represented as a string
|
|
2223
|
+
*/
|
|
2224
|
+
upper: Decimal;
|
|
2225
|
+
}
|
|
2226
|
+
/**
|
|
2227
|
+
* Attributes for Uniswap V3 venue type positions
|
|
2228
|
+
*/
|
|
2229
|
+
export interface LPPositionUniswapV3Attributes {
|
|
2230
|
+
/**
|
|
2231
|
+
* Whether the position is in range
|
|
2232
|
+
*/
|
|
2233
|
+
in_range: boolean;
|
|
2234
|
+
/**
|
|
2235
|
+
* An arbitrary precision decimal represented as a string
|
|
2236
|
+
*/
|
|
2237
|
+
lower: Decimal;
|
|
2238
|
+
/**
|
|
2239
|
+
* An arbitrary precision decimal represented as a string
|
|
2240
|
+
*/
|
|
2241
|
+
price: Decimal;
|
|
2242
|
+
/**
|
|
2243
|
+
* Lower tick
|
|
2244
|
+
*/
|
|
2245
|
+
tick_lower: number;
|
|
2246
|
+
/**
|
|
2247
|
+
* Upper tick
|
|
2248
|
+
*/
|
|
2249
|
+
tick_upper: number;
|
|
2250
|
+
/**
|
|
2251
|
+
* An arbitrary precision decimal represented as a string
|
|
2252
|
+
*/
|
|
2253
|
+
upper: Decimal;
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* An LP quote
|
|
2257
|
+
*/
|
|
2258
|
+
export interface LPQuote {
|
|
2259
|
+
/**
|
|
2260
|
+
* An EVM address
|
|
2261
|
+
*/
|
|
2262
|
+
account: Account;
|
|
2263
|
+
/**
|
|
2264
|
+
* A list of arbitrary precision decimals
|
|
2265
|
+
*/
|
|
2266
|
+
amounts: Array<Decimal>;
|
|
2267
|
+
/**
|
|
2268
|
+
* A list of arbitrary precision decimals
|
|
2269
|
+
*/
|
|
2270
|
+
amounts_delta: Array<Decimal>;
|
|
2271
|
+
/**
|
|
2272
|
+
* Information about a specific block number and its timestamp
|
|
2273
|
+
*/
|
|
2274
|
+
blockstamp: Blockstamp;
|
|
2275
|
+
/**
|
|
2276
|
+
* An arbitrary precision decimal represented as a string
|
|
2277
|
+
*/
|
|
2278
|
+
ownership: string | null;
|
|
2279
|
+
/**
|
|
2280
|
+
* A liquidity pool
|
|
2281
|
+
*/
|
|
2282
|
+
pool: LPPool;
|
|
2283
|
+
/**
|
|
2284
|
+
* An asset symbol
|
|
2285
|
+
*/
|
|
2286
|
+
quote_asset_symbol: string | null;
|
|
2287
|
+
/**
|
|
2288
|
+
* An arbitrary precision decimal represented as a string
|
|
2289
|
+
*/
|
|
2290
|
+
value: string | null;
|
|
2291
|
+
}
|
|
2292
|
+
/**
|
|
2293
|
+
* Uniswap position specifier
|
|
2294
|
+
*/
|
|
2295
|
+
export interface LPUniswapV3PositionSpecifier {
|
|
2296
|
+
/**
|
|
2297
|
+
* A NFT
|
|
2298
|
+
*/
|
|
2299
|
+
position_nft: NFT;
|
|
2300
|
+
}
|
|
2301
|
+
/**
|
|
2302
|
+
* A Uniswap V3 range. Lower and upper bounds should satisfy 0 <= `lower` <
|
|
2303
|
+
* `upper`. The value -1 can be used in `upper` for infinity
|
|
2304
|
+
*/
|
|
2305
|
+
export interface LPUniswapV3Range {
|
|
2306
|
+
/**
|
|
2307
|
+
* An arbitrary precision decimal represented as a string
|
|
2308
|
+
*/
|
|
2309
|
+
lower: Decimal;
|
|
2310
|
+
/**
|
|
2311
|
+
* An arbitrary precision decimal represented as a string
|
|
2312
|
+
*/
|
|
2313
|
+
upper: Decimal;
|
|
2314
|
+
}
|
|
2315
|
+
/**
|
|
2316
|
+
* Estimated cost of an operation
|
|
2317
|
+
*/
|
|
2318
|
+
export interface NetworkFeeEstimate {
|
|
2319
|
+
/**
|
|
2320
|
+
* An arbitrary precision decimal represented as a string
|
|
2321
|
+
*/
|
|
2322
|
+
amount: Decimal;
|
|
2323
|
+
/**
|
|
2324
|
+
* On-chain asset (aka token)
|
|
2325
|
+
*/
|
|
2326
|
+
asset: Asset;
|
|
2327
|
+
/**
|
|
2328
|
+
* An arbitrary precision decimal represented as a string
|
|
2329
|
+
*/
|
|
2330
|
+
cost: string | null;
|
|
2331
|
+
/**
|
|
2332
|
+
* An asset symbol
|
|
2333
|
+
*/
|
|
2334
|
+
quote_asset_symbol: string | null;
|
|
2335
|
+
}
|
|
2336
|
+
/**
|
|
2337
|
+
* Blockchain's network
|
|
2338
|
+
*/
|
|
2339
|
+
export type NetworkName = string;
|
|
2340
|
+
/**
|
|
2341
|
+
* A NFT
|
|
2342
|
+
*/
|
|
2343
|
+
export interface NFT {
|
|
2344
|
+
/**
|
|
2345
|
+
* The NFT id
|
|
2346
|
+
*/
|
|
2347
|
+
id: number;
|
|
2348
|
+
/**
|
|
2349
|
+
* A NFT Collection
|
|
2350
|
+
*/
|
|
2351
|
+
collection: NFTCollection;
|
|
2352
|
+
}
|
|
2353
|
+
/**
|
|
2354
|
+
* A NFT Collection
|
|
2355
|
+
*/
|
|
2356
|
+
export interface NFTCollection {
|
|
2357
|
+
/**
|
|
2358
|
+
* The NFT Collection's address
|
|
2359
|
+
*/
|
|
2360
|
+
address: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Data about a blockchain
|
|
2363
|
+
*/
|
|
2364
|
+
blockchain?: NFTCollection.Blockchain;
|
|
2365
|
+
/**
|
|
2366
|
+
* The NFT Collection's name
|
|
2367
|
+
*/
|
|
2368
|
+
name?: string;
|
|
2369
|
+
}
|
|
2370
|
+
export declare namespace NFTCollection {
|
|
2371
|
+
/**
|
|
2372
|
+
* Data about a blockchain
|
|
2373
|
+
*/
|
|
2374
|
+
interface Blockchain {
|
|
2375
|
+
/**
|
|
2376
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
2377
|
+
*/
|
|
2378
|
+
id: VektorAPI.BlockchainID;
|
|
2379
|
+
/**
|
|
2380
|
+
* Data about an EVM blockchain
|
|
2381
|
+
*/
|
|
2382
|
+
chain_data: VektorAPI.EVMChainData;
|
|
2383
|
+
/**
|
|
2384
|
+
* Blockchain ecosystem
|
|
2385
|
+
*/
|
|
2386
|
+
chain_type: VektorAPI.ChainType;
|
|
2387
|
+
/**
|
|
2388
|
+
* The blockchain's explorer URL
|
|
2389
|
+
*/
|
|
2390
|
+
explorer_url: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* BlockchainName
|
|
2393
|
+
*/
|
|
2394
|
+
name: VektorAPI.BlockchainName;
|
|
2395
|
+
/**
|
|
2396
|
+
* Blockchain's network
|
|
2397
|
+
*/
|
|
2398
|
+
network: VektorAPI.NetworkName;
|
|
2399
|
+
/**
|
|
2400
|
+
* A blockchain symbol
|
|
2401
|
+
*/
|
|
2402
|
+
symbol: VektorAPI.BlockchainSymbol;
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
/**
|
|
2406
|
+
* A range of timestamps
|
|
2407
|
+
*/
|
|
2408
|
+
export interface OffChainHistoricalRange {
|
|
2409
|
+
/**
|
|
2410
|
+
* ISO8601 Timestamp
|
|
2411
|
+
*/
|
|
2412
|
+
from: Timestamp;
|
|
2413
|
+
/**
|
|
2414
|
+
* ISO8601 Timestamp
|
|
2415
|
+
*/
|
|
2416
|
+
to: Timestamp;
|
|
2417
|
+
}
|
|
2418
|
+
/**
|
|
2419
|
+
* A range of blockstamps
|
|
2420
|
+
*/
|
|
2421
|
+
export interface OnChainHistoricalRange {
|
|
2422
|
+
/**
|
|
2423
|
+
* Information about a specific block number and its timestamp
|
|
2424
|
+
*/
|
|
2425
|
+
from: Blockstamp;
|
|
2426
|
+
/**
|
|
2427
|
+
* Information about a specific block number and its timestamp
|
|
2428
|
+
*/
|
|
2429
|
+
to: Blockstamp;
|
|
2430
|
+
}
|
|
2431
|
+
/**
|
|
2432
|
+
* A price
|
|
2433
|
+
*/
|
|
2434
|
+
export interface Price {
|
|
2435
|
+
/**
|
|
2436
|
+
* An asset symbol
|
|
2437
|
+
*/
|
|
2438
|
+
asset_symbol: AssetSymbol;
|
|
2439
|
+
/**
|
|
2440
|
+
* An arbitrary precision decimal represented as a string
|
|
2441
|
+
*/
|
|
2442
|
+
change_1h: string | null;
|
|
2443
|
+
/**
|
|
2444
|
+
* An arbitrary precision decimal represented as a string
|
|
2445
|
+
*/
|
|
2446
|
+
change_1y: string | null;
|
|
2447
|
+
/**
|
|
2448
|
+
* An arbitrary precision decimal represented as a string
|
|
2449
|
+
*/
|
|
2450
|
+
change_24h: string | null;
|
|
2451
|
+
/**
|
|
2452
|
+
* An arbitrary precision decimal represented as a string
|
|
2453
|
+
*/
|
|
2454
|
+
change_30d: string | null;
|
|
2455
|
+
/**
|
|
2456
|
+
* An arbitrary precision decimal represented as a string
|
|
2457
|
+
*/
|
|
2458
|
+
change_7d: string | null;
|
|
2459
|
+
/**
|
|
2460
|
+
* An arbitrary precision decimal represented as a string
|
|
2461
|
+
*/
|
|
2462
|
+
market_cap: string | null;
|
|
2463
|
+
/**
|
|
2464
|
+
* An arbitrary precision decimal represented as a string
|
|
2465
|
+
*/
|
|
2466
|
+
price: Decimal;
|
|
2467
|
+
/**
|
|
2468
|
+
* An asset symbol
|
|
2469
|
+
*/
|
|
2470
|
+
quote_asset_symbol: AssetSymbol;
|
|
2471
|
+
}
|
|
2472
|
+
/**
|
|
2473
|
+
* Quote info for 0x
|
|
2474
|
+
*/
|
|
2475
|
+
export interface QuoteInfo0x {
|
|
2476
|
+
/**
|
|
2477
|
+
* An arbitrary precision decimal represented as a string
|
|
2478
|
+
*/
|
|
2479
|
+
estimated_gas_used: string | null;
|
|
2480
|
+
/**
|
|
2481
|
+
* A route in a 0x quote
|
|
2482
|
+
*/
|
|
2483
|
+
route: QuoteInfo0xRoute;
|
|
2484
|
+
}
|
|
2485
|
+
/**
|
|
2486
|
+
* A fill in a 0x quote
|
|
2487
|
+
*/
|
|
2488
|
+
export interface QuoteInfo0xFill {
|
|
2489
|
+
/**
|
|
2490
|
+
* An EVM address
|
|
2491
|
+
*/
|
|
2492
|
+
from: AddressEVM;
|
|
2493
|
+
proportion_bps: number;
|
|
2494
|
+
source: string;
|
|
2495
|
+
/**
|
|
2496
|
+
* An EVM address
|
|
2497
|
+
*/
|
|
2498
|
+
to: AddressEVM;
|
|
2499
|
+
}
|
|
2500
|
+
/**
|
|
2501
|
+
* A route in a 0x quote
|
|
2502
|
+
*/
|
|
2503
|
+
export interface QuoteInfo0xRoute {
|
|
2504
|
+
/**
|
|
2505
|
+
* A list of fills in a 0x quote
|
|
2506
|
+
*/
|
|
2507
|
+
fills: Array<QuoteInfo0xFill>;
|
|
2508
|
+
/**
|
|
2509
|
+
* A list of tokens in a 0x quote
|
|
2510
|
+
*/
|
|
2511
|
+
tokens: Array<QuoteInfo0xToken>;
|
|
2512
|
+
}
|
|
2513
|
+
/**
|
|
2514
|
+
* A token in a 0x quote
|
|
2515
|
+
*/
|
|
2516
|
+
export interface QuoteInfo0xToken {
|
|
2517
|
+
/**
|
|
2518
|
+
* An EVM address
|
|
2519
|
+
*/
|
|
2520
|
+
address: AddressEVM;
|
|
2521
|
+
symbol: string;
|
|
2522
|
+
}
|
|
2523
|
+
/**
|
|
2524
|
+
* Quote info for Curve
|
|
2525
|
+
*/
|
|
2526
|
+
export interface QuoteInfoCurve {
|
|
2527
|
+
i_index: number;
|
|
2528
|
+
j_index: number;
|
|
2529
|
+
/**
|
|
2530
|
+
* A LP pool ID, represented as a TypeID with `lp_pool` prefix
|
|
2531
|
+
*/
|
|
2532
|
+
pool_id: string;
|
|
2533
|
+
swap_type: string;
|
|
2534
|
+
}
|
|
2535
|
+
/**
|
|
2536
|
+
* Quote info for Uniswap V2
|
|
2537
|
+
*/
|
|
2538
|
+
export interface QuoteInfoUniswapV2 {
|
|
2539
|
+
/**
|
|
2540
|
+
* A list of LP pool IDs
|
|
2541
|
+
*/
|
|
2542
|
+
pool_ids: Array<string>;
|
|
2543
|
+
}
|
|
2544
|
+
/**
|
|
2545
|
+
* Quote info for Uniswap V3
|
|
2546
|
+
*/
|
|
2547
|
+
export interface QuoteInfoUniswapV3 {
|
|
2548
|
+
/**
|
|
2549
|
+
* A list of LP pool IDs
|
|
2550
|
+
*/
|
|
2551
|
+
pool_ids: Array<string>;
|
|
2552
|
+
}
|
|
2553
|
+
/**
|
|
2554
|
+
* Registry data for a lend borrow market
|
|
2555
|
+
*/
|
|
2556
|
+
export interface RegistryLendBorrowMarket {
|
|
2557
|
+
/**
|
|
2558
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
2559
|
+
* prefix
|
|
2560
|
+
*/
|
|
2561
|
+
id: LendBorrowMarketID;
|
|
2562
|
+
/**
|
|
2563
|
+
* On-chain asset (aka token)
|
|
2564
|
+
*/
|
|
2565
|
+
asset: Asset;
|
|
2566
|
+
/**
|
|
2567
|
+
* Data about a blockchain
|
|
2568
|
+
*/
|
|
2569
|
+
blockchain: Blockchain;
|
|
2570
|
+
/**
|
|
2571
|
+
* On-chain venue
|
|
2572
|
+
*/
|
|
2573
|
+
venue: Venue;
|
|
2574
|
+
}
|
|
2575
|
+
/**
|
|
2576
|
+
* Registry data for an LP pool
|
|
2577
|
+
*/
|
|
2578
|
+
export interface RegistryLPPool {
|
|
2579
|
+
/**
|
|
2580
|
+
* A LP pool ID, represented as a TypeID with `lp_pool` prefix
|
|
2581
|
+
*/
|
|
2582
|
+
id: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* Response for multiple assets
|
|
2585
|
+
*/
|
|
2586
|
+
assets: Array<Asset>;
|
|
2587
|
+
/**
|
|
2588
|
+
* Data about a blockchain
|
|
2589
|
+
*/
|
|
2590
|
+
blockchain: Blockchain;
|
|
2591
|
+
/**
|
|
2592
|
+
* On-chain venue
|
|
2593
|
+
*/
|
|
2594
|
+
venue: Venue;
|
|
2595
|
+
}
|
|
2596
|
+
/**
|
|
2597
|
+
* A sell quote
|
|
2598
|
+
*/
|
|
2599
|
+
export interface SellQuote {
|
|
2600
|
+
/**
|
|
2601
|
+
* Data about a blockchain
|
|
2602
|
+
*/
|
|
2603
|
+
blockchain: Blockchain;
|
|
2604
|
+
/**
|
|
2605
|
+
* Estimated cost of an operation
|
|
2606
|
+
*/
|
|
2607
|
+
fee_estimate: SellQuote.FeeEstimate | null;
|
|
2608
|
+
/**
|
|
2609
|
+
* An asset symbol
|
|
2610
|
+
*/
|
|
2611
|
+
quote_asset_symbol: string | null;
|
|
2612
|
+
/**
|
|
2613
|
+
* Quote info for sell quotes
|
|
2614
|
+
*/
|
|
2615
|
+
quote_info: QuoteInfoCurve | QuoteInfoUniswapV2 | QuoteInfoUniswapV3 | QuoteInfo0x;
|
|
2616
|
+
/**
|
|
2617
|
+
* An arbitrary precision decimal represented as a string
|
|
2618
|
+
*/
|
|
2619
|
+
quote_value: string | null;
|
|
2620
|
+
/**
|
|
2621
|
+
* An arbitrary precision decimal represented as a string
|
|
2622
|
+
*/
|
|
2623
|
+
receive_amount: Decimal;
|
|
2624
|
+
/**
|
|
2625
|
+
* On-chain asset (aka token)
|
|
2626
|
+
*/
|
|
2627
|
+
receive_asset: Asset;
|
|
2628
|
+
/**
|
|
2629
|
+
* An arbitrary precision decimal represented as a string
|
|
2630
|
+
*/
|
|
2631
|
+
spend_amount: Decimal;
|
|
2632
|
+
/**
|
|
2633
|
+
* On-chain asset (aka token)
|
|
2634
|
+
*/
|
|
2635
|
+
spend_asset: Asset;
|
|
2636
|
+
/**
|
|
2637
|
+
* On-chain venue
|
|
2638
|
+
*/
|
|
2639
|
+
venue: Venue;
|
|
2640
|
+
}
|
|
2641
|
+
export declare namespace SellQuote {
|
|
2642
|
+
/**
|
|
2643
|
+
* Estimated cost of an operation
|
|
2644
|
+
*/
|
|
2645
|
+
interface FeeEstimate {
|
|
2646
|
+
/**
|
|
2647
|
+
* An arbitrary precision decimal represented as a string
|
|
2648
|
+
*/
|
|
2649
|
+
amount: VektorAPI.Decimal;
|
|
2650
|
+
/**
|
|
2651
|
+
* On-chain asset (aka token)
|
|
2652
|
+
*/
|
|
2653
|
+
asset: VektorAPI.Asset;
|
|
2654
|
+
/**
|
|
2655
|
+
* An arbitrary precision decimal represented as a string
|
|
2656
|
+
*/
|
|
2657
|
+
cost: string | null;
|
|
2658
|
+
/**
|
|
2659
|
+
* An asset symbol
|
|
2660
|
+
*/
|
|
2661
|
+
quote_asset_symbol: string | null;
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
/**
|
|
2665
|
+
* ISO8601 Timestamp
|
|
2666
|
+
*/
|
|
2667
|
+
export type Timestamp = string;
|
|
2668
|
+
/**
|
|
2669
|
+
* Either a ISO8601 timestamp or a block number
|
|
2670
|
+
*/
|
|
2671
|
+
export type TimestampOrBlockNumber = Timestamp | BlockNumber;
|
|
2672
|
+
/**
|
|
2673
|
+
* A transaction hash
|
|
2674
|
+
*/
|
|
2675
|
+
export type TransactionHash = string;
|
|
2676
|
+
/**
|
|
2677
|
+
* An error
|
|
2678
|
+
*/
|
|
2679
|
+
export interface VektorError {
|
|
2680
|
+
/**
|
|
2681
|
+
* Error message
|
|
2682
|
+
*/
|
|
2683
|
+
message: string;
|
|
2684
|
+
/**
|
|
2685
|
+
* Error parameters
|
|
2686
|
+
*/
|
|
2687
|
+
params: {
|
|
2688
|
+
[key: string]: unknown;
|
|
2689
|
+
};
|
|
2690
|
+
/**
|
|
2691
|
+
* Error type
|
|
2692
|
+
*/
|
|
2693
|
+
type: string;
|
|
2694
|
+
}
|
|
2695
|
+
/**
|
|
2696
|
+
* On-chain venue
|
|
2697
|
+
*/
|
|
2698
|
+
export interface Venue {
|
|
2699
|
+
/**
|
|
2700
|
+
* A venue ID, represented as a TypeID with `venue` prefix
|
|
2701
|
+
*/
|
|
2702
|
+
id: VenueID;
|
|
2703
|
+
/**
|
|
2704
|
+
* A list of blockchain IDs
|
|
2705
|
+
*/
|
|
2706
|
+
blockchain_ids: Array<BlockchainID>;
|
|
2707
|
+
/**
|
|
2708
|
+
* Venue name
|
|
2709
|
+
*/
|
|
2710
|
+
name: string;
|
|
2711
|
+
/**
|
|
2712
|
+
* A venue symbol
|
|
2713
|
+
*/
|
|
2714
|
+
symbol: VenueSymbol;
|
|
2715
|
+
/**
|
|
2716
|
+
* Venue type
|
|
2717
|
+
*/
|
|
2718
|
+
type: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* Venue url
|
|
2721
|
+
*/
|
|
2722
|
+
url: string;
|
|
2723
|
+
}
|
|
2724
|
+
/**
|
|
2725
|
+
* A venue ID, represented as a TypeID with `venue` prefix
|
|
2726
|
+
*/
|
|
2727
|
+
export type VenueID = string;
|
|
2728
|
+
/**
|
|
2729
|
+
* A venue ID, represented as a TypeID with `venue` prefix
|
|
2730
|
+
*/
|
|
2731
|
+
export type VenueIDOrVenueSymbol = string;
|
|
2732
|
+
/**
|
|
2733
|
+
* A venue symbol
|
|
2734
|
+
*/
|
|
2735
|
+
export type VenueSymbol = string;
|
|
2736
|
+
/**
|
|
2737
|
+
* A LP incentive vote market
|
|
2738
|
+
*/
|
|
2739
|
+
export interface VoteMarket {
|
|
2740
|
+
/**
|
|
2741
|
+
* Information about a specific block number and its timestamp
|
|
2742
|
+
*/
|
|
2743
|
+
blockstamp: Blockstamp;
|
|
2744
|
+
/**
|
|
2745
|
+
* A lp pool incentive market
|
|
2746
|
+
*/
|
|
2747
|
+
market: IncentivizeMarket;
|
|
2748
|
+
/**
|
|
2749
|
+
* An asset symbol
|
|
2750
|
+
*/
|
|
2751
|
+
quote_asset_symbol: string | null;
|
|
2752
|
+
/**
|
|
2753
|
+
* A list of arbitrary precision decimals
|
|
2754
|
+
*/
|
|
2755
|
+
trading_fees_amounts: Array<Decimal>;
|
|
2756
|
+
/**
|
|
2757
|
+
* Response for multiple assets
|
|
2758
|
+
*/
|
|
2759
|
+
trading_fees_assets: Array<Asset>;
|
|
2760
|
+
/**
|
|
2761
|
+
* An arbitrary precision decimal represented as a string
|
|
2762
|
+
*/
|
|
2763
|
+
value: Decimal;
|
|
2764
|
+
/**
|
|
2765
|
+
* An arbitrary precision decimal represented as a string
|
|
2766
|
+
*/
|
|
2767
|
+
value_per_vote: Decimal;
|
|
2768
|
+
/**
|
|
2769
|
+
* An arbitrary precision decimal represented as a string
|
|
2770
|
+
*/
|
|
2771
|
+
votes: Decimal;
|
|
2772
|
+
}
|
|
2773
|
+
/**
|
|
2774
|
+
* A LP vote reward
|
|
2775
|
+
*/
|
|
2776
|
+
export interface VoteReward {
|
|
2777
|
+
/**
|
|
2778
|
+
* An EVM address
|
|
2779
|
+
*/
|
|
2780
|
+
account: Account;
|
|
2781
|
+
/**
|
|
2782
|
+
* Information about a specific block number and its timestamp
|
|
2783
|
+
*/
|
|
2784
|
+
blockstamp: Blockstamp;
|
|
2785
|
+
/**
|
|
2786
|
+
* A list of arbitrary precision decimals
|
|
2787
|
+
*/
|
|
2788
|
+
fee_amounts: Array<Decimal>;
|
|
2789
|
+
/**
|
|
2790
|
+
* Response for multiple assets
|
|
2791
|
+
*/
|
|
2792
|
+
fee_assets: Array<Asset>;
|
|
2793
|
+
/**
|
|
2794
|
+
* A list of arbitrary precision decimals
|
|
2795
|
+
*/
|
|
2796
|
+
incentive_amounts: Array<Decimal>;
|
|
2797
|
+
/**
|
|
2798
|
+
* Response for multiple assets
|
|
2799
|
+
*/
|
|
2800
|
+
incentive_assets: Array<Asset>;
|
|
2801
|
+
/**
|
|
2802
|
+
* A list of lock positions
|
|
2803
|
+
*/
|
|
2804
|
+
lock_positions: Array<LockPosition>;
|
|
2805
|
+
/**
|
|
2806
|
+
* A liquidity pool
|
|
2807
|
+
*/
|
|
2808
|
+
pool: LPPool;
|
|
2809
|
+
/**
|
|
2810
|
+
* An asset symbol
|
|
2811
|
+
*/
|
|
2812
|
+
quote_asset_symbol: string | null;
|
|
2813
|
+
/**
|
|
2814
|
+
* An arbitrary precision decimal represented as a string
|
|
2815
|
+
*/
|
|
2816
|
+
value: Decimal;
|
|
2817
|
+
}
|
|
2818
|
+
export declare namespace Vektor {
|
|
2819
|
+
export { type Account as Account, type AddressEVM as AddressEVM, type APY as APY, type Asset as Asset, type AssetID as AssetID, type AssetIDOrAddressEVMOrAssetSymbol as AssetIDOrAddressEVMOrAssetSymbol, type AssetSymbol as AssetSymbol, type Balance as Balance, type BlockNumber as BlockNumber, type Blockchain as Blockchain, type BlockchainID as BlockchainID, type BlockchainIDOrBlockchainSymbol as BlockchainIDOrBlockchainSymbol, type BlockchainName as BlockchainName, type BlockchainSymbol as BlockchainSymbol, type Blockstamp as Blockstamp, type BorrowAccount as BorrowAccount, type BorrowMarket as BorrowMarket, type BorrowPosition as BorrowPosition, type BridgeQuote as BridgeQuote, type BuyQuote as BuyQuote, type ChainType as ChainType, type Decimal as Decimal, type ErrorWrapper as ErrorWrapper, type EVMChainData as EVMChainData, type Execution as Execution, type ExecutionEVMTransactionEIP1559Payload as ExecutionEVMTransactionEIP1559Payload, type ExecutionEVMTransactionPayload as ExecutionEVMTransactionPayload, type ExecutionEVMTransactionState as ExecutionEVMTransactionState, type ExecutionID as ExecutionID, type ExecutionState as ExecutionState, type ExecutionStepID as ExecutionStepID, type HexString as HexString, type IncentivizeMarket as IncentivizeMarket, type LendBorrowAPYs as LendBorrowAPYs, type LendBorrowMarketID as LendBorrowMarketID, type LendMarket as LendMarket, type LendPosition as LendPosition, type LockMarket as LockMarket, type LockPosition as LockPosition, type LPPool as LPPool, type LPPoolSolidlyAttributes as LPPoolSolidlyAttributes, type LPPoolUniswapV3Attributes as LPPoolUniswapV3Attributes, type LPPosition as LPPosition, type LPPositionAttributes as LPPositionAttributes, type LPPositionUniswapV3Attributes as LPPositionUniswapV3Attributes, type LPQuote as LPQuote, type LPUniswapV3PositionSpecifier as LPUniswapV3PositionSpecifier, type LPUniswapV3Range as LPUniswapV3Range, type NetworkFeeEstimate as NetworkFeeEstimate, type NetworkName as NetworkName, type NFT as NFT, type NFTCollection as NFTCollection, type OffChainHistoricalRange as OffChainHistoricalRange, type OnChainHistoricalRange as OnChainHistoricalRange, type Price as Price, type QuoteInfo0x as QuoteInfo0x, type QuoteInfo0xFill as QuoteInfo0xFill, type QuoteInfo0xRoute as QuoteInfo0xRoute, type QuoteInfo0xToken as QuoteInfo0xToken, type QuoteInfoCurve as QuoteInfoCurve, type QuoteInfoUniswapV2 as QuoteInfoUniswapV2, type QuoteInfoUniswapV3 as QuoteInfoUniswapV3, type RegistryLendBorrowMarket as RegistryLendBorrowMarket, type RegistryLPPool as RegistryLPPool, type SellQuote as SellQuote, type Timestamp as Timestamp, type TimestampOrBlockNumber as TimestampOrBlockNumber, type TransactionHash as TransactionHash, type VektorError as VektorError, type Venue as Venue, type VenueID as VenueID, type VenueIDOrVenueSymbol as VenueIDOrVenueSymbol, type VenueSymbol as VenueSymbol, type VoteMarket as VoteMarket, type VoteReward as VoteReward, };
|
|
2820
|
+
export { Registry as Registry };
|
|
2821
|
+
export { Balances as Balances, type BalanceListResponse as BalanceListResponse, type BalanceListHistoricalResponse as BalanceListHistoricalResponse, type BalanceListParams as BalanceListParams, type BalanceListHistoricalParams as BalanceListHistoricalParams, };
|
|
2822
|
+
export { Prices as Prices, type PriceListResponse as PriceListResponse, type PriceListHistoricalResponse as PriceListHistoricalResponse, type PriceListParams as PriceListParams, type PriceListHistoricalParams as PriceListHistoricalParams, };
|
|
2823
|
+
export { Lend as Lend };
|
|
2824
|
+
export { Borrow as Borrow };
|
|
2825
|
+
export { LP as LP };
|
|
2826
|
+
export { Buy as Buy };
|
|
2827
|
+
export { Sell as Sell };
|
|
2828
|
+
export { Move as Move, type MoveCreateParams as MoveCreateParams };
|
|
2829
|
+
export { Wrap as Wrap };
|
|
2830
|
+
export { Bridge as Bridge };
|
|
2831
|
+
export { Lock as Lock };
|
|
2832
|
+
export { Vote as Vote };
|
|
2833
|
+
export { Incentivize as Incentivize, type IncentivizeListResponse as IncentivizeListResponse, type IncentivizeListParams as IncentivizeListParams, };
|
|
2834
|
+
export { Executions as Executions, type ExecutionListResponse as ExecutionListResponse };
|
|
2835
|
+
}
|
|
2836
|
+
//# sourceMappingURL=vektor.d.ts.map
|