@agoric/orchestration 0.1.1-dev-803e785.0.803e785 → 0.1.1-dev-6727d47.0.6727d47
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 +16 -16
- package/src/examples/auto-stake-it.contract.d.ts +2 -2
- package/src/examples/send-anywhere.flows.d.ts +1 -1
- package/src/examples/send-anywhere.flows.js +1 -1
- package/src/examples/stake-bld.contract.d.ts +10 -10
- package/src/examples/staking-combinations.contract.d.ts +2 -2
- package/src/exos/cosmos-orchestration-account.d.ts +30 -30
- package/src/exos/local-chain-facade.d.ts +124 -124
- package/src/exos/orchestrator.d.ts +1180 -1180
- package/src/exos/remote-chain-facade.d.ts +125 -125
- package/src/stubs/viem-typedData.js +1 -1
- package/src/utils/permit2/signatureTransfer.d.ts +1 -1
- package/src/utils/permit2/signatureTransferHelpers.d.ts +2 -2
- package/src/utils/permit2/signatureTransferHelpers.js +1 -1
- package/src/utils/permit2.d.ts +2 -2
- package/src/utils/permit2.js +2 -2
- package/src/utils/start-helper.d.ts +20 -20
- package/src/utils/viem.d.ts +2 -2
- package/src/utils/viem.js +2 -2
- package/src/vat-orchestration.d.ts +4 -4
- package/tools/make-test-address.d.ts +1 -1
- package/tools/make-test-address.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-6727d47.0.6727d47",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
39
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
40
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
41
|
-
"@agoric/internal": "0.3.3-dev-
|
|
42
|
-
"@agoric/network": "0.1.1-dev-
|
|
43
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
44
|
-
"@agoric/store": "0.9.3-dev-
|
|
45
|
-
"@agoric/time": "0.3.3-dev-
|
|
46
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
47
|
-
"@agoric/vats": "0.15.2-dev-
|
|
48
|
-
"@agoric/vow": "0.1.1-dev-
|
|
49
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
50
|
-
"@agoric/zone": "0.2.3-dev-
|
|
38
|
+
"@agoric/async-flow": "0.1.1-dev-6727d47.0.6727d47",
|
|
39
|
+
"@agoric/cosmic-proto": "0.4.1-dev-6727d47.0.6727d47",
|
|
40
|
+
"@agoric/ertp": "0.16.3-dev-6727d47.0.6727d47",
|
|
41
|
+
"@agoric/internal": "0.3.3-dev-6727d47.0.6727d47",
|
|
42
|
+
"@agoric/network": "0.1.1-dev-6727d47.0.6727d47",
|
|
43
|
+
"@agoric/notifier": "0.6.3-dev-6727d47.0.6727d47",
|
|
44
|
+
"@agoric/store": "0.9.3-dev-6727d47.0.6727d47",
|
|
45
|
+
"@agoric/time": "0.3.3-dev-6727d47.0.6727d47",
|
|
46
|
+
"@agoric/vat-data": "0.5.3-dev-6727d47.0.6727d47",
|
|
47
|
+
"@agoric/vats": "0.15.2-dev-6727d47.0.6727d47",
|
|
48
|
+
"@agoric/vow": "0.1.1-dev-6727d47.0.6727d47",
|
|
49
|
+
"@agoric/zoe": "0.26.3-dev-6727d47.0.6727d47",
|
|
50
|
+
"@agoric/zone": "0.2.3-dev-6727d47.0.6727d47",
|
|
51
51
|
"@cosmjs/encoding": "^0.36.0",
|
|
52
52
|
"@endo/base64": "^1.0.12",
|
|
53
53
|
"@endo/errors": "^1.2.13",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"bs58": "^6.0.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
63
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-6727d47.0.6727d47",
|
|
64
64
|
"@chain-registry/client": "^1.53.194",
|
|
65
65
|
"@cosmjs/amino": "^0.36.0",
|
|
66
66
|
"@cosmjs/proto-signing": "^0.36.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"typeCoverage": {
|
|
106
106
|
"atLeast": 97.63
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "6727d47e6970be1f992aa904cd964abdfef00a83"
|
|
109
109
|
}
|
|
@@ -15,11 +15,11 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
15
15
|
}>;
|
|
16
16
|
}>>, {
|
|
17
17
|
chainName: string;
|
|
18
|
-
validator: import("../cosmos-api.
|
|
18
|
+
validator: import("../cosmos-api.js").CosmosValidatorAddress;
|
|
19
19
|
}>>;
|
|
20
20
|
}>;
|
|
21
21
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
22
|
-
registerChain(chainName: string, chainInfo: import("../orchestration-api.
|
|
22
|
+
registerChain(chainName: string, chainInfo: import("../orchestration-api.js").ChainInfo, ibcConnectionInfo?: import("../cosmos-api.js").IBCConnectionInfo): Promise<void>;
|
|
23
23
|
registerAsset(denom: Denom, detail: DenomDetail): Promise<void>;
|
|
24
24
|
}>;
|
|
25
25
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function makeNobleAccount(orch: Orchestrator): Promise<import("../orchestration-api.
|
|
1
|
+
export function makeNobleAccount(orch: Orchestrator): Promise<import("../orchestration-api.js").OrchestrationAccount<{
|
|
2
2
|
readonly bech32Prefix: "noble";
|
|
3
3
|
readonly chainId: "noble-1";
|
|
4
4
|
readonly icqEnabled: false;
|
|
@@ -10,7 +10,7 @@ import { M, mustMatch } from '@endo/patterns';
|
|
|
10
10
|
* @import {LocalOrchestrationAccountKit} from '../exos/local-orchestration-account.js';
|
|
11
11
|
* @import {ZoeTools} from '../utils/zoe-tools.js';
|
|
12
12
|
* @import {Orchestrator, OrchestrationFlow, LocalAccountMethods, ChainHub, ChainInfo} from '../types.js';
|
|
13
|
-
* @import {AccountIdArg} from '../orchestration-api.
|
|
13
|
+
* @import {AccountIdArg} from '../orchestration-api.js';
|
|
14
14
|
* @import {CosmosOrchestrationAccountKit} from '../exos/cosmos-orchestration-account.js';
|
|
15
15
|
*/
|
|
16
16
|
|
|
@@ -87,12 +87,12 @@ export function start(zcf: ZCF, privateArgs: {
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
}>;
|
|
90
|
-
getBalance(denom: import("../orchestration-api.
|
|
91
|
-
denom: import("../orchestration-api.
|
|
90
|
+
getBalance(denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined): import("@agoric/vow").Vow<{
|
|
91
|
+
denom: import("../orchestration-api.js").Denom;
|
|
92
92
|
value: bigint;
|
|
93
93
|
}>;
|
|
94
|
-
getBalances(opts?: import("../orchestration-api.
|
|
95
|
-
denom: import("../orchestration-api.
|
|
94
|
+
getBalances(opts?: import("../orchestration-api.js").QuerierOptions | undefined): import("@agoric/vow").Vow<{
|
|
95
|
+
denom: import("../orchestration-api.js").Denom;
|
|
96
96
|
value: bigint;
|
|
97
97
|
}[]>;
|
|
98
98
|
getPublicTopics(): import("@agoric/vow").Vow<{
|
|
@@ -141,13 +141,13 @@ export function start(zcf: ZCF, privateArgs: {
|
|
|
141
141
|
}[]): import("@agoric/vow").Vow<{
|
|
142
142
|
'@type': string;
|
|
143
143
|
}[]>;
|
|
144
|
-
getAddress(): import("../orchestration-api.
|
|
145
|
-
send(toAccount: import("../orchestration-api.
|
|
146
|
-
sendAll(toAccount: import("../orchestration-api.
|
|
147
|
-
transfer(destination: import("../orchestration-api.
|
|
144
|
+
getAddress(): import("../orchestration-api.js").CosmosChainAddress;
|
|
145
|
+
send(toAccount: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined): import("@agoric/vow").Vow<{}>;
|
|
146
|
+
sendAll(toAccount: import("../orchestration-api.js").CosmosChainAddress, amounts: import("../orchestration-api.js").AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined): import("@agoric/vow").Vow<{}>;
|
|
147
|
+
transfer(destination: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<{}>;
|
|
148
148
|
parseInboundTransfer(packet: Record<string, any>): import("@agoric/vow").Vow<{
|
|
149
149
|
amount: {
|
|
150
|
-
denom: import("../orchestration-api.
|
|
150
|
+
denom: import("../orchestration-api.js").Denom;
|
|
151
151
|
value: bigint;
|
|
152
152
|
};
|
|
153
153
|
fromAccount: string;
|
|
@@ -156,7 +156,7 @@ export function start(zcf: ZCF, privateArgs: {
|
|
|
156
156
|
[x: string]: any;
|
|
157
157
|
};
|
|
158
158
|
}>;
|
|
159
|
-
transferSteps(amount: import("../orchestration-api.
|
|
159
|
+
transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<{}>;
|
|
160
160
|
sendThenWaitForAck(packetSender: Remote<import("../exos/packet-tools.js").PacketSender>, opts?: import("../exos/packet-tools.js").PacketOptions | undefined): import("@agoric/vow").Vow<string>;
|
|
161
161
|
matchFirstPacket(args_0?: import("@agoric/vow").EVow<import("@endo/patterns").Pattern>): import("@agoric/vow").Vow<{
|
|
162
162
|
resolver: {
|
|
@@ -7,8 +7,8 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
7
7
|
}>>;
|
|
8
8
|
}>;
|
|
9
9
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
10
|
-
registerChain(chainName: string, chainInfo: import("../orchestration-api.
|
|
11
|
-
registerAsset(denom: import("../orchestration-api.
|
|
10
|
+
registerChain(chainName: string, chainInfo: import("../orchestration-api.js").ChainInfo, ibcConnectionInfo?: import("../cosmos-api.js").IBCConnectionInfo): Promise<void>;
|
|
11
|
+
registerAsset(denom: import("../orchestration-api.js").Denom, detail: import("../types.js").DenomDetail): Promise<void>;
|
|
12
12
|
}>;
|
|
13
13
|
}>;
|
|
14
14
|
import type { ZCF } from '@agoric/zoe';
|
|
@@ -99,7 +99,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
99
99
|
/**
|
|
100
100
|
* @param {JsonSafe<ResponseQuery>[]} results
|
|
101
101
|
*/
|
|
102
|
-
onFulfilled([result]: JsonSafe<ResponseQuery>[]): import("../orchestration-api.
|
|
102
|
+
onFulfilled([result]: JsonSafe<ResponseQuery>[]): import("../orchestration-api.js").DenomAmount;
|
|
103
103
|
};
|
|
104
104
|
delegationQueryWatcher: {
|
|
105
105
|
/**
|
|
@@ -137,7 +137,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
137
137
|
/**
|
|
138
138
|
* @param {JsonSafe<ResponseQuery>[]} results
|
|
139
139
|
*/
|
|
140
|
-
onFulfilled([result]: JsonSafe<ResponseQuery>[]): import("../orchestration-api.
|
|
140
|
+
onFulfilled([result]: JsonSafe<ResponseQuery>[]): import("../orchestration-api.js").DenomAmount[];
|
|
141
141
|
};
|
|
142
142
|
rewardsQueryWatcher: {
|
|
143
143
|
/**
|
|
@@ -150,7 +150,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
150
150
|
/**
|
|
151
151
|
* @param {JsonSafe<ResponseQuery>[]} results
|
|
152
152
|
*/
|
|
153
|
-
onFulfilled([result]: JsonSafe<ResponseQuery>[]): import("../orchestration-api.
|
|
153
|
+
onFulfilled([result]: JsonSafe<ResponseQuery>[]): import("../orchestration-api.js").DenomAmount[];
|
|
154
154
|
};
|
|
155
155
|
decodedUndelegateWatcher: {
|
|
156
156
|
/**
|
|
@@ -173,7 +173,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
173
173
|
/** @param {{ amount: Coin[] }} response */
|
|
174
174
|
onFulfilled(response: {
|
|
175
175
|
amount: Coin[];
|
|
176
|
-
}): import("../orchestration-api.
|
|
176
|
+
}): import("../orchestration-api.js").DenomAmount[];
|
|
177
177
|
};
|
|
178
178
|
/**
|
|
179
179
|
* Decode responses based on the typeUrls of the original requests.
|
|
@@ -237,7 +237,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
237
237
|
Redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Promise<globalThis.Invitation<Vow<{}>, undefined>>;
|
|
238
238
|
/** @param {CosmosValidatorAddress} validator */
|
|
239
239
|
WithdrawReward(validator: CosmosValidatorAddress): Promise<globalThis.Invitation<Vow<{
|
|
240
|
-
denom: import("../orchestration-api.
|
|
240
|
+
denom: import("../orchestration-api.js").Denom;
|
|
241
241
|
value: bigint;
|
|
242
242
|
}[]>, undefined>>;
|
|
243
243
|
/**
|
|
@@ -343,29 +343,29 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
343
343
|
}>;
|
|
344
344
|
getAddress(): {
|
|
345
345
|
chainId: string;
|
|
346
|
-
value: import("../cosmos-api.
|
|
346
|
+
value: import("../cosmos-api.js").Bech32Address;
|
|
347
347
|
encoding: "bech32";
|
|
348
348
|
};
|
|
349
349
|
delegate(validator: CosmosValidatorAddress, amount: AmountArg, opts?: CosmosActionOptions | undefined): Vow<{}>;
|
|
350
350
|
redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg, opts?: CosmosActionOptions | undefined): Vow<{}>;
|
|
351
351
|
withdrawReward(validator: CosmosValidatorAddress, opts?: CosmosActionOptions | undefined): Vow<{
|
|
352
|
-
denom: import("../orchestration-api.
|
|
352
|
+
denom: import("../orchestration-api.js").Denom;
|
|
353
353
|
value: bigint;
|
|
354
354
|
}[]>;
|
|
355
|
-
getBalance(denom: import("../orchestration-api.
|
|
356
|
-
denom: import("../orchestration-api.
|
|
355
|
+
getBalance(denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined): Vow<{
|
|
356
|
+
denom: import("../orchestration-api.js").Denom;
|
|
357
357
|
value: bigint;
|
|
358
358
|
}>;
|
|
359
|
-
getBalances(opts?: import("../orchestration-api.
|
|
360
|
-
denom: import("../orchestration-api.
|
|
359
|
+
getBalances(opts?: import("../orchestration-api.js").QuerierOptions | undefined): Vow<{
|
|
360
|
+
denom: import("../orchestration-api.js").Denom;
|
|
361
361
|
value: bigint;
|
|
362
362
|
}[]>;
|
|
363
|
-
send(toAccount: AccountIdArg, amount: AmountArg, opts?: import("../orchestration-api.
|
|
364
|
-
sendAll(toAccount: CosmosChainAddress, amounts: AmountArg[], opts?: import("../orchestration-api.
|
|
363
|
+
send(toAccount: AccountIdArg, amount: AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined): Vow<{}>;
|
|
364
|
+
sendAll(toAccount: CosmosChainAddress, amounts: AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined): Vow<{}>;
|
|
365
365
|
transfer(destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions | undefined): Vow<{}>;
|
|
366
|
-
transferSteps(amount: AmountArg, msg: import("../orchestration-api.
|
|
366
|
+
transferSteps(amount: AmountArg, msg: import("../orchestration-api.js").TransferMsg): Vow<{}>;
|
|
367
367
|
withdrawRewards(opts?: CosmosActionOptions | undefined): Vow<{
|
|
368
|
-
denom: import("../orchestration-api.
|
|
368
|
+
denom: import("../orchestration-api.js").Denom;
|
|
369
369
|
value: bigint;
|
|
370
370
|
}[]>;
|
|
371
371
|
undelegate(delegations: {
|
|
@@ -375,10 +375,10 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
375
375
|
}[], opts?: CosmosActionOptions | undefined): Vow<{}>;
|
|
376
376
|
deactivate(): Vow<void>;
|
|
377
377
|
reactivate(): Vow<void>;
|
|
378
|
-
getDelegation(validator: CosmosValidatorAddress, opts?: import("../cosmos-api.
|
|
378
|
+
getDelegation(validator: CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined): Vow<{
|
|
379
379
|
delegator: {
|
|
380
380
|
chainId: string;
|
|
381
|
-
value: import("../cosmos-api.
|
|
381
|
+
value: import("../cosmos-api.js").Bech32Address;
|
|
382
382
|
encoding: "bech32";
|
|
383
383
|
};
|
|
384
384
|
validator: {
|
|
@@ -484,14 +484,14 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
484
484
|
encoding: "bech32";
|
|
485
485
|
};
|
|
486
486
|
amount: {
|
|
487
|
-
denom: import("../orchestration-api.
|
|
487
|
+
denom: import("../orchestration-api.js").Denom;
|
|
488
488
|
value: bigint;
|
|
489
489
|
};
|
|
490
490
|
}>;
|
|
491
|
-
getDelegations(opts?: import("../cosmos-api.
|
|
491
|
+
getDelegations(opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined): Vow<{
|
|
492
492
|
delegator: {
|
|
493
493
|
chainId: string;
|
|
494
|
-
value: import("../cosmos-api.
|
|
494
|
+
value: import("../cosmos-api.js").Bech32Address;
|
|
495
495
|
encoding: "bech32";
|
|
496
496
|
};
|
|
497
497
|
validator: {
|
|
@@ -597,11 +597,11 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
597
597
|
encoding: "bech32";
|
|
598
598
|
};
|
|
599
599
|
amount: {
|
|
600
|
-
denom: import("../orchestration-api.
|
|
600
|
+
denom: import("../orchestration-api.js").Denom;
|
|
601
601
|
value: bigint;
|
|
602
602
|
};
|
|
603
603
|
}[]>;
|
|
604
|
-
getUnbondingDelegation(validator: CosmosValidatorAddress, opts?: import("../cosmos-api.
|
|
604
|
+
getUnbondingDelegation(validator: CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined): Vow<{
|
|
605
605
|
delegatorAddress: string;
|
|
606
606
|
validatorAddress: string;
|
|
607
607
|
entries: {
|
|
@@ -616,7 +616,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
616
616
|
unbondingOnHoldRefCount: bigint;
|
|
617
617
|
}[];
|
|
618
618
|
}>;
|
|
619
|
-
getUnbondingDelegations(opts?: import("../cosmos-api.
|
|
619
|
+
getUnbondingDelegations(opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined): Vow<{
|
|
620
620
|
delegatorAddress: string;
|
|
621
621
|
validatorAddress: string;
|
|
622
622
|
entries: {
|
|
@@ -631,7 +631,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
631
631
|
unbondingOnHoldRefCount: bigint;
|
|
632
632
|
}[];
|
|
633
633
|
}[]>;
|
|
634
|
-
getRedelegations(opts?: import("../cosmos-api.
|
|
634
|
+
getRedelegations(opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined): Vow<{
|
|
635
635
|
redelegation: {
|
|
636
636
|
delegatorAddress: string;
|
|
637
637
|
validatorSrcAddress: string;
|
|
@@ -663,11 +663,11 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
663
663
|
balance: string;
|
|
664
664
|
}[];
|
|
665
665
|
}[]>;
|
|
666
|
-
getReward(validator: CosmosValidatorAddress, opts?: import("../cosmos-api.
|
|
667
|
-
denom: import("../orchestration-api.
|
|
666
|
+
getReward(validator: CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined): Vow<{
|
|
667
|
+
denom: import("../orchestration-api.js").Denom;
|
|
668
668
|
value: bigint;
|
|
669
669
|
}[]>;
|
|
670
|
-
getRewards(opts?: import("../cosmos-api.
|
|
670
|
+
getRewards(opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined): Vow<{
|
|
671
671
|
rewards: {
|
|
672
672
|
validator: {
|
|
673
673
|
chainId: string;
|
|
@@ -772,12 +772,12 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
772
772
|
encoding: "bech32";
|
|
773
773
|
};
|
|
774
774
|
reward: {
|
|
775
|
-
denom: import("../orchestration-api.
|
|
775
|
+
denom: import("../orchestration-api.js").Denom;
|
|
776
776
|
value: bigint;
|
|
777
777
|
}[];
|
|
778
778
|
}[];
|
|
779
779
|
total: {
|
|
780
|
-
denom: import("../orchestration-api.
|
|
780
|
+
denom: import("../orchestration-api.js").Denom;
|
|
781
781
|
value: bigint;
|
|
782
782
|
}[];
|
|
783
783
|
}>;
|
|
@@ -879,7 +879,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
879
879
|
/** @deprecated only used before executeTxProto3 */
|
|
880
880
|
withdrawRewardWatcher: {
|
|
881
881
|
/** @param {string} result */
|
|
882
|
-
onFulfilled(result: string): import("../orchestration-api.
|
|
882
|
+
onFulfilled(result: string): import("../orchestration-api.js").DenomAmount[];
|
|
883
883
|
};
|
|
884
884
|
}>;
|
|
885
885
|
export function prepareCosmosOrchestrationAccount(zone: Zone, { chainHub, makeProgressTracker, makeRecorderKit, timerService, vowTools, zcf, }: {
|