diff --git a/packages/boot/test/bootstrapTests/lca.test.ts b/packages/boot/test/bootstrapTests/lca.test.ts
index 7603cced8ea..df475d8a484 100644
--- a/packages/boot/test/bootstrapTests/lca.test.ts
+++ b/packages/boot/test/bootstrapTests/lca.test.ts
@@ -3,7 +3,7 @@ import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';
import type { TestFn } from 'ava';
import { Fail } from '@endo/errors';
-import type { start as stakeBldStart } from '@agoric/orchestration/src/examples/stakeBld.contract.js';
+import type { start as stakeBldStart } from '@agoric/orchestration/src/examples/stake-bld.contract.js';
import type { Instance } from '@agoric/zoe/src/zoeService/utils.js';
import { SIMULATED_ERRORS } from '@agoric/vats/tools/fake-bridge.js';
import {
diff --git a/packages/boot/test/bootstrapTests/orchestration.test.ts b/packages/boot/test/bootstrapTests/orchestration.test.ts
index b022278b3b9..ba56accaabe 100644
--- a/packages/boot/test/bootstrapTests/orchestration.test.ts
+++ b/packages/boot/test/bootstrapTests/orchestration.test.ts
@@ -3,7 +3,7 @@ import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';
import { Fail } from '@endo/errors';
import { documentStorageSchema } from '@agoric/internal/src/storage-test-utils.js';
import type { CosmosValidatorAddress } from '@agoric/orchestration';
-import type { start as startStakeIca } from '@agoric/orchestration/src/examples/stakeIca.contract.js';
+import type { start as startStakeIca } from '@agoric/orchestration/src/examples/stake-ica.contract.js';
import type { Instance } from '@agoric/zoe/src/zoeService/utils.js';
import type { TestFn } from 'ava';
import { SIMULATED_ERRORS } from '@agoric/vats/tools/fake-bridge.js';
diff --git a/packages/builders/scripts/orchestration/init-stakeAtom.js b/packages/builders/scripts/orchestration/init-stakeAtom.js
index da1ea661073..3d5f6e1454d 100644
--- a/packages/builders/scripts/orchestration/init-stakeAtom.js
+++ b/packages/builders/scripts/orchestration/init-stakeAtom.js
@@ -9,7 +9,7 @@ export const defaultProposalBuilder = async ({ publishRef, install }) => {
{
installKeys: {
stakeIca: publishRef(
- install('@agoric/orchestration/src/examples/stakeIca.contract.js'),
+ install('@agoric/orchestration/src/examples/stake-ica.contract.js'),
),
},
},
diff --git a/packages/builders/scripts/orchestration/init-stakeBld.js b/packages/builders/scripts/orchestration/init-stakeBld.js
index 992c10d0a91..f3db614e777 100644
--- a/packages/builders/scripts/orchestration/init-stakeBld.js
+++ b/packages/builders/scripts/orchestration/init-stakeBld.js
@@ -10,7 +10,7 @@ export const defaultProposalBuilder = async ({ publishRef, install }) =>
{
installKeys: {
stakeBld: publishRef(
- install('@agoric/orchestration/src/examples/stakeBld.contract.js'),
+ install('@agoric/orchestration/src/examples/stake-bld.contract.js'),
),
},
},
diff --git a/packages/builders/scripts/orchestration/init-stakeOsmo.js b/packages/builders/scripts/orchestration/init-stakeOsmo.js
index 7374d3d59a6..a0cb295364e 100644
--- a/packages/builders/scripts/orchestration/init-stakeOsmo.js
+++ b/packages/builders/scripts/orchestration/init-stakeOsmo.js
@@ -9,7 +9,7 @@ export const defaultProposalBuilder = async ({ publishRef, install }) => {
{
installKeys: {
stakeIca: publishRef(
- install('@agoric/orchestration/src/examples/stakeIca.contract.js'),
+ install('@agoric/orchestration/src/examples/stake-ica.contract.js'),
),
},
},
diff --git a/packages/builders/scripts/testing/restart-stakeAtom.js b/packages/builders/scripts/testing/restart-stakeAtom.js
index 8379434eb9e..7568d0048e2 100644
--- a/packages/builders/scripts/testing/restart-stakeAtom.js
+++ b/packages/builders/scripts/testing/restart-stakeAtom.js
@@ -11,7 +11,7 @@ import { E } from '@endo/far';
const trace = makeTracer('RestartSA', true);
/**
- * @import {start as StartFn} from '@agoric/orchestration/src/examples/stakeIca.contract.js';
+ * @import {start as StartFn} from '@agoric/orchestration/src/examples/stake-ica.contract.js';
*/
/**
diff --git a/packages/orchestration/USAGE.md b/packages/orchestration/USAGE.md
index 472e39acbfe..6236876ad04 100644
--- a/packages/orchestration/USAGE.md
+++ b/packages/orchestration/USAGE.md
@@ -15,8 +15,8 @@ See [`src/examples`](src/examples)
| [basic-flows](/packages/orchestration/src/examples/basic-flows.contract.js) | Ready 🟢 | Creates an account on a remote chain and returns a continuing offer with all platform-provided invitationMakers. | - `CosmosOrchestrationAccount`
- `LocalOrchestrationAccount`|
| [query-flows](/packages/orchestration/src/fixtures/query-flows.contract.js) | Ready 🟢 | Test fixture that enables querying account balances on local and remote chains. | - `Chain`
- `LocalOrchestrationAccount`
- `CosmosOrchestrationAccount`
- Interchain Queries |
| [send-anywhere](/packages/orchestration/src/examples/send-anywhere.contract.js) | Ready 🟢 | Allows sending payments (tokens) over IBC to another chain. | - `LocalOrchestrationAccoun`t
- `Vtransfer` (IBC Hooks) |
-| [stakeBld](/packages/orchestration/src/examples/stakeBld.contract.js) | Ready 🟢 | Returns a `LocalOrchestrationAccount` that can perform staking actions. | - `LocalOrchestrationAccount` | Ready 🟢 |
-| [stakeIca](/packages/orchestration/src/examples/stakeIca.contract.js) | Ready 🟢 | Returns a `CosmosOrchestrationAccount` that can perform staking actions. | - `CosmosOrchestrationAccount` | Ready 🟢 |
+| [stake-bld](/packages/orchestration/src/examples/stake-bld.contract.js) | Ready 🟢 | Returns a `LocalOrchestrationAccount` that can perform staking actions. | - `LocalOrchestrationAccount` | Ready 🟢 |
+| [stake-ica](/packages/orchestration/src/examples/stake-ica.contract.js) | Ready 🟢 | Returns a `CosmosOrchestrationAccount` that can perform staking actions. | - `CosmosOrchestrationAccount` | Ready 🟢 |
| [staking-combinations](/packages/orchestration/src/examples/staking-combinations.contract.js) | Ready 🟢 | Combines actions into a single offer flow and demonstrates writing continuing offers. | - `CosmosOrchestrationAccount`
- `CombineInvitationMakers`
- Continuing Offers |
| [swap](/packages/orchestration/src/examples/swap.contract.js) | Under Construction 🚧 | Demonstrates asset swapping on an external chain. | - `CosmosOrchestrationAccount`
- `ChainHub` |
| [unbond](/packages/orchestration/src/examples/unbond.contract.js) | Under Construction 🚧 | Undelegates tokens for an ICA and liquid stakes them. | - `CosmosOrchestrationAccount` |
@@ -39,8 +39,8 @@ See [`src/examples`](src/examples)
|---------------|--------------------------|
| [basic-flows](/packages/orchestration/src/examples/basic-flows.contract.js) | - `.send()`, `sendAll()` methods and `Send`, `SendAll` invitations ([#9193](https://github.com/Agoric/agoric-sdk/issues/9193))
- `CosmosOrchAccount.transfer()`, `Transfer` invitation ([#9193](https://github.com/Agoric/agoric-sdk/issues/9193)) |
| [send-anywhere](/packages/orchestration/src/examples/send-anywhere.contract.js) | - Multi-hop (PFM) transfers (not implemented in contract) ([#10006](https://github.com/Agoric/agoric-sdk/issues/10006)) |
-| [stakeIca](/packages/orchestration/src/examples/stakeIca.contract.js) | - Redelegate
- WithdrawRewards (plural) (not implemented)
- StakingQueries (not implemented) ([#10016](https://github.com/Agoric/agoric-sdk/issues/10016))
- Staking Flows for LocalOrchAccount
- Written as async-flow ([#9838](https://github.com/Agoric/agoric-sdk/issues/9838)) |
-| [stakeBld](/packages/orchestration/src/examples/stakeBld.contract.js) | - Everything*, created before e2e test suite
- Consider folding under generic "stake" contract, once [interfaces are the same](https://github.com/Agoric/agoric-sdk/blob/1976c502bcaac2e7d21f42b30447671a61053236/packages/orchestration/src/exos/local-orchestration-account.js#L487)|
+| [stakeIca](/packages/orchestration/src/examples/stake-ica.contract.js) | - Redelegate
- WithdrawRewards (plural) (not implemented)
- StakingQueries (not implemented) ([#10016](https://github.com/Agoric/agoric-sdk/issues/10016))
- Staking Flows for LocalOrchAccount
- Written as async-flow ([#9838](https://github.com/Agoric/agoric-sdk/issues/9838)) |
+| [stakeBld](/packages/orchestration/src/examples/stake-bld.contract.js) | - Everything*, created before e2e test suite
- Consider folding under generic "stake" contract, once [interfaces are the same](https://github.com/Agoric/agoric-sdk/blob/1976c502bcaac2e7d21f42b30447671a61053236/packages/orchestration/src/exos/local-orchestration-account.js#L487)|
| [swap](/packages/orchestration/src/examples/swap.contract.js) | - Everything - contract incomplete ([#8863](https://github.com/Agoric/agoric-sdk/issues/8863)) |
| [unbond](/packages/orchestration/src/examples/unbond.contract.js) | - Everything - contract incomplete ([#9782](https://github.com/Agoric/agoric-sdk/issues/9782)) |
| [staking-combinations](/packages/orchestration/src/examples/staking-combinations.contract.js) | Only tested via [unit tests](/packages/orchestration/src/examples/staking-combinations.contract.js) |
diff --git a/packages/orchestration/src/examples/README.md b/packages/orchestration/src/examples/README.md
index 8153f6739bb..d847fdba45a 100644
--- a/packages/orchestration/src/examples/README.md
+++ b/packages/orchestration/src/examples/README.md
@@ -11,7 +11,6 @@ This directory contains sample contracts showcasing the Orchestration API. Each
The following contracts are a work in progress as they contain bindings that need to be promptly updated.
-- **stakeIca.contract.js**: Interchain account creation for remote staking
+- **stake-bld.contract.js**: BLD token staking on Agoric
+- **stake-ica.contract.js**: Interchain account creation for remote staking
- **swap.contract.js**: Token swapping and remote staking
-- **stakeBld.contract.js**: BLD token staking on Agoric
-
diff --git a/packages/orchestration/src/examples/stakeBld.contract.js b/packages/orchestration/src/examples/stake-bld.contract.js
similarity index 100%
rename from packages/orchestration/src/examples/stakeBld.contract.js
rename to packages/orchestration/src/examples/stake-bld.contract.js
diff --git a/packages/orchestration/src/examples/stakeIca.contract.js b/packages/orchestration/src/examples/stake-ica.contract.js
similarity index 100%
rename from packages/orchestration/src/examples/stakeIca.contract.js
rename to packages/orchestration/src/examples/stake-ica.contract.js
diff --git a/packages/orchestration/src/proposals/start-stakeAtom.js b/packages/orchestration/src/proposals/start-stakeAtom.js
index 838bacfd832..c759790a8d4 100644
--- a/packages/orchestration/src/proposals/start-stakeAtom.js
+++ b/packages/orchestration/src/proposals/start-stakeAtom.js
@@ -7,7 +7,7 @@ import { makeChainHub } from '../exos/chain-hub.js';
/**
* @import {IBCConnectionID} from '@agoric/vats';
- * @import {StakeIcaSF, StakeIcaTerms} from '../examples/stakeIca.contract';
+ * @import {StakeIcaSF, StakeIcaTerms} from '../examples/stake-ica.contract';
*/
const trace = makeTracer('StartStakeAtom', true);
@@ -17,7 +17,7 @@ const trace = makeTracer('StartStakeAtom', true);
* installation: {
* consume: {
* stakeIca: Installation<
- * import('../examples/stakeIca.contract.js').start
+ * import('../examples/stake-ica.contract.js').start
* >;
* };
* };
diff --git a/packages/orchestration/src/proposals/start-stakeBld.js b/packages/orchestration/src/proposals/start-stakeBld.js
index cb809bc7b7b..b2de1c3f1c4 100644
--- a/packages/orchestration/src/proposals/start-stakeBld.js
+++ b/packages/orchestration/src/proposals/start-stakeBld.js
@@ -10,7 +10,7 @@ const trace = makeTracer('StartStakeBld', true);
* installation: {
* consume: {
* stakeBld: Installation<
- * import('../../src/examples/stakeBld.contract.js').start
+ * import('../../src/examples/stake-bld.contract.js').start
* >;
* };
* };
@@ -50,7 +50,7 @@ export const startStakeBld = async ({
/**
* @type {StartUpgradableOpts<
- * import('../../src/examples/stakeBld.contract.js').start
+ * import('../../src/examples/stake-bld.contract.js').start
* >}
*/
const startOpts = {
diff --git a/packages/orchestration/src/proposals/start-stakeOsmo.js b/packages/orchestration/src/proposals/start-stakeOsmo.js
index 84dfadb1337..0f020a62a89 100644
--- a/packages/orchestration/src/proposals/start-stakeOsmo.js
+++ b/packages/orchestration/src/proposals/start-stakeOsmo.js
@@ -7,7 +7,7 @@ import { makeChainHub } from '../exos/chain-hub.js';
/**
* @import {IBCConnectionID} from '@agoric/vats';
- * @import {StakeIcaSF} from '../examples/stakeIca.contract';
+ * @import {StakeIcaSF} from '../examples/stake-ica.contract';
*/
const trace = makeTracer('StartStakeOsmo', true);
@@ -17,7 +17,7 @@ const trace = makeTracer('StartStakeOsmo', true);
* installation: {
* consume: {
* stakeIca: Installation<
- * import('../examples/stakeIca.contract.js').start
+ * import('../examples/stake-ica.contract.js').start
* >;
* };
* };
diff --git a/packages/orchestration/test/examples/stake-bld.contract.test.ts b/packages/orchestration/test/examples/stake-bld.contract.test.ts
index 736e9781fad..556e4da7d56 100644
--- a/packages/orchestration/test/examples/stake-bld.contract.test.ts
+++ b/packages/orchestration/test/examples/stake-bld.contract.test.ts
@@ -10,9 +10,9 @@ import { commonSetup } from '../supports.js';
const dirname = path.dirname(new URL(import.meta.url).pathname);
-const contractFile = `${dirname}/../../src/examples/stakeBld.contract.js`;
+const contractFile = `${dirname}/../../src/examples/stake-bld.contract.js`;
type StartFn =
- typeof import('@agoric/orchestration/src/examples/stakeBld.contract.js').start;
+ typeof import('@agoric/orchestration/src/examples/stake-bld.contract.js').start;
const startContract = async ({
agoricNames,
diff --git a/packages/orchestration/test/examples/stake-ica.contract.test.ts b/packages/orchestration/test/examples/stake-ica.contract.test.ts
index 24698de61e2..e6d00da45e9 100644
--- a/packages/orchestration/test/examples/stake-ica.contract.test.ts
+++ b/packages/orchestration/test/examples/stake-ica.contract.test.ts
@@ -10,7 +10,7 @@ import {
QueryBalanceResponse,
} from '@agoric/cosmic-proto/cosmos/bank/v1beta1/query.js';
import { commonSetup } from '../supports.js';
-import { type StakeIcaTerms } from '../../src/examples/stakeIca.contract.js';
+import { type StakeIcaTerms } from '../../src/examples/stake-ica.contract.js';
import fetchedChainInfo from '../../src/fetched-chain-info.js';
import {
buildQueryPacketString,
@@ -24,9 +24,9 @@ import { makeChainHub } from '../../src/exos/chain-hub.js';
const dirname = path.dirname(new URL(import.meta.url).pathname);
-const contractFile = `${dirname}/../../src/examples/stakeIca.contract.js`;
+const contractFile = `${dirname}/../../src/examples/stake-ica.contract.js`;
type StartFn =
- typeof import('@agoric/orchestration/src/examples/stakeIca.contract.js').start;
+ typeof import('@agoric/orchestration/src/examples/stake-ica.contract.js').start;
const getChainTerms = (
chainName: keyof typeof fetchedChainInfo,