@agoric/orchestration 0.1.1-dev-4874a7f.0 → 0.1.1-dev-efd3370.0

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.
Files changed (40) hide show
  1. package/package.json +16 -16
  2. package/src/examples/stakeBld.contract.d.ts +46 -34
  3. package/src/examples/stakeBld.contract.d.ts.map +1 -1
  4. package/src/examples/stakeIca.contract.d.ts +19 -19
  5. package/src/exos/agoric-names-tools.js +4 -4
  6. package/src/exos/chain-account-kit.d.ts.map +1 -1
  7. package/src/exos/chain-account-kit.js +6 -4
  8. package/src/exos/chain-hub.d.ts.map +1 -1
  9. package/src/exos/chain-hub.js +2 -0
  10. package/src/exos/cosmos-orchestration-account.d.ts +24 -23
  11. package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
  12. package/src/exos/cosmos-orchestration-account.js +129 -121
  13. package/src/exos/local-chain-facade.d.ts +65 -23
  14. package/src/exos/local-chain-facade.d.ts.map +1 -1
  15. package/src/exos/local-chain-facade.js +71 -35
  16. package/src/exos/local-orchestration-account.d.ts +53 -41
  17. package/src/exos/local-orchestration-account.d.ts.map +1 -1
  18. package/src/exos/local-orchestration-account.js +169 -151
  19. package/src/exos/orchestrator.d.ts +7 -6
  20. package/src/exos/orchestrator.d.ts.map +1 -1
  21. package/src/exos/orchestrator.js +18 -18
  22. package/src/exos/remote-chain-facade.d.ts +129 -22
  23. package/src/exos/remote-chain-facade.d.ts.map +1 -1
  24. package/src/exos/remote-chain-facade.js +93 -42
  25. package/src/internal.d.ts +13 -0
  26. package/src/internal.d.ts.map +1 -0
  27. package/src/internal.ts +20 -0
  28. package/src/proposals/start-stakeAtom.d.ts +19 -19
  29. package/src/proposals/start-stakeBld.d.ts +46 -34
  30. package/src/proposals/start-stakeBld.d.ts.map +1 -1
  31. package/src/proposals/start-stakeOsmo.d.ts +19 -19
  32. package/src/service.d.ts +7 -6
  33. package/src/service.d.ts.map +1 -1
  34. package/src/service.js +29 -34
  35. package/src/types.d.ts +1 -0
  36. package/src/types.d.ts.map +1 -1
  37. package/src/types.ts +1 -0
  38. package/src/utils/orchestrationAccount.js +11 -7
  39. package/src/vat-orchestration.d.ts +4 -4
  40. package/src/vat-orchestration.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/orchestration",
3
- "version": "0.1.1-dev-4874a7f.0+4874a7f",
3
+ "version": "0.1.1-dev-efd3370.0+efd3370",
4
4
  "description": "Chain abstraction for Agoric's orchestration clients",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -33,20 +33,20 @@
33
33
  },
34
34
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
35
35
  "dependencies": {
36
- "@agoric/assert": "0.6.1-dev-4874a7f.0+4874a7f",
37
- "@agoric/async-flow": "0.1.1-dev-4874a7f.0+4874a7f",
38
- "@agoric/cosmic-proto": "0.4.1-dev-4874a7f.0+4874a7f",
39
- "@agoric/ertp": "0.16.3-dev-4874a7f.0+4874a7f",
40
- "@agoric/internal": "0.3.3-dev-4874a7f.0+4874a7f",
41
- "@agoric/network": "0.1.1-dev-4874a7f.0+4874a7f",
42
- "@agoric/notifier": "0.6.3-dev-4874a7f.0+4874a7f",
43
- "@agoric/store": "0.9.3-dev-4874a7f.0+4874a7f",
44
- "@agoric/time": "0.3.3-dev-4874a7f.0+4874a7f",
45
- "@agoric/vat-data": "0.5.3-dev-4874a7f.0+4874a7f",
46
- "@agoric/vats": "0.15.2-dev-4874a7f.0+4874a7f",
47
- "@agoric/vow": "0.1.1-dev-4874a7f.0+4874a7f",
48
- "@agoric/zoe": "0.26.3-dev-4874a7f.0+4874a7f",
49
- "@agoric/zone": "0.2.3-dev-4874a7f.0+4874a7f",
36
+ "@agoric/assert": "0.6.1-dev-efd3370.0+efd3370",
37
+ "@agoric/async-flow": "0.1.1-dev-efd3370.0+efd3370",
38
+ "@agoric/cosmic-proto": "0.4.1-dev-efd3370.0+efd3370",
39
+ "@agoric/ertp": "0.16.3-dev-efd3370.0+efd3370",
40
+ "@agoric/internal": "0.3.3-dev-efd3370.0+efd3370",
41
+ "@agoric/network": "0.1.1-dev-efd3370.0+efd3370",
42
+ "@agoric/notifier": "0.6.3-dev-efd3370.0+efd3370",
43
+ "@agoric/store": "0.9.3-dev-efd3370.0+efd3370",
44
+ "@agoric/time": "0.3.3-dev-efd3370.0+efd3370",
45
+ "@agoric/vat-data": "0.5.3-dev-efd3370.0+efd3370",
46
+ "@agoric/vats": "0.15.2-dev-efd3370.0+efd3370",
47
+ "@agoric/vow": "0.1.1-dev-efd3370.0+efd3370",
48
+ "@agoric/zoe": "0.26.3-dev-efd3370.0+efd3370",
49
+ "@agoric/zone": "0.2.3-dev-efd3370.0+efd3370",
50
50
  "@endo/base64": "^1.0.5",
51
51
  "@endo/errors": "^1.2.2",
52
52
  "@endo/far": "^1.1.2",
@@ -91,5 +91,5 @@
91
91
  "typeCoverage": {
92
92
  "atLeast": 97.1
93
93
  },
94
- "gitHead": "4874a7f9fdf2ad6cf43ffb2721037ae3c486f111"
94
+ "gitHead": "efd337061ea195e6ca6083b2ae462fd9d96f08a5"
95
95
  }
