@agoric/orchestration 0.1.1-dev-35cb8ca.0 → 0.1.1-dev-83c2ebd.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/orchestration",
3
- "version": "0.1.1-dev-35cb8ca.0+35cb8ca",
3
+ "version": "0.1.1-dev-83c2ebd.0+83c2ebd",
4
4
  "description": "Chain abstraction for Agoric's orchestration clients",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -33,19 +33,19 @@
33
33
  },
34
34
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
35
35
  "dependencies": {
36
- "@agoric/async-flow": "0.1.1-dev-35cb8ca.0+35cb8ca",
37
- "@agoric/cosmic-proto": "0.4.1-dev-35cb8ca.0+35cb8ca",
38
- "@agoric/ertp": "0.16.3-dev-35cb8ca.0+35cb8ca",
39
- "@agoric/internal": "0.3.3-dev-35cb8ca.0+35cb8ca",
40
- "@agoric/network": "0.1.1-dev-35cb8ca.0+35cb8ca",
41
- "@agoric/notifier": "0.6.3-dev-35cb8ca.0+35cb8ca",
42
- "@agoric/store": "0.9.3-dev-35cb8ca.0+35cb8ca",
43
- "@agoric/time": "0.3.3-dev-35cb8ca.0+35cb8ca",
44
- "@agoric/vat-data": "0.5.3-dev-35cb8ca.0+35cb8ca",
45
- "@agoric/vats": "0.15.2-dev-35cb8ca.0+35cb8ca",
46
- "@agoric/vow": "0.1.1-dev-35cb8ca.0+35cb8ca",
47
- "@agoric/zoe": "0.26.3-dev-35cb8ca.0+35cb8ca",
48
- "@agoric/zone": "0.2.3-dev-35cb8ca.0+35cb8ca",
36
+ "@agoric/async-flow": "0.1.1-dev-83c2ebd.0+83c2ebd",
37
+ "@agoric/cosmic-proto": "0.4.1-dev-83c2ebd.0+83c2ebd",
38
+ "@agoric/ertp": "0.16.3-dev-83c2ebd.0+83c2ebd",
39
+ "@agoric/internal": "0.3.3-dev-83c2ebd.0+83c2ebd",
40
+ "@agoric/network": "0.1.1-dev-83c2ebd.0+83c2ebd",
41
+ "@agoric/notifier": "0.6.3-dev-83c2ebd.0+83c2ebd",
42
+ "@agoric/store": "0.9.3-dev-83c2ebd.0+83c2ebd",
43
+ "@agoric/time": "0.3.3-dev-83c2ebd.0+83c2ebd",
44
+ "@agoric/vat-data": "0.5.3-dev-83c2ebd.0+83c2ebd",
45
+ "@agoric/vats": "0.15.2-dev-83c2ebd.0+83c2ebd",
46
+ "@agoric/vow": "0.1.1-dev-83c2ebd.0+83c2ebd",
47
+ "@agoric/zoe": "0.26.3-dev-83c2ebd.0+83c2ebd",
48
+ "@agoric/zone": "0.2.3-dev-83c2ebd.0+83c2ebd",
49
49
  "@endo/base64": "^1.0.9",
50
50
  "@endo/errors": "^1.2.9",
51
51
  "@endo/far": "^1.1.10",
@@ -54,7 +54,7 @@
54
54
  "@noble/hashes": "^1.5.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@agoric/swingset-liveslots": "0.10.3-dev-35cb8ca.0+35cb8ca",
57
+ "@agoric/swingset-liveslots": "0.10.3-dev-83c2ebd.0+83c2ebd",
58
58
  "@chain-registry/client": "^1.47.4",
59
59
  "@cosmjs/amino": "^0.32.3",
60
60
  "@cosmjs/proto-signing": "^0.32.3",
@@ -96,5 +96,5 @@
96
96
  "typeCoverage": {
97
97
  "atLeast": 97.77
98
98
  },
99
- "gitHead": "35cb8caa621416371d94b570762804e703a23461"
99
+ "gitHead": "83c2ebdab859d3ac8365e2b7237e055360bd0536"
100
100
  }
