@agoric/orchestration 0.1.1-dev-f8bd523.0.f8bd523 → 0.1.1-dev-c596c96.0.c596c96
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/package.json +24 -16
- package/src/axelar-types.d.ts +1 -1
- package/src/axelar-types.d.ts.map +1 -1
- package/src/axelar-types.js +1 -1
- package/src/cosmos-api.d.ts +3 -24
- package/src/cosmos-api.d.ts.map +1 -1
- package/src/cosmos-api.js +7 -25
- package/src/examples/auto-stake-it-tap-kit.d.ts +1 -1
- package/src/examples/auto-stake-it-tap-kit.d.ts.map +1 -1
- package/src/examples/auto-stake-it-tap-kit.js +2 -1
- package/src/examples/auto-stake-it.contract.d.ts +1 -1
- package/src/examples/stake-ica.contract.d.ts +3 -2
- package/src/examples/stake-ica.contract.d.ts.map +1 -1
- package/src/examples/stake-ica.contract.js +2 -1
- package/src/examples/staking-combinations.contract.d.ts +1 -1
- package/src/exos/chain-hub-admin.d.ts +1 -1
- package/src/exos/chain-hub-admin.d.ts.map +1 -1
- package/src/exos/chain-hub-admin.js +2 -1
- package/src/exos/cosmos-interchain-service.d.ts +1 -1
- package/src/exos/cosmos-interchain-service.d.ts.map +1 -1
- package/src/exos/cosmos-interchain-service.js +1 -2
- package/src/exos/cosmos-orchestration-account.d.ts +4 -4
- package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.js +7 -3
- package/src/exos/exo-interfaces.d.ts +1 -1
- package/src/exos/exo-interfaces.d.ts.map +1 -1
- package/src/exos/exo-interfaces.js +1 -1
- package/src/exos/ica-account-kit.d.ts +3 -3
- package/src/exos/ica-account-kit.d.ts.map +1 -1
- package/src/exos/ica-account-kit.js +1 -1
- package/src/exos/icq-connection-kit.d.ts +3 -3
- package/src/exos/icq-connection-kit.d.ts.map +1 -1
- package/src/exos/icq-connection-kit.js +1 -1
- package/src/exos/local-orchestration-account.d.ts +1 -1
- package/src/exos/local-orchestration-account.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.js +2 -1
- package/src/exos/remote-chain-facade.d.ts +1 -1
- package/src/exos/remote-chain-facade.d.ts.map +1 -1
- package/src/exos/remote-chain-facade.js +6 -2
- package/src/proposals/start-stakeAtom.js +1 -1
- package/src/proposals/start-stakeOsmo.js +1 -1
- package/src/utils/address.d.ts +3 -3
- package/src/utils/address.d.ts.map +1 -1
- package/src/utils/address.js +2 -3
- package/src/utils/orchestrationAccount.d.ts +4 -4
- package/src/utils/orchestrationAccount.d.ts.map +1 -1
- package/src/utils/orchestrationAccount.js +2 -2
- package/src/utils/registry.d.ts.map +1 -1
- package/src/utils/registry.js +2 -2
- package/src/utils/start-helper.d.ts +4 -4
- package/tools/contract-tests.d.ts +6 -5
- package/tools/contract-tests.d.ts.map +1 -1
- package/tools/contract-tests.ts +2 -5
- package/tools/ibc-mocks.d.ts +2 -1
- package/tools/ibc-mocks.d.ts.map +1 -1
- package/tools/ibc-mocks.ts +2 -6
- package/tools/network-fakes.d.ts +2 -1
- package/tools/network-fakes.d.ts.map +1 -1
- package/tools/network-fakes.ts +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-c596c96.0.c596c96",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -35,19 +35,18 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
39
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
40
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
41
|
-
"@agoric/internal": "0.3.3-dev-
|
|
42
|
-
"@agoric/network": "0.1.1-dev-
|
|
43
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
44
|
-
"@agoric/store": "0.9.3-dev-
|
|
45
|
-
"@agoric/time": "0.3.3-dev-
|
|
46
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
47
|
-
"@agoric/
|
|
48
|
-
"@agoric/
|
|
49
|
-
"@agoric/
|
|
50
|
-
"@agoric/zone": "0.2.3-dev-f8bd523.0.f8bd523",
|
|
38
|
+
"@agoric/async-flow": "0.1.1-dev-c596c96.0.c596c96",
|
|
39
|
+
"@agoric/cosmic-proto": "0.4.1-dev-c596c96.0.c596c96",
|
|
40
|
+
"@agoric/ertp": "0.16.3-dev-c596c96.0.c596c96",
|
|
41
|
+
"@agoric/internal": "0.3.3-dev-c596c96.0.c596c96",
|
|
42
|
+
"@agoric/network": "0.1.1-dev-c596c96.0.c596c96",
|
|
43
|
+
"@agoric/notifier": "0.6.3-dev-c596c96.0.c596c96",
|
|
44
|
+
"@agoric/store": "0.9.3-dev-c596c96.0.c596c96",
|
|
45
|
+
"@agoric/time": "0.3.3-dev-c596c96.0.c596c96",
|
|
46
|
+
"@agoric/vat-data": "0.5.3-dev-c596c96.0.c596c96",
|
|
47
|
+
"@agoric/vow": "0.1.1-dev-c596c96.0.c596c96",
|
|
48
|
+
"@agoric/zoe": "0.26.3-dev-c596c96.0.c596c96",
|
|
49
|
+
"@agoric/zone": "0.2.3-dev-c596c96.0.c596c96",
|
|
51
50
|
"@cosmjs/encoding": "^0.36.0",
|
|
52
51
|
"@endo/base64": "^1.0.12",
|
|
53
52
|
"@endo/errors": "^1.2.13",
|
|
@@ -61,7 +60,8 @@
|
|
|
61
60
|
"bs58": "^6.0.0"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
64
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
63
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-c596c96.0.c596c96",
|
|
64
|
+
"@agoric/vats": "0.15.2-dev-c596c96.0.c596c96",
|
|
65
65
|
"@chain-registry/client": "^1.53.194",
|
|
66
66
|
"@cosmjs/amino": "^0.36.0",
|
|
67
67
|
"@cosmjs/proto-signing": "^0.36.0",
|
|
@@ -76,6 +76,14 @@
|
|
|
76
76
|
"tsup": "^8.5.0",
|
|
77
77
|
"viem": "^2.31.0"
|
|
78
78
|
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"@agoric/vats": "*"
|
|
81
|
+
},
|
|
82
|
+
"peerDependenciesMeta": {
|
|
83
|
+
"@agoric/vats": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
79
87
|
"ava": {
|
|
80
88
|
"extensions": {
|
|
81
89
|
"js": true,
|
|
@@ -105,5 +113,5 @@
|
|
|
105
113
|
"typeCoverage": {
|
|
106
114
|
"atLeast": 97.65
|
|
107
115
|
},
|
|
108
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "c596c962d3107a5666565e01b22d56f7b29c2fc6"
|
|
109
117
|
}
|
package/src/axelar-types.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export type SupportedEVMChains = keyof typeof EVM_CHAINS;
|
|
|
46
46
|
import type { Bech32Address } from '@agoric/orchestration';
|
|
47
47
|
import type { OrchestrationAccount } from '@agoric/orchestration';
|
|
48
48
|
import type { CosmosChainAddress } from '@agoric/orchestration';
|
|
49
|
-
import type { IBCChannelID } from '@agoric/
|
|
49
|
+
import type { IBCChannelID } from '@agoric/network/ibc';
|
|
50
50
|
import type { Denom } from '@agoric/orchestration';
|
|
51
51
|
import type { Abi } from 'viem';
|
|
52
52
|
import type { EVM_CHAINS } from './utils/gmp.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axelar-types.d.ts","sourceRoot":"","sources":["axelar-types.js"],"names":[],"mappings":";;;;;6BAyBa,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC;;kBAK/D,MAAM;oBACN,MAAM;aACN,MAAM;UACN,cAAc;;;YAKd,MAAM;eACN,aAAa;;;uBAKb,MAAM;yBACN,MAAM;aACN,MAAM,EAAE,GAAG,IAAI;UACf,cAAc;;;;kBAMd,qBAAqB;QAAE,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC;uBAC3C,kBAAkB;mBAClB,YAAY;gBACZ,KAAK;YACL,GAAG;qBACH,GAAG;WACH,MAAM;;;YAKN,KAAK,MAAM,EAAE;uBACb,MAAM;UACN,OAAO,EAAE;;;;YAMT,KAAK,MAAM,EAAE;UACb,KAAK,MAAM,EAAE;;iCAId,MAAa,iBAAU;mCAzEV,uBAAuB;0CAAvB,uBAAuB;wCAAvB,uBAAuB;kCAClB,
|
|
1
|
+
{"version":3,"file":"axelar-types.d.ts","sourceRoot":"","sources":["axelar-types.js"],"names":[],"mappings":";;;;;6BAyBa,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC;;kBAK/D,MAAM;oBACN,MAAM;aACN,MAAM;UACN,cAAc;;;YAKd,MAAM;eACN,aAAa;;;uBAKb,MAAM;yBACN,MAAM;aACN,MAAM,EAAE,GAAG,IAAI;UACf,cAAc;;;;kBAMd,qBAAqB;QAAE,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC;uBAC3C,kBAAkB;mBAClB,YAAY;gBACZ,KAAK;YACL,GAAG;qBACH,GAAG;WACH,MAAM;;;YAKN,KAAK,MAAM,EAAE;uBACb,MAAM;UACN,OAAO,EAAE;;;;YAMT,KAAK,MAAM,EAAE;UACb,KAAK,MAAM,EAAE;;iCAId,MAAa,iBAAU;mCAzEV,uBAAuB;0CAAvB,uBAAuB;wCAAvB,uBAAuB;kCAClB,qBAAqB;2BAD1B,uBAAuB;yBAG3B,MAAM;gCADC,gBAAgB"}
|
package/src/axelar-types.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CosmosChainAddress,
|
|
4
4
|
* Denom,
|
|
5
5
|
* Bech32Address,} from '@agoric/orchestration';
|
|
6
|
-
* @import {IBCChannelID} from '@agoric/
|
|
6
|
+
* @import {IBCChannelID} from '@agoric/network/ibc';
|
|
7
7
|
* @import {EVM_CHAINS} from './utils/gmp.js';
|
|
8
8
|
* @import {Abi} from 'viem';
|
|
9
9
|
*/
|
package/src/cosmos-api.d.ts
CHANGED
|
@@ -3,14 +3,12 @@ import type { Coin } from '@agoric/cosmic-proto/cosmos/base/v1beta1/coin.js';
|
|
|
3
3
|
import type { RedelegationResponse, UnbondingDelegation } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js';
|
|
4
4
|
import type { TxBody } from '@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js';
|
|
5
5
|
import type { MsgTransfer } from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
|
|
6
|
-
import type { State as IBCChannelState, Order } from '@agoric/cosmic-proto/ibc/core/channel/v1/channel.js';
|
|
7
|
-
import type { State as IBCConnectionState } from '@agoric/cosmic-proto/ibc/core/connection/v1/connection.js';
|
|
8
6
|
import type { RequestQuery, ResponseQuery } from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
9
7
|
import type { Amount, Payment } from '@agoric/ertp/src/types.js';
|
|
10
8
|
import type { Port } from '@agoric/network';
|
|
11
|
-
import type { IBCChannelID,
|
|
9
|
+
import type { IBCChannelID, IBCConnectionInfo, IBCPortID, LocalIbcAddress, RemoteIbcAddress } from '@agoric/network/ibc';
|
|
10
|
+
import type { NetworkBinding, NetworkEndpoint } from '@agoric/vats';
|
|
12
11
|
import type { TargetApp, TargetRegistration } from '@agoric/vats/src/bridge-target.js';
|
|
13
|
-
import type { LocalIbcAddress, RemoteIbcAddress } from '@agoric/vats/tools/ibc-utils.js';
|
|
14
12
|
import type { PFM_RECEIVER } from './exos/chain-hub.js';
|
|
15
13
|
import type { AccountId, AmountArg, BaseChainInfo, CosmosChainAddress, Denom, DenomAmount, PacketOptions } from './types.js';
|
|
16
14
|
/**
|
|
@@ -57,25 +55,7 @@ export type CosmosValidatorAddress = CosmosChainAddress & {
|
|
|
57
55
|
value: `${string}valoper${string}`;
|
|
58
56
|
encoding: 'bech32';
|
|
59
57
|
};
|
|
60
|
-
|
|
61
|
-
export interface IBCConnectionInfo {
|
|
62
|
-
id: IBCConnectionID;
|
|
63
|
-
client_id: string;
|
|
64
|
-
state: IBCConnectionState;
|
|
65
|
-
counterparty: {
|
|
66
|
-
client_id: string;
|
|
67
|
-
connection_id: IBCConnectionID;
|
|
68
|
-
};
|
|
69
|
-
transferChannel: {
|
|
70
|
-
portId: string;
|
|
71
|
-
channelId: IBCChannelID;
|
|
72
|
-
counterPartyPortId: string;
|
|
73
|
-
counterPartyChannelId: IBCChannelID;
|
|
74
|
-
ordering: Order;
|
|
75
|
-
state: IBCChannelState;
|
|
76
|
-
version: string;
|
|
77
|
-
};
|
|
78
|
-
}
|
|
58
|
+
export type { IBCConnectionInfo } from '@agoric/network/ibc';
|
|
79
59
|
/**
|
|
80
60
|
* https://github.com/cosmos/chain-registry/blob/master/assetlist.schema.json
|
|
81
61
|
*/
|
|
@@ -454,5 +434,4 @@ type GoDurationUnit = 'h' | 'm' | 's' | 'ms' | 'us' | 'ns';
|
|
|
454
434
|
* @see https://pkg.go.dev/time#ParseDuration
|
|
455
435
|
*/
|
|
456
436
|
export type GoDuration = `${number}${GoDurationUnit}`;
|
|
457
|
-
export {};
|
|
458
437
|
//# sourceMappingURL=cosmos-api.d.ts.map
|
package/src/cosmos-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos-api.d.ts","sourceRoot":"","sources":["cosmos-api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,OAAO,EACP,QAAQ,EACR,WAAW,EACX,eAAe,EACf,SAAS,EACT,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kDAAkD,CAAC;AAC7E,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,wDAAwD,CAAC;AA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
28
28
|
|
|
29
|
-
|
|
30
29
|
|
|
31
30
|
|
|
32
31
|
|
|
32
|
+
|
|
33
33
|
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
34
39
|
|
|
35
40
|
|
|
36
41
|
|
|
@@ -39,10 +44,6 @@
|
|
|
39
44
|
|
|
40
45
|
|
|
41
46
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
47
|
|
|
47
48
|
|
|
48
49
|
|
|
@@ -104,26 +105,7 @@
|
|
|
104
105
|
|
|
105
106
|
|
|
106
107
|
|
|
107
|
-
|
|
108
|
-
/** Represents an IBC Connection between two chains, which can contain multiple Channels. */
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
108
|
+
|
|
127
109
|
|
|
128
110
|
/**
|
|
129
111
|
* https://github.com/cosmos/chain-registry/blob/master/assetlist.schema.json
|
|
@@ -43,7 +43,7 @@ import type { StakingAccountActions } from '@agoric/orchestration';
|
|
|
43
43
|
import type { ERef } from '@agoric/vow';
|
|
44
44
|
import type { CosmosValidatorAddress } from '@agoric/orchestration';
|
|
45
45
|
import type { CosmosChainAddress } from '@agoric/orchestration';
|
|
46
|
-
import type { IBCChannelID } from '@agoric/
|
|
46
|
+
import type { IBCChannelID } from '@agoric/network/ibc';
|
|
47
47
|
import type { Denom } from '@agoric/orchestration';
|
|
48
48
|
import type { VTransferIBCEvent } from '@agoric/vats';
|
|
49
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-stake-it-tap-kit.d.ts","sourceRoot":"","sources":["auto-stake-it-tap-kit.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auto-stake-it-tap-kit.d.ts","sourceRoot":"","sources":["auto-stake-it-tap-kit.js"],"names":[],"mappings":"AAmJO,wCANI,IAAI,YACJ,QAAQ,GACN,CACZ,GAAO,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,KACzD,UAAU,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,KAAK,CAAC,CAKjE;8BAhIY;IACR,cAAc,EAAE,KAAK,qBAAqB,GAAG,CAAC,GAAG,qBAAqB,CAAC,CAAC;IACxE,YAAY,EAAE,KAAK,qBAAqB;QAAE,OAAO,EAAE,YAAY,CAAA;KAAE,CAAC,CAAC,CAAC;IACpE,SAAS,EAAE,sBAAsB,CAAC;IAClC,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAE,KAAK,CAAC;IACnB,UAAU,EAAE,KAAK,CAAC;CACnB;6BAyHU,UAAU,CAAC,OAAO,iBAAiB,CAAC;yBACpC,UAAU,CAAC,cAAc,CAAC;0BA5IjB,cAAc;8BADV,aAAa;AAmCxC;;;GAGG;AACH,4CAHW,IAAI,aACJ,QAAQ;;QAsBX;;;;;;WAMG;6BADQ,iBAAiB;;;QAqC5B;;;WAGG;6BAFQ,GAAG,SACH,MAAM;;GAcxB;0CAlHgH,uBAAuB;2CAAvB,uBAAuB;0BAGjH,aAAa;4CAH6E,uBAAuB;wCAAvB,uBAAuB;kCALzG,qBAAqB;2BAK6D,uBAAuB;uCAJpG,cAAc"}
|
|
@@ -8,7 +8,8 @@ import { CosmosChainAddressShape } from '../typeGuards.js';
|
|
|
8
8
|
const trace = makeTracer('AutoStakeItTap');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @import {IBCChannelID
|
|
11
|
+
* @import {IBCChannelID} from '@agoric/network/ibc';
|
|
12
|
+
* @import {VTransferIBCEvent} from '@agoric/vats';
|
|
12
13
|
* @import {VowTools} from '@agoric/vow';
|
|
13
14
|
* @import {Zone} from '@agoric/zone';
|
|
14
15
|
* @import {TargetApp} from '@agoric/vats/src/bridge-target.js';
|
|
@@ -19,7 +19,7 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
19
19
|
}>>;
|
|
20
20
|
}>;
|
|
21
21
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
22
|
-
registerChain(chainName: string, chainInfo: import("../orchestration-api.js").ChainInfo, ibcConnectionInfo?: import("../
|
|
22
|
+
registerChain(chainName: string, chainInfo: import("../orchestration-api.js").ChainInfo, ibcConnectionInfo?: import("../types.js").IBCConnectionInfo): Promise<void>;
|
|
23
23
|
registerAsset(denom: Denom, detail: DenomDetail): Promise<void>;
|
|
24
24
|
}>;
|
|
25
25
|
}>;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* @import {ERemote, Remote} from '@agoric/internal';
|
|
4
4
|
* @import {CosmosChainInfo, CosmosInterchainService, Denom, DenomDetail} from '@agoric/orchestration';
|
|
5
5
|
* @import {ContractMeta, Invitation, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
6
|
-
* @import {IBCConnectionID
|
|
6
|
+
* @import {IBCConnectionID} from '@agoric/network/ibc';
|
|
7
|
+
* @import {NameHub} from '@agoric/vats';
|
|
7
8
|
* @import {TimerService} from '@agoric/time';
|
|
8
9
|
* @import {ResolvedContinuingOfferResult} from '../utils/zoe-tools.js';
|
|
9
10
|
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
@@ -568,5 +569,5 @@ import type { Baggage } from '@agoric/vat-data';
|
|
|
568
569
|
import type { Denom } from '@agoric/orchestration';
|
|
569
570
|
import type { ResolvedContinuingOfferResult } from '../utils/zoe-tools.js';
|
|
570
571
|
import type { Invitation } from '@agoric/zoe';
|
|
571
|
-
import type { IBCConnectionID } from '@agoric/
|
|
572
|
+
import type { IBCConnectionID } from '@agoric/network/ibc';
|
|
572
573
|
//# sourceMappingURL=stake-ica.contract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stake-ica.contract.d.ts","sourceRoot":"","sources":["stake-ica.contract.js"],"names":[],"mappings":"AAkBA
|
|
1
|
+
{"version":3,"file":"stake-ica.contract.d.ts","sourceRoot":"","sources":["stake-ica.contract.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;GAWG;AAEH,yCAAyC;AACzC,mBADW,aAAa,OAAO,KAAK,CAAC,CAelC;AAEH;;;;;;cAAsD;AAuB/C,2BAVI,IAAI,aAAa,CAAC,eAClB;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,KAAK,EAAE,YAAY,CAAC;CACrB,WACO,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHA+H+3gD,QAAsB;;;;;GAJt6gD;4BA5IY;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,eAAe,CAAC;IAClC,sBAAsB,EAAE,eAAe,CAAC;IACxC,UAAU,EAAE,OAAO,CAAC;CACrB;yBA0IU,OAAO,KAAK;kCA7K+B,aAAa;yBAAb,aAAa;6BAE5C,cAAc;4BAJN,kBAAkB;6CAC2B,uBAAuB;iCAMxE,0CAA0C;gCAC3C,0CAA0C;kCAHxC,cAAc;6BANnB,kBAAkB;2BAEmC,uBAAuB;mDAKtD,uBAAuB;gCAJd,aAAa;qCACpC,qBAAqB"}
|
|
@@ -21,7 +21,8 @@ const trace = makeTracer('StakeIca');
|
|
|
21
21
|
* @import {ERemote, Remote} from '@agoric/internal';
|
|
22
22
|
* @import {CosmosChainInfo, CosmosInterchainService, Denom, DenomDetail} from '@agoric/orchestration';
|
|
23
23
|
* @import {ContractMeta, Invitation, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
24
|
-
* @import {IBCConnectionID
|
|
24
|
+
* @import {IBCConnectionID} from '@agoric/network/ibc';
|
|
25
|
+
* @import {NameHub} from '@agoric/vats';
|
|
25
26
|
* @import {TimerService} from '@agoric/time';
|
|
26
27
|
* @import {ResolvedContinuingOfferResult} from '../utils/zoe-tools.js';
|
|
27
28
|
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
@@ -7,7 +7,7 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
7
7
|
}>>;
|
|
8
8
|
}>;
|
|
9
9
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
10
|
-
registerChain(chainName: string, chainInfo: import("../orchestration-api.js").ChainInfo, ibcConnectionInfo?: import("../
|
|
10
|
+
registerChain(chainName: string, chainInfo: import("../orchestration-api.js").ChainInfo, ibcConnectionInfo?: import("../types.js").IBCConnectionInfo): Promise<void>;
|
|
11
11
|
registerAsset(denom: import("../orchestration-api.js").Denom, detail: import("../types.js").DenomDetail): Promise<void>;
|
|
12
12
|
}>;
|
|
13
13
|
}>;
|
|
@@ -21,7 +21,7 @@ export type ChainHubAdmin = ReturnType<typeof prepareChainHubAdmin>;
|
|
|
21
21
|
import type { Zone } from '@agoric/zone';
|
|
22
22
|
import type { ChainHub } from './chain-hub.js';
|
|
23
23
|
import type { ChainInfo } from '@agoric/orchestration';
|
|
24
|
-
import type { IBCConnectionInfo } from '@agoric/
|
|
24
|
+
import type { IBCConnectionInfo } from '@agoric/network/ibc';
|
|
25
25
|
import type { Denom } from '@agoric/orchestration';
|
|
26
26
|
import type { DenomDetail } from './chain-hub.js';
|
|
27
27
|
//# sourceMappingURL=chain-hub-admin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-hub-admin.d.ts","sourceRoot":"","sources":["chain-hub-admin.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chain-hub-admin.d.ts","sourceRoot":"","sources":["chain-hub-admin.js"],"names":[],"mappings":"AAgCO,2CAHI,IAAI,YACJ,QAAQ;IAab;;;;;;OAMG;6BAHQ,MAAM,aACN,SAAS,sBACT,iBAAiB;IAiB5B;;;;;;;OAOG;yBAHQ,KAAK,UAEL,WAAW;GAU3B;4BAEa,UAAU,CAAC,OAAO,oBAAoB,CAAC;0BA5E9B,cAAc;8BAGG,gBAAgB;+BADJ,uBAAuB;uCADvC,qBAAqB;2BACL,uBAAuB;iCACnC,gBAAgB"}
|
|
@@ -6,7 +6,8 @@ import { ChainInfoShape, DenomDetailShape } from '../typeGuards.js';
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @import {Zone} from '@agoric/zone';
|
|
9
|
-
* @import {
|
|
9
|
+
* @import {IBCConnectionInfo} from '@agoric/network/ibc';
|
|
10
|
+
* @import {CosmosChainInfo, ChainInfo, Denom} from '@agoric/orchestration';
|
|
10
11
|
* @import {ChainHub, DenomDetail} from './chain-hub.js';
|
|
11
12
|
*/
|
|
12
13
|
|
|
@@ -35,7 +35,7 @@ export type OrchestrationState = {
|
|
|
35
35
|
export type MakeCosmosInterchainService = ReturnType<typeof prepareCosmosInterchainService>;
|
|
36
36
|
import type { Zone } from '@agoric/base-zone';
|
|
37
37
|
import type { VowTools } from '@agoric/vow';
|
|
38
|
-
import type { IBCConnectionID } from '@agoric/
|
|
38
|
+
import type { IBCConnectionID } from '@agoric/network/ibc';
|
|
39
39
|
import type { ICAChannelAddressOpts } from '../utils/address.js';
|
|
40
40
|
import type { IcaAccount } from '../types.js';
|
|
41
41
|
import type { Vow } from '@agoric/vow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos-interchain-service.d.ts","sourceRoot":"","sources":["cosmos-interchain-service.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cosmos-interchain-service.d.ts","sourceRoot":"","sources":["cosmos-interchain-service.js"],"names":[],"mappings":"AAmQO,qDAJI,IAAI,YACJ,QAAQ;IAvEX;;;;;;;;;OASG;yBAPQ,MAAM,oBACN,eAAe,0BAEf,eAAe,SACf,qBAAqB,GAEnB,IAAI,UAAU,CAAC;IAkB5B;;;;;OAKG;iDAHQ,eAAe,YACf,MAAM,GACJ,IAAI,aAAa,CAAC,GAAG,aAAa;GA6DtD;;mBAxPa,OAAO,aAAa,CAAC;;;;;cACrB,SAAS;;iCAIT,SAAS,MAAM,EAAE,gBAAgB,CAAC;4BAElC,aAAa,GAAG,gBAAgB;iCAGjC;IACR,cAAc,EAAE,kBAAkB,CAAC;IACnC,aAAa,EAAE,OAAO,IAAI,CAAC,GAAG,SAAS,CAAC;CACzC,GAAG,yBAAyB;0CA8OlB,UAAU,CAAC,OAAO,8BAA8B,CAAC;0BAxQxC,mBAAmB;8BAKV,aAAa;qCAFO,qBAAqB;2CAIjC,qBAAqB;gCADgB,aAAa;yBAD1D,aAAa;mCACgC,aAAa;mCAJxC,iBAAiB;4BAD1C,kBAAkB;sCAKkC,aAAa;8BAFrD,eAAe;mCAEyB,aAAa;0BAJxC,iBAAiB"}
|
|
@@ -16,9 +16,8 @@ import { prepareICQConnectionKit } from './icq-connection-kit.js';
|
|
|
16
16
|
* @import {Zone} from '@agoric/base-zone';
|
|
17
17
|
* @import {Remote} from '@agoric/internal';
|
|
18
18
|
* @import {Connection, Port, PortAllocator} from '@agoric/network';
|
|
19
|
-
* @import {IBCConnectionID} from '@agoric/
|
|
19
|
+
* @import {IBCConnectionID, RemoteIbcAddress} from '@agoric/network/ibc';
|
|
20
20
|
* @import {MapStore, SetStore} from '@agoric/store';
|
|
21
|
-
* @import {RemoteIbcAddress} from '@agoric/vats/tools/ibc-utils.js';
|
|
22
21
|
* @import {Vow, VowTools} from '@agoric/vow';
|
|
23
22
|
* @import {ICQConnection, IcaAccount, ICQConnectionKit, IcaAccountKit} from '../types.js';
|
|
24
23
|
* @import {ICAChannelAddressOpts} from '../utils/address.js';
|
|
@@ -57,7 +57,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
57
57
|
storageNode?: Remote<StorageNode> | undefined;
|
|
58
58
|
icqConnection?: import("@endo/exo").Guarded<{
|
|
59
59
|
getLocalAddress(): `/ibc-port/${string}`;
|
|
60
|
-
getRemoteAddress(): `/${string}ibc-port/${string}/
|
|
60
|
+
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
|
|
61
61
|
query(msgs: JsonSafe<import("@agoric/cosmic-proto/tendermint/abci/types.js").RequestQuery>[]): Vow<JsonSafe<ResponseQuery>[]>;
|
|
62
62
|
}> | undefined;
|
|
63
63
|
timer: Remote<TimerService>;
|
|
@@ -920,8 +920,8 @@ import type { Remote } from '@agoric/internal';
|
|
|
920
920
|
import type { VowTools } from '@agoric/vow';
|
|
921
921
|
import type { ZCF } from '@agoric/zoe';
|
|
922
922
|
import type { CosmosChainAddress } from '../types.js';
|
|
923
|
-
import type { LocalIbcAddress } from '@agoric/
|
|
924
|
-
import type { RemoteIbcAddress } from '@agoric/
|
|
923
|
+
import type { LocalIbcAddress } from '@agoric/network/ibc';
|
|
924
|
+
import type { RemoteIbcAddress } from '@agoric/network/ibc';
|
|
925
925
|
import type { IcaAccount } from '../types.js';
|
|
926
926
|
import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
|
|
927
927
|
import type { JsonSafe } from '@agoric/cosmic-proto';
|
|
@@ -938,7 +938,7 @@ import type { MsgUndelegateResponseType } from '../utils/codecs.js';
|
|
|
938
938
|
import type { TypeFromUrl } from '@agoric/cosmic-proto';
|
|
939
939
|
import type { ResponseTypeUrl } from '@agoric/cosmic-proto';
|
|
940
940
|
import type { MessageBody } from '@agoric/cosmic-proto';
|
|
941
|
-
import type { IBCConnectionInfo } from '
|
|
941
|
+
import type { IBCConnectionInfo } from '@agoric/network/ibc';
|
|
942
942
|
import type { IBCMsgTransferOptions } from '../types.js';
|
|
943
943
|
import type { CosmosValidatorAddress } from '../types.js';
|
|
944
944
|
import type { AccountIdArg } from '../types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos-orchestration-account.d.ts","sourceRoot":"","sources":["cosmos-orchestration-account.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cosmos-orchestration-account.d.ts","sourceRoot":"","sources":["cosmos-orchestration-account.js"],"names":[],"mappings":"AAsPA,wCAAwC;AACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMG;AAOH;;;;;;;;;;;GAoBE;AAaK,2DATI,IAAI,oFAEZ;IAAyB,QAAQ,EAAzB,QAAQ;IACoB,mBAAmB,EAA/C,mBAAmB;IACK,eAAe,EAAvC,eAAe;IACc,YAAY,EAAzC,OAAO,YAAY,CAAC;IACH,QAAQ,EAAzB,QAAQ;IACI,GAAG,EAAf,GAAG;CACb;kBAgLc,kBAAkB;kBAClB,eAAe;mBACf,gBAAgB;;aAEhB,UAAU;;;;;;;WAGV,OAAO,YAAY,CAAC;;;QA0H3B,wDAA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eError, q } from '@endo/errors';
|
|
9
9
|
import { E } from '@endo/far';
|
|
10
|
-
import { decodeIbcEndpoint } from '@agoric/
|
|
10
|
+
import { decodeIbcEndpoint } from '@agoric/network/ibc/utils.js';
|
|
11
11
|
import {
|
|
12
12
|
AmountArgShape,
|
|
13
13
|
CoinShape,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
* @import {HostOf} from '@agoric/async-flow';
|
|
75
75
|
* @import {AmountArg, IcaAccount, CosmosChainAddress, CosmosValidatorAddress,
|
|
76
76
|
* ICQConnection, StakingAccountActions, StakingAccountQueries, NobleMethods,
|
|
77
|
-
* OrchestrationAccountCommon, CosmosRewardsResponse,
|
|
77
|
+
* OrchestrationAccountCommon, CosmosRewardsResponse,
|
|
78
78
|
* IBCMsgTransferOptions, ChainHub, CosmosDelegationResponse, CaipChainId,
|
|
79
79
|
* ChainInfo, AccountIdArg, CosmosActionOptions, IcaAccountMethods,
|
|
80
80
|
* ProgressTracker, MakeProgressTracker} from '../types.js';
|
|
@@ -90,7 +90,11 @@ import {
|
|
|
90
90
|
* @import {AnyJson, JsonSafe, MessageBody, TypeFromUrl,
|
|
91
91
|
* ResponseTypeUrl} from '@agoric/cosmic-proto';
|
|
92
92
|
* @import {Matcher} from '@endo/patterns';
|
|
93
|
-
* @import {
|
|
93
|
+
* @import {
|
|
94
|
+
* IBCConnectionInfo,
|
|
95
|
+
* LocalIbcAddress,
|
|
96
|
+
* RemoteIbcAddress,
|
|
97
|
+
* } from '@agoric/network/ibc';
|
|
94
98
|
* @import {AnyType, MsgDepositForBurnType, MsgUndelegateResponseType} from '../utils/codecs.js';
|
|
95
99
|
* @import {SliceDescriptor} from '../utils/orchestrationAccount.js';
|
|
96
100
|
* @import {ProgressReport} from '../utils/progress.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBCConnectionID } from '@agoric/
|
|
1
|
+
import type { IBCConnectionID } from '@agoric/network/ibc';
|
|
2
2
|
import type { Vow } from '@agoric/vow';
|
|
3
3
|
import type { IcaAccount } from '../cosmos-api.js';
|
|
4
4
|
import type { ICAChannelAddressOpts } from '../utils/address.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exo-interfaces.d.ts","sourceRoot":"","sources":["exo-interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"exo-interfaces.d.ts","sourceRoot":"","sources":["exo-interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;OAQG;IACH,WAAW,CACT,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,eAAe,EACjC,sBAAsB,EAAE,eAAe,EACvC,IAAI,CAAC,EAAE,qBAAqB,GAAG,SAAS,GACvC,GAAG,CAAC,UAAU,CAAC,CAAC;IACnB;;;;OAIG;IACH,oBAAoB,CAClB,sBAAsB,EAAE,eAAe,EACvC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAC3B,GAAG,CAAC,aAAa,CAAC,GAAG,aAAa,CAAC;CACvC"}
|
|
@@ -17,7 +17,7 @@ export function prepareIcaAccountKit(zone: Zone, { watch, asVow }: VowTools): (c
|
|
|
17
17
|
/** @returns {CosmosChainAddress} */
|
|
18
18
|
getAddress(): CosmosChainAddress;
|
|
19
19
|
getLocalAddress(): `/ibc-port/${string}`;
|
|
20
|
-
getRemoteAddress(): `/${string}ibc-port/${string}/
|
|
20
|
+
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
|
|
21
21
|
getPort(): Port;
|
|
22
22
|
executeTx(): Vow<never>;
|
|
23
23
|
/**
|
|
@@ -91,8 +91,8 @@ import type { AnyJson } from '@agoric/cosmic-proto';
|
|
|
91
91
|
import type { CosmosActionOptions } from '../types.js';
|
|
92
92
|
import type { Connection } from '@agoric/network';
|
|
93
93
|
import type { Remote } from '@agoric/vow';
|
|
94
|
-
import type { LocalIbcAddress } from '@agoric/
|
|
95
|
-
import type { RemoteIbcAddress } from '@agoric/
|
|
94
|
+
import type { LocalIbcAddress } from '@agoric/network/ibc';
|
|
95
|
+
import type { RemoteIbcAddress } from '@agoric/network/ibc';
|
|
96
96
|
declare const UNPARSABLE_CHAIN_ADDRESS: "UNPARSABLE_CHAIN_ADDRESS";
|
|
97
97
|
export {};
|
|
98
98
|
//# sourceMappingURL=ica-account-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ica-account-kit.d.ts","sourceRoot":"","sources":["ica-account-kit.js"],"names":[],"mappings":"AA8BA;;;;;;;;;GAWG;AA4BI,2CAJI,IAAI,oBACJ,QAAQ;;QAiCX,0BAA0B;yBAAd,MAAM;;;QAMlB,oCAAoC;sBAAtB,kBAAkB;;;;;QA0BhC;;;;;;;;;;;;;;WAcG;+BALQ,OAAO,EAAE,SACT,mBAAmB,CAAC,QAAQ,CAAC,GAAG,mBAAmB,GACjD,IAAI,MAAM,CAAC;;;;;QAgDxB;;;;WAIG;2BAHQ,OAAO,UAAU,CAAC,aAClB,eAAe,cACf,gBAAgB;QAiB3B;;;;;;;;;;;;;;;;WAgBG;6BAHQ,OAAO,UAAU,CAAC,UAClB,OAAO;;GAkBvB;;;;oBApMU;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC3C,YAAY,EAAE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K,EAAE,OAAO,wBAAwB,CAAA;KAAE,CAAC,GACjE,SAAS,CAAC;IACd,iBAAiB,EAAE,OAAO,CAAC;CAC5B;4BA2LU,UAAU,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;0BAnO1C,mBAAmB;8BAEU,aAAa;0BADV,iBAAiB;wCAKF,aAAa;yBAJ/B,aAAa;6BACvC,sBAAsB;yCAGsB,aAAa;gCAL5B,iBAAiB;4BACpB,aAAa;qCAGb,qBAAqB;sCAArB,qBAAqB;AAMzE,wCAAiC,0BAA0B,CAAC"}
|
|
@@ -20,7 +20,7 @@ import { makeTxPacket, parseTxPacket } from '../utils/packet.js';
|
|
|
20
20
|
* @import {Remote, Vow, PromiseVow, VowTools} from '@agoric/vow';
|
|
21
21
|
* @import {AnyJson} from '@agoric/cosmic-proto';
|
|
22
22
|
* @import {TxBody} from '@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js';
|
|
23
|
-
* @import {LocalIbcAddress, RemoteIbcAddress} from '@agoric/
|
|
23
|
+
* @import {LocalIbcAddress, RemoteIbcAddress} from '@agoric/network/ibc';
|
|
24
24
|
* @import {CosmosActionOptions, CosmosChainAddress, IcaAccount} from '../types.js';
|
|
25
25
|
*/
|
|
26
26
|
|
|
@@ -6,7 +6,7 @@ export const ICQConnectionI: import("@endo/patterns").InterfaceGuard<{
|
|
|
6
6
|
export function prepareICQConnectionKit(zone: Zone, { watch, asVow }: VowTools): (port: Port) => import("@endo/exo").GuardedKit<{
|
|
7
7
|
connection: {
|
|
8
8
|
getLocalAddress(): `/ibc-port/${string}`;
|
|
9
|
-
getRemoteAddress(): `/${string}ibc-port/${string}/
|
|
9
|
+
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
|
|
10
10
|
/**
|
|
11
11
|
* Vow rejects if packet fails to send or an error is returned
|
|
12
12
|
*
|
|
@@ -62,6 +62,6 @@ import type { ResponseQuery } from '@agoric/cosmic-proto/tendermint/abci/types.j
|
|
|
62
62
|
import type { Vow } from '@agoric/vow';
|
|
63
63
|
import type { Connection } from '@agoric/network';
|
|
64
64
|
import type { Remote } from '@agoric/vow';
|
|
65
|
-
import type { LocalIbcAddress } from '@agoric/
|
|
66
|
-
import type { RemoteIbcAddress } from '@agoric/
|
|
65
|
+
import type { LocalIbcAddress } from '@agoric/network/ibc';
|
|
66
|
+
import type { RemoteIbcAddress } from '@agoric/network/ibc';
|
|
67
67
|
//# sourceMappingURL=icq-connection-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icq-connection-kit.d.ts","sourceRoot":"","sources":["icq-connection-kit.js"],"names":[],"mappings":"AAoBA;;;;GAIG;AA8BI,8CAJI,IAAI,oBACJ,QAAQ;;;;QAqCX;;;;;WAKG;oBAFQ,SAAS,YAAY,CAAC,EAAE,GACtB,IAAI,SAAS,aAAa,CAAC,EAAE,CAAC;;;QAc3C,wDAAwD;yBAA5C,MAAM;;;;;;;;;;;;;;;;;;;QAMlB;;;;WAIG;2BAHQ,OAAO,UAAU,CAAC,aAClB,eAAe,cACf,gBAAgB;;;GAahC;oCArGU;IACR,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC3C,YAAY,EAAE,eAAe,GAAG,SAAS,CAAC;IAC1C,aAAa,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC7C;+BAkGU,UAAU,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;4BACtD,gBAAgB,CAAC,YAAY,CAAC;0BAzHrB,mBAAmB;8BAEF,aAAa;0BADlB,iBAAiB;kCAGN,+CAA+C;8BADlE,sBAAsB;mCACH,+CAA+C;yBAFrD,aAAa;gCADlB,iBAAiB;4BACZ,aAAa;qCAGD,
|
|
1
|
+
{"version":3,"file":"icq-connection-kit.d.ts","sourceRoot":"","sources":["icq-connection-kit.js"],"names":[],"mappings":"AAoBA;;;;GAIG;AA8BI,8CAJI,IAAI,oBACJ,QAAQ;;;;QAqCX;;;;;WAKG;oBAFQ,SAAS,YAAY,CAAC,EAAE,GACtB,IAAI,SAAS,aAAa,CAAC,EAAE,CAAC;;;QAc3C,wDAAwD;yBAA5C,MAAM;;;;;;;;;;;;;;;;;;;QAMlB;;;;WAIG;2BAHQ,OAAO,UAAU,CAAC,aAClB,eAAe,cACf,gBAAgB;;;GAahC;oCArGU;IACR,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC3C,YAAY,EAAE,eAAe,GAAG,SAAS,CAAC;IAC1C,aAAa,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC7C;+BAkGU,UAAU,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;4BACtD,gBAAgB,CAAC,YAAY,CAAC;0BAzHrB,mBAAmB;8BAEF,aAAa;0BADlB,iBAAiB;kCAGN,+CAA+C;8BADlE,sBAAsB;mCACH,+CAA+C;yBAFrD,aAAa;gCADlB,iBAAiB;4BACZ,aAAa;qCAGD,qBAAqB;sCAArB,qBAAqB"}
|
|
@@ -13,7 +13,7 @@ import { ICQMsgShape, OutboundConnectionHandlerI } from '../typeGuards.js';
|
|
|
13
13
|
* @import {Remote, Vow, VowTools} from '@agoric/vow';
|
|
14
14
|
* @import {JsonSafe} from '@agoric/cosmic-proto';
|
|
15
15
|
* @import {RequestQuery, ResponseQuery} from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
16
|
-
* @import {LocalIbcAddress, RemoteIbcAddress} from '@agoric/
|
|
16
|
+
* @import {LocalIbcAddress, RemoteIbcAddress} from '@agoric/network/ibc';
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
const trace = makeTracer('Orchestration:ICQConnection');
|
|
@@ -393,7 +393,7 @@ import type { TypedJson } from '@agoric/cosmic-proto';
|
|
|
393
393
|
import type { JsonSafe } from '@agoric/cosmic-proto';
|
|
394
394
|
import type { CosmosChainInfo } from '@agoric/orchestration';
|
|
395
395
|
import type { ChainInfo } from '@agoric/orchestration';
|
|
396
|
-
import type { IBCConnectionInfo } from '@agoric/
|
|
396
|
+
import type { IBCConnectionInfo } from '@agoric/network/ibc';
|
|
397
397
|
import type { TransferRoute } from '@agoric/orchestration';
|
|
398
398
|
import type { DenomAmount } from '@agoric/orchestration';
|
|
399
399
|
import type { ZCFSeat } from '@agoric/zoe';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"AAwLO,0DAXI,IAAI,0GAEZ;IAAgC,eAAe,EAAvC,eAAe;IACH,GAAG,EAAf,GAAG;IAC0B,YAAY,EAAzC,OAAO,YAAY,CAAC;IACH,QAAQ,EAAzB,QAAQ;IACS,QAAQ,EAAzB,QAAQ;IACmB,UAAU,EAArC,OAAO,UAAU,CAAC;IACD,QAAQ,EAAzB,QAAQ;IACoB,mBAAmB,EAA/C,mBAAmB;CAC7B;aAgHc,iBAAiB;aACjB,kBAAkB;;;;QA2CzB;;;WAGG;6BAFQ,SAAS,GACP,IAAI;;;;;;;QAOjB;;;WAGG;mCAFQ,MAAM,cACN,OAAO,KAAK,CAAC;;QAiCxB;;;WAGG;qCAFQ,MAAM,cACN,OAAO,KAAK,CAAC;;;uBAmBJ,YAAY;oBAAU,SAAS;;;uBAa/B,kBAAkB;qBAAW,SAAS,EAAE;;;oBAc3C,SAAS;yBACJ,YAAY;mBAClB,qBAAqB;;;;;QAmCrC;;;;;;WAMG;8BALQ,CACV,SACA,UAAgB,+CAA+C,CAAC,CAC3D,CACF;;;QAcJ;;;WAGG;4DAFQ,SAAS,CAAC,eAAe,EAAE,eAAe,EAAE,MAAM,CAAC,OACnD,MAAM,CAAC,MAAM,EAAE,GAAG,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+59,10 @@ const MsgSend = CodecHelper(MsgSendType);
|
|
|
59
59
|
/**
|
|
60
60
|
* @import {HostInterface, HostOf} from '@agoric/async-flow';
|
|
61
61
|
* @import {LocalChain, LocalChainAccount} from '@agoric/vats/src/localchain.js';
|
|
62
|
+
* @import {IBCConnectionInfo} from '@agoric/network/ibc';
|
|
62
63
|
* @import {AmountArg, CosmosChainAddress, DenomAmount, IBCMsgTransferOptions,
|
|
63
64
|
* OrchestrationAccountCommon, LocalAccountMethods, TransferRoute,
|
|
64
|
-
* AccountIdArg, Denom,
|
|
65
|
+
* AccountIdArg, Denom, ChainInfo, CosmosChainInfo} from '@agoric/orchestration';
|
|
65
66
|
* @import {OfferHandler, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
66
67
|
* @import {IBCEvent} from '@agoric/vats';
|
|
67
68
|
* @import {QueryDenomHashResponse} from '@agoric/cosmic-proto/ibc/applications/transfer/v1/query.js';
|
|
@@ -1536,7 +1536,7 @@ export type MakeRemoteChainFacade = ReturnType<typeof prepareRemoteChainFacade>;
|
|
|
1536
1536
|
export type RemoteChainFacade = ReturnType<MakeRemoteChainFacade>;
|
|
1537
1537
|
import type { Zone } from '@agoric/base-zone';
|
|
1538
1538
|
import type { ChainInfo } from '../types.js';
|
|
1539
|
-
import type { IBCConnectionInfo } from '
|
|
1539
|
+
import type { IBCConnectionInfo } from '@agoric/network/ibc';
|
|
1540
1540
|
import type { Vow } from '@agoric/vow';
|
|
1541
1541
|
import type { CosmosChainAddress } from '../types.js';
|
|
1542
1542
|
import type { prepareCosmosOrchestrationAccount } from './cosmos-orchestration-account.js';
|
|
@@ -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":"AA0RO,+CAHI,IAAI,UACJ,uBAAuB;;;;;;;;;;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|
@@ -19,10 +19,14 @@ import {
|
|
|
19
19
|
* @import {TimerService} from '@agoric/time';
|
|
20
20
|
* @import {Remote} from '@agoric/internal';
|
|
21
21
|
* @import {Vow, VowTools} from '@agoric/vow';
|
|
22
|
-
* @import {
|
|
22
|
+
* @import {
|
|
23
|
+
* IBCConnectionInfo,
|
|
24
|
+
* LocalIbcAddress,
|
|
25
|
+
* RemoteIbcAddress,
|
|
26
|
+
* } from '@agoric/network/ibc';
|
|
23
27
|
* @import {CosmosInterchainService} from './exo-interfaces.js';
|
|
24
28
|
* @import {prepareCosmosOrchestrationAccount} from './cosmos-orchestration-account.js';
|
|
25
|
-
* @import {CosmosChainInfo,
|
|
29
|
+
* @import {CosmosChainInfo, CosmosChainAddress, IcaAccount, Chain, ICQConnection, ChainInfo} from '../types.js';
|
|
26
30
|
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
27
31
|
*/
|
|
28
32
|
|
|
@@ -8,7 +8,7 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
|
|
11
|
-
* @import {IBCConnectionID} from '@agoric/
|
|
11
|
+
* @import {IBCConnectionID} from '@agoric/network/ibc';
|
|
12
12
|
* @import {StakeIcaSF, StakeIcaTerms} from '../examples/stake-ica.contract.js';
|
|
13
13
|
* @import {start} from '../examples/stake-ica.contract.js';
|
|
14
14
|
* @import {Installation} from '@agoric/zoe';
|
|
@@ -8,7 +8,7 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
|
|
11
|
-
* @import {IBCConnectionID} from '@agoric/
|
|
11
|
+
* @import {IBCConnectionID} from '@agoric/network/ibc';
|
|
12
12
|
* @import {StakeIcaSF} from '../examples/stake-ica.contract.js';
|
|
13
13
|
* @import {start} from '../examples/stake-ica.contract.js';
|
|
14
14
|
* @import {Installation} from '@agoric/zoe';
|
package/src/utils/address.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type ICAChannelAddressOpts = {
|
|
|
22
22
|
* channel ordering.
|
|
23
23
|
* currently only `ordered` is supported for ics27-1
|
|
24
24
|
*/
|
|
25
|
-
ordering?: "
|
|
25
|
+
ordering?: "ordered" | "unordered" | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* default is `sdk_multi_msg`
|
|
28
28
|
*/
|
|
@@ -32,8 +32,8 @@ export type ICAChannelAddressOpts = {
|
|
|
32
32
|
*/
|
|
33
33
|
version?: string | undefined;
|
|
34
34
|
};
|
|
35
|
-
import type { IBCConnectionID } from '@agoric/
|
|
36
|
-
import type { RemoteIbcAddress } from '@agoric/
|
|
35
|
+
import type { IBCConnectionID } from '@agoric/network/ibc';
|
|
36
|
+
import type { RemoteIbcAddress } from '@agoric/network/ibc';
|
|
37
37
|
import type { CosmosChainAddress } from '../types.js';
|
|
38
38
|
import type { Bech32Address } from '../types.js';
|
|
39
39
|
import type { Address as EvmAddress } from 'viem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["address.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["address.js"],"names":[],"mappings":"AA4BO,wDALI,eAAe,0BACf,eAAe,6CACf,qBAAqB,GACnB,gBAAgB,CA4B5B;AAGD,kCAAmC,OAAO,CAAC;AAOpC,8DAJI,eAAe,YACf,MAAM,GACJ,gBAAgB,CAa5B;AAaM,sDAJI,gBAAgB,GAEd,kBAAkB,CAAC,OAAO,CAAC,GAAG,SAAS,CAYnD;AAaM,yCAHI,aAAa,GAAG,MAAM,GACpB,MAAM,CAQlB;AASM,kCAJI,UAAU,KACV,UAAU,GAAG,SAAS,GACpB,OAAO,CAEwD;AAYrE,uCAJI,YAAY,GAEV,SAAS,CAQrB;AAUM,yCAJI,YAAY,GAEV,YAAY,CAaxB;AASM,0CAHI,SAAS,GACP,YAAY,CAaxB;AAUM,6CAJI,YAAY,GAEV,WAAW,CAKvB;AASM,yCAJI,MAAM,GACJ,OAAO,CAkBnB;AAUM,6CAHI,MAAM,GACJ,QAAQ,OAAO,IAAI,aAAa,CAM5C;AAUM,uDAFI,MAAM,+BAOhB;AAWM,8CAJI,SAAS,GACP,UAAU,CAatB;;;;;;;;;;;;;;;;;;;;;qCA1QmD,qBAAqB;sCAArB,qBAAqB;wCAER,aAAa;mCAAb,aAAa;2CADtC,MAAM;kCAEU,yBAAyB;+BAAzB,yBAAyB;kCAAzB,yBAAyB;iCADhB,aAAa"}
|
package/src/utils/address.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { encodeRemoteIbcAddress } from '@agoric/
|
|
1
|
+
import { encodeRemoteIbcAddress } from '@agoric/network/ibc/utils.js';
|
|
2
2
|
import { fromBech32, fromHex } from '@cosmjs/encoding';
|
|
3
3
|
import { Fail, q } from '@endo/errors';
|
|
4
4
|
import bs58 from 'bs58';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @import {IBCConnectionID} from '@agoric/
|
|
7
|
+
* @import {IBCConnectionID, RemoteIbcAddress} from '@agoric/network/ibc';
|
|
8
8
|
* @import {Address as EvmAddress} from 'viem';
|
|
9
9
|
* @import {Bech32Address, CosmosChainAddress, CaipChainId} from '../types.js';
|
|
10
10
|
* @import {AccountId, AccountIdArg, Caip10Record} from '../orchestration-api.js';
|
|
11
|
-
* @import {RemoteIbcAddress} from '@agoric/vats/tools/ibc-utils.js';
|
|
12
11
|
*/
|
|
13
12
|
|
|
14
13
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {TypedPattern} from '@agoric/internal';
|
|
3
|
-
* @import {IBCEndpoint} from '@agoric/
|
|
4
|
-
* @import {CaipChainId,
|
|
3
|
+
* @import {IBCEndpoint, IBCConnectionInfo} from '@agoric/network/ibc';
|
|
4
|
+
* @import {CaipChainId, TrafficEntry} from '../types.js';
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* @typedef {object} SliceDescriptor
|
|
@@ -85,7 +85,7 @@ declare function finishIbcICA(entries: (TrafficEntry<"ibc"> & {
|
|
|
85
85
|
})[], srcChain: CaipChainId, srcEndpoint: Pick<IBCEndpoint, "portID" | "channelID">, dstEndpoint: Pick<IBCEndpoint, "portID" | "channelID">, sequence: TrafficEntry<"ibc">["seq"]): TrafficEntry<"ibc">[];
|
|
86
86
|
import type { TrafficEntry } from '../types.js';
|
|
87
87
|
import type { CaipChainId } from '../types.js';
|
|
88
|
-
import type { IBCConnectionInfo } from '
|
|
89
|
-
import type { IBCEndpoint } from '@agoric/
|
|
88
|
+
import type { IBCConnectionInfo } from '@agoric/network/ibc';
|
|
89
|
+
import type { IBCEndpoint } from '@agoric/network/ibc';
|
|
90
90
|
export {};
|
|
91
91
|
//# sourceMappingURL=orchestrationAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrationAccount.d.ts","sourceRoot":"","sources":["orchestrationAccount.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AAEH;;;;GAIG;AACH,4CAA4C;AAC5C,mCADW,aAAa,eAAe,CAAC,CAIrC;;;;;;;;;;;;;;;;;;;;;;;AA8KI,gDAJI,YAAY,EAAE,GAAG,SAAS,cAC1B,YAAY,EAAE,GACZ;IAAE,OAAO,EAAE,YAAY,EAAE,CAAC;IAAC,KAAK,EAAE,eAAe,CAAA;CAAE,CAa/D;AASM,mDALI,YAAY,EAAE,GAAG,SAAS,mBAC1B,eAAe,GAAG,SAAS,YAC3B,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,GACzC,YAAY,EAAE,CAoB1B;;;;;WA3Na,MAAM;;;;SACN,MAAM;;kCARW,kBAAkB;AA6CjD;;;;;GAKG;AACH,4CALW,WA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AE,GACzC,YAAY,EAAE,CAoB1B;;;;;WA3Na,MAAM;;;;SACN,MAAM;;kCARW,kBAAkB;AA6CjD;;;;;GAKG;AACH,4CALW,WAAW,YACX,WAAW,cACX,iBAAiB,CAAC,iBAAiB,CAAC,GAClC,CAAC,aAAa,KAAK,CAAC,GAAG;IAAE,UAAU,EAAE,IAAI,CAAA;CAAE,CAAC,EAAE,CAqBvD;AAoBJ;;;;GAIG;AACH,4CAJW,CAAC,aAAa,KAAK,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,EAAE,YAC9C,aAAa,KAAK,CAAN,CAAQ,KAAK,CAAC,GACxB,aAAa,KAAK,CAAC,EAAE,CAYjC;AAED;;;GAGG;AACH,uCAHW,WAAW,GACT,CAAC,aAAa,KAAK,CAAC,GAAG;IAAE,UAAU,EAAE,IAAI,CAAA;CAAE,CAAC,EAAE,CAYvD;AAEJ;;;;;;;GAOG;AACH,uCAPW,CAAC,aAAa,KAAK,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,EAAE,YAC9C,WAAW,eACX,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,WAAW,CAAC,eACzC,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,WAAW,CAAC,YACzC,aAAa,KAAK,CAAN,CAAQ,KAAK,CAAC,GACxB,aAAa,KAAK,CAAC,EAAE,CAwCjC;kCAvK2C,aAAa;iCAAb,aAAa;uCADR,qBAAqB;iCAArB,qBAAqB"}
|
|
@@ -16,8 +16,8 @@ const { Vow$ } = NetworkShape; // TODO #9611
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @import {TypedPattern} from '@agoric/internal';
|
|
19
|
-
* @import {IBCEndpoint} from '@agoric/
|
|
20
|
-
* @import {CaipChainId,
|
|
19
|
+
* @import {IBCEndpoint, IBCConnectionInfo} from '@agoric/network/ibc';
|
|
20
|
+
* @import {CaipChainId, TrafficEntry} from '../types.js';
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["registry.js"],"names":[],"mappings":"AAqFO,2CAFI,IAAI,CAAC,mBAAmB,EAAE,QAAQ,GAAG,SAAS,CAAC;;GAgDzD;yCAzHqC,wBAAwB;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["registry.js"],"names":[],"mappings":"AAqFO,2CAFI,IAAI,CAAC,mBAAmB,EAAE,QAAQ,GAAG,SAAS,CAAC;;GAgDzD;yCAzHqC,wBAAwB;qCAC5B,kBAAkB"}
|
package/src/utils/registry.js
CHANGED
|
@@ -6,10 +6,10 @@ import { State as IBCConnectionState } from '@agoric/cosmic-proto/ibc/core/conne
|
|
|
6
6
|
import assert from 'node:assert';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @import {IBCChannelID, IBCConnectionID} from '@agoric/
|
|
9
|
+
* @import {IBCChannelID, IBCConnectionID, IBCConnectionInfo} from '@agoric/network/ibc';
|
|
10
10
|
* @import {Chain, IBCInfo} from '@chain-registry/types';
|
|
11
11
|
* @import {ChainRegistryClient} from '@chain-registry/client';
|
|
12
|
-
* @import {CosmosChainInfo
|
|
12
|
+
* @import {CosmosChainInfo} from '../cosmos-api.js';
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -24,14 +24,14 @@ export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: O
|
|
|
24
24
|
updateChain(chainName: string, chainInfo: import("../orchestration-api.js").ChainInfo): void;
|
|
25
25
|
getChainInfo<K extends string>(chainName: K): import("@agoric/vow").Vow<ActualChainInfo<K>>;
|
|
26
26
|
getChainInfoByChainId(chainId: import("../orchestration-api.js").CaipChainId): import("../orchestration-api.js").ChainInfo;
|
|
27
|
-
registerConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("
|
|
28
|
-
updateConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("
|
|
27
|
+
registerConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("@agoric/network/ibc").IBCConnectionInfo): void;
|
|
28
|
+
updateConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("@agoric/network/ibc").IBCConnectionInfo): void;
|
|
29
29
|
getConnectionInfo(primary: string | {
|
|
30
30
|
chainId: string;
|
|
31
31
|
}, counter: string | {
|
|
32
32
|
chainId: string;
|
|
33
|
-
}): import("@agoric/vow").Vow<import("
|
|
34
|
-
getChainsAndConnection<C1 extends string, C2 extends string>(primaryName: C1, counterName: C2): import("@agoric/vow").Vow<[ActualChainInfo<C1>, ActualChainInfo<C2>, import("
|
|
33
|
+
}): import("@agoric/vow").Vow<import("@agoric/network/ibc").IBCConnectionInfo>;
|
|
34
|
+
getChainsAndConnection<C1 extends string, C2 extends string>(primaryName: C1, counterName: C2): import("@agoric/vow").Vow<[ActualChainInfo<C1>, ActualChainInfo<C2>, import("@agoric/network/ibc").IBCConnectionInfo]>;
|
|
35
35
|
registerAsset(denom: import("../orchestration-api.js").Denom, detail: DenomDetail): void;
|
|
36
36
|
updateAsset(denom: import("../orchestration-api.js").Denom, detail: DenomDetail): void;
|
|
37
37
|
getAsset(denom: import("../orchestration-api.js").Denom, srcChainName: string): DenomDetail | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { MsgTransfer } from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
|
|
2
2
|
import type { StorageMessage } from '@agoric/internal/src/lib-chainStorage.js';
|
|
3
|
-
import {
|
|
3
|
+
import type { IBCChannelID } from '@agoric/network/ibc';
|
|
4
|
+
import { type VTransferIBCEvent } from '@agoric/vats';
|
|
4
5
|
import type { ExecutionContext } from 'ava';
|
|
5
6
|
import { type ChainInfo } from '../index.js';
|
|
6
7
|
export declare const ROOT_STORAGE_PATH = "orchtest";
|
|
@@ -1760,14 +1761,14 @@ export declare const setupOrchestrationTest: ({ log, chains, }: {
|
|
|
1760
1761
|
updateChain(chainName: string, chainInfo: ChainInfo): void;
|
|
1761
1762
|
getChainInfo<K extends string>(chainName: K): import("@agoric/vow").Vow<ActualChainInfo<K>>;
|
|
1762
1763
|
getChainInfoByChainId(chainId: import("../index.js").CaipChainId): ChainInfo;
|
|
1763
|
-
registerConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("
|
|
1764
|
-
updateConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("
|
|
1764
|
+
registerConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("@agoric/network/ibc").IBCConnectionInfo): void;
|
|
1765
|
+
updateConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("@agoric/network/ibc").IBCConnectionInfo): void;
|
|
1765
1766
|
getConnectionInfo(primary: string | {
|
|
1766
1767
|
chainId: string;
|
|
1767
1768
|
}, counter: string | {
|
|
1768
1769
|
chainId: string;
|
|
1769
|
-
}): import("@agoric/vow").Vow<import("
|
|
1770
|
-
getChainsAndConnection<C1 extends string, C2 extends string>(primaryName: C1, counterName: C2): import("@agoric/vow").Vow<[ActualChainInfo<C1>, ActualChainInfo<C2>, import("
|
|
1770
|
+
}): import("@agoric/vow").Vow<import("@agoric/network/ibc").IBCConnectionInfo>;
|
|
1771
|
+
getChainsAndConnection<C1 extends string, C2 extends string>(primaryName: C1, counterName: C2): import("@agoric/vow").Vow<[ActualChainInfo<C1>, ActualChainInfo<C2>, import("@agoric/network/ibc").IBCConnectionInfo]>;
|
|
1771
1772
|
registerAsset(denom: import("../index.js").Denom, detail: DenomDetail): void;
|
|
1772
1773
|
updateAsset(denom: import("../index.js").Denom, detail: DenomDetail): void;
|
|
1773
1774
|
getAsset(denom: import("../index.js").Denom, srcChainName: string): DenomDetail | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-tests.d.ts","sourceRoot":"","sources":["contract-tests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiJhB,kGAAkG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAnJnE,MAAM;qBAT9B,WAAW;sBACV,MAAM;;;wCA2DT,iBAAiB,CAAC,OAAO,CAAC,SAC1B,MAAM,GAAG;YAAE,OAAO,EAAE,WAAW,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,yBACnC,MAAM;;;;2BAcS,YAAY;;;;;;;;;EAmGrD,CAAC"}
|
package/tools/contract-tests.ts
CHANGED
|
@@ -9,11 +9,8 @@ import {
|
|
|
9
9
|
import { setupFakeNetwork } from '@agoric/orchestration/tools/network-fakes.js';
|
|
10
10
|
import { eventLoopIteration } from '@agoric/internal/src/testing-utils.js';
|
|
11
11
|
import { buildVTransferEvent } from '@agoric/orchestration/tools/ibc-mocks.js';
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
type IBCChannelID,
|
|
15
|
-
type VTransferIBCEvent,
|
|
16
|
-
} from '@agoric/vats';
|
|
12
|
+
import type { IBCChannelID } from '@agoric/network/ibc';
|
|
13
|
+
import { makeNameHubKit, type VTransferIBCEvent } from '@agoric/vats';
|
|
17
14
|
import { prepareBridgeTargetModule } from '@agoric/vats/src/bridge-target.js';
|
|
18
15
|
import { makeWellKnownSpaces } from '@agoric/vats/src/core/utils.js';
|
|
19
16
|
import {
|
package/tools/ibc-mocks.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { type JsonSafe, type Proto3Codec } from '@agoric/cosmic-proto';
|
|
|
3
3
|
import { Any as AnyType } from '@agoric/cosmic-proto/google/protobuf/any.js';
|
|
4
4
|
import type { PacketSDKType } from '@agoric/cosmic-proto/ibc/core/channel/v1/channel.js';
|
|
5
5
|
import { type RequestQuery as RequestQueryType, ResponseQuery as ResponseQueryType } from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
6
|
-
import type { IBCChannelID
|
|
6
|
+
import type { IBCChannelID } from '@agoric/network/ibc';
|
|
7
|
+
import type { IBCEvent, VTransferIBCEvent } from '@agoric/vats';
|
|
7
8
|
import type { CosmosChainAddress, Denom } from '../src/orchestration-api.js';
|
|
8
9
|
type EncoderCommon<T> = T extends Proto3Codec<infer TU> ? Proto3Codec<TU> : Proto3Codec<string>;
|
|
9
10
|
/**
|
package/tools/ibc-mocks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ibc-mocks.d.ts","sourceRoot":"","sources":["ibc-mocks.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAGjB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,6CAA6C,CAAC;AAE7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qDAAqD,CAAC;AAEzF,OAAO,EACL,KAAK,YAAY,IAAI,gBAAgB,EACrC,aAAa,IAAI,iBAAiB,EACnC,MAAM,+CAA+C,CAAC;AAKvD,OAAO,KAAK,
|
|
1
|
+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MAAM,EAAE,CAAC,GACR,yBAAyB,CAAC,CAAC,CAAC,CA4D9B;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,MAOtD;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B,GAAI,yBAG3C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAM,KAAG,OAAO,CACxD,QAAQ,CAAC,qBAAqB,CAAC,CAQ/B,CAAC"}
|
package/tools/ibc-mocks.ts
CHANGED
|
@@ -19,12 +19,8 @@ import {
|
|
|
19
19
|
IBC_EVENT,
|
|
20
20
|
VTRANSFER_IBC_EVENT,
|
|
21
21
|
} from '@agoric/internal/src/action-types.js';
|
|
22
|
-
import type {
|
|
23
|
-
|
|
24
|
-
IBCEvent,
|
|
25
|
-
IBCPacket,
|
|
26
|
-
VTransferIBCEvent,
|
|
27
|
-
} from '@agoric/vats';
|
|
22
|
+
import type { IBCChannelID } from '@agoric/network/ibc';
|
|
23
|
+
import type { IBCEvent, IBCPacket, VTransferIBCEvent } from '@agoric/vats';
|
|
28
24
|
import { LOCALCHAIN_DEFAULT_ADDRESS } from '@agoric/vats/tools/fake-bridge.js';
|
|
29
25
|
import { atob, btoa, decodeBase64, encodeBase64 } from '@endo/base64';
|
|
30
26
|
import type { CosmosChainAddress, Denom } from '../src/orchestration-api.js';
|
package/tools/network-fakes.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { VowTools } from '@agoric/vow';
|
|
2
|
+
import type { IBCChannelID } from '@agoric/network/ibc';
|
|
2
3
|
import type { Zone } from '@agoric/zone';
|
|
3
|
-
import type {
|
|
4
|
+
import type { IBCMethod, IBCEvent, ScopedBridgeManagerMethods } from '@agoric/vats';
|
|
4
5
|
import type { Guarded } from '@endo/exo';
|
|
5
6
|
type ImplementedIBCEvents = 'channelOpenAck' | 'acknowledgementPacket';
|
|
6
7
|
export declare const ibcBridgeMocks: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-fakes.d.ts","sourceRoot":"","sources":["network-fakes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAS5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"network-fakes.d.ts","sourceRoot":"","sources":["network-fakes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAS5C,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EACV,SAAS,EACT,QAAQ,EACR,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmCzC,KAAK,oBAAoB,GAAG,gBAAgB,GAAG,uBAAuB,CAAC;AAEvE,eAAO,MAAM,cAAc,EAAE;KAC1B,CAAC,IAAI,oBAAoB,GAAG,CAAC,SAAS,gBAAgB,GACnD,CACE,GAAG,EAAE,SAAS,CAAC,sBAAsB,CAAC,EACtC,IAAI,EAAE;QACJ,SAAS,EAAE,YAAY,CAAC;QACxB,qBAAqB,EAAE,YAAY,CAAC;QACpC,gBAAgB,EAAE,MAAM,CAAC;KAC1B,KACE,QAAQ,CAAC,gBAAgB,CAAC,GAC/B,CAAC,SAAS,uBAAuB,GAC/B,CACE,GAAG,EAAE,SAAS,CAAC,YAAY,CAAC,EAC5B,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAA;KAAE,KAChD,QAAQ,CAAC,uBAAuB,CAAC,GACtC,KAAK;CAyDZ,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2NJ,CAAC"}
|
package/tools/network-fakes.ts
CHANGED
|
@@ -9,14 +9,16 @@ import {
|
|
|
9
9
|
preparePortAllocator,
|
|
10
10
|
prepareRouterProtocol,
|
|
11
11
|
} from '@agoric/network';
|
|
12
|
-
import type { Zone } from '@agoric/zone';
|
|
13
12
|
import type {
|
|
14
13
|
IBCChannelID,
|
|
14
|
+
IBCConnectionID,
|
|
15
|
+
IBCPortID,
|
|
16
|
+
} from '@agoric/network/ibc';
|
|
17
|
+
import type { Zone } from '@agoric/zone';
|
|
18
|
+
import type {
|
|
15
19
|
IBCMethod,
|
|
16
20
|
IBCEvent,
|
|
17
21
|
ScopedBridgeManagerMethods,
|
|
18
|
-
IBCConnectionID,
|
|
19
|
-
IBCPortID,
|
|
20
22
|
} from '@agoric/vats';
|
|
21
23
|
import {
|
|
22
24
|
prepareCallbacks as prepareIBCCallbacks,
|