@@ -18,13 +18,13 @@ export function start(zcf: ZCF, privateArgs: {
18
18
  };
19
19
  };
20
20
  invitationMakers: import("@endo/exo").Guarded<{
21
- Delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<Record<unknown, unknown>, undefined>>;
22
- Undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<void | import("@agoric/time").TimestampRecord | import("@agoric/vow").Vow<void | import("@agoric/time").TimestampRecord>, undefined>>;
21
+ Delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<import("@agoric/vow").Vow<Record<unknown, unknown>>, undefined>>;
22
+ Undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<import("@agoric/vow").Vow<import("@agoric/time").TimestampRecord>, undefined>>;
23
23
  CloseAccount(): never;
24
24
  }>;
25
25
  account: import("@endo/exo").Guarded<{
26
- getBalance(denom: import("../orchestration-api.js").DenomArg): Promise<import("../orchestration-api.js").DenomAmount>;
27
- getBalances(): never;
26
+ getBalance(denom: import("../orchestration-api.js").DenomArg): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount>;
27
+ getBalances(): import("@agoric/vow").Vow<never>;
28
28
  getPublicTopics(): {
29
29
  account: {
30
30
  description: string;
@@ -32,20 +32,24 @@ export function start(zcf: ZCF, privateArgs: {
32
32
  storagePath: Promise<string>;
33
33
  };
34
34
  };
35
- delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Record<unknown, unknown>>;
36
- undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").PromiseVow<void | import("@agoric/time").TimestampRecord>;
37
- deposit(payment: globalThis.Payment<"nat">): Promise<void>;
38
- withdraw(amount: Amount<"nat">): import("@agoric/vow").PromiseVow<Payment<"nat">>;
39
- executeTx<MT extends import("@agoric/cosmic-proto").TypedJson[]>(messages: MT): PromiseVowOfTupleMappedToGenerics<{ [K in keyof MT]: import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto").ResponseTo<MT[K]>>; }>;
35
+ delegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<Record<unknown, unknown>>;
36
+ undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<void | import("@agoric/time").TimestampRecord>;
37
+ deposit(payment: globalThis.Payment<"nat">): import("@agoric/vow").Vow<void>;
38
+ withdraw(amount: import("@agoric/ertp/src/types.js").NatAmount): import("@agoric/vow").Vow<globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">>>;
39
+ executeTx(messages: {
40
+ '@type': string;
41
+ }[]): import("@agoric/vow").Vow<import("@agoric/cosmic-proto").JsonSafe<{
42
+ '@type': string;
43
+ }>[]>;
40
44
  getAddress(): import("../orchestration-api.js").ChainAddress;
41
- send(toAccount: any, amount: any): Promise<void>;
42
- transfer(amount: import("../orchestration-api.js").AmountArg, destination: import("../orchestration-api.js").ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): Promise<void>;
43
- transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): Promise<void>;
45
+ send(toAccount: any, amount: any): import("@agoric/vow").Vow<never>;
46
+ transfer(amount: import("../orchestration-api.js").AmountArg, destination: import("../orchestration-api.js").ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<void>;
47
+ transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
44
48
  }>;
45
49
  }, undefined>>;
46
50
  makeAccount(): Promise<import("@endo/exo").Guarded<{
47
- getBalance(denom: import("../orchestration-api.js").DenomArg): Promise<import("../orchestration-api.js").DenomAmount>;
48
- getBalances(): never;
51
+ getBalance(denom: import("../orchestration-api.js").DenomArg): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount>;
52
+ getBalances(): import("@agoric/vow").Vow<never>;
49
53
  getPublicTopics(): {
50
54
  account: {
51
55
  description: string;
@@ -53,15 +57,19 @@ export function start(zcf: ZCF, privateArgs: {
53
57
  storagePath: Promise<string>;
54
58
  };
55
59
  };
56
- delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Record<unknown, unknown>>;
57
- undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").PromiseVow<void | import("@agoric/time").TimestampRecord>;
58
- deposit(payment: globalThis.Payment<"nat">): Promise<void>;
59
- withdraw(amount: Amount<"nat">): import("@agoric/vow").PromiseVow<Payment<"nat">>;
60
- executeTx<MT extends import("@agoric/cosmic-proto").TypedJson[]>(messages: MT): PromiseVowOfTupleMappedToGenerics<{ [K in keyof MT]: import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto").ResponseTo<MT[K]>>; }>;
60
+ delegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<Record<unknown, unknown>>;
61
+ undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<void | import("@agoric/time").TimestampRecord>;
62
+ deposit(payment: globalThis.Payment<"nat">): import("@agoric/vow").Vow<void>;
63
+ withdraw(amount: import("@agoric/ertp/src/types.js").NatAmount): import("@agoric/vow").Vow<globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">>>;
64
+ executeTx(messages: {
65
+ '@type': string;
66
+ }[]): import("@agoric/vow").Vow<import("@agoric/cosmic-proto").JsonSafe<{
67
+ '@type': string;
68
+ }>[]>;
61
69
  getAddress(): import("../orchestration-api.js").ChainAddress;
62
- send(toAccount: any, amount: any): Promise<void>;
63
- transfer(amount: import("../orchestration-api.js").AmountArg, destination: import("../orchestration-api.js").ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): Promise<void>;
64
- transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): Promise<void>;
70
+ send(toAccount: any, amount: any): import("@agoric/vow").Vow<never>;
71
+ transfer(amount: import("../orchestration-api.js").AmountArg, destination: import("../orchestration-api.js").ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<void>;
72
+ transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
65
73
  }>>;
66
74
  /**
67
75
  * Invitation to make an account, without any funds
@@ -75,13 +83,13 @@ export function start(zcf: ZCF, privateArgs: {
75
83
  };
76
84
  };
77
85
  invitationMakers: import("@endo/exo").Guarded<{
78
- Delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<Record<unknown, unknown>, undefined>>;
79
- Undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<void | import("@agoric/time").TimestampRecord | import("@agoric/vow").Vow<void | import("@agoric/time").TimestampRecord>, undefined>>;
86
+ Delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<import("@agoric/vow").Vow<Record<unknown, unknown>>, undefined>>;
87
+ Undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<import("@agoric/vow").Vow<import("@agoric/time").TimestampRecord>, undefined>>;
80
88
  CloseAccount(): never;
81
89
  }>;
82
90
  account: import("@endo/exo").Guarded<{
83
- getBalance(denom: import("../orchestration-api.js").DenomArg): Promise<import("../orchestration-api.js").DenomAmount>;
84
- getBalances(): never;
91
+ getBalance(denom: import("../orchestration-api.js").DenomArg): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount>;
92
+ getBalances(): import("@agoric/vow").Vow<never>;
85
93
  getPublicTopics(): {
86
94
  account: {
87
95
  description: string;
@@ -89,15 +97,19 @@ export function start(zcf: ZCF, privateArgs: {
89
97
  storagePath: Promise<string>;
90
98
  };
91
99
  };
92
- delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Record<unknown, unknown>>;
93
- undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").PromiseVow<void | import("@agoric/time").TimestampRecord>;
94
- deposit(payment: globalThis.Payment<"nat">): Promise<void>;
95
- withdraw(amount: Amount<"nat">): import("@agoric/vow").PromiseVow<Payment<"nat">>;
96
- executeTx<MT extends import("@agoric/cosmic-proto").TypedJson[]>(messages: MT): PromiseVowOfTupleMappedToGenerics<{ [K in keyof MT]: import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto").ResponseTo<MT[K]>>; }>;
100
+ delegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<Record<unknown, unknown>>;
101
+ undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<void | import("@agoric/time").TimestampRecord>;
102
+ deposit(payment: globalThis.Payment<"nat">): import("@agoric/vow").Vow<void>;
103
+ withdraw(amount: import("@agoric/ertp/src/types.js").NatAmount): import("@agoric/vow").Vow<globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">>>;
104
+ executeTx(messages: {
105
+ '@type': string;
106
+ }[]): import("@agoric/vow").Vow<import("@agoric/cosmic-proto").JsonSafe<{
107
+ '@type': string;
108
+ }>[]>;
97
109
  getAddress(): import("../orchestration-api.js").ChainAddress;
98
- send(toAccount: any, amount: any): Promise<void>;
99
- transfer(amount: import("../orchestration-api.js").AmountArg, destination: import("../orchestration-api.js").ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): Promise<void>;
100
- transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): Promise<void>;
110
+ send(toAccount: any, amount: any): import("@agoric/vow").Vow<never>;
111
+ transfer(amount: import("../orchestration-api.js").AmountArg, destination: import("../orchestration-api.js").ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<void>;
112
+ transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
101
113
  }>;
102
114
  }, undefined>>;
103
115
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"stakeBld.contract.d.ts","sourceRoot":"","sources":["stakeBld.contract.js"],"names":[],"mappings":"AAkCO,2BAVI,GAAG,eACH;IACV,WAAe,EAAE,OAAO,OAAO,CAAC,CAAC;IACjC,UAAc,EAAE,OAAO,UAAU,CAAC,CAAC;IACnC,UAAc,EAAE,UAAU,CAAC;IAC3B,WAAe,EAAE,WAAW,CAAC;IAC7B,YAAgB,EAAE,YAAY,CAAC;CAC5B,WACO,OAAO,kBAAkB,EAAE,OAAO;;QAiDvC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBR;6BArHyB,cAAc;4BACf,kBAAkB;gCAEd,gCAAgC;kCAD9B,cAAc"}
1
+ {"version":3,"file":"stakeBld.contract.d.ts","sourceRoot":"","sources":["stakeBld.contract.js"],"names":[],"mappings":"AAkCO,2BAVI,GAAG,eACH;IACV,WAAe,EAAE,OAAO,OAAO,CAAC,CAAC;IACjC,UAAc,EAAE,OAAO,UAAU,CAAC,CAAC;IACnC,UAAc,EAAE,UAAU,CAAC;IAC3B,WAAe,EAAE,WAAW,CAAC;IAC7B,YAAgB,EAAE,YAAY,CAAC;CAC5B,WACO,OAAO,kBAAkB,EAAE,OAAO;;QAiDvC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBR;6BArHyB,cAAc;4BACf,kBAAkB;gCAEd,gCAAgC;kCAD9B,cAAc"}
@@ -29,10 +29,10 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
29
29
  };
30
30
  };
31
31
  invitationMakers: import("@endo/exo").Guarded<{
32
- Delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<undefined, undefined>>;
33
- Redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<undefined, undefined>>;
34
- WithdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): Promise<Invitation<import("../orchestration-api.js").DenomAmount[], undefined>>;
35
- Undelegate(delegations: Omit<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").Delegation, "delegatorAddress">[]): Promise<Invitation<undefined, undefined>>;
32
+ Delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<import("@agoric/vow").Vow<undefined>, undefined>>;
33
+ Redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<import("@agoric/vow").Vow<undefined>, undefined>>;
34
+ WithdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): Promise<Invitation<import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>, undefined>>;
35
+ Undelegate(delegations: Omit<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").Delegation, "delegatorAddress">[]): Promise<Invitation<import("@agoric/vow").Vow<undefined>, undefined>>;
36
36
  CloseAccount(): never;
37
37
  TransferAccount(): never;
38
38
  }>;
@@ -46,17 +46,17 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
46
46
  };
47
47
  };
48
48
  getAddress(): import("../orchestration-api.js").ChainAddress;
49
- delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<undefined>;
50
- deposit(payment: any): Promise<void>;
51
- getBalances(): Promise<never>;
52
- redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<undefined>;
53
- withdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): Promise<import("../orchestration-api.js").DenomAmount[]>;
54
- getBalance(denom: import("../orchestration-api.js").DenomArg): Promise<import("../orchestration-api.js").DenomAmount>;
55
- send(toAccount: any, amount: any): never;
56
- transfer(amount: any, msg: any): never;
57
- transferSteps(amount: any, msg: any): never;
58
- withdrawRewards(): never;
59
- undelegate(delegations: Omit<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").Delegation, "delegatorAddress">[]): Promise<undefined>;
49
+ delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<undefined>;
50
+ deposit(payment: any): void;
51
+ getBalances(): import("@agoric/vow").Vow<never>;
52
+ redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<undefined>;
53
+ withdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
54
+ getBalance(denom: import("../orchestration-api.js").DenomArg): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount>;
55
+ send(toAccount: any, amount: any): import("@agoric/vow").Vow<never>;
56
+ transfer(amount: any, msg: any): import("@agoric/vow").Vow<never>;
57
+ transferSteps(amount: any, msg: any): import("@agoric/vow").Vow<never>;
58
+ withdrawRewards(): import("@agoric/vow").Vow<never>;
59
+ undelegate(delegations: Omit<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").Delegation, "delegatorAddress">[]): import("@agoric/vow").Vow<undefined>;
60
60
  }>>;
61
61
  makeAccountInvitationMaker(): Promise<Invitation<{
62
62
  publicSubscribers: {
@@ -67,10 +67,10 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
67
67
  };
68
68
  };
69
69
  invitationMakers: import("@endo/exo").Guarded<{
70
- Delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<undefined, undefined>>;
71
- Redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<undefined, undefined>>;
72
- WithdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): Promise<Invitation<import("../orchestration-api.js").DenomAmount[], undefined>>;
73
- Undelegate(delegations: Omit<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").Delegation, "delegatorAddress">[]): Promise<Invitation<undefined, undefined>>;
70
+ Delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<import("@agoric/vow").Vow<undefined>, undefined>>;
71
+ Redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): Promise<Invitation<import("@agoric/vow").Vow<undefined>, undefined>>;
72
+ WithdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): Promise<Invitation<import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>, undefined>>;
73
+ Undelegate(delegations: Omit<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").Delegation, "delegatorAddress">[]): Promise<Invitation<import("@agoric/vow").Vow<undefined>, undefined>>;
74
74
  CloseAccount(): never;
75
75
  TransferAccount(): never;
76
76
  }>;
@@ -41,7 +41,7 @@ export const makeResumableAgoricNamesHack = (
41
41
  }),
42
42
  vbankAssetEntriesWatcher: M.interface('vbankAssetEntriesWatcher', {
43
43
  onFulfilled: M.call(M.arrayOf(M.record()))
44
- .optional({ brand: BrandShape })
44
+ .optional(BrandShape)
45
45
  .returns(VowShape),
46
46
  }),
47
47
  },
@@ -55,9 +55,9 @@ export const makeResumableAgoricNamesHack = (
55
55
  vbankAssetEntriesWatcher: {
56
56
  /**
57
57
  * @param {AssetInfo[]} assets
58
- * @param {{ brand: Brand<'nat'> }} ctx
58
+ * @param {Brand<'nat'>} brand
59
59
  */
60
- onFulfilled(assets, { brand }) {
60
+ onFulfilled(assets, brand) {
61
61
  return asVow(() => {
62
62
  const { vbankAssetsByBrand } = this.state;
63
63
  vbankAssetsByBrand.addAll(
@@ -96,7 +96,7 @@ export const makeResumableAgoricNamesHack = (
96
96
  return watch(
97
97
  vbankAssetEntriesP,
98
98
  this.facets.vbankAssetEntriesWatcher,
99
- { brand },
99
+ brand,
100
100
  );
101
101
  });
102
102
  },
@@ -1 +1 @@
1
- {"version":3,"file":"chain-account-kit.d.ts","sourceRoot":"","sources":["chain-account-k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,CAAC;QAcxB;;;;;WAKG;iBAFU,IAAI,IAAI,CAAC;QAatB;;;;WAIG;wBADQ,KAAK;;;QAQhB;;;;WAIG;2BAHQ,OAAO,UAAU,CAAC,aAClB,eAAe,cACf,gBAAgB;QAe3B;;;WAGG;6BAFQ,OAAO,UAAU,CAAC,UAClB,OAAO;;GASvB;qCApLW,0BAA0B;oBAmB3B;IACZ,OAAW,EAAE,MAAM,CAAC;IACpB,IAAQ,EAAE,IAAI,CAAC;IACf,UAAc,EAAE,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC/C,YAAgB,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,sBAA0B,EAAE,MAAM,CAAC;IACnC,aAAiB,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAChD,YAAgB,EAAE,YAAY,GAAG,SAAS,CAAC;CACxC;8BA2JU,UAAU,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;0BAlM5C,mBAAmB;8BAEF,aAAa;0BADlB,iBAAiB;kCAKrB,aAAa;yBAJJ,aAAa;6BAC3B,sBAAsB;4BACvB,8CAA8C;gCAHpC,iBAAiB;4BACZ,aAAa;qCAGD,iCAAiC;sCAAjC,iCAAiC"}
@@ -102,12 +102,14 @@ export const prepareChainAccountKit = (zone, { watch, asVow }) =>
102
102
  );
103
103
  },
104
104
  getBalance(_denom) {
105
+ // TODO https://github.com/Agoric/agoric-sdk/issues/9610
105
106
  // UNTIL https://github.com/Agoric/agoric-sdk/issues/9326
106
- return asVow(() => Fail`'not yet implemented'`);
107
+ return asVow(() => Fail`not yet implemented`);
107
108
  },
108
109
  getBalances() {
110
+ // TODO https://github.com/Agoric/agoric-sdk/issues/9610
109
111
  // UNTIL https://github.com/Agoric/agoric-sdk/issues/9326
110
- return asVow(() => Fail`'not yet implemented'`);
112
+ return asVow(() => Fail`not yet implemented`);
111
113
  },
112
114
  getLocalAddress() {
113
115
  return NonNullish(
@@ -125,7 +127,7 @@ export const prepareChainAccountKit = (zone, { watch, asVow }) =>
125
127
  return this.state.port;
126
128
  },
127
129
  executeTx() {
128
- return asVow(() => Fail`'not yet implemented'`);
130
+ return asVow(() => Fail`not yet implemented`);
129
131
  },
130
132
  /**
131
133
  * Submit a transaction on behalf of the remote account for execution on
@@ -170,7 +172,7 @@ export const prepareChainAccountKit = (zone, { watch, asVow }) =>
170
172
  */
171
173
  getPurse(brand) {
172
174
  console.log('getPurse got', brand);
173
- return asVow(() => Fail`'not yet implemented'`);
175
+ return asVow(() => Fail`not yet implemented`);
174
176
  },
175
177
  },
176
178
  connectionHandler: {
@@ -1 +1 @@
1
- {"version":3,"file":"chain-hub.d.ts","sourceRoot":"","sources":["chain-hub.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AAEH;;;;;GAKG;AAEH,wCAAwC;AACxC,gCAAiC;AACjC,kCAAkC;AAClC,gDAAiD;AAqB1C,wCAHI,MAAM,YACN,MAAM,UAUhB;AAoCM,0CAHI,OAAO,OAAO,CAAC;IAgBtB;;;;;;;;;;;OAWG;wBAFQ,MAAM,aACN,eAAe;IAK1B;;;;OAIG;iBAHmB,CAAC,SAAV,MAAQ,aACV,CAAC,GACC,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC;IAoBpC;;;;OAIG;iCAHQ,MAAM,YACN,MAAM,kBACN,iBAAiB;IAO5B;;;;OAIG;8BAHQ,MAAM,GAAG;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,UAC5B,MAAM,GAAG;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAC1B,IAAI,iBAAiB,CAAC;IAqBnC;;;;;;;;OAQG;2BAPmB,EAAE,SAAX,MAAQ,EACC,EAAE,SAAX,MAAQ,cACV,EAAE,cACF,EAAE,GACA,IACZ,CAAK,eAAe,CAAC,EAAE,CAAC,EAAE,eAAe,CAAC,EAAE,CAAC,EAAE,iBAAiB,CAAC,CAC9D;GAsBP;4BA5LqB,CAAC,SAAV,MAAQ,IACR,CAAC,SAAS,MAAM,WAAW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AAkB;0BACpB,cAAc;qCAHgB,kBAAkB;yBADjD,aAAa;uCACkB,kBAAkB;iCAC9B,kBAAkB;+BAAlB,kBAAkB"}
@@ -1,4 +1,5 @@
1
1
  import { VowShape } from '@agoric/vow';
2
+ // eslint-disable-next-line no-restricted-syntax
2
3
  import { heapVowTools } from '@agoric/vow/vat.js';
3
4
  import { makeHeapZone } from '@agoric/zone';
4
5
  import { E } from '@endo/far';
@@ -6,6 +7,7 @@ import { M } from '@endo/patterns';
6
7
  import { CosmosChainInfoShape, IBCConnectionInfoShape } from '../typeGuards.js';
7
8
 
8
9
  // FIXME test thoroughly whether heap suffices for ChainHub
10
+ // eslint-disable-next-line no-restricted-syntax
9
11
  const { allVows, watch } = heapVowTools;
10
12
 
11
13
  const { Fail } = assert;
@@ -29,7 +29,7 @@ export const IcaAccountHolderI: import("@endo/patterns").InterfaceGuard<{
29
29
  transferSteps: import("@endo/patterns").MethodGuard;
30
30
  deposit: import("@endo/patterns").MethodGuard;
31
31
  }>;
32
- export function prepareCosmosOrchestrationAccountKit(zone: Zone, makeRecorderKit: MakeRecorderKit, { when, watch }: VowTools, zcf: ZCF): (chainAddress: ChainAddress, bondDenom: string, io: {
32
+ export function prepareCosmosOrchestrationAccountKit(zone: Zone, makeRecorderKit: MakeRecorderKit, { watch, asVow }: VowTools, zcf: ZCF): (chainAddress: ChainAddress, bondDenom: string, io: {
33
33
  account: IcaAccount;
34
34
  storageNode: Remote<StorageNode>;
35
35
  icqConnection: ICQConnection | undefined;
@@ -55,7 +55,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, makeRecorderKit
55
55
  /**
56
56
  * @param {string} result
57
57
  */
58
- onFulfilled(result: string): Promise<import("@agoric/time").TimestampRecord>;
58
+ onFulfilled(result: string): Vow<import("@agoric/time").TimestampRecord>;
59
59
  };
60
60
  /**
61
61
  * takes an array of results (from `executeEncodedTx`) and returns void
@@ -74,17 +74,17 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, makeRecorderKit
74
74
  * @param {CosmosValidatorAddress} validator
75
75
  * @param {AmountArg} amount
76
76
  */
77
- Delegate(validator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<undefined, undefined>>;
77
+ Delegate(validator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<Vow<undefined>, undefined>>;
78
78
  /**
79
79
  * @param {CosmosValidatorAddress} srcValidator
80
80
  * @param {CosmosValidatorAddress} dstValidator
81
81
  * @param {AmountArg} amount
82
82
  */
83
- Redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<undefined, undefined>>;
83
+ Redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<Vow<undefined>, undefined>>;
84
84
  /** @param {CosmosValidatorAddress} validator */
85
- WithdrawReward(validator: CosmosValidatorAddress): Promise<Invitation<DenomAmount[], undefined>>;
85
+ WithdrawReward(validator: CosmosValidatorAddress): Promise<Invitation<Vow<DenomAmount[]>, undefined>>;
86
86
  /** @param {Omit<Delegation, 'delegatorAddress'>[]} delegations */
87
- Undelegate(delegations: Omit<Delegation, "delegatorAddress">[]): Promise<Invitation<undefined, undefined>>;
87
+ Undelegate(delegations: Omit<Delegation, "delegatorAddress">[]): Promise<Invitation<Vow<undefined>, undefined>>;
88
88
  CloseAccount(): never;
89
89
  /**
90
90
  * Starting a transfer revokes the account holder. The associated
@@ -107,17 +107,17 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, makeRecorderKit
107
107
  * @param {CosmosValidatorAddress} validator
108
108
  * @param {AmountArg} amount
109
109
  */
110
- Delegate(validator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<undefined, undefined>>;
110
+ Delegate(validator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<Vow<undefined>, undefined>>;
111
111
  /**
112
112
  * @param {CosmosValidatorAddress} srcValidator
113
113
  * @param {CosmosValidatorAddress} dstValidator
114
114
  * @param {AmountArg} amount
115
115
  */
116
- Redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<undefined, undefined>>;
116
+ Redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<Vow<undefined>, undefined>>;
117
117
  /** @param {CosmosValidatorAddress} validator */
118
- WithdrawReward(validator: CosmosValidatorAddress): Promise<Invitation<DenomAmount[], undefined>>;
118
+ WithdrawReward(validator: CosmosValidatorAddress): Promise<Invitation<Vow<DenomAmount[]>, undefined>>;
119
119
  /** @param {Omit<Delegation, 'delegatorAddress'>[]} delegations */
120
- Undelegate(delegations: Omit<Delegation, "delegatorAddress">[]): Promise<Invitation<undefined, undefined>>;
120
+ Undelegate(delegations: Omit<Delegation, "delegatorAddress">[]): Promise<Invitation<Vow<undefined>, undefined>>;
121
121
  CloseAccount(): never;
122
122
  /**
123
123
  * Starting a transfer revokes the account holder. The associated
@@ -143,9 +143,9 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, makeRecorderKit
143
143
  * @param {CosmosValidatorAddress} validator
144
144
  * @param {AmountArg} amount
145
145
  */
146
- delegate(validator: CosmosValidatorAddress, amount: AmountArg): Promise<undefined>;
147
- deposit(payment: any): Promise<void>;
148
- getBalances(): Promise<never>;
146
+ delegate(validator: CosmosValidatorAddress, amount: AmountArg): Vow<undefined>;
147
+ deposit(payment: any): void;
148
+ getBalances(): Vow<never>;
149
149
  /**
150
150
  * _Assumes users has already sent funds to their ICA, until #9193
151
151
  *
@@ -153,23 +153,23 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, makeRecorderKit
153
153
  * @param {CosmosValidatorAddress} dstValidator
154
154
  * @param {AmountArg} amount
155
155
  */
156
- redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Promise<undefined>;
156
+ redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Vow<undefined>;
157
157
  /**
158
158
  * @param {CosmosValidatorAddress} validator
159
- * @returns {Promise<DenomAmount[]>}
159
+ * @returns {Vow<DenomAmount[]>}
160
160
  */
161
- withdrawReward(validator: CosmosValidatorAddress): Promise<DenomAmount[]>;
161
+ withdrawReward(validator: CosmosValidatorAddress): Vow<DenomAmount[]>;
162
162
  /**
163
163
  * @param {DenomArg} denom
164
- * @returns {Promise<DenomAmount>}
164
+ * @returns {Vow<DenomAmount>}
165
165
  */
166
- getBalance(denom: DenomArg): Promise<DenomAmount>;
167
- send(toAccount: any, amount: any): never;
168
- transfer(amount: any, msg: any): never;
169
- transferSteps(amount: any, msg: any): never;
170
- withdrawRewards(): never;
166
+ getBalance(denom: DenomArg): Vow<DenomAmount>;
167
+ send(toAccount: any, amount: any): Vow<never>;
168
+ transfer(amount: any, msg: any): Vow<never>;
169
+ transferSteps(amount: any, msg: any): Vow<never>;
170
+ withdrawRewards(): Vow<never>;
171
171
  /** @param {Omit<Delegation, 'delegatorAddress'>[]} delegations */
172
- undelegate(delegations: Omit<Delegation, "delegatorAddress">[]): Promise<undefined>;
172
+ undelegate(delegations: Omit<Delegation, "delegatorAddress">[]): Vow<undefined>;
173
173
  };
174
174
  }>;
175
175
  export function prepareCosmosOrchestrationAccount(zone: Zone, makeRecorderKit: MakeRecorderKit, vowTools: VowTools, zcf: ZCF): (...args: Parameters<ReturnType<typeof prepareCosmosOrchestrationAccountKit>>) => CosmosOrchestrationAccountKit["holder"];
@@ -199,6 +199,7 @@ import type { Coin } from '@agoric/cosmic-proto/cosmos/base/v1beta1/coin.js';
199
199
  import type { ResponseQuery } from '@agoric/cosmic-proto/tendermint/abci/types.js';
200
200
  import type { JsonSafe } from '@agoric/cosmic-proto';
201
201
  import type { DenomAmount } from '../types.js';
202
+ import type { Vow } from '@agoric/vow';
202
203
  import type { CosmosValidatorAddress } from '../types.js';
203
204
  import type { Delegation } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js';
204
205
  import type { DenomArg } from '../types.js';
@@ -1 +1 @@
1
- {"version":3,"file":"cosmos-orchestration-account.d.ts","sourceRoot":"","sources":["cosmos-orchestration-account.js"],"names":[],"mappings":"AAkDA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,mCAAmC;AACnC;;;;;;;;;;;;;;;GAqBG;AAgBI,2DALI,IAAI,mBACJ,eAAe,mBACf,QAAQ,OACR,GAAG;aA0DC,UAAU;iBACV,OAAO,WAAW,CAAC;mBACnB,aAAa,GAAG,SAAS;WACzB,OAAO,YAAY,CAAC;;;QAe3B,wDAAwD;;;QAWxD;;;WAGG;6BAFQ,SAAS,GACP,IAAI;;;QAiBjB;;WAEG;8BADQ,SAAS,aAAa,CAAC,EAAE;;;QAYpC;;WAEG;4BADQ,MAAM;;IAenB;;;OAGG;;QAED,uDAAuD;4BAA3C,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;QAO5C,6BAA6B;4BAAjB,MAAM;;;QAYlB;;;WAGG;4BAFQ,sBAAsB,UACtB,SAAS;QAUpB;;;;WAIG;iCAHQ,sBAAsB,gBACtB,sBAAsB,UACtB,SAAS;QAcpB,gDAAgD;kCAApC,sBAAsB;QASlC,kEAAkE;gCAAtD,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,EAAE;;QAYlD;;;;WAIG;;;;;;;;;;;;;gBAtDH;;;mBAGG;oCAFQ,sBAAsB,UACtB,SAAS;gBAUpB;;;;mBAIG;yCAHQ,sBAAsB,gBACtB,sBAAsB,UACtB,SAAS;gBAcpB,gDAAgD;0CAApC,sBAAsB;gBASlC,kEAAkE;wCAAtD,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,EAAE;;gBAYlD;;;;mBAIG;;;;;;;;;;;;QA2BH,8BAA8B;sBAAhB,YAAY;QAI1B;;;;;WAKG;4BAFQ,sBAAsB,UACtB,SAAS;;;QA2BpB;;;;;;WAMG;iCAHQ,sBAAsB,gBACtB,sBAAsB,UACtB,SAAS;QA0B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