@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
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @import {TypeFromUrl} from '@agoric/cosmic-proto';
|
|
3
|
+
*/
|
|
4
|
+
export const MsgDepositForBurn: import("@agoric/cosmic-proto").Proto3CodecHelper<"/circle.cctp.v1.MsgDepositForBurn">;
|
|
5
|
+
export const MsgDepositForBurnResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/circle.cctp.v1.MsgDepositForBurnResponse">;
|
|
6
|
+
export const MsgDepositForBurnWithCaller: import("@agoric/cosmic-proto").Proto3CodecHelper<"/circle.cctp.v1.MsgDepositForBurnWithCaller">;
|
|
7
|
+
export const MsgDepositForBurnWithCallerResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/circle.cctp.v1.MsgDepositForBurnWithCallerResponse">;
|
|
8
|
+
export const MsgSend: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.MsgSend">;
|
|
9
|
+
export const MsgSendResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.MsgSendResponse">;
|
|
10
|
+
export const MsgWithdrawDelegatorReward: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward">;
|
|
11
|
+
export const MsgWithdrawDelegatorRewardResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse">;
|
|
12
|
+
export const QueryAllBalancesRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.QueryAllBalancesRequest">;
|
|
13
|
+
export const QueryAllBalancesResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.QueryAllBalancesResponse">;
|
|
14
|
+
export const QueryBalanceRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.QueryBalanceRequest">;
|
|
15
|
+
export const QueryBalanceResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.QueryBalanceResponse">;
|
|
16
|
+
export const QueryDelegationRewardsRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest">;
|
|
17
|
+
export const QueryDelegationRewardsResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse">;
|
|
18
|
+
export const QueryDelegationTotalRewardsRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest">;
|
|
19
|
+
export const QueryDelegationTotalRewardsResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse">;
|
|
20
|
+
export const QueryDelegationRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegationRequest">;
|
|
21
|
+
export const QueryDelegationResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegationResponse">;
|
|
22
|
+
export const QueryDelegatorDelegationsRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest">;
|
|
23
|
+
export const QueryDelegatorDelegationsResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse">;
|
|
24
|
+
export const QueryDelegatorUnbondingDelegationsRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest">;
|
|
25
|
+
export const QueryDelegatorUnbondingDelegationsResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse">;
|
|
26
|
+
export const QueryRedelegationsRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryRedelegationsRequest">;
|
|
27
|
+
export const QueryRedelegationsResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryRedelegationsResponse">;
|
|
28
|
+
export const QueryUnbondingDelegationRequest: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest">;
|
|
29
|
+
export const QueryUnbondingDelegationResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse">;
|
|
30
|
+
export const MsgBeginRedelegate: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgBeginRedelegate">;
|
|
31
|
+
export const MsgBeginRedelegateResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgBeginRedelegateResponse">;
|
|
32
|
+
export const MsgDelegate: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgDelegate">;
|
|
33
|
+
export const MsgDelegateResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgDelegateResponse">;
|
|
34
|
+
export const MsgUndelegate: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgUndelegate">;
|
|
35
|
+
export const MsgUndelegateResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgUndelegateResponse">;
|
|
36
|
+
export const MsgTransfer: import("@agoric/cosmic-proto").Proto3CodecHelper<"/ibc.applications.transfer.v1.MsgTransfer">;
|
|
37
|
+
export const MsgTransferResponse: import("@agoric/cosmic-proto").Proto3CodecHelper<"/ibc.applications.transfer.v1.MsgTransferResponse">;
|
|
38
|
+
export const Any: Readonly<{
|
|
39
|
+
/**
|
|
40
|
+
* `Any.toJSON` has a template parameter matching the passed-through typeUrl
|
|
41
|
+
* property. This is different than other codecs which produce a fixed shape.
|
|
42
|
+
* @template {string} [TU=string]
|
|
43
|
+
* @param {{ typeUrl: TU } & Omit<AnyType, 'typeUrl'>} msg
|
|
44
|
+
*/
|
|
45
|
+
toJSON: <TU extends string = string>(msg: {
|
|
46
|
+
typeUrl: TU;
|
|
47
|
+
} & Omit<AnyType, "typeUrl">) => {
|
|
48
|
+
typeUrl: TU;
|
|
49
|
+
} & Omit<{
|
|
50
|
+
value: string;
|
|
51
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
52
|
+
typeUrl: string;
|
|
53
|
+
}, "typeUrl">;
|
|
54
|
+
typedJson(message: {
|
|
55
|
+
value?: Uint8Array<ArrayBufferLike> | undefined;
|
|
56
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
57
|
+
typeUrl?: string | undefined;
|
|
58
|
+
}): AnyType & {
|
|
59
|
+
'@type': "/google.protobuf.Any";
|
|
60
|
+
};
|
|
61
|
+
fromTyped(object: import("@agoric/cosmic-proto").TypedJson): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
62
|
+
fromTyped(object: import("@agoric/cosmic-proto").TypedAmino): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
63
|
+
fromTyped(object: import("@agoric/cosmic-proto").EncodeObject): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
64
|
+
fromTyped(object: {}): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
65
|
+
fromTyped(object: unknown): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
66
|
+
typeUrl: "/google.protobuf.Any";
|
|
67
|
+
encode(message: {
|
|
68
|
+
value?: Uint8Array<ArrayBufferLike> | undefined;
|
|
69
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
70
|
+
typeUrl?: string | undefined;
|
|
71
|
+
}, writer?: import("@agoric/cosmic-proto/codegen/binary.js").BinaryWriter): import("@agoric/cosmic-proto/codegen/binary.js").BinaryWriter;
|
|
72
|
+
decode(input: import("@agoric/cosmic-proto/codegen/binary.js").BinaryReader | Uint8Array, length?: number): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
73
|
+
fromJSON(object: any): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
74
|
+
fromPartial(object: {
|
|
75
|
+
value?: Uint8Array<ArrayBufferLike> | undefined;
|
|
76
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
77
|
+
typeUrl?: string | undefined;
|
|
78
|
+
}): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
79
|
+
fromProtoMsg(message: import("@agoric/cosmic-proto").ProtoMsg<"/google.protobuf.Any">): import("@agoric/cosmic-proto").MessageBody<"/google.protobuf.Any">;
|
|
80
|
+
toProto(message: {
|
|
81
|
+
value?: Uint8Array<ArrayBufferLike> | undefined;
|
|
82
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
83
|
+
typeUrl?: string | undefined;
|
|
84
|
+
}): Uint8Array;
|
|
85
|
+
toProtoMsg(message: {
|
|
86
|
+
value?: Uint8Array<ArrayBufferLike> | undefined;
|
|
87
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
88
|
+
typeUrl?: string | undefined;
|
|
89
|
+
}): import("@agoric/cosmic-proto").ProtoMsg<"/google.protobuf.Any">;
|
|
90
|
+
}>;
|
|
91
|
+
export const responseCodecForTypeUrl: {
|
|
92
|
+
readonly "/circle.cctp.v1.MsgDepositForBurn": import("@agoric/cosmic-proto").Proto3CodecHelper<"/circle.cctp.v1.MsgDepositForBurnResponse">;
|
|
93
|
+
readonly "/circle.cctp.v1.MsgDepositForBurnWithCaller": import("@agoric/cosmic-proto").Proto3CodecHelper<"/circle.cctp.v1.MsgDepositForBurnWithCallerResponse">;
|
|
94
|
+
readonly "/cosmos.staking.v1beta1.MsgUndelegate": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgUndelegateResponse">;
|
|
95
|
+
readonly "/cosmos.staking.v1beta1.MsgBeginRedelegate": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgBeginRedelegateResponse">;
|
|
96
|
+
readonly "/cosmos.staking.v1beta1.MsgDelegate": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.MsgDelegateResponse">;
|
|
97
|
+
readonly "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse">;
|
|
98
|
+
readonly "/cosmos.bank.v1beta1.MsgSend": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.MsgSendResponse">;
|
|
99
|
+
readonly "/ibc.applications.transfer.v1.MsgTransfer": import("@agoric/cosmic-proto").Proto3CodecHelper<"/ibc.applications.transfer.v1.MsgTransferResponse">;
|
|
100
|
+
readonly "/cosmos.bank.v1beta1.QueryBalanceRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.QueryBalanceResponse">;
|
|
101
|
+
readonly "/cosmos.bank.v1beta1.QueryAllBalancesRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.bank.v1beta1.QueryAllBalancesResponse">;
|
|
102
|
+
readonly "/cosmos.staking.v1beta1.QueryDelegationRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegationResponse">;
|
|
103
|
+
readonly "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse">;
|
|
104
|
+
readonly "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse">;
|
|
105
|
+
readonly "/cosmos.staking.v1beta1.QueryRedelegationsRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryRedelegationsResponse">;
|
|
106
|
+
readonly "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse">;
|
|
107
|
+
readonly "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse">;
|
|
108
|
+
readonly "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest": import("@agoric/cosmic-proto").Proto3CodecHelper<"/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse">;
|
|
109
|
+
};
|
|
110
|
+
import { MsgDepositForBurn as MsgDepositForBurnType } from '@agoric/cosmic-proto/circle/cctp/v1/tx.js';
|
|
111
|
+
import { MsgDepositForBurnResponse as MsgDepositForBurnResponseType } from '@agoric/cosmic-proto/circle/cctp/v1/tx.js';
|
|
112
|
+
import { MsgDepositForBurnWithCaller as MsgDepositForBurnWithCallerType } from '@agoric/cosmic-proto/circle/cctp/v1/tx.js';
|
|
113
|
+
import { MsgDepositForBurnWithCallerResponse as MsgDepositForBurnWithCallerResponseType } from '@agoric/cosmic-proto/circle/cctp/v1/tx.js';
|
|
114
|
+
import { MsgSend as MsgSendType } from '@agoric/cosmic-proto/cosmos/bank/v1beta1/tx.js';
|
|
115
|
+
import { MsgSendResponse as MsgSendResponseType } from '@agoric/cosmic-proto/cosmos/bank/v1beta1/tx.js';
|
|
116
|
+
import { MsgWithdrawDelegatorReward as MsgWithdrawDelegatorRewardType } from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/tx.js';
|
|
117
|
+
import { QueryAllBalancesRequest as QueryAllBalancesRequestType } from '@agoric/cosmic-proto/cosmos/bank/v1beta1/query.js';
|
|
118
|
+
import { QueryAllBalancesResponse as QueryAllBalancesResponseType } from '@agoric/cosmic-proto/cosmos/bank/v1beta1/query.js';
|
|
119
|
+
import { QueryBalanceRequest as QueryBalanceRequestType } from '@agoric/cosmic-proto/cosmos/bank/v1beta1/query.js';
|
|
120
|
+
import { QueryBalanceResponse as QueryBalanceResponseType } from '@agoric/cosmic-proto/cosmos/bank/v1beta1/query.js';
|
|
121
|
+
import { QueryDelegationRewardsRequest as QueryDelegationRewardsRequestType } from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/query.js';
|
|
122
|
+
import { QueryDelegationRewardsResponse as QueryDelegationRewardsResponseType } from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/query.js';
|
|
123
|
+
import { QueryDelegationTotalRewardsRequest as QueryDelegationTotalRewardsRequestType } from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/query.js';
|
|
124
|
+
import { QueryDelegationTotalRewardsResponse as QueryDelegationTotalRewardsResponseType } from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/query.js';
|
|
125
|
+
import { QueryDelegationRequest as QueryDelegationRequestType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
126
|
+
import { QueryDelegationResponse as QueryDelegationResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
127
|
+
import { QueryDelegatorDelegationsRequest as QueryDelegatorDelegationsRequestType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
128
|
+
import { QueryDelegatorDelegationsResponse as QueryDelegatorDelegationsResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
129
|
+
import { QueryDelegatorUnbondingDelegationsRequest as QueryDelegatorUnbondingDelegationsRequestType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
130
|
+
import { QueryDelegatorUnbondingDelegationsResponse as QueryDelegatorUnbondingDelegationsResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
131
|
+
import { QueryRedelegationsRequest as QueryRedelegationsRequestType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
132
|
+
import { QueryRedelegationsResponse as QueryRedelegationsResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
133
|
+
import { QueryUnbondingDelegationRequest as QueryUnbondingDelegationRequestType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
134
|
+
import { QueryUnbondingDelegationResponse as QueryUnbondingDelegationResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
135
|
+
import { MsgBeginRedelegate as MsgBeginRedelegateType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/tx.js';
|
|
136
|
+
import { MsgBeginRedelegateResponse as MsgBeginRedelegateResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/tx.js';
|
|
137
|
+
import { MsgDelegate as MsgDelegateType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/tx.js';
|
|
138
|
+
import { MsgDelegateResponse as MsgDelegateResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/tx.js';
|
|
139
|
+
import { MsgUndelegate as MsgUndelegateType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/tx.js';
|
|
140
|
+
import { MsgUndelegateResponse as MsgUndelegateResponseType } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/tx.js';
|
|
141
|
+
import { MsgTransfer as MsgTransferType } from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
|
|
142
|
+
import { MsgTransferResponse as MsgTransferResponseType } from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
|
|
143
|
+
import { Any as AnyType } from '@agoric/cosmic-proto/google/protobuf/any.js';
|
|
144
|
+
export { MsgDepositForBurnType, MsgDepositForBurnResponseType, MsgDepositForBurnWithCallerType, MsgDepositForBurnWithCallerResponseType, MsgSendType, MsgSendResponseType, MsgWithdrawDelegatorRewardType, QueryAllBalancesRequestType, QueryAllBalancesResponseType, QueryBalanceRequestType, QueryBalanceResponseType, QueryDelegationRewardsRequestType, QueryDelegationRewardsResponseType, QueryDelegationTotalRewardsRequestType, QueryDelegationTotalRewardsResponseType, QueryDelegationRequestType, QueryDelegationResponseType, QueryDelegatorDelegationsRequestType, QueryDelegatorDelegationsResponseType, QueryDelegatorUnbondingDelegationsRequestType, QueryDelegatorUnbondingDelegationsResponseType, QueryRedelegationsRequestType, QueryRedelegationsResponseType, QueryUnbondingDelegationRequestType, QueryUnbondingDelegationResponseType, MsgBeginRedelegateType, MsgBeginRedelegateResponseType, MsgDelegateType, MsgDelegateResponseType, MsgUndelegateType, MsgUndelegateResponseType, MsgTransferType, MsgTransferResponseType, AnyType };
|
|
145
|
+
//# sourceMappingURL=codecs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs.d.ts","sourceRoot":"","sources":["codecs.js"],"names":[],"mappings":"AAqDA;;GAEG;AAEH,sHAAoE;AACpE,sIAEE;AAEF,0IAEE;AACF,0JAEE;AAKF,uGAAgD;AAChD,uHAAgE;AAEhE,qJAEE;AAEF,qKAEE;AACF,uIAAgF;AAChF,yIAEE;AAEF,+HAAwE;AACxE,iIAA0E;AAE1E,2JAEE;AAKF,6JAEE;AACF,qKAEE;AACF,uKAEE;AAKF,wIAA8E;AAC9E,0IAAgF;AAEhF,4JAEE;AACF,8JAEE;AAKF,8KAEE;AACF,gLAEE;AAKF,8IAEE;AACF,gJAEE;AAEF,0JAEE;AACF,4JAEE;AAKF,gIAAsE;AACtE,gJAEE;AAEF,kHAAwD;AACxD,kIAAwE;AAExE,sHAA4D;AAC5D,sIAA4E;AAE5E,wHAAwD;AACxD,wIAAwE;AAiBxE;IAZE;;;;;OAKG;aAFoB,EAAE,SAAZ,MAAQ,gBACV;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,KAIjC;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,GAAG,IAAI;;;;OAAY,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAO/D;AAGH;;;;;;;;;;;;;;;;;;EAoBG;2DAvMI,2CAA2C;2EAA3C,2CAA2C;+EAA3C,2CAA2C;+FAA3C,2CAA2C;uCAU3C,gDAAgD;uDAAhD,gDAAgD;6EAUhD,wDAAwD;uEAdxD,mDAAmD;yEAAnD,mDAAmD;+DAAnD,mDAAmD;iEAAnD,mDAAmD;mFAUnD,2DAA2D;qFAA3D,2DAA2D;6FAA3D,2DAA2D;+FAA3D,2DAA2D;qEAgB3D,sDAAsD;uEAAtD,sDAAsD;yFAAtD,sDAAsD;2FAAtD,sDAAsD;2GAAtD,sDAAsD;6GAAtD,sDAAsD;2EAAtD,sDAAsD;6EAAtD,sDAAsD;uFAAtD,sDAAsD;yFAAtD,sDAAsD;6DAQtD,mDAAmD;6EAAnD,mDAAmD;+CAAnD,mDAAmD;+DAAnD,mDAAmD;mDAAnD,mDAAmD;mEAAnD,mDAAmD;+CAKnD,yDAAyD;+DAAzD,yDAAyD;+BAJjC,6CAA6C"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { CodecHelper } from '@agoric/cosmic-proto';
|
|
2
|
+
import {
|
|
3
|
+
MsgDepositForBurn as MsgDepositForBurnType,
|
|
4
|
+
MsgDepositForBurnResponse as MsgDepositForBurnResponseType,
|
|
5
|
+
MsgDepositForBurnWithCaller as MsgDepositForBurnWithCallerType,
|
|
6
|
+
MsgDepositForBurnWithCallerResponse as MsgDepositForBurnWithCallerResponseType,
|
|
7
|
+
} from '@agoric/cosmic-proto/circle/cctp/v1/tx.js';
|
|
8
|
+
import {
|
|
9
|
+
QueryAllBalancesRequest as QueryAllBalancesRequestType,
|
|
10
|
+
QueryAllBalancesResponse as QueryAllBalancesResponseType,
|
|
11
|
+
QueryBalanceRequest as QueryBalanceRequestType,
|
|
12
|
+
QueryBalanceResponse as QueryBalanceResponseType,
|
|
13
|
+
} from '@agoric/cosmic-proto/cosmos/bank/v1beta1/query.js';
|
|
14
|
+
import {
|
|
15
|
+
MsgSendResponse as MsgSendResponseType,
|
|
16
|
+
MsgSend as MsgSendType,
|
|
17
|
+
} from '@agoric/cosmic-proto/cosmos/bank/v1beta1/tx.js';
|
|
18
|
+
import {
|
|
19
|
+
QueryDelegationRewardsRequest as QueryDelegationRewardsRequestType,
|
|
20
|
+
QueryDelegationRewardsResponse as QueryDelegationRewardsResponseType,
|
|
21
|
+
QueryDelegationTotalRewardsRequest as QueryDelegationTotalRewardsRequestType,
|
|
22
|
+
QueryDelegationTotalRewardsResponse as QueryDelegationTotalRewardsResponseType,
|
|
23
|
+
} from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/query.js';
|
|
24
|
+
import {
|
|
25
|
+
MsgWithdrawDelegatorReward as MsgWithdrawDelegatorRewardType,
|
|
26
|
+
MsgWithdrawDelegatorRewardResponse as MsgWithdrawDelegatorRewardResponseType,
|
|
27
|
+
} from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/tx.js';
|
|
28
|
+
import {
|
|
29
|
+
QueryDelegationRequest as QueryDelegationRequestType,
|
|
30
|
+
QueryDelegationResponse as QueryDelegationResponseType,
|
|
31
|
+
QueryDelegatorDelegationsRequest as QueryDelegatorDelegationsRequestType,
|
|
32
|
+
QueryDelegatorDelegationsResponse as QueryDelegatorDelegationsResponseType,
|
|
33
|
+
QueryDelegatorUnbondingDelegationsRequest as QueryDelegatorUnbondingDelegationsRequestType,
|
|
34
|
+
QueryDelegatorUnbondingDelegationsResponse as QueryDelegatorUnbondingDelegationsResponseType,
|
|
35
|
+
QueryRedelegationsRequest as QueryRedelegationsRequestType,
|
|
36
|
+
QueryRedelegationsResponse as QueryRedelegationsResponseType,
|
|
37
|
+
QueryUnbondingDelegationRequest as QueryUnbondingDelegationRequestType,
|
|
38
|
+
QueryUnbondingDelegationResponse as QueryUnbondingDelegationResponseType,
|
|
39
|
+
} from '@agoric/cosmic-proto/cosmos/staking/v1beta1/query.js';
|
|
40
|
+
import {
|
|
41
|
+
MsgBeginRedelegate as MsgBeginRedelegateType,
|
|
42
|
+
MsgBeginRedelegateResponse as MsgBeginRedelegateResponseType,
|
|
43
|
+
MsgDelegate as MsgDelegateType,
|
|
44
|
+
MsgDelegateResponse as MsgDelegateResponseType,
|
|
45
|
+
MsgUndelegate as MsgUndelegateType,
|
|
46
|
+
MsgUndelegateResponse as MsgUndelegateResponseType,
|
|
47
|
+
} from '@agoric/cosmic-proto/cosmos/staking/v1beta1/tx.js';
|
|
48
|
+
import { Any as AnyType } from '@agoric/cosmic-proto/google/protobuf/any.js';
|
|
49
|
+
import {
|
|
50
|
+
MsgTransferResponse as MsgTransferResponseType,
|
|
51
|
+
MsgTransfer as MsgTransferType,
|
|
52
|
+
} from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @import {TypeFromUrl} from '@agoric/cosmic-proto';
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
export const MsgDepositForBurn = CodecHelper(MsgDepositForBurnType);
|
|
59
|
+
export const MsgDepositForBurnResponse = CodecHelper(
|
|
60
|
+
MsgDepositForBurnResponseType,
|
|
61
|
+
);
|
|
62
|
+
export { MsgDepositForBurnType, MsgDepositForBurnResponseType };
|
|
63
|
+
export const MsgDepositForBurnWithCaller = CodecHelper(
|
|
64
|
+
MsgDepositForBurnWithCallerType,
|
|
65
|
+
);
|
|
66
|
+
export const MsgDepositForBurnWithCallerResponse = CodecHelper(
|
|
67
|
+
MsgDepositForBurnWithCallerResponseType,
|
|
68
|
+
);
|
|
69
|
+
export {
|
|
70
|
+
MsgDepositForBurnWithCallerType,
|
|
71
|
+
MsgDepositForBurnWithCallerResponseType,
|
|
72
|
+
};
|
|
73
|
+
export const MsgSend = CodecHelper(MsgSendType);
|
|
74
|
+
export const MsgSendResponse = CodecHelper(MsgSendResponseType);
|
|
75
|
+
export { MsgSendType, MsgSendResponseType };
|
|
76
|
+
export const MsgWithdrawDelegatorReward = CodecHelper(
|
|
77
|
+
MsgWithdrawDelegatorRewardType,
|
|
78
|
+
);
|
|
79
|
+
export { MsgWithdrawDelegatorRewardType };
|
|
80
|
+
export const MsgWithdrawDelegatorRewardResponse = CodecHelper(
|
|
81
|
+
MsgWithdrawDelegatorRewardResponseType,
|
|
82
|
+
);
|
|
83
|
+
export const QueryAllBalancesRequest = CodecHelper(QueryAllBalancesRequestType);
|
|
84
|
+
export const QueryAllBalancesResponse = CodecHelper(
|
|
85
|
+
QueryAllBalancesResponseType,
|
|
86
|
+
);
|
|
87
|
+
export { QueryAllBalancesRequestType, QueryAllBalancesResponseType };
|
|
88
|
+
export const QueryBalanceRequest = CodecHelper(QueryBalanceRequestType);
|
|
89
|
+
export const QueryBalanceResponse = CodecHelper(QueryBalanceResponseType);
|
|
90
|
+
export { QueryBalanceRequestType, QueryBalanceResponseType };
|
|
91
|
+
export const QueryDelegationRewardsRequest = CodecHelper(
|
|
92
|
+
QueryDelegationRewardsRequestType,
|
|
93
|
+
);
|
|
94
|
+
export {
|
|
95
|
+
QueryDelegationRewardsRequestType,
|
|
96
|
+
QueryDelegationRewardsResponseType,
|
|
97
|
+
};
|
|
98
|
+
export const QueryDelegationRewardsResponse = CodecHelper(
|
|
99
|
+
QueryDelegationRewardsResponseType,
|
|
100
|
+
);
|
|
101
|
+
export const QueryDelegationTotalRewardsRequest = CodecHelper(
|
|
102
|
+
QueryDelegationTotalRewardsRequestType,
|
|
103
|
+
);
|
|
104
|
+
export const QueryDelegationTotalRewardsResponse = CodecHelper(
|
|
105
|
+
QueryDelegationTotalRewardsResponseType,
|
|
106
|
+
);
|
|
107
|
+
export {
|
|
108
|
+
QueryDelegationTotalRewardsRequestType,
|
|
109
|
+
QueryDelegationTotalRewardsResponseType,
|
|
110
|
+
};
|
|
111
|
+
export const QueryDelegationRequest = CodecHelper(QueryDelegationRequestType);
|
|
112
|
+
export const QueryDelegationResponse = CodecHelper(QueryDelegationResponseType);
|
|
113
|
+
export { QueryDelegationRequestType, QueryDelegationResponseType };
|
|
114
|
+
export const QueryDelegatorDelegationsRequest = CodecHelper(
|
|
115
|
+
QueryDelegatorDelegationsRequestType,
|
|
116
|
+
);
|
|
117
|
+
export const QueryDelegatorDelegationsResponse = CodecHelper(
|
|
118
|
+
QueryDelegatorDelegationsResponseType,
|
|
119
|
+
);
|
|
120
|
+
export {
|
|
121
|
+
QueryDelegatorDelegationsRequestType,
|
|
122
|
+
QueryDelegatorDelegationsResponseType,
|
|
123
|
+
};
|
|
124
|
+
export const QueryDelegatorUnbondingDelegationsRequest = CodecHelper(
|
|
125
|
+
QueryDelegatorUnbondingDelegationsRequestType,
|
|
126
|
+
);
|
|
127
|
+
export const QueryDelegatorUnbondingDelegationsResponse = CodecHelper(
|
|
128
|
+
QueryDelegatorUnbondingDelegationsResponseType,
|
|
129
|
+
);
|
|
130
|
+
export {
|
|
131
|
+
QueryDelegatorUnbondingDelegationsRequestType,
|
|
132
|
+
QueryDelegatorUnbondingDelegationsResponseType,
|
|
133
|
+
};
|
|
134
|
+
export const QueryRedelegationsRequest = CodecHelper(
|
|
135
|
+
QueryRedelegationsRequestType,
|
|
136
|
+
);
|
|
137
|
+
export const QueryRedelegationsResponse = CodecHelper(
|
|
138
|
+
QueryRedelegationsResponseType,
|
|
139
|
+
);
|
|
140
|
+
export { QueryRedelegationsRequestType, QueryRedelegationsResponseType };
|
|
141
|
+
export const QueryUnbondingDelegationRequest = CodecHelper(
|
|
142
|
+
QueryUnbondingDelegationRequestType,
|
|
143
|
+
);
|
|
144
|
+
export const QueryUnbondingDelegationResponse = CodecHelper(
|
|
145
|
+
QueryUnbondingDelegationResponseType,
|
|
146
|
+
);
|
|
147
|
+
export {
|
|
148
|
+
QueryUnbondingDelegationRequestType,
|
|
149
|
+
QueryUnbondingDelegationResponseType,
|
|
150
|
+
};
|
|
151
|
+
export const MsgBeginRedelegate = CodecHelper(MsgBeginRedelegateType);
|
|
152
|
+
export const MsgBeginRedelegateResponse = CodecHelper(
|
|
153
|
+
MsgBeginRedelegateResponseType,
|
|
154
|
+
);
|
|
155
|
+
export { MsgBeginRedelegateType, MsgBeginRedelegateResponseType };
|
|
156
|
+
export const MsgDelegate = CodecHelper(MsgDelegateType);
|
|
157
|
+
export const MsgDelegateResponse = CodecHelper(MsgDelegateResponseType);
|
|
158
|
+
export { MsgDelegateType, MsgDelegateResponseType };
|
|
159
|
+
export const MsgUndelegate = CodecHelper(MsgUndelegateType);
|
|
160
|
+
export const MsgUndelegateResponse = CodecHelper(MsgUndelegateResponseType);
|
|
161
|
+
export { MsgUndelegateType, MsgUndelegateResponseType };
|
|
162
|
+
export const MsgTransfer = CodecHelper(MsgTransferType);
|
|
163
|
+
export const MsgTransferResponse = CodecHelper(MsgTransferResponseType);
|
|
164
|
+
export { MsgTransferType, MsgTransferResponseType };
|
|
165
|
+
|
|
166
|
+
const AnyRawHelper = CodecHelper(AnyType);
|
|
167
|
+
const AnyToJSON = {
|
|
168
|
+
/**
|
|
169
|
+
* `Any.toJSON` has a template parameter matching the passed-through typeUrl
|
|
170
|
+
* property. This is different than other codecs which produce a fixed shape.
|
|
171
|
+
* @template {string} [TU=string]
|
|
172
|
+
* @param {{ typeUrl: TU } & Omit<AnyType, 'typeUrl'>} msg
|
|
173
|
+
*/
|
|
174
|
+
toJSON: msg => {
|
|
175
|
+
const ne = AnyRawHelper.toJSON(msg);
|
|
176
|
+
return /** @type {{ typeUrl: TU } & Omit<typeof ne, 'typeUrl'>} */ (ne);
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export const Any = Object.freeze({
|
|
181
|
+
...AnyRawHelper,
|
|
182
|
+
...AnyToJSON,
|
|
183
|
+
});
|
|
184
|
+
export { AnyType };
|
|
185
|
+
|
|
186
|
+
export const responseCodecForTypeUrl = /** @type {const} */ ({
|
|
187
|
+
[MsgDepositForBurn.typeUrl]: MsgDepositForBurnResponse,
|
|
188
|
+
[MsgDepositForBurnWithCaller.typeUrl]: MsgDepositForBurnWithCallerResponse,
|
|
189
|
+
[MsgUndelegate.typeUrl]: MsgUndelegateResponse,
|
|
190
|
+
[MsgBeginRedelegate.typeUrl]: MsgBeginRedelegateResponse,
|
|
191
|
+
[MsgDelegate.typeUrl]: MsgDelegateResponse,
|
|
192
|
+
[MsgWithdrawDelegatorReward.typeUrl]: MsgWithdrawDelegatorRewardResponse,
|
|
193
|
+
[MsgSend.typeUrl]: MsgSendResponse,
|
|
194
|
+
[MsgTransfer.typeUrl]: MsgTransferResponse,
|
|
195
|
+
[QueryBalanceRequest.typeUrl]: QueryBalanceResponse,
|
|
196
|
+
[QueryAllBalancesRequest.typeUrl]: QueryAllBalancesResponse,
|
|
197
|
+
[QueryDelegationRequest.typeUrl]: QueryDelegationResponse,
|
|
198
|
+
[QueryDelegatorDelegationsRequest.typeUrl]: QueryDelegatorDelegationsResponse,
|
|
199
|
+
[QueryDelegatorUnbondingDelegationsRequest.typeUrl]:
|
|
200
|
+
QueryDelegatorUnbondingDelegationsResponse,
|
|
201
|
+
[QueryRedelegationsRequest.typeUrl]: QueryRedelegationsResponse,
|
|
202
|
+
[QueryUnbondingDelegationRequest.typeUrl]: QueryUnbondingDelegationResponse,
|
|
203
|
+
[QueryDelegationRewardsRequest.typeUrl]: QueryDelegationRewardsResponse,
|
|
204
|
+
[QueryDelegationTotalRewardsRequest.typeUrl]:
|
|
205
|
+
QueryDelegationTotalRewardsResponse,
|
|
206
|
+
});
|
package/src/utils/cosmos.d.ts
CHANGED
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
* @import {Bech32Address, CosmosDelegationResponse, CosmosValidatorAddress, DenomAmount} from '../types.js';
|
|
3
3
|
* @import {Coin} from '@agoric/cosmic-proto/cosmos/base/v1beta1/coin.js'
|
|
4
4
|
* @import {DelegationResponse} from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js';
|
|
5
|
+
* @import {Proto3CodecHelper, MessageBody} from '@agoric/cosmic-proto';
|
|
5
6
|
*/
|
|
6
7
|
/** maximum clock skew, in seconds, for unbonding time reported from other chain */
|
|
7
8
|
export const maxClockSkew: bigint;
|
|
8
|
-
export function
|
|
9
|
-
|
|
10
|
-
value: Uint8Array;
|
|
11
|
-
}) => T): T;
|
|
9
|
+
export function tryDecodeResponses<TUS extends string[]>(ackStr: string, codecs: { [K in keyof TUS]: Pick<Proto3CodecHelper<TUS[K]>, "fromProtoMsg" | "typeUrl">; }): { [T in keyof TUS]: MessageBody<TUS[T]>; };
|
|
10
|
+
export function tryDecodeResponse<TU extends string>(ackStr: string, codec: Pick<Proto3CodecHelper<TU>, "fromProtoMsg" | "typeUrl">): MessageBody<TU>;
|
|
12
11
|
/**
|
|
13
12
|
* Transform a cosmos-sdk {@link Coin} object into a {@link DenomAmount}
|
|
14
13
|
*
|
|
@@ -53,6 +52,8 @@ export const toCosmosValidatorAddress: (r: {
|
|
|
53
52
|
export const toCosmosDelegationResponse: (chainInfo: {
|
|
54
53
|
chainId: string;
|
|
55
54
|
}, r: DelegationResponse) => CosmosDelegationResponse;
|
|
55
|
+
import type { Proto3CodecHelper } from '@agoric/cosmic-proto';
|
|
56
|
+
import type { MessageBody } from '@agoric/cosmic-proto';
|
|
56
57
|
import type { DenomAmount } from '../types.js';
|
|
57
58
|
import type { CosmosValidatorAddress } from '../types.js';
|
|
58
59
|
import type { DelegationResponse } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos.d.ts","sourceRoot":"","sources":["cosmos.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cosmos.d.ts","sourceRoot":"","sources":["cosmos.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AAEH,mFAAmF;AACnF,kCAAsC;AAY/B,mCATiB,GAAG,SAAb,MAAM,EAAG,UACZ,MAAM,UACN,GACL,CAAC,IAAI,MAAM,GAAG,GAAG,IAAI,CAC1B,kBAAwB,GAAG,CAAC,CAAC,CAAC,CAAC,EAC/B,cAAoB,GAAG,SAAS,CAC3B,GACF,MAUqB,CAAC,uCAIzB;AAQM,kCAJe,EAAE,SAAX,MAAQ,UACV,MAAM,SACN,IAAI,CAAC,kBAAkB,EAAE,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC,mBAGH;AAE/D;;;;;GAKG;AACH,4BAHU,CAAC,CAAC,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,KAAK,WAAW,CAGiB;AAEhF;;;;;GAKG;AACH,qCAFU,CAAC,CAAC,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,KAAK,WAAW,CAK5D;AAEH;;;;;;;;GAQG;AACH,uCALU,CACL,CAAC,EAAE;IAAE,gBAAgB,EAAE,MAAM,CAAA;CAAE,EAC/B,OAAO,EAAE,MAAM,KACZ,sBAAsB,CAM3B;AAEH;;;;;;;;GAQG;AACH,yCALU,CACL,SAAS,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAC9B,CAAC,EAAE,kBAAkB,KAClB,wBAAwB,CAU7B;uCA1F8C,sBAAsB;iCAAtB,sBAAsB;iCAHwB,aAAa;4CAAb,aAAa;wCAEvE,wDAAwD;8CAFE,aAAa"}
|
package/src/utils/cosmos.js
CHANGED
|
@@ -1,33 +1,53 @@
|
|
|
1
1
|
import { makeError } from '@endo/errors';
|
|
2
2
|
import { decodeBase64 } from '@endo/base64';
|
|
3
|
-
import {
|
|
3
|
+
import { CodecHelper } from '@agoric/cosmic-proto';
|
|
4
|
+
import { TxMsgData as TxMsgDataType } from '@agoric/cosmic-proto/cosmos/base/abci/v1beta1/abci.js';
|
|
5
|
+
|
|
6
|
+
const TxMsgData = CodecHelper(TxMsgDataType);
|
|
4
7
|
|
|
5
8
|
/**
|
|
6
9
|
* @import {Bech32Address, CosmosDelegationResponse, CosmosValidatorAddress, DenomAmount} from '../types.js';
|
|
7
10
|
* @import {Coin} from '@agoric/cosmic-proto/cosmos/base/v1beta1/coin.js'
|
|
8
11
|
* @import {DelegationResponse} from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js';
|
|
12
|
+
* @import {Proto3CodecHelper, MessageBody} from '@agoric/cosmic-proto';
|
|
9
13
|
*/
|
|
10
14
|
|
|
11
15
|
/** maximum clock skew, in seconds, for unbonding time reported from other chain */
|
|
12
16
|
export const maxClockSkew = 10n * 60n;
|
|
13
17
|
|
|
14
18
|
/**
|
|
15
|
-
* @template
|
|
19
|
+
* @template {string[]} TUS
|
|
16
20
|
* @param {string} ackStr
|
|
17
|
-
* @param {
|
|
21
|
+
* @param {{
|
|
22
|
+
* [K in keyof TUS]: Pick<
|
|
23
|
+
* Proto3CodecHelper<TUS[K]>,
|
|
24
|
+
* 'fromProtoMsg' | 'typeUrl'
|
|
25
|
+
* >;
|
|
26
|
+
* }} codecs
|
|
18
27
|
*/
|
|
19
|
-
export const
|
|
28
|
+
export const tryDecodeResponses = (ackStr, codecs) => {
|
|
20
29
|
try {
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
30
|
+
const { msgResponses } = TxMsgData.decode(decodeBase64(ackStr));
|
|
31
|
+
const results = codecs.map((codec, i) => {
|
|
32
|
+
(codec.typeUrl && msgResponses[i].typeUrl === codec.typeUrl) ||
|
|
33
|
+
assert.Fail`mismatched response type: expected ${codec.typeUrl}, got ${msgResponses[i].typeUrl}`;
|
|
34
|
+
return codec.fromProtoMsg(msgResponses[i]);
|
|
35
|
+
});
|
|
36
|
+
return /** @type {{ [T in keyof TUS]: MessageBody<TUS[T]> }} */ (results);
|
|
26
37
|
} catch (cause) {
|
|
27
38
|
throw makeError(`bad response: ${ackStr}`, undefined, { cause });
|
|
28
39
|
}
|
|
29
40
|
};
|
|
30
41
|
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated use {@link tryDecodeResponses} instead
|
|
44
|
+
* @template {string} TU
|
|
45
|
+
* @param {string} ackStr
|
|
46
|
+
* @param {Pick<Proto3CodecHelper<TU>, 'fromProtoMsg' | 'typeUrl'>} codec
|
|
47
|
+
*/
|
|
48
|
+
export const tryDecodeResponse = (ackStr, codec) =>
|
|
49
|
+
tryDecodeResponses(ackStr, /** @type {const} */ ([codec]))[0];
|
|
50
|
+
|
|
31
51
|
/**
|
|
32
52
|
* Transform a cosmos-sdk {@link Coin} object into a {@link DenomAmount}
|
|
33
53
|
*
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
export function makeVowExoHelpers({ watch }: Pick<VowTools, "watch">): {
|
|
2
|
+
/**
|
|
3
|
+
* These are functions that operate on vows, intended to be added to an
|
|
4
|
+
* internal `helper` facet of an exoClassKit.
|
|
5
|
+
*/
|
|
6
|
+
helper: {
|
|
7
|
+
/**
|
|
8
|
+
* Return a vow that fulfills with the property at `prop` of the
|
|
9
|
+
* fulfilment of `inputV`. If `inputV` rejects, the returned vow rejects
|
|
10
|
+
* with the same reason.
|
|
11
|
+
*
|
|
12
|
+
* @template {readonly Record<PropertyKey, any>} R
|
|
13
|
+
* @template {PropertyKey} K
|
|
14
|
+
* @param {EVow<R>} inputV
|
|
15
|
+
* @param {K} prop
|
|
16
|
+
* @returns {Vow<R[K]>}
|
|
17
|
+
*/
|
|
18
|
+
pickVowProp<R extends readonly Record<PropertyKey, any>, K extends PropertyKey>(inputV: EVow<R>, prop: K): Vow<R[K]>;
|
|
19
|
+
/**
|
|
20
|
+
* Return a vow that fulfills with the element at `index` of the
|
|
21
|
+
* fulfilment of `inputV`. If `inputV` rejects, the returned vow rejects
|
|
22
|
+
* with the same reason.
|
|
23
|
+
*
|
|
24
|
+
* @template {readonly unknown[]} T
|
|
25
|
+
* @template {number} I
|
|
26
|
+
* @param {EVow<T>} inputV
|
|
27
|
+
* @param {I} index
|
|
28
|
+
* @returns {Vow<T[I]>}
|
|
29
|
+
*/
|
|
30
|
+
pickVowIndex<T extends readonly unknown[], I extends number>(inputV: EVow<T>, index: I): Vow<T[I]>;
|
|
31
|
+
/**
|
|
32
|
+
* Return a vow that fulfills with `newValue` after `inputV` fulfills. If
|
|
33
|
+
* `inputV` rejects, the returned vow rejects with the same reason.
|
|
34
|
+
*
|
|
35
|
+
* @template [T=undefined]
|
|
36
|
+
* @param {Vow<unknown>} inputV
|
|
37
|
+
* @param {T} [newValue]
|
|
38
|
+
* @returns {Vow<T>}
|
|
39
|
+
*/
|
|
40
|
+
overrideVow<T = undefined>(inputV: Vow<unknown>, newValue?: T): Vow<T>;
|
|
41
|
+
/**
|
|
42
|
+
* Return a vow typed as `Vow<void>` that fulfills with `undefined` after
|
|
43
|
+
* `inputV` fulfills. If `inputV` rejects, the returned vow rejects with
|
|
44
|
+
* the same reason.
|
|
45
|
+
*
|
|
46
|
+
* @param {Vow<unknown>} inputV
|
|
47
|
+
* @returns {Vow<void>}
|
|
48
|
+
*/
|
|
49
|
+
voidVow(inputV: Vow<unknown>): Vow<void>;
|
|
50
|
+
};
|
|
51
|
+
/** These are shapes of the function provided by `helper`. */
|
|
52
|
+
helperShapes: {
|
|
53
|
+
pickVowIndex: MethodGuard;
|
|
54
|
+
pickVowProp: MethodGuard;
|
|
55
|
+
voidVow: MethodGuard;
|
|
56
|
+
overrideVow: MethodGuard;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* These are the watcher facets used by the functions provided by `helper`.
|
|
60
|
+
*/
|
|
61
|
+
watchers: {
|
|
62
|
+
pickDataWatcher: {
|
|
63
|
+
/**
|
|
64
|
+
* Return `value[key]`.
|
|
65
|
+
*
|
|
66
|
+
* @template {{}} V
|
|
67
|
+
* @template {keyof V} K
|
|
68
|
+
* @param {V} value
|
|
69
|
+
* @param {K} key
|
|
70
|
+
* @returns {V[K]}
|
|
71
|
+
*/
|
|
72
|
+
onFulfilled<V extends {}, K extends keyof V>(value: V, key: K): V[K];
|
|
73
|
+
};
|
|
74
|
+
overrideVowWatcher: {
|
|
75
|
+
/**
|
|
76
|
+
* Always return `newValue`.
|
|
77
|
+
*
|
|
78
|
+
* @template V
|
|
79
|
+
* @param {unknown} _value
|
|
80
|
+
* @param {V} newValue
|
|
81
|
+
* @returns {V}
|
|
82
|
+
*/
|
|
83
|
+
onFulfilled<V>(_value: unknown, newValue: V): V;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* These are the shapes of watcher facets used by the functions provided by
|
|
88
|
+
* `helper`.
|
|
89
|
+
*/
|
|
90
|
+
watcherShapes: {
|
|
91
|
+
pickDataWatcher: InterfaceGuard<{
|
|
92
|
+
onFulfilled: MethodGuard;
|
|
93
|
+
}>;
|
|
94
|
+
overrideVowWatcher: InterfaceGuard<{
|
|
95
|
+
onFulfilled: MethodGuard;
|
|
96
|
+
}>;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Given a tuple of facet names and a tuple of method names, return a record
|
|
100
|
+
* mapping each facet name to a facet tombstone whose methods always throw.
|
|
101
|
+
*
|
|
102
|
+
* This is useful for retiring watchers while preserving their facets so
|
|
103
|
+
* that older exoClassKits can be upgraded without errors caused by missing
|
|
104
|
+
* facet definitions.
|
|
105
|
+
*
|
|
106
|
+
* @template {readonly string[]} F
|
|
107
|
+
* @template {readonly string[]} M
|
|
108
|
+
* @param {F} facets
|
|
109
|
+
* @param {M} methods
|
|
110
|
+
* @returns {{ [S in F[number]]: { [T in M[number]]: () => never } }}
|
|
111
|
+
*/
|
|
112
|
+
makeTombstonedFacets: <F extends readonly string[], M extends readonly string[]>(facets: F, methods: M) => { [S in F[number]]: { [T in M[number]]: () => never; }; };
|
|
113
|
+
/**
|
|
114
|
+
* Given a tuple of facet names and a tuple of method names, return a record
|
|
115
|
+
* mapping each name to a lax interface guard for a facet tombstone.
|
|
116
|
+
*
|
|
117
|
+
* @template {readonly string[]} F
|
|
118
|
+
* @template {readonly string[]} M
|
|
119
|
+
* @param {F} facets
|
|
120
|
+
* @param {M} methods
|
|
121
|
+
* @returns {{
|
|
122
|
+
* [S in F[number]]: InterfaceGuard<{ [T in M[number]]: MethodGuard }>;
|
|
123
|
+
* }}
|
|
124
|
+
*/
|
|
125
|
+
makeTombstonedFacetShapes: <F extends readonly string[], M extends readonly string[]>(facets: F, methods: M) => { [S in F[number]]: InterfaceGuard<{ [T in M[number]]: MethodGuard; }>; };
|
|
126
|
+
/**
|
|
127
|
+
* Given a tuple of watcher names, return a record mapping each watcher name
|
|
128
|
+
* to a watcher facet tombstone whose methods always throw.
|
|
129
|
+
*
|
|
130
|
+
* This is useful for retiring watchers while preserving their facets so
|
|
131
|
+
* that older exoClassKits can be upgraded without errors caused by missing
|
|
132
|
+
* facet definitions.
|
|
133
|
+
*
|
|
134
|
+
* @template {readonly string[]} W
|
|
135
|
+
* @param {W} watchers
|
|
136
|
+
*/
|
|
137
|
+
makeTombstonedWatchers: <W extends readonly string[]>(watchers: W) => { [S in W[number]]: {
|
|
138
|
+
onFulfilled: () => never;
|
|
139
|
+
}; };
|
|
140
|
+
/**
|
|
141
|
+
* Given a tuple of watcher names, return a record mapping each name to a
|
|
142
|
+
* lax interface guard for a watcher facet tombstone.
|
|
143
|
+
*
|
|
144
|
+
* @template {readonly string[]} W
|
|
145
|
+
* @param {W} watchers
|
|
146
|
+
*/
|
|
147
|
+
makeTombstonedWatcherShapes: <W extends readonly string[]>(watchers: W) => { [S in W[number]]: InterfaceGuard<{
|
|
148
|
+
onFulfilled: MethodGuard;
|
|
149
|
+
}>; };
|
|
150
|
+
};
|
|
151
|
+
import type { VowTools } from '@agoric/vow';
|
|
152
|
+
import type { EVow } from '@agoric/vow';
|
|
153
|
+
import type { Vow } from '@agoric/vow';
|
|
154
|
+
import type { MethodGuard } from '@endo/patterns';
|
|
155
|
+
import type { InterfaceGuard } from '@endo/patterns';
|
|
156
|
+
//# sourceMappingURL=exo-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exo-helpers.d.ts","sourceRoot":"","sources":["exo-helpers.js"],"names":[],"mappings":"AAmBO,6CAFI,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC;IAI9B;;;OAGG;;QAED;;;;;;;;;;WAUG;oBAL8C,CAAC,SAArC,SAAU,MAAM,CAAC,WAAW,EAAE,GAAG,CAAE,EACrB,CAAC,SAAd,WAAY,UACf,KAAK,CAAC,CAAC,QACP,CAAC,GACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAKtB;;;;;;;;;;WAUG;qBAL+B,CAAC,SAAtB,SAAU,OAAO,EAAG,EACX,CAAC,SAAV,MAAQ,UACV,KAAK,CAAC,CAAC,SACP,CAAC,GACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAKtB;;;;;;;;WAQG;oBAJW,CAAC,sBACJ,IAAI,OAAO,CAAC,aACZ,CAAC,GACC,IAAI,CAAC,CAAC;QAKnB;;;;;;;WAOG;wBAFQ,IAAI,OAAO,CAAC,GACV,IAAI,IAAI,CAAC;;IAMxB,6DAA6D;;;;;;;IAY7D;;OAEG;;;YAGC;;;;;;;;eAQG;wBALe,CAAC,SAAN,EAAI,EACM,CAAC,SAAX,MAAO,CAAE,SACX,CAAC,OACD,CAAC,GACC,CAAC,CAAC,CAAC,CAAC;;;YAOjB;;;;;;;eAOG;wBAJU,CAAC,UACH,OAAO,YACP,CAAC,GACC,CAAC;;;IAOlB;;;OAGG;;;;;;;;;IAYH;;;;;;;;;;;;;OAaG;2BAL8B,CAAC,SAArB,SAAU,MAAM,EAAG,EACC,CAAC,SAArB,SAAU,MAAM,EAAG,UACrB,CAAC,WACD,CAAC,KACC,GAAG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,MAAM,KAAK,GAAE,GAAE;IAsBpE;;;;;;;;;;;OAWG;gCAP8B,CAAC,SAArB,SAAU,MAAM,EAAG,EACC,CAAC,SAArB,SAAU,MAAM,EAAG,UACrB,CAAC,WACD,CAAC,KACC,GACP,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,eAAe,GAAG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,WAAW,GAAE,CAAC,GACpE;IA4BJ;;;;;;;;;;OAUG;6BAF8B,CAAC,SAArB,SAAU,MAAM,EAAG,YACrB,CAAC,QArEI,CAAC;2BAA0C,KAAK;;IA4EhE;;;;;;OAMG;kCAF8B,CAAC,SAArB,SAAU,MAAM,EAAG,YACrB,CAAC,QAlDN,CAAC;;;EA4DV;8BA5OqC,aAAa;0BAAb,aAAa;yBAAb,aAAa;iCACL,gBAAgB;oCAAhB,gBAAgB"}
|