@@ -1,12 +0,0 @@
1
- export function initChainInfo({ consume: { agoricNamesAdmin, chainStorage: chainStorageP }, }: BootstrapPowers): Promise<void>;
2
- export function getManifestForChainInfo(): {
3
- manifest: {
4
- [x: string]: {
5
- consume: {
6
- agoricNamesAdmin: boolean;
7
- chainStorage: boolean;
8
- };
9
- };
10
- };
11
- };
12
- //# sourceMappingURL=init-chain-info.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"init-chain-info.d.ts","sourceRoot":"","sources":["init-chain-info.js"],"names":[],"mappings":"AA2EO,+FAFI,eAAe,iBAYzB;AAGM;;;;;;;;;EASL"}
@@ -1,33 +0,0 @@
1
- export function setupOrchestrationVat({ consume: { loadCriticalVat, portAllocator: portAllocatorP }, produce: { orchestrationVat, ...produce }, }: BootstrapPowers & {
2
- consume: {
3
- portAllocator: PortAllocator;
4
- };
5
- produce: {
6
- orchestrationVat: Producer<any>;
7
- };
8
- }, { options }: {
9
- options: {
10
- orchestrationRef: VatSourceRef;
11
- };
12
- }): Promise<void>;
13
- export function getManifestForOrchestration(_powers: any, { orchestrationRef }: {
14
- orchestrationRef: any;
15
- }): {
16
- manifest: {
17
- [x: string]: {
18
- consume: {
19
- loadCriticalVat: boolean;
20
- portAllocator: string;
21
- };
22
- produce: {
23
- cosmosInterchainService: string;
24
- orchestrationVat: string;
25
- };
26
- };
27
- };
28
- options: {
29
- orchestrationRef: any;
30
- };
31
- };
32
- import type { PortAllocator } from '@agoric/network';
33
- //# sourceMappingURL=orchestration-proposal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orchestration-proposal.d.ts","sourceRoot":"","sources":["orchestration-proposal.js"],"names":[],"mappings":"AAoBO,mJAVI,eAAe,GAAG;IACxB,OAAO,EAAE;QACP,aAAa,EAAE,aAAa,CAAC;KAC9B,CAAC;IACF,OAAO,EAAE;QACP,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;KACjC,CAAC;CACH,eACO;IAAE,OAAO,EAAE;QAAE,gBAAgB,EAAE,YAAY,CAAA;KAAE,CAAA;CAAE,iBAgCzD;AAEM;;;;;;;;;;;;;;;;;;EAgBL;mCA9D8B,iBAAiB"}
@@ -1,21 +0,0 @@
1
- export function reviseChainInfo({ consume: { agoricNamesAdmin } }: BootstrapPowers, { options: { chainInfo } }: {
2
- options: {
3
- chainInfo: Record<string, CosmosChainInfo>;
4
- };
5
- }): Promise<void>;
6
- export function getManifestForReviseChains(_powers: any, { chainInfo }: {
7
- chainInfo: any;
8
- }): {
9
- manifest: {
10
- [x: string]: {
11
- consume: {
12
- agoricNamesAdmin: boolean;
13
- };
14
- };
15
- };
16
- options: {
17
- chainInfo: any;
18
- };
19
- };
20
- import type { CosmosChainInfo } from '../types.js';
21
- //# sourceMappingURL=revise-chain-info.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"revise-chain-info.d.ts","sourceRoot":"","sources":["revise-chain-info.js"],"names":[],"mappings":"AAeO,mEAHI,eAAe,8BACf;IAAE,OAAO,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;KAAE,CAAA;CAAE,iBAgBrE;AAGM;;;;;;;;;;;;;EAWL;qCAtCiC,aAAa"}
@@ -1,52 +0,0 @@
1
- export function startAutoStakeIt({ consume: { agoricNames, board, chainStorage, chainTimerService, cosmosInterchainService, localchain, startUpgradable, }, installation: { consume: { [contractName]: installation }, }, instance: { produce: { [contractName]: produceInstance }, }, }: BootstrapPowers, { options: { chainInfo, assetInfo } }: {
2
- options: {
3
- chainInfo: Record<string, CosmosChainInfo>;
4
- assetInfo: [Denom, DenomDetail & {
5
- brandKey?: string;
6
- }][];
7
- };
8
- }): Promise<void>;
9
- export function getManifest({ restoreRef }: {
10
- restoreRef: any;
11
- }, { installKeys, options }: {
12
- installKeys: any;
13
- options: any;
14
- }): {
15
- manifest: {
16
- [x: string]: {
17
- consume: {
18
- agoricNames: boolean;
19
- board: boolean;
20
- chainStorage: boolean;
21
- chainTimerService: boolean;
22
- cosmosInterchainService: boolean;
23
- localchain: boolean;
24
- startUpgradable: boolean;
25
- };
26
- installation: {
27
- consume: {
28
- autoAutoStakeIt: boolean;
29
- };
30
- };
31
- instance: {
32
- produce: {
33
- autoAutoStakeIt: boolean;
34
- };
35
- };
36
- };
37
- };
38
- installations: {
39
- autoAutoStakeIt: any;
40
- };
41
- options: any;
42
- };
43
- /**
44
- * @import {AutoStakeItSF} from '@agoric/orchestration/src/examples/auto-stake-it.contract.js';
45
- * @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
46
- */
47
- declare const contractName: "autoAutoStakeIt";
48
- import type { CosmosChainInfo } from '@agoric/orchestration';
49
- import type { Denom } from '@agoric/orchestration';
50
- import type { DenomDetail } from '@agoric/orchestration';
51
- export {};
52
- //# sourceMappingURL=start-auto-stake-it.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start-auto-stake-it.d.ts","sourceRoot":"","sources":["start-auto-stake-it.js"],"names":[],"mappings":"AA4BO,0RARI,eAAe,yCACf;IACN,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;QAC3C,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,EAAE,CAAC;KAC3D,CAAC;CACH,iBAoDH;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BN;AAhGD;;;GAGG;AAEH,4BAAqB,iBAAiB,CAAC;qCAHe,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
@@ -1,73 +0,0 @@
1
- export function startBasicFlows({ consume: { agoricNames, board, chainStorage, chainTimerService, cosmosInterchainService, localchain, startUpgradable, }, installation: { consume: { [contractName]: installation }, }, instance: { produce: { [contractName]: produceInstance }, }, issuer: { consume: { BLD, IST }, }, }: BootstrapPowers & {
2
- installation: {
3
- consume: {
4
- basicFlows: Installation<BasicFlowsSF>;
5
- };
6
- };
7
- instance: {
8
- produce: {
9
- basicFlows: Producer<Instance>;
10
- };
11
- };
12
- issuer: {
13
- consume: {
14
- BLD: Issuer<"nat">;
15
- IST: Issuer<"nat">;
16
- USDC: Issuer<"nat">;
17
- };
18
- };
19
- }, { options: { chainInfo, assetInfo } }: {
20
- options: {
21
- chainInfo: Record<string, CosmosChainInfo>;
22
- assetInfo: [Denom, DenomDetail & {
23
- brandKey?: string;
24
- }][];
25
- };
26
- }): Promise<void>;
27
- export function getManifestForContract({ restoreRef }: {
28
- restoreRef: any;
29
- }, { installKeys, options }: {
30
- installKeys: any;
31
- options: any;
32
- }): {
33
- manifest: {
34
- [x: string]: {
35
- consume: {
36
- agoricNames: boolean;
37
- board: boolean;
38
- chainStorage: boolean;
39
- chainTimerService: boolean;
40
- cosmosInterchainService: boolean;
41
- localchain: boolean;
42
- startUpgradable: boolean;
43
- };
44
- installation: {
45
- consume: {
46
- basicFlows: boolean;
47
- };
48
- };
49
- instance: {
50
- produce: {
51
- basicFlows: boolean;
52
- };
53
- };
54
- issuer: {
55
- consume: {
56
- BLD: boolean;
57
- IST: boolean;
58
- };
59
- };
60
- };
61
- };
62
- installations: {
63
- basicFlows: any;
64
- };
65
- options: any;
66
- };
67
- import type { BasicFlowsSF } from '../examples/basic-flows.contract.js';
68
- declare const contractName: "basicFlows";
69
- import type { CosmosChainInfo } from '@agoric/orchestration';
70
- import type { Denom } from '@agoric/orchestration';
71
- import type { DenomDetail } from '@agoric/orchestration';
72
- export {};
73
- //# sourceMappingURL=start-basic-flows.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start-basic-flows.d.ts","sourceRoot":"","sources":["start-basic-flows.js"],"names":[],"mappings":"AAgDO,6TA1BI,eAAe,GAAG;IACxB,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;SACxC,CAAC;KACH,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;SAChC,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;YACnB,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;SACrB,CAAC;KACH,CAAC;CACH,yCACO;IACN,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;QAC3C,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,EAAE,CAAC;KAC3D,CAAC;CACH,iBAsDH;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCN;kCA9H8B,qCAAqC;AAIpE,4BAAqB,YAAY,CAAC;qCALoB,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
@@ -1,107 +0,0 @@
1
- export function startSendAnywhere({ consume: { agoricNames, board, chainStorage, chainTimerService, cosmosInterchainService, localchain, startUpgradable, }, installation: { consume: { sendAnywhere }, }, instance: { produce: { sendAnywhere: produceInstance }, }, issuer: { consume: { BLD, IST }, }, }: BootstrapPowers & {
2
- installation: {
3
- consume: {
4
- sendAnywhere: Installation<(zcf: ZCF<Record<string, unknown>>, privateArgs: import("@agoric/orchestration").OrchestrationPowers & {
5
- marshaller: Marshaller;
6
- chainInfo?: Record<string, Readonly<{
7
- bech32Prefix?: string;
8
- chainId: string;
9
- connections?: Record<string, import("@agoric/orchestration").IBCConnectionInfo>;
10
- icqEnabled?: boolean;
11
- pfmEnabled?: boolean;
12
- stakingTokens?: Readonly<Array<{
13
- denom: string;
14
- }>>;
15
- icaEnabled?: boolean;
16
- }>>;
17
- assetInfo?: [Denom, DenomDetail & {
18
- brandKey?: string;
19
- }][];
20
- }, baggage: import("@agoric/vat-data").Baggage) => Promise<{
21
- publicFacet: import("@endo/exo").Guarded<{
22
- makeSendInvitation(): Promise<Invitation<import("@agoric/vow").Vow<void>, {
23
- chainName: string;
24
- destAddr: string;
25
- }>>;
26
- }>;
27
- creatorFacet: import("@endo/exo").Guarded<{
28
- registerChain(chainName: string, chainInfo: Readonly<{
29
- bech32Prefix?: string;
30
- chainId: string;
31
- connections?: Record<string, import("@agoric/orchestration").IBCConnectionInfo>;
32
- icqEnabled?: boolean;
33
- pfmEnabled?: boolean;
34
- stakingTokens?: Readonly<Array<{
35
- denom: string;
36
- }>>;
37
- icaEnabled?: boolean;
38
- }>, connectionInfo: import("@agoric/orchestration").IBCConnectionInfo): Promise<void>;
39
- registerAsset(denom: Denom, detail: DenomDetail): Promise<void>;
40
- }>;
41
- }>>;
42
- };
43
- };
44
- instance: {
45
- produce: {
46
- sendAnywhere: Producer<Instance>;
47
- };
48
- };
49
- issuer: {
50
- consume: {
51
- BLD: Issuer<"nat">;
52
- IST: Issuer<"nat">;
53
- };
54
- };
55
- }, { options: { chainInfo, assetInfo } }: {
56
- options: {
57
- chainInfo: Record<string, CosmosChainInfo>;
58
- assetInfo: [Denom, DenomDetail & {
59
- brandKey?: string;
60
- }][];
61
- };
62
- }): Promise<void>;
63
- export function getManifest({ restoreRef }: {
64
- restoreRef: any;
65
- }, { installationRef, options }: {
66
- installationRef: any;
67
- options: any;
68
- }): {
69
- manifest: {
70
- [x: string]: {
71
- consume: {
72
- agoricNames: boolean;
73
- board: boolean;
74
- chainStorage: boolean;
75
- chainTimerService: boolean;
76
- cosmosInterchainService: boolean;
77
- localchain: boolean;
78
- startUpgradable: boolean;
79
- };
80
- installation: {
81
- consume: {
82
- sendAnywhere: boolean;
83
- };
84
- };
85
- instance: {
86
- produce: {
87
- sendAnywhere: boolean;
88
- };
89
- };
90
- issuer: {
91
- consume: {
92
- BLD: boolean;
93
- IST: boolean;
94
- };
95
- };
96
- };
97
- };
98
- installations: {
99
- sendAnywhere: any;
100
- };
101
- options: any;
102
- };
103
- import type { Denom } from '@agoric/orchestration';
104
- import type { DenomDetail } from '@agoric/orchestration';
105
- import type { Installation } from '@agoric/zoe/src/zoeService/utils.js';
106
- import type { CosmosChainInfo } from '@agoric/orchestration';
107
- //# sourceMappingURL=start-send-anywhere.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start-send-anywhere.d.ts","sourceRoot":"","sources":["start-send-anywhere.js"],"names":[],"mappings":"AA2CO,6SAzBI,eAAe,GAAG;IACxB,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,YAAY,EAAE;;;;;;;;;;;;;;4BA6BM,CAAC;;;;;;;;;;;;;;;;;;;;;;;eA7Bc,CAAC;SACrC,CAAC;KACH,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,YAAY,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;SAClC,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;YACnB,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;SACpB,CAAC;KACH,CAAC;CACH,yCACO;IACN,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;QAC3C,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,EAAE,CAAC;KAC3D,CAAC;CACH,iBA2EH;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BN;2BA1IqD,uBAAuB;iCAAvB,uBAAuB;kCAD9C,qCAAqC;qCACd,uBAAuB"}
@@ -1,142 +0,0 @@
1
- export function startStakeAtom({ consume: { agoricNames, board, chainStorage, chainTimerService: timer, cosmosInterchainService, startUpgradable, }, installation: { consume: { stakeIca }, }, instance: { produce: { stakeAtom: produceInstance }, }, }: BootstrapPowers & {
2
- installation: {
3
- consume: {
4
- stakeIca: Installation<(zcf: ZCF<StakeIcaTerms>, privateArgs: {
5
- agoricNames: import("@agoric/internal").Remote<import("@agoric/vats").NameHub>;
6
- cosmosInterchainService: import("../types.js").CosmosInterchainService;
7
- storageNode: StorageNode;
8
- marshaller: Marshaller;
9
- timer: import("@agoric/time").TimerService;
10
- }, baggage: import("@agoric/vat-data").Baggage) => Promise<{
11
- publicFacet: import("@endo/exo").Guarded<{
12
- makeAccount(): Promise<import("@endo/exo").Guarded<{
13
- asContinuingOffer(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
14
- getPublicTopics(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
15
- getAddress(): import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").ChainAddress>;
16
- delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
17
- redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
18
- withdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
19
- getBalance(denom: import("../orchestration-api.js").DenomArg): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount>;
20
- getBalances(): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
21
- send(toAccount: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
22
- sendAll(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): import("@agoric/vow").Vow<void>;
23
- transfer(destination: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<void>;
24
- transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
25
- withdrawRewards(): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
26
- undelegate(delegations: {
27
- amount: import("../orchestration-api.js").AmountArg;
28
- delegator?: import("../orchestration-api.js").ChainAddress;
29
- validator: import("../cosmos-api.js").CosmosValidatorAddress;
30
- }[]): import("@agoric/vow").Vow<void>;
31
- deactivate(): import("@agoric/vow").Vow<void>;
32
- reactivate(): import("@agoric/vow").Vow<void>;
33
- getDelegation(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../cosmos-api.js").CosmosDelegationResponse>>;
34
- getDelegations(): import("@agoric/vow").Vow<{
35
- delegator: {
36
- chainId: string;
37
- value: string;
38
- encoding: "bech32" | "ethereum";
39
- };
40
- validator: {
41
- chainId: string;
42
- value: `${string}valoper${string}`;
43
- encoding: "bech32";
44
- };
45
- amount: {
46
- denom: import("../orchestration-api.js").Denom;
47
- value: bigint;
48
- };
49
- }[]>;
50
- getUnbondingDelegation(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").UnbondingDelegation>>;
51
- getUnbondingDelegations(): import("@agoric/vow").Vow<{
52
- delegatorAddress: string;
53
- validatorAddress: string;
54
- entries: {
55
- creationHeight: bigint;
56
- completionTime: {
57
- seconds: bigint;
58
- nanos: number;
59
- };
60
- initialBalance: string;
61
- balance: string;
62
- }[];
63
- }[]>;
64
- getRedelegations(): import("@agoric/vow").Vow<{
65
- redelegation: {
66
- delegatorAddress: string;
67
- validatorSrcAddress: string;
68
- validatorDstAddress: string;
69
- entries: {
70
- creationHeight: bigint;
71
- completionTime: {
72
- seconds: bigint;
73
- nanos: number;
74
- };
75
- initialBalance: string;
76
- sharesDst: string;
77
- }[];
78
- };
79
- entries: {
80
- redelegationEntry: {
81
- creationHeight: bigint;
82
- completionTime: {
83
- seconds: bigint;
84
- nanos: number;
85
- };
86
- initialBalance: string;
87
- sharesDst: string;
88
- };
89
- balance: string;
90
- }[];
91
- }[]>;
92
- getReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
93
- getRewards(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../cosmos-api.js").CosmosRewardsResponse>>;
94
- executeEncodedTx(msgs: {
95
- $typeUrl?: "/google.protobuf.Any" | string | undefined;
96
- typeUrl: string;
97
- value: string;
98
- }[], opts?: Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> | undefined): import("@agoric/vow").Vow<string>;
99
- }>>;
100
- makeAccountInvitationMaker(): Promise<Invitation<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult, undefined>>;
101
- }>;
102
- }>>;
103
- };
104
- };
105
- }): Promise<void>;
106
- export function getManifestForStakeAtom({ restoreRef }: {
107
- restoreRef: any;
108
- }, { installKeys, ...options }: {
109
- [x: string]: any;
110
- installKeys: any;
111
- }): {
112
- manifest: {
113
- [x: string]: {
114
- consume: {
115
- agoricNames: boolean;
116
- board: boolean;
117
- chainStorage: boolean;
118
- chainTimerService: boolean;
119
- cosmosInterchainService: boolean;
120
- startUpgradable: boolean;
121
- };
122
- installation: {
123
- consume: {
124
- stakeIca: boolean;
125
- };
126
- };
127
- instance: {
128
- produce: {
129
- stakeAtom: boolean;
130
- };
131
- };
132
- };
133
- };
134
- installations: {
135
- stakeIca: any;
136
- };
137
- options: {
138
- [x: string]: any;
139
- };
140
- };
141
- import type { StakeIcaTerms } from '../examples/stake-ica.contract';
142
- //# sourceMappingURL=start-stakeAtom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start-stakeAtom.d.ts","sourceRoot":"","sources":["start-stakeAtom.js"],"names":[],"mappings":"AAyBO,0PAVI,eAAe,GAAG;IACxB,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,QAAQ,EAAE,YAAY,CAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA2D,CAClD,CAAC;SACH,CAAC;KACH,CAAC;CACH,iBA4DH;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BN;mCAzG4C,gCAAgC"}
@@ -1,82 +0,0 @@
1
- export function startStakeBld({ consume: { agoricNames: agoricNamesP, board, chainStorage, chainTimerService: chainTimerServiceP, localchain, startUpgradable, }, installation: { consume: { stakeBld }, }, instance: { produce: { stakeBld: produceInstance }, }, issuer: { consume: { [Stake.symbol]: stakeIssuer }, }, }: BootstrapPowers & {
2
- installation: {
3
- consume: {
4
- stakeBld: Installation<(zcf: ZCF, privateArgs: {
5
- agoricNames: import("@agoric/internal").Remote<import("@agoric/vats").NameHub>;
6
- localchain: import("@agoric/internal").Remote<import("@agoric/vats/src/localchain.js").LocalChain>;
7
- marshaller: Marshaller;
8
- storageNode: StorageNode;
9
- timerService: import("@agoric/time").TimerService;
10
- }, baggage: import("@agoric/vat-data").Baggage) => Promise<{
11
- publicFacet: import("@endo/exo").Guarded<{
12
- makeStakeBldInvitation(): Promise<Invitation<import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>, undefined>>;
13
- makeAccount(): Promise<import("@endo/exo").Guarded<{
14
- asContinuingOffer(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
15
- getBalance(denom: import("../orchestration-api.js").DenomArg): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount>;
16
- getBalances(): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
17
- getPublicTopics(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
18
- delegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<Record<unknown, unknown>>;
19
- undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): import("@agoric/vow").Vow<void | import("@agoric/time").TimestampRecord>;
20
- deposit(payment: globalThis.Payment<"nat">): import("@agoric/vow").Vow<import("@agoric/ertp").NatAmount>;
21
- withdraw(amount: import("@agoric/ertp").NatAmount): import("@agoric/vow").Vow<globalThis.Payment<"nat">>;
22
- executeTx(messages: {
23
- '@type': string;
24
- }[]): import("@agoric/vow").Vow<{
25
- '@type': string;
26
- }[]>;
27
- getAddress(): import("../orchestration-api.js").ChainAddress;
28
- send(toAccount: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
29
- sendAll(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): import("@agoric/vow").Vow<void>;
30
- transfer(destination: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions): import("@agoric/vow").Vow<any>;
31
- transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
32
- sendThenWaitForAck(packetSender: import("@agoric/internal").Remote<import("../exos/packet-tools.js").PacketSender>, opts?: import("../exos/packet-tools.js").PacketOptions | undefined): import("@agoric/async-flow").HostInterface<import("@agoric/vow").Vow<any>>;
33
- matchFirstPacket(args_0?: import("@agoric/vow").EVow<globalThis.Pattern>): import("@agoric/async-flow").HostInterface<import("@agoric/vow").Vow<{
34
- resolver: import("@agoric/vow").VowResolver<any>;
35
- match: import("@agoric/vow").Vow<any>;
36
- }>>;
37
- monitorTransfers(tap: import("@agoric/vats/src/bridge-target.js").TargetApp): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("@agoric/vats/src/bridge-target.js").TargetRegistration>>;
38
- }>>;
39
- makeAccountInvitationMaker(): Promise<Invitation<import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>, undefined>>;
40
- }>;
41
- }>>;
42
- };
43
- };
44
- }): Promise<void>;
45
- export function getManifestForStakeBld({ restoreRef }: {
46
- restoreRef: any;
47
- }, { installKeys }: {
48
- installKeys: any;
49
- }): {
50
- manifest: {
51
- [x: string]: {
52
- consume: {
53
- agoricNames: boolean;
54
- board: boolean;
55
- chainStorage: boolean;
56
- chainTimerService: boolean;
57
- localchain: boolean;
58
- startUpgradable: boolean;
59
- };
60
- installation: {
61
- consume: {
62
- stakeBld: boolean;
63
- };
64
- };
65
- instance: {
66
- produce: {
67
- stakeBld: boolean;
68
- };
69
- };
70
- issuer: {
71
- consume: {
72
- BLD: boolean;
73
- };
74
- };
75
- };
76
- };
77
- installations: {
78
- stakeBld: any;
79
- };
80
- };
81
- import { Stake } from '@agoric/internal/src/tokens.js';
82
- //# sourceMappingURL=start-stakeBld.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start-stakeBld.d.ts","sourceRoot":"","sources":["start-stakeBld.js"],"names":[],"mappings":"AAkBO,6TAVI,eAAe,GAAG;IACxB,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,QAAQ,EAAE,YAAY,CAC9B;;;;;;+BAuCiB,kBACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAxCgE,CACzD,CAAC;SACH,CAAC;KACH,CAAC;CACH,iBAwDH;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BN;sBApGqB,gCAAgC"}
@@ -1,146 +0,0 @@
1
- export function startStakeOsmo({ consume: { agoricNames, board, chainStorage, chainTimerService: timer, cosmosInterchainService, startUpgradable, }, installation: { consume: { stakeIca }, }, instance: { produce: { stakeOsmo: produceInstance }, }, }: BootstrapPowers & {
2
- installation: {
3
- consume: {
4
- stakeIca: Installation<(zcf: ZCF<StakeIcaTerms>, privateArgs: {
5
- agoricNames: import("@agoric/internal").Remote<import("@agoric/vats").NameHub>;
6
- cosmosInterchainService: import("../types.js").CosmosInterchainService;
7
- storageNode: StorageNode;
8
- marshaller: Marshaller;
9
- timer: import("@agoric/time").TimerService;
10
- }, baggage: import("@agoric/vat-data").Baggage) => Promise<{
11
- publicFacet: import("@endo/exo").Guarded<{
12
- makeAccount(): Promise<import("@endo/exo").Guarded<{
13
- asContinuingOffer(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
14
- getPublicTopics(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
15
- getAddress(): import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").ChainAddress>;
16
- delegate(validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
17
- redelegate(srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
18
- withdrawReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
19
- getBalance(denom: import("../orchestration-api.js").DenomArg): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount>;
20
- getBalances(): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
21
- send(toAccount: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
22
- sendAll(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): import("@agoric/vow").Vow<void>;
23
- transfer(destination: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<void>;
24
- transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
25
- withdrawRewards(): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
26
- undelegate(delegations: {
27
- amount: import("../orchestration-api.js").AmountArg;
28
- delegator?: import("../orchestration-api.js").ChainAddress;
29
- validator: import("../cosmos-api.js").CosmosValidatorAddress;
30
- }[]): import("@agoric/vow").Vow<void>;
31
- deactivate(): import("@agoric/vow").Vow<void>;
32
- reactivate(): import("@agoric/vow").Vow<void>;
33
- getDelegation(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../cosmos-api.js").CosmosDelegationResponse>>;
34
- getDelegations(): import("@agoric/vow").Vow<{
35
- delegator: {
36
- chainId: string;
37
- value: string;
38
- encoding: "bech32" | "ethereum";
39
- };
40
- validator: {
41
- chainId: string;
42
- value: `${string}valoper${string}`;
43
- encoding: "bech32";
44
- };
45
- amount: {
46
- denom: import("../orchestration-api.js").Denom;
47
- value: bigint;
48
- };
49
- }[]>;
50
- getUnbondingDelegation(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").UnbondingDelegation>>;
51
- getUnbondingDelegations(): import("@agoric/vow").Vow<{
52
- delegatorAddress: string;
53
- validatorAddress: string;
54
- entries: {
55
- creationHeight: bigint;
56
- completionTime: {
57
- seconds: bigint;
58
- nanos: number;
59
- };
60
- initialBalance: string;
61
- balance: string;
62
- }[];
63
- }[]>;
64
- getRedelegations(): import("@agoric/vow").Vow<{
65
- redelegation: {
66
- delegatorAddress: string;
67
- validatorSrcAddress: string;
68
- validatorDstAddress: string;
69
- entries: {
70
- creationHeight: bigint;
71
- completionTime: {
72
- seconds: bigint;
73
- nanos: number;
74
- };
75
- initialBalance: string;
76
- sharesDst: string;
77
- }[];
78
- };
79
- entries: {
80
- redelegationEntry: {
81
- creationHeight: bigint;
82
- completionTime: {
83
- seconds: bigint;
84
- nanos: number;
85
- };
86
- initialBalance: string;
87
- sharesDst: string;
88
- };
89
- balance: string;
90
- }[];
91
- }[]>;
92
- getReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
93
- getRewards(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../cosmos-api.js").CosmosRewardsResponse>>;
94
- executeEncodedTx(msgs: {
95
- $typeUrl?: "/google.protobuf.Any" | string | undefined;
96
- typeUrl: string;
97
- value: string;
98
- }[], opts?: Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> | undefined): import("@agoric/vow").Vow<string>;
99
- }>>;
100
- makeAccountInvitationMaker(): Promise<Invitation<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult, undefined>>;
101
- }>;
102
- }>>;
103
- };
104
- };
105
- instance: {
106
- produce: {
107
- stakeOsmo: any;
108
- };
109
- };
110
- }): Promise<void>;
111
- export function getManifestForStakeOsmo({ restoreRef }: {
112
- restoreRef: any;
113
- }, { installKeys, ...options }: {
114
- [x: string]: any;
115
- installKeys: any;
116
- }): {
117
- manifest: {
118
- [x: string]: {
119
- consume: {
120
- agoricNames: boolean;
121
- board: boolean;
122
- chainStorage: boolean;
123
- chainTimerService: boolean;
124
- cosmosInterchainService: boolean;
125
- startUpgradable: boolean;
126
- };
127
- installation: {
128
- consume: {
129
- stakeIca: boolean;
130
- };
131
- };
132
- instance: {
133
- produce: {
134
- stakeOsmo: boolean;
135
- };
136
- };
137
- };
138
- };
139
- installations: {
140
- stakeIca: any;
141
- };
142
- options: {
143
- [x: string]: any;
144
- };
145
- };
146
- //# sourceMappingURL=start-stakeOsmo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start-stakeOsmo.d.ts","sourceRoot":"","sources":["start-stakeOsmo.js"],"names":[],"mappings":"AA8BO,0PAfI,eAAe,GAAG;IACxB,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,QAAQ,EAAE,YAAY,CAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA2D,CAClD,CAAC;SACH,CAAC;KACH,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,SAAS,EAAE,GAAG,CAAC;SAChB,CAAC;KACH,CAAC;CACH,iBA4DH;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BN"}