@agoric/orchestration 0.3.0-u23.0 → 0.3.0-u23.1

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 (170) hide show
  1. package/index.d.ts +9 -0
  2. package/package.json +15 -15
  3. package/src/axelar-types.d.ts +53 -0
  4. package/src/axelar-types.d.ts.map +1 -0
  5. package/src/cctp-chain-info.d.ts +65 -0
  6. package/src/cctp-chain-info.d.ts.map +1 -0
  7. package/src/chain-capabilities.d.ts +12 -0
  8. package/src/chain-capabilities.d.ts.map +1 -0
  9. package/src/chain-info.d.ts +10267 -0
  10. package/src/chain-info.d.ts.map +1 -0
  11. package/src/cosmos-api.d.ts +437 -0
  12. package/src/cosmos-api.d.ts.map +1 -0
  13. package/src/ethereum-api.d.ts +9 -0
  14. package/src/ethereum-api.d.ts.map +1 -0
  15. package/src/examples/auto-stake-it-tap-kit.d.ts +50 -0
  16. package/src/examples/auto-stake-it-tap-kit.d.ts.map +1 -0
  17. package/src/examples/auto-stake-it.contract.d.ts +34 -0
  18. package/src/examples/auto-stake-it.contract.d.ts.map +1 -0
  19. package/src/examples/auto-stake-it.flows.d.ts +24 -0
  20. package/src/examples/auto-stake-it.flows.d.ts.map +1 -0
  21. package/src/examples/axelar-gmp-account-kit.d.ts +80 -0
  22. package/src/examples/axelar-gmp-account-kit.d.ts.map +1 -0
  23. package/src/examples/axelar-gmp.contract.d.ts +52 -0
  24. package/src/examples/axelar-gmp.contract.d.ts.map +1 -0
  25. package/src/examples/axelar-gmp.flows.d.ts +21 -0
  26. package/src/examples/axelar-gmp.flows.d.ts.map +1 -0
  27. package/src/examples/basic-flows.contract.d.ts +32 -0
  28. package/src/examples/basic-flows.contract.d.ts.map +1 -0
  29. package/src/examples/basic-flows.flows.d.ts +20 -0
  30. package/src/examples/basic-flows.flows.d.ts.map +1 -0
  31. package/src/examples/send-anywhere.contract.d.ts +60 -0
  32. package/src/examples/send-anywhere.contract.d.ts.map +1 -0
  33. package/src/examples/send-anywhere.flows.d.ts +576 -0
  34. package/src/examples/send-anywhere.flows.d.ts.map +1 -0
  35. package/src/examples/shared.flows.d.ts +4 -0
  36. package/src/examples/shared.flows.d.ts.map +1 -0
  37. package/src/examples/stake-bld.contract.d.ts +237 -0
  38. package/src/examples/stake-bld.contract.d.ts.map +1 -0
  39. package/src/examples/stake-ica.contract.d.ts +573 -0
  40. package/src/examples/stake-ica.contract.d.ts.map +1 -0
  41. package/src/examples/staking-combinations.contract.d.ts +19 -0
  42. package/src/examples/staking-combinations.contract.d.ts.map +1 -0
  43. package/src/examples/staking-combinations.flows.d.ts +32 -0
  44. package/src/examples/staking-combinations.flows.d.ts.map +1 -0
  45. package/src/examples/swap-anything.contract.d.ts +55 -0
  46. package/src/examples/swap-anything.contract.d.ts.map +1 -0
  47. package/src/examples/swap-anything.flows.d.ts +32 -0
  48. package/src/examples/swap-anything.flows.d.ts.map +1 -0
  49. package/src/examples/swap.contract.d.ts +56 -0
  50. package/src/examples/swap.contract.d.ts.map +1 -0
  51. package/src/examples/swap.flows.d.ts +12 -0
  52. package/src/examples/swap.flows.d.ts.map +1 -0
  53. package/src/examples/unbond.contract.d.ts +21 -0
  54. package/src/examples/unbond.contract.d.ts.map +1 -0
  55. package/src/examples/unbond.flows.d.ts +6 -0
  56. package/src/examples/unbond.flows.d.ts.map +1 -0
  57. package/src/exos/chain-hub-admin.d.ts +27 -0
  58. package/src/exos/chain-hub-admin.d.ts.map +1 -0
  59. package/src/exos/chain-hub.d.ts +225 -0
  60. package/src/exos/chain-hub.d.ts.map +1 -0
  61. package/src/exos/combine-invitation-makers.d.ts +7 -0
  62. package/src/exos/combine-invitation-makers.d.ts.map +1 -0
  63. package/src/exos/cosmos-interchain-service.d.ts +49 -0
  64. package/src/exos/cosmos-interchain-service.d.ts.map +1 -0
  65. package/src/exos/cosmos-orchestration-account.d.ts +950 -0
  66. package/src/exos/cosmos-orchestration-account.d.ts.map +1 -0
  67. package/src/exos/exo-interfaces.d.ts +27 -0
  68. package/src/exos/exo-interfaces.d.ts.map +1 -0
  69. package/src/exos/ibc-packet.d.ts +101 -0
  70. package/src/exos/ibc-packet.d.ts.map +1 -0
  71. package/src/exos/ica-account-kit.d.ts +98 -0
  72. package/src/exos/ica-account-kit.d.ts.map +1 -0
  73. package/src/exos/icq-connection-kit.d.ts +67 -0
  74. package/src/exos/icq-connection-kit.d.ts.map +1 -0
  75. package/src/exos/local-chain-facade.d.ts +1587 -0
  76. package/src/exos/local-chain-facade.d.ts.map +1 -0
  77. package/src/exos/local-orchestration-account.d.ts +405 -0
  78. package/src/exos/local-orchestration-account.d.ts.map +1 -0
  79. package/src/exos/orchestrator.d.ts +35857 -0
  80. package/src/exos/orchestrator.d.ts.map +1 -0
  81. package/src/exos/packet-tools.d.ts +63 -0
  82. package/src/exos/packet-tools.d.ts.map +1 -0
  83. package/src/exos/portfolio-holder-kit.d.ts +154 -0
  84. package/src/exos/portfolio-holder-kit.d.ts.map +1 -0
  85. package/src/exos/remote-chain-facade.d.ts +1549 -0
  86. package/src/exos/remote-chain-facade.d.ts.map +1 -0
  87. package/src/facade.d.ts +33 -0
  88. package/src/facade.d.ts.map +1 -0
  89. package/src/fetched-chain-info.d.ts +10275 -0
  90. package/src/fetched-chain-info.d.ts.map +1 -0
  91. package/src/fixtures/query-flows.contract.d.ts +33 -0
  92. package/src/fixtures/query-flows.contract.d.ts.map +1 -0
  93. package/src/fixtures/query-flows.flows.d.ts +20 -0
  94. package/src/fixtures/query-flows.flows.d.ts.map +1 -0
  95. package/src/orchestration-api.d.ts +315 -0
  96. package/src/orchestration-api.d.ts.map +1 -0
  97. package/src/typeGuards.d.ts +163 -0
  98. package/src/typeGuards.d.ts.map +1 -0
  99. package/src/types.d.ts +25 -0
  100. package/src/types.d.ts.map +1 -0
  101. package/src/utils/abitype.d.ts +6 -0
  102. package/src/utils/abitype.d.ts.map +1 -0
  103. package/src/utils/address.d.ts +44 -0
  104. package/src/utils/address.d.ts.map +1 -0
  105. package/src/utils/agd-lib.d.ts +58 -0
  106. package/src/utils/agd-lib.d.ts.map +1 -0
  107. package/src/utils/amounts.d.ts +11 -0
  108. package/src/utils/amounts.d.ts.map +1 -0
  109. package/src/utils/asset.d.ts +6 -0
  110. package/src/utils/asset.d.ts.map +1 -0
  111. package/src/utils/axelar-static-config.d.ts +34 -0
  112. package/src/utils/axelar-static-config.d.ts.map +1 -0
  113. package/src/utils/chain-hub-helper.d.ts +14 -0
  114. package/src/utils/chain-hub-helper.d.ts.map +1 -0
  115. package/src/utils/chain-info.d.ts +5 -0
  116. package/src/utils/chain-info.d.ts.map +1 -0
  117. package/src/utils/codecs.d.ts +145 -0
  118. package/src/utils/codecs.d.ts.map +1 -0
  119. package/src/utils/cosmos.d.ts +61 -0
  120. package/src/utils/cosmos.d.ts.map +1 -0
  121. package/src/utils/denomHash.d.ts +7 -0
  122. package/src/utils/denomHash.d.ts.map +1 -0
  123. package/src/utils/exo-helpers.d.ts +156 -0
  124. package/src/utils/exo-helpers.d.ts.map +1 -0
  125. package/src/utils/gmp.d.ts +30 -0
  126. package/src/utils/gmp.d.ts.map +1 -0
  127. package/src/utils/orc.d.ts +17 -0
  128. package/src/utils/orc.d.ts.map +1 -0
  129. package/src/utils/orchestrationAccount.d.ts +91 -0
  130. package/src/utils/orchestrationAccount.d.ts.map +1 -0
  131. package/src/utils/packet.d.ts +57 -0
  132. package/src/utils/packet.d.ts.map +1 -0
  133. package/src/utils/permit2/signatureTransfer.d.ts +221 -0
  134. package/src/utils/permit2/signatureTransfer.d.ts.map +1 -0
  135. package/src/utils/permit2/signatureTransferHelpers.d.ts +334 -0
  136. package/src/utils/permit2/signatureTransferHelpers.d.ts.map +1 -0
  137. package/src/utils/permit2.d.ts +11 -0
  138. package/src/utils/permit2.d.ts.map +1 -0
  139. package/src/utils/progress.d.ts +41 -0
  140. package/src/utils/progress.d.ts.map +1 -0
  141. package/src/utils/registry.d.ts +6 -0
  142. package/src/utils/registry.d.ts.map +1 -0
  143. package/src/utils/start-helper.d.ts +129 -0
  144. package/src/utils/start-helper.d.ts.map +1 -0
  145. package/src/utils/time.d.ts +38 -0
  146. package/src/utils/time.d.ts.map +1 -0
  147. package/src/utils/viem-utils/hashTypedData.d.ts +21 -0
  148. package/src/utils/viem-utils/hashTypedData.d.ts.map +1 -0
  149. package/src/utils/viem-utils/types.d.ts +6 -0
  150. package/src/utils/viem-utils/types.d.ts.map +1 -0
  151. package/src/utils/viem.d.ts +11 -0
  152. package/src/utils/viem.d.ts.map +1 -0
  153. package/src/utils/zcf-tools.d.ts +19 -0
  154. package/src/utils/zcf-tools.d.ts.map +1 -0
  155. package/src/utils/zoe-tools.d.ts +19 -0
  156. package/src/utils/zoe-tools.d.ts.map +1 -0
  157. package/src/vat-orchestration.d.ts +21 -0
  158. package/src/vat-orchestration.d.ts.map +1 -0
  159. package/tools/contract-tests.d.ts +1832 -0
  160. package/tools/contract-tests.d.ts.map +1 -0
  161. package/tools/ibc-mock-fixtures.d.ts +49 -0
  162. package/tools/ibc-mock-fixtures.d.ts.map +1 -0
  163. package/tools/ibc-mocks.d.ts +168 -0
  164. package/tools/ibc-mocks.d.ts.map +1 -0
  165. package/tools/make-test-address.d.ts +3 -0
  166. package/tools/make-test-address.d.ts.map +1 -0
  167. package/tools/network-fakes.d.ts +143 -0
  168. package/tools/network-fakes.d.ts.map +1 -0
  169. package/tools/protobuf-decoder.d.ts +19 -0
  170. package/tools/protobuf-decoder.d.ts.map +1 -0
