From ded5a64fdd722d29239339554fee136a0b6b585e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 17:01:40 +0000 Subject: [PATCH 1/3] Initial plan From f51ec2122c87a72d38c5313ea03eeadd9a40373a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 17:10:56 +0000 Subject: [PATCH 2/3] Remove all references to agoric-sdk.pages.dev Co-authored-by: toliaqat <6778940+toliaqat@users.noreply.github.com> --- main/.vitepress/config.mjs | 4 ---- main/.vitepress/themeConfig/nav.js | 4 ---- main/guides/orchestration/key-concepts.md | 10 +++++----- main/guides/orchestration/txvsportfolio.md | 2 +- main/reference/repl/timerServices.md | 2 +- 5 files changed, 7 insertions(+), 15 deletions(-) diff --git a/main/.vitepress/config.mjs b/main/.vitepress/config.mjs index 89fd8414d..76afacc96 100644 --- a/main/.vitepress/config.mjs +++ b/main/.vitepress/config.mjs @@ -287,10 +287,6 @@ export default defineConfig({ }, ], }, - { - text: 'Agoric API Reference', - link: 'https://agoric-sdk.pages.dev/' - }, { text: 'Endo API Reference', link: 'https://endojs.github.io/endo/' diff --git a/main/.vitepress/themeConfig/nav.js b/main/.vitepress/themeConfig/nav.js index 35a52886a..0add27874 100644 --- a/main/.vitepress/themeConfig/nav.js +++ b/main/.vitepress/themeConfig/nav.js @@ -90,10 +90,6 @@ export const nav = [ ariaLabel: 'Agoric CLI', link: '/guides/agoric-cli/', }, - { - text: 'Agoric API Reference', - link: 'https://agoric-sdk.pages.dev/' - }, { text: 'Endo API Reference', link: 'https://endojs.github.io/endo/' diff --git a/main/guides/orchestration/key-concepts.md b/main/guides/orchestration/key-concepts.md index 3e8bd5aaa..67a09e488 100644 --- a/main/guides/orchestration/key-concepts.md +++ b/main/guides/orchestration/key-concepts.md @@ -5,12 +5,12 @@ focusing on Orchestrator Interface, Orchestration Accounts, and ChainHub. ## Orchestrator Interface -The [`Orchestrator`](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator) interface provides a +The `Orchestrator` interface provides a set of high-level methods to manage and interact with local and remote chains. Below are the primary methods: ### Access Chain Object -- `getChain` retrieves a chain object for the given `chainName` to get access to chain-specific methods. See [getChain](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator#getChain). +- `getChain` retrieves a chain object for the given `chainName` to get access to chain-specific methods. ```js const chain = await orchestrator.getChain('chainName'); @@ -19,13 +19,13 @@ const chain = await orchestrator.getChain('chainName'); ### Brand Utility Functions - `getBrandInfo` returns information about a `denom`, including the equivalent local Brand, the chain where the denom is - held, and the chain that issues the corresponding asset. See [getBrandInfo](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator#getBrandInfo). + held, and the chain that issues the corresponding asset. ```js const brandInfo = orchestrator.getBrandInfo('denom'); ``` -- `asAmount` converts a denom amount to an `Amount` with a brand. See [asAmount](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator#asAmount). +- `asAmount` converts a denom amount to an `Amount` with a brand. ```js const amount = orchestrator.asAmount({ denom: 'uatom', value: 1000n }); @@ -33,7 +33,7 @@ const amount = orchestrator.asAmount({ denom: 'uatom', value: 1000n }); ## Orchestration Account -Orchestration accounts are a key concept in the Agoric Orchestration API, represented by the [`OrchestrationAccount`](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.OrchestrationAccountCommon) +Orchestration accounts are a key concept in the Agoric Orchestration API, represented by the `OrchestrationAccount` interface. These accounts provide high-level operations for managing accounts on remote chains, allowing seamless interaction and management of interchain accounts. The Orchestration accounts abstract the complexity of interchain interactions, providing a unified and simplified interface for developers. diff --git a/main/guides/orchestration/txvsportfolio.md b/main/guides/orchestration/txvsportfolio.md index 19c3b07d3..bc9b8e5c0 100644 --- a/main/guides/orchestration/txvsportfolio.md +++ b/main/guides/orchestration/txvsportfolio.md @@ -142,7 +142,7 @@ export const makeAccounts = async (orch, { makeStakingTap, makePortfolioHolder, In this snippet, we create multiple accounts (one for Agoric, one for the remote chain). Then, the contract uses `makePortfolioHolder` to maintain these in a persistent store. Users can perform multiple future actions without losing state. Learn more about the -`makePortfolioHolder` function in the [`makePortfolioHolder` Orchestration API reference](https://agoric-sdk.pages.dev/funcs/_agoric_orchestration.preparePortfolioHolder). +`makePortfolioHolder` function in the Orchestration API reference. ## Choosing Between Transactional and Portfolio diff --git a/main/reference/repl/timerServices.md b/main/reference/repl/timerServices.md index 3846220b5..b243adb02 100644 --- a/main/reference/repl/timerServices.md +++ b/main/reference/repl/timerServices.md @@ -16,4 +16,4 @@ For testing, use import buildManualTimer from '@agoric/zoe/tools/manualTimer.js'; ``` -See package [@agoric/time](https://agoric-sdk.pages.dev/modules/_agoric_time) for details. +See the `@agoric/time` package for details. From 0ece1fca7e43d08660bf5116e3e1797cdf4d1a7e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 29 Aug 2025 17:06:56 +0000 Subject: [PATCH 3/3] Fix linting warnings in explainer-how-to-make-an-offer.md Co-authored-by: toliaqat <6778940+toliaqat@users.noreply.github.com> --- main/guides/getting-started/explainer-how-to-make-an-offer.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/guides/getting-started/explainer-how-to-make-an-offer.md b/main/guides/getting-started/explainer-how-to-make-an-offer.md index d872ff50b..c7a0f67d7 100644 --- a/main/guides/getting-started/explainer-how-to-make-an-offer.md +++ b/main/guides/getting-started/explainer-how-to-make-an-offer.md @@ -8,5 +8,3 @@ Take a look at our detailed [tutorial on how the UI for making offers](/guides/g Here is how the UI looks after completion: ![The UI look after completing the UI tutorial](./assets/dapp-offer-up-run.gif) - -