@nirvana-labs/nirvana 1.8.4 → 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 +18 -0
- package/bin/migration-config.json +70 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/connect/connect.d.mts +10 -0
- package/resources/connect/connect.d.mts.map +1 -0
- package/resources/connect/connect.d.ts +10 -0
- package/resources/connect/connect.d.ts.map +1 -0
- package/resources/connect/connect.js +17 -0
- package/resources/connect/connect.js.map +1 -0
- package/resources/connect/connect.mjs +12 -0
- package/resources/connect/connect.mjs.map +1 -0
- package/resources/connect/flux.d.mts +70 -0
- package/resources/connect/flux.d.mts.map +1 -0
- package/resources/connect/flux.d.ts +70 -0
- package/resources/connect/flux.d.ts.map +1 -0
- package/resources/connect/flux.js +22 -0
- package/resources/connect/flux.js.map +1 -0
- package/resources/connect/flux.mjs +18 -0
- package/resources/connect/flux.mjs.map +1 -0
- package/resources/connect/index.d.mts +3 -0
- package/resources/connect/index.d.mts.map +1 -0
- package/resources/connect/index.d.ts +3 -0
- package/resources/connect/index.d.ts.map +1 -0
- package/resources/connect/index.js +9 -0
- package/resources/connect/index.js.map +1 -0
- package/resources/connect/index.mjs +4 -0
- package/resources/connect/index.mjs.map +1 -0
- package/resources/connect.d.mts +2 -0
- package/resources/connect.d.mts.map +1 -0
- package/resources/connect.d.ts +2 -0
- package/resources/connect.d.ts.map +1 -0
- package/resources/connect.js +6 -0
- package/resources/connect.js.map +1 -0
- package/resources/connect.mjs +3 -0
- package/resources/connect.mjs.map +1 -0
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/networking/firewall-rules.d.mts +1 -1
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +1 -1
- package/resources/networking/firewall-rules.d.ts.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 +10 -0
- package/src/resources/connect/connect.ts +15 -0
- package/src/resources/connect/flux.ts +91 -0
- package/src/resources/connect/index.ts +4 -0
- package/src/resources/connect.ts +3 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/networking/firewall-rules.ts +1 -1
- 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,1112 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as VektorAPI from "../vektor.mjs";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
+
export declare class Steps extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get a step of an execution
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const step = await client.vektor.executions.steps.get(
|
|
12
|
+
* 'step_id',
|
|
13
|
+
* { execution_id: 'execution_id' },
|
|
14
|
+
* );
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
get(stepID: string, params: StepGetParams, options?: RequestOptions): APIPromise<StepGetResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Sign an EVM transaction step
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* await client.vektor.executions.steps.sign('step_id', {
|
|
24
|
+
* execution_id: 'execution_id',
|
|
25
|
+
* signed_payload: '0x123456789abcdef',
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
sign(stepID: string, params: StepSignParams, options?: RequestOptions): APIPromise<void>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* An execution step
|
|
33
|
+
*/
|
|
34
|
+
export interface StepGetResponse {
|
|
35
|
+
/**
|
|
36
|
+
* An execution step ID, represented as a TypeID with `execution_step` prefix
|
|
37
|
+
*/
|
|
38
|
+
id: VektorAPI.ExecutionStepID;
|
|
39
|
+
/**
|
|
40
|
+
* ISO8601 Timestamp
|
|
41
|
+
*/
|
|
42
|
+
created_at: VektorAPI.Timestamp;
|
|
43
|
+
/**
|
|
44
|
+
* The definition of an execution step
|
|
45
|
+
*/
|
|
46
|
+
definition: StepGetResponse.ExecutionEVMTransactionApprove | StepGetResponse.ExecutionEVMTransactionBuy | StepGetResponse.ExecutionEVMTransactionLend | StepGetResponse.ExecutionEVMTransactionLendSetCollateral | StepGetResponse.ExecutionEVMTransactionLendWithdraw | StepGetResponse.ExecutionEVMTransactionMove | StepGetResponse.ExecutionEVMTransactionPermission | StepGetResponse.ExecutionEVMTransactionUnwrap | StepGetResponse.ExecutionEVMTransactionWrap | StepGetResponse.ExecutionEVMTransactionSell;
|
|
47
|
+
index: number;
|
|
48
|
+
/**
|
|
49
|
+
* The type of an execution step
|
|
50
|
+
*/
|
|
51
|
+
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';
|
|
52
|
+
/**
|
|
53
|
+
* ISO8601 Timestamp
|
|
54
|
+
*/
|
|
55
|
+
updated_at: VektorAPI.Timestamp;
|
|
56
|
+
}
|
|
57
|
+
export declare namespace StepGetResponse {
|
|
58
|
+
/**
|
|
59
|
+
* An approval of an asset
|
|
60
|
+
*/
|
|
61
|
+
interface ExecutionEVMTransactionApprove {
|
|
62
|
+
/**
|
|
63
|
+
* An arbitrary precision decimal represented as a string
|
|
64
|
+
*/
|
|
65
|
+
amount: VektorAPI.Decimal;
|
|
66
|
+
/**
|
|
67
|
+
* On-chain asset (aka token)
|
|
68
|
+
*/
|
|
69
|
+
asset: VektorAPI.Asset;
|
|
70
|
+
block_number: number | null;
|
|
71
|
+
/**
|
|
72
|
+
* ISO8601 Timestamp
|
|
73
|
+
*/
|
|
74
|
+
broadcasted_at: string | null;
|
|
75
|
+
confirmation_target: number;
|
|
76
|
+
/**
|
|
77
|
+
* ISO8601 Timestamp
|
|
78
|
+
*/
|
|
79
|
+
confirmed_at: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* ISO8601 Timestamp
|
|
82
|
+
*/
|
|
83
|
+
created_at: VektorAPI.Timestamp;
|
|
84
|
+
/**
|
|
85
|
+
* A hex string starting with 0x
|
|
86
|
+
*/
|
|
87
|
+
data: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* An arbitrary precision decimal represented as a string
|
|
90
|
+
*/
|
|
91
|
+
effective_gas_price: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* An error
|
|
94
|
+
*/
|
|
95
|
+
error: ExecutionEVMTransactionApprove.Error | null;
|
|
96
|
+
/**
|
|
97
|
+
* ISO8601 Timestamp
|
|
98
|
+
*/
|
|
99
|
+
errored_at: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* An arbitrary precision decimal represented as a string
|
|
102
|
+
*/
|
|
103
|
+
gas_used: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* A transaction hash
|
|
106
|
+
*/
|
|
107
|
+
hash: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* The payload of an EIP-1559 transaction
|
|
110
|
+
*/
|
|
111
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
112
|
+
/**
|
|
113
|
+
* ISO8601 Timestamp
|
|
114
|
+
*/
|
|
115
|
+
signed_at: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* An EVM address
|
|
118
|
+
*/
|
|
119
|
+
spender: VektorAPI.Account;
|
|
120
|
+
/**
|
|
121
|
+
* The state of an EVM transaction
|
|
122
|
+
*/
|
|
123
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
124
|
+
/**
|
|
125
|
+
* The state of an EVM transaction
|
|
126
|
+
*/
|
|
127
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
128
|
+
/**
|
|
129
|
+
* An EVM address
|
|
130
|
+
*/
|
|
131
|
+
to: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* ISO8601 Timestamp
|
|
134
|
+
*/
|
|
135
|
+
updated_at: VektorAPI.Timestamp;
|
|
136
|
+
/**
|
|
137
|
+
* An arbitrary precision decimal represented as a string
|
|
138
|
+
*/
|
|
139
|
+
value: string | null;
|
|
140
|
+
}
|
|
141
|
+
namespace ExecutionEVMTransactionApprove {
|
|
142
|
+
/**
|
|
143
|
+
* An error
|
|
144
|
+
*/
|
|
145
|
+
interface Error {
|
|
146
|
+
/**
|
|
147
|
+
* Error message
|
|
148
|
+
*/
|
|
149
|
+
message: string;
|
|
150
|
+
/**
|
|
151
|
+
* Error parameters
|
|
152
|
+
*/
|
|
153
|
+
params: {
|
|
154
|
+
[key: string]: unknown;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Error type
|
|
158
|
+
*/
|
|
159
|
+
type: string;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Buying an asset with another asset
|
|
164
|
+
*/
|
|
165
|
+
interface ExecutionEVMTransactionBuy {
|
|
166
|
+
/**
|
|
167
|
+
* An EVM address
|
|
168
|
+
*/
|
|
169
|
+
approval_target: VektorAPI.Account;
|
|
170
|
+
block_number: number | null;
|
|
171
|
+
/**
|
|
172
|
+
* ISO8601 Timestamp
|
|
173
|
+
*/
|
|
174
|
+
broadcasted_at: string | null;
|
|
175
|
+
confirmation_target: number;
|
|
176
|
+
/**
|
|
177
|
+
* ISO8601 Timestamp
|
|
178
|
+
*/
|
|
179
|
+
confirmed_at: string | null;
|
|
180
|
+
/**
|
|
181
|
+
* ISO8601 Timestamp
|
|
182
|
+
*/
|
|
183
|
+
created_at: VektorAPI.Timestamp;
|
|
184
|
+
/**
|
|
185
|
+
* A hex string starting with 0x
|
|
186
|
+
*/
|
|
187
|
+
data: string | null;
|
|
188
|
+
/**
|
|
189
|
+
* An arbitrary precision decimal represented as a string
|
|
190
|
+
*/
|
|
191
|
+
effective_gas_price: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* An error
|
|
194
|
+
*/
|
|
195
|
+
error: ExecutionEVMTransactionBuy.Error | null;
|
|
196
|
+
/**
|
|
197
|
+
* ISO8601 Timestamp
|
|
198
|
+
*/
|
|
199
|
+
errored_at: string | null;
|
|
200
|
+
/**
|
|
201
|
+
* An arbitrary precision decimal represented as a string
|
|
202
|
+
*/
|
|
203
|
+
gas_used: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* A transaction hash
|
|
206
|
+
*/
|
|
207
|
+
hash: string | null;
|
|
208
|
+
/**
|
|
209
|
+
* An arbitrary precision decimal represented as a string
|
|
210
|
+
*/
|
|
211
|
+
max_spend_amount: VektorAPI.Decimal;
|
|
212
|
+
/**
|
|
213
|
+
* The payload of an EIP-1559 transaction
|
|
214
|
+
*/
|
|
215
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
216
|
+
/**
|
|
217
|
+
* A buy quote
|
|
218
|
+
*/
|
|
219
|
+
quote: VektorAPI.BuyQuote;
|
|
220
|
+
/**
|
|
221
|
+
* ISO8601 Timestamp
|
|
222
|
+
*/
|
|
223
|
+
signed_at: string | null;
|
|
224
|
+
/**
|
|
225
|
+
* An arbitrary precision decimal represented as a string
|
|
226
|
+
*/
|
|
227
|
+
slippage: VektorAPI.Decimal;
|
|
228
|
+
/**
|
|
229
|
+
* The state of an EVM transaction
|
|
230
|
+
*/
|
|
231
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
232
|
+
/**
|
|
233
|
+
* The state of an EVM transaction
|
|
234
|
+
*/
|
|
235
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
236
|
+
/**
|
|
237
|
+
* An EVM address
|
|
238
|
+
*/
|
|
239
|
+
to: string | null;
|
|
240
|
+
/**
|
|
241
|
+
* ISO8601 Timestamp
|
|
242
|
+
*/
|
|
243
|
+
updated_at: VektorAPI.Timestamp;
|
|
244
|
+
/**
|
|
245
|
+
* An arbitrary precision decimal represented as a string
|
|
246
|
+
*/
|
|
247
|
+
value: string | null;
|
|
248
|
+
}
|
|
249
|
+
namespace ExecutionEVMTransactionBuy {
|
|
250
|
+
/**
|
|
251
|
+
* An error
|
|
252
|
+
*/
|
|
253
|
+
interface Error {
|
|
254
|
+
/**
|
|
255
|
+
* Error message
|
|
256
|
+
*/
|
|
257
|
+
message: string;
|
|
258
|
+
/**
|
|
259
|
+
* Error parameters
|
|
260
|
+
*/
|
|
261
|
+
params: {
|
|
262
|
+
[key: string]: unknown;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Error type
|
|
266
|
+
*/
|
|
267
|
+
type: string;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Lending an asset
|
|
272
|
+
*/
|
|
273
|
+
interface ExecutionEVMTransactionLend {
|
|
274
|
+
/**
|
|
275
|
+
* An arbitrary precision decimal represented as a string
|
|
276
|
+
*/
|
|
277
|
+
amount: VektorAPI.Decimal;
|
|
278
|
+
/**
|
|
279
|
+
* On-chain asset (aka token)
|
|
280
|
+
*/
|
|
281
|
+
asset: VektorAPI.Asset;
|
|
282
|
+
block_number: number | null;
|
|
283
|
+
/**
|
|
284
|
+
* ISO8601 Timestamp
|
|
285
|
+
*/
|
|
286
|
+
broadcasted_at: string | null;
|
|
287
|
+
confirmation_target: number;
|
|
288
|
+
/**
|
|
289
|
+
* ISO8601 Timestamp
|
|
290
|
+
*/
|
|
291
|
+
confirmed_at: string | null;
|
|
292
|
+
/**
|
|
293
|
+
* ISO8601 Timestamp
|
|
294
|
+
*/
|
|
295
|
+
created_at: VektorAPI.Timestamp;
|
|
296
|
+
/**
|
|
297
|
+
* A hex string starting with 0x
|
|
298
|
+
*/
|
|
299
|
+
data: string | null;
|
|
300
|
+
/**
|
|
301
|
+
* An arbitrary precision decimal represented as a string
|
|
302
|
+
*/
|
|
303
|
+
effective_gas_price: string | null;
|
|
304
|
+
/**
|
|
305
|
+
* An error
|
|
306
|
+
*/
|
|
307
|
+
error: ExecutionEVMTransactionLend.Error | null;
|
|
308
|
+
/**
|
|
309
|
+
* ISO8601 Timestamp
|
|
310
|
+
*/
|
|
311
|
+
errored_at: string | null;
|
|
312
|
+
/**
|
|
313
|
+
* An arbitrary precision decimal represented as a string
|
|
314
|
+
*/
|
|
315
|
+
gas_used: string | null;
|
|
316
|
+
/**
|
|
317
|
+
* A transaction hash
|
|
318
|
+
*/
|
|
319
|
+
hash: string | null;
|
|
320
|
+
/**
|
|
321
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
322
|
+
* prefix
|
|
323
|
+
*/
|
|
324
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
325
|
+
/**
|
|
326
|
+
* The payload of an EIP-1559 transaction
|
|
327
|
+
*/
|
|
328
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
329
|
+
/**
|
|
330
|
+
* ISO8601 Timestamp
|
|
331
|
+
*/
|
|
332
|
+
signed_at: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* The state of an EVM transaction
|
|
335
|
+
*/
|
|
336
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
337
|
+
/**
|
|
338
|
+
* The state of an EVM transaction
|
|
339
|
+
*/
|
|
340
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
341
|
+
/**
|
|
342
|
+
* An EVM address
|
|
343
|
+
*/
|
|
344
|
+
to: string | null;
|
|
345
|
+
/**
|
|
346
|
+
* ISO8601 Timestamp
|
|
347
|
+
*/
|
|
348
|
+
updated_at: VektorAPI.Timestamp;
|
|
349
|
+
/**
|
|
350
|
+
* An arbitrary precision decimal represented as a string
|
|
351
|
+
*/
|
|
352
|
+
value: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* A venue symbol
|
|
355
|
+
*/
|
|
356
|
+
venue_symbol: VektorAPI.VenueSymbol;
|
|
357
|
+
}
|
|
358
|
+
namespace ExecutionEVMTransactionLend {
|
|
359
|
+
/**
|
|
360
|
+
* An error
|
|
361
|
+
*/
|
|
362
|
+
interface Error {
|
|
363
|
+
/**
|
|
364
|
+
* Error message
|
|
365
|
+
*/
|
|
366
|
+
message: string;
|
|
367
|
+
/**
|
|
368
|
+
* Error parameters
|
|
369
|
+
*/
|
|
370
|
+
params: {
|
|
371
|
+
[key: string]: unknown;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Error type
|
|
375
|
+
*/
|
|
376
|
+
type: string;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Setting/unsetting a position as collateral
|
|
381
|
+
*/
|
|
382
|
+
interface ExecutionEVMTransactionLendSetCollateral {
|
|
383
|
+
block_number: number | null;
|
|
384
|
+
/**
|
|
385
|
+
* ISO8601 Timestamp
|
|
386
|
+
*/
|
|
387
|
+
broadcasted_at: string | null;
|
|
388
|
+
confirmation_target: number;
|
|
389
|
+
/**
|
|
390
|
+
* ISO8601 Timestamp
|
|
391
|
+
*/
|
|
392
|
+
confirmed_at: string | null;
|
|
393
|
+
/**
|
|
394
|
+
* ISO8601 Timestamp
|
|
395
|
+
*/
|
|
396
|
+
created_at: VektorAPI.Timestamp;
|
|
397
|
+
/**
|
|
398
|
+
* A hex string starting with 0x
|
|
399
|
+
*/
|
|
400
|
+
data: string | null;
|
|
401
|
+
/**
|
|
402
|
+
* An arbitrary precision decimal represented as a string
|
|
403
|
+
*/
|
|
404
|
+
effective_gas_price: string | null;
|
|
405
|
+
/**
|
|
406
|
+
* An error
|
|
407
|
+
*/
|
|
408
|
+
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
409
|
+
/**
|
|
410
|
+
* ISO8601 Timestamp
|
|
411
|
+
*/
|
|
412
|
+
errored_at: string | null;
|
|
413
|
+
/**
|
|
414
|
+
* An arbitrary precision decimal represented as a string
|
|
415
|
+
*/
|
|
416
|
+
gas_used: string | null;
|
|
417
|
+
/**
|
|
418
|
+
* A transaction hash
|
|
419
|
+
*/
|
|
420
|
+
hash: string | null;
|
|
421
|
+
/**
|
|
422
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
423
|
+
* prefix
|
|
424
|
+
*/
|
|
425
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
426
|
+
/**
|
|
427
|
+
* The payload of an EIP-1559 transaction
|
|
428
|
+
*/
|
|
429
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
430
|
+
/**
|
|
431
|
+
* ISO8601 Timestamp
|
|
432
|
+
*/
|
|
433
|
+
signed_at: string | null;
|
|
434
|
+
/**
|
|
435
|
+
* The state of an EVM transaction
|
|
436
|
+
*/
|
|
437
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
438
|
+
status: boolean;
|
|
439
|
+
/**
|
|
440
|
+
* The state of an EVM transaction
|
|
441
|
+
*/
|
|
442
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
443
|
+
/**
|
|
444
|
+
* An EVM address
|
|
445
|
+
*/
|
|
446
|
+
to: string | null;
|
|
447
|
+
/**
|
|
448
|
+
* ISO8601 Timestamp
|
|
449
|
+
*/
|
|
450
|
+
updated_at: VektorAPI.Timestamp;
|
|
451
|
+
/**
|
|
452
|
+
* An arbitrary precision decimal represented as a string
|
|
453
|
+
*/
|
|
454
|
+
value: string | null;
|
|
455
|
+
}
|
|
456
|
+
namespace ExecutionEVMTransactionLendSetCollateral {
|
|
457
|
+
/**
|
|
458
|
+
* An error
|
|
459
|
+
*/
|
|
460
|
+
interface Error {
|
|
461
|
+
/**
|
|
462
|
+
* Error message
|
|
463
|
+
*/
|
|
464
|
+
message: string;
|
|
465
|
+
/**
|
|
466
|
+
* Error parameters
|
|
467
|
+
*/
|
|
468
|
+
params: {
|
|
469
|
+
[key: string]: unknown;
|
|
470
|
+
};
|
|
471
|
+
/**
|
|
472
|
+
* Error type
|
|
473
|
+
*/
|
|
474
|
+
type: string;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Withdrawing an asset
|
|
479
|
+
*/
|
|
480
|
+
interface ExecutionEVMTransactionLendWithdraw {
|
|
481
|
+
/**
|
|
482
|
+
* An arbitrary precision decimal represented as a string
|
|
483
|
+
*/
|
|
484
|
+
amount: string | null;
|
|
485
|
+
/**
|
|
486
|
+
* On-chain asset (aka token)
|
|
487
|
+
*/
|
|
488
|
+
asset: VektorAPI.Asset;
|
|
489
|
+
block_number: number | null;
|
|
490
|
+
/**
|
|
491
|
+
* ISO8601 Timestamp
|
|
492
|
+
*/
|
|
493
|
+
broadcasted_at: string | null;
|
|
494
|
+
confirmation_target: number;
|
|
495
|
+
/**
|
|
496
|
+
* ISO8601 Timestamp
|
|
497
|
+
*/
|
|
498
|
+
confirmed_at: string | null;
|
|
499
|
+
/**
|
|
500
|
+
* ISO8601 Timestamp
|
|
501
|
+
*/
|
|
502
|
+
created_at: VektorAPI.Timestamp;
|
|
503
|
+
/**
|
|
504
|
+
* A hex string starting with 0x
|
|
505
|
+
*/
|
|
506
|
+
data: string | null;
|
|
507
|
+
/**
|
|
508
|
+
* An arbitrary precision decimal represented as a string
|
|
509
|
+
*/
|
|
510
|
+
effective_gas_price: string | null;
|
|
511
|
+
/**
|
|
512
|
+
* An error
|
|
513
|
+
*/
|
|
514
|
+
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
515
|
+
/**
|
|
516
|
+
* ISO8601 Timestamp
|
|
517
|
+
*/
|
|
518
|
+
errored_at: string | null;
|
|
519
|
+
/**
|
|
520
|
+
* An arbitrary precision decimal represented as a string
|
|
521
|
+
*/
|
|
522
|
+
gas_used: string | null;
|
|
523
|
+
/**
|
|
524
|
+
* A transaction hash
|
|
525
|
+
*/
|
|
526
|
+
hash: string | null;
|
|
527
|
+
/**
|
|
528
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
529
|
+
* prefix
|
|
530
|
+
*/
|
|
531
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
532
|
+
/**
|
|
533
|
+
* The payload of an EIP-1559 transaction
|
|
534
|
+
*/
|
|
535
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
536
|
+
/**
|
|
537
|
+
* ISO8601 Timestamp
|
|
538
|
+
*/
|
|
539
|
+
signed_at: string | null;
|
|
540
|
+
/**
|
|
541
|
+
* The state of an EVM transaction
|
|
542
|
+
*/
|
|
543
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
544
|
+
/**
|
|
545
|
+
* The state of an EVM transaction
|
|
546
|
+
*/
|
|
547
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
548
|
+
/**
|
|
549
|
+
* An EVM address
|
|
550
|
+
*/
|
|
551
|
+
to: string | null;
|
|
552
|
+
/**
|
|
553
|
+
* ISO8601 Timestamp
|
|
554
|
+
*/
|
|
555
|
+
updated_at: VektorAPI.Timestamp;
|
|
556
|
+
/**
|
|
557
|
+
* An arbitrary precision decimal represented as a string
|
|
558
|
+
*/
|
|
559
|
+
value: string | null;
|
|
560
|
+
}
|
|
561
|
+
namespace ExecutionEVMTransactionLendWithdraw {
|
|
562
|
+
/**
|
|
563
|
+
* An error
|
|
564
|
+
*/
|
|
565
|
+
interface Error {
|
|
566
|
+
/**
|
|
567
|
+
* Error message
|
|
568
|
+
*/
|
|
569
|
+
message: string;
|
|
570
|
+
/**
|
|
571
|
+
* Error parameters
|
|
572
|
+
*/
|
|
573
|
+
params: {
|
|
574
|
+
[key: string]: unknown;
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* Error type
|
|
578
|
+
*/
|
|
579
|
+
type: string;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* A move of assets from one account to another
|
|
584
|
+
*/
|
|
585
|
+
interface ExecutionEVMTransactionMove {
|
|
586
|
+
/**
|
|
587
|
+
* An arbitrary precision decimal represented as a string
|
|
588
|
+
*/
|
|
589
|
+
amount: VektorAPI.Decimal;
|
|
590
|
+
/**
|
|
591
|
+
* On-chain asset (aka token)
|
|
592
|
+
*/
|
|
593
|
+
asset: VektorAPI.Asset;
|
|
594
|
+
block_number: number | null;
|
|
595
|
+
/**
|
|
596
|
+
* ISO8601 Timestamp
|
|
597
|
+
*/
|
|
598
|
+
broadcasted_at: string | null;
|
|
599
|
+
confirmation_target: number;
|
|
600
|
+
/**
|
|
601
|
+
* ISO8601 Timestamp
|
|
602
|
+
*/
|
|
603
|
+
confirmed_at: string | null;
|
|
604
|
+
/**
|
|
605
|
+
* ISO8601 Timestamp
|
|
606
|
+
*/
|
|
607
|
+
created_at: VektorAPI.Timestamp;
|
|
608
|
+
/**
|
|
609
|
+
* A hex string starting with 0x
|
|
610
|
+
*/
|
|
611
|
+
data: string | null;
|
|
612
|
+
/**
|
|
613
|
+
* An arbitrary precision decimal represented as a string
|
|
614
|
+
*/
|
|
615
|
+
effective_gas_price: string | null;
|
|
616
|
+
/**
|
|
617
|
+
* An error
|
|
618
|
+
*/
|
|
619
|
+
error: ExecutionEVMTransactionMove.Error | null;
|
|
620
|
+
/**
|
|
621
|
+
* ISO8601 Timestamp
|
|
622
|
+
*/
|
|
623
|
+
errored_at: string | null;
|
|
624
|
+
/**
|
|
625
|
+
* An arbitrary precision decimal represented as a string
|
|
626
|
+
*/
|
|
627
|
+
gas_used: string | null;
|
|
628
|
+
/**
|
|
629
|
+
* A transaction hash
|
|
630
|
+
*/
|
|
631
|
+
hash: string | null;
|
|
632
|
+
/**
|
|
633
|
+
* The payload of an EIP-1559 transaction
|
|
634
|
+
*/
|
|
635
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
636
|
+
/**
|
|
637
|
+
* ISO8601 Timestamp
|
|
638
|
+
*/
|
|
639
|
+
signed_at: string | null;
|
|
640
|
+
/**
|
|
641
|
+
* The state of an EVM transaction
|
|
642
|
+
*/
|
|
643
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
644
|
+
/**
|
|
645
|
+
* The state of an EVM transaction
|
|
646
|
+
*/
|
|
647
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
648
|
+
/**
|
|
649
|
+
* An EVM address
|
|
650
|
+
*/
|
|
651
|
+
to: VektorAPI.Account | null;
|
|
652
|
+
/**
|
|
653
|
+
* ISO8601 Timestamp
|
|
654
|
+
*/
|
|
655
|
+
updated_at: VektorAPI.Timestamp;
|
|
656
|
+
/**
|
|
657
|
+
* An arbitrary precision decimal represented as a string
|
|
658
|
+
*/
|
|
659
|
+
value: string | null;
|
|
660
|
+
}
|
|
661
|
+
namespace ExecutionEVMTransactionMove {
|
|
662
|
+
/**
|
|
663
|
+
* An error
|
|
664
|
+
*/
|
|
665
|
+
interface Error {
|
|
666
|
+
/**
|
|
667
|
+
* Error message
|
|
668
|
+
*/
|
|
669
|
+
message: string;
|
|
670
|
+
/**
|
|
671
|
+
* Error parameters
|
|
672
|
+
*/
|
|
673
|
+
params: {
|
|
674
|
+
[key: string]: unknown;
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* Error type
|
|
678
|
+
*/
|
|
679
|
+
type: string;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* A permission to a contract
|
|
684
|
+
*/
|
|
685
|
+
interface ExecutionEVMTransactionPermission {
|
|
686
|
+
block_number: number | null;
|
|
687
|
+
/**
|
|
688
|
+
* ISO8601 Timestamp
|
|
689
|
+
*/
|
|
690
|
+
broadcasted_at: string | null;
|
|
691
|
+
confirmation_target: number;
|
|
692
|
+
/**
|
|
693
|
+
* ISO8601 Timestamp
|
|
694
|
+
*/
|
|
695
|
+
confirmed_at: string | null;
|
|
696
|
+
/**
|
|
697
|
+
* An EVM address
|
|
698
|
+
*/
|
|
699
|
+
contract_address: VektorAPI.AddressEVM;
|
|
700
|
+
/**
|
|
701
|
+
* ISO8601 Timestamp
|
|
702
|
+
*/
|
|
703
|
+
created_at: VektorAPI.Timestamp;
|
|
704
|
+
/**
|
|
705
|
+
* A hex string starting with 0x
|
|
706
|
+
*/
|
|
707
|
+
data: string | null;
|
|
708
|
+
/**
|
|
709
|
+
* An arbitrary precision decimal represented as a string
|
|
710
|
+
*/
|
|
711
|
+
effective_gas_price: string | null;
|
|
712
|
+
/**
|
|
713
|
+
* An error
|
|
714
|
+
*/
|
|
715
|
+
error: ExecutionEVMTransactionPermission.Error | null;
|
|
716
|
+
/**
|
|
717
|
+
* ISO8601 Timestamp
|
|
718
|
+
*/
|
|
719
|
+
errored_at: string | null;
|
|
720
|
+
/**
|
|
721
|
+
* An arbitrary precision decimal represented as a string
|
|
722
|
+
*/
|
|
723
|
+
gas_used: string | null;
|
|
724
|
+
/**
|
|
725
|
+
* A transaction hash
|
|
726
|
+
*/
|
|
727
|
+
hash: string | null;
|
|
728
|
+
/**
|
|
729
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
730
|
+
* prefix
|
|
731
|
+
*/
|
|
732
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
733
|
+
/**
|
|
734
|
+
* The payload of an EIP-1559 transaction
|
|
735
|
+
*/
|
|
736
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
737
|
+
permission: boolean;
|
|
738
|
+
/**
|
|
739
|
+
* ISO8601 Timestamp
|
|
740
|
+
*/
|
|
741
|
+
signed_at: string | null;
|
|
742
|
+
/**
|
|
743
|
+
* An EVM address
|
|
744
|
+
*/
|
|
745
|
+
spender: VektorAPI.Account;
|
|
746
|
+
/**
|
|
747
|
+
* The state of an EVM transaction
|
|
748
|
+
*/
|
|
749
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
750
|
+
/**
|
|
751
|
+
* The state of an EVM transaction
|
|
752
|
+
*/
|
|
753
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
754
|
+
/**
|
|
755
|
+
* An EVM address
|
|
756
|
+
*/
|
|
757
|
+
to: string | null;
|
|
758
|
+
/**
|
|
759
|
+
* The type of a permission
|
|
760
|
+
*/
|
|
761
|
+
type: 'compound_v3_comet';
|
|
762
|
+
/**
|
|
763
|
+
* ISO8601 Timestamp
|
|
764
|
+
*/
|
|
765
|
+
updated_at: VektorAPI.Timestamp;
|
|
766
|
+
/**
|
|
767
|
+
* An arbitrary precision decimal represented as a string
|
|
768
|
+
*/
|
|
769
|
+
value: string | null;
|
|
770
|
+
}
|
|
771
|
+
namespace ExecutionEVMTransactionPermission {
|
|
772
|
+
/**
|
|
773
|
+
* An error
|
|
774
|
+
*/
|
|
775
|
+
interface Error {
|
|
776
|
+
/**
|
|
777
|
+
* Error message
|
|
778
|
+
*/
|
|
779
|
+
message: string;
|
|
780
|
+
/**
|
|
781
|
+
* Error parameters
|
|
782
|
+
*/
|
|
783
|
+
params: {
|
|
784
|
+
[key: string]: unknown;
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
787
|
+
* Error type
|
|
788
|
+
*/
|
|
789
|
+
type: string;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* An unwrap of the wrapped native asset
|
|
794
|
+
*/
|
|
795
|
+
interface ExecutionEVMTransactionUnwrap {
|
|
796
|
+
/**
|
|
797
|
+
* An arbitrary precision decimal represented as a string
|
|
798
|
+
*/
|
|
799
|
+
amount: VektorAPI.Decimal;
|
|
800
|
+
block_number: number | null;
|
|
801
|
+
/**
|
|
802
|
+
* ISO8601 Timestamp
|
|
803
|
+
*/
|
|
804
|
+
broadcasted_at: string | null;
|
|
805
|
+
confirmation_target: number;
|
|
806
|
+
/**
|
|
807
|
+
* ISO8601 Timestamp
|
|
808
|
+
*/
|
|
809
|
+
confirmed_at: string | null;
|
|
810
|
+
/**
|
|
811
|
+
* ISO8601 Timestamp
|
|
812
|
+
*/
|
|
813
|
+
created_at: VektorAPI.Timestamp;
|
|
814
|
+
/**
|
|
815
|
+
* A hex string starting with 0x
|
|
816
|
+
*/
|
|
817
|
+
data: string | null;
|
|
818
|
+
/**
|
|
819
|
+
* An arbitrary precision decimal represented as a string
|
|
820
|
+
*/
|
|
821
|
+
effective_gas_price: string | null;
|
|
822
|
+
/**
|
|
823
|
+
* An error
|
|
824
|
+
*/
|
|
825
|
+
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
826
|
+
/**
|
|
827
|
+
* ISO8601 Timestamp
|
|
828
|
+
*/
|
|
829
|
+
errored_at: string | null;
|
|
830
|
+
/**
|
|
831
|
+
* An arbitrary precision decimal represented as a string
|
|
832
|
+
*/
|
|
833
|
+
gas_used: string | null;
|
|
834
|
+
/**
|
|
835
|
+
* A transaction hash
|
|
836
|
+
*/
|
|
837
|
+
hash: string | null;
|
|
838
|
+
/**
|
|
839
|
+
* The payload of an EIP-1559 transaction
|
|
840
|
+
*/
|
|
841
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
842
|
+
/**
|
|
843
|
+
* ISO8601 Timestamp
|
|
844
|
+
*/
|
|
845
|
+
signed_at: string | null;
|
|
846
|
+
/**
|
|
847
|
+
* The state of an EVM transaction
|
|
848
|
+
*/
|
|
849
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
850
|
+
/**
|
|
851
|
+
* The state of an EVM transaction
|
|
852
|
+
*/
|
|
853
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
854
|
+
/**
|
|
855
|
+
* An EVM address
|
|
856
|
+
*/
|
|
857
|
+
to: string | null;
|
|
858
|
+
/**
|
|
859
|
+
* ISO8601 Timestamp
|
|
860
|
+
*/
|
|
861
|
+
updated_at: VektorAPI.Timestamp;
|
|
862
|
+
/**
|
|
863
|
+
* An arbitrary precision decimal represented as a string
|
|
864
|
+
*/
|
|
865
|
+
value: string | null;
|
|
866
|
+
}
|
|
867
|
+
namespace ExecutionEVMTransactionUnwrap {
|
|
868
|
+
/**
|
|
869
|
+
* An error
|
|
870
|
+
*/
|
|
871
|
+
interface Error {
|
|
872
|
+
/**
|
|
873
|
+
* Error message
|
|
874
|
+
*/
|
|
875
|
+
message: string;
|
|
876
|
+
/**
|
|
877
|
+
* Error parameters
|
|
878
|
+
*/
|
|
879
|
+
params: {
|
|
880
|
+
[key: string]: unknown;
|
|
881
|
+
};
|
|
882
|
+
/**
|
|
883
|
+
* Error type
|
|
884
|
+
*/
|
|
885
|
+
type: string;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* A wrap of the native asset
|
|
890
|
+
*/
|
|
891
|
+
interface ExecutionEVMTransactionWrap {
|
|
892
|
+
/**
|
|
893
|
+
* An arbitrary precision decimal represented as a string
|
|
894
|
+
*/
|
|
895
|
+
amount: VektorAPI.Decimal;
|
|
896
|
+
block_number: number | null;
|
|
897
|
+
/**
|
|
898
|
+
* ISO8601 Timestamp
|
|
899
|
+
*/
|
|
900
|
+
broadcasted_at: string | null;
|
|
901
|
+
confirmation_target: number;
|
|
902
|
+
/**
|
|
903
|
+
* ISO8601 Timestamp
|
|
904
|
+
*/
|
|
905
|
+
confirmed_at: string | null;
|
|
906
|
+
/**
|
|
907
|
+
* ISO8601 Timestamp
|
|
908
|
+
*/
|
|
909
|
+
created_at: VektorAPI.Timestamp;
|
|
910
|
+
/**
|
|
911
|
+
* A hex string starting with 0x
|
|
912
|
+
*/
|
|
913
|
+
data: string | null;
|
|
914
|
+
/**
|
|
915
|
+
* An arbitrary precision decimal represented as a string
|
|
916
|
+
*/
|
|
917
|
+
effective_gas_price: string | null;
|
|
918
|
+
/**
|
|
919
|
+
* An error
|
|
920
|
+
*/
|
|
921
|
+
error: ExecutionEVMTransactionWrap.Error | null;
|
|
922
|
+
/**
|
|
923
|
+
* ISO8601 Timestamp
|
|
924
|
+
*/
|
|
925
|
+
errored_at: string | null;
|
|
926
|
+
/**
|
|
927
|
+
* An arbitrary precision decimal represented as a string
|
|
928
|
+
*/
|
|
929
|
+
gas_used: string | null;
|
|
930
|
+
/**
|
|
931
|
+
* A transaction hash
|
|
932
|
+
*/
|
|
933
|
+
hash: string | null;
|
|
934
|
+
/**
|
|
935
|
+
* The payload of an EIP-1559 transaction
|
|
936
|
+
*/
|
|
937
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
938
|
+
/**
|
|
939
|
+
* ISO8601 Timestamp
|
|
940
|
+
*/
|
|
941
|
+
signed_at: string | null;
|
|
942
|
+
/**
|
|
943
|
+
* The state of an EVM transaction
|
|
944
|
+
*/
|
|
945
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
946
|
+
/**
|
|
947
|
+
* The state of an EVM transaction
|
|
948
|
+
*/
|
|
949
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
950
|
+
/**
|
|
951
|
+
* An EVM address
|
|
952
|
+
*/
|
|
953
|
+
to: string | null;
|
|
954
|
+
/**
|
|
955
|
+
* ISO8601 Timestamp
|
|
956
|
+
*/
|
|
957
|
+
updated_at: VektorAPI.Timestamp;
|
|
958
|
+
/**
|
|
959
|
+
* An arbitrary precision decimal represented as a string
|
|
960
|
+
*/
|
|
961
|
+
value: string | null;
|
|
962
|
+
}
|
|
963
|
+
namespace ExecutionEVMTransactionWrap {
|
|
964
|
+
/**
|
|
965
|
+
* An error
|
|
966
|
+
*/
|
|
967
|
+
interface Error {
|
|
968
|
+
/**
|
|
969
|
+
* Error message
|
|
970
|
+
*/
|
|
971
|
+
message: string;
|
|
972
|
+
/**
|
|
973
|
+
* Error parameters
|
|
974
|
+
*/
|
|
975
|
+
params: {
|
|
976
|
+
[key: string]: unknown;
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* Error type
|
|
980
|
+
*/
|
|
981
|
+
type: string;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Selling an asset for another asset
|
|
986
|
+
*/
|
|
987
|
+
interface ExecutionEVMTransactionSell {
|
|
988
|
+
/**
|
|
989
|
+
* An EVM address
|
|
990
|
+
*/
|
|
991
|
+
approval_target: VektorAPI.Account;
|
|
992
|
+
block_number: number | null;
|
|
993
|
+
/**
|
|
994
|
+
* ISO8601 Timestamp
|
|
995
|
+
*/
|
|
996
|
+
broadcasted_at: string | null;
|
|
997
|
+
confirmation_target: number;
|
|
998
|
+
/**
|
|
999
|
+
* ISO8601 Timestamp
|
|
1000
|
+
*/
|
|
1001
|
+
confirmed_at: string | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* ISO8601 Timestamp
|
|
1004
|
+
*/
|
|
1005
|
+
created_at: VektorAPI.Timestamp;
|
|
1006
|
+
/**
|
|
1007
|
+
* A hex string starting with 0x
|
|
1008
|
+
*/
|
|
1009
|
+
data: string | null;
|
|
1010
|
+
/**
|
|
1011
|
+
* An arbitrary precision decimal represented as a string
|
|
1012
|
+
*/
|
|
1013
|
+
effective_gas_price: string | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* An error
|
|
1016
|
+
*/
|
|
1017
|
+
error: ExecutionEVMTransactionSell.Error | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* ISO8601 Timestamp
|
|
1020
|
+
*/
|
|
1021
|
+
errored_at: string | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* An arbitrary precision decimal represented as a string
|
|
1024
|
+
*/
|
|
1025
|
+
gas_used: string | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* A transaction hash
|
|
1028
|
+
*/
|
|
1029
|
+
hash: string | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* An arbitrary precision decimal represented as a string
|
|
1032
|
+
*/
|
|
1033
|
+
min_receive_amount: VektorAPI.Decimal;
|
|
1034
|
+
/**
|
|
1035
|
+
* The payload of an EIP-1559 transaction
|
|
1036
|
+
*/
|
|
1037
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1038
|
+
/**
|
|
1039
|
+
* A sell quote
|
|
1040
|
+
*/
|
|
1041
|
+
quote: VektorAPI.SellQuote;
|
|
1042
|
+
/**
|
|
1043
|
+
* ISO8601 Timestamp
|
|
1044
|
+
*/
|
|
1045
|
+
signed_at: string | null;
|
|
1046
|
+
/**
|
|
1047
|
+
* An arbitrary precision decimal represented as a string
|
|
1048
|
+
*/
|
|
1049
|
+
slippage: VektorAPI.Decimal;
|
|
1050
|
+
/**
|
|
1051
|
+
* The state of an EVM transaction
|
|
1052
|
+
*/
|
|
1053
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1054
|
+
/**
|
|
1055
|
+
* The state of an EVM transaction
|
|
1056
|
+
*/
|
|
1057
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1058
|
+
/**
|
|
1059
|
+
* An EVM address
|
|
1060
|
+
*/
|
|
1061
|
+
to: string | null;
|
|
1062
|
+
/**
|
|
1063
|
+
* ISO8601 Timestamp
|
|
1064
|
+
*/
|
|
1065
|
+
updated_at: VektorAPI.Timestamp;
|
|
1066
|
+
/**
|
|
1067
|
+
* An arbitrary precision decimal represented as a string
|
|
1068
|
+
*/
|
|
1069
|
+
value: string | null;
|
|
1070
|
+
}
|
|
1071
|
+
namespace ExecutionEVMTransactionSell {
|
|
1072
|
+
/**
|
|
1073
|
+
* An error
|
|
1074
|
+
*/
|
|
1075
|
+
interface Error {
|
|
1076
|
+
/**
|
|
1077
|
+
* Error message
|
|
1078
|
+
*/
|
|
1079
|
+
message: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* Error parameters
|
|
1082
|
+
*/
|
|
1083
|
+
params: {
|
|
1084
|
+
[key: string]: unknown;
|
|
1085
|
+
};
|
|
1086
|
+
/**
|
|
1087
|
+
* Error type
|
|
1088
|
+
*/
|
|
1089
|
+
type: string;
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
export interface StepGetParams {
|
|
1094
|
+
/**
|
|
1095
|
+
* Execution ID
|
|
1096
|
+
*/
|
|
1097
|
+
execution_id: string;
|
|
1098
|
+
}
|
|
1099
|
+
export interface StepSignParams {
|
|
1100
|
+
/**
|
|
1101
|
+
* Path param: Execution ID
|
|
1102
|
+
*/
|
|
1103
|
+
execution_id: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Body param: A hex string starting with 0x
|
|
1106
|
+
*/
|
|
1107
|
+
signed_payload: VektorAPI.HexString;
|
|
1108
|
+
}
|
|
1109
|
+
export declare namespace Steps {
|
|
1110
|
+
export { type StepGetResponse as StepGetResponse, type StepGetParams as StepGetParams, type StepSignParams as StepSignParams, };
|
|
1111
|
+
}
|
|
1112
|
+
//# sourceMappingURL=steps.d.mts.map
|