@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
|
@@ -11,10 +11,12 @@ import * as flows from './auto-stake-it.flows.js';
|
|
|
11
11
|
import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
+
* @import {Remote} from '@agoric/internal';
|
|
14
15
|
* @import {Zone} from '@agoric/zone';
|
|
15
16
|
* @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
|
|
16
17
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '../types.js';
|
|
17
18
|
* @import {ZCF} from '@agoric/zoe';
|
|
19
|
+
* @import {Marshaller} from '@agoric/internal/src/lib-chainStorage.js';
|
|
18
20
|
*/
|
|
19
21
|
|
|
20
22
|
/**
|
|
@@ -25,7 +27,7 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
|
|
|
25
27
|
*
|
|
26
28
|
* @param {ZCF} zcf
|
|
27
29
|
* @param {OrchestrationPowers & {
|
|
28
|
-
* marshaller: Marshaller
|
|
30
|
+
* marshaller: Remote<Marshaller>;
|
|
29
31
|
* chainInfo?: Record<string, CosmosChainInfo>;
|
|
30
32
|
* assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
|
|
31
33
|
* }} privateArgs
|
|
@@ -10,7 +10,7 @@ export function makeAccounts(orch: Orchestrator, { makeStakingTap, makePortfolio
|
|
|
10
10
|
[k: string]: ResolvedPublicTopic<unknown>;
|
|
11
11
|
};
|
|
12
12
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
13
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
13
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<import("@agoric/zoe").Invitation<unknown, IA>>;
|
|
14
14
|
}>;
|
|
15
15
|
}>>;
|
|
16
16
|
import type { Orchestrator } from '@agoric/orchestration';
|
|
@@ -18,6 +18,7 @@ import type { MakeStakingTap } from './auto-stake-it-tap-kit.js';
|
|
|
18
18
|
import type { MakePortfolioHolder } from '../exos/portfolio-holder-kit.js';
|
|
19
19
|
import type { ChainHub } from '../exos/chain-hub.js';
|
|
20
20
|
import type { GuestInterface } from '@agoric/async-flow';
|
|
21
|
+
import type { ZCFSeat } from '@agoric/zoe';
|
|
21
22
|
import type { CosmosValidatorAddress } from '@agoric/orchestration';
|
|
22
23
|
import type { ResolvedPublicTopic } from '@agoric/zoe/src/contractSupport/topics.js';
|
|
23
24
|
//# sourceMappingURL=auto-stake-it.flows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-stake-it.flows.d.ts","sourceRoot":"","sources":["auto-stake-it.flows.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auto-stake-it.flows.d.ts","sourceRoot":"","sources":["auto-stake-it.flows.js"],"names":[],"mappings":"AA2BO,mCAZI,YAAY,qDACZ;IACN,cAAc,EAAE,cAAc,CAAC;IAC/B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,QAAQ,EAAE,eAAe,QAAQ,CAAC,CAAC;CACpC,QACO,OAAO,4BACP;IACN,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,sBAAsB,CAAC;CACnC;;;;;;;IA4EH;kCA/FsJ,uBAAuB;oCAC7I,4BAA4B;yCACvB,iCAAiC;8BAC5C,sBAAsB;oCAJhB,oBAAoB;6BAK3B,aAAa;4CAJgH,uBAAuB;yCAFxI,2CAA2C"}
|
|
@@ -8,6 +8,7 @@ import { denomHash } from '../utils/denomHash.js';
|
|
|
8
8
|
* @import {MakeStakingTap} from './auto-stake-it-tap-kit.js';
|
|
9
9
|
* @import {MakePortfolioHolder} from '../exos/portfolio-holder-kit.js';
|
|
10
10
|
* @import {ChainHub} from '../exos/chain-hub.js';
|
|
11
|
+
* @import {ZCFSeat} from '@agoric/zoe';
|
|
11
12
|
*/
|
|
12
13
|
|
|
13
14
|
/**
|
|
@@ -29,11 +29,11 @@ export function prepareEvmAccountKit(zone: Zone, { zcf, vowTools, log, zoeTools
|
|
|
29
29
|
* Sends tokens from the local account to a specified Cosmos chain
|
|
30
30
|
* address.
|
|
31
31
|
*
|
|
32
|
-
* @param {
|
|
33
|
-
* @param {
|
|
32
|
+
* @param {CosmosChainAddress} toAccount
|
|
33
|
+
* @param {AmountArg} amount
|
|
34
34
|
* @returns {Promise<string>} A success message upon completion.
|
|
35
35
|
*/
|
|
36
|
-
send(toAccount:
|
|
36
|
+
send(toAccount: CosmosChainAddress, amount: AmountArg): Promise<string>;
|
|
37
37
|
/**
|
|
38
38
|
* @param {ZCFSeat} seat
|
|
39
39
|
* @param {{
|
|
@@ -58,7 +58,7 @@ export function prepareEvmAccountKit(zone: Zone, { zcf, vowTools, log, zoeTools
|
|
|
58
58
|
fundLCA(seat: ZCFSeat, give: any): Vow<void>;
|
|
59
59
|
};
|
|
60
60
|
invitationMakers: {
|
|
61
|
-
makeEVMTransactionInvitation(method: any, args: any): Promise<
|
|
61
|
+
makeEVMTransactionInvitation(method: any, args: any): Promise<import("@agoric/zoe").Invitation<string | void, undefined>>;
|
|
62
62
|
};
|
|
63
63
|
}>;
|
|
64
64
|
export type ContractCall = ContractCall;
|
|
@@ -71,6 +71,8 @@ import type { Vow } from '@agoric/vow';
|
|
|
71
71
|
import type { ZoeTools } from '../utils/zoe-tools.js';
|
|
72
72
|
import type { EvmTapState } from '../axelar-types.js';
|
|
73
73
|
import type { VTransferIBCEvent } from '@agoric/vats';
|
|
74
|
+
import type { CosmosChainAddress } from '@agoric/orchestration';
|
|
75
|
+
import type { AmountArg } from '@agoric/orchestration';
|
|
74
76
|
import type { ZCFSeat } from '@agoric/zoe';
|
|
75
77
|
import type { GMPMessageType } from '../axelar-types.js';
|
|
76
78
|
import type { SupportedEVMChains } from '../axelar-types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axelar-gmp-account-kit.d.ts","sourceRoot":"","sources":["axelar-gmp-account-kit.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"axelar-gmp-account-kit.d.ts","sourceRoot":"","sources":["axelar-gmp-account-kit.js"],"names":[],"mappings":"AAoEO,2CARI,IAAI,oCACJ;IACN,GAAG,EAAE,GAAG,CAAC;IACT,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,CAAC;IAChC,QAAQ,EAAE,QAAQ,CAAC;CACpB;;QAwCI;;;;;;;;;;;;WAYG;6BADQ,iBAAiB;;;;;;;QA8E5B;;;;;;;WAOG;wBAHQ,kBAAkB,UAClB,SAAS,GACP,OAAO,CAAC,MAAM,CAAC;QAO5B;;;;;;;;;WASG;sBARQ,OAAO,aACP;YACN,kBAAkB,EAAE,MAAM,CAAC;YAC3B,IAAI,EAAE,cAAc,CAAC;YACrB,mBAAmB,EAAE,kBAAkB,CAAC;YACxC,SAAS,EAAE,MAAM,CAAC;YAClB,sBAAsB,EAAE,YAAY,EAAE,CAAC;SACxC;QA4FJ;;;WAGG;sBAFQ,OAAO,QACP,GAAG;;;;;GAoErB;2BA5Wa,YAAY;gCA8WZ,UAAU,CAAC,OAAO,oBAAoB,CAAC;4BACvC,UAAU,CAAC,iBAAiB,CAAC;0BA1XpB,cAAc;yBAKN,aAAa;8BANZ,aAAa;yBAAb,aAAa;8BAIlB,uBAAuB;iCACqC,oBAAoB;uCANvE,cAAc;wCASb,uBAAuB;+BAChC,uBAAuB;6BAHpB,aAAa;oCACY,oBAAoB;wCAFW,oBAAoB;kCAApB,oBAAoB"}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* @import {AxelarGmpIncomingMemo, EvmTapState, ContractCall, SupportedEVMChains} from '../axelar-types.js';
|
|
9
9
|
* @import {ZCF, ZCFSeat} from '@agoric/zoe';
|
|
10
10
|
* @import {AxelarGmpOutgoingMemo, GMPMessageType} from '../axelar-types.js'
|
|
11
|
+
* @import {CosmosChainAddress} from '@agoric/orchestration';
|
|
12
|
+
* @import {AmountArg} from '@agoric/orchestration';
|
|
11
13
|
*/
|
|
12
14
|
|
|
13
15
|
/** @typedef {ContractCall} ContractCall */
|
|
@@ -195,8 +197,8 @@ export const prepareEvmAccountKit = (
|
|
|
195
197
|
* Sends tokens from the local account to a specified Cosmos chain
|
|
196
198
|
* address.
|
|
197
199
|
*
|
|
198
|
-
* @param {
|
|
199
|
-
* @param {
|
|
200
|
+
* @param {CosmosChainAddress} toAccount
|
|
201
|
+
* @param {AmountArg} amount
|
|
200
202
|
* @returns {Promise<string>} A success message upon completion.
|
|
201
203
|
*/
|
|
202
204
|
async send(toAccount, amount) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
|
|
2
|
-
marshaller: Marshaller
|
|
2
|
+
marshaller: Remote<Marshaller>;
|
|
3
3
|
chainInfo?: Record<string, CosmosChainInfo>;
|
|
4
4
|
assetInfo?: [Denom, DenomDetail & {
|
|
5
5
|
brandKey?: string;
|
|
@@ -7,9 +7,9 @@ export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
|
|
|
7
7
|
storageNode: Remote<StorageNode>;
|
|
8
8
|
}, zone: Zone, { chainHub, orchestrateAll, vowTools, zoeTools }: OrchestrationTools): Promise<{
|
|
9
9
|
publicFacet: import("@endo/exo").Guarded<{
|
|
10
|
-
createAndMonitorLCA(): Promise<
|
|
10
|
+
createAndMonitorLCA(): Promise<import("@agoric/zoe").Invitation<Vow<{
|
|
11
11
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
12
|
-
makeEVMTransactionInvitation(method: any, args: any): Promise<
|
|
12
|
+
makeEVMTransactionInvitation(method: any, args: any): Promise<import("@agoric/zoe").Invitation<string | void, undefined>>;
|
|
13
13
|
}>;
|
|
14
14
|
}>, undefined>>;
|
|
15
15
|
}>;
|
|
@@ -19,17 +19,17 @@ export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
|
|
|
19
19
|
}>;
|
|
20
20
|
}>;
|
|
21
21
|
export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
|
|
22
|
-
marshaller: Marshaller
|
|
22
|
+
marshaller: Remote<Marshaller>;
|
|
23
23
|
chainInfo?: Record<string, CosmosChainInfo>;
|
|
24
24
|
assetInfo?: [Denom, DenomDetail & {
|
|
25
25
|
brandKey?: string;
|
|
26
26
|
}][];
|
|
27
27
|
storageNode: Remote<StorageNode>;
|
|
28
|
-
}, baggage: Baggage) => Promise<{
|
|
28
|
+
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
29
29
|
publicFacet: import("@endo/exo").Guarded<{
|
|
30
|
-
createAndMonitorLCA(): Promise<
|
|
30
|
+
createAndMonitorLCA(): Promise<import("@agoric/zoe").Invitation<Vow<{
|
|
31
31
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
32
|
-
makeEVMTransactionInvitation(method: any, args: any): Promise<
|
|
32
|
+
makeEVMTransactionInvitation(method: any, args: any): Promise<import("@agoric/zoe").Invitation<string | void, undefined>>;
|
|
33
33
|
}>;
|
|
34
34
|
}>, undefined>>;
|
|
35
35
|
}>;
|
|
@@ -41,11 +41,11 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
41
41
|
import type { ZCF } from '@agoric/zoe';
|
|
42
42
|
import type { OrchestrationPowers } from '../utils/start-helper.js';
|
|
43
43
|
import type { Marshaller } from '@agoric/internal/src/lib-chainStorage.js';
|
|
44
|
+
import type { Remote } from '@agoric/vow';
|
|
44
45
|
import type { CosmosChainInfo } from '@agoric/orchestration';
|
|
45
46
|
import type { Denom } from '@agoric/orchestration';
|
|
46
47
|
import type { DenomDetail } from '@agoric/orchestration';
|
|
47
48
|
import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
|
|
48
|
-
import type { Remote } from '@agoric/vow';
|
|
49
49
|
import type { Zone } from '@agoric/zone';
|
|
50
50
|
import type { OrchestrationTools } from '../utils/start-helper.js';
|
|
51
51
|
import type { Vow } from '@agoric/vow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axelar-gmp.contract.d.ts","sourceRoot":"","sources":["axelar-gmp.contract.js"],"names":[],"mappings":"AAiCO,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,UAAU,EAAE,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"axelar-gmp.contract.d.ts","sourceRoot":"","sources":["axelar-gmp.contract.js"],"names":[],"mappings":"AAiCO,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAClC,QACO,IAAI,oDACJ,kBAAkB;;;;;;;;;;;;GA8D5B;AAGD;gBAvEiB,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;iBAC7C,OAAO,WAAW,CAAC;;;;;;;;;;;;;GAoEY;yBAjFlB,aAAa;yCAHc,0BAA0B;gCAE1C,0CAA0C;4BAJtD,aAAa;qCAGW,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB;iCACnC,0CAA0C;0BAH7D,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
|
|
@@ -13,7 +13,7 @@ import * as evmFlows from './axelar-gmp.flows.js';
|
|
|
13
13
|
* @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
|
|
14
14
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
|
|
15
15
|
* @import {Marshaller, StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
16
|
-
* @import {ZCF} from '@agoric/zoe';
|
|
16
|
+
* @import {ZCF, ZCFSeat} from '@agoric/zoe';
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
const trace = makeTracer('AxelarGmp');
|
|
@@ -23,7 +23,7 @@ const trace = makeTracer('AxelarGmp');
|
|
|
23
23
|
*
|
|
24
24
|
* @param {ZCF} zcf
|
|
25
25
|
* @param {OrchestrationPowers & {
|
|
26
|
-
* marshaller: Marshaller
|
|
26
|
+
* marshaller: Remote<Marshaller>;
|
|
27
27
|
* chainInfo?: Record<string, CosmosChainInfo>;
|
|
28
28
|
* assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
|
|
29
29
|
* storageNode: Remote<StorageNode>;
|
|
@@ -6,7 +6,7 @@ export function createAndMonitorLCA(orch: Orchestrator, { makeEvmAccountKit, cha
|
|
|
6
6
|
withdrawToSeat: GuestOf<(localAccount: LocalAccountMethods, destSeat: ZCFSeat, amounts: AmountKeywordRecord) => Vow<void>>;
|
|
7
7
|
}, seat: ZCFSeat): Promise<{
|
|
8
8
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
9
|
-
makeEVMTransactionInvitation(method: any, args: any): Promise<
|
|
9
|
+
makeEVMTransactionInvitation(method: any, args: any): Promise<import("@agoric/zoe").Invitation<string | void, undefined>>;
|
|
10
10
|
}>;
|
|
11
11
|
}>;
|
|
12
12
|
import type { Orchestrator } from '@agoric/orchestration';
|
|
@@ -1,20 +1,20 @@
|
|
|
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
|
-
makeOrchAccountInvitation(): Promise<
|
|
9
|
+
makeOrchAccountInvitation(): Promise<import("@agoric/zoe").Invitation<import("@agoric/vow").Vow<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>, {
|
|
10
10
|
chainName: string;
|
|
11
11
|
}>>;
|
|
12
|
-
makePortfolioAccountInvitation(): Promise<
|
|
12
|
+
makePortfolioAccountInvitation(): Promise<import("@agoric/zoe").Invitation<import("@agoric/vow").Vow<import("@agoric/vow").Vow<{
|
|
13
13
|
publicSubscribers: {
|
|
14
14
|
[k: string]: import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>;
|
|
15
15
|
};
|
|
16
16
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
17
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
17
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<import("@agoric/zoe").Invitation<unknown, IA>>;
|
|
18
18
|
}>;
|
|
19
19
|
}>>, {
|
|
20
20
|
chainNames: string[];
|
|
@@ -24,6 +24,8 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
24
24
|
export type BasicFlowsSF = typeof start;
|
|
25
25
|
import type { ZCF } from '@agoric/zoe';
|
|
26
26
|
import type { OrchestrationPowers } from '../utils/start-helper.js';
|
|
27
|
+
import type { Marshaller } from '@agoric/internal/src/lib-chainStorage.js';
|
|
28
|
+
import type { Remote } from '@agoric/internal';
|
|
27
29
|
import type { CosmosChainInfo } from '@agoric/orchestration';
|
|
28
30
|
import type { Denom } from '@agoric/orchestration';
|
|
29
31
|
import type { DenomDetail } from '@agoric/orchestration';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-flows.contract.d.ts","sourceRoot":"","sources":["basic-flows.contract.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"basic-flows.contract.d.ts","sourceRoot":"","sources":["basic-flows.contract.js"],"names":[],"mappings":"AA2EA;gBApDiB,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;;;;;;;;;;;;;;;;;GAkDgB;2BAGjE,OAAO,KAAK;yBA/DJ,aAAa;yCACuB,0BAA0B;gCACvD,0CAA0C;4BAL9C,kBAAkB;qCAEW,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
|
|
@@ -10,16 +10,18 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
|
|
|
10
10
|
import * as flows from './basic-flows.flows.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
+
* @import {Remote} from '@agoric/internal';
|
|
13
14
|
* @import {Zone} from '@agoric/zone';
|
|
14
15
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
|
|
15
16
|
* @import {ZCF} from '@agoric/zoe';
|
|
16
17
|
* @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
|
|
18
|
+
* @import {Marshaller} from '@agoric/internal/src/lib-chainStorage.js';
|
|
17
19
|
*/
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
22
|
* @param {ZCF} zcf
|
|
21
23
|
* @param {OrchestrationPowers & {
|
|
22
|
-
* marshaller: Marshaller
|
|
24
|
+
* marshaller: Remote<Marshaller>;
|
|
23
25
|
* chainInfo?: Record<string, CosmosChainInfo>;
|
|
24
26
|
* assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
|
|
25
27
|
* }} privateArgs
|
|
@@ -10,10 +10,11 @@ export function makePortfolioAccount(orch: Orchestrator, { makePortfolioHolder }
|
|
|
10
10
|
[k: string]: ResolvedPublicTopic<unknown>;
|
|
11
11
|
};
|
|
12
12
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
13
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
13
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<import("@agoric/zoe").Invitation<unknown, IA>>;
|
|
14
14
|
}>;
|
|
15
15
|
}>>;
|
|
16
16
|
import type { Orchestrator } from '@agoric/orchestration';
|
|
17
|
+
import type { ZCFSeat } from '@agoric/zoe';
|
|
17
18
|
import type { MakePortfolioHolder } from '../exos/portfolio-holder-kit.js';
|
|
18
19
|
import type { ResolvedPublicTopic } from '@agoric/zoe/src/contractSupport/topics.js';
|
|
19
20
|
//# sourceMappingURL=basic-flows.flows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-flows.flows.d.ts","sourceRoot":"","sources":["basic-flows.flows.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"basic-flows.flows.d.ts","sourceRoot":"","sources":["basic-flows.flows.js"],"names":[],"mappings":"AA2BO,sCALI,YAAY,QACZ,GAAG,QACH,OAAO,iBACP;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,0EAS/B;AAgBM,2CANI,YAAY,2BAEpB;IAAiC,mBAAmB,EAA5C,mBAAmB;CAC3B,QAAQ,OAAO,kBACP;IAAE,UAAU,EAAE,MAAM,EAAE,CAAA;CAAE;;;;;;;IAmClC;kCAxEuE,uBAAuB;6BAGrE,aAAa;yCADD,iCAAiC;yCADjC,2CAA2C"}
|
|
@@ -12,6 +12,7 @@ const trace = makeTracer('BasicFlows');
|
|
|
12
12
|
* @import {OrchestrationAccount, OrchestrationFlow, Orchestrator} from '@agoric/orchestration';
|
|
13
13
|
* @import {ResolvedPublicTopic} from '@agoric/zoe/src/contractSupport/topics.js';
|
|
14
14
|
* @import {MakePortfolioHolder} from '../exos/portfolio-holder-kit.js';
|
|
15
|
+
* @import {ZCFSeat} from '@agoric/zoe';
|
|
15
16
|
*/
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* @import {Zone} from '@agoric/zone';
|
|
4
4
|
* @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
|
|
5
5
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
|
|
6
|
+
* @import {ZCF} from '@agoric/zoe';
|
|
7
|
+
* @import {Marshaller} from '@agoric/internal/src/lib-chainStorage.js';
|
|
8
|
+
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
6
9
|
*/
|
|
7
10
|
export const SingleNatAmountRecord: import("@endo/patterns").Matcher;
|
|
8
11
|
export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
|
|
@@ -10,11 +13,11 @@ export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
|
|
|
10
13
|
brandKey?: string;
|
|
11
14
|
}][];
|
|
12
15
|
chainInfo?: Record<string, CosmosChainInfo>;
|
|
13
|
-
marshaller: Marshaller
|
|
16
|
+
marshaller: Remote<Marshaller>;
|
|
14
17
|
storageNode: Remote<StorageNode>;
|
|
15
18
|
}, zone: Zone, { chainHub, orchestrate, vowTools, zoeTools }: OrchestrationTools): Promise<{
|
|
16
19
|
publicFacet: import("@endo/exo").Guarded<{
|
|
17
|
-
makeSendInvitation(): Promise<
|
|
20
|
+
makeSendInvitation(): Promise<import("@agoric/zoe").Invitation<Vow<undefined>, {
|
|
18
21
|
chainName: string;
|
|
19
22
|
destAddr: string;
|
|
20
23
|
}>>;
|
|
@@ -24,16 +27,16 @@ export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
|
|
|
24
27
|
registerAsset(denom: Denom, detail: DenomDetail): Promise<void>;
|
|
25
28
|
}>;
|
|
26
29
|
}>;
|
|
27
|
-
export const start: (zcf:
|
|
30
|
+
export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
|
|
28
31
|
assetInfo?: [Denom, DenomDetail & {
|
|
29
32
|
brandKey?: string;
|
|
30
33
|
}][];
|
|
31
34
|
chainInfo?: Record<string, CosmosChainInfo>;
|
|
32
|
-
marshaller: Marshaller
|
|
35
|
+
marshaller: Remote<Marshaller>;
|
|
33
36
|
storageNode: Remote<StorageNode>;
|
|
34
|
-
}, baggage: Baggage) => Promise<{
|
|
37
|
+
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
35
38
|
publicFacet: import("@endo/exo").Guarded<{
|
|
36
|
-
makeSendInvitation(): Promise<
|
|
39
|
+
makeSendInvitation(): Promise<import("@agoric/zoe").Invitation<Vow<undefined>, {
|
|
37
40
|
chainName: string;
|
|
38
41
|
destAddr: string;
|
|
39
42
|
}>>;
|
|
@@ -43,11 +46,14 @@ export const start: (zcf: globalThis.ZCF<Record<string, unknown>>, privateArgs:
|
|
|
43
46
|
registerAsset(denom: Denom, detail: DenomDetail): Promise<void>;
|
|
44
47
|
}>;
|
|
45
48
|
}>;
|
|
49
|
+
import type { ZCF } from '@agoric/zoe';
|
|
46
50
|
import type { OrchestrationPowers } from '../utils/start-helper.js';
|
|
47
51
|
import type { Denom } from '@agoric/orchestration';
|
|
48
52
|
import type { DenomDetail } from '@agoric/orchestration';
|
|
49
53
|
import type { CosmosChainInfo } from '@agoric/orchestration';
|
|
54
|
+
import type { Marshaller } from '@agoric/internal/src/lib-chainStorage.js';
|
|
50
55
|
import type { Remote } from '@agoric/vow';
|
|
56
|
+
import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
|
|
51
57
|
import type { Zone } from '@agoric/zone';
|
|
52
58
|
import type { OrchestrationTools } from '../utils/start-helper.js';
|
|
53
59
|
import type { Vow } from '@agoric/vow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-anywhere.contract.d.ts","sourceRoot":"","sources":["send-anywhere.contract.js"],"names":[],"mappings":"AAaA
|
|
1
|
+
{"version":3,"file":"send-anywhere.contract.d.ts","sourceRoot":"","sources":["send-anywhere.contract.js"],"names":[],"mappings":"AAaA;;;;;;;;GAQG;AAEH,qEAKE;AAoBK,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAClC,QACO,IAAI,iDACJ,kBAAkB;;;;;;;;;;;GAoF5B;AAGD;gBA7FiB,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;gBAC9C,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,OAAO,UAAU,CAAC;iBACjB,OAAO,WAAW,CAAC;;;;;;;;;;;;GA0F0C;yBAnHzD,aAAa;yCAFuB,0BAA0B;2BAC9B,uBAAuB;iCAAvB,uBAAuB;qCAAvB,uBAAuB;gCAEhD,0CAA0C;4BALzC,aAAa;iCAMb,0CAA0C;0BALjD,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
|
|
@@ -16,6 +16,9 @@ import * as sharedFlows from './shared.flows.js';
|
|
|
16
16
|
* @import {Zone} from '@agoric/zone';
|
|
17
17
|
* @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
|
|
18
18
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
|
|
19
|
+
* @import {ZCF} from '@agoric/zoe';
|
|
20
|
+
* @import {Marshaller} from '@agoric/internal/src/lib-chainStorage.js';
|
|
21
|
+
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
19
22
|
*/
|
|
20
23
|
|
|
21
24
|
export const SingleNatAmountRecord = M.and(
|
|
@@ -37,7 +40,7 @@ harden(SingleNatAmountRecord);
|
|
|
37
40
|
* @param {OrchestrationPowers & {
|
|
38
41
|
* assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
|
|
39
42
|
* chainInfo?: Record<string, CosmosChainInfo>;
|
|
40
|
-
* marshaller: Marshaller
|
|
43
|
+
* marshaller: Remote<Marshaller>;
|
|
41
44
|
* storageNode: Remote<StorageNode>;
|
|
42
45
|
* }} privateArgs
|
|
43
46
|
* @param {Zone} zone
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function makeNobleAccount(orch: Orchestrator): Promise<import("../orchestration-api.
|
|
1
|
+
export function makeNobleAccount(orch: Orchestrator): Promise<import("../orchestration-api.js").OrchestrationAccount<{
|
|
2
2
|
readonly bech32Prefix: "noble";
|
|
3
3
|
readonly chainId: "noble-1";
|
|
4
4
|
readonly icqEnabled: false;
|
|
@@ -555,7 +555,7 @@ export function makeNobleAccount(orch: Orchestrator): Promise<import("../orchest
|
|
|
555
555
|
export function sendIt(orch: Orchestrator, { chainHub, sharedLocalAccountP, log, nobleAccountP, USDC, zoeTools: { localTransfer, withdrawToSeat }, }: {
|
|
556
556
|
chainHub: GuestInterface<ChainHub>;
|
|
557
557
|
sharedLocalAccountP: Promise<GuestInterface<LocalOrchestrationAccountKit["holder"]>>;
|
|
558
|
-
nobleAccountP: Promise<GuestInterface<
|
|
558
|
+
nobleAccountP: Promise<GuestInterface<CosmosOrchestrationAccountKit["holder"]>>;
|
|
559
559
|
zoeTools: GuestInterface<ZoeTools>;
|
|
560
560
|
log: GuestOf<(msg: string) => Vow<void>>;
|
|
561
561
|
USDC: Brand;
|
|
@@ -567,6 +567,7 @@ import type { Orchestrator } from '../types.js';
|
|
|
567
567
|
import type { ChainHub } from '../types.js';
|
|
568
568
|
import type { GuestInterface } from '@agoric/async-flow';
|
|
569
569
|
import type { LocalOrchestrationAccountKit } from '../exos/local-orchestration-account.js';
|
|
570
|
+
import type { CosmosOrchestrationAccountKit } from '../exos/cosmos-orchestration-account.js';
|
|
570
571
|
import type { ZoeTools } from '../utils/zoe-tools.js';
|
|
571
572
|
import type { Vow } from '@agoric/vow';
|
|
572
573
|
import type { GuestOf } from '@agoric/async-flow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-anywhere.flows.d.ts","sourceRoot":"","sources":["send-anywhere.flows.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-anywhere.flows.d.ts","sourceRoot":"","sources":["send-anywhere.flows.js"],"names":[],"mappings":"AAyBO,uCAFI,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKtB;AA0BM,6BAXI,YAAY,6GAEpB;IAAsC,QAAQ,EAAtC,eAAe,QAAQ,CAAC;IAC6C,mBAAmB,EAAxF,OAAO,CAAC,eAAe,4BAA4B,CAAC,QAAQ,CAAC,CAAC,CAAC;IACO,aAAa,EAAnF,OAAO,CAAC,eAAe,6BAA6B,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClC,QAAQ,EAAtC,eAAe,QAAQ,CAAC;IACiB,GAAG,EAA5C,QAAQ,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,CAAC;IACxB,IAAI,EAAf,KAAK;CACb,QAAQ,OAAO,aACP;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,sBA4GjD;kCArJ2F,aAAa;8BAAb,aAAa;oCAN/D,oBAAoB;kDAIf,wCAAwC;mDAIvC,yCAAyC;8BAH9D,uBAAuB;yBAF5B,aAAa;6BAHO,oBAAoB;2BAEtC,cAAc;6BADK,aAAa"}
|
|
@@ -10,7 +10,8 @@ import { M, mustMatch } from '@endo/patterns';
|
|
|
10
10
|
* @import {LocalOrchestrationAccountKit} from '../exos/local-orchestration-account.js';
|
|
11
11
|
* @import {ZoeTools} from '../utils/zoe-tools.js';
|
|
12
12
|
* @import {Orchestrator, OrchestrationFlow, LocalAccountMethods, ChainHub, ChainInfo} from '../types.js';
|
|
13
|
-
* @import {AccountIdArg} from '../orchestration-api.
|
|
13
|
+
* @import {AccountIdArg} from '../orchestration-api.js';
|
|
14
|
+
* @import {CosmosOrchestrationAccountKit} from '../exos/cosmos-orchestration-account.js';
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
const { entries } = Object;
|
|
@@ -44,11 +45,7 @@ const denomForBrand = async (orch, brand) => {
|
|
|
44
45
|
* @param {object} ctx
|
|
45
46
|
* @param {GuestInterface<ChainHub>} ctx.chainHub
|
|
46
47
|
* @param {Promise<GuestInterface<LocalOrchestrationAccountKit['holder']>>} ctx.sharedLocalAccountP
|
|
47
|
-
* @param {Promise<
|
|
48
|
-
* GuestInterface<
|
|
49
|
-
* import('../exos/cosmos-orchestration-account.js').CosmosOrchestrationAccountKit['holder']
|
|
50
|
-
* >
|
|
51
|
-
* >} ctx.nobleAccountP
|
|
48
|
+
* @param {Promise<GuestInterface<CosmosOrchestrationAccountKit['holder']>>} ctx.nobleAccountP
|
|
52
49
|
* @param {GuestInterface<ZoeTools>} ctx.zoeTools
|
|
53
50
|
* @param {GuestOf<(msg: string) => Vow<void>>} ctx.log
|
|
54
51
|
* @param {Brand} ctx.USDC
|