@agoric/orchestration 0.1.1-dev-eef7b69.0.eef7b69 → 0.1.1-dev-6fe0466.0.6fe0466

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.
@@ -74,7 +74,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
74
74
  /**
75
75
  * TODO(#1994): Subsume with IcaAccount.executeEncodedTxWithMeta().
76
76
  *
77
- * @param {[
77
+ * @param {readonly [
78
78
  * agoric: ChainInfo<'cosmos'>,
79
79
  * la: LocalIbcAddress,
80
80
  * counterparty: CaipChainId,
@@ -83,7 +83,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
83
83
  * @param {{ result: Vow<any>; meta: Record<string, any> }} param1
84
84
  * @param {string} protocol
85
85
  */
86
- onFulfilled([agoric, la, counterparty, ra]: [agoric: ChainInfo<"cosmos">, la: LocalIbcAddress, counterparty: CaipChainId, ra: RemoteIbcAddress], { result, meta: origMeta }: {
86
+ onFulfilled([agoric, la, counterparty, ra]: readonly [agoric: ChainInfo<"cosmos">, la: LocalIbcAddress, counterparty: CaipChainId, ra: RemoteIbcAddress], { result, meta: origMeta }: {
87
87
  result: Vow<any>;
88
88
  meta: Record<string, any>;
89
89
  }, protocol: string): {
@@ -182,9 +182,9 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
182
182
  };
183
183
  transferWithMetaWatcher: {
184
184
  /**
185
- * @param {[
185
+ * @param {readonly [
186
186
  * { transferChannel: IBCConnectionInfo['transferChannel'] },
187
- * bigint,
187
+ * bigint | undefined,
188
188
  * ]} results
189
189
  * @param {{
190
190
  * destination: CosmosChainAddress;
@@ -192,9 +192,9 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
192
192
  * token: Coin;
193
193
  * }} ctx
194
194
  */
195
- onFulfilled([{ transferChannel }, timeoutTimestamp]: [{
195
+ onFulfilled([{ transferChannel }, timeoutTimestamp]: readonly [{
196
196
  transferChannel: IBCConnectionInfo["transferChannel"];
197
- }, bigint], { opts, token, destination }: {
197
+ }, bigint | undefined], { opts, token, destination }: {
198
198
  destination: CosmosChainAddress;
199
199
  opts?: IBCMsgTransferOptions;
200
200
  token: Coin;
@@ -222,7 +222,10 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
222
222
  */
223
223
  Redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Promise<Invitation<Vow<void>, undefined>>;
224
224
  /** @param {CosmosValidatorAddress} validator */
225
- WithdrawReward(validator: CosmosValidatorAddress): Promise<Invitation<Vow<import("../orchestration-api.ts").DenomAmount[]>, undefined>>;
225
+ WithdrawReward(validator: CosmosValidatorAddress): Promise<Invitation<Vow<{
226
+ denom: import("../orchestration-api.ts").Denom;
227
+ value: bigint;
228
+ }[]>, undefined>>;
226
229
  /**
227
230
  * @param {{
228
231
  * amount: AmountArg;
@@ -256,23 +259,108 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
256
259
  }>>;
257
260
  };
258
261
  holder: {
259
- asContinuingOffer(): Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
260
- getPublicTopics(): Vow<import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
261
- getAddress(): import("@agoric/async-flow").HostInterface<CosmosChainAddress>;
262
+ asContinuingOffer(): Vow<{
263
+ invitationMakers: {
264
+ [x: string]: (...args: any[]) => Vow<import("@endo/pass-style").RemotableObject & {
265
+ getAllegedBrand: () => globalThis.Brand<"set">;
266
+ } & {
267
+ readonly "Symbol(tag)": {
268
+ "Set-like value type": import("@agoric/zoe").InvitationDetails;
269
+ };
270
+ }>;
271
+ };
272
+ publicSubscribers: {
273
+ [x: string]: {
274
+ description?: string | undefined;
275
+ subscriber: {
276
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
277
+ value: any;
278
+ updateCount?: bigint | undefined | undefined;
279
+ }>;
280
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
281
+ head: {
282
+ done: true;
283
+ value: any;
284
+ } | {
285
+ done?: false | undefined;
286
+ value: any;
287
+ };
288
+ publishCount: bigint;
289
+ tail: {
290
+ "Symbol(passStyle)": "tagged";
291
+ [Symbol.toStringTag]: "Vow";
292
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
293
+ };
294
+ }>;
295
+ } | {};
296
+ storagePath: string;
297
+ };
298
+ };
299
+ }>;
300
+ getPublicTopics(): Vow<{
301
+ [x: string]: {
302
+ description?: string | undefined;
303
+ subscriber: {
304
+ getUpdateSince: (updateCount?: number | bigint | undefined) => Vow<{
305
+ value: {};
306
+ updateCount?: bigint | undefined | undefined;
307
+ }>;
308
+ subscribeAfter: (publishCount?: bigint | undefined) => Vow<{
309
+ head: {
310
+ done: true;
311
+ value: any;
312
+ } | {
313
+ done?: false | undefined;
314
+ value: {};
315
+ };
316
+ publishCount: bigint;
317
+ tail: {
318
+ "Symbol(passStyle)": "tagged";
319
+ [Symbol.toStringTag]: "Vow";
320
+ payload: import("@agoric/vow").VowPayload</*elided*/ any>;
321
+ };
322
+ }>;
323
+ } | {};
324
+ storagePath: string;
325
+ };
326
+ }>;
327
+ getAddress(): {
328
+ chainId: string;
329
+ value: import("../cosmos-api.ts").Bech32Address;
330
+ encoding: "bech32";
331
+ };
262
332
  delegate(validator: CosmosValidatorAddress, amount: AmountArg): Vow<void>;
263
333
  redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Vow<void>;
264
- withdrawReward(validator: CosmosValidatorAddress): Vow<import("../orchestration-api.ts").DenomAmount[]>;
265
- getBalance(denom: import("../orchestration-api.ts").DenomArg): Vow<import("../orchestration-api.ts").DenomAmount>;
266
- getBalances(): Vow<import("../orchestration-api.ts").DenomAmount[]>;
334
+ withdrawReward(validator: CosmosValidatorAddress): Vow<{
335
+ denom: import("../orchestration-api.ts").Denom;
336
+ value: bigint;
337
+ }[]>;
338
+ getBalance(denom: import("../orchestration-api.ts").DenomArg): Vow<{
339
+ denom: import("../orchestration-api.ts").Denom;
340
+ value: bigint;
341
+ }>;
342
+ getBalances(): Vow<{
343
+ denom: import("../orchestration-api.ts").Denom;
344
+ value: bigint;
345
+ }[]>;
267
346
  send(toAccount: AccountIdArg, amount: AmountArg): Vow<void>;
268
347
  sendAll(toAccount: CosmosChainAddress, amounts: AmountArg[]): Vow<void>;
269
348
  transfer(destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions | undefined): Vow<any>;
270
349
  transferWithMeta(destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions | undefined): Vow<{
271
- result: Vow<any> | Promise<any>;
272
- meta: Record<string, any>;
350
+ result: {
351
+ "Symbol(passStyle)": "tagged";
352
+ [Symbol.toStringTag]: "Vow";
353
+ payload: import("@agoric/vow").VowPayload<any>;
354
+ };
355
+ meta: {
356
+ [x: string]: any;
357
+ };
273
358
  }>;
274
359
  transferSteps(amount: AmountArg, msg: import("../orchestration-api.ts").TransferMsg): Vow<void>;
275
- withdrawRewards(): Vow<import("../orchestration-api.ts").DenomAmount[]>;
360
+ withdrawRewards(): Vow<{
361
+ denom: import("../orchestration-api.ts").Denom;
362
+ value: bigint;
363
+ }[]>;
276
364
  undelegate(delegations: {
277
365
  amount: AmountArg;
278
366
  delegator?: CosmosChainAddress;
@@ -280,7 +368,119 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
280
368
  }[]): Vow<void>;
281
369
  deactivate(): Vow<void>;
282
370
  reactivate(): Vow<void>;
283
- getDelegation(validator: CosmosValidatorAddress): Vow<import("@agoric/async-flow").HostInterface<CosmosDelegationResponse>>;
371
+ getDelegation(validator: CosmosValidatorAddress): Vow<{
372
+ delegator: {
373
+ chainId: string;
374
+ value: import("../cosmos-api.ts").Bech32Address;
375
+ encoding: "bech32";
376
+ };
377
+ validator: {
378
+ chainId: string;
379
+ value: {
380
+ readonly [x: number]: string;
381
+ toString: () => string;
382
+ charAt: (pos: number) => string;
383
+ charCodeAt: (index: number) => number;
384
+ concat: (...strings: string[]) => string;
385
+ indexOf: (searchString: string, position?: number) => number;
386
+ lastIndexOf: (searchString: string, position?: number) => number;
387
+ localeCompare: {
388
+ (that: string): number;
389
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
390
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
391
+ };
392
+ match: {
393
+ (regexp: string | RegExp): RegExpMatchArray | null;
394
+ (matcher: {
395
+ [Symbol.match](string: string): RegExpMatchArray | null;
396
+ }): RegExpMatchArray | null;
397
+ };
398
+ replace: {
399
+ (searchValue: string | RegExp, replaceValue: string): string;
400
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
401
+ (searchValue: {
402
+ [Symbol.replace](string: string, replaceValue: string): string;
403
+ }, replaceValue: string): string;
404
+ (searchValue: {
405
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
406
+ }, replacer: (substring: string, ...args: any[]) => string): string;
407
+ };
408
+ search: {
409
+ (regexp: string | RegExp): number;
410
+ (searcher: {
411
+ [Symbol.search](string: string): number;
412
+ }): number;
413
+ };
414
+ slice: (start?: number, end?: number) => string;
415
+ split: {
416
+ (separator: string | RegExp, limit?: number): string[];
417
+ (splitter: {
418
+ [Symbol.split](string: string, limit?: number): string[];
419
+ }, limit?: number): string[];
420
+ };
421
+ substring: (start: number, end?: number) => string;
422
+ toLowerCase: () => string;
423
+ toLocaleLowerCase: {
424
+ (locales?: string | string[]): string;
425
+ (locales?: Intl.LocalesArgument): string;
426
+ };
427
+ toUpperCase: () => string;
428
+ toLocaleUpperCase: {
429
+ (locales?: string | string[]): string;
430
+ (locales?: Intl.LocalesArgument): string;
431
+ };
432
+ trim: () => string;
433
+ readonly length: number;
434
+ substr: (from: number, length?: number) => string;
435
+ valueOf: () => string;
436
+ codePointAt: (pos: number) => number | undefined;
437
+ includes: (searchString: string, position?: number) => boolean;
438
+ endsWith: (searchString: string, endPosition?: number) => boolean;
439
+ normalize: {
440
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
441
+ (form?: string): string;
442
+ };
443
+ repeat: (count: number) => string;
444
+ startsWith: (searchString: string, position?: number) => boolean;
445
+ anchor: (name: string) => string;
446
+ big: () => string;
447
+ blink: () => string;
448
+ bold: () => string;
449
+ fixed: () => string;
450
+ fontcolor: (color: string) => string;
451
+ fontsize: {
452
+ (size: number): string;
453
+ (size: string): string;
454
+ };
455
+ italics: () => string;
456
+ link: (url: string) => string;
457
+ small: () => string;
458
+ strike: () => string;
459
+ sub: () => string;
460
+ sup: () => string;
461
+ padStart: (maxLength: number, fillString?: string) => string;
462
+ padEnd: (maxLength: number, fillString?: string) => string;
463
+ trimEnd: () => string;
464
+ trimStart: () => string;
465
+ trimLeft: () => string;
466
+ trimRight: () => string;
467
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
468
+ replaceAll: {
469
+ (searchValue: string | RegExp, replaceValue: string): string;
470
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
471
+ };
472
+ at: (index: number) => string | undefined;
473
+ isWellFormed: () => boolean;
474
+ toWellFormed: () => string;
475
+ [Symbol.iterator]: () => StringIterator<string>;
476
+ };
477
+ encoding: "bech32";
478
+ };
479
+ amount: {
480
+ denom: import("../orchestration-api.ts").Denom;
481
+ value: bigint;
482
+ };
483
+ }>;
284
484
  getDelegations(): Vow<{
285
485
  delegator: {
286
486
  chainId: string;
@@ -294,65 +494,98 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
294
494
  toString: () => string;
295
495
  charAt: (pos: number) => string;
296
496
  charCodeAt: (index: number) => number;
297
- concat: (...args: string[]) => string;
298
- indexOf: (searchString: string, position?: number | undefined) => number;
299
- lastIndexOf: (searchString: string, position?: number | undefined) => number;
300
- localeCompare: (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions | undefined) => number;
301
- match: ((matcher: {
302
- [Symbol.match](string: string): RegExpMatchArray | null;
303
- }) => null) | ((matcher: {
304
- [Symbol.match](string: string): RegExpMatchArray | null;
305
- }) => import("@agoric/async-flow").HostInterface<RegExpMatchArray>);
306
- replace: (searchValue: {
307
- [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
308
- }, replacer: (substring: string, ...args: any[]) => string) => string;
309
- search: (searcher: {
310
- [Symbol.search](string: string): number;
311
- }) => number;
312
- slice: (start?: number | undefined, end?: number | undefined) => string;
313
- split: (splitter: {
314
- [Symbol.split](string: string, limit?: number): string[];
315
- }, limit?: number | undefined) => string[];
316
- substring: (start: number, end?: number | undefined) => string;
497
+ concat: (...strings: string[]) => string;
498
+ indexOf: (searchString: string, position?: number) => number;
499
+ lastIndexOf: (searchString: string, position?: number) => number;
500
+ localeCompare: {
501
+ (that: string): number;
502
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
503
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
504
+ };
505
+ match: {
506
+ (regexp: string | RegExp): RegExpMatchArray | null;
507
+ (matcher: {
508
+ [Symbol.match](string: string): RegExpMatchArray | null;
509
+ }): RegExpMatchArray | null;
510
+ };
511
+ replace: {
512
+ (searchValue: string | RegExp, replaceValue: string): string;
513
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
514
+ (searchValue: {
515
+ [Symbol.replace](string: string, replaceValue: string): string;
516
+ }, replaceValue: string): string;
517
+ (searchValue: {
518
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
519
+ }, replacer: (substring: string, ...args: any[]) => string): string;
520
+ };
521
+ search: {
522
+ (regexp: string | RegExp): number;
523
+ (searcher: {
524
+ [Symbol.search](string: string): number;
525
+ }): number;
526
+ };
527
+ slice: (start?: number, end?: number) => string;
528
+ split: {
529
+ (separator: string | RegExp, limit?: number): string[];
530
+ (splitter: {
531
+ [Symbol.split](string: string, limit?: number): string[];
532
+ }, limit?: number): string[];
533
+ };
534
+ substring: (start: number, end?: number) => string;
317
535
  toLowerCase: () => string;
318
- toLocaleLowerCase: (locales?: Intl.LocalesArgument) => string;
536
+ toLocaleLowerCase: {
537
+ (locales?: string | string[]): string;
538
+ (locales?: Intl.LocalesArgument): string;
539
+ };
319
540
  toUpperCase: () => string;
320
- toLocaleUpperCase: (locales?: Intl.LocalesArgument) => string;
541
+ toLocaleUpperCase: {
542
+ (locales?: string | string[]): string;
543
+ (locales?: Intl.LocalesArgument): string;
544
+ };
321
545
  trim: () => string;
322
546
  readonly length: number;
323
- substr: (from: number, length?: number | undefined) => string;
547
+ substr: (from: number, length?: number) => string;
324
548
  valueOf: () => string;
325
- codePointAt: ((pos: number) => undefined) | ((pos: number) => number);
326
- includes: ((searchString: string, position?: number | undefined) => false) | ((searchString: string, position?: number | undefined) => true);
327
- endsWith: ((searchString: string, endPosition?: number | undefined) => false) | ((searchString: string, endPosition?: number | undefined) => true);
328
- normalize: (form?: string | undefined) => string;
549
+ codePointAt: (pos: number) => number | undefined;
550
+ includes: (searchString: string, position?: number) => boolean;
551
+ endsWith: (searchString: string, endPosition?: number) => boolean;
552
+ normalize: {
553
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
554
+ (form?: string): string;
555
+ };
329
556
  repeat: (count: number) => string;
330
- startsWith: ((searchString: string, position?: number | undefined) => false) | ((searchString: string, position?: number | undefined) => true);
557
+ startsWith: (searchString: string, position?: number) => boolean;
331
558
  anchor: (name: string) => string;
332
559
  big: () => string;
333
560
  blink: () => string;
334
561
  bold: () => string;
335
562
  fixed: () => string;
336
563
  fontcolor: (color: string) => string;
337
- fontsize: (size: string) => string;
564
+ fontsize: {
565
+ (size: number): string;
566
+ (size: string): string;
567
+ };
338
568
  italics: () => string;
339
569
  link: (url: string) => string;
340
570
  small: () => string;
341
571
  strike: () => string;
342
572
  sub: () => string;
343
573
  sup: () => string;
344
- padStart: (maxLength: number, fillString?: string | undefined) => string;
345
- padEnd: (maxLength: number, fillString?: string | undefined) => string;
574
+ padStart: (maxLength: number, fillString?: string) => string;
575
+ padEnd: (maxLength: number, fillString?: string) => string;
346
576
  trimEnd: () => string;
347
577
  trimStart: () => string;
348
578
  trimLeft: () => string;
349
579
  trimRight: () => string;
350
- matchAll: (regexp: RegExp) => import("@agoric/async-flow").HostInterface<RegExpStringIterator<RegExpExecArray>>;
351
- replaceAll: (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string) => string;
352
- at: ((index: number) => undefined) | ((index: number) => string);
353
- isWellFormed: (() => false) | (() => true);
580
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
581
+ replaceAll: {
582
+ (searchValue: string | RegExp, replaceValue: string): string;
583
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
584
+ };
585
+ at: (index: number) => string | undefined;
586
+ isWellFormed: () => boolean;
354
587
  toWellFormed: () => string;
355
- [Symbol.iterator]: () => import("@agoric/async-flow").HostInterface<StringIterator<string>>;
588
+ [Symbol.iterator]: () => StringIterator<string>;
356
589
  };
357
590
  encoding: "bech32";
358
591
  };
@@ -361,7 +594,21 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
361
594
  value: bigint;
362
595
  };
363
596
  }[]>;
364
- getUnbondingDelegation(validator: CosmosValidatorAddress): Vow<import("@agoric/async-flow").HostInterface<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").UnbondingDelegation>>;
597
+ getUnbondingDelegation(validator: CosmosValidatorAddress): Vow<{
598
+ delegatorAddress: string;
599
+ validatorAddress: string;
600
+ entries: {
601
+ creationHeight: bigint;
602
+ completionTime: {
603
+ seconds: bigint;
604
+ nanos: number;
605
+ };
606
+ initialBalance: string;
607
+ balance: string;
608
+ unbondingId: bigint;
609
+ unbondingOnHoldRefCount: bigint;
610
+ }[];
611
+ }>;
365
612
  getUnbondingDelegations(): Vow<{
366
613
  delegatorAddress: string;
367
614
  validatorAddress: string;
@@ -409,8 +656,124 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
409
656
  balance: string;
410
657
  }[];
411
658
  }[]>;
