From 7ae6e50f8cf72945605d1876ef03e4819bad4a38 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 8 Jan 2025 16:01:16 -0800 Subject: [PATCH 01/11] build: bump graphql-engine fixes a UI bug --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9fd864c8..d6a75ba3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,7 +48,7 @@ services: - ci graphql-engine: - image: onfinality/subql-query:v2.13.0 + image: onfinality/subql-query:v2.19.0 ports: - 3000:3000 depends_on: From a4a5e01c3436e58a603e5100ee2b3dbc781743bf Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 9 Jan 2025 09:37:16 -0800 Subject: [PATCH 02/11] build: never publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8c7635f5..dfcfa351 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "agoric-indexer", + "private": true, "version": "0.0.1", "description": "This is the SubQuery project for indexing the Agoric chain", "main": "dist/index.js", @@ -8,7 +9,6 @@ "codegen": "subql codegen", "start:docker": "docker-compose pull && docker-compose up --remove-orphans", "dev": "subql codegen && subql build && docker compose pull && docker compose --profile default up --remove-orphans --detach", - "prepack": "rm -rf dist && npm run build", "test": "subql build && subql-node-cosmos test", "prettier:check": "prettier --list-different . --print-width 120", "prettier:write": "prettier --write . --print-width 120" From 7c0ed8a921edc493e63972c6fbf6cddf2c96cdd3 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 9 Jan 2025 09:37:33 -0800 Subject: [PATCH 03/11] build: bump yarn --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dfcfa351..20e85acb 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,5 @@ "resolutions": { "@subql/node-core": "^16.1.0" }, - "packageManager": "yarn@4.5.3" + "packageManager": "yarn@4.6.0" } From 94c421ad3e9a801edba3ad50c0e8b7094630cb69 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 9 Jan 2025 09:13:13 -0800 Subject: [PATCH 04/11] chore: remove irrelevant upstream CI config --- scripts/ci.package.json | 39 --------------------------------------- scripts/ci.tsconfig.json | 20 -------------------- scripts/copy-ts-config.sh | 13 ------------- 3 files changed, 72 deletions(-) delete mode 100644 scripts/ci.package.json delete mode 100644 scripts/ci.tsconfig.json delete mode 100755 scripts/copy-ts-config.sh diff --git a/scripts/ci.package.json b/scripts/ci.package.json deleted file mode 100644 index 68565cbd..00000000 --- a/scripts/ci.package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "cosmos-subql-starters", - "private": true, - "workspaces": [ - "Agoric/*", - "Akash/*", - "Archway/*", - "Axelar/*", - "Cheqd/*", - "Comdex/*", - "CosmosHub/*", - "Dymension/*", - "Evmos/*", - "Fetch.ai/*", - "Injective/*", - "Iris/*", - "Jackal/*", - "Juno/*", - "Kava/kava-starter", - "Kujira/*", - "Mars/*", - "Migaloo/*", - "Multi-Chain/*", - "Neutron/*", - "Omniflixhub/*", - "Osmosis/*", - "Persistence/*", - "Sei/*", - "Secret/*", - "Stargaze/*", - "Terra2/*", - "Thorchain/*", - "UmeeX/*" - ], - "scripts": { - "codegen": "yarn workspaces run codegen", - "build": "yarn workspaces run build" - } -} diff --git a/scripts/ci.tsconfig.json b/scripts/ci.tsconfig.json deleted file mode 100644 index ed617d7e..00000000 --- a/scripts/ci.tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compilerOptions": { - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "esModuleInterop": true, - "declaration": true, - "importHelpers": true, - "resolveJsonModule": true, - "module": "commonjs", - "outDir": "dist", - "rootDir": "src", - "target": "es2017", - "strict": true - }, - "include": [ - "src/**/*", - "../../node_modules/@subql/types-core/dist/global.d.ts", - "../../node_modules/@subql/types-cosmos/dist/global.d.ts" - ] -} diff --git a/scripts/copy-ts-config.sh b/scripts/copy-ts-config.sh deleted file mode 100755 index 43314473..00000000 --- a/scripts/copy-ts-config.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# This file copies over a modified TS config that works with workspaces so we can build all projects - -set -e - -for DEST_PATH in ./*/*/; do - - SRC="./.github/scripts/ci.tsconfig.json" - DEST="${DEST_PATH}tsconfig.json" - - [ -f "$DEST" ] && cp "$SRC" "$DEST" -done From 3bff36b3fbe5c032c4e80d8e929f7224bde575c4 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 7 Jan 2025 13:20:45 -0800 Subject: [PATCH 05/11] chore(types): annotate CosmosBlock --- src/mappings/events/boardAux.ts | 3 ++- src/mappings/events/priceFeed.ts | 3 ++- src/mappings/events/psm.ts | 3 ++- src/mappings/events/reserves.ts | 4 ++-- src/mappings/events/vaults.ts | 13 +++++++------ 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/mappings/events/boardAux.ts b/src/mappings/events/boardAux.ts index 22145797..02bb7a16 100644 --- a/src/mappings/events/boardAux.ts +++ b/src/mappings/events/boardAux.ts @@ -1,6 +1,7 @@ +import type { CosmosBlock } from '@subql/types-cosmos'; import { BoardAux } from '../../types'; -export const boardAuxEventKit = (block: any, data: any, module: string, path: string) => { +export const boardAuxEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { async function saveBoardAux(payload: any): Promise[]> { const boardAux = new BoardAux( path, diff --git a/src/mappings/events/priceFeed.ts b/src/mappings/events/priceFeed.ts index d7590f69..c8890b3a 100644 --- a/src/mappings/events/priceFeed.ts +++ b/src/mappings/events/priceFeed.ts @@ -1,7 +1,8 @@ +import type { CosmosBlock } from '@subql/types-cosmos'; import { OraclePrice, OraclePriceDaily } from '../../types'; import { dateToDayKey } from '../utils'; -export const priceFeedEventKit = (block: any, data: any, module: string, path: string) => { +export const priceFeedEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { async function savePriceFeed(payload: any): Promise[]> { const matchTypeInName = path.match(/priceFeed\.(.+?)-/); const typeInName = matchTypeInName ? matchTypeInName[1] : undefined; diff --git a/src/mappings/events/psm.ts b/src/mappings/events/psm.ts index 03d293c3..8dddafec 100644 --- a/src/mappings/events/psm.ts +++ b/src/mappings/events/psm.ts @@ -1,7 +1,8 @@ +import type { CosmosBlock } from '@subql/types-cosmos'; import { PsmGovernance, PsmMetrics, PsmMetricsDaily } from '../../types'; import { dateToDayKey } from '../utils'; -export const psmEventKit = (block: any, data: any, module: string, path: string) => { +export const psmEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { async function savePsmMetrics(payload: any): Promise[]> { const psmMetricDaily = savePsmMetricDaily(payload); const psmMetric = new PsmMetrics( diff --git a/src/mappings/events/reserves.ts b/src/mappings/events/reserves.ts index 52827e91..e1c165b5 100644 --- a/src/mappings/events/reserves.ts +++ b/src/mappings/events/reserves.ts @@ -1,8 +1,8 @@ -import { promises } from 'dns'; import { ReserveAllocationMetrics, ReserveAllocationMetricsDaily, ReserveMetrics } from '../../types'; import { dateToDayKey, extractBrand } from '../utils'; +import type { CosmosBlock } from '@subql/types-cosmos'; -export const reservesEventKit = (block: any, data: any, module: string, path: string) => { +export const reservesEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { async function saveReserveMetrics(payload: any): Promise[]> { const promises: Promise[] = []; const reserveMetric = new ReserveMetrics( diff --git a/src/mappings/events/vaults.ts b/src/mappings/events/vaults.ts index 2c36af01..72b79504 100644 --- a/src/mappings/events/vaults.ts +++ b/src/mappings/events/vaults.ts @@ -1,17 +1,18 @@ +import type { CosmosBlock } from '@subql/types-cosmos'; import { - VaultManagerMetrics, - VaultManagerMetricsDaily, - VaultManagerGovernance, - Wallet, + OraclePrice, Vault, VaultLiquidation, + VaultManagerGovernance, + VaultManagerMetrics, + VaultManagerMetricsDaily, VaultStatesDaily, - OraclePrice, + Wallet, } from '../../types'; import { VAULT_STATES } from '../constants'; import { dateToDayKey, extractBrand } from '../utils'; -export const vaultsEventKit = (block: any, data: any, module: string, path: string) => { +export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { async function saveVaultManagerGovernance(payload: any): Promise[]> { const vaultManagerGovernance = new VaultManagerGovernance( path, From 524895cf8123832ecf48786ff3eda90cc9763326 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 7 Jan 2025 13:30:29 -0800 Subject: [PATCH 06/11] chore(types): ReadonlyDateWithNanoseconds --- src/mappings/events/boardAux.ts | 2 +- src/mappings/events/priceFeed.ts | 4 ++-- src/mappings/events/psm.ts | 6 +++--- src/mappings/events/reserves.ts | 6 +++--- src/mappings/events/vaults.ts | 27 +++++++++++++++++---------- src/mappings/mappingHandlers.ts | 8 ++++---- 6 files changed, 30 insertions(+), 23 deletions(-) diff --git a/src/mappings/events/boardAux.ts b/src/mappings/events/boardAux.ts index 02bb7a16..8c98cd0f 100644 --- a/src/mappings/events/boardAux.ts +++ b/src/mappings/events/boardAux.ts @@ -6,7 +6,7 @@ export const boardAuxEventKit = (block: CosmosBlock, data: any, module: string, const boardAux = new BoardAux( path, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, payload.allegedName, payload.displayInfo.assetKind, payload.displayInfo.decimalPlaces ?? 0, diff --git a/src/mappings/events/priceFeed.ts b/src/mappings/events/priceFeed.ts index c8890b3a..312d4b81 100644 --- a/src/mappings/events/priceFeed.ts +++ b/src/mappings/events/priceFeed.ts @@ -18,7 +18,7 @@ export const priceFeedEventKit = (block: CosmosBlock, data: any, module: string, const oraclePrice = new OraclePrice( id, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, id, BigInt(payload.amountIn.__value), BigInt(payload.amountOut.__value), @@ -53,7 +53,7 @@ export const priceFeedEventKit = (block: CosmosBlock, data: any, module: string, const id = feedName + ':' + dateKey.toString(); let state = await OraclePriceDaily.get(id); if (!state) { - state = new OraclePriceDaily(id, dateKey, BigInt(data.blockHeight), new Date(block.block.header.time as any)); + state = new OraclePriceDaily(id, dateKey, BigInt(data.blockHeight), new Date(block.block.header.time as Date)); } return state; } diff --git a/src/mappings/events/psm.ts b/src/mappings/events/psm.ts index 8dddafec..569c1343 100644 --- a/src/mappings/events/psm.ts +++ b/src/mappings/events/psm.ts @@ -8,7 +8,7 @@ export const psmEventKit = (block: CosmosBlock, data: any, module: string, path: const psmMetric = new PsmMetrics( path, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, path.split('.')[3], path.split('.')[3], BigInt(payload.anchorPoolBalance.__value), @@ -48,7 +48,7 @@ export const psmEventKit = (block: CosmosBlock, data: any, module: string, path: path, dateKey, BigInt(data.blockHeight), - new Date(block.block.header.time as any), + new Date(block.block.header.time as Date), ); } return state; @@ -58,7 +58,7 @@ export const psmEventKit = (block: CosmosBlock, data: any, module: string, path: const psmGovernance = new PsmGovernance( path, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, path.split('.')[3], path.split('.')[3], BigInt(payload.current.MintLimit.value.__value), diff --git a/src/mappings/events/reserves.ts b/src/mappings/events/reserves.ts index e1c165b5..f365f4d3 100644 --- a/src/mappings/events/reserves.ts +++ b/src/mappings/events/reserves.ts @@ -8,7 +8,7 @@ export const reservesEventKit = (block: CosmosBlock, data: any, module: string, const reserveMetric = new ReserveMetrics( path, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, BigInt(payload.shortfallBalance.__value), BigInt(payload.totalFeeBurned.__value), BigInt(payload.totalFeeMinted.__value), @@ -26,7 +26,7 @@ export const reservesEventKit = (block: CosmosBlock, data: any, module: string, const reserveAllocationMetric = new ReserveAllocationMetrics( `${brand}`, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, brand, key, BigInt(allocation.__value), @@ -69,7 +69,7 @@ export const reservesEventKit = (block: CosmosBlock, data: any, module: string, brand, dateKey, BigInt(data.blockHeight), - new Date(block.block.header.time as any), + new Date(block.block.header.time as Date), ); } return state; diff --git a/src/mappings/events/vaults.ts b/src/mappings/events/vaults.ts index 72b79504..7c4d7922 100644 --- a/src/mappings/events/vaults.ts +++ b/src/mappings/events/vaults.ts @@ -1,4 +1,5 @@ import type { CosmosBlock } from '@subql/types-cosmos'; +import type { ReadonlyDateWithNanoseconds } from '@cosmjs/tendermint-rpc'; import { OraclePrice, Vault, @@ -17,7 +18,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa const vaultManagerGovernance = new VaultManagerGovernance( path, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, BigInt(payload.current.DebtLimit.value.__value), BigInt(payload.current.InterestRate.value?.denominator.__value ?? 0), BigInt(payload.current.InterestRate.value?.numerator.__value ?? 0), @@ -37,7 +38,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa async function saveWallets(payload: any): Promise[]> { const promises: Promise[] = []; const address = path.split('.')[2]; - const wallet = new Wallet(path, BigInt(data.blockHeight), block.block.header.time as any, address); + const wallet = new Wallet(path, BigInt(data.blockHeight), block.block.header.time as Date, address); if (payload.offerToPublicSubscriberPaths) { for (let i = 0; i < payload.offerToPublicSubscriberPaths.length; i++) { @@ -45,7 +46,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa let vault = await Vault.get(vaultId); if (!vault) { - vault = new Vault(vaultId, BigInt(data.blockHeight), block.block.header.time as any, wallet.id); + vault = new Vault(vaultId, BigInt(data.blockHeight), block.block.header.time as Date, wallet.id); } vault.walletId = wallet.id; promises.push(vault.save()); @@ -58,7 +59,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa async function updateVaultStatesDaily( oldState: string | undefined, newState: string, - blockTime: Date, + blockTime: ReadonlyDateWithNanoseconds, blockHeight: number, ): Promise<[VaultStatesDaily, VaultStatesDaily]> { let vaultState: VaultStatesDaily | undefined = await VaultStatesDaily.get('latest'); @@ -67,7 +68,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa vaultState = new VaultStatesDaily( 'latest', BigInt(blockHeight), - blockTime, + blockTime as Date, BigInt(0), BigInt(0), BigInt(0), @@ -85,7 +86,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa }; vaultState.blockHeightLast = BigInt(blockHeight); - vaultState.blockTimeLast = blockTime; + vaultState.blockTimeLast = blockTime as Date; if (oldState && propertyMap[oldState]) { const oldProperty = propertyMap[oldState]; @@ -122,7 +123,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa data.blockHeight, ); if (!vault) { - vault = new Vault(path, BigInt(data.blockHeight), block.block.header.time as any, ''); + vault = new Vault(path, BigInt(data.blockHeight), block.block.header.time as Date, ''); } vault.coin = payload?.locked?.__brand; @@ -151,7 +152,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa vault = new VaultLiquidation( id, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, '', path, liquidatingId, @@ -196,7 +197,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa const vaultManagerMetric = new VaultManagerMetrics( path, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, extractBrand(payload.liquidatingCollateral.__brand), BigInt(payload.liquidatingCollateral.__value), extractBrand(payload.liquidatingDebt.__brand), @@ -250,7 +251,13 @@ export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, pa const id = `${path}:${dateKey}`; let state = await VaultManagerMetricsDaily.get(id); if (!state) { - state = new VaultManagerMetricsDaily(id, path, dateKey, BigInt(data.blockHeight), block.block.header.time as any); + state = new VaultManagerMetricsDaily( + id, + path, + dateKey, + BigInt(data.blockHeight), + block.block.header.time as Date, + ); return state; } return state; diff --git a/src/mappings/mappingHandlers.ts b/src/mappings/mappingHandlers.ts index 17ff2ee7..cecd9ab7 100644 --- a/src/mappings/mappingHandlers.ts +++ b/src/mappings/mappingHandlers.ts @@ -74,7 +74,7 @@ export async function handleIbcSendPacketEvent(cosmosEvent: CosmosEvent): Promis const transferRecord = new IBCTransfer( tx.hash, - block.header.time as any, + block.header.time as Date, BigInt(block.header.height), packetSrcChannelAttr.value, sender, @@ -117,7 +117,7 @@ export async function handleIbcReceivePacketEvent(cosmosEvent: CosmosEvent): Pro const transferRecord = new IBCTransfer( tx.hash, - block.header.time as any, + block.header.time as Date, BigInt(block.header.height), destinationChannel, sender, @@ -143,7 +143,7 @@ export async function handleBundleInstallMessage(message: CosmosMessage): Promis const bundleRecord = new BundleInstall( tx.hash, BigInt(block.header.height), - block.header.time as any, + block.header.time as Date, BigInt(uncompressedSize), bundle || '', compressedBundle || '', @@ -201,7 +201,7 @@ export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise< const record = new StateChangeEvent( `${data.blockHeight}:${cosmosEvent.idx}:${idx}`, BigInt(data.blockHeight), - block.block.header.time as any, + block.block.header.time as Date, module, path, idx, From ea532fbecce267951b9e5b608d003eb0f60a0f6f Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 7 Jan 2025 13:30:38 -0800 Subject: [PATCH 07/11] chore(types): chainStorage --- src/mappings/events/boardAux.ts | 3 ++- src/mappings/events/priceFeed.ts | 3 ++- src/mappings/events/psm.ts | 3 ++- src/mappings/events/reserves.ts | 3 ++- src/mappings/events/vaults.ts | 3 ++- src/mappings/mappingHandlers.ts | 8 +++++--- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/mappings/events/boardAux.ts b/src/mappings/events/boardAux.ts index 8c98cd0f..543349b5 100644 --- a/src/mappings/events/boardAux.ts +++ b/src/mappings/events/boardAux.ts @@ -1,7 +1,8 @@ import type { CosmosBlock } from '@subql/types-cosmos'; import { BoardAux } from '../../types'; +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; -export const boardAuxEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { +export const boardAuxEventKit = (block: CosmosBlock, data: StreamCell, module: string, path: string) => { async function saveBoardAux(payload: any): Promise[]> { const boardAux = new BoardAux( path, diff --git a/src/mappings/events/priceFeed.ts b/src/mappings/events/priceFeed.ts index 312d4b81..3ff9340e 100644 --- a/src/mappings/events/priceFeed.ts +++ b/src/mappings/events/priceFeed.ts @@ -1,8 +1,9 @@ import type { CosmosBlock } from '@subql/types-cosmos'; import { OraclePrice, OraclePriceDaily } from '../../types'; import { dateToDayKey } from '../utils'; +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; -export const priceFeedEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { +export const priceFeedEventKit = (block: CosmosBlock, data: StreamCell, module: string, path: string) => { async function savePriceFeed(payload: any): Promise[]> { const matchTypeInName = path.match(/priceFeed\.(.+?)-/); const typeInName = matchTypeInName ? matchTypeInName[1] : undefined; diff --git a/src/mappings/events/psm.ts b/src/mappings/events/psm.ts index 569c1343..6b75cbcf 100644 --- a/src/mappings/events/psm.ts +++ b/src/mappings/events/psm.ts @@ -1,8 +1,9 @@ import type { CosmosBlock } from '@subql/types-cosmos'; import { PsmGovernance, PsmMetrics, PsmMetricsDaily } from '../../types'; import { dateToDayKey } from '../utils'; +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; -export const psmEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { +export const psmEventKit = (block: CosmosBlock, data: StreamCell, module: string, path: string) => { async function savePsmMetrics(payload: any): Promise[]> { const psmMetricDaily = savePsmMetricDaily(payload); const psmMetric = new PsmMetrics( diff --git a/src/mappings/events/reserves.ts b/src/mappings/events/reserves.ts index f365f4d3..363e14a9 100644 --- a/src/mappings/events/reserves.ts +++ b/src/mappings/events/reserves.ts @@ -1,8 +1,9 @@ +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; import { ReserveAllocationMetrics, ReserveAllocationMetricsDaily, ReserveMetrics } from '../../types'; import { dateToDayKey, extractBrand } from '../utils'; import type { CosmosBlock } from '@subql/types-cosmos'; -export const reservesEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { +export const reservesEventKit = (block: CosmosBlock, data: StreamCell, module: string, path: string) => { async function saveReserveMetrics(payload: any): Promise[]> { const promises: Promise[] = []; const reserveMetric = new ReserveMetrics( diff --git a/src/mappings/events/vaults.ts b/src/mappings/events/vaults.ts index 7c4d7922..6c54e166 100644 --- a/src/mappings/events/vaults.ts +++ b/src/mappings/events/vaults.ts @@ -12,8 +12,9 @@ import { } from '../../types'; import { VAULT_STATES } from '../constants'; import { dateToDayKey, extractBrand } from '../utils'; +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; -export const vaultsEventKit = (block: CosmosBlock, data: any, module: string, path: string) => { +export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: string, path: string) => { async function saveVaultManagerGovernance(payload: any): Promise[]> { const vaultManagerGovernance = new VaultManagerGovernance( path, diff --git a/src/mappings/mappingHandlers.ts b/src/mappings/mappingHandlers.ts index cecd9ab7..be7eb81d 100644 --- a/src/mappings/mappingHandlers.ts +++ b/src/mappings/mappingHandlers.ts @@ -31,6 +31,8 @@ import { boardAuxEventKit } from './events/boardAux'; import { priceFeedEventKit } from './events/priceFeed'; import { vaultsEventKit } from './events/vaults'; import { reservesEventKit } from './events/reserves'; +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; +import type { CapData } from '@endo/marshal'; // @ts-ignore BigInt.prototype.toJSON = function () { @@ -178,7 +180,7 @@ export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise< return; } - let data = Object(); + let data: StreamCell; try { const decodedValue = valueAttr.key === UNPROVED_VALUE_KEY ? b64decode(valueAttr.value) : valueAttr.value; data = JSON.parse(decodedValue); @@ -197,7 +199,7 @@ export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise< const recordSaves: (Promise | undefined)[] = []; - async function saveStateEvent(idx: number, value: any, payload: any) { + async function saveStateEvent(idx: number, value: CapData, payload: unknown) { const record = new StateChangeEvent( `${data.blockHeight}:${cosmosEvent.idx}:${idx}`, BigInt(data.blockHeight), @@ -242,7 +244,7 @@ export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise< continue; } - const value = JSON.parse(rawValue); + const value = JSON.parse(rawValue) as CapData; const payload = JSON.parse(value.body.replace(/^#/, '')); resolveBrandNamesAndValues(payload); From 38685e607f8ec3f949c70cfe2be38e85fe38406a Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 7 Jan 2025 13:43:14 -0800 Subject: [PATCH 08/11] chore(types): inter-protocol and smart-wallet --- package.json | 4 +- src/mappings/events/vaults.ts | 8 +- yarn.lock | 1405 +++++++++++++++++++++++++++++++-- 3 files changed, 1368 insertions(+), 49 deletions(-) diff --git a/package.json b/package.json index 20e85acb..c8f1a98a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,9 @@ "author": "Agoric OpCo", "license": "Apache-2.0", "devDependencies": { - "@agoric/internal": "0.4.0-u18.0", + "@agoric/inter-protocol": "0.17.0-u18.6", + "@agoric/internal": "0.4.0-u18.1", + "@agoric/smart-wallet": "0.5.4-u18.5", "@cosmjs/stargate": "^0.28.9", "@endo/eventual-send": "^1.2.8", "@subql/cli": "^5.4.0", diff --git a/src/mappings/events/vaults.ts b/src/mappings/events/vaults.ts index 6c54e166..f3e86456 100644 --- a/src/mappings/events/vaults.ts +++ b/src/mappings/events/vaults.ts @@ -1,4 +1,6 @@ import type { CosmosBlock } from '@subql/types-cosmos'; +import type { CurrentWalletRecord } from '@agoric/smart-wallet/src/smartWallet'; +import type { VaultNotification } from '@agoric/inter-protocol/src/vaultFactory/vault'; import type { ReadonlyDateWithNanoseconds } from '@cosmjs/tendermint-rpc'; import { OraclePrice, @@ -36,7 +38,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: str return [vaultManagerGovernance]; } - async function saveWallets(payload: any): Promise[]> { + async function saveWallets(payload: CurrentWalletRecord): Promise[]> { const promises: Promise[] = []; const address = path.split('.')[2]; const wallet = new Wallet(path, BigInt(data.blockHeight), block.block.header.time as Date, address); @@ -115,7 +117,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: str return [vaultState, vaultStateToday]; } - async function saveVaults(payload: any): Promise[]> { + async function saveVaults(payload: VaultNotification): Promise[]> { let vault = await Vault.get(path); const [latestVaultState, dailyVaultState] = await updateVaultStatesDaily( vault?.state, @@ -142,7 +144,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: str return [liquidation, vault.save(), latestVaultState.save(), dailyVaultState.save()]; } - async function saveVaultsLiquidation(payload: any): Promise { + async function saveVaultsLiquidation(payload: VaultNotification): Promise { const id = `${path}-${payload?.vaultState}`; const liquidatingId = `${path}-${VAULT_STATES.LIQUIDATING}`; diff --git a/yarn.lock b/yarn.lock index 3d72bb34..9f0fe77f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,7 +5,33 @@ __metadata: version: 8 cacheKey: 10c0 -"@agoric/base-zone@npm:^0.1.1-u18.0": +"@agoric/babel-generator@npm:^7.17.6": + version: 7.17.6 + resolution: "@agoric/babel-generator@npm:7.17.6" + dependencies: + "@babel/types": "npm:^7.17.0" + jsesc: "npm:^2.5.1" + source-map: "npm:^0.5.0" + checksum: 10c0/59db151ae737bd9b1f21c1589df4c7da9cbf484de5b5cc8352052825c2d977283d975303f55acb54d0210c176cb405da263073ceba1d3a6db65c6e21cc6e663f + languageName: node + linkType: hard + +"@agoric/base-zone@npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.1.1-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/base-zone@npm:0.1.1-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/c248645a4996bcff10a7e701551373242280f415539bf7a0d35a8b7011679c4aa9d08d26af6fc16cf8c39b6dc5c3980d415f112a09b213054ee7328389d065be + languageName: node + linkType: hard + +"@agoric/base-zone@npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0, @agoric/base-zone@npm:^0.1.1-u18.1": version: 0.1.1-upgrade-18-dev-ef001c0.0 resolution: "@agoric/base-zone@npm:0.1.1-upgrade-18-dev-ef001c0.0" dependencies: @@ -20,11 +46,135 @@ __metadata: languageName: node linkType: hard -"@agoric/internal@npm:0.4.0-u18.0": - version: 0.4.0-u18.0 - resolution: "@agoric/internal@npm:0.4.0-u18.0" +"@agoric/cosmic-proto@npm:0.5.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.5.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/cosmic-proto@npm:0.5.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@endo/base64": "npm:^1.0.9" + "@endo/init": "npm:^1.1.7" + bech32: "npm:^2.0.0" + query-string: "npm:^9.1.1" + checksum: 10c0/54f5f4f2eb4ad03fc8099a3378d846d47f3b691a99ec21319b341e2a8ef090841044f1b3e73f5558c12325c036d6be6823371bb6de6a535f31a730f58ddae568 + languageName: node + linkType: hard + +"@agoric/ertp@npm:0.16.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.16.3-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/ertp@npm:0.16.3-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/6ea1d2bfe8de607872d6af1824be9c80cc5edd6b9033641169c6b37eb9cb1d47df556593deaa57a352ec033548ef3f31e82a4b5844c62f1b4c9d4e0e512cc289 + languageName: node + linkType: hard + +"@agoric/ertp@npm:0.16.3-upgrade-18-dev-ef001c0.0+ef001c0, @agoric/ertp@npm:^0.16.3-u18.1": + version: 0.16.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/ertp@npm:0.16.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/notifier": "npm:0.6.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/zone": "npm:0.2.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/errors": "npm:^1.2.7" + "@endo/eventual-send": "npm:^1.2.7" + "@endo/far": "npm:^1.1.8" + "@endo/marshal": "npm:^1.6.1" + "@endo/nat": "npm:^5.0.12" + "@endo/patterns": "npm:^1.4.6" + "@endo/promise-kit": "npm:^1.1.7" + checksum: 10c0/7566481669eb6c39bc6a5b379f5cc1d7498fa5d90311b5c01ff3f72f7a51d6e65ee59cd9587c226179504473d88be20adcfaeaeab0482cb3b46f8f0612455965 + languageName: node + linkType: hard + +"@agoric/governance@npm:0.10.4-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.10.4-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/governance@npm:0.10.4-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/zoe": "npm:0.26.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + import-meta-resolve: "npm:^2.2.1" + checksum: 10c0/361cb0e56c2df505e5df79c252df428563d16489b27e425aaf5fe78ab136856f18acfa7d2d29143cc880fa5300a7fe528a08ed23d7821c2e5a8bec3b584efda9 + languageName: node + linkType: hard + +"@agoric/governance@npm:^0.10.4-u18.1": + version: 0.10.4-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/governance@npm:0.10.4-upgrade-18-dev-ef001c0.0" dependencies: - "@agoric/base-zone": "npm:^0.1.1-u18.0" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/notifier": "npm:0.6.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/zoe": "npm:0.26.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/bundle-source": "npm:^3.4.2" + "@endo/captp": "npm:^4.4.2" + "@endo/errors": "npm:^1.2.7" + "@endo/eventual-send": "npm:^1.2.7" + "@endo/far": "npm:^1.1.8" + "@endo/marshal": "npm:^1.6.1" + "@endo/nat": "npm:^5.0.12" + "@endo/promise-kit": "npm:^1.1.7" + import-meta-resolve: "npm:^2.2.1" + checksum: 10c0/1828672b4b731a0fca06a03e2d462c3189ef2ed79487ebad6cbe6bd3f19546509f53c036176b87ec6f83231d859e64418cb4f9c3ed5b39f490a8fa2654272d50 + languageName: node + linkType: hard + +"@agoric/inter-protocol@npm:0.17.0-u18.6": + version: 0.17.0-u18.6 + resolution: "@agoric/inter-protocol@npm:0.17.0-u18.6" + dependencies: + "@agoric/ertp": "npm:^0.16.3-u18.1" + "@agoric/governance": "npm:^0.10.4-u18.1" + "@agoric/internal": "npm:^0.4.0-u18.1" + "@agoric/notifier": "npm:^0.7.0-u18.1" + "@agoric/store": "npm:^0.9.3-u18.1" + "@agoric/time": "npm:^0.3.3-u18.1" + "@agoric/vat-data": "npm:^0.5.3-u18.1" + "@agoric/vats": "npm:^0.16.0-u18.5" + "@agoric/zoe": "npm:^0.26.3-u18.1" + "@agoric/zone": "npm:^0.3.0-u18.1" + "@endo/captp": "npm:^4.4.3" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + jessie.js: "npm:^0.3.4" + checksum: 10c0/364fe6301277b6fd49fa6f629e874fca2918bea0d993843087cc310c09cad9c81ea1536377c24396a6cdb532f5fccf51d7b7141a73d6a0c845b392cff29ab911 + languageName: node + linkType: hard + +"@agoric/internal@npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.3.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/internal@npm:0.3.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0" "@endo/common": "npm:^1.2.7" "@endo/errors": "npm:^1.2.7" "@endo/far": "npm:^1.1.8" @@ -36,11 +186,156 @@ __metadata: "@endo/stream": "npm:^1.2.7" anylogger: "npm:^0.21.0" jessie.js: "npm:^0.3.4" - checksum: 10c0/5a7d36cb8faf69eabf9d53f6ea79bcd10187d83782e6fa06d8debd5d5565ecdbf33ef85efbe8697e91eed09c21599ab03b8b746065611513cc54b467a87ce427 + checksum: 10c0/570f7168206cce15e52574f8e5f241945866a83fe3ccb20ce99e09567961c5878d44a3a5486221865a727499d1219c5c4d65c637da6b934497dc592307e0d34a + languageName: node + linkType: hard + +"@agoric/internal@npm:0.4.0-u18.1": + version: 0.4.0-u18.1 + resolution: "@agoric/internal@npm:0.4.0-u18.1" + dependencies: + "@agoric/base-zone": "npm:^0.1.1-u18.1" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/stream": "npm:^1.2.8" + anylogger: "npm:^0.21.0" + jessie.js: "npm:^0.3.4" + checksum: 10c0/f6b30a7d4436ffe5d3a3970d25a753803c71546ea531c016fe2aa8a9a606f8cfa7213ccfbcbd1314c29384362112affce83eaea0fccbb849cd0d0fcf60f34859 + languageName: node + linkType: hard + +"@agoric/internal@npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/internal@npm:^0.4.0-u18.1": + version: 0.4.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/internal@npm:0.4.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/stream": "npm:^1.2.8" + anylogger: "npm:^0.21.0" + jessie.js: "npm:^0.3.4" + checksum: 10c0/98300553db81a331107fa2dc5db5eb6e753385eb8ff7863ad8e219684977219db46c7abf5022c40d321b2ce94e56db202f2f5bed8e4ae0f66aaecb39f683ac71 + languageName: node + linkType: hard + +"@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.1.1-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + checksum: 10c0/e88d4fa063f9b4cf13f6c50e27e2c82df26572d5b2717d487854fd8dc90248548c0c5994cee777be4c2f1197fad1823ee9b26b7310f62806aa19b2abd6c38125 languageName: node linkType: hard -"@agoric/store@npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0": +"@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.1.1-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-ef001c0.0" + dependencies: + "@endo/errors": "npm:^1.2.7" + "@endo/far": "npm:^1.1.8" + "@endo/marshal": "npm:^1.6.1" + checksum: 10c0/5a4230e63cb585a9c4268bcf55091129fdb27f9cb9d97dc72bb6de9de7183ccb2a16dc2641475888c1065c96ab1f81700000f9a34368a0e3cd013065b9ba82c2 + languageName: node + linkType: hard + +"@agoric/network@npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.2.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/network@npm:0.2.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/base64": "npm:^1.0.9" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/ede6cd77e6130eeb43ccf88b91f0877000810574f2b11e132af980873947063f5486b477506f6818146b26ac4aaa1a24c1c55e70d3fc4696c912852454bad577 + languageName: node + linkType: hard + +"@agoric/notifier@npm:0.6.3-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.6.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/notifier@npm:0.6.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/errors": "npm:^1.2.7" + "@endo/far": "npm:^1.1.8" + "@endo/marshal": "npm:^1.6.1" + "@endo/patterns": "npm:^1.4.6" + "@endo/promise-kit": "npm:^1.1.7" + checksum: 10c0/3b840205b44b389acd7c3fc0faa6972a28d93536ebbc8171bd38a5c211395346e383eb0efd5dffb38e225cd82a23dec9a99ca8e652c81b7a27b2c72e156c6aa8 + languageName: node + linkType: hard + +"@agoric/notifier@npm:0.7.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/notifier@npm:^0.7.0-u18.1": + version: 0.7.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/notifier@npm:0.7.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/ffb74d22534139e8a3f29e0132758fcf3477b9fa70cb8bca1d0135c9783f55e9ff13e6ebc748beef76abe052ff97dee0f6e13f23624c08818a666799c2843a6b + languageName: node + linkType: hard + +"@agoric/smart-wallet@npm:0.5.4-u18.5": + version: 0.5.4-u18.5 + resolution: "@agoric/smart-wallet@npm:0.5.4-u18.5" + dependencies: + "@agoric/ertp": "npm:^0.16.3-u18.1" + "@agoric/internal": "npm:^0.4.0-u18.1" + "@agoric/notifier": "npm:^0.7.0-u18.1" + "@agoric/store": "npm:^0.9.3-u18.1" + "@agoric/vat-data": "npm:^0.5.3-u18.1" + "@agoric/vats": "npm:^0.16.0-u18.5" + "@agoric/vow": "npm:^0.2.0-u18.1" + "@agoric/zoe": "npm:^0.26.3-u18.1" + "@agoric/zone": "npm:^0.3.0-u18.1" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/835c0808379b7f32949326fcb7488fd7eb4ba391d9ed2be59abd7e529d0a8dcc4492706dfb38f8c65ad8e451e227912bd36dcb386b258cbaa487ad0f46d805e3 + languageName: node + linkType: hard + +"@agoric/store@npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.9.3-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/store@npm:0.9.3-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/2d8efd2c9c32b75d2b3e214abdfa9021c94c6a71725688942b22188d8ab8efeb6742313d656480e48e5d07e09b16df4d48f61a7f663597d64c330c414e6014bf + languageName: node + linkType: hard + +"@agoric/store@npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0, @agoric/store@npm:^0.9.3-u18.1": version: 0.9.3-upgrade-18-dev-ef001c0.0 resolution: "@agoric/store@npm:0.9.3-upgrade-18-dev-ef001c0.0" dependencies: @@ -53,6 +348,432 @@ __metadata: languageName: node linkType: hard +"@agoric/swing-store@npm:0.10.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.10.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/swing-store@npm:0.10.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/base64": "npm:^1.0.9" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/check-bundle": "npm:^1.0.12" + "@endo/errors": "npm:^1.2.8" + "@endo/nat": "npm:^5.0.13" + better-sqlite3: "npm:^9.1.1" + checksum: 10c0/9b95fd965748eed4ecd337d356199c1e8156743aa6ef4b1cd4f45007965d41cda5a0f430ba1feb883b9f5c33e4c405bbf4899848a2fe382ea075afd819c640c4 + languageName: node + linkType: hard + +"@agoric/swing-store@npm:0.9.2-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.9.2-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/swing-store@npm:0.9.2-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/base64": "npm:^1.0.8" + "@endo/bundle-source": "npm:^3.4.2" + "@endo/check-bundle": "npm:^1.0.11" + "@endo/errors": "npm:^1.2.7" + "@endo/nat": "npm:^5.0.12" + better-sqlite3: "npm:^9.1.1" + checksum: 10c0/3b43376a909e608b2e7503ce6e3e52de8c927aec0d137031bd39aaa5380c7825b3148da7b36d309b3850548f2aa9a08ec7e0c51da0400aac7a972afcf4ccf1ea + languageName: node + linkType: hard + +"@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.10.3-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/env-options": "npm:^1.1.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/fd2dd8d01a36ebfc5449c96113483fb772ad634789055e1b7e12e8629256f6d2c522d0592473b284abe03daa7b1731d98652da587ed392acf80de8faf1617d52 + languageName: node + linkType: hard + +"@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.10.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/env-options": "npm:^1.1.7" + "@endo/errors": "npm:^1.2.7" + "@endo/eventual-send": "npm:^1.2.7" + "@endo/exo": "npm:^1.5.6" + "@endo/far": "npm:^1.1.8" + "@endo/init": "npm:^1.1.6" + "@endo/marshal": "npm:^1.6.1" + "@endo/nat": "npm:^5.0.12" + "@endo/pass-style": "npm:^1.4.6" + "@endo/patterns": "npm:^1.4.6" + "@endo/promise-kit": "npm:^1.1.7" + checksum: 10c0/5f2f024274f69112d29b242f86c5db630f2285bbfc4dfdf776af14bcd50d04795e30978753ce74f70021f1a582aed778e6b2dc1ea636cd0955bd6519f326b48a + languageName: node + linkType: hard + +"@agoric/swingset-vat@npm:0.32.3-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.32.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/swingset-vat@npm:0.32.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/kmarshal": "npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/swing-store": "npm:0.9.2-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/swingset-xsnap-supervisor": "npm:0.10.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/xsnap": "npm:0.14.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/xsnap-lockdown": "npm:0.14.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/base64": "npm:^1.0.8" + "@endo/bundle-source": "npm:^3.4.2" + "@endo/captp": "npm:^4.4.2" + "@endo/check-bundle": "npm:^1.0.11" + "@endo/compartment-mapper": "npm:^1.3.1" + "@endo/errors": "npm:^1.2.7" + "@endo/eventual-send": "npm:^1.2.7" + "@endo/far": "npm:^1.1.8" + "@endo/import-bundle": "npm:^1.3.1" + "@endo/init": "npm:^1.1.6" + "@endo/marshal": "npm:^1.6.1" + "@endo/nat": "npm:^5.0.12" + "@endo/pass-style": "npm:^1.4.6" + "@endo/patterns": "npm:^1.4.6" + "@endo/promise-kit": "npm:^1.1.7" + "@endo/ses-ava": "npm:^1.2.7" + "@endo/stream": "npm:^1.2.7" + "@endo/zip": "npm:^1.0.8" + ansi-styles: "npm:^6.2.1" + anylogger: "npm:^0.21.0" + better-sqlite3: "npm:^9.1.1" + import-meta-resolve: "npm:^2.2.1" + microtime: "npm:^3.1.0" + semver: "npm:^6.3.0" + tmp: "npm:^0.2.1" + yargs-parser: "npm:^21.1.1" + peerDependencies: + ava: ^5.3.0 + bin: + vat: bin/vat + checksum: 10c0/6c53fb399bb6f500a0696c6c98c5d71b2d51b38a85ebf6088b4e98ed90f155aee765d0f24edb878f494aed643dc64c0b6376b5d04a5b4cedae42f2477318683f + languageName: node + linkType: hard + +"@agoric/swingset-vat@npm:0.33.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.33.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/swingset-vat@npm:0.33.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/kmarshal": "npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/swing-store": "npm:0.10.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/swingset-xsnap-supervisor": "npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/xsnap-lockdown": "npm:0.14.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/base64": "npm:^1.0.9" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/check-bundle": "npm:^1.0.12" + "@endo/compartment-mapper": "npm:^1.4.0" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/ses-ava": "npm:^1.2.8" + "@endo/stream": "npm:^1.2.8" + "@endo/zip": "npm:^1.0.9" + ansi-styles: "npm:^6.2.1" + anylogger: "npm:^0.21.0" + better-sqlite3: "npm:^9.1.1" + import-meta-resolve: "npm:^2.2.1" + microtime: "npm:^3.1.0" + semver: "npm:^6.3.0" + tmp: "npm:^0.2.1" + yargs-parser: "npm:^21.1.1" + peerDependencies: + "@agoric/xsnap": ^0.14.2 + ava: ^5.3.0 + bin: + vat: bin/vat + checksum: 10c0/672846e11f38c9f5140f1c30c9ec22f5a24c60012b2e2f7be5350326377b0240804ca8529813c69c10ae3aa40a74984f7ca441e913b4fccee12e419d6c466dd2 + languageName: node + linkType: hard + +"@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.10.3-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-cc4b6b8.0" + checksum: 10c0/d516ee1bc1a1117e9040f89548c14d6ea205e22e9195e43683c0754833b661d948914a35c40da47c9e02a2409c6047004849ea1a08ba920afaefef6e591a998c + languageName: node + linkType: hard + +"@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.10.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-ef001c0.0" + checksum: 10c0/82da2192be835df39f2d11ab7b6dacbd42a871ee8b3cf8bd27ec8f1b60e92dd2414fefe446f5992d9ffad77ac8096ab31c11952caee287fe9df8f3928d55a400 + languageName: node + linkType: hard + +"@agoric/time@npm:0.3.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.3.3-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/time@npm:0.3.3-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/errors": "npm:^1.2.8" + "@endo/nat": "npm:^5.0.13" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/300825da162ea393289e3f5ab40bc899c965ef1a6931371f29b6b6de1fb193d2136349df49692068b9e18cddb6054edf38cd8197eb1cf351352988fae8ba28cb + languageName: node + linkType: hard + +"@agoric/time@npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0, @agoric/time@npm:^0.3.3-u18.1": + version: 0.3.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/time@npm:0.3.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/store": "npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/errors": "npm:^1.2.7" + "@endo/nat": "npm:^5.0.12" + "@endo/patterns": "npm:^1.4.6" + checksum: 10c0/ca2332206ee1c794918b4e135c924fb52c472f464f5f7bbd17d24d69e20d81485089b7629137f08416accddff0847bf5b4a0a1303be0a514a3c9a1fc9bf2a83e + languageName: node + linkType: hard + +"@agoric/vat-data@npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.5.3-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/vat-data@npm:0.5.3-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/5a7afa288d795dacffa3bf6e57034820108cf39772a00414910acd95f3015b75a1f6958ec68180ed7ddace5e7edbe4073224f1a3995ca32a83f1711000e6fa91 + languageName: node + linkType: hard + +"@agoric/vat-data@npm:0.5.3-upgrade-18-dev-ef001c0.0+ef001c0, @agoric/vat-data@npm:^0.5.3-u18.1": + version: 0.5.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/vat-data@npm:0.5.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/errors": "npm:^1.2.7" + "@endo/exo": "npm:^1.5.6" + "@endo/patterns": "npm:^1.4.6" + checksum: 10c0/91ed6756e482a6718f9b49139a99a99e87aaaad312fe744088b117d86fd960485b79757592102b44038c376a1664a1e86ad5e9e5671e0268e8524cec65d7b983 + languageName: node + linkType: hard + +"@agoric/vats@npm:^0.16.0-u18.5": + version: 0.16.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/vats@npm:0.16.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/cosmic-proto": "npm:0.5.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/governance": "npm:0.10.4-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/network": "npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/swingset-vat": "npm:0.33.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vow": "npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/zoe": "npm:0.26.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + import-meta-resolve: "npm:^2.2.1" + jessie.js: "npm:^0.3.4" + checksum: 10c0/a2004be260d945d9c7ab606966b91a6a1b2c449cc71bb707ad2d38b2715412d9fccdb9dc767474bf19c79fbb0341eddfbc967f82a4cb3cca07c76998deb933b0 + languageName: node + linkType: hard + +"@agoric/vow@npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.1.1-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/vow@npm:0.1.1-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/env-options": "npm:^1.1.7" + "@endo/errors": "npm:^1.2.7" + "@endo/eventual-send": "npm:^1.2.7" + "@endo/pass-style": "npm:^1.4.6" + "@endo/patterns": "npm:^1.4.6" + "@endo/promise-kit": "npm:^1.1.7" + checksum: 10c0/67613e5832eacef41f13bd3e2072b734cbe804215765b2a32178f63aa16e614fc33f5084877b2e5c9aeb4d0ac69d3650d96b338d81c0237c09b85a43f4dd159c + languageName: node + linkType: hard + +"@agoric/vow@npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/vow@npm:^0.2.0-u18.1": + version: 0.2.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/vow@npm:0.2.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/env-options": "npm:^1.1.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/23ad6e5edc8241ce8af84d3c7a67d84bbaa2ce26ee2732234d28bf64f080cc7ab06a0376b8a8a60f7db7b3560bc1fd37900e03aa4cbe7c113788135b5ad75f2b + languageName: node + linkType: hard + +"@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.14.1-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-cc4b6b8.0" + checksum: 10c0/dff0c0fe4f6b296240fea1075e123a78bc4a655d3bd91215aff8263f28caffa7db7db04b38ed7c34d26f694e85486ba2ac32c8166d7de74c19c391106a266af7 + languageName: node + linkType: hard + +"@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.14.1-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-ef001c0.0" + checksum: 10c0/4b895d2f7c0fff1ec900b03a5c66a37d3138262cd70dc5607ea9f5d904a87d056aa55e8d03cc45fb9ac7705d99f64afc9ad66ded71705b6a66ff23d129228053 + languageName: node + linkType: hard + +"@agoric/xsnap@npm:0.14.3-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.14.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/xsnap@npm:0.14.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/xsnap-lockdown": "npm:0.14.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/bundle-source": "npm:^3.4.2" + "@endo/errors": "npm:^1.2.7" + "@endo/eventual-send": "npm:^1.2.7" + "@endo/init": "npm:^1.1.6" + "@endo/netstring": "npm:^1.0.12" + "@endo/promise-kit": "npm:^1.1.7" + "@endo/stream": "npm:^1.2.7" + "@endo/stream-node": "npm:^1.1.7" + glob: "npm:^7.1.6" + tmp: "npm:^0.2.1" + bin: + ava-xs: src/ava-xs.js + xsrepl: src/xsrepl + checksum: 10c0/21850ed2023f835b97cd6a3565645349901eaa312bdc3343024cd627bd40832ab9e048336198379921f4bf57a50ab7cea650506077dca674c299f7536fb0baf2 + languageName: node + linkType: hard + +"@agoric/zoe@npm:0.26.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.26.3-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/zoe@npm:0.26.3-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/swingset-vat": "npm:0.33.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vow": "npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + yargs-parser: "npm:^21.1.1" + checksum: 10c0/6d7d38cac0795082e3f2aeb188c2ffd8da11bc4e8c02bd7dfcf7b720cd47a656406e1c7f8c7611dad2891c8a86b93af2770aa2b2337a81606e1726bb19b68d70 + languageName: node + linkType: hard + +"@agoric/zoe@npm:0.26.3-upgrade-18-dev-ef001c0.0+ef001c0, @agoric/zoe@npm:^0.26.3-u18.1": + version: 0.26.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/zoe@npm:0.26.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/internal": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/notifier": "npm:0.6.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/swingset-vat": "npm:0.32.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/vow": "npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/zone": "npm:0.2.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/bundle-source": "npm:^3.4.2" + "@endo/captp": "npm:^4.4.2" + "@endo/common": "npm:^1.2.7" + "@endo/errors": "npm:^1.2.7" + "@endo/eventual-send": "npm:^1.2.7" + "@endo/exo": "npm:^1.5.6" + "@endo/far": "npm:^1.1.8" + "@endo/import-bundle": "npm:^1.3.1" + "@endo/marshal": "npm:^1.6.1" + "@endo/nat": "npm:^5.0.12" + "@endo/pass-style": "npm:^1.4.6" + "@endo/patterns": "npm:^1.4.6" + "@endo/promise-kit": "npm:^1.1.7" + yargs-parser: "npm:^21.1.1" + checksum: 10c0/59bf8dd8a88f31cd42abc8d5613f6996368dedc3a129ca8df54fea6ffcac77a50c8f8554e612c56521546f42503c722ec6a5cdf313806e74850120bcd6607adc + languageName: node + linkType: hard + +"@agoric/zone@npm:0.2.3-upgrade-18-dev-ef001c0.0+ef001c0": + version: 0.2.3-upgrade-18-dev-ef001c0.0 + resolution: "@agoric/zone@npm:0.2.3-upgrade-18-dev-ef001c0.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-ef001c0.0+ef001c0" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-ef001c0.0+ef001c0" + "@endo/errors": "npm:^1.2.7" + "@endo/far": "npm:^1.1.8" + "@endo/pass-style": "npm:^1.4.6" + checksum: 10c0/8241c80ea1075bf8baade37a5de78c7d53e21ee60e49ebddf9547e0902eec142da9117060247c0eace227e7947bb7ce52189421f23a5f94ae5f2d68d3e68d776 + languageName: node + linkType: hard + +"@agoric/zone@npm:0.3.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/zone@npm:^0.3.0-u18.1": + version: 0.3.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/zone@npm:0.3.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + checksum: 10c0/7d6c1a52818aa9078c0edbb2f7b0bb9e949353b5f1c1657e7453266012b9c8183247a1944b6f709036c2e57d3ecdc87519a6d70c20f3e0e7bf1c4c4a38fd4d6f + languageName: node + linkType: hard + "@ampproject/remapping@npm:^2.1.0, @ampproject/remapping@npm:^2.2.0": version: 2.3.0 resolution: "@ampproject/remapping@npm:2.3.0" @@ -1497,7 +2218,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.18.10, @babel/traverse@npm:^7.25.9": +"@babel/traverse@npm:^7.18.10, @babel/traverse@npm:^7.23.6, @babel/traverse@npm:^7.25.9": version: 7.26.4 resolution: "@babel/traverse@npm:7.26.4" dependencies: @@ -1545,7 +2266,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.18.10, @babel/types@npm:^7.23.6, @babel/types@npm:^7.24.0, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0, @babel/types@npm:^7.26.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": +"@babel/types@npm:^7.17.0, @babel/types@npm:^7.18.10, @babel/types@npm:^7.23.6, @babel/types@npm:^7.24.0, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0, @babel/types@npm:^7.26.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": version: 7.26.3 resolution: "@babel/types@npm:7.26.3" dependencies: @@ -2002,13 +2723,66 @@ __metadata: languageName: node linkType: hard -"@endo/base64@npm:^1.0.9": +"@endo/base64@npm:^1.0.8, @endo/base64@npm:^1.0.9": version: 1.0.9 resolution: "@endo/base64@npm:1.0.9" checksum: 10c0/63e487cf59b50a080fab389a8ab24d66264910ecf375dc19677c2ee7421d92a4be9c85e435b216b4adc9983384073a7eb753223f85ba77aec8d9fd3e0c1fe090 languageName: node linkType: hard +"@endo/bundle-source@npm:^3.4.2, @endo/bundle-source@npm:^3.5.0": + version: 3.5.0 + resolution: "@endo/bundle-source@npm:3.5.0" + dependencies: + "@endo/base64": "npm:^1.0.9" + "@endo/compartment-mapper": "npm:^1.4.0" + "@endo/evasive-transform": "npm:^1.3.3" + "@endo/init": "npm:^1.1.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/where": "npm:^1.0.9" + "@rollup/plugin-commonjs": "npm:^19.0.0" + "@rollup/plugin-json": "npm:^6.1.0" + "@rollup/plugin-node-resolve": "npm:^13.0.0" + acorn: "npm:^8.2.4" + rollup: "npm:^2.79.1" + ts-blank-space: "npm:^0.4.1" + bin: + bundle-source: ./src/tool.js + checksum: 10c0/7f97194c97eb28abbde6655f7de4410d5aae5d6a2a3d712e1418b9b4fd20823333b7fe8956401c2f201280340731e51e28d9c4fbe3b5a787b0abd00e3ac13b52 + languageName: node + linkType: hard + +"@endo/captp@npm:^4.4.2, @endo/captp@npm:^4.4.3": + version: 4.4.3 + resolution: "@endo/captp@npm:4.4.3" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/0647dd6acc39c7a54a42d9f168861d11dc28248321be72529dd8574b52989957be8f7a5ec9985fc76a24b37cd6b6d190e5bfbbc1481594e367c8517c31fce0e2 + languageName: node + linkType: hard + +"@endo/check-bundle@npm:^1.0.11, @endo/check-bundle@npm:^1.0.12": + version: 1.0.12 + resolution: "@endo/check-bundle@npm:1.0.12" + dependencies: + "@endo/base64": "npm:^1.0.9" + "@endo/compartment-mapper": "npm:^1.4.0" + "@endo/errors": "npm:^1.2.8" + checksum: 10c0/73e146d9d4d5ee23936b0df368e51ebb3658eecc5efe308a1894f70339502e6de8fa065185e8518d1445bf8fbc4c5fae54fc7dab8794f02397f6694a7ab9af9c + languageName: node + linkType: hard + +"@endo/cjs-module-analyzer@npm:^1.0.9": + version: 1.0.9 + resolution: "@endo/cjs-module-analyzer@npm:1.0.9" + checksum: 10c0/cb8c56d108b175f2f211c8292bac6cda35c44b9c16fb2763ab9a32b545895e1721633938b440bfe7a06f69e1f168e9b248ef103631a1d4c63fda8cbe580ca185 + languageName: node + linkType: hard + "@endo/common@npm:^1.2.7, @endo/common@npm:^1.2.8": version: 1.2.8 resolution: "@endo/common@npm:1.2.8" @@ -2020,7 +2794,20 @@ __metadata: languageName: node linkType: hard -"@endo/env-options@npm:^1.1.8": +"@endo/compartment-mapper@npm:^1.3.1, @endo/compartment-mapper@npm:^1.4.0": + version: 1.4.0 + resolution: "@endo/compartment-mapper@npm:1.4.0" + dependencies: + "@endo/cjs-module-analyzer": "npm:^1.0.9" + "@endo/module-source": "npm:^1.1.2" + "@endo/trampoline": "npm:^1.0.3" + "@endo/zip": "npm:^1.0.9" + ses: "npm:^1.10.0" + checksum: 10c0/2c4999962016f57c0f3a40ce1445a064b826eb101a972d26ba56d9dba6d3d8f66744912e3f7e24754018bd2c633663a00ea5ab0d7658c4907c9372ddd3e56464 + languageName: node + linkType: hard + +"@endo/env-options@npm:^1.1.7, @endo/env-options@npm:^1.1.8": version: 1.1.8 resolution: "@endo/env-options@npm:1.1.8" checksum: 10c0/2f519f48a5b966dbd9e66134d4abc89ff02b9791d21146b49031ceb694584f3f41c6119125b6bb4eb0d347f5bcd846473b5f3c4ae6bae3dac19402fcaf522520 @@ -2036,7 +2823,19 @@ __metadata: languageName: node linkType: hard -"@endo/eventual-send@npm:^1.2.8": +"@endo/evasive-transform@npm:^1.3.3": + version: 1.3.3 + resolution: "@endo/evasive-transform@npm:1.3.3" + dependencies: + "@agoric/babel-generator": "npm:^7.17.6" + "@babel/parser": "npm:^7.23.6" + "@babel/traverse": "npm:^7.23.6" + source-map-js: "npm:^1.2.0" + checksum: 10c0/34fae4789ab3142ab73a5c94a46954908737bbc72f1e302c338941ca2556ab2127505ecee57a1c0d11e0b9c7070b4a579ce4e7e60585990161cec64ce0955211 + languageName: node + linkType: hard + +"@endo/eventual-send@npm:^1.2.7, @endo/eventual-send@npm:^1.2.8": version: 1.2.8 resolution: "@endo/eventual-send@npm:1.2.8" dependencies: @@ -2045,7 +2844,7 @@ __metadata: languageName: node linkType: hard -"@endo/exo@npm:^1.5.6": +"@endo/exo@npm:^1.5.6, @endo/exo@npm:^1.5.7": version: 1.5.7 resolution: "@endo/exo@npm:1.5.7" dependencies: @@ -2071,7 +2870,20 @@ __metadata: languageName: node linkType: hard -"@endo/init@npm:^1.1.6": +"@endo/import-bundle@npm:^1.3.1, @endo/import-bundle@npm:^1.3.2": + version: 1.3.2 + resolution: "@endo/import-bundle@npm:1.3.2" + dependencies: + "@endo/base64": "npm:^1.0.9" + "@endo/compartment-mapper": "npm:^1.4.0" + "@endo/errors": "npm:^1.2.8" + "@endo/where": "npm:^1.0.9" + ses: "npm:^1.10.0" + checksum: 10c0/cc38bb7858c4b3a3d1cfbf70b0af3b05b527019452eb922313b4adf87e5590f5cacf4ff5dbd7a44c172d3c220de41edc3fa8895551f76071c85f1450ff94b09a + languageName: node + linkType: hard + +"@endo/init@npm:^1.1.6, @endo/init@npm:^1.1.7": version: 1.1.7 resolution: "@endo/init@npm:1.1.7" dependencies: @@ -2106,13 +2918,38 @@ __metadata: languageName: node linkType: hard -"@endo/nat@npm:^5.0.13": +"@endo/module-source@npm:^1.1.2": + version: 1.1.2 + resolution: "@endo/module-source@npm:1.1.2" + dependencies: + "@agoric/babel-generator": "npm:^7.17.6" + "@babel/parser": "npm:^7.23.6" + "@babel/traverse": "npm:^7.23.6" + "@babel/types": "npm:^7.24.0" + ses: "npm:^1.10.0" + checksum: 10c0/3d64ff5430f288531a00e124ae0620e137dab0fdaba00f2d41066b8307eb2da30e3987d84fe450d55d844e0f96feafa36a825cecc615c05d96224a209832c95c + languageName: node + linkType: hard + +"@endo/nat@npm:^5.0.12, @endo/nat@npm:^5.0.13": version: 5.0.13 resolution: "@endo/nat@npm:5.0.13" checksum: 10c0/78578de4567c9bc4c6f50638c688886c07c38177a8d44192230d344221da06ccffc6d9ef8d423e27198d864ed7c57ef5ced9b1d05922eaa4e40bf82856b1aa11 languageName: node linkType: hard +"@endo/netstring@npm:^1.0.12": + version: 1.0.13 + resolution: "@endo/netstring@npm:1.0.13" + dependencies: + "@endo/init": "npm:^1.1.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/stream": "npm:^1.2.8" + ses: "npm:^1.10.0" + checksum: 10c0/1d669ffca92609b3e179bd235c3660ef2fd36a808d4df523fdd6c276cd2a47e2177c43a4e37b4bfb8cacfd1b4e1657cec7d197518c795652c8c248997ee59948 + languageName: node + linkType: hard + "@endo/pass-style@npm:^1.4.6, @endo/pass-style@npm:^1.4.7": version: 1.4.7 resolution: "@endo/pass-style@npm:1.4.7" @@ -2148,7 +2985,32 @@ __metadata: languageName: node linkType: hard -"@endo/stream@npm:^1.2.7": +"@endo/ses-ava@npm:^1.2.7, @endo/ses-ava@npm:^1.2.8": + version: 1.2.8 + resolution: "@endo/ses-ava@npm:1.2.8" + dependencies: + "@endo/env-options": "npm:^1.1.8" + "@endo/init": "npm:^1.1.7" + ses: "npm:^1.10.0" + peerDependencies: + ava: ^5.3.0 || ^6.1.2 + checksum: 10c0/c1ef65d182f3bfa1ec0d5d0434da9d28bb0925f485629fcd5c42dc89db99e65a5b44e352e1fd2a577778b2905d6f36b009e4f2953aa0257ec1b049019e37b2cf + languageName: node + linkType: hard + +"@endo/stream-node@npm:^1.1.7": + version: 1.1.8 + resolution: "@endo/stream-node@npm:1.1.8" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/init": "npm:^1.1.7" + "@endo/stream": "npm:^1.2.8" + ses: "npm:^1.10.0" + checksum: 10c0/d07769acf381b4b5a904bfdae1b7aba0b7cb11f8ed1a38892a072b68e3dd8eb1954c77984a6eb7af09006ad5e707a8aa4e2c5d4424eb6898beae9ceb0015d8e3 + languageName: node + linkType: hard + +"@endo/stream@npm:^1.2.7, @endo/stream@npm:^1.2.8": version: 1.2.8 resolution: "@endo/stream@npm:1.2.8" dependencies: @@ -2159,6 +3021,27 @@ __metadata: languageName: node linkType: hard +"@endo/trampoline@npm:^1.0.3": + version: 1.0.3 + resolution: "@endo/trampoline@npm:1.0.3" + checksum: 10c0/be0c3784b17f422ae04e28a6722e2abd193a5585a82acf5eb388476094c026aa5e76a383db887bdf6a032ccf0a12c38a967f5f1e71cef44a4659606be789b548 + languageName: node + linkType: hard + +"@endo/where@npm:^1.0.9": + version: 1.0.9 + resolution: "@endo/where@npm:1.0.9" + checksum: 10c0/dd8f8fb601fb54e7cef64d7b32f91595d01151acf1e63c46257c905afb75760d80f2eec5d71cfb1f9251e435990256d56f35d6f8b4851f5e6fbe6b393b535028 + languageName: node + linkType: hard + +"@endo/zip@npm:^1.0.8, @endo/zip@npm:^1.0.9": + version: 1.0.9 + resolution: "@endo/zip@npm:1.0.9" + checksum: 10c0/3fccea31bd5dad938a3b5f531454d3c49513892d6d5aba1f0af1034ff0ae54c3e28a346a9df08bd9e5201354acccd631e45c9c0e68fa2848a876a3919f3830dc + languageName: node + linkType: hard + "@ethersproject/address@npm:^5.6.0": version: 5.7.0 resolution: "@ethersproject/address@npm:5.7.0" @@ -3348,6 +4231,82 @@ __metadata: languageName: node linkType: hard +"@rollup/plugin-commonjs@npm:^19.0.0": + version: 19.0.2 + resolution: "@rollup/plugin-commonjs@npm:19.0.2" + dependencies: + "@rollup/pluginutils": "npm:^3.1.0" + commondir: "npm:^1.0.1" + estree-walker: "npm:^2.0.1" + glob: "npm:^7.1.6" + is-reference: "npm:^1.2.1" + magic-string: "npm:^0.25.7" + resolve: "npm:^1.17.0" + peerDependencies: + rollup: ^2.38.3 + checksum: 10c0/9adccf77ad835cbe565da4385212f1e54c3e0dca2be174b5c2cfe89cfaeb240f42c7673e97e49b21b7c66ed901cc1c711552b6727f60b43a953ce996eb2868a7 + languageName: node + linkType: hard + +"@rollup/plugin-json@npm:^6.1.0": + version: 6.1.0 + resolution: "@rollup/plugin-json@npm:6.1.0" + dependencies: + "@rollup/pluginutils": "npm:^5.1.0" + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 10c0/9400c431b5e0cf3088ba2eb2d038809a2b0fb2a84ed004997da85582f48cd64958ed3168893c4f2c8109e38652400ed68282d0c92bf8ec07a3b2ef2e1ceab0b7 + languageName: node + linkType: hard + +"@rollup/plugin-node-resolve@npm:^13.0.0": + version: 13.3.0 + resolution: "@rollup/plugin-node-resolve@npm:13.3.0" + dependencies: + "@rollup/pluginutils": "npm:^3.1.0" + "@types/resolve": "npm:1.17.1" + deepmerge: "npm:^4.2.2" + is-builtin-module: "npm:^3.1.0" + is-module: "npm:^1.0.0" + resolve: "npm:^1.19.0" + peerDependencies: + rollup: ^2.42.0 + checksum: 10c0/6caa32a8304a20f1c9953111b25e9543f4de7d254958d81ce0158ad909e4493946bc2060c4ace23d9748b560ebc84c920ee7bc1b7d50dbf8ba852ef13c91af58 + languageName: node + linkType: hard + +"@rollup/pluginutils@npm:^3.1.0": + version: 3.1.0 + resolution: "@rollup/pluginutils@npm:3.1.0" + dependencies: + "@types/estree": "npm:0.0.39" + estree-walker: "npm:^1.0.1" + picomatch: "npm:^2.2.2" + peerDependencies: + rollup: ^1.20.0||^2.0.0 + checksum: 10c0/7151753160d15ba2b259461a6c25b3932150994ea52dba8fd3144f634c7647c2e56733d986e2c15de67c4d96a9ee7d6278efa6d2e626a7169898fd64adc0f90c + languageName: node + linkType: hard + +"@rollup/pluginutils@npm:^5.1.0": + version: 5.1.4 + resolution: "@rollup/pluginutils@npm:5.1.4" + dependencies: + "@types/estree": "npm:^1.0.0" + estree-walker: "npm:^2.0.2" + picomatch: "npm:^4.0.2" + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 10c0/6d58fbc6f1024eb4b087bc9bf59a1d655a8056a60c0b4021d3beaeec3f0743503f52467fd89d2cf0e7eccf2831feb40a05ad541a17637ea21ba10b21c2004deb + languageName: node + linkType: hard + "@scure/base@npm:^1.1.7": version: 1.2.1 resolution: "@scure/base@npm:1.2.1" @@ -3824,13 +4783,20 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:^1.0.6": +"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.6": version: 1.0.6 resolution: "@types/estree@npm:1.0.6" checksum: 10c0/cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a languageName: node linkType: hard +"@types/estree@npm:0.0.39": + version: 0.0.39 + resolution: "@types/estree@npm:0.0.39" + checksum: 10c0/f0af6c95ac1988c4827964bd9d3b51d24da442e2188943f6dfcb1e1559103d5d024d564b2e9d3f84c53714a02a0a7435c7441138eb63d9af5de4dfc66cdc0d92 + languageName: node + linkType: hard + "@types/glob@npm:*": version: 8.1.0 resolution: "@types/glob@npm:8.1.0" @@ -3982,6 +4948,15 @@ __metadata: languageName: node linkType: hard +"@types/resolve@npm:1.17.1": + version: 1.17.1 + resolution: "@types/resolve@npm:1.17.1" + dependencies: + "@types/node": "npm:*" + checksum: 10c0/6eeb9c27d99bf4b393bf168d43208f63e78cefca5644662a0bdb2bdbf8352386f4f3aca66add138fc41bce5f66fd48a0de430a1473f11b612fbed0375ae78031 + languageName: node + linkType: hard + "@types/responselike@npm:^1.0.0": version: 1.0.3 resolution: "@types/responselike@npm:1.0.3" @@ -4292,7 +5267,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.11.0, acorn@npm:^8.14.0, acorn@npm:^8.4.1, acorn@npm:^8.7.0, acorn@npm:^8.8.2": +"acorn@npm:^8.11.0, acorn@npm:^8.14.0, acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.7.0, acorn@npm:^8.8.2": version: 8.14.0 resolution: "acorn@npm:8.14.0" bin: @@ -4319,7 +5294,9 @@ __metadata: version: 0.0.0-use.local resolution: "agoric-indexer@workspace:." dependencies: - "@agoric/internal": "npm:0.4.0-u18.0" + "@agoric/inter-protocol": "npm:0.17.0-u18.6" + "@agoric/internal": "npm:0.4.0-u18.1" + "@agoric/smart-wallet": "npm:0.5.4-u18.5" "@cosmjs/stargate": "npm:^0.28.9" "@endo/eventual-send": "npm:^1.2.8" "@subql/cli": "npm:^5.4.0" @@ -4452,7 +5429,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^6.1.0": +"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1": version: 6.2.1 resolution: "ansi-styles@npm:6.2.1" checksum: 10c0/5d1ec38c123984bcedd996eac680d548f31828bd679a66db2bdf11844634dde55fec3efa9c6bb1d89056a5e79c1ac540c4c784d592ea1d25028a92227d2f2d5c @@ -4707,6 +5684,17 @@ __metadata: languageName: node linkType: hard +"better-sqlite3@npm:^9.1.1": + version: 9.6.0 + resolution: "better-sqlite3@npm:9.6.0" + dependencies: + bindings: "npm:^1.5.0" + node-gyp: "npm:latest" + prebuild-install: "npm:^7.1.1" + checksum: 10c0/8db9b38f414e26a56d4c40fc16e94a253118491dae0e2c054338a9e470f1a883c7eb4cb330f2f5737db30f704d4f2e697c59071ca04e03364ee9fe04375aa9c8 + languageName: node + linkType: hard + "big-integer@npm:^1.6.48": version: 1.6.52 resolution: "big-integer@npm:1.6.52" @@ -4728,7 +5716,7 @@ __metadata: languageName: node linkType: hard -"bindings@npm:^1.3.0": +"bindings@npm:^1.3.0, bindings@npm:^1.5.0": version: 1.5.0 resolution: "bindings@npm:1.5.0" dependencies: @@ -4768,7 +5756,7 @@ __metadata: languageName: node linkType: hard -"bl@npm:^4.1.0": +"bl@npm:^4.0.3, bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" dependencies: @@ -4964,6 +5952,13 @@ __metadata: languageName: node linkType: hard +"builtin-modules@npm:^3.3.0": + version: 3.3.0 + resolution: "builtin-modules@npm:3.3.0" + checksum: 10c0/2cb3448b4f7306dc853632a4fcddc95e8d4e4b9868c139400027b71938fc6806d4ff44007deffb362ac85724bd40c2c6452fb6a0aa4531650eeddb98d8e5ee8a + languageName: node + linkType: hard + "busboy@npm:^1.0.0": version: 1.6.0 resolution: "busboy@npm:1.6.0" @@ -5132,6 +6127,13 @@ __metadata: languageName: node linkType: hard +"chownr@npm:^1.1.1": + version: 1.1.4 + resolution: "chownr@npm:1.1.4" + checksum: 10c0/ed57952a84cc0c802af900cf7136de643d3aba2eecb59d29344bc2f3f9bf703a301b9d84cdc71f82c3ffc9ccde831b0d92f5b45f91727d6c9da62f23aef9d9db + languageName: node + linkType: hard + "chownr@npm:^3.0.0": version: 3.0.0 resolution: "chownr@npm:3.0.0" @@ -5369,6 +6371,13 @@ __metadata: languageName: node linkType: hard +"commondir@npm:^1.0.1": + version: 1.0.1 + resolution: "commondir@npm:1.0.1" + checksum: 10c0/33a124960e471c25ee19280c9ce31ccc19574b566dc514fe4f4ca4c34fa8b0b57cf437671f5de380e11353ea9426213fca17687dd2ef03134fea2dbc53809fd6 + languageName: node + linkType: hard + "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -5628,6 +6637,13 @@ __metadata: languageName: node linkType: hard +"decode-uri-component@npm:^0.4.1": + version: 0.4.1 + resolution: "decode-uri-component@npm:0.4.1" + checksum: 10c0/a180bbdb5398ec8270d236a3ac07cb988bbf6097428481780b85840f088951dc0318a8d8f9d56796e1a322b55b29859cea29982f22f9b03af0bc60974c54e591 + languageName: node + linkType: hard + "decompress-response@npm:^3.3.0": version: 3.3.0 resolution: "decompress-response@npm:3.3.0" @@ -5637,6 +6653,15 @@ __metadata: languageName: node linkType: hard +"decompress-response@npm:^6.0.0": + version: 6.0.0 + resolution: "decompress-response@npm:6.0.0" + dependencies: + mimic-response: "npm:^3.1.0" + checksum: 10c0/bd89d23141b96d80577e70c54fb226b2f40e74a6817652b80a116d7befb8758261ad073a8895648a29cc0a5947021ab66705cb542fa9c143c82022b27c5b175e + languageName: node + linkType: hard + "deep-extend@npm:^0.6.0": version: 0.6.0 resolution: "deep-extend@npm:0.6.0" @@ -5651,7 +6676,7 @@ __metadata: languageName: node linkType: hard -"deepmerge@npm:4.3.1": +"deepmerge@npm:4.3.1, deepmerge@npm:^4.2.2": version: 4.3.1 resolution: "deepmerge@npm:4.3.1" checksum: 10c0/e53481aaf1aa2c4082b5342be6b6d8ad9dfe387bc92ce197a66dea08bd4265904a087e75e464f14d1347cf2ac8afe1e4c16b266e0561cc5df29382d3c5f80044 @@ -5724,6 +6749,13 @@ __metadata: languageName: node linkType: hard +"detect-libc@npm:^2.0.0": + version: 2.0.3 + resolution: "detect-libc@npm:2.0.3" + checksum: 10c0/88095bda8f90220c95f162bf92cad70bd0e424913e655c20578600e35b91edc261af27531cf160a331e185c0ced93944bc7e09939143225f56312d7fd800fdb7 + languageName: node + linkType: hard + "detect-port@npm:^1.6.1": version: 1.6.1 resolution: "detect-port@npm:1.6.1" @@ -6079,6 +7111,20 @@ __metadata: languageName: node linkType: hard +"estree-walker@npm:^1.0.1": + version: 1.0.1 + resolution: "estree-walker@npm:1.0.1" + checksum: 10c0/fa9e5f8c1bbe8d01e314c0f03067b64a4f22d4c58410fc5237060d0c15b81e58c23921c41acc60abbdab490f1fdfcbd6408ede2d03ca704454272e0244d61a55 + languageName: node + linkType: hard + +"estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": + version: 2.0.2 + resolution: "estree-walker@npm:2.0.2" + checksum: 10c0/53a6c54e2019b8c914dc395890153ffdc2322781acf4bd7d1a32d7aedc1710807bdcd866ac133903d5629ec601fbb50abe8c2e5553c7f5a0afdd9b6af6c945af + languageName: node + linkType: hard + "esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -6137,6 +7183,13 @@ __metadata: languageName: node linkType: hard +"expand-template@npm:^2.0.3": + version: 2.0.3 + resolution: "expand-template@npm:2.0.3" + checksum: 10c0/1c9e7afe9acadf9d373301d27f6a47b34e89b3391b1ef38b7471d381812537ef2457e620ae7f819d2642ce9c43b189b3583813ec395e2938319abe356a9b2f51 + languageName: node + linkType: hard + "exponential-backoff@npm:^3.1.1": version: 3.1.1 resolution: "exponential-backoff@npm:3.1.1" @@ -6335,6 +7388,13 @@ __metadata: languageName: node linkType: hard +"filter-obj@npm:^5.1.0": + version: 5.1.0 + resolution: "filter-obj@npm:5.1.0" + checksum: 10c0/716e8ad2bc352e206556b3e5695b3cdff8aab80c53ea4b00c96315bbf467b987df3640575100aef8b84e812cf5ea4251db4cd672bbe33b1e78afea88400c67dd + languageName: node + linkType: hard + "finalhandler@npm:1.2.0": version: 1.2.0 resolution: "finalhandler@npm:1.2.0" @@ -6428,6 +7488,13 @@ __metadata: languageName: node linkType: hard +"fs-constants@npm:^1.0.0": + version: 1.0.0 + resolution: "fs-constants@npm:1.0.0" + checksum: 10c0/a0cde99085f0872f4d244e83e03a46aa387b74f5a5af750896c6b05e9077fac00e9932fdf5aef84f2f16634cd473c63037d7a512576da7d5c2b9163d1909f3a8 + languageName: node + linkType: hard + "fs-extra@npm:^10.0.0": version: 10.1.0 resolution: "fs-extra@npm:10.1.0" @@ -6466,7 +7533,7 @@ __metadata: languageName: node linkType: hard -"fsevents@npm:^2.3.2": +"fsevents@npm:^2.3.2, fsevents@npm:~2.3.2": version: 2.3.3 resolution: "fsevents@npm:2.3.3" dependencies: @@ -6476,7 +7543,7 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin": +"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": version: 2.3.3 resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" dependencies: @@ -6580,6 +7647,13 @@ __metadata: languageName: node linkType: hard +"github-from-package@npm:0.0.0": + version: 0.0.0 + resolution: "github-from-package@npm:0.0.0" + checksum: 10c0/737ee3f52d0a27e26332cde85b533c21fcdc0b09fb716c3f8e522cfaa9c600d4a631dec9fcde179ec9d47cca89017b7848ed4d6ae6b6b78f936c06825b1fcc12 + languageName: node + linkType: hard + "glob-parent@npm:^5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" @@ -6937,6 +8011,13 @@ __metadata: languageName: node linkType: hard +"import-meta-resolve@npm:^2.2.1": + version: 2.2.2 + resolution: "import-meta-resolve@npm:2.2.2" + checksum: 10c0/80873aebf0d2a66e824e278fb6cbb16a6660f86df49b367404e5de80928720ecb44f643243b46dc5c5fae506abb666ef54d6f281b45ee0f1034951acb2261eb5 + languageName: node + linkType: hard + "imurmurhash@npm:^0.1.4": version: 0.1.4 resolution: "imurmurhash@npm:0.1.4" @@ -7089,6 +8170,15 @@ __metadata: languageName: node linkType: hard +"is-builtin-module@npm:^3.1.0": + version: 3.2.1 + resolution: "is-builtin-module@npm:3.2.1" + dependencies: + builtin-modules: "npm:^3.3.0" + checksum: 10c0/5a66937a03f3b18803381518f0ef679752ac18cdb7dd53b5e23ee8df8d440558737bd8dcc04d2aae555909d2ecb4a81b5c0d334d119402584b61e6a003e31af1 + languageName: node + linkType: hard + "is-ci@npm:^2.0.0": version: 2.0.0 resolution: "is-ci@npm:2.0.0" @@ -7100,12 +8190,12 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0": - version: 2.15.1 - resolution: "is-core-module@npm:2.15.1" +"is-core-module@npm:^2.16.0": + version: 2.16.1 + resolution: "is-core-module@npm:2.16.1" dependencies: hasown: "npm:^2.0.2" - checksum: 10c0/53432f10c69c40bfd2fa8914133a68709ff9498c86c3bf5fca3cdf3145a56fd2168cbf4a43b29843a6202a120a5f9c5ffba0a4322e1e3441739bc0b641682612 + checksum: 10c0/898443c14780a577e807618aaae2b6f745c8538eca5c7bc11388a3f2dc6de82b9902bcc7eb74f07be672b11bbe82dd6a6edded44a00cb3d8f933d0459905eedd languageName: node linkType: hard @@ -7165,6 +8255,13 @@ __metadata: languageName: node linkType: hard +"is-module@npm:^1.0.0": + version: 1.0.0 + resolution: "is-module@npm:1.0.0" + checksum: 10c0/795a3914bcae7c26a1c23a1e5574c42eac13429625045737bf3e324ce865c0601d61aee7a5afbca1bee8cb300c7d9647e7dc98860c9bdbc3b7fdc51d8ac0bffc + languageName: node + linkType: hard + "is-npm@npm:^5.0.0": version: 5.0.0 resolution: "is-npm@npm:5.0.0" @@ -7216,6 +8313,15 @@ __metadata: languageName: node linkType: hard +"is-reference@npm:^1.2.1": + version: 1.2.1 + resolution: "is-reference@npm:1.2.1" + dependencies: + "@types/estree": "npm:*" + checksum: 10c0/7dc819fc8de7790264a0a5d531164f9f5b9ef5aa1cd05f35322d14db39c8a2ec78fd5d4bf57f9789f3ddd2b3abeea7728432b759636157a42db12a9e8c3b549b + languageName: node + linkType: hard + "is-stream@npm:^4.0.1": version: 4.0.1 resolution: "is-stream@npm:4.0.1" @@ -7762,6 +8868,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.25.7": + version: 0.25.9 + resolution: "magic-string@npm:0.25.9" + dependencies: + sourcemap-codec: "npm:^1.4.8" + checksum: 10c0/37f5e01a7e8b19a072091f0b45ff127cda676232d373ce2c551a162dd4053c575ec048b9cbb4587a1f03adb6c5d0fd0dd49e8ab070cd2c83a4992b2182d9cb56 + languageName: node + linkType: hard + "make-dir@npm:^3.0.0": version: 3.1.0 resolution: "make-dir@npm:3.1.0" @@ -7887,6 +9002,17 @@ __metadata: languageName: node linkType: hard +"microtime@npm:^3.1.0": + version: 3.1.1 + resolution: "microtime@npm:3.1.1" + dependencies: + node-addon-api: "npm:^5.0.0" + node-gyp: "npm:latest" + node-gyp-build: "npm:^4.4.0" + checksum: 10c0/02512993de914c6f71424d3b8b28ce53de44ba5895b904a213420fd4fc86a084c1d08ec0876ac60cdae6427022766e1b9b86d9b3442bf408701120bd61455e26 + languageName: node + linkType: hard + "mime-db@npm:1.52.0": version: 1.52.0 resolution: "mime-db@npm:1.52.0" @@ -7933,6 +9059,13 @@ __metadata: languageName: node linkType: hard +"mimic-response@npm:^3.1.0": + version: 3.1.0 + resolution: "mimic-response@npm:3.1.0" + checksum: 10c0/0d6f07ce6e03e9e4445bee655202153bdb8a98d67ee8dc965ac140900d7a2688343e6b4c9a72cfc9ef2f7944dfd76eef4ab2482eb7b293a68b84916bac735362 + languageName: node + linkType: hard + "minimalistic-assert@npm:^1.0.0, minimalistic-assert@npm:^1.0.1": version: 1.0.1 resolution: "minimalistic-assert@npm:1.0.1" @@ -7990,7 +9123,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:1.2.8, minimist@npm:^1.2.0, minimist@npm:^1.2.6": +"minimist@npm:1.2.8, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.6": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 10c0/19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6 @@ -8074,6 +9207,13 @@ __metadata: languageName: node linkType: hard +"mkdirp-classic@npm:^0.5.2, mkdirp-classic@npm:^0.5.3": + version: 0.5.3 + resolution: "mkdirp-classic@npm:0.5.3" + checksum: 10c0/95371d831d196960ddc3833cc6907e6b8f67ac5501a6582f47dfae5eb0f092e9f8ce88e0d83afcae95d6e2b61a01741ba03714eeafb6f7a6e9dcc158ac85b168 + languageName: node + linkType: hard + "mkdirp@npm:1.0.4, mkdirp@npm:^1.0.4": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" @@ -8191,6 +9331,13 @@ __metadata: languageName: node linkType: hard +"napi-build-utils@npm:^1.0.1": + version: 1.0.2 + resolution: "napi-build-utils@npm:1.0.2" + checksum: 10c0/37fd2cd0ff2ad20073ce78d83fd718a740d568b225924e753ae51cb69d68f330c80544d487e5e5bd18e28702ed2ca469c2424ad948becd1862c1b0209542b2e9 + languageName: node + linkType: hard + "natural-orderby@npm:^2.0.3": version: 2.0.3 resolution: "natural-orderby@npm:2.0.3" @@ -8233,6 +9380,24 @@ __metadata: languageName: node linkType: hard +"node-abi@npm:^3.3.0": + version: 3.71.0 + resolution: "node-abi@npm:3.71.0" + dependencies: + semver: "npm:^7.3.5" + checksum: 10c0/dbd0792ea729329cd9d099f28a5681ff9e8a6db48cf64e1437bf6a7fd669009d1e758a784619a1c4cc8bfd1ed17162f042c787654edf19a1f64b5018457c9c1f + languageName: node + linkType: hard + +"node-addon-api@npm:^5.0.0": + version: 5.1.0 + resolution: "node-addon-api@npm:5.1.0" + dependencies: + node-gyp: "npm:latest" + checksum: 10c0/0eb269786124ba6fad9df8007a149e03c199b3e5a3038125dfb3e747c2d5113d406a4e33f4de1ea600aa2339be1f137d55eba1a73ee34e5fff06c52a5c296d1d + languageName: node + linkType: hard + "node-fetch@npm:2.7.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" @@ -8247,7 +9412,7 @@ __metadata: languageName: node linkType: hard -"node-gyp-build@npm:^4.3.0": +"node-gyp-build@npm:^4.3.0, node-gyp-build@npm:^4.4.0": version: 4.8.4 resolution: "node-gyp-build@npm:4.8.4" bin: @@ -8684,13 +9849,20 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 10c0/26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be languageName: node linkType: hard +"picomatch@npm:^4.0.2": + version: 4.0.2 + resolution: "picomatch@npm:4.0.2" + checksum: 10c0/7c51f3ad2bb42c776f49ebf964c644958158be30d0a510efd5a395e8d49cb5acfed5b82c0c5b365523ce18e6ab85013c9ebe574f60305892ec3fa8eee8304ccc + languageName: node + linkType: hard + "pino-abstract-transport@npm:v0.5.0": version: 0.5.0 resolution: "pino-abstract-transport@npm:0.5.0" @@ -8790,6 +9962,28 @@ __metadata: languageName: node linkType: hard +"prebuild-install@npm:^7.1.1": + version: 7.1.2 + resolution: "prebuild-install@npm:7.1.2" + dependencies: + detect-libc: "npm:^2.0.0" + expand-template: "npm:^2.0.3" + github-from-package: "npm:0.0.0" + minimist: "npm:^1.2.3" + mkdirp-classic: "npm:^0.5.3" + napi-build-utils: "npm:^1.0.1" + node-abi: "npm:^3.3.0" + pump: "npm:^3.0.0" + rc: "npm:^1.2.7" + simple-get: "npm:^4.0.0" + tar-fs: "npm:^2.0.0" + tunnel-agent: "npm:^0.6.0" + bin: + prebuild-install: bin.js + checksum: 10c0/e64868ba9ef2068fd7264f5b03e5298a901e02a450acdb1f56258d88c09dea601eefdb3d1dfdff8513fdd230a92961712be0676192626a3b4d01ba154d48bdd3 + languageName: node + linkType: hard + "prepend-http@npm:^2.0.0": version: 2.0.0 resolution: "prepend-http@npm:2.0.0" @@ -8977,6 +10171,17 @@ __metadata: languageName: node linkType: hard +"query-string@npm:^9.1.1": + version: 9.1.1 + resolution: "query-string@npm:9.1.1" + dependencies: + decode-uri-component: "npm:^0.4.1" + filter-obj: "npm:^5.1.0" + split-on-first: "npm:^3.0.0" + checksum: 10c0/16481f17754f660aec3cae7abb838a70e383dfcf152414d184e0d0f81fae426acf112b4d51bf754f9c256eaf83ba4241241ba907c8d58b6ed9704425e1712e8c + languageName: node + linkType: hard + "querystringify@npm:^2.1.1": version: 2.2.0 resolution: "querystringify@npm:2.2.0" @@ -9038,7 +10243,7 @@ __metadata: languageName: node linkType: hard -"rc@npm:1.2.8, rc@npm:^1.2.8": +"rc@npm:1.2.8, rc@npm:^1.2.7, rc@npm:^1.2.8": version: 1.2.8 resolution: "rc@npm:1.2.8" dependencies: @@ -9242,29 +10447,29 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.6, resolve@npm:^1.14.2": - version: 1.22.8 - resolution: "resolve@npm:1.22.8" +"resolve@npm:^1.1.6, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0": + version: 1.22.10 + resolution: "resolve@npm:1.22.10" dependencies: - is-core-module: "npm:^2.13.0" + is-core-module: "npm:^2.16.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: 10c0/07e179f4375e1fd072cfb72ad66d78547f86e6196c4014b31cb0b8bb1db5f7ca871f922d08da0fbc05b94e9fd42206f819648fa3b5b873ebbc8e1dc68fec433a + checksum: 10c0/8967e1f4e2cc40f79b7e080b4582b9a8c5ee36ffb46041dccb20e6461161adf69f843b43067b4a375de926a2cd669157e29a29578191def399dd5ef89a1b5203 languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin": - version: 1.22.8 - resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" +"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin": + version: 1.22.10 + resolution: "resolve@patch:resolve@npm%3A1.22.10#optional!builtin::version=1.22.10&hash=c3c19d" dependencies: - is-core-module: "npm:^2.13.0" + is-core-module: "npm:^2.16.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: 10c0/0446f024439cd2e50c6c8fa8ba77eaa8370b4180f401a96abf3d1ebc770ac51c1955e12764cde449fde3fff480a61f84388e3505ecdbab778f4bef5f8212c729 + checksum: 10c0/52a4e505bbfc7925ac8f4cd91fd8c4e096b6a89728b9f46861d3b405ac9a1ccf4dcbf8befb4e89a2e11370dacd0160918163885cbc669369590f2f31f4c58939 languageName: node linkType: hard @@ -9368,6 +10573,20 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^2.79.1": + version: 2.79.2 + resolution: "rollup@npm:2.79.2" + dependencies: + fsevents: "npm:~2.3.2" + dependenciesMeta: + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 10c0/bc3746c988d903c2211266ddc539379d53d92689b9cc5c2b4e3ae161689de9af491957a567c629b6cc81f48d0928a7591fc4c383fba68a48d2966c9fb8a2bce9 + languageName: node + linkType: hard + "rotating-file-stream@npm:^3.2.3": version: 3.2.5 resolution: "rotating-file-stream@npm:3.2.5" @@ -9644,6 +10863,24 @@ __metadata: languageName: node linkType: hard +"simple-concat@npm:^1.0.0": + version: 1.0.1 + resolution: "simple-concat@npm:1.0.1" + checksum: 10c0/62f7508e674414008910b5397c1811941d457dfa0db4fd5aa7fa0409eb02c3609608dfcd7508cace75b3a0bf67a2a77990711e32cd213d2c76f4fd12ee86d776 + languageName: node + linkType: hard + +"simple-get@npm:^4.0.0": + version: 4.0.1 + resolution: "simple-get@npm:4.0.1" + dependencies: + decompress-response: "npm:^6.0.0" + once: "npm:^1.3.1" + simple-concat: "npm:^1.0.0" + checksum: 10c0/b0649a581dbca741babb960423248899203165769747142033479a7dc5e77d7b0fced0253c731cd57cf21e31e4d77c9157c3069f4448d558ebc96cf9e1eebcf0 + languageName: node + linkType: hard + "simple-git@npm:^3.25.0": version: 3.27.0 resolution: "simple-git@npm:3.27.0" @@ -9720,6 +10957,13 @@ __metadata: languageName: node linkType: hard +"source-map-js@npm:^1.2.0": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf + languageName: node + linkType: hard + "source-map-support@npm:~0.5.20": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" @@ -9730,6 +10974,13 @@ __metadata: languageName: node linkType: hard +"source-map@npm:^0.5.0": + version: 0.5.7 + resolution: "source-map@npm:0.5.7" + checksum: 10c0/904e767bb9c494929be013017380cbba013637da1b28e5943b566031e29df04fba57edf3f093e0914be094648b577372bd8ad247fa98cfba9c600794cd16b599 + languageName: node + linkType: hard + "source-map@npm:^0.6.0": version: 0.6.1 resolution: "source-map@npm:0.6.1" @@ -9744,6 +10995,20 @@ __metadata: languageName: node linkType: hard +"sourcemap-codec@npm:^1.4.8": + version: 1.4.8 + resolution: "sourcemap-codec@npm:1.4.8" + checksum: 10c0/f099279fdaae070ff156df7414bbe39aad69cdd615454947ed3e19136bfdfcb4544952685ee73f56e17038f4578091e12b17b283ed8ac013882916594d95b9e6 + languageName: node + linkType: hard + +"split-on-first@npm:^3.0.0": + version: 3.0.0 + resolution: "split-on-first@npm:3.0.0" + checksum: 10c0/a1262eae12b68de235e1a08e011bf5b42c42621985ddf807e6221fb1e2b3304824913ae7019f18436b96b8fab8aef5f1ad80dedd2385317fdc51b521c3882cd0 + languageName: node + linkType: hard + "split2@npm:^4.0.0, split2@npm:^4.1.0": version: 4.2.0 resolution: "split2@npm:4.2.0" @@ -9997,6 +11262,31 @@ __metadata: languageName: node linkType: hard +"tar-fs@npm:^2.0.0": + version: 2.1.1 + resolution: "tar-fs@npm:2.1.1" + dependencies: + chownr: "npm:^1.1.1" + mkdirp-classic: "npm:^0.5.2" + pump: "npm:^3.0.0" + tar-stream: "npm:^2.1.4" + checksum: 10c0/871d26a934bfb7beeae4c4d8a09689f530b565f79bd0cf489823ff0efa3705da01278160da10bb006d1a793fa0425cf316cec029b32a9159eacbeaff4965fb6d + languageName: node + linkType: hard + +"tar-stream@npm:^2.1.4": + version: 2.2.0 + resolution: "tar-stream@npm:2.2.0" + dependencies: + bl: "npm:^4.0.3" + end-of-stream: "npm:^1.4.1" + fs-constants: "npm:^1.0.0" + inherits: "npm:^2.0.3" + readable-stream: "npm:^3.1.1" + checksum: 10c0/2f4c910b3ee7196502e1ff015a7ba321ec6ea837667220d7bcb8d0852d51cb04b87f7ae471008a6fb8f5b1a1b5078f62f3a82d30c706f20ada1238ac797e7692 + languageName: node + linkType: hard + "tar@npm:^7.4.3": version: 7.4.3 resolution: "tar@npm:7.4.3" @@ -10134,6 +11424,13 @@ __metadata: languageName: node linkType: hard +"tmp@npm:^0.2.1": + version: 0.2.3 + resolution: "tmp@npm:0.2.3" + checksum: 10c0/3e809d9c2f46817475b452725c2aaa5d11985cf18d32a7a970ff25b568438e2c076c2e8609224feef3b7923fa9749b74428e3e634f6b8e520c534eef2fd24125 + languageName: node + linkType: hard + "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5" @@ -10197,6 +11494,15 @@ __metadata: languageName: node linkType: hard +"ts-blank-space@npm:^0.4.1": + version: 0.4.4 + resolution: "ts-blank-space@npm:0.4.4" + dependencies: + typescript: "npm:5.1.6 - 5.7.x" + checksum: 10c0/31b8d9b7c814dfccd41f26871d93560fcb1396c290852064a5cb604c552840540cc1c9d18732c5d918d08209ccc945774de4bbeaf32b49bf6a3019bee2809a07 + languageName: node + linkType: hard + "ts-invariant@npm:^0.10.3": version: 0.10.3 resolution: "ts-invariant@npm:0.10.3" @@ -10288,6 +11594,15 @@ __metadata: languageName: node linkType: hard +"tunnel-agent@npm:^0.6.0": + version: 0.6.0 + resolution: "tunnel-agent@npm:0.6.0" + dependencies: + safe-buffer: "npm:^5.0.1" + checksum: 10c0/4c7a1b813e7beae66fdbf567a65ec6d46313643753d0beefb3c7973d66fcec3a1e7f39759f0a0b4465883499c6dc8b0750ab8b287399af2e583823e40410a17a + languageName: node + linkType: hard + "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -10342,7 +11657,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.5.4, typescript@npm:^5.7.2": +"typescript@npm:5.1.6 - 5.7.x, typescript@npm:^5.5.4, typescript@npm:^5.7.2": version: 5.7.2 resolution: "typescript@npm:5.7.2" bin: @@ -10352,7 +11667,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.5.4#optional!builtin, typescript@patch:typescript@npm%3A^5.7.2#optional!builtin": +"typescript@patch:typescript@npm%3A5.1.6 - 5.7.x#optional!builtin, typescript@patch:typescript@npm%3A^5.5.4#optional!builtin, typescript@patch:typescript@npm%3A^5.7.2#optional!builtin": version: 5.7.2 resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=5786d5" bin: From 6d6ed8dc5f75b778863fc8db35476cf713d4f77e Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 7 Jan 2025 15:19:37 -0800 Subject: [PATCH 09/11] chore(types): relax to pass --- src/index.ts | 2 ++ src/mappings/events/vaults.ts | 11 ++++++++++- tsconfig.json | 7 ++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index c695384a..8ec7ef69 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,2 +1,4 @@ +/// + //Exports all handler functions export * from './mappings/mappingHandlers'; diff --git a/src/mappings/events/vaults.ts b/src/mappings/events/vaults.ts index f3e86456..9a9353af 100644 --- a/src/mappings/events/vaults.ts +++ b/src/mappings/events/vaults.ts @@ -63,7 +63,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: str oldState: string | undefined, newState: string, blockTime: ReadonlyDateWithNanoseconds, - blockHeight: number, + blockHeight: string, ): Promise<[VaultStatesDaily, VaultStatesDaily]> { let vaultState: VaultStatesDaily | undefined = await VaultStatesDaily.get('latest'); @@ -129,10 +129,15 @@ export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: str vault = new Vault(path, BigInt(data.blockHeight), block.block.header.time as Date, ''); } + // @ts-expect-error see resolveBrandNamesAndValues vault.coin = payload?.locked?.__brand; + // @ts-expect-error see resolveBrandNamesAndValues vault.denom = payload?.locked?.__brand; + // @ts-expect-error see resolveBrandNamesAndValues vault.debt = BigInt(payload?.debtSnapshot?.debt?.__value); + // @ts-expect-error see resolveBrandNamesAndValues vault.balance = BigInt(payload?.locked?.__value); + // @ts-expect-error see resolveBrandNamesAndValues vault.lockedValue = BigInt(payload?.locked?.__value); vault.state = payload?.vaultState; @@ -148,6 +153,7 @@ export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: str const id = `${path}-${payload?.vaultState}`; const liquidatingId = `${path}-${VAULT_STATES.LIQUIDATING}`; + // @ts-expect-error see resolveBrandNamesAndValues const denom = payload?.locked?.__brand; let vault = await VaultLiquidation.get(id); @@ -187,8 +193,11 @@ export const vaultsEventKit = (block: CosmosBlock, data: StreamCell, module: str vault.coin = denom; vault.denom = denom; + // @ts-expect-error see resolveBrandNamesAndValues vault.debt = payload?.debtSnapshot?.debt?.__value; + // @ts-expect-error see resolveBrandNamesAndValues vault.balance = payload?.locked?.__value; + // @ts-expect-error see resolveBrandNamesAndValues vault.lockedValue = payload?.locked?.__value; vault.state = payload?.vaultState; return vault.save(); diff --git a/tsconfig.json b/tsconfig.json index 98cc9bc8..f803e289 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,12 +11,17 @@ "rootDir": "src", "target": "es2017", "strict": true, + "noImplicitAny": false, // UNTIL package-json-type and ejs packages have types "skipLibCheck": true, "lib": ["es2021"] }, + "exclude": [ + // generated code has typecheck error + "src/types/proto-interfaces/**", + ], "include": [ - "src/**/*", + "src", "node_modules/@subql/types-core/dist/global.d.ts", "node_modules/@subql/types-cosmos/dist/global.d.ts" ] From 6acb89a7305fe314f3cc142911c5884e7a50300e Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 9 Jan 2025 09:34:39 -0800 Subject: [PATCH 10/11] chore(types): separate typecheck config --- .github/workflows/pr.yaml | 2 +- tsconfig.json | 8 -------- typecheck.tsconfig.json | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 typecheck.tsconfig.json diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 25034cc0..c1aadef0 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -49,7 +49,7 @@ jobs: - name: Codegen run: yarn codegen # After codegen because that makes src/types/ - - run: yarn tsc + - run: yarn tsc --project typecheck.tsconfig.json - name: Build run: yarn build env: diff --git a/tsconfig.json b/tsconfig.json index f803e289..1f68c318 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,16 +10,8 @@ "outDir": "dist", "rootDir": "src", "target": "es2017", - "strict": true, - "noImplicitAny": false, - // UNTIL package-json-type and ejs packages have types - "skipLibCheck": true, "lib": ["es2021"] }, - "exclude": [ - // generated code has typecheck error - "src/types/proto-interfaces/**", - ], "include": [ "src", "node_modules/@subql/types-core/dist/global.d.ts", diff --git a/typecheck.tsconfig.json b/typecheck.tsconfig.json new file mode 100644 index 00000000..5249d291 --- /dev/null +++ b/typecheck.tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "strict": true, + "noImplicitAny": false, + // @agoric/cosmic-proto only works in ESM but the @subql/cli only works in CJS. + // This allows them to work together, but only after the `codegen` step. + "module": "preserve", + "moduleResolution": "bundler", + // UNTIL package-json-type and ejs packages have types + "skipLibCheck": true, + "lib": ["es2021"] + }, + "exclude": [ + // generated code has typecheck error + "src/types/proto-interfaces/**" + ] +} From 43b9818a24d5a42f50690ceb2388053a05e00cca Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 12 Dec 2024 16:13:31 -0800 Subject: [PATCH 11/11] feat: index fastUsdc transactions --- README.md | 44 +- package.json | 1 + schema.graphql | 21 + scripts/restart-dev.sh | 14 + src/mappings/events/fastUsdc.md | 122 ++++++ src/mappings/events/fastUsdc.ts | 40 ++ src/mappings/mappingHandlers.ts | 54 ++- yarn.lock | 703 +++++++++++++++++++++++++++++++- 8 files changed, 971 insertions(+), 28 deletions(-) create mode 100755 scripts/restart-dev.sh create mode 100644 src/mappings/events/fastUsdc.md create mode 100644 src/mappings/events/fastUsdc.ts diff --git a/README.md b/README.md index ebbd434f..78363d43 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ The fastest way to get support is by [searching our documentation](https://acade ## Developing -### Locally +### With A3P 1. Start up an A3P instance @@ -117,19 +117,57 @@ The fastest way to get support is by [searching our documentation](https://acade docker run -p 26657:26657 -p 1317:1317 -p 9090:9090 ghcr.io/agoric/agoric-3-proposals:latest ``` -2. Start up the Indexer + Or with a proposal that you've built in a3p-integration, + + ```sh + docker run -p 26657:26657 -p 1317:1317 -p 9090:9090 ghcr.io/agoric/agoric-3-proposals:use-fast-usdc + ``` + +2. Confirm the data is visible with [vstorage viewer](https://vstorage.agoric.net/?endpoint=http%3A%2F%2Flocalhost%3A26657) + +3. Start up the Indexer After the A3P instance is up and running, initiate the indexer with the following command: ```sh AGORIC_NET=docker yarn dev ``` -3. Accessing the GraphQL Interface +4. Access the GraphQL playground Once the indexer is operational, access the GraphQL interface to query indexed data: - Open a web browser and navigate to http://localhost:3000. - Use the provided interface to write and execute your GraphQL queries. +### With multichain-testing + +Make some transactions. + +```sh +cd multichain-testing && yarn +make setup # if you've never ran starship +docker pull ghcr.io/agoric/agoric-sdk:dev # to make sure you have the latest IBC hooks changes +make stop +make start FILE=config.fusdc.yaml # wait ~7 mins +yarn test:fast-usdc test/fast-usdc/fast-usdc.test.ts +``` + +View [published.fastUsdc](https://vstorage.agoric.net/?endpoint=http%3A%2F%2Flocalhost%3A26657&path=published.fastUsdc) + +Start a fresh indexer: + +```sh +scripts/restart-dev.sh +``` + +Play at http://localhost:3000/ + +Cleanup… + +```sh +cd multichain-testing +make stop +``` + ### Troubleshooting the Indexer If you encounter issues with the indexer: diff --git a/package.json b/package.json index c8f1a98a..1699aeaf 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "author": "Agoric OpCo", "license": "Apache-2.0", "devDependencies": { + "@agoric/fast-usdc": "0.2.0-u18.0", "@agoric/inter-protocol": "0.17.0-u18.6", "@agoric/internal": "0.4.0-u18.1", "@agoric/smart-wallet": "0.5.4-u18.5", diff --git a/schema.graphql b/schema.graphql index 4596de9a..4e9c5bd2 100644 --- a/schema.graphql +++ b/schema.graphql @@ -313,3 +313,24 @@ type BundleInstall @entity { compressedBundle: String! submitter: String! } + +enum FastUsdcTransactionStatus { + OBSERVED + ADVANCING + ADVANCED + ADVANCE_FAILED + FORWARDING + FORWARDED + FORWARD_FAILED + DISBURSED +} + +type FastUsdcTransaction @entity { + id: ID! + sourceAddress: String! @index + eud: String! + usdcAmount: BigInt! + status: FastUsdcTransactionStatus! @index + contractFee: BigInt + poolFee: BigInt +} diff --git a/scripts/restart-dev.sh b/scripts/restart-dev.sh new file mode 100755 index 00000000..4544399e --- /dev/null +++ b/scripts/restart-dev.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -ueo pipefail + +# clean +docker compose --profile default down +rm -rf .data + +# build +yarn subql codegen >/dev/null +AGORIC_NET=docker yarn subql build >/dev/null +grep --silent host.docker.internal project.yaml || exit 1 + +# run +docker compose --profile default up --remove-orphans diff --git a/src/mappings/events/fastUsdc.md b/src/mappings/events/fastUsdc.md new file mode 100644 index 00000000..fe067eb1 --- /dev/null +++ b/src/mappings/events/fastUsdc.md @@ -0,0 +1,122 @@ +# Fast USDC events + +## Transaction + +Supports queries like, + +```graphql +{ + _metadata { + lastProcessedHeight + } + fastUsdcTransactions { + totalCount + edges { + node { + contractFee + eud + nodeId + id + poolFee + sourceAddress + status + usdcAmount + } + } + } + fastUsdcTransaction(id: "0xc81bc6105b60a234c7c50ac17816ebcd5561d366df8bf3be59ff387552761786") { + id + sourceAddress + usdcAmount + contractFee + eud + nodeId + poolFee + status + } + stateChangeEvents(last: 4) { + nodes { + id + } + } +} +``` + +Resulting in something like, + +```json +{ + "data": { + "_metadata": { + "lastProcessedHeight": 9141 + }, + "fastUsdcTransactions": { + "totalCount": 3, + "edges": [ + { + "node": { + "contractFee": "1002000", + "eud": "agoric10rchpd57ggt73kmr5dssunm53jwz75pa8jjtav2ytcgwtr8fn0h5yalx8az423padaek6me30fmhzapsdqm8xwtevy6h5dpnd568jvms89m8v6nxxuexkut3ddnx663nxfuk5qpqjw8vq8", + "nodeId": "WyJmYXN0X3VzZGNfdHJhbnNhY3Rpb25zIiwiMzE4YzcxMDQtYzgxYS00ZTAyLTliNmYtOTBhYmFiODVkYmZkIl0=", + "id": "0xc81bc6105b60a234c7c50ac17816ebcd5561d366df8bf3be59ff387552761795", + "poolFee": "4008000", + "sourceAddress": "0x9a9eE9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9", + "status": "DISBURSED", + "usdcAmount": "2000000000" + } + }, + { + "node": { + "contractFee": "1002000", + "eud": "agoric10rchpd57ggt73kmr5dssunm53jwz75pa8jjtav2ytcgwtr8fn0h5yalx8az423pav9nk7unfvvchwenhxdnrsmpevcekxu34wgekgvn4xd5r2mr5dpe8za3h0yenywtw0yehqdpsqqsqlnd2q6", + "nodeId": "WyJmYXN0X3VzZGNfdHJhbnNhY3Rpb25zIiwiNmIxZjQwODgtOTdmZC00MGJmLWE3YWItY2U3OTZmNjAzNTRhIl0=", + "id": "0xc81bc6105b60a234c7c50ac17816ebcd5561d366df8bf3be59ff387552761707", + "poolFee": "4008000", + "sourceAddress": "0x9a9eE9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9", + "status": "DISBURSED", + "usdcAmount": "1600000000" + } + }, + { + "node": { + "contractFee": "1002000", + "eud": "agoric10rchpd57ggt73kmr5dssunm53jwz75pa8jjtav2ytcgwtr8fn0h5yalx8az423padehkymr9xyehvcmkxaehwv3swsu8gar6wc6rwupewq6kuunhxe58wdm6dfcrsm3jvdeku6qqyqjvq49q", + "nodeId": "WyJmYXN0X3VzZGNfdHJhbnNhY3Rpb25zIiwiOTQxMWMyYTgtYjAwYS00ZjgzLWJlY2MtMDU3OTU5YmUwYzk0Il0=", + "id": "0xc81bc6105b60a234c7c50ac17816ebcd5561d366df8bf3be59ff387552761786", + "poolFee": "4008000", + "sourceAddress": "0x9a9eE9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9", + "status": "DISBURSED", + "usdcAmount": "1000000000" + } + } + ] + }, + "fastUsdcTransaction": { + "id": "0xc81bc6105b60a234c7c50ac17816ebcd5561d366df8bf3be59ff387552761786", + "sourceAddress": "0x9a9eE9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9", + "usdcAmount": "1000000000", + "contractFee": "1002000", + "eud": "agoric10rchpd57ggt73kmr5dssunm53jwz75pa8jjtav2ytcgwtr8fn0h5yalx8az423padehkymr9xyehvcmkxaehwv3swsu8gar6wc6rwupewq6kuunhxe58wdm6dfcrsm3jvdeku6qqyqjvq49q", + "nodeId": "WyJmYXN0X3VzZGNfdHJhbnNhY3Rpb25zIiwiOTQxMWMyYTgtYjAwYS00ZjgzLWJlY2MtMDU3OTU5YmUwYzk0Il0=", + "poolFee": "4008000", + "status": "DISBURSED" + }, + "stateChangeEvents": { + "nodes": [ + { + "id": "6555:18:0" + }, + { + "id": "303:17:1" + }, + { + "id": "301:22:2" + }, + { + "id": "415:18:0" + } + ] + } + } +} +``` diff --git a/src/mappings/events/fastUsdc.ts b/src/mappings/events/fastUsdc.ts new file mode 100644 index 00000000..d46cf1a2 --- /dev/null +++ b/src/mappings/events/fastUsdc.ts @@ -0,0 +1,40 @@ +import type { TransactionRecord } from '@agoric/fast-usdc/src/types'; +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; +import type { CosmosBlock } from '@subql/types-cosmos'; +import assert from 'assert'; +import { FastUsdcTransaction, FastUsdcTransactionStatus } from '../../types'; + +export const transactionEventKit = (block: CosmosBlock, data: StreamCell, module: string, path: string) => { + async function saveTransaction(payload: TransactionRecord): Promise[]> { + logger.info(`saveTransaction ${JSON.stringify(payload)}`); + // extract the segment after the last period + const id = path.split('.').pop(); + assert(id, 'saveTransaction must only be called on transaction paths'); + + let t: FastUsdcTransaction; + if (payload.status === FastUsdcTransactionStatus.OBSERVED) { + assert(payload['evidence'], 'implied by OBSERVED'); + assert.equal(payload.evidence.txHash, id, 'txHash must match path'); + t = FastUsdcTransaction.create({ + id, + eud: payload.evidence?.aux.recipientAddress, + sourceAddress: payload.evidence?.tx.sender, + status: payload.status, + usdcAmount: payload.evidence?.tx.amount, + }); + } else { + const found = await FastUsdcTransaction.get(id); + assert(found, 'no matching transaction'); + t = found; + t.status = payload.status; + if (payload.split) { + t.contractFee = payload.split.ContractFee.value; + t.poolFee = payload.split.PoolFee.value; + } + } + + return [t.save()]; + } + + return { saveTransaction }; +}; diff --git a/src/mappings/mappingHandlers.ts b/src/mappings/mappingHandlers.ts index be7eb81d..ab187768 100644 --- a/src/mappings/mappingHandlers.ts +++ b/src/mappings/mappingHandlers.ts @@ -1,38 +1,40 @@ import type { tendermint37 } from '@cosmjs/tendermint-rpc'; -import { StateChangeEvent, IBCChannel, IBCTransfer, TransferType, BundleInstall } from '../types'; -import { CosmosEvent, CosmosMessage, type CosmosBlock } from '@subql/types-cosmos'; +import { CosmosEvent, CosmosMessage } from '@subql/types-cosmos'; +import { BundleInstall, IBCChannel, IBCTransfer, StateChangeEvent, TransferType } from '../types'; import { b64decode, extractStoragePath, + getAddressFromUint8Array, + getEscrowAddress, getStateChangeModule, resolveBrandNamesAndValues, - getEscrowAddress, - getAddressFromUint8Array, } from './utils'; +import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; +import type { CapData } from '@endo/marshal'; +import assert from 'assert'; import { EVENT_TYPES, - STORE_KEY, - VSTORAGE_VALUE, KEY_KEY, - VALUE_KEY, - STORE_NAME_KEY, - SUBKEY_KEY, - UNPROVED_VALUE_KEY, PACKET_DATA_KEY, - PACKET_SRC_CHANNEL_KEY, PACKET_DST_CHANNEL_KEY, PACKET_DST_PORT_KEY, + PACKET_SRC_CHANNEL_KEY, PACKET_SRC_PORT_KEY, + STORE_KEY, + STORE_NAME_KEY, + SUBKEY_KEY, TRANSFER_PORT_VALUE, + UNPROVED_VALUE_KEY, + VALUE_KEY, + VSTORAGE_VALUE, } from './constants'; -import { psmEventKit } from './events/psm'; import { boardAuxEventKit } from './events/boardAux'; +import { transactionEventKit } from './events/fastUsdc'; import { priceFeedEventKit } from './events/priceFeed'; -import { vaultsEventKit } from './events/vaults'; +import { psmEventKit } from './events/psm'; import { reservesEventKit } from './events/reserves'; -import type { StreamCell } from '@agoric/internal/src/lib-chainStorage'; -import type { CapData } from '@endo/marshal'; +import { vaultsEventKit } from './events/vaults'; // @ts-ignore BigInt.prototype.toJSON = function () { @@ -155,8 +157,8 @@ export async function handleBundleInstallMessage(message: CosmosMessage): Promis await bundleRecord.save(); } -export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise { - const { event, block } = cosmosEvent as CosmosEvent & { event: tendermint37.Event }; +export async function handleStateChangeEvent(cosmosEvent: CosmosEvent & { event: tendermint37.Event }): Promise { + const { event, block } = cosmosEvent; if (event.type != EVENT_TYPES.STATE_CHANGE) { logger.warn('Not valid state_change event.'); @@ -189,7 +191,15 @@ export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise< } if (!data.values) { + // XXX second arg ignored logger.warn('Data has not values.'); + logger.info(valueAttr); + + // XXX none of these output + logger.debug(valueAttr.value); + logger.debug('logger.debug'); + console.debug('console.debug', valueAttr.value); + console.log('console.log', valueAttr.value); return; } @@ -214,13 +224,16 @@ export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise< recordSaves.push(record.save()); } + // XXX constructs a new one of each of these when none might match the path const psmKit = psmEventKit(block, data, module, path); const boardKit = boardAuxEventKit(block, data, module, path); const priceKit = priceFeedEventKit(block, data, module, path); const vaultKit = vaultsEventKit(block, data, module, path); const reserveKit = reservesEventKit(block, data, module, path); + const fastUsdcKit = transactionEventKit(block, data, module, path); const regexFunctionMap = [ + { regex: /^published\.fastUsdc\.txns\./, function: fastUsdcKit.saveTransaction }, { regex: /^published\.priceFeed\..+price_feed$/, function: priceKit.savePriceFeed }, { regex: /^published\.psm\..+\.metrics$/, function: psmKit.savePsmMetrics }, { regex: /^published\.psm\..+\.governance$/, function: psmKit.savePsmGovernance }, @@ -245,12 +258,19 @@ export async function handleStateChangeEvent(cosmosEvent: CosmosEvent): Promise< } const value = JSON.parse(rawValue) as CapData; + if (!('body' in value)) { + logger.warn(`skipping value that is not CapData: ${JSON.stringify(value)}`); + return; + } + const payload = JSON.parse(value.body.replace(/^#/, '')); resolveBrandNamesAndValues(payload); try { for (const { regex, function: action } of regexFunctionMap) { if (path.match(regex)) { + // XXX await in loop, TODO simplify by using Promise.allSettled in handlers + // recordSaves.push(action(payload)); recordSaves.push(...(await action(payload))); break; } diff --git a/yarn.lock b/yarn.lock index 9f0fe77f..59ca1e30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,6 +5,32 @@ __metadata: version: 8 cacheKey: 10c0 +"@adraffy/ens-normalize@npm:1.10.1": + version: 1.10.1 + resolution: "@adraffy/ens-normalize@npm:1.10.1" + checksum: 10c0/fdd647604e8fac6204921888aaf5a6bc65eabf0d2921bc5f93b64d01f4bc33ead167c1445f7de05468d05cd92ac31b74c68d2be840c62b79d73693308f885c06 + languageName: node + linkType: hard + +"@agoric/async-flow@npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": + version: 0.2.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/async-flow@npm:0.2.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vow": "npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/0c91faaf64e3eb5a12ed156ab8c5bbdf915ccac1eca5c9fb2ca97d6f63ab82706be2b2c7cca55b72ff778a943d9b9bb2660cdcdf3ea99e4b7eb167d42023ec47 + languageName: node + linkType: hard + "@agoric/babel-generator@npm:^7.17.6": version: 7.17.6 resolution: "@agoric/babel-generator@npm:7.17.6" @@ -16,6 +42,21 @@ __metadata: languageName: node linkType: hard +"@agoric/base-zone@npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.1.1-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/base-zone@npm:0.1.1-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/e1113ada1ec78984ffc621c49eb0ffc029d15763f0d67b7449ac8c27f0156b2492645557262bd9893a607d6875ecedf2c85574a4bb10c89f025b0eb726a81388 + languageName: node + linkType: hard + "@agoric/base-zone@npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.1.1-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/base-zone@npm:0.1.1-upgrade-18-dev-cc4b6b8.0" @@ -46,7 +87,61 @@ __metadata: languageName: node linkType: hard -"@agoric/cosmic-proto@npm:0.5.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": +"@agoric/casting@npm:0.4.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.4.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/casting@npm:0.4.3-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@cosmjs/encoding": "npm:^0.32.3" + "@cosmjs/proto-signing": "npm:^0.32.3" + "@cosmjs/stargate": "npm:^0.32.3" + "@cosmjs/tendermint-rpc": "npm:^0.32.3" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/lockdown": "npm:^1.0.13" + "@endo/marshal": "npm:^1.6.2" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/9cf297fa59c901cf200276e2573d80b14c555c9d6526a5186e2807502050a4534b47c72a9abc9130eab30e3cc537329b42efa1839be6dcddec7b7896926a3c84 + languageName: node + linkType: hard + +"@agoric/client-utils@npm:^0.2.0-u18.0": + version: 0.2.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/client-utils@npm:0.2.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/casting": "npm:0.4.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/smart-wallet": "npm:0.5.4-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vats": "npm:0.16.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@cosmjs/stargate": "npm:^0.32.3" + "@cosmjs/tendermint-rpc": "npm:^0.32.3" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/cc7c67bab72cd96603d31ab7bd4906cb05e1b472a04a0db2b7f64dc849921812b5ea87813497eda826c7da151315ba50ed828e8b7d0ab4083e50a48d9659b84b + languageName: node + linkType: hard + +"@agoric/cosmic-proto@npm:0.5.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.5.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/cosmic-proto@npm:0.5.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@endo/base64": "npm:^1.0.9" + "@endo/init": "npm:^1.1.7" + bech32: "npm:^2.0.0" + query-string: "npm:^9.1.1" + checksum: 10c0/0084a301b58187823242d608d4f835baa60e5f1be2a99e968bb89cd32aeca528e1623f059dbc25edfa366f14bbeb0782f4c8c282765dad3603a4312b1dc4851d + languageName: node + linkType: hard + +"@agoric/cosmic-proto@npm:0.5.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/cosmic-proto@npm:^0.5.0-u18.5": version: 0.5.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/cosmic-proto@npm:0.5.0-upgrade-18-dev-cc4b6b8.0" dependencies: @@ -58,6 +153,25 @@ __metadata: languageName: node linkType: hard +"@agoric/ertp@npm:0.16.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.16.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/ertp@npm:0.16.3-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/31fd09a900c1e573bbac06628939135953d416b3a7238ab9407cda18c07e5535b139070f61d4704720acf118589766a4523fc8e4827ca767152402fec685b409 + languageName: node + linkType: hard + "@agoric/ertp@npm:0.16.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.16.3-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/ertp@npm:0.16.3-upgrade-18-dev-cc4b6b8.0" @@ -96,6 +210,67 @@ __metadata: languageName: node linkType: hard +"@agoric/fast-usdc@npm:0.2.0-u18.0": + version: 0.2.0-u18.0 + resolution: "@agoric/fast-usdc@npm:0.2.0-u18.0" + dependencies: + "@agoric/client-utils": "npm:^0.2.0-u18.0" + "@agoric/cosmic-proto": "npm:^0.5.0-u18.5" + "@agoric/ertp": "npm:^0.16.3-u18.1" + "@agoric/internal": "npm:^0.4.0-u18.1" + "@agoric/notifier": "npm:^0.7.0-u18.1" + "@agoric/orchestration": "npm:^0.2.0-u18.5" + "@agoric/store": "npm:^0.9.3-u18.1" + "@agoric/vat-data": "npm:^0.5.3-u18.1" + "@agoric/vow": "npm:^0.2.0-u18.1" + "@agoric/zoe": "npm:^0.26.3-u18.1" + "@cosmjs/proto-signing": "npm:^0.32.4" + "@cosmjs/stargate": "npm:^0.32.4" + "@endo/base64": "npm:^1.0.9" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@nick134-bit/noblejs": "npm:0.0.2" + bech32: "npm:^2.0.0" + commander: "npm:^12.1.0" + ethers: "npm:^6.13.4" + bin: + fast-usdc: src/cli/bin.js + checksum: 10c0/46e948743c7a81c329add0f3223d7021e4fbe761f54361f252ef5acd017fc07c9fcd3d844f381f723ad13300bf1291d1a4045e23c36d1d18ae7e888eae1a4c63 + languageName: node + linkType: hard + +"@agoric/governance@npm:0.10.4-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.10.4-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/governance@npm:0.10.4-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/zoe": "npm:0.26.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + import-meta-resolve: "npm:^2.2.1" + checksum: 10c0/aeb3c2d61416d24f204c965487376dfeaaf15cc79313c0cb988a0a3dd09f5fcbff11d68762ec7e356102845cea84e791fd86bf73d2f79e4454cec278d999de89 + languageName: node + linkType: hard + "@agoric/governance@npm:0.10.4-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.10.4-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/governance@npm:0.10.4-upgrade-18-dev-cc4b6b8.0" @@ -210,6 +385,26 @@ __metadata: languageName: node linkType: hard +"@agoric/internal@npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.4.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/internal@npm:0.4.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/stream": "npm:^1.2.8" + anylogger: "npm:^0.21.0" + jessie.js: "npm:^0.3.4" + checksum: 10c0/88a50ee619d70a48494bbf3f2e1a81c2182c4a069b83a7298a9475e8809eb24ee5a6aa9cfb43b49b118086ccdca0e6eb0fec67682a904832b32b744eb2fd846a + languageName: node + linkType: hard + "@agoric/internal@npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/internal@npm:^0.4.0-u18.1": version: 0.4.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/internal@npm:0.4.0-upgrade-18-dev-cc4b6b8.0" @@ -230,6 +425,17 @@ __metadata: languageName: node linkType: hard +"@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.1.1-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-bd8fd54.0" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + checksum: 10c0/751770d737ce87c8b8236dfb8fe233c4182b5aba7fd97a066e238a0c65a1842f11c81b103e05aaeda184f7680daf14682e3df2c5a82bc907096fd7dd508177e5 + languageName: node + linkType: hard + "@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.1.1-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/kmarshal@npm:0.1.1-upgrade-18-dev-cc4b6b8.0" @@ -252,6 +458,23 @@ __metadata: languageName: node linkType: hard +"@agoric/network@npm:0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.2.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/network@npm:0.2.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/base64": "npm:^1.0.9" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/a9405cb0ab464f23ea6e223f0d62ea5436d8fb1fe9dc5cb3ea99772deda188fabc408007cdec74931846257fbf13a6fe06d2c7bcbe31191313d430e2b600adba + languageName: node + linkType: hard + "@agoric/network@npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.2.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/network@npm:0.2.0-upgrade-18-dev-cc4b6b8.0" @@ -284,6 +507,21 @@ __metadata: languageName: node linkType: hard +"@agoric/notifier@npm:0.7.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.7.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/notifier@npm:0.7.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/6e4fd386bae1917ad207ae4fadb331188eccf5cf235f19bef7b7af068b293e8319ecfd2f2f9ec1c141a6b481fbf830db082734c3f46e0c362c27beaa423b6577 + languageName: node + linkType: hard + "@agoric/notifier@npm:0.7.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/notifier@npm:^0.7.0-u18.1": version: 0.7.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/notifier@npm:0.7.0-upgrade-18-dev-cc4b6b8.0" @@ -299,6 +537,33 @@ __metadata: languageName: node linkType: hard +"@agoric/orchestration@npm:^0.2.0-u18.5": + version: 0.2.0-upgrade-18-dev-cc4b6b8.0 + resolution: "@agoric/orchestration@npm:0.2.0-upgrade-18-dev-cc4b6b8.0" + dependencies: + "@agoric/async-flow": "npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/cosmic-proto": "npm:0.5.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/network": "npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vats": "npm:0.16.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/vow": "npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/zoe": "npm:0.26.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8" + "@endo/base64": "npm:^1.0.9" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/patterns": "npm:^1.4.7" + "@noble/hashes": "npm:^1.5.0" + checksum: 10c0/3b41ead60d986a2e008194a852f86a0ea13baf4e2b896088a8f31d8252ac3c5453628d694d79bd8057321b905cddd9589f715e96fd6546f3ea2e608a53c15853 + languageName: node + linkType: hard + "@agoric/smart-wallet@npm:0.5.4-u18.5": version: 0.5.4-u18.5 resolution: "@agoric/smart-wallet@npm:0.5.4-u18.5" @@ -322,6 +587,42 @@ __metadata: languageName: node linkType: hard +"@agoric/smart-wallet@npm:0.5.4-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.5.4-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/smart-wallet@npm:0.5.4-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vats": "npm:0.16.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vow": "npm:0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/zoe": "npm:0.26.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/bdac6d5fdfb16309d7a991bb839d6d7880593ee995ccf495c728f72311cbd37e27cd03bace6bb1c0db3d4e423745164592a4c90142317f480041ebd6bd5a79f1 + languageName: node + linkType: hard + +"@agoric/store@npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.9.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/store@npm:0.9.3-upgrade-18-dev-bd8fd54.0" + dependencies: + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/509f639e6e3b1eb10c2d2d146064feff734c9e075d2e5b9f01fe8378db43630e43418be8548cf9e3be9d481c53bf38be8c588d25a7fccfbcd60fe95f4b95cf61 + languageName: node + linkType: hard + "@agoric/store@npm:0.9.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.9.3-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/store@npm:0.9.3-upgrade-18-dev-cc4b6b8.0" @@ -348,6 +649,21 @@ __metadata: languageName: node linkType: hard +"@agoric/swing-store@npm:0.10.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.10.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/swing-store@npm:0.10.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/base64": "npm:^1.0.9" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/check-bundle": "npm:^1.0.12" + "@endo/errors": "npm:^1.2.8" + "@endo/nat": "npm:^5.0.13" + better-sqlite3: "npm:^9.1.1" + checksum: 10c0/8736f22f5ebb53479b73a38a3479389811c75d4038f3590b64d7260329b4c1b93228ca32fc0debf420a383ef219cdf8876a25b98c47690719598705fb537bb5c + languageName: node + linkType: hard + "@agoric/swing-store@npm:0.10.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.10.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/swing-store@npm:0.10.0-upgrade-18-dev-cc4b6b8.0" @@ -378,6 +694,27 @@ __metadata: languageName: node linkType: hard +"@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.10.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/env-options": "npm:^1.1.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/0316d3dd4b3a9b33f9e413da81627e318745f5a387c298651a02ad18b2f70d3ea667e6fdc68de094389718db674a3316be16eab8dcdc5b2c1dcc8846ec886bd5 + languageName: node + linkType: hard + "@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.10.3-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/swingset-liveslots@npm:0.10.3-upgrade-18-dev-cc4b6b8.0" @@ -468,6 +805,54 @@ __metadata: languageName: node linkType: hard +"@agoric/swingset-vat@npm:0.33.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.33.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/swingset-vat@npm:0.33.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/kmarshal": "npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/swing-store": "npm:0.10.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/swingset-xsnap-supervisor": "npm:0.10.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/xsnap-lockdown": "npm:0.14.1-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/base64": "npm:^1.0.9" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/check-bundle": "npm:^1.0.12" + "@endo/compartment-mapper": "npm:^1.4.0" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/init": "npm:^1.1.7" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + "@endo/ses-ava": "npm:^1.2.8" + "@endo/stream": "npm:^1.2.8" + "@endo/zip": "npm:^1.0.9" + ansi-styles: "npm:^6.2.1" + anylogger: "npm:^0.21.0" + better-sqlite3: "npm:^9.1.1" + import-meta-resolve: "npm:^2.2.1" + microtime: "npm:^3.1.0" + semver: "npm:^6.3.0" + tmp: "npm:^0.2.1" + yargs-parser: "npm:^21.1.1" + peerDependencies: + "@agoric/xsnap": ^0.14.2 + ava: ^5.3.0 + bin: + vat: bin/vat + checksum: 10c0/aaa5d7a19c2d18d24b0fcd9aa862fc1ffabd2b74dccd157ecc07a2b085f264c10c1adacd970c2ce046985b62c449550d492c54230f5ff095b7827f2f29ae9e3f + languageName: node + linkType: hard + "@agoric/swingset-vat@npm:0.33.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.33.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/swingset-vat@npm:0.33.0-upgrade-18-dev-cc4b6b8.0" @@ -516,6 +901,13 @@ __metadata: languageName: node linkType: hard +"@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.10.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-bd8fd54.0" + checksum: 10c0/5c4d2aa6254f19f15fa441f99e44312d9cb0f0fd6e6f949e48d7a5119c8fa3f137a9941ab8718087726cfd92743a303e7bad926c09fdd7fabf15b0c077330ef4 + languageName: node + linkType: hard + "@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.10.3-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/swingset-xsnap-supervisor@npm:0.10.3-upgrade-18-dev-cc4b6b8.0" @@ -530,6 +922,18 @@ __metadata: languageName: node linkType: hard +"@agoric/time@npm:0.3.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.3.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/time@npm:0.3.3-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/errors": "npm:^1.2.8" + "@endo/nat": "npm:^5.0.13" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/23413be35e4270b46f67da0f594d8f42f2d5625691b5dbfbb4c45ab69e0f9cfdab6b456ab5f9f7c73a4ec69b2eaafa39e8f3b8315e96ba34a353b557b1d8ce8b + languageName: node + linkType: hard + "@agoric/time@npm:0.3.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.3.3-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/time@npm:0.3.3-upgrade-18-dev-cc4b6b8.0" @@ -554,6 +958,20 @@ __metadata: languageName: node linkType: hard +"@agoric/vat-data@npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.5.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/vat-data@npm:0.5.3-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/errors": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/patterns": "npm:^1.4.7" + checksum: 10c0/fad58735f469d6e97f0943a98cc2365e27ad22e1d9857c09237af065f1b6d08171ffbcd451dff428d8dee7799b60b46a873c5378d1f3861f5f77441805653818 + languageName: node + linkType: hard + "@agoric/vat-data@npm:0.5.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.5.3-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/vat-data@npm:0.5.3-upgrade-18-dev-cc4b6b8.0" @@ -582,7 +1000,38 @@ __metadata: languageName: node linkType: hard -"@agoric/vats@npm:^0.16.0-u18.5": +"@agoric/vats@npm:0.16.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.16.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/vats@npm:0.16.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/cosmic-proto": "npm:0.5.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/governance": "npm:0.10.4-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/network": "npm:0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/swingset-vat": "npm:0.33.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vow": "npm:0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/zoe": "npm:0.26.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + import-meta-resolve: "npm:^2.2.1" + jessie.js: "npm:^0.3.4" + checksum: 10c0/0edbab241a4c86c21ced504557673de81cdb2d7f552ecdb754d15c3438f1dca4f86c5df15f714cb3f6d193998ae89409471a6db72836d6327ae1c55d09d9b0b4 + languageName: node + linkType: hard + +"@agoric/vats@npm:0.16.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/vats@npm:^0.16.0-u18.5": version: 0.16.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/vats@npm:0.16.0-upgrade-18-dev-cc4b6b8.0" dependencies: @@ -629,6 +1078,22 @@ __metadata: languageName: node linkType: hard +"@agoric/vow@npm:0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.2.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/vow@npm:0.2.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/env-options": "npm:^1.1.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + checksum: 10c0/3bc86c0291a07a994a2864d62d3bbdb08e04b37322959584042c98f4868e26818c01ddde6d9bd2936d997cc25013e56da65ce2477a9e234d3bbe1032ced5a96b + languageName: node + linkType: hard + "@agoric/vow@npm:0.2.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/vow@npm:^0.2.0-u18.1": version: 0.2.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/vow@npm:0.2.0-upgrade-18-dev-cc4b6b8.0" @@ -645,6 +1110,13 @@ __metadata: languageName: node linkType: hard +"@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.14.1-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-bd8fd54.0" + checksum: 10c0/f38528882f034a037b60a18783962cba86451c6c020c3219723cabc23542ddaa1ffd243989dcf491b7d3c637edcff94b1904fcf9a7e90b619081924e667253de + languageName: node + linkType: hard + "@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.14.1-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/xsnap-lockdown@npm:0.14.1-upgrade-18-dev-cc4b6b8.0" @@ -682,6 +1154,39 @@ __metadata: languageName: node linkType: hard +"@agoric/zoe@npm:0.26.3-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.26.3-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/zoe@npm:0.26.3-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/ertp": "npm:0.16.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/internal": "npm:0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/notifier": "npm:0.7.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/store": "npm:0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/swingset-liveslots": "npm:0.10.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/swingset-vat": "npm:0.33.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/time": "npm:0.3.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vow": "npm:0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/zone": "npm:0.3.0-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/bundle-source": "npm:^3.5.0" + "@endo/captp": "npm:^4.4.3" + "@endo/common": "npm:^1.2.8" + "@endo/errors": "npm:^1.2.8" + "@endo/eventual-send": "npm:^1.2.8" + "@endo/exo": "npm:^1.5.7" + "@endo/far": "npm:^1.1.9" + "@endo/import-bundle": "npm:^1.3.2" + "@endo/marshal": "npm:^1.6.2" + "@endo/nat": "npm:^5.0.13" + "@endo/pass-style": "npm:^1.4.7" + "@endo/patterns": "npm:^1.4.7" + "@endo/promise-kit": "npm:^1.1.8" + yargs-parser: "npm:^21.1.1" + checksum: 10c0/828eefea76e1bcd88f614bafa9d0bd88df9c38b1536ea511973a646633c1b822d908cabc37b84a8283828a3bf4df2652c9482927324fa900aa93cfb2994dc0b7 + languageName: node + linkType: hard + "@agoric/zoe@npm:0.26.3-upgrade-18-dev-cc4b6b8.0+cc4b6b8": version: 0.26.3-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/zoe@npm:0.26.3-upgrade-18-dev-cc4b6b8.0" @@ -761,6 +1266,19 @@ __metadata: languageName: node linkType: hard +"@agoric/zone@npm:0.3.0-upgrade-18-dev-bd8fd54.0+bd8fd54": + version: 0.3.0-upgrade-18-dev-bd8fd54.0 + resolution: "@agoric/zone@npm:0.3.0-upgrade-18-dev-bd8fd54.0" + dependencies: + "@agoric/base-zone": "npm:0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@agoric/vat-data": "npm:0.5.3-upgrade-18-dev-bd8fd54.0+bd8fd54" + "@endo/errors": "npm:^1.2.8" + "@endo/far": "npm:^1.1.9" + "@endo/pass-style": "npm:^1.4.7" + checksum: 10c0/807f128503664cb2f67164f4cf5a27a24a813458318cd954dd918ccffb31393b75c9e8568e47ee9e35055a17e5a01ed69100ee442625c026221ecb45b02d2c1c + languageName: node + linkType: hard + "@agoric/zone@npm:0.3.0-upgrade-18-dev-cc4b6b8.0+cc4b6b8, @agoric/zone@npm:^0.3.0-u18.1": version: 0.3.0-upgrade-18-dev-cc4b6b8.0 resolution: "@agoric/zone@npm:0.3.0-upgrade-18-dev-cc4b6b8.0" @@ -2298,6 +2816,18 @@ __metadata: languageName: node linkType: hard +"@cosmjs/amino@npm:0.32.3": + version: 0.32.3 + resolution: "@cosmjs/amino@npm:0.32.3" + dependencies: + "@cosmjs/crypto": "npm:^0.32.3" + "@cosmjs/encoding": "npm:^0.32.3" + "@cosmjs/math": "npm:^0.32.3" + "@cosmjs/utils": "npm:^0.32.3" + checksum: 10c0/6f3da2ba6d88257d6717898af798aad9f2a51bb2c0d0b61cd40cf103c86a1431f4fa5086df350f81371d3282b8a28bcbc4f97c6d9eb83a9831fad473ae1ab492 + languageName: node + linkType: hard + "@cosmjs/amino@npm:^0.32.3, @cosmjs/amino@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/amino@npm:0.32.4" @@ -2369,6 +2899,17 @@ __metadata: languageName: node linkType: hard +"@cosmjs/encoding@npm:0.32.3": + version: 0.32.3 + resolution: "@cosmjs/encoding@npm:0.32.3" + dependencies: + base64-js: "npm:^1.3.0" + bech32: "npm:^1.1.4" + readonly-date: "npm:^1.0.0" + checksum: 10c0/3c3d4b610093c2c8ca13437664e4736d60cdfb309bf2671f492388c59a9bca20f1a75ab4686a7b73d48aa6208f454bee56c84c0fe780015473ea53353a70266a + languageName: node + linkType: hard + "@cosmjs/encoding@npm:0.32.4, @cosmjs/encoding@npm:^0.32.3, @cosmjs/encoding@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/encoding@npm:0.32.4" @@ -2409,7 +2950,16 @@ __metadata: languageName: node linkType: hard -"@cosmjs/math@npm:0.32.4, @cosmjs/math@npm:^0.32.4": +"@cosmjs/math@npm:0.32.3": + version: 0.32.3 + resolution: "@cosmjs/math@npm:0.32.3" + dependencies: + bn.js: "npm:^5.2.0" + checksum: 10c0/cad8b13a0db739ef4a416b334e39ea9f55874315ebdf91dc38772676c2ead6caccaf8a28b9e8803fc48680a72cf5a9fde97564f5efbfbe9a9073c95665f31294 + languageName: node + linkType: hard + +"@cosmjs/math@npm:0.32.4, @cosmjs/math@npm:^0.32.3, @cosmjs/math@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/math@npm:0.32.4" dependencies: @@ -2433,6 +2983,20 @@ __metadata: languageName: node linkType: hard +"@cosmjs/proto-signing@npm:0.32.3": + version: 0.32.3 + resolution: "@cosmjs/proto-signing@npm:0.32.3" + dependencies: + "@cosmjs/amino": "npm:^0.32.3" + "@cosmjs/crypto": "npm:^0.32.3" + "@cosmjs/encoding": "npm:^0.32.3" + "@cosmjs/math": "npm:^0.32.3" + "@cosmjs/utils": "npm:^0.32.3" + cosmjs-types: "npm:^0.9.0" + checksum: 10c0/d44511d3a50489c1a3f61f28f68ca8cac87d6bdbb69e434cb0916dfc1d79e6a68ca0c09e074d4be73624f26fbb215024848225b862201b7f8d1d6a44014fd819 + languageName: node + linkType: hard + "@cosmjs/proto-signing@npm:^0.32.3, @cosmjs/proto-signing@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/proto-signing@npm:0.32.4" @@ -2471,6 +3035,24 @@ __metadata: languageName: node linkType: hard +"@cosmjs/stargate@npm:0.32.3": + version: 0.32.3 + resolution: "@cosmjs/stargate@npm:0.32.3" + dependencies: + "@confio/ics23": "npm:^0.6.8" + "@cosmjs/amino": "npm:^0.32.3" + "@cosmjs/encoding": "npm:^0.32.3" + "@cosmjs/math": "npm:^0.32.3" + "@cosmjs/proto-signing": "npm:^0.32.3" + "@cosmjs/stream": "npm:^0.32.3" + "@cosmjs/tendermint-rpc": "npm:^0.32.3" + "@cosmjs/utils": "npm:^0.32.3" + cosmjs-types: "npm:^0.9.0" + xstream: "npm:^11.14.0" + checksum: 10c0/c82db0355f4b15ca988f0452f8142102b44840319fe48d44c8dc9c1a316cbe3c9e765eb90970348bd5b5fddd6d9452d5a556e14dbbbd93eda6a6c92ceb616241 + languageName: node + linkType: hard + "@cosmjs/stargate@npm:^0.28.9": version: 0.28.13 resolution: "@cosmjs/stargate@npm:0.28.13" @@ -2518,7 +3100,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/stream@npm:0.32.4, @cosmjs/stream@npm:^0.32.4": +"@cosmjs/stream@npm:0.32.4, @cosmjs/stream@npm:^0.32.3, @cosmjs/stream@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/stream@npm:0.32.4" dependencies: @@ -2563,7 +3145,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/tendermint-rpc@npm:^0.32.4": +"@cosmjs/tendermint-rpc@npm:^0.32.3, @cosmjs/tendermint-rpc@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/tendermint-rpc@npm:0.32.4" dependencies: @@ -2588,7 +3170,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/utils@npm:0.32.4, @cosmjs/utils@npm:^0.32.4": +"@cosmjs/utils@npm:0.32.4, @cosmjs/utils@npm:^0.32.3, @cosmjs/utils@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/utils@npm:0.32.4" checksum: 10c0/d5ff8b235094be1150853a715116049f73eb5cdfeea8ce8e22ecccc61ec99792db457404d4307782b1a2f935dcf438f5c485beabfcfbc1dc5df26eb6e6da9062 @@ -3688,6 +4270,29 @@ __metadata: languageName: node linkType: hard +"@nick134-bit/noblejs@npm:0.0.2": + version: 0.0.2 + resolution: "@nick134-bit/noblejs@npm:0.0.2" + dependencies: + "@cosmjs/amino": "npm:0.32.3" + "@cosmjs/encoding": "npm:0.32.3" + "@cosmjs/math": "npm:0.32.3" + "@cosmjs/proto-signing": "npm:0.32.3" + "@cosmjs/stargate": "npm:0.32.3" + typescript: "npm:^5.4.5" + checksum: 10c0/93a0d28459caf9649722d085f8a06f828ad878c2a2948beeb38eb583ebcb305ba15bff5f66ccc712e6068df93fb0cbd1b09bdf7681cc72ef37138f8c5484c287 + languageName: node + linkType: hard + +"@noble/curves@npm:1.2.0": + version: 1.2.0 + resolution: "@noble/curves@npm:1.2.0" + dependencies: + "@noble/hashes": "npm:1.3.2" + checksum: 10c0/0bac7d1bbfb3c2286910b02598addd33243cb97c3f36f987ecc927a4be8d7d88e0fcb12b0f0ef8a044e7307d1844dd5c49bb724bfa0a79c8ec50ba60768c97f6 + languageName: node + linkType: hard + "@noble/curves@npm:^1.3.0, @noble/curves@npm:^1.4.2": version: 1.7.0 resolution: "@noble/curves@npm:1.7.0" @@ -3715,6 +4320,13 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:1.3.2": + version: 1.3.2 + resolution: "@noble/hashes@npm:1.3.2" + checksum: 10c0/2482cce3bce6a596626f94ca296e21378e7a5d4c09597cbc46e65ffacc3d64c8df73111f2265444e36a3168208628258bbbaccba2ef24f65f58b2417638a20e7 + languageName: node + linkType: hard + "@noble/hashes@npm:1.3.3, @noble/hashes@npm:~1.3.3": version: 1.3.3 resolution: "@noble/hashes@npm:1.3.3" @@ -3743,6 +4355,13 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:^1.5.0": + version: 1.7.0 + resolution: "@noble/hashes@npm:1.7.0" + checksum: 10c0/1ef0c985ebdb5a1bd921ea6d959c90ba826af3ae05b40b459a703e2a5e9b259f190c6e92d6220fb3800e2385521e4159e238415ad3f6b79c52f91dd615e491dc + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -4927,6 +5546,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:22.7.5": + version: 22.7.5 + resolution: "@types/node@npm:22.7.5" + dependencies: + undici-types: "npm:~6.19.2" + checksum: 10c0/cf11f74f1a26053ec58066616e3a8685b6bcd7259bc569738b8f752009f9f0f7f85a1b2d24908e5b0f752482d1e8b6babdf1fbb25758711ec7bb9500bfcd6e60 + languageName: node + linkType: hard + "@types/node@npm:^17.0.21": version: 17.0.45 resolution: "@types/node@npm:17.0.45" @@ -5283,6 +5911,13 @@ __metadata: languageName: node linkType: hard +"aes-js@npm:4.0.0-beta.5": + version: 4.0.0-beta.5 + resolution: "aes-js@npm:4.0.0-beta.5" + checksum: 10c0/444f4eefa1e602cbc4f2a3c644bc990f93fd982b148425fee17634da510586fc09da940dcf8ace1b2d001453c07ff042e55f7a0482b3cc9372bf1ef75479090c + languageName: node + linkType: hard + "agent-base@npm:^7.1.0, agent-base@npm:^7.1.2": version: 7.1.3 resolution: "agent-base@npm:7.1.3" @@ -5294,6 +5929,7 @@ __metadata: version: 0.0.0-use.local resolution: "agoric-indexer@workspace:." dependencies: + "@agoric/fast-usdc": "npm:0.2.0-u18.0" "@agoric/inter-protocol": "npm:0.17.0-u18.6" "@agoric/internal": "npm:0.4.0-u18.1" "@agoric/smart-wallet": "npm:0.5.4-u18.5" @@ -6364,6 +7000,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^12.1.0": + version: 12.1.0 + resolution: "commander@npm:12.1.0" + checksum: 10c0/6e1996680c083b3b897bfc1cfe1c58dfbcd9842fd43e1aaf8a795fbc237f65efcc860a3ef457b318e73f29a4f4a28f6403c3d653d021d960e4632dd45bde54a9 + languageName: node + linkType: hard + "commander@npm:^2.20.0": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -7139,6 +7782,21 @@ __metadata: languageName: node linkType: hard +"ethers@npm:^6.13.4": + version: 6.13.5 + resolution: "ethers@npm:6.13.5" + dependencies: + "@adraffy/ens-normalize": "npm:1.10.1" + "@noble/curves": "npm:1.2.0" + "@noble/hashes": "npm:1.3.2" + "@types/node": "npm:22.7.5" + aes-js: "npm:4.0.0-beta.5" + tslib: "npm:2.7.0" + ws: "npm:8.17.1" + checksum: 10c0/64bc7b8907de199392b8a88c15c9a085892919cff7efa2e5326abc7fe5c426001726c51d91e10c74e5fc5e2547188297ce4127f6e52ea42a97ade0b2ae474677 + languageName: node + linkType: hard + "event-emitter@npm:^0.3.5": version: 0.3.5 resolution: "event-emitter@npm:0.3.5" @@ -11580,6 +12238,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:2.7.0": + version: 2.7.0 + resolution: "tslib@npm:2.7.0" + checksum: 10c0/469e1d5bf1af585742128827000711efa61010b699cb040ab1800bcd3ccdd37f63ec30642c9e07c4439c1db6e46345582614275daca3e0f4abae29b0083f04a6 + languageName: node + linkType: hard + "tslib@npm:^1.9.0": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -11657,7 +12322,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.1.6 - 5.7.x, typescript@npm:^5.5.4, typescript@npm:^5.7.2": +"typescript@npm:5.1.6 - 5.7.x, typescript@npm:^5.4.5, typescript@npm:^5.5.4, typescript@npm:^5.7.2": version: 5.7.2 resolution: "typescript@npm:5.7.2" bin: @@ -11667,7 +12332,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.1.6 - 5.7.x#optional!builtin, typescript@patch:typescript@npm%3A^5.5.4#optional!builtin, typescript@patch:typescript@npm%3A^5.7.2#optional!builtin": +"typescript@patch:typescript@npm%3A5.1.6 - 5.7.x#optional!builtin, typescript@patch:typescript@npm%3A^5.4.5#optional!builtin, typescript@patch:typescript@npm%3A^5.5.4#optional!builtin, typescript@patch:typescript@npm%3A^5.7.2#optional!builtin": version: 5.7.2 resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=5786d5" bin: @@ -11686,6 +12351,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.19.2": + version: 6.19.8 + resolution: "undici-types@npm:6.19.8" + checksum: 10c0/078afa5990fba110f6824823ace86073b4638f1d5112ee26e790155f481f2a868cc3e0615505b6f4282bdf74a3d8caad715fd809e870c2bb0704e3ea6082f344 + languageName: node + linkType: hard + "undici-types@npm:~6.20.0": version: 6.20.0 resolution: "undici-types@npm:6.20.0" @@ -12200,6 +12872,21 @@ __metadata: languageName: node linkType: hard +"ws@npm:8.17.1": + version: 8.17.1 + resolution: "ws@npm:8.17.1" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 10c0/f4a49064afae4500be772abdc2211c8518f39e1c959640457dcee15d4488628620625c783902a52af2dd02f68558da2868fd06e6fd0e67ebcd09e6881b1b5bfe + languageName: node + linkType: hard + "ws@npm:^7": version: 7.5.10 resolution: "ws@npm:7.5.10"