juno-network 0.2.1 → 0.2.2

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 (72) hide show
  1. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +190 -0
  2. package/main/codegen/cosmos/base/v1beta1/coin.js +268 -0
  3. package/main/codegen/cosmos/bundle.js +4 -4
  4. package/main/codegen/cosmwasm/bundle.js +4 -4
  5. package/main/codegen/ibc/bundle.js +25 -15
  6. package/main/codegen/ibc/client.js +6 -2
  7. package/main/codegen/ibc/core/client/v1/client.js +585 -0
  8. package/main/codegen/ibc/core/client/v1/genesis.js +367 -0
  9. package/main/codegen/ibc/core/client/v1/query.js +1047 -0
  10. package/main/codegen/ibc/core/client/v1/query.lcd.js +381 -0
  11. package/main/codegen/ibc/core/client/v1/query.rpc.query.js +125 -0
  12. package/main/codegen/ibc/core/client/v1/tx.amino.js +149 -0
  13. package/main/codegen/ibc/core/client/v1/tx.js +538 -0
  14. package/main/codegen/ibc/core/client/v1/tx.registry.js +160 -0
  15. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +81 -0
  16. package/main/codegen/ibc/lcd.js +21 -6
  17. package/main/codegen/ibc/rpc.query.js +19 -6
  18. package/main/codegen/ibc/rpc.tx.js +19 -6
  19. package/main/codegen/juno/bundle.js +6 -6
  20. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +189 -0
  21. package/module/codegen/cosmos/base/v1beta1/coin.js +268 -0
  22. package/module/codegen/cosmos/bundle.js +4 -4
  23. package/module/codegen/cosmwasm/bundle.js +4 -4
  24. package/module/codegen/ibc/bundle.js +20 -15
  25. package/module/codegen/ibc/client.js +4 -2
  26. package/module/codegen/ibc/core/client/v1/client.js +549 -0
  27. package/module/codegen/ibc/core/client/v1/genesis.js +287 -0
  28. package/module/codegen/ibc/core/client/v1/query.js +1029 -0
  29. package/module/codegen/ibc/core/client/v1/query.lcd.js +128 -0
  30. package/module/codegen/ibc/core/client/v1/query.rpc.query.js +69 -0
  31. package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
  32. package/module/codegen/ibc/core/client/v1/tx.js +544 -0
  33. package/module/codegen/ibc/core/client/v1/tx.registry.js +159 -0
  34. package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +41 -0
  35. package/module/codegen/ibc/lcd.js +5 -0
  36. package/module/codegen/ibc/rpc.query.js +3 -0
  37. package/module/codegen/ibc/rpc.tx.js +3 -0
  38. package/module/codegen/juno/bundle.js +6 -6
  39. package/package.json +3 -2
  40. package/types/codegen/JunoSwap.client.d.ts +1 -1
  41. package/types/codegen/JunoSwap.react-query.d.ts +11 -11
  42. package/types/codegen/JunoSwap.types.d.ts +1 -1
  43. package/types/codegen/contracts.d.ts +5 -5
  44. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +3 -3
  45. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +79 -0
  46. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +58 -0
  47. package/types/codegen/cosmos/bundle.d.ts +758 -153
  48. package/types/codegen/cosmos/client.d.ts +6 -2
  49. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +2 -2
  50. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +2 -2
  51. package/types/codegen/cosmwasm/bundle.d.ts +87 -18
  52. package/types/codegen/cosmwasm/client.d.ts +8 -2
  53. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +2 -2
  54. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +2 -2
  55. package/types/codegen/ibc/bundle.d.ts +878 -64
  56. package/types/codegen/ibc/client.d.ts +8 -2
  57. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
  58. package/types/codegen/ibc/core/client/v1/client.d.ts +143 -0
  59. package/types/codegen/ibc/core/client/v1/genesis.d.ts +56 -0
  60. package/types/codegen/ibc/core/client/v1/query.d.ts +263 -0
  61. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +15 -0
  62. package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +25 -0
  63. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  64. package/types/codegen/ibc/core/client/v1/tx.d.ts +131 -0
  65. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +96 -0
  66. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
  67. package/types/codegen/ibc/lcd.d.ts +3 -0
  68. package/types/codegen/ibc/rpc.query.d.ts +3 -0
  69. package/types/codegen/ibc/rpc.tx.d.ts +3 -0
  70. package/types/codegen/index.d.ts +1 -1
  71. package/types/codegen/juno/bundle.d.ts +6 -6
  72. package/types/codegen/juno/mint/query.lcd.d.ts +3 -3
