@agoric/orchestration 0.2.0 → 0.2.1-upgrade-23-dev-bd79330.0.bd79330
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +0 -4
- package/package.json +27 -27
- package/src/axelar-types.d.ts +2 -0
- package/src/axelar-types.d.ts.map +1 -1
- package/src/axelar-types.js +2 -0
- package/src/cctp-chain-info.js +4 -1
- package/src/chain-info.d.ts +21 -6
- package/src/chain-info.d.ts.map +1 -1
- package/src/chain-info.js +9 -8
- package/src/cosmos-api.d.ts +102 -29
- package/src/cosmos-api.d.ts.map +1 -1
- package/src/cosmos-api.js +585 -0
- package/src/{ethereum-api.ts → ethereum-api.js} +1 -1
- package/src/examples/auto-stake-it-tap-kit.d.ts +4 -3
- package/src/examples/auto-stake-it-tap-kit.d.ts.map +1 -1
- package/src/examples/auto-stake-it-tap-kit.js +3 -4
- package/src/examples/auto-stake-it.contract.d.ts +6 -4
- package/src/examples/auto-stake-it.contract.d.ts.map +1 -1
- package/src/examples/auto-stake-it.contract.js +3 -1
- package/src/examples/auto-stake-it.flows.d.ts +2 -1
- package/src/examples/auto-stake-it.flows.d.ts.map +1 -1
- package/src/examples/auto-stake-it.flows.js +1 -0
- package/src/examples/axelar-gmp-account-kit.d.ts +6 -4
- package/src/examples/axelar-gmp-account-kit.d.ts.map +1 -1
- package/src/examples/axelar-gmp-account-kit.js +4 -2
- package/src/examples/axelar-gmp.contract.d.ts +8 -8
- package/src/examples/axelar-gmp.contract.d.ts.map +1 -1
- package/src/examples/axelar-gmp.contract.js +2 -2
- package/src/examples/axelar-gmp.flows.d.ts +1 -1
- package/src/examples/basic-flows.contract.d.ts +7 -5
- package/src/examples/basic-flows.contract.d.ts.map +1 -1
- package/src/examples/basic-flows.contract.js +3 -1
- package/src/examples/basic-flows.flows.d.ts +2 -1
- package/src/examples/basic-flows.flows.d.ts.map +1 -1
- package/src/examples/basic-flows.flows.js +1 -0
- package/src/examples/send-anywhere.contract.d.ts +12 -6
- package/src/examples/send-anywhere.contract.d.ts.map +1 -1
- package/src/examples/send-anywhere.contract.js +4 -1
- package/src/examples/send-anywhere.flows.d.ts +3 -2
- package/src/examples/send-anywhere.flows.d.ts.map +1 -1
- package/src/examples/send-anywhere.flows.js +3 -6
- package/src/examples/stake-bld.contract.d.ts +206 -25
- package/src/examples/stake-bld.contract.d.ts.map +1 -1
- package/src/examples/stake-bld.contract.js +19 -4
- package/src/examples/stake-ica.contract.d.ts +434 -71
- package/src/examples/stake-ica.contract.d.ts.map +1 -1
- package/src/examples/stake-ica.contract.js +28 -6
- package/src/examples/staking-combinations.contract.d.ts +4 -2
- package/src/examples/staking-combinations.contract.d.ts.map +1 -1
- package/src/examples/staking-combinations.contract.js +5 -3
- package/src/examples/staking-combinations.flows.d.ts +3 -2
- package/src/examples/staking-combinations.flows.d.ts.map +1 -1
- package/src/examples/staking-combinations.flows.js +7 -6
- package/src/examples/swap-anything.contract.d.ts +14 -7
- package/src/examples/swap-anything.contract.d.ts.map +1 -1
- package/src/examples/swap-anything.contract.js +12 -8
- package/src/examples/swap.contract.d.ts +18 -6
- package/src/examples/swap.contract.d.ts.map +1 -1
- package/src/examples/swap.contract.js +9 -3
- package/src/examples/swap.flows.d.ts +2 -0
- package/src/examples/swap.flows.d.ts.map +1 -1
- package/src/examples/swap.flows.js +2 -0
- package/src/examples/unbond.contract.d.ts +7 -4
- package/src/examples/unbond.contract.d.ts.map +1 -1
- package/src/examples/unbond.contract.js +6 -3
- package/src/exos/chain-hub-admin.d.ts +1 -19
- package/src/exos/chain-hub-admin.d.ts.map +1 -1
- package/src/exos/chain-hub-admin.js +1 -1
- package/src/exos/chain-hub.d.ts +4 -2
- package/src/exos/chain-hub.d.ts.map +1 -1
- package/src/exos/chain-hub.js +2 -1
- package/src/exos/combine-invitation-makers.d.ts +2 -1
- package/src/exos/combine-invitation-makers.d.ts.map +1 -1
- package/src/exos/combine-invitation-makers.js +2 -1
- package/src/exos/cosmos-orchestration-account.d.ts +615 -98
- package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.js +695 -306
- package/src/exos/exo-interfaces.js +35 -0
- package/src/exos/ibc-packet.d.ts +11 -9
- package/src/exos/ibc-packet.d.ts.map +1 -1
- package/src/exos/ibc-packet.js +33 -8
- package/src/exos/ica-account-kit.d.ts +4 -9
- package/src/exos/ica-account-kit.d.ts.map +1 -1
- package/src/exos/ica-account-kit.js +10 -7
- package/src/exos/icq-connection-kit.d.ts +1 -1
- package/src/exos/local-chain-facade.d.ts +1542 -5
- package/src/exos/local-chain-facade.d.ts.map +1 -1
- package/src/exos/local-chain-facade.js +4 -2
- package/src/exos/local-orchestration-account.d.ts +201 -56
- package/src/exos/local-orchestration-account.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.js +260 -51
- package/src/exos/orchestrator.d.ts +35813 -73
- package/src/exos/orchestrator.d.ts.map +1 -1
- package/src/exos/orchestrator.js +7 -10
- package/src/exos/packet-tools.d.ts +19 -8
- package/src/exos/packet-tools.d.ts.map +1 -1
- package/src/exos/packet-tools.js +92 -9
- package/src/exos/portfolio-holder-kit.d.ts +90 -2
- package/src/exos/portfolio-holder-kit.d.ts.map +1 -1
- package/src/exos/remote-chain-facade.d.ts +1499 -1
- package/src/exos/remote-chain-facade.d.ts.map +1 -1
- package/src/exos/remote-chain-facade.js +8 -3
- package/src/facade.d.ts +1 -0
- package/src/facade.d.ts.map +1 -1
- package/src/facade.js +4 -6
- package/src/fixtures/query-flows.contract.d.ts +8 -6
- package/src/fixtures/query-flows.contract.d.ts.map +1 -1
- package/src/fixtures/query-flows.contract.js +3 -1
- package/src/fixtures/query-flows.flows.d.ts +1 -0
- package/src/fixtures/query-flows.flows.d.ts.map +1 -1
- package/src/fixtures/query-flows.flows.js +1 -0
- package/src/orchestration-api.d.ts +46 -16
- package/src/orchestration-api.d.ts.map +1 -1
- package/src/orchestration-api.js +410 -0
- package/src/proposals/init-chain-info.js +10 -2
- package/src/proposals/orchestration-proposal.js +3 -0
- package/src/proposals/revise-chain-info.js +4 -1
- package/src/proposals/start-auto-stake-it.js +1 -0
- package/src/proposals/start-axelar-gmp.js +2 -2
- package/src/proposals/start-basic-flows.js +5 -0
- package/src/proposals/start-send-anywhere.js +4 -2
- package/src/proposals/start-stakeAtom.js +5 -4
- package/src/proposals/start-stakeBld.js +8 -6
- package/src/proposals/start-stakeOsmo.js +5 -4
- package/src/proposals/start-swap-anything.js +4 -2
- package/src/stubs/{viem-abi.d.ts → viem-typedData.js} +10 -4
- package/src/typeGuards.d.ts +38 -5
- package/src/typeGuards.d.ts.map +1 -1
- package/src/typeGuards.js +92 -22
- package/src/types.d.ts +1 -0
- package/src/types.d.ts.map +1 -1
- package/src/types.js +27 -0
- package/src/utils/abitype.d.ts +6 -0
- package/src/utils/abitype.d.ts.map +1 -0
- package/src/utils/abitype.js +13 -0
- package/src/utils/address.d.ts +3 -1
- package/src/utils/address.d.ts.map +1 -1
- package/src/utils/address.js +24 -2
- package/src/utils/agd-lib.d.ts +1 -51
- package/src/utils/agd-lib.d.ts.map +1 -1
- package/src/utils/agd-lib.js +1 -1
- package/src/utils/amounts.d.ts +1 -0
- package/src/utils/amounts.d.ts.map +1 -1
- package/src/utils/amounts.js +1 -0
- package/src/utils/asset.d.ts +1 -0
- package/src/utils/asset.d.ts.map +1 -1
- package/src/utils/asset.js +1 -0
- package/src/utils/chain-hub-helper.d.ts +1 -0
- package/src/utils/chain-hub-helper.d.ts.map +1 -1
- package/src/utils/chain-hub-helper.js +1 -0
- package/src/utils/codecs.d.ts +145 -0
- package/src/utils/codecs.d.ts.map +1 -0
- package/src/utils/codecs.js +206 -0
- package/src/utils/cosmos.d.ts +5 -4
- package/src/utils/cosmos.d.ts.map +1 -1
- package/src/utils/cosmos.js +29 -9
- package/src/utils/exo-helpers.d.ts +156 -0
- package/src/utils/exo-helpers.d.ts.map +1 -0
- package/src/utils/exo-helpers.js +241 -0
- package/src/utils/gmp.d.ts +2 -2
- package/src/utils/gmp.d.ts.map +1 -1
- package/src/utils/gmp.js +31 -15
- package/src/utils/orchestrationAccount.d.ts +79 -0
- package/src/utils/orchestrationAccount.d.ts.map +1 -1
- package/src/utils/orchestrationAccount.js +210 -6
- package/src/utils/packet.d.ts.map +1 -1
- package/src/utils/packet.js +5 -0
- package/src/utils/permit2/signatureTransfer.d.ts +221 -0
- package/src/utils/permit2/signatureTransfer.d.ts.map +1 -0
- package/src/utils/permit2/signatureTransfer.js +265 -0
- package/src/utils/permit2/signatureTransferHelpers.d.ts +334 -0
- package/src/utils/permit2/signatureTransferHelpers.d.ts.map +1 -0
- package/src/utils/permit2/signatureTransferHelpers.js +270 -0
- package/src/utils/permit2.d.ts +11 -0
- package/src/utils/permit2.d.ts.map +1 -0
- package/src/utils/permit2.js +11 -0
- package/src/utils/progress.d.ts +41 -0
- package/src/utils/progress.d.ts.map +1 -0
- package/src/utils/progress.js +180 -0
- package/src/utils/start-helper.d.ts +28 -10
- package/src/utils/start-helper.d.ts.map +1 -1
- package/src/utils/start-helper.js +30 -7
- package/src/utils/time.d.ts +2 -2
- package/src/utils/time.d.ts.map +1 -1
- package/src/utils/time.js +1 -1
- package/src/utils/viem-utils/hashTypedData.d.ts +21 -0
- package/src/utils/viem-utils/hashTypedData.d.ts.map +1 -0
- package/src/utils/viem-utils/hashTypedData.js +61 -0
- package/src/utils/viem-utils/types.d.ts +6 -0
- package/src/utils/viem-utils/types.d.ts.map +1 -0
- package/src/utils/viem-utils/types.js +18 -0
- package/src/utils/viem.d.ts +11 -0
- package/src/utils/viem.d.ts.map +1 -0
- package/src/utils/viem.js +11 -0
- package/src/utils/zcf-tools.d.ts +15 -1
- package/src/utils/zcf-tools.d.ts.map +1 -1
- package/src/utils/zcf-tools.js +19 -3
- package/src/utils/zoe-tools.d.ts +5 -2
- package/src/utils/zoe-tools.d.ts.map +1 -1
- package/src/utils/zoe-tools.js +8 -2
- package/src/vat-orchestration.d.ts +5 -3
- package/src/vat-orchestration.d.ts.map +1 -1
- package/src/vat-orchestration.js +4 -3
- package/src/vendor/viem/{_esm-YOAV66U4.js → _esm-OKAICHVC.js} +2 -2
- package/src/vendor/viem/{ccip-AAQDZF3N.js → ccip-34BSSMV5.js} +1 -2
- package/src/vendor/viem/{chunk-4EF4K2MH.js → chunk-GCI53Z2G.js} +35 -1
- package/src/vendor/viem/chunk-ZKSIP2AM.js +326 -0
- package/src/vendor/viem/viem-abi.js +2 -2
- package/src/vendor/viem/viem-typedData.d.ts +19 -0
- package/src/vendor/viem/viem-typedData.js +59 -0
- package/tools/contract-tests.d.ts +34 -19
- package/tools/contract-tests.d.ts.map +1 -1
- package/tools/contract-tests.ts +15 -3
- package/tools/ibc-mock-fixtures.d.ts +49 -0
- package/tools/ibc-mock-fixtures.d.ts.map +1 -0
- package/tools/ibc-mock-fixtures.ts +161 -0
- package/tools/ibc-mocks.d.ts +2 -3
- package/tools/ibc-mocks.d.ts.map +1 -1
- package/tools/ibc-mocks.ts +2 -1
- package/tools/make-test-address.d.ts +1 -1
- package/tools/make-test-address.d.ts.map +1 -1
- package/tools/make-test-address.js +1 -2
- package/tools/network-fakes.d.ts +142 -0
- package/tools/network-fakes.d.ts.map +1 -0
- package/tools/network-fakes.ts +388 -0
- package/tsup.config.ts +3 -1
- package/src/cosmos-api.ts +0 -469
- package/src/exos/exo-interfaces.ts +0 -35
- package/src/orchestration-api.ts +0 -365
- package/src/stubs/viem-abi.d.ts.map +0 -1
- package/src/types.ts +0 -26
- package/src/vendor/viem/chunk-XN4LUOIH.js +0 -253
- package/src/vendor/viem/secp256k1-WHBDSQB2.js +0 -1914
- /package/src/stubs/{viem-abi.ts → viem-abi.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-chain-facade.d.ts","sourceRoot":"","sources":["remote-chain-facade.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-chain-facade.d.ts","sourceRoot":"","sources":["remote-chain-facade.js"],"names":[],"mappings":"A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APzC,cAAc;8BAEb,aAAa;mCAIyE,aAAa"}
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
* @import {CosmosInterchainService} from './exo-interfaces.js';
|
|
24
24
|
* @import {prepareCosmosOrchestrationAccount} from './cosmos-orchestration-account.js';
|
|
25
25
|
* @import {CosmosChainInfo, IBCConnectionInfo, CosmosChainAddress, IcaAccount, Chain, ICQConnection, ChainInfo} from '../types.js';
|
|
26
|
+
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
26
27
|
*/
|
|
27
28
|
|
|
28
29
|
const trace = makeTracer('RemoteChainFacade');
|
|
@@ -158,12 +159,16 @@ const prepareRemoteChainFacadeKit = (
|
|
|
158
159
|
*/
|
|
159
160
|
query(msgs) {
|
|
160
161
|
return asVow(() => {
|
|
162
|
+
/**
|
|
163
|
+
* @typedef {{
|
|
164
|
+
* remoteChainInfo: CosmosChainInfo;
|
|
165
|
+
* connectionInfo?: IBCConnectionInfo;
|
|
166
|
+
* }} QueryState
|
|
167
|
+
*/
|
|
161
168
|
const {
|
|
162
|
-
/** @type {CosmosChainInfo} */
|
|
163
169
|
remoteChainInfo: { icqEnabled, chainId },
|
|
164
|
-
/** @type {IBCConnectionInfo | undefined} */
|
|
165
170
|
connectionInfo,
|
|
166
|
-
} = /** @type {
|
|
171
|
+
} = /** @type {QueryState} */ (this.state);
|
|
167
172
|
|
|
168
173
|
if (!icqEnabled) {
|
|
169
174
|
throw Fail`Queries not available for chain ${q(chainId)}`;
|
package/src/facade.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export type OrchestrationFacade = ReturnType<typeof makeOrchestrationFacade>;
|
|
|
20
20
|
import type { Zone } from '@agoric/zone';
|
|
21
21
|
import type { TimerService } from '@agoric/time';
|
|
22
22
|
import type { Remote } from '@agoric/internal';
|
|
23
|
+
import type { ZCF } from '@agoric/zoe';
|
|
23
24
|
import type { CosmosInterchainService } from './exos/exo-interfaces.js';
|
|
24
25
|
import type { HostOrchestrator } from './exos/orchestrator.js';
|
|
25
26
|
import type { VowTools } from '@agoric/vow';
|
package/src/facade.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facade.d.ts","sourceRoot":"","sources":["facade.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"facade.d.ts","sourceRoot":"","sources":["facade.js"],"names":[],"mappings":"AAuCO,wIAVI;IACN,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,OAAO,YAAY,CAAC,CAAC;IACnC,GAAG,EAAE,GAAG,CAAC;IACT,oBAAoB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IACtD,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;IACzC,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,EAAE,cAAc,CAAC;CAChC;kBAwBW,EAAE,EACsC,EAAE,SAA1C,kBAAmB,eAAe,EAAE,CAAC,CAAE,eACzC,MAAM,WAEN,EAAE,WACF,EAAE,KACA,YAAY,CAAC,EAAE,CAAC;qBAmCM,EAAE,SAAvB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAE,EAG5B,GAAG,SAFI;QACZ,CAAK,WAAW,EAAE,MAAM,GAAG,kBAAkB,eAAe,EAAE,CAAC,CAAC,CAAC;KAC7D,YAEM,GAAG,WACH,EAAE,KACA,GAAG,CAAC,IAAI,MAAM,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAE;EA4BxD;;;;yBAvHgC,EAAE,SAAtB,iBAAmB,IACnB,EAAE,SAAS,CACnB,GAAG,EAAE,YAAY,EACjB,GAAG,EAAE,GAAG,EACZ,GAAO,IAAI,EAAE,MAAM,EAAE,KACd,OAAO,CAAC,MAAM,EAAE,CAAC,GAClB,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,GAClC,KAAK;kCAkHE,UAAU,CAAC,OAAO,uBAAuB,CAAC;0BAtIjC,cAAc;kCAEN,cAAc;4BAEpB,kBAAkB;yBAGrB,aAAa;6CAFO,0BAA0B;sCAFjC,wBAAwB;8BAF3B,aAAa;oCAFc,oBAAoB;oCAApB,oBAAoB;uCAO7B,YAAY;kCAAZ,YAAY;8BAPH,oBAAoB;yBAE/C,aAAa"}
|
package/src/facade.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @file Orchestration facade */
|
|
2
|
-
import { assertAllDefined, deepMapObject } from '@agoric/internal';
|
|
2
|
+
import { assertAllDefined, deepMapObject, objectMap } from '@agoric/internal';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @import {AsyncFlowTools, GuestInterface, HostArgs} from '@agoric/async-flow';
|
|
@@ -10,6 +10,7 @@ import { assertAllDefined, deepMapObject } from '@agoric/internal';
|
|
|
10
10
|
* @import {Remote} from '@agoric/internal';
|
|
11
11
|
* @import {CosmosInterchainService} from './exos/exo-interfaces.js';
|
|
12
12
|
* @import {OrchestrationFlow, Orchestrator} from './types.js';
|
|
13
|
+
* @import {ZCF} from '@agoric/zoe';
|
|
13
14
|
*/
|
|
14
15
|
|
|
15
16
|
/**
|
|
@@ -122,11 +123,8 @@ export const makeOrchestrationFacade = ({
|
|
|
122
123
|
);
|
|
123
124
|
|
|
124
125
|
const orcFns = /** @type {{ [N in keyof GFM]: HostForGuest<GFM[N]> }} */ (
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
name,
|
|
128
|
-
orchestrate(name, mappedContext, guestFn),
|
|
129
|
-
]),
|
|
126
|
+
objectMap(guestFns, (guestFn, name) =>
|
|
127
|
+
orchestrate(String(name), mappedContext, guestFn),
|
|
130
128
|
)
|
|
131
129
|
);
|
|
132
130
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
|
|
2
|
-
marshaller: Marshaller
|
|
2
|
+
marshaller: Remote<Marshaller>;
|
|
3
3
|
chainInfo?: Record<string, CosmosChainInfo>;
|
|
4
4
|
assetInfo?: [Denom, DenomDetail & {
|
|
5
5
|
brandKey?: string;
|
|
6
6
|
}][];
|
|
7
|
-
}, baggage: Baggage) => Promise<{
|
|
7
|
+
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
8
8
|
publicFacet: import("@endo/exo").Guarded<{
|
|
9
|
-
makeSendICQQueryInvitation(): Promise<
|
|
9
|
+
makeSendICQQueryInvitation(): Promise<import("@agoric/zoe").Invitation<import("@agoric/vow").Vow<string>, {
|
|
10
10
|
chainName: string;
|
|
11
11
|
msgs: Parameters<import("@agoric/orchestration").ICQQueryFunction>[0];
|
|
12
12
|
}>>;
|
|
13
|
-
makeAccountAndGetBalanceQueryInvitation(): Promise<
|
|
13
|
+
makeAccountAndGetBalanceQueryInvitation(): Promise<import("@agoric/zoe").Invitation<import("@agoric/vow").Vow<string>, {
|
|
14
14
|
chainName: string;
|
|
15
15
|
denom: import("@agoric/orchestration").DenomArg;
|
|
16
16
|
}>>;
|
|
17
|
-
makeAccountAndGetBalancesQueryInvitation(): Promise<
|
|
17
|
+
makeAccountAndGetBalancesQueryInvitation(): Promise<import("@agoric/zoe").Invitation<import("@agoric/vow").Vow<string>, {
|
|
18
18
|
chainName: string;
|
|
19
19
|
}>>;
|
|
20
|
-
makeSendLocalQueryInvitation(): Promise<
|
|
20
|
+
makeSendLocalQueryInvitation(): Promise<import("@agoric/zoe").Invitation<import("@agoric/vow").Vow<string>, {
|
|
21
21
|
msgs: Parameters<import("@agoric/vats/src/localchain.js").QueryManyFn>[0];
|
|
22
22
|
}>>;
|
|
23
23
|
}>;
|
|
@@ -25,6 +25,8 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
25
25
|
export type QueryFlowsSF = typeof start;
|
|
26
26
|
import type { ZCF } from '@agoric/zoe';
|
|
27
27
|
import type { OrchestrationPowers } from '../utils/start-helper.js';
|
|
28
|
+
import type { Marshaller } from '@agoric/internal/src/lib-chainStorage.js';
|
|
29
|
+
import type { Remote } from '@agoric/internal';
|
|
28
30
|
import type { CosmosChainInfo } from '@agoric/orchestration';
|
|
29
31
|
import type { Denom } from '@agoric/orchestration';
|
|
30
32
|
import type { DenomDetail } from '@agoric/orchestration';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-flows.contract.d.ts","sourceRoot":"","sources":["query-flows.contract.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-flows.contract.d.ts","sourceRoot":"","sources":["query-flows.contract.js"],"names":[],"mappings":"AAoFA;gBA/DiB,OAAO,UAAU,CAAC;gBAClB,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;;;;;;;;;;;GA6DgB;2BAGjE,OAAO,KAAK;yBA7EJ,aAAa;yCAIuB,0BAA0B;gCACvD,0CAA0C;4BAH9C,kBAAkB;qCACW,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
|
|
@@ -10,14 +10,16 @@ import * as flows from './query-flows.flows.js';
|
|
|
10
10
|
/**
|
|
11
11
|
* @import {ZCF} from '@agoric/zoe';
|
|
12
12
|
* @import {Zone} from '@agoric/zone';
|
|
13
|
+
* @import {Remote} from '@agoric/internal';
|
|
13
14
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
|
|
14
15
|
* @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
|
|
16
|
+
* @import {Marshaller} from '@agoric/internal/src/lib-chainStorage.js';
|
|
15
17
|
*/
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
* @param {ZCF} zcf
|
|
19
21
|
* @param {OrchestrationPowers & {
|
|
20
|
-
* marshaller: Marshaller
|
|
22
|
+
* marshaller: Remote<Marshaller>;
|
|
21
23
|
* chainInfo?: Record<string, CosmosChainInfo>;
|
|
22
24
|
* assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
|
|
23
25
|
* }} privateArgs
|
|
@@ -13,6 +13,7 @@ export function sendLocalQuery(orch: Orchestrator, _ctx: any, seat: ZCFSeat, { m
|
|
|
13
13
|
msgs: Parameters<QueryManyFn>[0];
|
|
14
14
|
}): Promise<string>;
|
|
15
15
|
import type { Orchestrator } from '@agoric/orchestration';
|
|
16
|
+
import type { ZCFSeat } from '@agoric/zoe';
|
|
16
17
|
import type { ICQQueryFunction } from '@agoric/orchestration';
|
|
17
18
|
import type { DenomArg } from '@agoric/orchestration';
|
|
18
19
|
import type { QueryManyFn } from '@agoric/vats/src/localchain.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-flows.flows.d.ts","sourceRoot":"","sources":["query-flows.flows.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-flows.flows.d.ts","sourceRoot":"","sources":["query-flows.flows.js"],"names":[],"mappings":"AA2BO,mCALI,YAAY,QACZ,GAAG,QACH,OAAO,uBACP;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,mBActE;AAeM,oDALI,YAAY,QACZ,GAAG,QACH,OAAO,wBACP;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,QAAQ,CAAA;CAAE,mBAgBhD;AAeM,qDALI,YAAY,QACZ,GAAG,QACH,OAAO,iBACP;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,mBAgB/B;AAiBM,qCAPI,YAAY,QACZ,GAAG,QACH,OAAO,YACP;IACN,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;CAClC,mBASH;kCA/GqG,uBAAuB;6BAEnG,aAAa;sCAF+D,uBAAuB;8BAAvB,uBAAuB;iCAC/F,gCAAgC"}
|
|
@@ -10,6 +10,7 @@ const trace = makeTracer('BasicFlows');
|
|
|
10
10
|
/**
|
|
11
11
|
* @import {Chain, DenomArg, OrchestrationFlow, Orchestrator, ICQQueryFunction, CosmosChainInfo} from '@agoric/orchestration';
|
|
12
12
|
* @import {QueryManyFn} from '@agoric/vats/src/localchain.js';
|
|
13
|
+
* @import {ZCFSeat} from '@agoric/zoe';
|
|
13
14
|
*/
|
|
14
15
|
|
|
15
16
|
/**
|
|
@@ -8,8 +8,27 @@ import type { Timestamp } from '@agoric/time';
|
|
|
8
8
|
import type { QueryManyFn } from '@agoric/vats/src/localchain.js';
|
|
9
9
|
import type { ResolvedPublicTopic } from '@agoric/zoe/src/contractSupport/topics.js';
|
|
10
10
|
import type { Passable } from '@endo/marshal';
|
|
11
|
-
import type {
|
|
11
|
+
import type { SendOptions } from '@agoric/network';
|
|
12
|
+
import type { AgoricChainMethods, CosmosChainAccountMethods, CosmosChainInfo, IBCMsgTransferOptions, KnownChains, LocalAccountMethods, ICQQueryFunction, KnownNamespace, NobleMethods, Bech32Address, ProgressTracker } from './types.js';
|
|
12
13
|
import type { ResolvedContinuingOfferResult } from './utils/zoe-tools.js';
|
|
14
|
+
export type OrchestrationOptions = {
|
|
15
|
+
progressTracker?: ProgressTracker;
|
|
16
|
+
};
|
|
17
|
+
export type PacketOptions = OrchestrationOptions & {
|
|
18
|
+
sendOpts?: SendOptions;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Options relevant to all queries (non-mutating).
|
|
22
|
+
*/
|
|
23
|
+
export type QuerierOptions = PacketOptions & {
|
|
24
|
+
queryOpts?: Record<string, any>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Options relevant to all actions (mutating).
|
|
28
|
+
*/
|
|
29
|
+
export type ActionOptions = PacketOptions & {
|
|
30
|
+
txOpts?: Record<string, any>;
|
|
31
|
+
};
|
|
13
32
|
/**
|
|
14
33
|
* A denom that designates a path to a token type on some blockchain.
|
|
15
34
|
*
|
|
@@ -44,7 +63,7 @@ export type AmountArg = DenomAmount | Amount<'nat'>;
|
|
|
44
63
|
* and they use `chain_id`/`chainId` for what CAIP-2 calls the `reference`. We
|
|
45
64
|
* qualify the term here to avoid confusion.
|
|
46
65
|
*
|
|
47
|
-
* @see {@link https://chainagnostic.org/CAIPs/caip-2}
|
|
66
|
+
* @see {@link https://standards.chainagnostic.org/CAIPs/caip-2}
|
|
48
67
|
*/
|
|
49
68
|
export type CaipChainId = `${string}:${string}`;
|
|
50
69
|
/**
|
|
@@ -54,9 +73,13 @@ export type CaipChainId = `${string}:${string}`;
|
|
|
54
73
|
* chain_id: [-a-z0-9]{3,8}:[-_a-zA-Z0-9]{1,32} (See [CAIP-2][])
|
|
55
74
|
* account_address: [-.%a-zA-Z0-9]{1,128}
|
|
56
75
|
*
|
|
57
|
-
* @see {@link https://chainagnostic.org/CAIPs/caip-10}
|
|
76
|
+
* @see {@link https://standards.chainagnostic.org/CAIPs/caip-10}
|
|
58
77
|
*/
|
|
59
78
|
export type AccountId = `${CaipChainId}:${string}`;
|
|
79
|
+
/**
|
|
80
|
+
* Rough approximation for `/0x([0-9a-fA-F]{2})+/`
|
|
81
|
+
*/
|
|
82
|
+
export type HexAddress = `0x${string}`;
|
|
60
83
|
/**
|
|
61
84
|
* Specific to Cosmos chains
|
|
62
85
|
* @see {AccountId} for universal account identifier
|
|
@@ -70,7 +93,7 @@ export type CosmosChainAddress = {
|
|
|
70
93
|
};
|
|
71
94
|
/**
|
|
72
95
|
* Info used to identify blockchains across ecosystems
|
|
73
|
-
* @see {@link https://chainagnostic.org/CAIPs/caip-2}
|
|
96
|
+
* @see {@link https://standards.chainagnostic.org/CAIPs/caip-2}
|
|
74
97
|
*/
|
|
75
98
|
export interface BaseChainInfo<N extends KnownNamespace = KnownNamespace> {
|
|
76
99
|
/** CAIP-2 namespace, e.g. 'cosmos', 'eip155' */
|
|
@@ -117,7 +140,7 @@ export interface Chain<CI extends Partial<ChainInfo>> {
|
|
|
117
140
|
* Creates a new Orchestration Account on the current Chain.
|
|
118
141
|
* @returns an object that controls the account
|
|
119
142
|
*/
|
|
120
|
-
makeAccount: () => CI extends {
|
|
143
|
+
makeAccount: (opts?: OrchestrationOptions) => CI extends {
|
|
121
144
|
chainId: string;
|
|
122
145
|
} ? Promise<OrchestrationAccount<CI>> : never;
|
|
123
146
|
query: CI extends {
|
|
@@ -176,46 +199,53 @@ export interface OrchestrationAccountCommon {
|
|
|
176
199
|
*
|
|
177
200
|
* @throws when prohibited (see `icqEnabled` in {@link CosmosChainInfo})
|
|
178
201
|
*/
|
|
179
|
-
getBalances: () => Promise<DenomAmount[]>;
|
|
202
|
+
getBalances: (opts?: QuerierOptions) => Promise<DenomAmount[]>;
|
|
180
203
|
/**
|
|
181
204
|
* @returns the balance of a specific denom for the account.
|
|
182
205
|
*
|
|
183
206
|
* @throws when prohibited (see `icqEnabled` in {@link CosmosChainInfo})
|
|
184
207
|
*/
|
|
185
|
-
getBalance: (denom: DenomArg) => Promise<DenomAmount>;
|
|
208
|
+
getBalance: (denom: DenomArg, opts?: QuerierOptions) => Promise<DenomAmount>;
|
|
209
|
+
/**
|
|
210
|
+
* @returns a progressTracker that can be used to give incremental updates to an
|
|
211
|
+
* orchestration client.
|
|
212
|
+
*/
|
|
213
|
+
makeProgressTracker: () => ProgressTracker;
|
|
186
214
|
/**
|
|
187
215
|
* Transfer amount to another account on the same chain. The promise settles when the transfer is complete.
|
|
188
216
|
* @param toAccount - the account to send the amount to. MUST be on the same chain
|
|
189
217
|
* @param amount - the amount to send
|
|
190
|
-
* @
|
|
218
|
+
* @param [opts] - transaction submission options
|
|
219
|
+
* @returns unknown
|
|
191
220
|
*/
|
|
192
|
-
send: (toAccount: AccountIdArg, amount: AmountArg) => Promise<
|
|
221
|
+
send: (toAccount: AccountIdArg, amount: AmountArg, opts?: ActionOptions) => Promise<unknown>;
|
|
193
222
|
/**
|
|
194
223
|
* Transfer multiple amounts to another account on the same chain. The promise settles when the transfer is complete.
|
|
195
224
|
* @param toAccount - the account to send the amount to. MUST be on the same chain
|
|
196
225
|
* @param amounts - the amounts to send
|
|
197
|
-
* @
|
|
226
|
+
* @param [opts] - transaction submission options
|
|
227
|
+
* @returns unknown
|
|
198
228
|
*/
|
|
199
|
-
sendAll: (toAccount: CosmosChainAddress, amounts: AmountArg[]) => Promise<
|
|
229
|
+
sendAll: (toAccount: CosmosChainAddress, amounts: AmountArg[], opts?: ActionOptions) => Promise<unknown>;
|
|
200
230
|
/**
|
|
201
231
|
* Transfer an amount to another account, typically on another chain.
|
|
202
232
|
* The promise settles when the transfer is complete.
|
|
203
233
|
* @param amount - the amount to transfer. Can be provided as pure data using denoms or as ERTP Amounts.
|
|
204
234
|
* @param destination - the account to transfer the amount to.
|
|
205
235
|
* @param [opts] - an optional memo to include with the transfer, which could drive custom PFM behavior, and timeout parameters
|
|
206
|
-
* @returns
|
|
236
|
+
* @returns {Promise<unknown>} The promise fulfills with the successful acknowledgement of the transfer
|
|
207
237
|
* @throws {Error} if route is not determinable, asset is not recognized, or
|
|
208
|
-
* the transfer is rejected (insufficient funds, timeout)
|
|
238
|
+
* the transfer is rejected (insufficient funds, timeout, error ack)
|
|
209
239
|
*/
|
|
210
|
-
transfer: (destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions) => Promise<
|
|
240
|
+
transfer: (destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions) => Promise<unknown>;
|
|
211
241
|
/**
|
|
212
242
|
* Transfer an amount to another account in multiple steps. The promise settles when
|
|
213
243
|
* the entire path of the transfer is complete.
|
|
214
244
|
* @param amount - the amount to transfer
|
|
215
245
|
* @param msg - the transfer message, including follow-up steps
|
|
216
|
-
* @returns
|
|
246
|
+
* @returns unknown
|
|
217
247
|
*/
|
|
218
|
-
transferSteps: (amount: AmountArg, msg: TransferMsg) => Promise<
|
|
248
|
+
transferSteps: (amount: AmountArg, msg: TransferMsg) => Promise<unknown>;
|
|
219
249
|
/**
|
|
220
250
|
* Returns `invitationMakers` and `publicSubscribers` to the account
|
|
221
251
|
* holder's smart wallet so they can continue interacting with the account
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-api.d.ts","sourceRoot":"","sources":["orchestration-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,aAAa,
|
|
1
|
+
{"version":3,"file":"orchestration-api.d.ts","sourceRoot":"","sources":["orchestration-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,YA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