@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
package/index.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/// <reference types="@agoric/internal/exported" />
|
|
2
|
-
/// <reference types="@agoric/vats/src/core/types-ambient" />
|
|
3
|
-
/// <reference types="@agoric/zoe/exported" />
|
|
4
|
-
|
|
5
1
|
// eslint-disable-next-line import/export
|
|
6
2
|
export * from './src/types-index.js'; // no named exports
|
|
7
3
|
export * from './src/exos/cosmos-interchain-service.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.2.0",
|
|
3
|
+
"version": "0.2.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"codegen:viem-abi": "tsup",
|
|
14
14
|
"build": "yarn esbuild:axelar",
|
|
15
15
|
"codegen": "scripts/fetch-chain-info.ts",
|
|
16
|
-
"prepack": "yarn run -T
|
|
17
|
-
"postpack": "
|
|
16
|
+
"prepack": "yarn run -T prepack-package",
|
|
17
|
+
"postpack": "yarn run -T postpack-package",
|
|
18
18
|
"test": "ava",
|
|
19
19
|
"test:c8": "c8 --all ${C8_OPTIONS:-} ava",
|
|
20
20
|
"test:xs": "exit 0",
|
|
21
21
|
"lint-fix": "yarn lint:eslint --fix",
|
|
22
22
|
"lint": "yarn run -T run-s --continue-on-error 'lint:*'",
|
|
23
|
-
"lint:eslint": "
|
|
23
|
+
"lint:eslint": "node ../../scripts/eslint-repo.mjs .",
|
|
24
24
|
"lint:types": "yarn run -T tsc"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@agoric/async-flow": "0.2.0",
|
|
39
|
-
"@agoric/cosmic-proto": "0.5.0",
|
|
40
|
-
"@agoric/ertp": "0.17.0",
|
|
41
|
-
"@agoric/internal": "0.4.0",
|
|
42
|
-
"@agoric/network": "0.2.0",
|
|
43
|
-
"@agoric/notifier": "0.7.0",
|
|
44
|
-
"@agoric/store": "0.10.0",
|
|
45
|
-
"@agoric/time": "0.4.0",
|
|
46
|
-
"@agoric/vat-data": "0.6.0",
|
|
47
|
-
"@agoric/vats": "0.16.0",
|
|
48
|
-
"@agoric/vow": "0.2.0",
|
|
49
|
-
"@agoric/zoe": "0.27.0",
|
|
50
|
-
"@agoric/zone": "0.3.0",
|
|
38
|
+
"@agoric/async-flow": "0.2.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
39
|
+
"@agoric/cosmic-proto": "0.5.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
40
|
+
"@agoric/ertp": "0.17.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
41
|
+
"@agoric/internal": "0.4.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
42
|
+
"@agoric/network": "0.2.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
43
|
+
"@agoric/notifier": "0.7.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
44
|
+
"@agoric/store": "0.10.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
45
|
+
"@agoric/time": "0.4.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
46
|
+
"@agoric/vat-data": "0.6.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
47
|
+
"@agoric/vats": "0.16.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
48
|
+
"@agoric/vow": "0.2.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
49
|
+
"@agoric/zoe": "0.27.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
50
|
+
"@agoric/zone": "0.3.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
51
51
|
"@cosmjs/encoding": "^0.36.0",
|
|
52
52
|
"@endo/base64": "^1.0.12",
|
|
53
53
|
"@endo/errors": "^1.2.13",
|
|
@@ -55,22 +55,23 @@
|
|
|
55
55
|
"@endo/far": "^1.1.14",
|
|
56
56
|
"@endo/marshal": "^1.8.0",
|
|
57
57
|
"@endo/patterns": "^1.7.0",
|
|
58
|
+
"@endo/promise-kit": "^1.1.13",
|
|
58
59
|
"@noble/hashes": "~1.5.0",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
60
|
+
"bech32": "^2.0.0",
|
|
61
|
+
"bs58": "^6.0.0"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
|
-
"@agoric/swingset-liveslots": "0.11.0",
|
|
64
|
+
"@agoric/swingset-liveslots": "0.11.1-upgrade-23-dev-bd79330.0.bd79330",
|
|
64
65
|
"@chain-registry/client": "^1.53.194",
|
|
65
66
|
"@cosmjs/amino": "^0.36.0",
|
|
66
67
|
"@cosmjs/proto-signing": "^0.36.0",
|
|
67
68
|
"@endo/bundle-source": "^4.1.2",
|
|
68
69
|
"@endo/import-bundle": "^1.5.2",
|
|
69
70
|
"@endo/ses-ava": "^1.3.2",
|
|
70
|
-
"ava": "^
|
|
71
|
-
"bech32": "^2.0.0",
|
|
71
|
+
"ava": "^6.4.1",
|
|
72
72
|
"c8": "^10.1.3",
|
|
73
|
-
"
|
|
73
|
+
"esbuild": "^0.25.2",
|
|
74
|
+
"prettier": "^3.7.4",
|
|
74
75
|
"ts-blank-space": "^0.6.2",
|
|
75
76
|
"tsup": "^8.5.0",
|
|
76
77
|
"viem": "^2.31.0"
|
|
@@ -90,8 +91,7 @@
|
|
|
90
91
|
"require": [
|
|
91
92
|
"@endo/init/debug.js"
|
|
92
93
|
],
|
|
93
|
-
"timeout": "20m"
|
|
94
|
-
"workerThreads": false
|
|
94
|
+
"timeout": "20m"
|
|
95
95
|
},
|
|
96
96
|
"files": [
|
|
97
97
|
"*.js",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"access": "public"
|
|
104
104
|
},
|
|
105
105
|
"typeCoverage": {
|
|
106
|
-
"atLeast": 97.
|
|
106
|
+
"atLeast": 97.65
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "bd79330f78dae2faf9cc3d8b10063567700da07b"
|
|
109
109
|
}
|
package/src/axelar-types.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export type ContractCall = {
|
|
|
36
36
|
target: `0x${string}`;
|
|
37
37
|
functionSignature: string;
|
|
38
38
|
args: unknown[];
|
|
39
|
+
abi?: Abi | undefined;
|
|
39
40
|
};
|
|
40
41
|
export type AbiEncodedContractCall = {
|
|
41
42
|
target: `0x${string}`;
|
|
@@ -47,5 +48,6 @@ import type { OrchestrationAccount } from '@agoric/orchestration';
|
|
|
47
48
|
import type { CosmosChainAddress } from '@agoric/orchestration';
|
|
48
49
|
import type { IBCChannelID } from '@agoric/vats';
|
|
49
50
|
import type { Denom } from '@agoric/orchestration';
|
|
51
|
+
import type { Abi } from 'viem';
|
|
50
52
|
import type { EVM_CHAINS } from './utils/gmp.js';
|
|
51
53
|
//# sourceMappingURL=axelar-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axelar-types.d.ts","sourceRoot":"","sources":["axelar-types.js"],"names":[],"mappings":";;;;;
|
|
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,cAAc;2BADnB,uBAAuB;yBAG3B,MAAM;gCADC,gBAAgB"}
|
package/src/axelar-types.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Bech32Address,} from '@agoric/orchestration';
|
|
6
6
|
* @import {IBCChannelID} from '@agoric/vats';
|
|
7
7
|
* @import {EVM_CHAINS} from './utils/gmp.js';
|
|
8
|
+
* @import {Abi} from 'viem';
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
// NOTE: The following 3 types are also documented in README.md located at:
|
|
@@ -64,6 +65,7 @@ harden(AxelarGMPMessageType);
|
|
|
64
65
|
* @property {`0x${string}`} target
|
|
65
66
|
* @property {string} functionSignature
|
|
66
67
|
* @property {unknown[]} args
|
|
68
|
+
* @property {Abi} [abi]
|
|
67
69
|
*/
|
|
68
70
|
|
|
69
71
|
/**
|
package/src/cctp-chain-info.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @import {BaseChainInfo} from './orchestration-api.js';
|
|
3
|
+
*/
|
|
1
4
|
/**
|
|
2
5
|
* sourced from https://developers.circle.com/stablecoins/supported-domains and
|
|
3
6
|
* https://chainlist.org/ on 19 March 2025
|
|
4
7
|
*
|
|
5
|
-
* @satisfies {Record<string,
|
|
8
|
+
* @satisfies {Record<string, BaseChainInfo>}
|
|
6
9
|
*/
|
|
7
10
|
export default /** @type {const} } */ ({
|
|
8
11
|
ethereum: {
|
package/src/chain-info.d.ts
CHANGED
|
@@ -2,18 +2,33 @@
|
|
|
2
2
|
* *
|
|
3
3
|
*/
|
|
4
4
|
export type KnownNamespace = (typeof KnownNamespace)[keyof typeof KnownNamespace];
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
5
|
+
/**
|
|
6
|
+
* @import {CosmosAssetInfo, CosmosChainInfo, IBCConnectionInfo} from './types.js';
|
|
7
|
+
* @import {NameAdmin} from '@agoric/vats';
|
|
8
|
+
* @import {ChainInfo} from './orchestration-api.js';
|
|
9
|
+
* @import {NameHubKit} from '@agoric/vats';
|
|
10
|
+
* @import {ERef} from '@agoric/vow';
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Well-known namespaces supported by the Orchestration SDK
|
|
14
|
+
*
|
|
15
|
+
* @enum {(typeof KnownNamespace)[keyof typeof KnownNamespace]}
|
|
16
|
+
* @see {@link https://github.com/ChainAgnostic/CAIPs/blob/c599f7601d0ce83e6dd9f350c6c21d158d56fd6d/CAIPs/caip-2.md}
|
|
17
|
+
*/
|
|
18
|
+
export const KnownNamespace: import("@agoric/internal").KeyMirrorResult<{
|
|
19
|
+
cosmos: null;
|
|
20
|
+
eip155: null;
|
|
21
|
+
solana: null;
|
|
22
|
+
}>;
|
|
10
23
|
export function registerChainAssets(agoricNamesAdmin: ERef<NameAdmin>, name: string, assets: CosmosAssetInfo[]): Promise<void>;
|
|
11
24
|
export function registerChain(agoricNamesAdmin: ERef<NameAdmin>, name: string, chainInfo: ChainInfo, log?: (...messages: string[]) => void, handledConnections?: Set<string>): Promise<void>;
|
|
12
|
-
export function registerKnownChains(agoricNamesAdmin: ERef<
|
|
25
|
+
export function registerKnownChains(agoricNamesAdmin: ERef<NameHubKit["nameAdmin"]>, log?: (...messages: string[]) => void, chains?: Record<string, ChainInfo>): Promise<void>;
|
|
13
26
|
export type KnownChains = typeof knownChains;
|
|
14
27
|
import type { NameAdmin } from '@agoric/vats';
|
|
28
|
+
import type { ERef } from '@agoric/vow';
|
|
15
29
|
import type { CosmosAssetInfo } from './types.js';
|
|
16
30
|
import type { ChainInfo } from './orchestration-api.js';
|
|
31
|
+
import type { NameHubKit } from '@agoric/vats';
|
|
17
32
|
declare const knownChains: {
|
|
18
33
|
ethereum: {
|
|
19
34
|
readonly namespace: "eip155";
|
package/src/chain-info.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-info.d.ts","sourceRoot":"","sources":["chain-info.js"],"names":[],"mappings":";;;6B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-7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { E } from '@endo/far';
|
|
9
9
|
import { M, mustMatch } from '@endo/patterns';
|
|
10
|
+
import { keyMirror } from '@agoric/internal';
|
|
10
11
|
import cctpChainInfo from './cctp-chain-info.js';
|
|
11
12
|
import { withChainCapabilities } from './chain-capabilities.js';
|
|
12
13
|
import { HubName, normalizeConnectionInfo } from './exos/chain-hub.js';
|
|
@@ -17,6 +18,8 @@ import { ChainInfoShape, CosmosAssetInfoShape } from './typeGuards.js';
|
|
|
17
18
|
* @import {CosmosAssetInfo, CosmosChainInfo, IBCConnectionInfo} from './types.js';
|
|
18
19
|
* @import {NameAdmin} from '@agoric/vats';
|
|
19
20
|
* @import {ChainInfo} from './orchestration-api.js';
|
|
21
|
+
* @import {NameHubKit} from '@agoric/vats';
|
|
22
|
+
* @import {ERef} from '@agoric/vow';
|
|
20
23
|
*/
|
|
21
24
|
|
|
22
25
|
/**
|
|
@@ -25,10 +28,10 @@ import { ChainInfoShape, CosmosAssetInfoShape } from './typeGuards.js';
|
|
|
25
28
|
* @enum {(typeof KnownNamespace)[keyof typeof KnownNamespace]}
|
|
26
29
|
* @see {@link https://github.com/ChainAgnostic/CAIPs/blob/c599f7601d0ce83e6dd9f350c6c21d158d56fd6d/CAIPs/caip-2.md}
|
|
27
30
|
*/
|
|
28
|
-
export const KnownNamespace =
|
|
29
|
-
cosmos:
|
|
30
|
-
eip155:
|
|
31
|
-
solana:
|
|
31
|
+
export const KnownNamespace = keyMirror({
|
|
32
|
+
cosmos: null,
|
|
33
|
+
eip155: null,
|
|
34
|
+
solana: null,
|
|
32
35
|
});
|
|
33
36
|
harden(KnownNamespace);
|
|
34
37
|
|
|
@@ -93,9 +96,7 @@ export const registerChain = async (
|
|
|
93
96
|
.then(() => log(`registered agoricNames chain.${name}`)),
|
|
94
97
|
];
|
|
95
98
|
|
|
96
|
-
const { chainId } = /** @type {
|
|
97
|
-
chainInfo
|
|
98
|
-
);
|
|
99
|
+
const { chainId } = /** @type {CosmosChainInfo} */ (chainInfo);
|
|
99
100
|
for (const [counterChainId, connInfo] of Object.entries(connections)) {
|
|
100
101
|
const [key, connectionInfo] = normalizeConnectionInfo(
|
|
101
102
|
chainId,
|
|
@@ -123,7 +124,7 @@ export const registerChain = async (
|
|
|
123
124
|
*
|
|
124
125
|
* Not active on or planned for mainnet.
|
|
125
126
|
*
|
|
126
|
-
* @param {ERef<
|
|
127
|
+
* @param {ERef<NameHubKit['nameAdmin']>} agoricNamesAdmin
|
|
127
128
|
* @param {(...messages: string[]) => void} [log]
|
|
128
129
|
* @param {Record<string, ChainInfo>} chains
|
|
129
130
|
*/
|
package/src/cosmos-api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyJson, JsonSafe, TypedJson } from '@agoric/cosmic-proto';
|
|
1
|
+
import type { AnyJson, JsonSafe, MessageBody, ResponseTypeUrl, TypedJson, TypeFromUrl } from '@agoric/cosmic-proto';
|
|
2
2
|
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';
|
|
@@ -7,12 +7,44 @@ import type { State as IBCChannelState, Order } from '@agoric/cosmic-proto/ibc/c
|
|
|
7
7
|
import type { State as IBCConnectionState } from '@agoric/cosmic-proto/ibc/core/connection/v1/connection.js';
|
|
8
8
|
import type { RequestQuery, ResponseQuery } from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
9
9
|
import type { Amount, Payment } from '@agoric/ertp/src/types.js';
|
|
10
|
-
import type { Port
|
|
11
|
-
import type { IBCChannelID, IBCConnectionID, IBCPortID } from '@agoric/vats';
|
|
10
|
+
import type { Port } from '@agoric/network';
|
|
11
|
+
import type { IBCChannelID, IBCConnectionID, IBCPortID, NetworkBinding, NetworkEndpoint } from '@agoric/vats';
|
|
12
12
|
import type { TargetApp, TargetRegistration } from '@agoric/vats/src/bridge-target.js';
|
|
13
13
|
import type { LocalIbcAddress, RemoteIbcAddress } from '@agoric/vats/tools/ibc-utils.js';
|
|
14
|
-
import { PFM_RECEIVER } from './exos/chain-hub.js';
|
|
15
|
-
import type { AccountId, AmountArg, BaseChainInfo, CosmosChainAddress, Denom, DenomAmount } from './types.js';
|
|
14
|
+
import type { PFM_RECEIVER } from './exos/chain-hub.js';
|
|
15
|
+
import type { AccountId, AmountArg, BaseChainInfo, CosmosChainAddress, Denom, DenomAmount, PacketOptions } from './types.js';
|
|
16
|
+
/**
|
|
17
|
+
* Record of Network API traffic for a specific data packet sent between two
|
|
18
|
+
* chains.
|
|
19
|
+
*/
|
|
20
|
+
export type TrafficEntry<
|
|
21
|
+
/** Source Protocol (like 'ibc') */
|
|
22
|
+
SP extends keyof NetworkBinding = keyof NetworkBinding,
|
|
23
|
+
/** Destination Protocol */
|
|
24
|
+
DP extends keyof NetworkBinding = SP> = {
|
|
25
|
+
/** Semantic operation name for debugging, e.g. 'IBC transfer' */
|
|
26
|
+
op: string;
|
|
27
|
+
/** Indicates whether the traffic entry is not yet finalized. */
|
|
28
|
+
incomplete?: boolean;
|
|
29
|
+
/** Network API endpoint info for source chain */
|
|
30
|
+
src: NetworkEndpoint<SP>;
|
|
31
|
+
/** Network API endpoint info for destination chain */
|
|
32
|
+
dst: NetworkEndpoint<DP>;
|
|
33
|
+
/** Sequence number to match sent packet to received acknowledgement */
|
|
34
|
+
seq: {
|
|
35
|
+
status: 'pending' | 'unknown';
|
|
36
|
+
} | number | bigint | string;
|
|
37
|
+
};
|
|
38
|
+
export type CosmosActionOptions = PacketOptions & {
|
|
39
|
+
txOpts?: Partial<Omit<TxBody, 'messages'>>;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* The type of the `executeEncodedTx` options parameter on the underlying ICA.
|
|
43
|
+
*/
|
|
44
|
+
export type LegacyExecuteEncodedTxOptions = CosmosActionOptions['txOpts'] & Omit<CosmosActionOptions, 'txOpts'>;
|
|
45
|
+
export type CosmosQuerierOptions = PacketOptions & {
|
|
46
|
+
queryOpts?: Partial<Omit<RequestQuery, 'path' | 'data'>>;
|
|
47
|
+
};
|
|
16
48
|
/**
|
|
17
49
|
* @example
|
|
18
50
|
*
|
|
@@ -124,32 +156,32 @@ export interface StakingAccountQueries {
|
|
|
124
156
|
/**
|
|
125
157
|
* @returns all active delegations from the account to any validator (or [] if none)
|
|
126
158
|
*/
|
|
127
|
-
getDelegations: () => Promise<CosmosDelegationResponse[]>;
|
|
159
|
+
getDelegations: (opts?: CosmosQuerierOptions) => Promise<CosmosDelegationResponse[]>;
|
|
128
160
|
/**
|
|
129
161
|
* @returns the active delegation from the account to a specific validator. Return an
|
|
130
162
|
* empty Delegation if there is no delegation.
|
|
131
163
|
*/
|
|
132
|
-
getDelegation: (validator: CosmosValidatorAddress) => Promise<CosmosDelegationResponse>;
|
|
164
|
+
getDelegation: (validator: CosmosValidatorAddress, opts?: CosmosQuerierOptions) => Promise<CosmosDelegationResponse>;
|
|
133
165
|
/**
|
|
134
166
|
* @returns the unbonding delegations from the account to any validator (or [] if none)
|
|
135
167
|
*/
|
|
136
|
-
getUnbondingDelegations: () => Promise<UnbondingDelegation[]>;
|
|
168
|
+
getUnbondingDelegations: (opts?: CosmosQuerierOptions) => Promise<UnbondingDelegation[]>;
|
|
137
169
|
/**
|
|
138
170
|
* @returns the unbonding delegations from the account to a specific validator (or [] if none)
|
|
139
171
|
*/
|
|
140
|
-
getUnbondingDelegation: (validator: CosmosValidatorAddress) => Promise<UnbondingDelegation>;
|
|
141
|
-
getRedelegations: () => Promise<RedelegationResponse[]>;
|
|
172
|
+
getUnbondingDelegation: (validator: CosmosValidatorAddress, opts?: CosmosQuerierOptions) => Promise<UnbondingDelegation>;
|
|
173
|
+
getRedelegations: (opts?: CosmosQuerierOptions) => Promise<RedelegationResponse[]>;
|
|
142
174
|
/**
|
|
143
175
|
* Get the pending rewards for the account.
|
|
144
176
|
* @returns the amounts of the account's rewards pending from all validators
|
|
145
177
|
*/
|
|
146
|
-
getRewards: () => Promise<CosmosRewardsResponse>;
|
|
178
|
+
getRewards: (opts?: CosmosQuerierOptions) => Promise<CosmosRewardsResponse>;
|
|
147
179
|
/**
|
|
148
180
|
* Get the rewards pending with a specific validator.
|
|
149
181
|
* @param validator - the validator address to query for
|
|
150
182
|
* @returns the amount of the account's rewards pending from a specific validator
|
|
151
183
|
*/
|
|
152
|
-
getReward: (validator: CosmosValidatorAddress) => Promise<DenomAmount[]>;
|
|
184
|
+
getReward: (validator: CosmosValidatorAddress, opts?: CosmosQuerierOptions) => Promise<DenomAmount[]>;
|
|
153
185
|
}
|
|
154
186
|
/**
|
|
155
187
|
* Transactions for doing staking operations on an individual account.
|
|
@@ -162,54 +194,57 @@ export interface StakingAccountActions {
|
|
|
162
194
|
* Delegate an amount to a validator. The promise settles when the delegation is complete.
|
|
163
195
|
* @param validator - the validator to delegate to
|
|
164
196
|
* @param amount - the amount to delegate
|
|
165
|
-
* @
|
|
197
|
+
* @param [opts] - transaction submission options
|
|
198
|
+
* @returns unknown
|
|
166
199
|
*/
|
|
167
|
-
delegate: (validator: CosmosValidatorAddress, amount: AmountArg) => Promise<
|
|
200
|
+
delegate: (validator: CosmosValidatorAddress, amount: AmountArg, opts?: CosmosActionOptions) => Promise<unknown>;
|
|
168
201
|
/**
|
|
169
202
|
* Redelegate from one delegator to another.
|
|
170
203
|
* Settles when the redelegation is established, not 21 days later.
|
|
171
204
|
* @param srcValidator - the current validator for the delegation.
|
|
172
205
|
* @param dstValidator - the validator that will receive the delegation.
|
|
173
206
|
* @param amount - how much to redelegate.
|
|
207
|
+
* @param [opts] - transaction submission options
|
|
174
208
|
* @returns
|
|
175
209
|
*/
|
|
176
|
-
redelegate: (srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg) => Promise<
|
|
210
|
+
redelegate: (srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg, opts?: CosmosActionOptions) => Promise<unknown>;
|
|
177
211
|
/**
|
|
178
212
|
* Undelegate multiple delegations (concurrently). To delegate independently, pass an array with one item.
|
|
179
213
|
* Resolves when the undelegation is complete and the tokens are no longer bonded. Note it may take weeks.
|
|
180
214
|
* The unbonding time is padded by 10 minutes to account for clock skew.
|
|
181
215
|
* @param delegations - the delegation to undelegate
|
|
216
|
+
* @param [opts] - transaction submission options
|
|
182
217
|
*/
|
|
183
218
|
undelegate: (delegations: {
|
|
184
219
|
amount: AmountArg;
|
|
185
220
|
delegator?: CosmosChainAddress;
|
|
186
221
|
validator: CosmosValidatorAddress;
|
|
187
|
-
}[]) => Promise<
|
|
222
|
+
}[], opts?: CosmosActionOptions) => Promise<unknown>;
|
|
188
223
|
/**
|
|
189
224
|
* Withdraw rewards from all validators. The promise settles when the rewards are withdrawn.
|
|
225
|
+
* @param [opts] - transaction submission options
|
|
190
226
|
* @returns The total amounts of rewards withdrawn
|
|
191
227
|
*/
|
|
192
|
-
withdrawRewards: () => Promise<DenomAmount[]>;
|
|
228
|
+
withdrawRewards: (opts?: CosmosActionOptions) => Promise<DenomAmount[]>;
|
|
193
229
|
/**
|
|
194
230
|
* Withdraw rewards from a specific validator. The promise settles when the rewards are withdrawn.
|
|
195
231
|
* @param validator - the validator to withdraw rewards from
|
|
232
|
+
* @param [opts] - transaction submission options
|
|
196
233
|
* @returns
|
|
197
234
|
*/
|
|
198
|
-
withdrawReward: (validator: CosmosValidatorAddress) => Promise<DenomAmount[]>;
|
|
235
|
+
withdrawReward: (validator: CosmosValidatorAddress, opts?: CosmosActionOptions) => Promise<DenomAmount[]>;
|
|
199
236
|
}
|
|
200
237
|
/**
|
|
201
238
|
* Low level methods from IcaAccount that we pass through to CosmosOrchestrationAccount
|
|
202
239
|
*/
|
|
203
|
-
export interface
|
|
240
|
+
export interface IcaAccountBaseMethods {
|
|
204
241
|
/**
|
|
205
242
|
* Submit a transaction on behalf of the remote account for execution on the remote chain.
|
|
206
243
|
* @param msgs - records for the transaction
|
|
207
244
|
* @param [opts] - optional parameters for the Tx. use `opts.sendOpts.relativeTimeoutNs` to specify a timeout for the ICA tx packet
|
|
208
|
-
* @returns
|
|
245
|
+
* @returns base64 protobuf responses for tryDecodeMessages
|
|
209
246
|
*/
|
|
210
|
-
executeEncodedTx: (msgs: AnyJson[], opts?:
|
|
211
|
-
sendOpts?: SendOptions;
|
|
212
|
-
}) => Promise<string>;
|
|
247
|
+
executeEncodedTx: (msgs: readonly AnyJson[], opts?: LegacyExecuteEncodedTxOptions) => Promise<string>;
|
|
213
248
|
/**
|
|
214
249
|
* Deactivates the ICA account by closing the ICA channel. The `Port` is
|
|
215
250
|
* persisted so holders can always call `.reactivate()` to re-establish a new
|
|
@@ -222,7 +257,7 @@ export interface IcaAccountMethods {
|
|
|
222
257
|
* Reactivates the ICA account by re-establishing a new channel with the
|
|
223
258
|
* original Port and requested address.
|
|
224
259
|
* If a channel is closed for an unexpected reason, such as a packet timeout,
|
|
225
|
-
* an automatic attempt to
|
|
260
|
+
* an automatic attempt to reopen will be made and the holder should not need
|
|
226
261
|
* to call `.reactivate()`.
|
|
227
262
|
* @throws {Error} if connection is currently active
|
|
228
263
|
*/
|
|
@@ -231,7 +266,7 @@ export interface IcaAccountMethods {
|
|
|
231
266
|
/**
|
|
232
267
|
* Low level object that supports queries and operations for an account on a remote chain.
|
|
233
268
|
*/
|
|
234
|
-
export interface IcaAccount extends
|
|
269
|
+
export interface IcaAccount extends IcaAccountBaseMethods {
|
|
235
270
|
/**
|
|
236
271
|
* @returns the address of the account on the remote chain
|
|
237
272
|
*/
|
|
@@ -239,7 +274,7 @@ export interface IcaAccount extends IcaAccountMethods {
|
|
|
239
274
|
/**
|
|
240
275
|
* Submit a transaction on behalf of the remote account for execution on the remote chain.
|
|
241
276
|
* @param msgs - records for the transaction
|
|
242
|
-
* @returns acknowledgement
|
|
277
|
+
* @returns acknowledgement
|
|
243
278
|
*/
|
|
244
279
|
executeTx: (msgs: TypedJson[]) => Promise<string>;
|
|
245
280
|
/** @returns the address of the remote channel */
|
|
@@ -249,9 +284,47 @@ export interface IcaAccount extends IcaAccountMethods {
|
|
|
249
284
|
/** @returns the port the ICA channel is bound to */
|
|
250
285
|
getPort: () => Port;
|
|
251
286
|
}
|
|
287
|
+
/**
|
|
288
|
+
* ICA-related account methods exposed on the Cosmos Orchestration Account
|
|
289
|
+
* holder facet.
|
|
290
|
+
*/
|
|
291
|
+
export interface IcaAccountMethods extends IcaAccountBaseMethods {
|
|
292
|
+
/**
|
|
293
|
+
* Submit a transaction on behalf of the remote account for execution on
|
|
294
|
+
* the remote chain, and decode the response.
|
|
295
|
+
*
|
|
296
|
+
* Set `relativeTimeoutNs` to provide a timeout for the IBC packet.
|
|
297
|
+
*
|
|
298
|
+
* `TxBody` fields like `timeoutHeight` and `memo` can be set, but these
|
|
299
|
+
* typically do not affect IBC app protocols like PFM, ICA.
|
|
300
|
+
*
|
|
301
|
+
* @param msgs - records for the transaction
|
|
302
|
+
* @param [opts] - optional parameters for the Tx. use `opts.sendOpts.relativeTimeoutNs` to specify a timeout for the ICA tx packet
|
|
303
|
+
* @returns decoded responses or Any if unknown
|
|
304
|
+
*/
|
|
305
|
+
executeTxProto3: <TUS extends readonly (keyof TypeFromUrl | unknown)[]>(msgs: Readonly<{
|
|
306
|
+
[K in keyof TUS]: AnyJson<TUS[K]>;
|
|
307
|
+
}>, opts?: CosmosActionOptions) => Promise<{
|
|
308
|
+
[K in keyof TUS]: MessageBody<ResponseTypeUrl<TUS[K]>>;
|
|
309
|
+
}>;
|
|
310
|
+
/**
|
|
311
|
+
* Submit a transaction on behalf of the remote account for execution on
|
|
312
|
+
* the remote chain, but do not decode the response.
|
|
313
|
+
*
|
|
314
|
+
* Set `relativeTimeoutNs` to provide a timeout for the IBC packet.
|
|
315
|
+
*
|
|
316
|
+
* `TxBody` fields like `timeoutHeight` and `memo` can be set, but these
|
|
317
|
+
* typically do not affect IBC app protocols like PFM, ICA.
|
|
318
|
+
*
|
|
319
|
+
* @param msgs - records for the transaction
|
|
320
|
+
* @param [opts] - optional parameters for the Tx. use `opts.sendOpts.relativeTimeoutNs` to specify a timeout for the ICA tx packet
|
|
321
|
+
* @returns base64 protobuf responses for tryDecodeMessages
|
|
322
|
+
*/
|
|
323
|
+
executeTxProto3Undecoded: (msgs: readonly AnyJson[], opts?: CosmosActionOptions) => Promise<string>;
|
|
324
|
+
}
|
|
252
325
|
/** Methods on chains that support Liquid Staking */
|
|
253
326
|
export interface LiquidStakingMethods {
|
|
254
|
-
liquidStake: (amount: AmountArg) => Promise<
|
|
327
|
+
liquidStake: (amount: AmountArg, opts?: CosmosActionOptions) => Promise<unknown>;
|
|
255
328
|
}
|
|
256
329
|
/**
|
|
257
330
|
* Noble is the gateway to transferring USDC among Cosmos chains. We can
|
|
@@ -261,7 +334,7 @@ export interface NobleMethods {
|
|
|
261
334
|
/** burn USDC on Noble and mint on a destination chain via CCTP */
|
|
262
335
|
depositForBurn: (mintRecipient: AccountId, amount: AmountArg,
|
|
263
336
|
/** if specified, only this account can call MsgReceive on the destination chain */
|
|
264
|
-
caller?: AccountId) => Promise<
|
|
337
|
+
caller?: AccountId, opts?: CosmosActionOptions) => Promise<unknown>;
|
|
265
338
|
}
|
|
266
339
|
/** Methods supported only on Agoric chain accounts */
|
|
267
340
|
export interface LocalAccountMethods extends StakingAccountActions {
|
|
@@ -314,7 +387,7 @@ export type IBCMsgTransferOptions = {
|
|
|
314
387
|
timeout?: ForwardInfo['forward']['timeout'];
|
|
315
388
|
retries?: ForwardInfo['forward']['retries'];
|
|
316
389
|
};
|
|
317
|
-
};
|
|
390
|
+
} & CosmosActionOptions;
|
|
318
391
|
/**
|
|
319
392
|
* Cosmos-specific methods to extend `OrchestrationAccountI`, parameterized
|
|
320
393
|
* by `CosmosChainInfo`.
|
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,
|
|
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;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAE3F,OAAO,KAAK,EACV,KAAK,IAAI,eAAe,EACxB,KAAK,EACN,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,2DAA2D,CAAC;AAC7G,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACd,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACT,cAAc,EACd,eAAe,EAEhB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB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