@@ -1,5 +1,9 @@
1
- import { OfflineSigner } from "@cosmjs/proto-signing";
2
- import { SigningStargateClient } from "@cosmjs/stargate";
1
+ import { OfflineSigner, Registry } from "@cosmjs/proto-signing";
2
+ import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
3
+ export declare const getSigningCosmosClientOptions: () => {
4
+ registry: Registry;
5
+ aminoTypes: AminoTypes;
6
+ };
3
7
  export declare const getSigningCosmosClient: ({ rpcEndpoint, signer }: {
4
8
  rpcEndpoint: string;
5
9
  signer: OfflineSigner;
@@ -4,7 +4,7 @@ export declare class LCDQueryClient extends LCDClient {
4
4
  constructor({ restEndpoint }: {
5
5
  restEndpoint: any;
6
6
  });
7
- params(params: QueryParamsRequest): Promise<QueryParamsResponse>;
7
+ params(_params?: QueryParamsRequest): Promise<QueryParamsResponse>;
8
8
  validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponse>;
9
9
  validatorCommission(params: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponse>;
10
10
  validatorSlashes(params: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponse>;
@@ -12,5 +12,5 @@ export declare class LCDQueryClient extends LCDClient {
12
12
  delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponse>;
13
13
  delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
14
14
  delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponse>;
15
- communityPool(params: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
15
+ communityPool(_params?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
16
16
  }
@@ -16,6 +16,6 @@ export declare class LCDQueryClient extends LCDClient {
16
16
  delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
17
17
  delegatorValidator(params: QueryDelegatorValidatorRequest): Promise<QueryDelegatorValidatorResponse>;
18
18
  historicalInfo(params: QueryHistoricalInfoRequest): Promise<QueryHistoricalInfoResponse>;
19
- pool(params: QueryPoolRequest): Promise<QueryPoolResponse>;
20
- params(params: QueryParamsRequest): Promise<QueryParamsResponse>;
19
+ pool(_params?: QueryPoolRequest): Promise<QueryPoolResponse>;
20
+ params(_params?: QueryParamsRequest): Promise<QueryParamsResponse>;
21
21
  }
@@ -396,7 +396,10 @@ export declare namespace cosmwasm {
396
396
  codeId?: any;
397
397
  label?: string;
398
398
  msg?: Uint8Array;
399
- funds?: any[];
399
+ funds?: {
400
+ denom?: string;
401
+ amount?: string;
402
+ }[];
400
403
  }): _98.MsgInstantiateContract;
401
404
  };
402
405
  MsgInstantiateContractResponse: {
@@ -418,7 +421,10 @@ export declare namespace cosmwasm {
418
421
  sender?: string;
419
422
  contract?: string;
420
423
  msg?: Uint8Array;
421
- funds?: any[];
424
+ funds?: {
425
+ denom?: string;
426
+ amount?: string;
427
+ }[];
422
428
  }): _98.MsgExecuteContract;
423
429
  };
424
430
  MsgExecuteContractResponse: {
@@ -526,7 +532,13 @@ export declare namespace cosmwasm {
526
532
  toJSON(message: _97.QueryContractHistoryRequest): unknown;
527
533
  fromPartial(object: {
528
534
  address?: string;
529
- pagination?: any;
535
+ pagination?: {
536
+ key?: Uint8Array;
537
+ offset?: any;
538
+ limit?: any;
539
+ countTotal?: boolean;
540
+ reverse?: boolean;
541
+ };
530
542
  }): _97.QueryContractHistoryRequest;
531
543
  };
532
544
  QueryContractHistoryResponse: {
@@ -544,7 +556,10 @@ export declare namespace cosmwasm {
544
556
  };
545
557
  msg?: Uint8Array;
546
558
  }[];
547
- pagination?: any;
559
+ pagination?: {
560
+ nextKey?: Uint8Array;
561
+ total?: any;
562
+ };
548
563
  }): _97.QueryContractHistoryResponse;
549
564
  };
550
565
  QueryContractsByCodeRequest: {
@@ -554,7 +569,13 @@ export declare namespace cosmwasm {
554
569
  toJSON(message: _97.QueryContractsByCodeRequest): unknown;
555
570
  fromPartial(object: {
556
571
  codeId?: any;
557
- pagination?: any;
572
+ pagination?: {
573
+ key?: Uint8Array;
574
+ offset?: any;
575
+ limit?: any;
576
+ countTotal?: boolean;
577
+ reverse?: boolean;
578
+ };
558
579
  }): _97.QueryContractsByCodeRequest;
559
580
  };
560
581
  QueryContractsByCodeResponse: {
@@ -564,7 +585,10 @@ export declare namespace cosmwasm {
564
585
  toJSON(message: _97.QueryContractsByCodeResponse): unknown;
565
586
  fromPartial(object: {
566
587
  contracts?: string[];
567
- pagination?: any;
588
+ pagination?: {
589
+ nextKey?: Uint8Array;
590
+ total?: any;
591
+ };
568
592
  }): _97.QueryContractsByCodeResponse;
569
593
  };
570
594
  QueryAllContractStateRequest: {
@@ -574,7 +598,13 @@ export declare namespace cosmwasm {
574
598
  toJSON(message: _97.QueryAllContractStateRequest): unknown;
575
599
  fromPartial(object: {
576
600
  address?: string;
577
- pagination?: any;
601
+ pagination?: {
602
+ key?: Uint8Array;
603
+ offset?: any;
604
+ limit?: any;
605
+ countTotal?: boolean;
606
+ reverse?: boolean;
607
+ };
578
608
  }): _97.QueryAllContractStateRequest;
579
609
  };
580
610
  QueryAllContractStateResponse: {
@@ -587,7 +617,10 @@ export declare namespace cosmwasm {
587
617
  key?: Uint8Array;
588
618
  value?: Uint8Array;
589
619
  }[];
590
- pagination?: any;
620
+ pagination?: {
621
+ nextKey?: Uint8Array;
622
+ total?: any;
623
+ };
591
624
  }): _97.QueryAllContractStateResponse;
592
625
  };
593
626
  QueryRawContractStateRequest: {
@@ -668,7 +701,13 @@ export declare namespace cosmwasm {
668
701
  fromJSON(object: any): _97.QueryCodesRequest;
669
702
  toJSON(message: _97.QueryCodesRequest): unknown;
670
703
  fromPartial(object: {
671
- pagination?: any;
704
+ pagination?: {
705
+ key?: Uint8Array;
706
+ offset?: any;
707
+ limit?: any;
708
+ countTotal?: boolean;
709
+ reverse?: boolean;
710
+ };
672
711
  }): _97.QueryCodesRequest;
673
712
  };
674
713
  QueryCodesResponse: {
@@ -682,7 +721,10 @@ export declare namespace cosmwasm {
682
721
  creator?: string;
683
722
  dataHash?: Uint8Array;
684
723
  }[];
685
- pagination?: any;
724
+ pagination?: {
725
+ nextKey?: Uint8Array;
726
+ total?: any;
727
+ };
686
728
  }): _97.QueryCodesResponse;
687
729
  };
688
730
  QueryPinnedCodesRequest: {
@@ -691,7 +733,13 @@ export declare namespace cosmwasm {
691
733
  fromJSON(object: any): _97.QueryPinnedCodesRequest;
692
734
  toJSON(message: _97.QueryPinnedCodesRequest): unknown;
693
735
  fromPartial(object: {
694
- pagination?: any;
736
+ pagination?: {
737
+ key?: Uint8Array;
738
+ offset?: any;
739
+ limit?: any;
740
+ countTotal?: boolean;
741
+ reverse?: boolean;
742
+ };
695
743
  }): _97.QueryPinnedCodesRequest;
696
744
  };
697
745
  QueryPinnedCodesResponse: {
@@ -701,7 +749,10 @@ export declare namespace cosmwasm {
701
749
  toJSON(message: _97.QueryPinnedCodesResponse): unknown;
702
750
  fromPartial(object: {
703
751
  codeIds?: any[];
704
- pagination?: any;
752
+ pagination?: {
753
+ nextKey?: Uint8Array;
754
+ total?: any;
755
+ };
705
756
  }): _97.QueryPinnedCodesResponse;
706
757
  };
707
758
  StoreCodeProposal: {
@@ -733,7 +784,10 @@ export declare namespace cosmwasm {
733
784
  codeId?: any;
734
785
  label?: string;
735
786
  msg?: Uint8Array;
736
- funds?: any[];
787
+ funds?: {
788
+ denom?: string;
789
+ amount?: string;
790
+ }[];
737
791
  }): _96.InstantiateContractProposal;
738
792
  };
739
793
  MigrateContractProposal: {
@@ -772,7 +826,10 @@ export declare namespace cosmwasm {
772
826
  runAs?: string;
773
827
  contract?: string;
774
828
  msg?: Uint8Array;
775
- funds?: any[];
829
+ funds?: {
830
+ denom?: string;
831
+ amount?: string;
832
+ }[];
776
833
  }): _96.ExecuteContractProposal;
777
834
  };
778
835
  UpdateAdminProposal: {
@@ -909,13 +966,19 @@ export declare namespace cosmwasm {
909
966
  codeId?: any;
910
967
  label?: string;
911
968
  msg?: Uint8Array;
912
- funds?: any[];
969
+ funds?: {
970
+ denom?: string;
971
+ amount?: string;
972
+ }[];
913
973
  };
914
974
  executeContract?: {
915
975
  sender?: string;
916
976
  contract?: string;
917
977
  msg?: Uint8Array;
918
- funds?: any[];
978
+ funds?: {
979
+ denom?: string;
980
+ amount?: string;
981
+ }[];
919
982
  };
920
983
  }[];
921
984
  }): _94.GenesisState;