412
- getReward(validator: CosmosValidatorAddress): Vow<import("../orchestration-api.ts").DenomAmount[]>;
413
- getRewards(): Vow<import("@agoric/async-flow").HostInterface<CosmosRewardsResponse>>;
659
+ getReward(validator: CosmosValidatorAddress): Vow<{
660
+ denom: import("../orchestration-api.ts").Denom;
661
+ value: bigint;
662
+ }[]>;
663
+ getRewards(): Vow<{
664
+ rewards: {
665
+ validator: {
666
+ chainId: string;
667
+ value: {
668
+ readonly [x: number]: string;
669
+ toString: () => string;
670
+ charAt: (pos: number) => string;
671
+ charCodeAt: (index: number) => number;
672
+ concat: (...strings: string[]) => string;
673
+ indexOf: (searchString: string, position?: number) => number;
674
+ lastIndexOf: (searchString: string, position?: number) => number;
675
+ localeCompare: {
676
+ (that: string): number;
677
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
678
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
679
+ };
680
+ match: {
681
+ (regexp: string | RegExp): RegExpMatchArray | null;
682
+ (matcher: {
683
+ [Symbol.match](string: string): RegExpMatchArray | null;
684
+ }): RegExpMatchArray | null;
685
+ };
686
+ replace: {
687
+ (searchValue: string | RegExp, replaceValue: string): string;
688
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
689
+ (searchValue: {
690
+ [Symbol.replace](string: string, replaceValue: string): string;
691
+ }, replaceValue: string): string;
692
+ (searchValue: {
693
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
694
+ }, replacer: (substring: string, ...args: any[]) => string): string;
695
+ };
696
+ search: {
697
+ (regexp: string | RegExp): number;
698
+ (searcher: {
699
+ [Symbol.search](string: string): number;
700
+ }): number;
701
+ };
702
+ slice: (start?: number, end?: number) => string;
703
+ split: {
704
+ (separator: string | RegExp, limit?: number): string[];
705
+ (splitter: {
706
+ [Symbol.split](string: string, limit?: number): string[];
707
+ }, limit?: number): string[];
708
+ };
709
+ substring: (start: number, end?: number) => string;
710
+ toLowerCase: () => string;
711
+ toLocaleLowerCase: {
712
+ (locales?: string | string[]): string;
713
+ (locales?: Intl.LocalesArgument): string;
714
+ };
715
+ toUpperCase: () => string;
716
+ toLocaleUpperCase: {
717
+ (locales?: string | string[]): string;
718
+ (locales?: Intl.LocalesArgument): string;
719
+ };
720
+ trim: () => string;
721
+ readonly length: number;
722
+ substr: (from: number, length?: number) => string;
723
+ valueOf: () => string;
724
+ codePointAt: (pos: number) => number | undefined;
725
+ includes: (searchString: string, position?: number) => boolean;
726
+ endsWith: (searchString: string, endPosition?: number) => boolean;
727
+ normalize: {
728
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
729
+ (form?: string): string;
730
+ };
731
+ repeat: (count: number) => string;
732
+ startsWith: (searchString: string, position?: number) => boolean;
733
+ anchor: (name: string) => string;
734
+ big: () => string;
735
+ blink: () => string;
736
+ bold: () => string;
737
+ fixed: () => string;
738
+ fontcolor: (color: string) => string;
739
+ fontsize: {
740
+ (size: number): string;
741
+ (size: string): string;
742
+ };
743
+ italics: () => string;
744
+ link: (url: string) => string;
745
+ small: () => string;
746
+ strike: () => string;
747
+ sub: () => string;
748
+ sup: () => string;
749
+ padStart: (maxLength: number, fillString?: string) => string;
750
+ padEnd: (maxLength: number, fillString?: string) => string;
751
+ trimEnd: () => string;
752
+ trimStart: () => string;
753
+ trimLeft: () => string;
754
+ trimRight: () => string;
755
+ matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
756
+ replaceAll: {
757
+ (searchValue: string | RegExp, replaceValue: string): string;
758
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
759
+ };
760
+ at: (index: number) => string | undefined;
761
+ isWellFormed: () => boolean;
762
+ toWellFormed: () => string;
763
+ [Symbol.iterator]: () => StringIterator<string>;
764
+ };
765
+ encoding: "bech32";
766
+ };
767
+ reward: {
768
+ denom: import("../orchestration-api.ts").Denom;
769
+ value: bigint;
770
+ }[];
771
+ }[];
772
+ total: {
773
+ denom: import("../orchestration-api.ts").Denom;
774
+ value: bigint;
775
+ }[];
776
+ }>;
414
777
  executeEncodedTx(msgs: {
415
778
  $typeUrl?: "/google.protobuf.Any" | string | undefined;
416
779
  typeUrl: string;
@@ -1 +1 @@
1
- {"version":3,"file":"cosmos-orchestration-account.d.ts","sourceRoot":"","sources":["cosmos-orchestration-account.js"],"names":[],"mappings":"AAqPA,wCAAwC;AACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAaG;AAOH;;;;;;;;;;;GAoBE;AAYK,2DARI,IAAI,gGAEZ;IAAyB,QAAQ,EAAzB,QAAQ;IACgB,eAAe,EAAvC,eAAe;IACc,YAAY,EAAzC,OAAO,YAAY,CAAC;IACH,QAAQ,EAAzB,QAAQ;IACI,GAAG,EAAf,GAAG;CACb;kBA8Ic,kBAAkB;kBAClB,eAAe;mBACf,gBAAgB;;aAEhB,UAAU;;;;;;;WAGV,OAAO,YAAY,CAAC;;;QAuC3B,wDAAwD;;;QAYxD;;;WAGG;6BAFQ,SAAS,GACP,IAAI;;;QASjB;;;;;;;;;;;WAWG;oDARQ,CACN,MAAM,EAAE,UAAU,QAAQ,CAAC,EAC3B,EAAE,EAAE,eAAe,EACnB,YAAY,EAAE,WAAW,EACzB,EAAE,EAAE,gBAAgB,CACrB,8BACO;YAAE,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;SAAE,YAC/C,MAAM;;;;;;;;;;;QA8CjB;;WAEG;8BADQ,SAAS,aAAa,CAAC,EAAE;;;QASpC;;;WAGG;8BAFQ,SAAS,aAAa,CAAC,EAAE,GACvB,wBAAwB;;;QAgB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