@@ -0,0 +1,1549 @@
1
+ export function prepareRemoteChainFacade(zone: Zone, powers: RemoteChainFacadePowers): (remoteChainInfo: ChainInfo, connectionInfo?: IBCConnectionInfo | undefined) => import("@endo/exo").Guarded<{
2
+ getChainInfo(): Vow<any>;
3
+ makeAccount(opts?: import("../orchestration-api.js").OrchestrationOptions | undefined): Vow<{
4
+ getAddress: () => {
5
+ chainId: string;
6
+ value: import("../cosmos-api.js").Bech32Address;
7
+ encoding: "bech32";
8
+ };
9
+ getBalances: (opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
10
+ denom: import("../orchestration-api.js").Denom;
11
+ value: bigint;
12
+ }[]>;
13
+ getBalance: (denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
14
+ denom: import("../orchestration-api.js").Denom;
15
+ value: bigint;
16
+ }>;
17
+ makeProgressTracker: () => import("@endo/exo").Guarded<{
18
+ getCurrentProgressReport(): import("../types.js").ProgressReport;
19
+ update(progressReport: ProgressReport): import("../types.js").ProgressReport;
20
+ finish(): import("../types.js").ProgressReport;
21
+ exposePublicationInternals(): PublicationInternals<ProgressReport>;
22
+ }>;
23
+ send: (toAccount: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
24
+ sendAll: (toAccount: CosmosChainAddress, amounts: import("../orchestration-api.js").AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
25
+ transfer: (destination: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined) => Vow<{}>;
26
+ transferSteps: (amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg) => Vow<{}>;
27
+ asContinuingOffer: () => Vow<{
28
+ invitationMakers: {
29
+ [x: string]: (...args: any[]) => Vow<import("@endo/pass-style").RemotableObject & {
30
+ getAllegedBrand: () => import("@agoric/ertp").Brand<"set">;
31
+ } & {
32
+ readonly "Symbol(tag)": {
33
+ "Set-like value type": import("@agoric/zoe").InvitationDetails;
34
+ };
35
+ }>;
36
+ };
37
+ publicSubscribers: {
38
+ [x: string]: {
39
+ description?: string | undefined;
40
+ subscriber: {
41
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
42
+ value: any;
43
+ updateCount?: bigint | undefined | undefined;
44
+ }>;
45
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
46
+ head: {
47
+ done: true;
48
+ value: any;
49
+ } | {
50
+ done?: false | undefined;
51
+ value: any;
52
+ };
53
+ publishCount: bigint;
54
+ tail: {
55
+ "Symbol(passStyle)": "tagged";
56
+ [Symbol.toStringTag]: "Vow";
57
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
58
+ };
59
+ }>;
60
+ } | {};
61
+ storagePath: string;
62
+ };
63
+ };
64
+ }>;
65
+ getPublicTopics: () => Vow<{
66
+ [x: string]: {
67
+ description?: string | undefined;
68
+ subscriber: {
69
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
70
+ value: {};
71
+ updateCount?: bigint | undefined | undefined;
72
+ }>;
73
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
74
+ head: {
75
+ done: true;
76
+ value: any;
77
+ } | {
78
+ done?: false | undefined;
79
+ value: {};
80
+ };
81
+ publishCount: bigint;
82
+ tail: {
83
+ "Symbol(passStyle)": "tagged";
84
+ [Symbol.toStringTag]: "Vow";
85
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
86
+ };
87
+ }>;
88
+ } | {};
89
+ storagePath: string;
90
+ };
91
+ }>;
92
+ } | {
93
+ getAddress: () => {
94
+ chainId: string;
95
+ value: import("../cosmos-api.js").Bech32Address;
96
+ encoding: "bech32";
97
+ };
98
+ getBalances: (opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
99
+ denom: import("../orchestration-api.js").Denom;
100
+ value: bigint;
101
+ }[]>;
102
+ getBalance: (denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
103
+ denom: import("../orchestration-api.js").Denom;
104
+ value: bigint;
105
+ }>;
106
+ makeProgressTracker: () => import("@endo/exo").Guarded<{
107
+ getCurrentProgressReport(): import("../types.js").ProgressReport;
108
+ update(progressReport: ProgressReport): import("../types.js").ProgressReport;
109
+ finish(): import("../types.js").ProgressReport;
110
+ exposePublicationInternals(): PublicationInternals<ProgressReport>;
111
+ }>;
112
+ send: (toAccount: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
113
+ sendAll: (toAccount: CosmosChainAddress, amounts: import("../orchestration-api.js").AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
114
+ transfer: (destination: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined) => Vow<{}>;
115
+ transferSteps: (amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg) => Vow<{}>;
116
+ asContinuingOffer: () => Vow<{
117
+ invitationMakers: {
118
+ [x: string]: (...args: any[]) => Vow<import("@endo/pass-style").RemotableObject & {
119
+ getAllegedBrand: () => import("@agoric/ertp").Brand<"set">;
120
+ } & {
121
+ readonly "Symbol(tag)": {
122
+ "Set-like value type": import("@agoric/zoe").InvitationDetails;
123
+ };
124
+ }>;
125
+ };
126
+ publicSubscribers: {
127
+ [x: string]: {
128
+ description?: string | undefined;
129
+ subscriber: {
130
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
131
+ value: any;
132
+ updateCount?: bigint | undefined | undefined;
133
+ }>;
134
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
135
+ head: {
136
+ done: true;
137
+ value: any;
138
+ } | {
139
+ done?: false | undefined;
140
+ value: any;
141
+ };
142
+ publishCount: bigint;
143
+ tail: {
144
+ "Symbol(passStyle)": "tagged";
145
+ [Symbol.toStringTag]: "Vow";
146
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
147
+ };
148
+ }>;
149
+ } | {};
150
+ storagePath: string;
151
+ };
152
+ };
153
+ }>;
154
+ getPublicTopics: () => Vow<{
155
+ [x: string]: {
156
+ description?: string | undefined;
157
+ subscriber: {
158
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
159
+ value: {};
160
+ updateCount?: bigint | undefined | undefined;
161
+ }>;
162
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
163
+ head: {
164
+ done: true;
165
+ value: any;
166
+ } | {
167
+ done?: false | undefined;
168
+ value: {};
169
+ };
170
+ publishCount: bigint;
171
+ tail: {
172
+ "Symbol(passStyle)": "tagged";
173
+ [Symbol.toStringTag]: "Vow";
174
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
175
+ };
176
+ }>;
177
+ } | {};
178
+ storagePath: string;
179
+ };
180
+ }>;
181
+ deposit: (payment: import("@agoric/ertp").Payment<"nat">) => Vow<{
182
+ brand: {
183
+ "Symbol(passStyle)": "remotable";
184
+ [Symbol.toStringTag]: string;
185
+ isMyIssuer: (allegedIssuer: import("@endo/far").ERef<import("@agoric/ertp").Issuer<"nat", import("@endo/patterns").Key>>) => Promise<boolean>;
186
+ getAllegedName: () => string;
187
+ getDisplayInfo: () => import("@agoric/ertp").DisplayInfo<"nat">;
188
+ getAmountShape: () => import("@endo/patterns").Pattern;
189
+ };
190
+ value: bigint;
191
+ }>;
192
+ withdraw: (amount: import("@agoric/ertp").NatAmount) => Vow<import("@agoric/ertp").Payment<"nat">>;
193
+ monitorTransfers: (tap: import("@agoric/vats/src/bridge-target.js").TargetApp) => Vow<{
194
+ /**
195
+ * performs unregistration (and sends the
196
+ * corresponding "BRIDGE_TARGET_UNREGISTER" message to the targetHost).
197
+ */
198
+ revoke: () => Vow<void>;
199
+ /**
200
+ * replaces the app associated with the target (but with no corresponding
201
+ * message).
202
+ */
203
+ updateTargetApp: (targetApp: import("@endo/far").ERef<import("@agoric/vats/src/bridge-target.js").TargetApp>) => Vow<void>;
204
+ }>;
205
+ parseInboundTransfer: (packet: Record<string, any>) => Vow<{
206
+ amount: {
207
+ denom: import("../orchestration-api.js").Denom;
208
+ value: bigint;
209
+ };
210
+ fromAccount: string;
211
+ toAccount: string;
212
+ extra: {
213
+ [x: string]: any;
214
+ };
215
+ }>;
216
+ delegate: (validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
217
+ redelegate: (srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
218
+ undelegate: (delegations: {
219
+ amount: import("../orchestration-api.js").AmountArg;
220
+ delegator?: CosmosChainAddress;
221
+ validator: import("../cosmos-api.js").CosmosValidatorAddress;
222
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
223
+ withdrawRewards: (opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{
224
+ denom: import("../orchestration-api.js").Denom;
225
+ value: bigint;
226
+ }[]>;
227
+ withdrawReward: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{
228
+ denom: import("../orchestration-api.js").Denom;
229
+ value: bigint;
230
+ }[]>;
231
+ } | {
232
+ getAddress: () => {
233
+ chainId: string;
234
+ value: import("../cosmos-api.js").Bech32Address;
235
+ encoding: "bech32";
236
+ };
237
+ getBalances: (opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
238
+ denom: import("../orchestration-api.js").Denom;
239
+ value: bigint;
240
+ }[]>;
241
+ getBalance: (denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
242
+ denom: import("../orchestration-api.js").Denom;
243
+ value: bigint;
244
+ }>;
245
+ makeProgressTracker: () => import("@endo/exo").Guarded<{
246
+ getCurrentProgressReport(): import("../types.js").ProgressReport;
247
+ update(progressReport: ProgressReport): import("../types.js").ProgressReport;
248
+ finish(): import("../types.js").ProgressReport;
249
+ exposePublicationInternals(): PublicationInternals<ProgressReport>;
250
+ }>;
251
+ send: (toAccount: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
252
+ sendAll: (toAccount: CosmosChainAddress, amounts: import("../orchestration-api.js").AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
253
+ transfer: (destination: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined) => Vow<{}>;
254
+ transferSteps: (amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg) => Vow<{}>;
255
+ asContinuingOffer: () => Vow<{
256
+ invitationMakers: {
257
+ [x: string]: (...args: any[]) => Vow<import("@endo/pass-style").RemotableObject & {
258
+ getAllegedBrand: () => import("@agoric/ertp").Brand<"set">;
259
+ } & {
260
+ readonly "Symbol(tag)": {
261
+ "Set-like value type": import("@agoric/zoe").InvitationDetails;
262
+ };
263
+ }>;
264
+ };
265
+ publicSubscribers: {
266
+ [x: string]: {
267
+ description?: string | undefined;
268
+ subscriber: {
269
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
270
+ value: any;
271
+ updateCount?: bigint | undefined | undefined;
272
+ }>;
273
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
274
+ head: {
275
+ done: true;
276
+ value: any;
277
+ } | {
278
+ done?: false | undefined;
279
+ value: any;
280
+ };
281
+ publishCount: bigint;
282
+ tail: {
283
+ "Symbol(passStyle)": "tagged";
284
+ [Symbol.toStringTag]: "Vow";
285
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
286
+ };
287
+ }>;
288
+ } | {};
289
+ storagePath: string;
290
+ };
291
+ };
292
+ }>;
293
+ getPublicTopics: () => Vow<{
294
+ [x: string]: {
295
+ description?: string | undefined;
296
+ subscriber: {
297
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
298
+ value: {};
299
+ updateCount?: bigint | undefined | undefined;
300
+ }>;
301
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
302
+ head: {
303
+ done: true;
304
+ value: any;
305
+ } | {
306
+ done?: false | undefined;
307
+ value: {};
308
+ };
309
+ publishCount: bigint;
310
+ tail: {
311
+ "Symbol(passStyle)": "tagged";
312
+ [Symbol.toStringTag]: "Vow";
313
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
314
+ };
315
+ }>;
316
+ } | {};
317
+ storagePath: string;
318
+ };
319
+ }>;
320
+ executeTxProto3: (msgs: readonly {
321
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
322
+ typeUrl: string;
323
+ value: string;
324
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<readonly {}[]>;
325
+ executeTxProto3Undecoded: (msgs: readonly {
326
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
327
+ typeUrl: string;
328
+ value: string;
329
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<string>;
330
+ executeEncodedTx: (msgs: readonly {
331
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
332
+ typeUrl: string;
333
+ value: string;
334
+ }[], opts?: (Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> & Omit<import("../cosmos-api.js").CosmosActionOptions, "txOpts">) | undefined) => Vow<string>;
335
+ deactivate: () => Vow<void>;
336
+ reactivate: () => Vow<void>;
337
+ depositForBurn: (mintRecipient: `${string}:${string}:${string}`, amount: import("../orchestration-api.js").AmountArg, caller?: `${string}:${string}:${string}` | undefined, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
338
+ } | {
339
+ getAddress: () => {
340
+ chainId: string;
341
+ value: import("../cosmos-api.js").Bech32Address;
342
+ encoding: "bech32";
343
+ };
344
+ getBalances: (opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
345
+ denom: import("../orchestration-api.js").Denom;
346
+ value: bigint;
347
+ }[]>;
348
+ getBalance: (denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
349
+ denom: import("../orchestration-api.js").Denom;
350
+ value: bigint;
351
+ }>;
352
+ makeProgressTracker: () => import("@endo/exo").Guarded<{
353
+ getCurrentProgressReport(): import("../types.js").ProgressReport;
354
+ update(progressReport: ProgressReport): import("../types.js").ProgressReport;
355
+ finish(): import("../types.js").ProgressReport;
356
+ exposePublicationInternals(): PublicationInternals<ProgressReport>;
357
+ }>;
358
+ send: (toAccount: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
359
+ sendAll: (toAccount: CosmosChainAddress, amounts: import("../orchestration-api.js").AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
360
+ transfer: (destination: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined) => Vow<{}>;
361
+ transferSteps: (amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg) => Vow<{}>;
362
+ asContinuingOffer: () => Vow<{
363
+ invitationMakers: {
364
+ [x: string]: (...args: any[]) => Vow<import("@endo/pass-style").RemotableObject & {
365
+ getAllegedBrand: () => import("@agoric/ertp").Brand<"set">;
366
+ } & {
367
+ readonly "Symbol(tag)": {
368
+ "Set-like value type": import("@agoric/zoe").InvitationDetails;
369
+ };
370
+ }>;
371
+ };
372
+ publicSubscribers: {
373
+ [x: string]: {
374
+ description?: string | undefined;
375
+ subscriber: {
376
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
377
+ value: any;
378
+ updateCount?: bigint | undefined | undefined;
379
+ }>;
380
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
381
+ head: {
382
+ done: true;
383
+ value: any;
384
+ } | {
385
+ done?: false | undefined;
386
+ value: any;
387
+ };
388
+ publishCount: bigint;
389
+ tail: {
390
+ "Symbol(passStyle)": "tagged";
391
+ [Symbol.toStringTag]: "Vow";
392
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
393
+ };
394
+ }>;
395
+ } | {};
396
+ storagePath: string;
397
+ };
398
+ };
399
+ }>;
400
+ getPublicTopics: () => Vow<{
401
+ [x: string]: {
402
+ description?: string | undefined;
403
+ subscriber: {
404
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
405
+ value: {};
406
+ updateCount?: bigint | undefined | undefined;
407
+ }>;
408
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
409
+ head: {
410
+ done: true;
411
+ value: any;
412
+ } | {
413
+ done?: false | undefined;
414
+ value: {};
415
+ };
416
+ publishCount: bigint;
417
+ tail: {
418
+ "Symbol(passStyle)": "tagged";
419
+ [Symbol.toStringTag]: "Vow";
420
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
421
+ };
422
+ }>;
423
+ } | {};
424
+ storagePath: string;
425
+ };
426
+ }>;
427
+ executeTxProto3: (msgs: readonly {
428
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
429
+ typeUrl: string;
430
+ value: string;
431
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<readonly {}[]>;
432
+ executeTxProto3Undecoded: (msgs: readonly {
433
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
434
+ typeUrl: string;
435
+ value: string;
436
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<string>;
437
+ executeEncodedTx: (msgs: readonly {
438
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
439
+ typeUrl: string;
440
+ value: string;
441
+ }[], opts?: (Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> & Omit<import("../cosmos-api.js").CosmosActionOptions, "txOpts">) | undefined) => Vow<string>;
442
+ deactivate: () => Vow<void>;
443
+ reactivate: () => Vow<void>;
444
+ delegate: (validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
445
+ redelegate: (srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
446
+ undelegate: (delegations: {
447
+ amount: import("../orchestration-api.js").AmountArg;
448
+ delegator?: CosmosChainAddress;
449
+ validator: import("../cosmos-api.js").CosmosValidatorAddress;
450
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
451
+ withdrawRewards: (opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{
452
+ denom: import("../orchestration-api.js").Denom;
453
+ value: bigint;
454
+ }[]>;
455
+ withdrawReward: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{
456
+ denom: import("../orchestration-api.js").Denom;
457
+ value: bigint;
458
+ }[]>;
459
+ getDelegations: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
460
+ delegator: {
461
+ chainId: string;
462
+ value: import("../cosmos-api.js").Bech32Address;
463
+ encoding: "bech32";
464
+ };
465
+ validator: {
466
+ chainId: string;
467
+ value: {
468
+ readonly [x: number]: string;
469
+ toString: () => string;
470
+ charAt: (pos: number) => string;
471
+ charCodeAt: (index: number) => number;
472
+ concat: (...strings: string[]) => string;
473
+ indexOf: (searchString: string, position?: number) => number;
474
+ lastIndexOf: (searchString: string, position?: number) => number;
475
+ localeCompare: {
476
+ (that: string): number;
477
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
478
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
479
+ };
480
+ match: {
481
+ (regexp: string | RegExp): RegExpMatchArray | null;
482
+ (matcher: {
483
+ [Symbol.match](string: string): RegExpMatchArray | null;
484
+ }): RegExpMatchArray | null;
485
+ };
486
+ replace: {
487
+ (searchValue: string | RegExp, replaceValue: string): string;
488
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
489
+ (searchValue: {
490
+ [Symbol.replace](string: string, replaceValue: string): string;
491
+ }, replaceValue: string): string;
492
+ (searchValue: {
493
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
494
+ }, replacer: (substring: string, ...args: any[]) => string): string;
495
+ };
496
+ search: {
497
+ (regexp: string | RegExp): number;
498
+ (searcher: {
499
+ [Symbol.search](string: string): number;
500
+ }): number;
501
+ };
502
+ slice: (start?: number, end?: number) => string;
503
+ split: {
504
+ (separator: string | RegExp, limit?: number): string[];
505
+ (splitter: {
506
+ [Symbol.split](string: string, limit?: number): string[];
507
+ }, limit?: number): string[];
508
+ };
509
+ substring: (start: number, end?: number) => string;
510
+ toLowerCase: () => string;
511
+ toLocaleLowerCase: {
512
+ (locales?: string | string[]): string;
513
+ (locales?: Intl.LocalesArgument): string;
514
+ };
515
+ toUpperCase: () => string;
516
+ toLocaleUpperCase: {
517
+ (locales?: string | string[]): string;
518
+ (locales?: Intl.LocalesArgument): string;
519
+ };
520
+ trim: () => string;
521
+ readonly length: number;
522
+ substr: (from: number, length?: number) => string;
523
+ valueOf: () => string;
524
+ codePointAt: (pos: number) => number | undefined;
525
+ includes: (searchString: string, position?: number) => boolean;
526
+ endsWith: (searchString: string, endPosition?: number) => boolean;
527
+ normalize: {
528
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
529
+ (form?: string): string;
530
+ };
531
+ repeat: (count: number) => string;
532
+ startsWith: (searchString: string, position?: number) => boolean;
533
+ anchor: (name: string) => string;
534
+ big: () => string;
535
+ blink: () => string;
536
+ bold: () => string;
537
+ fixed: () => string;
538
+ fontcolor: (color: string) => string;
539
+ fontsize: {
540
+ (size: number): string;
541
+ (size: string): string;
542
+ };
543
+ italics: () => string;
544
+ link: (url: string) => string;
545
+ small: () => string;
546
+ strike: () => string;
547
+ sub: () => string;
548
+ sup: () => string;
549
+ padStart: (maxLength: number, fillString?: string) => string;
550
+ padEnd: (maxLength: number, fillString?: string) => string;
551
+ trimEnd: () => string;
552
+ trimStart: () => string;
553
+ trimLeft: () => string;
554
+ trimRight: () => string;
555
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
556
+ replaceAll: {
557
+ (searchValue: string | RegExp, replaceValue: string): string;
558
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
559
+ };
560
+ at: (index: number) => string | undefined;
561
+ isWellFormed: () => boolean;
562
+ toWellFormed: () => string;
563
+ [Symbol.iterator]: () => StringIterator<string>;
564
+ };
565
+ encoding: "bech32";
566
+ };
567
+ amount: {
568
+ denom: import("../orchestration-api.js").Denom;
569
+ value: bigint;
570
+ };
571
+ }[]>;
572
+ getDelegation: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
573
+ delegator: {
574
+ chainId: string;
575
+ value: import("../cosmos-api.js").Bech32Address;
576
+ encoding: "bech32";
577
+ };
578
+ validator: {
579
+ chainId: string;
580
+ value: {
581
+ readonly [x: number]: string;
582
+ toString: () => string;
583
+ charAt: (pos: number) => string;
584
+ charCodeAt: (index: number) => number;
585
+ concat: (...strings: string[]) => string;
586
+ indexOf: (searchString: string, position?: number) => number;
587
+ lastIndexOf: (searchString: string, position?: number) => number;
588
+ localeCompare: {
589
+ (that: string): number;
590
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
591
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
592
+ };
593
+ match: {
594
+ (regexp: string | RegExp): RegExpMatchArray | null;
595
+ (matcher: {
596
+ [Symbol.match](string: string): RegExpMatchArray | null;
597
+ }): RegExpMatchArray | null;
598
+ };
599
+ replace: {
600
+ (searchValue: string | RegExp, replaceValue: string): string;
601
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
602
+ (searchValue: {
603
+ [Symbol.replace](string: string, replaceValue: string): string;
604
+ }, replaceValue: string): string;
605
+ (searchValue: {
606
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
607
+ }, replacer: (substring: string, ...args: any[]) => string): string;
608
+ };
609
+ search: {
610
+ (regexp: string | RegExp): number;
611
+ (searcher: {
612
+ [Symbol.search](string: string): number;
613
+ }): number;
614
+ };
615
+ slice: (start?: number, end?: number) => string;
616
+ split: {
617
+ (separator: string | RegExp, limit?: number): string[];
618
+ (splitter: {
619
+ [Symbol.split](string: string, limit?: number): string[];
620
+ }, limit?: number): string[];
621
+ };
622
+ substring: (start: number, end?: number) => string;
623
+ toLowerCase: () => string;
624
+ toLocaleLowerCase: {
625
+ (locales?: string | string[]): string;
626
+ (locales?: Intl.LocalesArgument): string;
627
+ };
628
+ toUpperCase: () => string;
629
+ toLocaleUpperCase: {
630
+ (locales?: string | string[]): string;
631
+ (locales?: Intl.LocalesArgument): string;
632
+ };
633
+ trim: () => string;
634
+ readonly length: number;
635
+ substr: (from: number, length?: number) => string;
636
+ valueOf: () => string;
637
+ codePointAt: (pos: number) => number | undefined;
638
+ includes: (searchString: string, position?: number) => boolean;
639
+ endsWith: (searchString: string, endPosition?: number) => boolean;
640
+ normalize: {
641
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
642
+ (form?: string): string;
643
+ };
644
+ repeat: (count: number) => string;
645
+ startsWith: (searchString: string, position?: number) => boolean;
646
+ anchor: (name: string) => string;
647
+ big: () => string;
648
+ blink: () => string;
649
+ bold: () => string;
650
+ fixed: () => string;
651
+ fontcolor: (color: string) => string;
652
+ fontsize: {
653
+ (size: number): string;
654
+ (size: string): string;
655
+ };
656
+ italics: () => string;
657
+ link: (url: string) => string;
658
+ small: () => string;
659
+ strike: () => string;
660
+ sub: () => string;
661
+ sup: () => string;
662
+ padStart: (maxLength: number, fillString?: string) => string;
663
+ padEnd: (maxLength: number, fillString?: string) => string;
664
+ trimEnd: () => string;
665
+ trimStart: () => string;
666
+ trimLeft: () => string;
667
+ trimRight: () => string;
668
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
669
+ replaceAll: {
670
+ (searchValue: string | RegExp, replaceValue: string): string;
671
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
672
+ };
673
+ at: (index: number) => string | undefined;
674
+ isWellFormed: () => boolean;
675
+ toWellFormed: () => string;
676
+ [Symbol.iterator]: () => StringIterator<string>;
677
+ };
678
+ encoding: "bech32";
679
+ };
680
+ amount: {
681
+ denom: import("../orchestration-api.js").Denom;
682
+ value: bigint;
683
+ };
684
+ }>;
685
+ getUnbondingDelegations: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
686
+ delegatorAddress: string;
687
+ validatorAddress: string;
688
+ entries: {
689
+ creationHeight: bigint;
690
+ completionTime: {
691
+ seconds: bigint;
692
+ nanos: number;
693
+ };
694
+ initialBalance: string;
695
+ balance: string;
696
+ unbondingId: bigint;
697
+ unbondingOnHoldRefCount: bigint;
698
+ }[];
699
+ }[]>;
700
+ getUnbondingDelegation: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
701
+ delegatorAddress: string;
702
+ validatorAddress: string;
703
+ entries: {
704
+ creationHeight: bigint;
705
+ completionTime: {
706
+ seconds: bigint;
707
+ nanos: number;
708
+ };
709
+ initialBalance: string;
710
+ balance: string;
711
+ unbondingId: bigint;
712
+ unbondingOnHoldRefCount: bigint;
713
+ }[];
714
+ }>;
715
+ getRedelegations: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
716
+ redelegation: {
717
+ delegatorAddress: string;
718
+ validatorSrcAddress: string;
719
+ validatorDstAddress: string;
720
+ entries: {
721
+ creationHeight: bigint;
722
+ completionTime: {
723
+ seconds: bigint;
724
+ nanos: number;
725
+ };
726
+ initialBalance: string;
727
+ sharesDst: string;
728
+ unbondingId: bigint;
729
+ unbondingOnHoldRefCount: bigint;
730
+ }[];
731
+ };
732
+ entries: {
733
+ redelegationEntry: {
734
+ creationHeight: bigint;
735
+ completionTime: {
736
+ seconds: bigint;
737
+ nanos: number;
738
+ };
739
+ initialBalance: string;
740
+ sharesDst: string;
741
+ unbondingId: bigint;
742
+ unbondingOnHoldRefCount: bigint;
743
+ };
744
+ balance: string;
745
+ }[];
746
+ }[]>;
747
+ getRewards: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
748
+ rewards: {
749
+ validator: {
750
+ chainId: string;
751
+ value: {
752
+ readonly [x: number]: string;
753
+ toString: () => string;
754
+ charAt: (pos: number) => string;
755
+ charCodeAt: (index: number) => number;
756
+ concat: (...strings: string[]) => string;
757
+ indexOf: (searchString: string, position?: number) => number;
758
+ lastIndexOf: (searchString: string, position?: number) => number;
759
+ localeCompare: {
760
+ (that: string): number;
761
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
762
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
763
+ };
764
+ match: {
765
+ (regexp: string | RegExp): RegExpMatchArray | null;
766
+ (matcher: {
767
+ [Symbol.match](string: string): RegExpMatchArray | null;
768
+ }): RegExpMatchArray | null;
769
+ };
770
+ replace: {
771
+ (searchValue: string | RegExp, replaceValue: string): string;
772
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
773
+ (searchValue: {
774
+ [Symbol.replace](string: string, replaceValue: string): string;
775
+ }, replaceValue: string): string;
776
+ (searchValue: {
777
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
778
+ }, replacer: (substring: string, ...args: any[]) => string): string;
779
+ };
780
+ search: {
781
+ (regexp: string | RegExp): number;
782
+ (searcher: {
783
+ [Symbol.search](string: string): number;
784
+ }): number;
785
+ };
786
+ slice: (start?: number, end?: number) => string;
787
+ split: {
788
+ (separator: string | RegExp, limit?: number): string[];
789
+ (splitter: {
790
+ [Symbol.split](string: string, limit?: number): string[];
791
+ }, limit?: number): string[];
792
+ };
793
+ substring: (start: number, end?: number) => string;
794
+ toLowerCase: () => string;
795
+ toLocaleLowerCase: {
796
+ (locales?: string | string[]): string;
797
+ (locales?: Intl.LocalesArgument): string;
798
+ };
799
+ toUpperCase: () => string;
800
+ toLocaleUpperCase: {
801
+ (locales?: string | string[]): string;
802
+ (locales?: Intl.LocalesArgument): string;
803
+ };
804
+ trim: () => string;
805
+ readonly length: number;
806
+ substr: (from: number, length?: number) => string;
807
+ valueOf: () => string;
808
+ codePointAt: (pos: number) => number | undefined;
809
+ includes: (searchString: string, position?: number) => boolean;
810
+ endsWith: (searchString: string, endPosition?: number) => boolean;
811
+ normalize: {
812
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
813
+ (form?: string): string;
814
+ };
815
+ repeat: (count: number) => string;
816
+ startsWith: (searchString: string, position?: number) => boolean;
817
+ anchor: (name: string) => string;
818
+ big: () => string;
819
+ blink: () => string;
820
+ bold: () => string;
821
+ fixed: () => string;
822
+ fontcolor: (color: string) => string;
823
+ fontsize: {
824
+ (size: number): string;
825
+ (size: string): string;
826
+ };
827
+ italics: () => string;
828
+ link: (url: string) => string;
829
+ small: () => string;
830
+ strike: () => string;
831
+ sub: () => string;
832
+ sup: () => string;
833
+ padStart: (maxLength: number, fillString?: string) => string;
834
+ padEnd: (maxLength: number, fillString?: string) => string;
835
+ trimEnd: () => string;
836
+ trimStart: () => string;
837
+ trimLeft: () => string;
838
+ trimRight: () => string;
839
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
840
+ replaceAll: {
841
+ (searchValue: string | RegExp, replaceValue: string): string;
842
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
843
+ };
844
+ at: (index: number) => string | undefined;
845
+ isWellFormed: () => boolean;
846
+ toWellFormed: () => string;
847
+ [Symbol.iterator]: () => StringIterator<string>;
848
+ };
849
+ encoding: "bech32";
850
+ };
851
+ reward: {
852
+ denom: import("../orchestration-api.js").Denom;
853
+ value: bigint;
854
+ }[];
855
+ }[];
856
+ total: {
857
+ denom: import("../orchestration-api.js").Denom;
858
+ value: bigint;
859
+ }[];
860
+ }>;
861
+ getReward: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
862
+ denom: import("../orchestration-api.js").Denom;
863
+ value: bigint;
864
+ }[]>;
865
+ depositForBurn: (mintRecipient: `${string}:${string}:${string}`, amount: import("../orchestration-api.js").AmountArg, caller?: `${string}:${string}:${string}` | undefined, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
866
+ } | {
867
+ getAddress: () => {
868
+ chainId: string;
869
+ value: import("../cosmos-api.js").Bech32Address;
870
+ encoding: "bech32";
871
+ };
872
+ getBalances: (opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
873
+ denom: import("../orchestration-api.js").Denom;
874
+ value: bigint;
875
+ }[]>;
876
+ getBalance: (denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
877
+ denom: import("../orchestration-api.js").Denom;
878
+ value: bigint;
879
+ }>;
880
+ makeProgressTracker: () => import("@endo/exo").Guarded<{
881
+ getCurrentProgressReport(): import("../types.js").ProgressReport;
882
+ update(progressReport: ProgressReport): import("../types.js").ProgressReport;
883
+ finish(): import("../types.js").ProgressReport;
884
+ exposePublicationInternals(): PublicationInternals<ProgressReport>;
885
+ }>;
886
+ send: (toAccount: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
887
+ sendAll: (toAccount: CosmosChainAddress, amounts: import("../orchestration-api.js").AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
888
+ transfer: (destination: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined) => Vow<{}>;
889
+ transferSteps: (amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg) => Vow<{}>;
890
+ asContinuingOffer: () => Vow<{
891
+ invitationMakers: {
892
+ [x: string]: (...args: any[]) => Vow<import("@endo/pass-style").RemotableObject & {
893
+ getAllegedBrand: () => import("@agoric/ertp").Brand<"set">;
894
+ } & {
895
+ readonly "Symbol(tag)": {
896
+ "Set-like value type": import("@agoric/zoe").InvitationDetails;
897
+ };
898
+ }>;
899
+ };
900
+ publicSubscribers: {
901
+ [x: string]: {
902
+ description?: string | undefined;
903
+ subscriber: {
904
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
905
+ value: any;
906
+ updateCount?: bigint | undefined | undefined;
907
+ }>;
908
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
909
+ head: {
910
+ done: true;
911
+ value: any;
912
+ } | {
913
+ done?: false | undefined;
914
+ value: any;
915
+ };
916
+ publishCount: bigint;
917
+ tail: {
918
+ "Symbol(passStyle)": "tagged";
919
+ [Symbol.toStringTag]: "Vow";
920
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
921
+ };
922
+ }>;
923
+ } | {};
924
+ storagePath: string;
925
+ };
926
+ };
927
+ }>;
928
+ getPublicTopics: () => Vow<{
929
+ [x: string]: {
930
+ description?: string | undefined;
931
+ subscriber: {
932
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
933
+ value: {};
934
+ updateCount?: bigint | undefined | undefined;
935
+ }>;
936
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
937
+ head: {
938
+ done: true;
939
+ value: any;
940
+ } | {
941
+ done?: false | undefined;
942
+ value: {};
943
+ };
944
+ publishCount: bigint;
945
+ tail: {
946
+ "Symbol(passStyle)": "tagged";
947
+ [Symbol.toStringTag]: "Vow";
948
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
949
+ };
950
+ }>;
951
+ } | {};
952
+ storagePath: string;
953
+ };
954
+ }>;
955
+ executeTxProto3: (msgs: readonly {
956
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
957
+ typeUrl: string;
958
+ value: string;
959
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<readonly {}[]>;
960
+ executeTxProto3Undecoded: (msgs: readonly {
961
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
962
+ typeUrl: string;
963
+ value: string;
964
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<string>;
965
+ executeEncodedTx: (msgs: readonly {
966
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
967
+ typeUrl: string;
968
+ value: string;
969
+ }[], opts?: (Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> & Omit<import("../cosmos-api.js").CosmosActionOptions, "txOpts">) | undefined) => Vow<string>;
970
+ deactivate: () => Vow<void>;
971
+ reactivate: () => Vow<void>;
972
+ } | {
973
+ getAddress: () => {
974
+ chainId: string;
975
+ value: import("../cosmos-api.js").Bech32Address;
976
+ encoding: "bech32";
977
+ };
978
+ getBalances: (opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
979
+ denom: import("../orchestration-api.js").Denom;
980
+ value: bigint;
981
+ }[]>;
982
+ getBalance: (denom: import("../orchestration-api.js").DenomArg, opts?: import("../orchestration-api.js").QuerierOptions | undefined) => Vow<{
983
+ denom: import("../orchestration-api.js").Denom;
984
+ value: bigint;
985
+ }>;
986
+ makeProgressTracker: () => import("@endo/exo").Guarded<{
987
+ getCurrentProgressReport(): import("../types.js").ProgressReport;
988
+ update(progressReport: ProgressReport): import("../types.js").ProgressReport;
989
+ finish(): import("../types.js").ProgressReport;
990
+ exposePublicationInternals(): PublicationInternals<ProgressReport>;
991
+ }>;
992
+ send: (toAccount: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
993
+ sendAll: (toAccount: CosmosChainAddress, amounts: import("../orchestration-api.js").AmountArg[], opts?: import("../orchestration-api.js").ActionOptions | undefined) => Vow<{}>;
994
+ transfer: (destination: import("../orchestration-api.js").AccountIdArg, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined) => Vow<{}>;
995
+ transferSteps: (amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg) => Vow<{}>;
996
+ asContinuingOffer: () => Vow<{
997
+ invitationMakers: {
998
+ [x: string]: (...args: any[]) => Vow<import("@endo/pass-style").RemotableObject & {
999
+ getAllegedBrand: () => import("@agoric/ertp").Brand<"set">;
1000
+ } & {
1001
+ readonly "Symbol(tag)": {
1002
+ "Set-like value type": import("@agoric/zoe").InvitationDetails;
1003
+ };
1004
+ }>;
1005
+ };
1006
+ publicSubscribers: {
1007
+ [x: string]: {
1008
+ description?: string | undefined;
1009
+ subscriber: {
1010
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
1011
+ value: any;
1012
+ updateCount?: bigint | undefined | undefined;
1013
+ }>;
1014
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
1015
+ head: {
1016
+ done: true;
1017
+ value: any;
1018
+ } | {
1019
+ done?: false | undefined;
1020
+ value: any;
1021
+ };
1022
+ publishCount: bigint;
1023
+ tail: {
1024
+ "Symbol(passStyle)": "tagged";
1025
+ [Symbol.toStringTag]: "Vow";
1026
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
1027
+ };
1028
+ }>;
1029
+ } | {};
1030
+ storagePath: string;
1031
+ };
1032
+ };
1033
+ }>;
1034
+ getPublicTopics: () => Vow<{
1035
+ [x: string]: {
1036
+ description?: string | undefined;
1037
+ subscriber: {
1038
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
1039
+ value: {};
1040
+ updateCount?: bigint | undefined | undefined;
1041
+ }>;
1042
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
1043
+ head: {
1044
+ done: true;
1045
+ value: any;
1046
+ } | {
1047
+ done?: false | undefined;
1048
+ value: {};
1049
+ };
1050
+ publishCount: bigint;
1051
+ tail: {
1052
+ "Symbol(passStyle)": "tagged";
1053
+ [Symbol.toStringTag]: "Vow";
1054
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
1055
+ };
1056
+ }>;
1057
+ } | {};
1058
+ storagePath: string;
1059
+ };
1060
+ }>;
1061
+ executeTxProto3: (msgs: readonly {
1062
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
1063
+ typeUrl: string;
1064
+ value: string;
1065
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<readonly {}[]>;
1066
+ executeTxProto3Undecoded: (msgs: readonly {
1067
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
1068
+ typeUrl: string;
1069
+ value: string;
1070
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<string>;
1071
+ executeEncodedTx: (msgs: readonly {
1072
+ $typeUrl?: "/google.protobuf.Any" | string | undefined;
1073
+ typeUrl: string;
1074
+ value: string;
1075
+ }[], opts?: (Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> & Omit<import("../cosmos-api.js").CosmosActionOptions, "txOpts">) | undefined) => Vow<string>;
1076
+ deactivate: () => Vow<void>;
1077
+ reactivate: () => Vow<void>;
1078
+ delegate: (validator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
1079
+ redelegate: (srcValidator: import("../cosmos-api.js").CosmosValidatorAddress, dstValidator: import("../cosmos-api.js").CosmosValidatorAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
1080
+ undelegate: (delegations: {
1081
+ amount: import("../orchestration-api.js").AmountArg;
1082
+ delegator?: CosmosChainAddress;
1083
+ validator: import("../cosmos-api.js").CosmosValidatorAddress;
1084
+ }[], opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{}>;
1085
+ withdrawRewards: (opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{
1086
+ denom: import("../orchestration-api.js").Denom;
1087
+ value: bigint;
1088
+ }[]>;
1089
+ withdrawReward: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosActionOptions | undefined) => Vow<{
1090
+ denom: import("../orchestration-api.js").Denom;
1091
+ value: bigint;
1092
+ }[]>;
1093
+ getDelegations: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
1094
+ delegator: {
1095
+ chainId: string;
1096
+ value: import("../cosmos-api.js").Bech32Address;
1097
+ encoding: "bech32";
1098
+ };
1099
+ validator: {
1100
+ chainId: string;
1101
+ value: {
1102
+ readonly [x: number]: string;
1103
+ toString: () => string;
1104
+ charAt: (pos: number) => string;
1105
+ charCodeAt: (index: number) => number;
1106
+ concat: (...strings: string[]) => string;
1107
+ indexOf: (searchString: string, position?: number) => number;
1108
+ lastIndexOf: (searchString: string, position?: number) => number;
1109
+ localeCompare: {
1110
+ (that: string): number;
1111
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
1112
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
1113
+ };
1114
+ match: {
1115
+ (regexp: string | RegExp): RegExpMatchArray | null;
1116
+ (matcher: {
1117
+ [Symbol.match](string: string): RegExpMatchArray | null;
1118
+ }): RegExpMatchArray | null;
1119
+ };
1120
+ replace: {
1121
+ (searchValue: string | RegExp, replaceValue: string): string;
1122
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
1123
+ (searchValue: {
1124
+ [Symbol.replace](string: string, replaceValue: string): string;
1125
+ }, replaceValue: string): string;
1126
+ (searchValue: {
1127
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
1128
+ }, replacer: (substring: string, ...args: any[]) => string): string;
1129
+ };
1130
+ search: {
1131
+ (regexp: string | RegExp): number;
1132
+ (searcher: {
1133
+ [Symbol.search](string: string): number;
1134
+ }): number;
1135
+ };
1136
+ slice: (start?: number, end?: number) => string;
1137
+ split: {
1138
+ (separator: string | RegExp, limit?: number): string[];
1139
+ (splitter: {
1140
+ [Symbol.split](string: string, limit?: number): string[];
1141
+ }, limit?: number): string[];
1142
+ };
1143
+ substring: (start: number, end?: number) => string;
1144
+ toLowerCase: () => string;
1145
+ toLocaleLowerCase: {
1146
+ (locales?: string | string[]): string;
1147
+ (locales?: Intl.LocalesArgument): string;
1148
+ };
1149
+ toUpperCase: () => string;
1150
+ toLocaleUpperCase: {
1151
+ (locales?: string | string[]): string;
1152
+ (locales?: Intl.LocalesArgument): string;
1153
+ };
1154
+ trim: () => string;
1155
+ readonly length: number;
1156
+ substr: (from: number, length?: number) => string;
1157
+ valueOf: () => string;
1158
+ codePointAt: (pos: number) => number | undefined;
1159
+ includes: (searchString: string, position?: number) => boolean;
1160
+ endsWith: (searchString: string, endPosition?: number) => boolean;
1161
+ normalize: {
1162
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
1163
+ (form?: string): string;
1164
+ };
1165
+ repeat: (count: number) => string;
1166
+ startsWith: (searchString: string, position?: number) => boolean;
1167
+ anchor: (name: string) => string;
1168
+ big: () => string;
1169
+ blink: () => string;
1170
+ bold: () => string;
1171
+ fixed: () => string;
1172
+ fontcolor: (color: string) => string;
1173
+ fontsize: {
1174
+ (size: number): string;
1175
+ (size: string): string;
1176
+ };
1177
+ italics: () => string;
1178
+ link: (url: string) => string;
1179
+ small: () => string;
1180
+ strike: () => string;
1181
+ sub: () => string;
1182
+ sup: () => string;
1183
+ padStart: (maxLength: number, fillString?: string) => string;
1184
+ padEnd: (maxLength: number, fillString?: string) => string;
1185
+ trimEnd: () => string;
1186
+ trimStart: () => string;
1187
+ trimLeft: () => string;
1188
+ trimRight: () => string;
1189
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
1190
+ replaceAll: {
1191
+ (searchValue: string | RegExp, replaceValue: string): string;
1192
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
1193
+ };
1194
+ at: (index: number) => string | undefined;
1195
+ isWellFormed: () => boolean;
1196
+ toWellFormed: () => string;
1197
+ [Symbol.iterator]: () => StringIterator<string>;
1198
+ };
1199
+ encoding: "bech32";
1200
+ };
1201
+ amount: {
1202
+ denom: import("../orchestration-api.js").Denom;
1203
+ value: bigint;
1204
+ };
1205
+ }[]>;
1206
+ getDelegation: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
1207
+ delegator: {
1208
+ chainId: string;
1209
+ value: import("../cosmos-api.js").Bech32Address;
1210
+ encoding: "bech32";
1211
+ };
1212
+ validator: {
1213
+ chainId: string;
1214
+ value: {
1215
+ readonly [x: number]: string;
1216
+ toString: () => string;
1217
+ charAt: (pos: number) => string;
1218
+ charCodeAt: (index: number) => number;
1219
+ concat: (...strings: string[]) => string;
1220
+ indexOf: (searchString: string, position?: number) => number;
1221
+ lastIndexOf: (searchString: string, position?: number) => number;
1222
+ localeCompare: {
1223
+ (that: string): number;
1224
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
1225
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
1226
+ };
1227
+ match: {
1228
+ (regexp: string | RegExp): RegExpMatchArray | null;
1229
+ (matcher: {
1230
+ [Symbol.match](string: string): RegExpMatchArray | null;
1231
+ }): RegExpMatchArray | null;
1232
+ };
1233
+ replace: {
1234
+ (searchValue: string | RegExp, replaceValue: string): string;
1235
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
1236
+ (searchValue: {
1237
+ [Symbol.replace](string: string, replaceValue: string): string;
1238
+ }, replaceValue: string): string;
1239
+ (searchValue: {
1240
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
1241
+ }, replacer: (substring: string, ...args: any[]) => string): string;
1242
+ };
1243
+ search: {
1244
+ (regexp: string | RegExp): number;
1245
+ (searcher: {
1246
+ [Symbol.search](string: string): number;
1247
+ }): number;
1248
+ };
1249
+ slice: (start?: number, end?: number) => string;
1250
+ split: {
1251
+ (separator: string | RegExp, limit?: number): string[];
1252
+ (splitter: {
1253
+ [Symbol.split](string: string, limit?: number): string[];
1254
+ }, limit?: number): string[];
1255
+ };
1256
+ substring: (start: number, end?: number) => string;
1257
+ toLowerCase: () => string;
1258
+ toLocaleLowerCase: {
1259
+ (locales?: string | string[]): string;
1260
+ (locales?: Intl.LocalesArgument): string;
1261
+ };
1262
+ toUpperCase: () => string;
1263
+ toLocaleUpperCase: {
1264
+ (locales?: string | string[]): string;
1265
+ (locales?: Intl.LocalesArgument): string;
1266
+ };
1267
+ trim: () => string;
1268
+ readonly length: number;
1269
+ substr: (from: number, length?: number) => string;
1270
+ valueOf: () => string;
1271
+ codePointAt: (pos: number) => number | undefined;
1272
+ includes: (searchString: string, position?: number) => boolean;
1273
+ endsWith: (searchString: string, endPosition?: number) => boolean;
1274
+ normalize: {
1275
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
1276
+ (form?: string): string;
1277
+ };
1278
+ repeat: (count: number) => string;
1279
+ startsWith: (searchString: string, position?: number) => boolean;
1280
+ anchor: (name: string) => string;
1281
+ big: () => string;
1282
+ blink: () => string;
1283
+ bold: () => string;
1284
+ fixed: () => string;
1285
+ fontcolor: (color: string) => string;
1286
+ fontsize: {
1287
+ (size: number): string;
1288
+ (size: string): string;
1289
+ };
1290
+ italics: () => string;
1291
+ link: (url: string) => string;
1292
+ small: () => string;
1293
+ strike: () => string;
1294
+ sub: () => string;
1295
+ sup: () => string;
1296
+ padStart: (maxLength: number, fillString?: string) => string;
1297
+ padEnd: (maxLength: number, fillString?: string) => string;
1298
+ trimEnd: () => string;
1299
+ trimStart: () => string;
1300
+ trimLeft: () => string;
1301
+ trimRight: () => string;
1302
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
1303
+ replaceAll: {
1304
+ (searchValue: string | RegExp, replaceValue: string): string;
1305
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
1306
+ };
1307
+ at: (index: number) => string | undefined;
1308
+ isWellFormed: () => boolean;
1309
+ toWellFormed: () => string;
1310
+ [Symbol.iterator]: () => StringIterator<string>;
1311
+ };
1312
+ encoding: "bech32";
1313
+ };
1314
+ amount: {
1315
+ denom: import("../orchestration-api.js").Denom;
1316
+ value: bigint;
1317
+ };
1318
+ }>;
1319
+ getUnbondingDelegations: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
1320
+ delegatorAddress: string;
1321
+ validatorAddress: string;
1322
+ entries: {
1323
+ creationHeight: bigint;
1324
+ completionTime: {
1325
+ seconds: bigint;
1326
+ nanos: number;
1327
+ };
1328
+ initialBalance: string;
1329
+ balance: string;
1330
+ unbondingId: bigint;
1331
+ unbondingOnHoldRefCount: bigint;
1332
+ }[];
1333
+ }[]>;
1334
+ getUnbondingDelegation: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
1335
+ delegatorAddress: string;
1336
+ validatorAddress: string;
1337
+ entries: {
1338
+ creationHeight: bigint;
1339
+ completionTime: {
1340
+ seconds: bigint;
1341
+ nanos: number;
1342
+ };
1343
+ initialBalance: string;
1344
+ balance: string;
1345
+ unbondingId: bigint;
1346
+ unbondingOnHoldRefCount: bigint;
1347
+ }[];
1348
+ }>;
1349
+ getRedelegations: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
1350
+ redelegation: {
1351
+ delegatorAddress: string;
1352
+ validatorSrcAddress: string;
1353
+ validatorDstAddress: string;
1354
+ entries: {
1355
+ creationHeight: bigint;
1356
+ completionTime: {
1357
+ seconds: bigint;
1358
+ nanos: number;
1359
+ };
1360
+ initialBalance: string;
1361
+ sharesDst: string;
1362
+ unbondingId: bigint;
1363
+ unbondingOnHoldRefCount: bigint;
1364
+ }[];
1365
+ };
1366
+ entries: {
1367
+ redelegationEntry: {
1368
+ creationHeight: bigint;
1369
+ completionTime: {
1370
+ seconds: bigint;
1371
+ nanos: number;
1372
+ };
1373
+ initialBalance: string;
1374
+ sharesDst: string;
1375
+ unbondingId: bigint;
1376
+ unbondingOnHoldRefCount: bigint;
1377
+ };
1378
+ balance: string;
1379
+ }[];
1380
+ }[]>;
1381
+ getRewards: (opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
1382
+ rewards: {
1383
+ validator: {
1384
+ chainId: string;
1385
+ value: {
1386
+ readonly [x: number]: string;
1387
+ toString: () => string;
1388
+ charAt: (pos: number) => string;
1389
+ charCodeAt: (index: number) => number;
1390
+ concat: (...strings: string[]) => string;
1391
+ indexOf: (searchString: string, position?: number) => number;
1392
+ lastIndexOf: (searchString: string, position?: number) => number;
1393
+ localeCompare: {
1394
+ (that: string): number;
1395
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
1396
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
1397
+ };
1398
+ match: {
1399
+ (regexp: string | RegExp): RegExpMatchArray | null;
1400
+ (matcher: {
1401
+ [Symbol.match](string: string): RegExpMatchArray | null;
1402
+ }): RegExpMatchArray | null;
1403
+ };
1404
+ replace: {
1405
+ (searchValue: string | RegExp, replaceValue: string): string;
1406
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
1407
+ (searchValue: {
1408
+ [Symbol.replace](string: string, replaceValue: string): string;
1409
+ }, replaceValue: string): string;
1410
+ (searchValue: {
1411
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
1412
+ }, replacer: (substring: string, ...args: any[]) => string): string;
1413
+ };
1414
+ search: {
1415
+ (regexp: string | RegExp): number;
1416
+ (searcher: {
1417
+ [Symbol.search](string: string): number;
1418
+ }): number;
1419
+ };
1420
+ slice: (start?: number, end?: number) => string;
1421
+ split: {
1422
+ (separator: string | RegExp, limit?: number): string[];
1423
+ (splitter: {
1424
+ [Symbol.split](string: string, limit?: number): string[];
1425
+ }, limit?: number): string[];
1426
+ };
1427
+ substring: (start: number, end?: number) => string;
1428
+ toLowerCase: () => string;
1429
+ toLocaleLowerCase: {
1430
+ (locales?: string | string[]): string;
1431
+ (locales?: Intl.LocalesArgument): string;
1432
+ };
1433
+ toUpperCase: () => string;
1434
+ toLocaleUpperCase: {
1435
+ (locales?: string | string[]): string;
1436
+ (locales?: Intl.LocalesArgument): string;
1437
+ };
1438
+ trim: () => string;
1439
+ readonly length: number;
1440
+ substr: (from: number, length?: number) => string;
1441
+ valueOf: () => string;
1442
+ codePointAt: (pos: number) => number | undefined;
1443
+ includes: (searchString: string, position?: number) => boolean;
1444
+ endsWith: (searchString: string, endPosition?: number) => boolean;
1445
+ normalize: {
1446
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
1447
+ (form?: string): string;
1448
+ };
1449
+ repeat: (count: number) => string;
1450
+ startsWith: (searchString: string, position?: number) => boolean;
1451
+ anchor: (name: string) => string;
1452
+ big: () => string;
1453
+ blink: () => string;
1454
+ bold: () => string;
1455
+ fixed: () => string;
1456
+ fontcolor: (color: string) => string;
1457
+ fontsize: {
1458
+ (size: number): string;
1459
+ (size: string): string;
1460
+ };
1461
+ italics: () => string;
1462
+ link: (url: string) => string;
1463
+ small: () => string;
1464
+ strike: () => string;
1465
+ sub: () => string;
1466
+ sup: () => string;
1467
+ padStart: (maxLength: number, fillString?: string) => string;
1468
+ padEnd: (maxLength: number, fillString?: string) => string;
1469
+ trimEnd: () => string;
1470
+ trimStart: () => string;
1471
+ trimLeft: () => string;
1472
+ trimRight: () => string;
1473
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
1474
+ replaceAll: {
1475
+ (searchValue: string | RegExp, replaceValue: string): string;
1476
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
1477
+ };
1478
+ at: (index: number) => string | undefined;
1479
+ isWellFormed: () => boolean;
1480
+ toWellFormed: () => string;
1481
+ [Symbol.iterator]: () => StringIterator<string>;
1482
+ };
1483
+ encoding: "bech32";
1484
+ };
1485
+ reward: {
1486
+ denom: import("../orchestration-api.js").Denom;
1487
+ value: bigint;
1488
+ }[];
1489
+ }[];
1490
+ total: {
1491
+ denom: import("../orchestration-api.js").Denom;
1492
+ value: bigint;
1493
+ }[];
1494
+ }>;
1495
+ getReward: (validator: import("../cosmos-api.js").CosmosValidatorAddress, opts?: import("../cosmos-api.js").CosmosQuerierOptions | undefined) => Vow<{
1496
+ denom: import("../orchestration-api.js").Denom;
1497
+ value: bigint;
1498
+ }[]>;
1499
+ }>;
1500
+ query(msgs: {
1501
+ data: string;
1502
+ path: string;
1503
+ height: string;
1504
+ prove: boolean;
1505
+ }[]): Vow<{
1506
+ code: number;
1507
+ log: string;
1508
+ info: string;
1509
+ index: string;
1510
+ key: string;
1511
+ value: string;
1512
+ proofOps?: {
1513
+ ops: {
1514
+ type: string;
1515
+ key: string;
1516
+ data: string;
1517
+ }[];
1518
+ } | undefined;
1519
+ height: string;
1520
+ codespace: string;
1521
+ }[]>;
1522
+ }>;
1523
+ export type RemoteChainFacadePowers = {
1524
+ makeCosmosOrchestrationAccount: ReturnType<typeof prepareCosmosOrchestrationAccount>;
1525
+ orchestration: Remote<CosmosInterchainService>;
1526
+ storageNode: Remote<StorageNode> | undefined;
1527
+ timer: Remote<TimerService>;
1528
+ vowTools: VowTools;
1529
+ };
1530
+ export type RemoteChainFacadeState = {
1531
+ remoteChainInfo: ChainInfo;
1532
+ connectionInfo: IBCConnectionInfo | undefined;
1533
+ icqConnection: ICQConnection | undefined;
1534
+ };
1535
+ export type MakeRemoteChainFacade = ReturnType<typeof prepareRemoteChainFacade>;
1536
+ export type RemoteChainFacade = ReturnType<MakeRemoteChainFacade>;
1537
+ import type { Zone } from '@agoric/base-zone';
1538
+ import type { ChainInfo } from '../types.js';
1539
+ import type { IBCConnectionInfo } from '@agoric/network/ibc';
1540
+ import type { Vow } from '@agoric/vow';
1541
+ import type { CosmosChainAddress } from '../types.js';
1542
+ import type { prepareCosmosOrchestrationAccount } from './cosmos-orchestration-account.js';
1543
+ import type { CosmosInterchainService } from './exo-interfaces.js';
1544
+ import type { Remote } from '@agoric/internal';
1545
+ import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
1546
+ import type { TimerService } from '@agoric/time';
1547
+ import type { VowTools } from '@agoric/vow';
1548
+ import type { ICQConnection } from '../types.js';
1549
+ //# sourceMappingURL=remote-chain-facade.d.ts.map