@@ -940,13 +1003,19 @@ export declare namespace cosmwasm {
940
1003
  codeId?: any;
941
1004
  label?: string;
942
1005
  msg?: Uint8Array;
943
- funds?: any[];
1006
+ funds?: {
1007
+ denom?: string;
1008
+ amount?: string;
1009
+ }[];
944
1010
  };
945
1011
  executeContract?: {
946
1012
  sender?: string;
947
1013
  contract?: string;
948
1014
  msg?: Uint8Array;
949
- funds?: any[];
1015
+ funds?: {
1016
+ denom?: string;
1017
+ amount?: string;
1018
+ }[];
950
1019
  };
951
1020
  }): _94.GenesisState_GenMsgs;
952
1021
  };
@@ -1,5 +1,11 @@
1
- import { OfflineSigner, GeneratedType } from "@cosmjs/proto-signing";
2
- import { SigningStargateClient } from "@cosmjs/stargate";
1
+ import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing";
2
+ import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
3
+ export declare const getSigningCosmwasmClientOptions: ({ defaultTypes }?: {
4
+ defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
5
+ }) => {
6
+ registry: Registry;
7
+ aminoTypes: AminoTypes;
8
+ };
3
9
  export declare const getSigningCosmwasmClient: ({ rpcEndpoint, signer, defaultTypes }: {
4
10
  rpcEndpoint: string;
5
11
  signer: OfflineSigner;
@@ -11,6 +11,6 @@ export declare class LCDQueryClient extends LCDClient {
11
11
  rawContractState(params: QueryRawContractStateRequest): Promise<QueryRawContractStateResponse>;
12
12
  smartContractState(params: QuerySmartContractStateRequest): Promise<QuerySmartContractStateResponse>;
13
13
  code(params: QueryCodeRequest): Promise<QueryCodeResponse>;
14
- codes(params: QueryCodesRequest): Promise<QueryCodesResponse>;
15
- pinnedCodes(params: QueryPinnedCodesRequest): Promise<QueryPinnedCodesResponse>;
14
+ codes(params?: QueryCodesRequest): Promise<QueryCodesResponse>;
15
+ pinnedCodes(params?: QueryPinnedCodesRequest): Promise<QueryPinnedCodesResponse>;
16
16
  }
@@ -5,6 +5,6 @@ export declare class LCDQueryClient extends LCDClient {
5
5
  restEndpoint: any;
6
6
  });
7
7
  denomTrace(params: QueryDenomTraceRequest): Promise<QueryDenomTraceResponse>;
8
- denomTraces(params: QueryDenomTracesRequest): Promise<QueryDenomTracesResponse>;
9
- params(params: QueryParamsRequest): Promise<QueryParamsResponse>;
8
+ denomTraces(params?: QueryDenomTracesRequest): Promise<QueryDenomTracesResponse>;
9
+ params(_params?: QueryParamsRequest): Promise<QueryParamsResponse>;
10
10
  }