@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,1380 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as VektorAPI from '../vektor';
|
|
5
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
6
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
7
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
8
|
+
import { path } from '../../../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
export class Steps extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Get a step of an execution
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const step = await client.vektor.executions.steps.get(
|
|
17
|
+
* 'step_id',
|
|
18
|
+
* { execution_id: 'execution_id' },
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
get(stepID: string, params: StepGetParams, options?: RequestOptions): APIPromise<StepGetResponse> {
|
|
23
|
+
const { execution_id } = params;
|
|
24
|
+
return this._client.get(path`/v1/vektor/executions/${execution_id}/steps/${stepID}`, options);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Sign an EVM transaction step
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* await client.vektor.executions.steps.sign('step_id', {
|
|
33
|
+
* execution_id: 'execution_id',
|
|
34
|
+
* signed_payload: '0x123456789abcdef',
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
sign(stepID: string, params: StepSignParams, options?: RequestOptions): APIPromise<void> {
|
|
39
|
+
const { execution_id, ...body } = params;
|
|
40
|
+
return this._client.post(path`/v1/vektor/executions/${execution_id}/steps/${stepID}/sign`, {
|
|
41
|
+
body,
|
|
42
|
+
...options,
|
|
43
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* An execution step
|
|
50
|
+
*/
|
|
51
|
+
export interface StepGetResponse {
|
|
52
|
+
/**
|
|
53
|
+
* An execution step ID, represented as a TypeID with `execution_step` prefix
|
|
54
|
+
*/
|
|
55
|
+
id: VektorAPI.ExecutionStepID;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* ISO8601 Timestamp
|
|
59
|
+
*/
|
|
60
|
+
created_at: VektorAPI.Timestamp;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The definition of an execution step
|
|
64
|
+
*/
|
|
65
|
+
definition:
|
|
66
|
+
| StepGetResponse.ExecutionEVMTransactionApprove
|
|
67
|
+
| StepGetResponse.ExecutionEVMTransactionBuy
|
|
68
|
+
| StepGetResponse.ExecutionEVMTransactionLend
|
|
69
|
+
| StepGetResponse.ExecutionEVMTransactionLendSetCollateral
|
|
70
|
+
| StepGetResponse.ExecutionEVMTransactionLendWithdraw
|
|
71
|
+
| StepGetResponse.ExecutionEVMTransactionMove
|
|
72
|
+
| StepGetResponse.ExecutionEVMTransactionPermission
|
|
73
|
+
| StepGetResponse.ExecutionEVMTransactionUnwrap
|
|
74
|
+
| StepGetResponse.ExecutionEVMTransactionWrap
|
|
75
|
+
| StepGetResponse.ExecutionEVMTransactionSell;
|
|
76
|
+
|
|
77
|
+
index: number;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The type of an execution step
|
|
81
|
+
*/
|
|
82
|
+
type:
|
|
83
|
+
| 'evm_transaction_approve'
|
|
84
|
+
| 'evm_transaction_buy'
|
|
85
|
+
| 'evm_transaction_lend'
|
|
86
|
+
| 'evm_transaction_lend_set_collateral'
|
|
87
|
+
| 'evm_transaction_lend_withdraw'
|
|
88
|
+
| 'evm_transaction_move'
|
|
89
|
+
| 'evm_transaction_permission'
|
|
90
|
+
| 'evm_transaction_wrap'
|
|
91
|
+
| 'evm_transaction_unwrap'
|
|
92
|
+
| 'evm_transaction_sell';
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* ISO8601 Timestamp
|
|
96
|
+
*/
|
|
97
|
+
updated_at: VektorAPI.Timestamp;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export namespace StepGetResponse {
|
|
101
|
+
/**
|
|
102
|
+
* An approval of an asset
|
|
103
|
+
*/
|
|
104
|
+
export interface ExecutionEVMTransactionApprove {
|
|
105
|
+
/**
|
|
106
|
+
* An arbitrary precision decimal represented as a string
|
|
107
|
+
*/
|
|
108
|
+
amount: VektorAPI.Decimal;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* On-chain asset (aka token)
|
|
112
|
+
*/
|
|
113
|
+
asset: VektorAPI.Asset;
|
|
114
|
+
|
|
115
|
+
block_number: number | null;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* ISO8601 Timestamp
|
|
119
|
+
*/
|
|
120
|
+
broadcasted_at: string | null;
|
|
121
|
+
|
|
122
|
+
confirmation_target: number;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* ISO8601 Timestamp
|
|
126
|
+
*/
|
|
127
|
+
confirmed_at: string | null;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* ISO8601 Timestamp
|
|
131
|
+
*/
|
|
132
|
+
created_at: VektorAPI.Timestamp;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* A hex string starting with 0x
|
|
136
|
+
*/
|
|
137
|
+
data: string | null;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* An arbitrary precision decimal represented as a string
|
|
141
|
+
*/
|
|
142
|
+
effective_gas_price: string | null;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* An error
|
|
146
|
+
*/
|
|
147
|
+
error: ExecutionEVMTransactionApprove.Error | null;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* ISO8601 Timestamp
|
|
151
|
+
*/
|
|
152
|
+
errored_at: string | null;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* An arbitrary precision decimal represented as a string
|
|
156
|
+
*/
|
|
157
|
+
gas_used: string | null;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* A transaction hash
|
|
161
|
+
*/
|
|
162
|
+
hash: string | null;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* The payload of an EIP-1559 transaction
|
|
166
|
+
*/
|
|
167
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* ISO8601 Timestamp
|
|
171
|
+
*/
|
|
172
|
+
signed_at: string | null;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* An EVM address
|
|
176
|
+
*/
|
|
177
|
+
spender: VektorAPI.Account;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* The state of an EVM transaction
|
|
181
|
+
*/
|
|
182
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* The state of an EVM transaction
|
|
186
|
+
*/
|
|
187
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* An EVM address
|
|
191
|
+
*/
|
|
192
|
+
to: string | null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* ISO8601 Timestamp
|
|
196
|
+
*/
|
|
197
|
+
updated_at: VektorAPI.Timestamp;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* An arbitrary precision decimal represented as a string
|
|
201
|
+
*/
|
|
202
|
+
value: string | null;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export namespace ExecutionEVMTransactionApprove {
|
|
206
|
+
/**
|
|
207
|
+
* An error
|
|
208
|
+
*/
|
|
209
|
+
export interface Error {
|
|
210
|
+
/**
|
|
211
|
+
* Error message
|
|
212
|
+
*/
|
|
213
|
+
message: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Error parameters
|
|
217
|
+
*/
|
|
218
|
+
params: { [key: string]: unknown };
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Error type
|
|
222
|
+
*/
|
|
223
|
+
type: string;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Buying an asset with another asset
|
|
229
|
+
*/
|
|
230
|
+
export interface ExecutionEVMTransactionBuy {
|
|
231
|
+
/**
|
|
232
|
+
* An EVM address
|
|
233
|
+
*/
|
|
234
|
+
approval_target: VektorAPI.Account;
|
|
235
|
+
|
|
236
|
+
block_number: number | null;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* ISO8601 Timestamp
|
|
240
|
+
*/
|
|
241
|
+
broadcasted_at: string | null;
|
|
242
|
+
|
|
243
|
+
confirmation_target: number;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* ISO8601 Timestamp
|
|
247
|
+
*/
|
|
248
|
+
confirmed_at: string | null;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* ISO8601 Timestamp
|
|
252
|
+
*/
|
|
253
|
+
created_at: VektorAPI.Timestamp;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* A hex string starting with 0x
|
|
257
|
+
*/
|
|
258
|
+
data: string | null;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* An arbitrary precision decimal represented as a string
|
|
262
|
+
*/
|
|
263
|
+
effective_gas_price: string | null;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* An error
|
|
267
|
+
*/
|
|
268
|
+
error: ExecutionEVMTransactionBuy.Error | null;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* ISO8601 Timestamp
|
|
272
|
+
*/
|
|
273
|
+
errored_at: string | null;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* An arbitrary precision decimal represented as a string
|
|
277
|
+
*/
|
|
278
|
+
gas_used: string | null;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* A transaction hash
|
|
282
|
+
*/
|
|
283
|
+
hash: string | null;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* An arbitrary precision decimal represented as a string
|
|
287
|
+
*/
|
|
288
|
+
max_spend_amount: VektorAPI.Decimal;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* The payload of an EIP-1559 transaction
|
|
292
|
+
*/
|
|
293
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* A buy quote
|
|
297
|
+
*/
|
|
298
|
+
quote: VektorAPI.BuyQuote;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* ISO8601 Timestamp
|
|
302
|
+
*/
|
|
303
|
+
signed_at: string | null;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* An arbitrary precision decimal represented as a string
|
|
307
|
+
*/
|
|
308
|
+
slippage: VektorAPI.Decimal;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* The state of an EVM transaction
|
|
312
|
+
*/
|
|
313
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* The state of an EVM transaction
|
|
317
|
+
*/
|
|
318
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* An EVM address
|
|
322
|
+
*/
|
|
323
|
+
to: string | null;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* ISO8601 Timestamp
|
|
327
|
+
*/
|
|
328
|
+
updated_at: VektorAPI.Timestamp;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* An arbitrary precision decimal represented as a string
|
|
332
|
+
*/
|
|
333
|
+
value: string | null;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export namespace ExecutionEVMTransactionBuy {
|
|
337
|
+
/**
|
|
338
|
+
* An error
|
|
339
|
+
*/
|
|
340
|
+
export interface Error {
|
|
341
|
+
/**
|
|
342
|
+
* Error message
|
|
343
|
+
*/
|
|
344
|
+
message: string;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Error parameters
|
|
348
|
+
*/
|
|
349
|
+
params: { [key: string]: unknown };
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Error type
|
|
353
|
+
*/
|
|
354
|
+
type: string;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Lending an asset
|
|
360
|
+
*/
|
|
361
|
+
export interface ExecutionEVMTransactionLend {
|
|
362
|
+
/**
|
|
363
|
+
* An arbitrary precision decimal represented as a string
|
|
364
|
+
*/
|
|
365
|
+
amount: VektorAPI.Decimal;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* On-chain asset (aka token)
|
|
369
|
+
*/
|
|
370
|
+
asset: VektorAPI.Asset;
|
|
371
|
+
|
|
372
|
+
block_number: number | null;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* ISO8601 Timestamp
|
|
376
|
+
*/
|
|
377
|
+
broadcasted_at: string | null;
|
|
378
|
+
|
|
379
|
+
confirmation_target: number;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* ISO8601 Timestamp
|
|
383
|
+
*/
|
|
384
|
+
confirmed_at: string | null;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* ISO8601 Timestamp
|
|
388
|
+
*/
|
|
389
|
+
created_at: VektorAPI.Timestamp;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* A hex string starting with 0x
|
|
393
|
+
*/
|
|
394
|
+
data: string | null;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* An arbitrary precision decimal represented as a string
|
|
398
|
+
*/
|
|
399
|
+
effective_gas_price: string | null;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* An error
|
|
403
|
+
*/
|
|
404
|
+
error: ExecutionEVMTransactionLend.Error | null;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* ISO8601 Timestamp
|
|
408
|
+
*/
|
|
409
|
+
errored_at: string | null;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* An arbitrary precision decimal represented as a string
|
|
413
|
+
*/
|
|
414
|
+
gas_used: string | null;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* A transaction hash
|
|
418
|
+
*/
|
|
419
|
+
hash: string | null;
|
|
420
|
+
|
|
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
|
+
/**
|
|
428
|
+
* The payload of an EIP-1559 transaction
|
|
429
|
+
*/
|
|
430
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* ISO8601 Timestamp
|
|
434
|
+
*/
|
|
435
|
+
signed_at: string | null;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* The state of an EVM transaction
|
|
439
|
+
*/
|
|
440
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* The state of an EVM transaction
|
|
444
|
+
*/
|
|
445
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* An EVM address
|
|
449
|
+
*/
|
|
450
|
+
to: string | null;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* ISO8601 Timestamp
|
|
454
|
+
*/
|
|
455
|
+
updated_at: VektorAPI.Timestamp;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* An arbitrary precision decimal represented as a string
|
|
459
|
+
*/
|
|
460
|
+
value: string | null;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* A venue symbol
|
|
464
|
+
*/
|
|
465
|
+
venue_symbol: VektorAPI.VenueSymbol;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export namespace ExecutionEVMTransactionLend {
|
|
469
|
+
/**
|
|
470
|
+
* An error
|
|
471
|
+
*/
|
|
472
|
+
export interface Error {
|
|
473
|
+
/**
|
|
474
|
+
* Error message
|
|
475
|
+
*/
|
|
476
|
+
message: string;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Error parameters
|
|
480
|
+
*/
|
|
481
|
+
params: { [key: string]: unknown };
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Error type
|
|
485
|
+
*/
|
|
486
|
+
type: string;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Setting/unsetting a position as collateral
|
|
492
|
+
*/
|
|
493
|
+
export interface ExecutionEVMTransactionLendSetCollateral {
|
|
494
|
+
block_number: number | null;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* ISO8601 Timestamp
|
|
498
|
+
*/
|
|
499
|
+
broadcasted_at: string | null;
|
|
500
|
+
|
|
501
|
+
confirmation_target: number;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* ISO8601 Timestamp
|
|
505
|
+
*/
|
|
506
|
+
confirmed_at: string | null;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* ISO8601 Timestamp
|
|
510
|
+
*/
|
|
511
|
+
created_at: VektorAPI.Timestamp;
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* A hex string starting with 0x
|
|
515
|
+
*/
|
|
516
|
+
data: string | null;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* An arbitrary precision decimal represented as a string
|
|
520
|
+
*/
|
|
521
|
+
effective_gas_price: string | null;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* An error
|
|
525
|
+
*/
|
|
526
|
+
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* ISO8601 Timestamp
|
|
530
|
+
*/
|
|
531
|
+
errored_at: string | null;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* An arbitrary precision decimal represented as a string
|
|
535
|
+
*/
|
|
536
|
+
gas_used: string | null;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* A transaction hash
|
|
540
|
+
*/
|
|
541
|
+
hash: string | null;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
545
|
+
* prefix
|
|
546
|
+
*/
|
|
547
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* The payload of an EIP-1559 transaction
|
|
551
|
+
*/
|
|
552
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* ISO8601 Timestamp
|
|
556
|
+
*/
|
|
557
|
+
signed_at: string | null;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* The state of an EVM transaction
|
|
561
|
+
*/
|
|
562
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
563
|
+
|
|
564
|
+
status: boolean;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* The state of an EVM transaction
|
|
568
|
+
*/
|
|
569
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* An EVM address
|
|
573
|
+
*/
|
|
574
|
+
to: string | null;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* ISO8601 Timestamp
|
|
578
|
+
*/
|
|
579
|
+
updated_at: VektorAPI.Timestamp;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* An arbitrary precision decimal represented as a string
|
|
583
|
+
*/
|
|
584
|
+
value: string | null;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export namespace ExecutionEVMTransactionLendSetCollateral {
|
|
588
|
+
/**
|
|
589
|
+
* An error
|
|
590
|
+
*/
|
|
591
|
+
export interface Error {
|
|
592
|
+
/**
|
|
593
|
+
* Error message
|
|
594
|
+
*/
|
|
595
|
+
message: string;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Error parameters
|
|
599
|
+
*/
|
|
600
|
+
params: { [key: string]: unknown };
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Error type
|
|
604
|
+
*/
|
|
605
|
+
type: string;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Withdrawing an asset
|
|
611
|
+
*/
|
|
612
|
+
export interface ExecutionEVMTransactionLendWithdraw {
|
|
613
|
+
/**
|
|
614
|
+
* An arbitrary precision decimal represented as a string
|
|
615
|
+
*/
|
|
616
|
+
amount: string | null;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* On-chain asset (aka token)
|
|
620
|
+
*/
|
|
621
|
+
asset: VektorAPI.Asset;
|
|
622
|
+
|
|
623
|
+
block_number: number | null;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* ISO8601 Timestamp
|
|
627
|
+
*/
|
|
628
|
+
broadcasted_at: string | null;
|
|
629
|
+
|
|
630
|
+
confirmation_target: number;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* ISO8601 Timestamp
|
|
634
|
+
*/
|
|
635
|
+
confirmed_at: string | null;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* ISO8601 Timestamp
|
|
639
|
+
*/
|
|
640
|
+
created_at: VektorAPI.Timestamp;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* A hex string starting with 0x
|
|
644
|
+
*/
|
|
645
|
+
data: string | null;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* An arbitrary precision decimal represented as a string
|
|
649
|
+
*/
|
|
650
|
+
effective_gas_price: string | null;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* An error
|
|
654
|
+
*/
|
|
655
|
+
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* ISO8601 Timestamp
|
|
659
|
+
*/
|
|
660
|
+
errored_at: string | null;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* An arbitrary precision decimal represented as a string
|
|
664
|
+
*/
|
|
665
|
+
gas_used: string | null;
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* A transaction hash
|
|
669
|
+
*/
|
|
670
|
+
hash: string | null;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
674
|
+
* prefix
|
|
675
|
+
*/
|
|
676
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* The payload of an EIP-1559 transaction
|
|
680
|
+
*/
|
|
681
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* ISO8601 Timestamp
|
|
685
|
+
*/
|
|
686
|
+
signed_at: string | null;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* The state of an EVM transaction
|
|
690
|
+
*/
|
|
691
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* The state of an EVM transaction
|
|
695
|
+
*/
|
|
696
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* An EVM address
|
|
700
|
+
*/
|
|
701
|
+
to: string | null;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* ISO8601 Timestamp
|
|
705
|
+
*/
|
|
706
|
+
updated_at: VektorAPI.Timestamp;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* An arbitrary precision decimal represented as a string
|
|
710
|
+
*/
|
|
711
|
+
value: string | null;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export namespace ExecutionEVMTransactionLendWithdraw {
|
|
715
|
+
/**
|
|
716
|
+
* An error
|
|
717
|
+
*/
|
|
718
|
+
export interface Error {
|
|
719
|
+
/**
|
|
720
|
+
* Error message
|
|
721
|
+
*/
|
|
722
|
+
message: string;
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Error parameters
|
|
726
|
+
*/
|
|
727
|
+
params: { [key: string]: unknown };
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Error type
|
|
731
|
+
*/
|
|
732
|
+
type: string;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* A move of assets from one account to another
|
|
738
|
+
*/
|
|
739
|
+
export interface ExecutionEVMTransactionMove {
|
|
740
|
+
/**
|
|
741
|
+
* An arbitrary precision decimal represented as a string
|
|
742
|
+
*/
|
|
743
|
+
amount: VektorAPI.Decimal;
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* On-chain asset (aka token)
|
|
747
|
+
*/
|
|
748
|
+
asset: VektorAPI.Asset;
|
|
749
|
+
|
|
750
|
+
block_number: number | null;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* ISO8601 Timestamp
|
|
754
|
+
*/
|
|
755
|
+
broadcasted_at: string | null;
|
|
756
|
+
|
|
757
|
+
confirmation_target: number;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* ISO8601 Timestamp
|
|
761
|
+
*/
|
|
762
|
+
confirmed_at: string | null;
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* ISO8601 Timestamp
|
|
766
|
+
*/
|
|
767
|
+
created_at: VektorAPI.Timestamp;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* A hex string starting with 0x
|
|
771
|
+
*/
|
|
772
|
+
data: string | null;
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* An arbitrary precision decimal represented as a string
|
|
776
|
+
*/
|
|
777
|
+
effective_gas_price: string | null;
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* An error
|
|
781
|
+
*/
|
|
782
|
+
error: ExecutionEVMTransactionMove.Error | null;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* ISO8601 Timestamp
|
|
786
|
+
*/
|
|
787
|
+
errored_at: string | null;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* An arbitrary precision decimal represented as a string
|
|
791
|
+
*/
|
|
792
|
+
gas_used: string | null;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* A transaction hash
|
|
796
|
+
*/
|
|
797
|
+
hash: string | null;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* The payload of an EIP-1559 transaction
|
|
801
|
+
*/
|
|
802
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* ISO8601 Timestamp
|
|
806
|
+
*/
|
|
807
|
+
signed_at: string | null;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* The state of an EVM transaction
|
|
811
|
+
*/
|
|
812
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* The state of an EVM transaction
|
|
816
|
+
*/
|
|
817
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* An EVM address
|
|
821
|
+
*/
|
|
822
|
+
to: VektorAPI.Account | null;
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* ISO8601 Timestamp
|
|
826
|
+
*/
|
|
827
|
+
updated_at: VektorAPI.Timestamp;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* An arbitrary precision decimal represented as a string
|
|
831
|
+
*/
|
|
832
|
+
value: string | null;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export namespace ExecutionEVMTransactionMove {
|
|
836
|
+
/**
|
|
837
|
+
* An error
|
|
838
|
+
*/
|
|
839
|
+
export interface Error {
|
|
840
|
+
/**
|
|
841
|
+
* Error message
|
|
842
|
+
*/
|
|
843
|
+
message: string;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Error parameters
|
|
847
|
+
*/
|
|
848
|
+
params: { [key: string]: unknown };
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* Error type
|
|
852
|
+
*/
|
|
853
|
+
type: string;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* A permission to a contract
|
|
859
|
+
*/
|
|
860
|
+
export interface ExecutionEVMTransactionPermission {
|
|
861
|
+
block_number: number | null;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* ISO8601 Timestamp
|
|
865
|
+
*/
|
|
866
|
+
broadcasted_at: string | null;
|
|
867
|
+
|
|
868
|
+
confirmation_target: number;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* ISO8601 Timestamp
|
|
872
|
+
*/
|
|
873
|
+
confirmed_at: string | null;
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* An EVM address
|
|
877
|
+
*/
|
|
878
|
+
contract_address: VektorAPI.AddressEVM;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* ISO8601 Timestamp
|
|
882
|
+
*/
|
|
883
|
+
created_at: VektorAPI.Timestamp;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* A hex string starting with 0x
|
|
887
|
+
*/
|
|
888
|
+
data: string | null;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* An arbitrary precision decimal represented as a string
|
|
892
|
+
*/
|
|
893
|
+
effective_gas_price: string | null;
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* An error
|
|
897
|
+
*/
|
|
898
|
+
error: ExecutionEVMTransactionPermission.Error | null;
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* ISO8601 Timestamp
|
|
902
|
+
*/
|
|
903
|
+
errored_at: string | null;
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* An arbitrary precision decimal represented as a string
|
|
907
|
+
*/
|
|
908
|
+
gas_used: string | null;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* A transaction hash
|
|
912
|
+
*/
|
|
913
|
+
hash: string | null;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
917
|
+
* prefix
|
|
918
|
+
*/
|
|
919
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* The payload of an EIP-1559 transaction
|
|
923
|
+
*/
|
|
924
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
925
|
+
|
|
926
|
+
permission: boolean;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* ISO8601 Timestamp
|
|
930
|
+
*/
|
|
931
|
+
signed_at: string | null;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* An EVM address
|
|
935
|
+
*/
|
|
936
|
+
spender: VektorAPI.Account;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* The state of an EVM transaction
|
|
940
|
+
*/
|
|
941
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* The state of an EVM transaction
|
|
945
|
+
*/
|
|
946
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* An EVM address
|
|
950
|
+
*/
|
|
951
|
+
to: string | null;
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* The type of a permission
|
|
955
|
+
*/
|
|
956
|
+
type: 'compound_v3_comet';
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* ISO8601 Timestamp
|
|
960
|
+
*/
|
|
961
|
+
updated_at: VektorAPI.Timestamp;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* An arbitrary precision decimal represented as a string
|
|
965
|
+
*/
|
|
966
|
+
value: string | null;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export namespace ExecutionEVMTransactionPermission {
|
|
970
|
+
/**
|
|
971
|
+
* An error
|
|
972
|
+
*/
|
|
973
|
+
export interface Error {
|
|
974
|
+
/**
|
|
975
|
+
* Error message
|
|
976
|
+
*/
|
|
977
|
+
message: string;
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Error parameters
|
|
981
|
+
*/
|
|
982
|
+
params: { [key: string]: unknown };
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* Error type
|
|
986
|
+
*/
|
|
987
|
+
type: string;
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* An unwrap of the wrapped native asset
|
|
993
|
+
*/
|
|
994
|
+
export interface ExecutionEVMTransactionUnwrap {
|
|
995
|
+
/**
|
|
996
|
+
* An arbitrary precision decimal represented as a string
|
|
997
|
+
*/
|
|
998
|
+
amount: VektorAPI.Decimal;
|
|
999
|
+
|
|
1000
|
+
block_number: number | null;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* ISO8601 Timestamp
|
|
1004
|
+
*/
|
|
1005
|
+
broadcasted_at: string | null;
|
|
1006
|
+
|
|
1007
|
+
confirmation_target: number;
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* ISO8601 Timestamp
|
|
1011
|
+
*/
|
|
1012
|
+
confirmed_at: string | null;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* ISO8601 Timestamp
|
|
1016
|
+
*/
|
|
1017
|
+
created_at: VektorAPI.Timestamp;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* A hex string starting with 0x
|
|
1021
|
+
*/
|
|
1022
|
+
data: string | null;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* An arbitrary precision decimal represented as a string
|
|
1026
|
+
*/
|
|
1027
|
+
effective_gas_price: string | null;
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* An error
|
|
1031
|
+
*/
|
|
1032
|
+
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* ISO8601 Timestamp
|
|
1036
|
+
*/
|
|
1037
|
+
errored_at: string | null;
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* An arbitrary precision decimal represented as a string
|
|
1041
|
+
*/
|
|
1042
|
+
gas_used: string | null;
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* A transaction hash
|
|
1046
|
+
*/
|
|
1047
|
+
hash: string | null;
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* The payload of an EIP-1559 transaction
|
|
1051
|
+
*/
|
|
1052
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* ISO8601 Timestamp
|
|
1056
|
+
*/
|
|
1057
|
+
signed_at: string | null;
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* The state of an EVM transaction
|
|
1061
|
+
*/
|
|
1062
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* The state of an EVM transaction
|
|
1066
|
+
*/
|
|
1067
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* An EVM address
|
|
1071
|
+
*/
|
|
1072
|
+
to: string | null;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* ISO8601 Timestamp
|
|
1076
|
+
*/
|
|
1077
|
+
updated_at: VektorAPI.Timestamp;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* An arbitrary precision decimal represented as a string
|
|
1081
|
+
*/
|
|
1082
|
+
value: string | null;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
export namespace ExecutionEVMTransactionUnwrap {
|
|
1086
|
+
/**
|
|
1087
|
+
* An error
|
|
1088
|
+
*/
|
|
1089
|
+
export interface Error {
|
|
1090
|
+
/**
|
|
1091
|
+
* Error message
|
|
1092
|
+
*/
|
|
1093
|
+
message: string;
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Error parameters
|
|
1097
|
+
*/
|
|
1098
|
+
params: { [key: string]: unknown };
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Error type
|
|
1102
|
+
*/
|
|
1103
|
+
type: string;
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* A wrap of the native asset
|
|
1109
|
+
*/
|
|
1110
|
+
export interface ExecutionEVMTransactionWrap {
|
|
1111
|
+
/**
|
|
1112
|
+
* An arbitrary precision decimal represented as a string
|
|
1113
|
+
*/
|
|
1114
|
+
amount: VektorAPI.Decimal;
|
|
1115
|
+
|
|
1116
|
+
block_number: number | null;
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* ISO8601 Timestamp
|
|
1120
|
+
*/
|
|
1121
|
+
broadcasted_at: string | null;
|
|
1122
|
+
|
|
1123
|
+
confirmation_target: number;
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* ISO8601 Timestamp
|
|
1127
|
+
*/
|
|
1128
|
+
confirmed_at: string | null;
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* ISO8601 Timestamp
|
|
1132
|
+
*/
|
|
1133
|
+
created_at: VektorAPI.Timestamp;
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* A hex string starting with 0x
|
|
1137
|
+
*/
|
|
1138
|
+
data: string | null;
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* An arbitrary precision decimal represented as a string
|
|
1142
|
+
*/
|
|
1143
|
+
effective_gas_price: string | null;
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* An error
|
|
1147
|
+
*/
|
|
1148
|
+
error: ExecutionEVMTransactionWrap.Error | null;
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* ISO8601 Timestamp
|
|
1152
|
+
*/
|
|
1153
|
+
errored_at: string | null;
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* An arbitrary precision decimal represented as a string
|
|
1157
|
+
*/
|
|
1158
|
+
gas_used: string | null;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* A transaction hash
|
|
1162
|
+
*/
|
|
1163
|
+
hash: string | null;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* The payload of an EIP-1559 transaction
|
|
1167
|
+
*/
|
|
1168
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* ISO8601 Timestamp
|
|
1172
|
+
*/
|
|
1173
|
+
signed_at: string | null;
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* The state of an EVM transaction
|
|
1177
|
+
*/
|
|
1178
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* The state of an EVM transaction
|
|
1182
|
+
*/
|
|
1183
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* An EVM address
|
|
1187
|
+
*/
|
|
1188
|
+
to: string | null;
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* ISO8601 Timestamp
|
|
1192
|
+
*/
|
|
1193
|
+
updated_at: VektorAPI.Timestamp;
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* An arbitrary precision decimal represented as a string
|
|
1197
|
+
*/
|
|
1198
|
+
value: string | null;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
export namespace ExecutionEVMTransactionWrap {
|
|
1202
|
+
/**
|
|
1203
|
+
* An error
|
|
1204
|
+
*/
|
|
1205
|
+
export interface Error {
|
|
1206
|
+
/**
|
|
1207
|
+
* Error message
|
|
1208
|
+
*/
|
|
1209
|
+
message: string;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Error parameters
|
|
1213
|
+
*/
|
|
1214
|
+
params: { [key: string]: unknown };
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Error type
|
|
1218
|
+
*/
|
|
1219
|
+
type: string;
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Selling an asset for another asset
|
|
1225
|
+
*/
|
|
1226
|
+
export interface ExecutionEVMTransactionSell {
|
|
1227
|
+
/**
|
|
1228
|
+
* An EVM address
|
|
1229
|
+
*/
|
|
1230
|
+
approval_target: VektorAPI.Account;
|
|
1231
|
+
|
|
1232
|
+
block_number: number | null;
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* ISO8601 Timestamp
|
|
1236
|
+
*/
|
|
1237
|
+
broadcasted_at: string | null;
|
|
1238
|
+
|
|
1239
|
+
confirmation_target: number;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* ISO8601 Timestamp
|
|
1243
|
+
*/
|
|
1244
|
+
confirmed_at: string | null;
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* ISO8601 Timestamp
|
|
1248
|
+
*/
|
|
1249
|
+
created_at: VektorAPI.Timestamp;
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* A hex string starting with 0x
|
|
1253
|
+
*/
|
|
1254
|
+
data: string | null;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* An arbitrary precision decimal represented as a string
|
|
1258
|
+
*/
|
|
1259
|
+
effective_gas_price: string | null;
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* An error
|
|
1263
|
+
*/
|
|
1264
|
+
error: ExecutionEVMTransactionSell.Error | null;
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* ISO8601 Timestamp
|
|
1268
|
+
*/
|
|
1269
|
+
errored_at: string | null;
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* An arbitrary precision decimal represented as a string
|
|
1273
|
+
*/
|
|
1274
|
+
gas_used: string | null;
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* A transaction hash
|
|
1278
|
+
*/
|
|
1279
|
+
hash: string | null;
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* An arbitrary precision decimal represented as a string
|
|
1283
|
+
*/
|
|
1284
|
+
min_receive_amount: VektorAPI.Decimal;
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* The payload of an EIP-1559 transaction
|
|
1288
|
+
*/
|
|
1289
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* A sell quote
|
|
1293
|
+
*/
|
|
1294
|
+
quote: VektorAPI.SellQuote;
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* ISO8601 Timestamp
|
|
1298
|
+
*/
|
|
1299
|
+
signed_at: string | null;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* An arbitrary precision decimal represented as a string
|
|
1303
|
+
*/
|
|
1304
|
+
slippage: VektorAPI.Decimal;
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* The state of an EVM transaction
|
|
1308
|
+
*/
|
|
1309
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* The state of an EVM transaction
|
|
1313
|
+
*/
|
|
1314
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* An EVM address
|
|
1318
|
+
*/
|
|
1319
|
+
to: string | null;
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* ISO8601 Timestamp
|
|
1323
|
+
*/
|
|
1324
|
+
updated_at: VektorAPI.Timestamp;
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* An arbitrary precision decimal represented as a string
|
|
1328
|
+
*/
|
|
1329
|
+
value: string | null;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
export namespace ExecutionEVMTransactionSell {
|
|
1333
|
+
/**
|
|
1334
|
+
* An error
|
|
1335
|
+
*/
|
|
1336
|
+
export interface Error {
|
|
1337
|
+
/**
|
|
1338
|
+
* Error message
|
|
1339
|
+
*/
|
|
1340
|
+
message: string;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Error parameters
|
|
1344
|
+
*/
|
|
1345
|
+
params: { [key: string]: unknown };
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Error type
|
|
1349
|
+
*/
|
|
1350
|
+
type: string;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
export interface StepGetParams {
|
|
1356
|
+
/**
|
|
1357
|
+
* Execution ID
|
|
1358
|
+
*/
|
|
1359
|
+
execution_id: string;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
export interface StepSignParams {
|
|
1363
|
+
/**
|
|
1364
|
+
* Path param: Execution ID
|
|
1365
|
+
*/
|
|
1366
|
+
execution_id: string;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* Body param: A hex string starting with 0x
|
|
1370
|
+
*/
|
|
1371
|
+
signed_payload: VektorAPI.HexString;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export declare namespace Steps {
|
|
1375
|
+
export {
|
|
1376
|
+
type StepGetResponse as StepGetResponse,
|
|
1377
|
+
type StepGetParams as StepGetParams,
|
|
1378
|
+
type StepSignParams as StepSignParams,
|
|
1379
|
+
};
|
|
1380
|
+
}
|