@zuhaibnoor/zigchain-sdk 1.1.1 → 1.1.3

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 (61) hide show
  1. package/README.md +21 -24
  2. package/dist/auth/ChainAuthApi.d.ts +6 -6
  3. package/dist/auth/ChainAuthApi.d.ts.map +1 -1
  4. package/dist/bank/ChainBankApi.d.ts +11 -12
  5. package/dist/bank/ChainBankApi.d.ts.map +1 -1
  6. package/dist/block/ChainBlockApi.d.ts +1 -1
  7. package/dist/circuit/ChainCircuitApi.d.ts +2 -3
  8. package/dist/circuit/ChainCircuitApi.d.ts.map +1 -1
  9. package/dist/client/http.d.ts +2 -2
  10. package/dist/client/http.d.ts.map +1 -1
  11. package/dist/client/http.js.map +1 -1
  12. package/dist/consensus/ChainConsensusApi.d.ts +5 -1
  13. package/dist/consensus/ChainConsensusApi.d.ts.map +1 -1
  14. package/dist/consensus/ChainConsensusApi.js +16 -0
  15. package/dist/consensus/ChainConsensusApi.js.map +1 -1
  16. package/dist/consensus/types.d.ts +55 -0
  17. package/dist/consensus/types.d.ts.map +1 -1
  18. package/dist/dex/ChainDexApi.d.ts +4 -5
  19. package/dist/dex/ChainDexApi.d.ts.map +1 -1
  20. package/dist/distribution/ChainDistributionApi.d.ts +10 -11
  21. package/dist/distribution/ChainDistributionApi.d.ts.map +1 -1
  22. package/dist/evidence/ChainEvidenceApi.d.ts +2 -3
  23. package/dist/evidence/ChainEvidenceApi.d.ts.map +1 -1
  24. package/dist/factory/ChainFactoryApi.d.ts +4 -5
  25. package/dist/factory/ChainFactoryApi.d.ts.map +1 -1
  26. package/dist/feegrant/ChainFeegrantApi.d.ts +3 -4
  27. package/dist/feegrant/ChainFeegrantApi.d.ts.map +1 -1
  28. package/dist/gov/ChainGovApi.d.ts +5 -6
  29. package/dist/gov/ChainGovApi.d.ts.map +1 -1
  30. package/dist/ibc/ibcChannel/ChainIbcChannelApi.d.ts +12 -13
  31. package/dist/ibc/ibcChannel/ChainIbcChannelApi.d.ts.map +1 -1
  32. package/dist/ibc/ibcClient/ChainIbcClientApi.d.ts +8 -9
  33. package/dist/ibc/ibcClient/ChainIbcClientApi.d.ts.map +1 -1
  34. package/dist/ibc/ibcConnection/ChainIbcConnectionApi.d.ts +4 -5
  35. package/dist/ibc/ibcConnection/ChainIbcConnectionApi.d.ts.map +1 -1
  36. package/dist/ibc-transfer/ChainIbcTransferApi.d.ts +5 -6
  37. package/dist/ibc-transfer/ChainIbcTransferApi.d.ts.map +1 -1
  38. package/dist/interchain-accounts/ChainInterChainAccApi.d.ts +2 -3
  39. package/dist/interchain-accounts/ChainInterChainAccApi.d.ts.map +1 -1
  40. package/dist/mint/ChainMintApi.d.ts +3 -4
  41. package/dist/mint/ChainMintApi.d.ts.map +1 -1
  42. package/dist/networks/endpoints.d.ts +1 -0
  43. package/dist/networks/endpoints.d.ts.map +1 -1
  44. package/dist/networks/endpoints.js +7 -1
  45. package/dist/networks/endpoints.js.map +1 -1
  46. package/dist/runtime/ChainRuntimeApi.d.ts +1 -2
  47. package/dist/runtime/ChainRuntimeApi.d.ts.map +1 -1
  48. package/dist/slashing/ChainSlashingApi.d.ts +3 -4
  49. package/dist/slashing/ChainSlashingApi.d.ts.map +1 -1
  50. package/dist/staking/ChainStakingApi.d.ts +13 -16
  51. package/dist/staking/ChainStakingApi.d.ts.map +1 -1
  52. package/dist/tokenwrapper/ChainTokenWrapperApi.d.ts +3 -4
  53. package/dist/tokenwrapper/ChainTokenWrapperApi.d.ts.map +1 -1
  54. package/dist/upgrade/ChainUpgradeApi.d.ts +3 -4
  55. package/dist/upgrade/ChainUpgradeApi.d.ts.map +1 -1
  56. package/dist/validator-set/ChainValidator.d.ts +1 -2
  57. package/dist/validator-set/ChainValidator.d.ts.map +1 -1
  58. package/dist/wasm/ChainWasmApi.d.ts +10 -11
  59. package/dist/wasm/ChainWasmApi.d.ts.map +1 -1
  60. package/docs/consensus.md +600 -0
  61. package/package.json +1 -1
@@ -1,55 +1,54 @@
1
1
  import type { NetworkEndpoints } from '../../networks/endpoints.js';
2
- import type { IbcChannelsResponse, IbcChannelClientStateResponse, IbcConnectionChannelsResponse, IbcChannelEndResponse, IbcNextSequenceReceiveResponse, IbcNextSequenceSendResponse, IbcPacketAcknowledgementResponse, IbcPacketCommitmentResponse, IbcPacketCommitmentsResponse, IbcPacketReceiptResponse, IbcUnreceivedAcksResponse, IbcUnreceivedPacketsResponse } from './types.js';
3
2
  export declare class ChainIbcChannelApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
5
  /**
7
6
  * zigchaind query ibc channel channels
8
7
  */
9
- fetchChannels(): Promise<IbcChannelsResponse>;
8
+ fetchChannels(): Promise<any>;
10
9
  /**
11
10
  * zigchaind query ibc channel client-state <port-id> <channel-id>
12
11
  */
13
- fetchChannelClientState(portId: string, channelId: string): Promise<IbcChannelClientStateResponse>;
12
+ fetchChannelClientState(portId: string, channelId: string): Promise<any>;
14
13
  /**
15
14
  * zigchaind query ibc channel connections <connection-id>
16
15
  */
17
- fetchChannelsByConnection(connectionId: string): Promise<IbcConnectionChannelsResponse>;
16
+ fetchChannelsByConnection(connectionId: string): Promise<any>;
18
17
  /**
19
18
  * zigchaind query ibc channel end <port-id> <channel-id>
20
19
  */
21
- fetchChannelEnd(portId: string, channelId: string): Promise<IbcChannelEndResponse>;
20
+ fetchChannelEnd(portId: string, channelId: string): Promise<any>;
22
21
  /**
23
22
  * zigchaind query ibc channel next-sequence-receive <port-id> <channel-id>
24
23
  */
25
- fetchNextSequenceReceive(portId: string, channelId: string): Promise<IbcNextSequenceReceiveResponse>;
24
+ fetchNextSequenceReceive(portId: string, channelId: string): Promise<any>;
26
25
  /**
27
26
  * zigchaind query ibc channel next-sequence-send <port-id> <channel-id>
28
27
  */
29
- fetchNextSequenceSend(portId: string, channelId: string): Promise<IbcNextSequenceSendResponse>;
28
+ fetchNextSequenceSend(portId: string, channelId: string): Promise<any>;
30
29
  /**
31
30
  * zigchaind query ibc channel packet-ack <port-id> <channel-id> <sequence>
32
31
  */
33
- fetchPacketAcknowledgement(portId: string, channelId: string, sequence: number | string): Promise<IbcPacketAcknowledgementResponse>;
32
+ fetchPacketAcknowledgement(portId: string, channelId: string, sequence: number | string): Promise<any>;
34
33
  /**
35
34
  * zigchaind query ibc channel packet-commitment <port-id> <channel-id> <sequence>
36
35
  */
37
- fetchPacketCommitment(portId: string, channelId: string, sequence: number | string): Promise<IbcPacketCommitmentResponse>;
36
+ fetchPacketCommitment(portId: string, channelId: string, sequence: number | string): Promise<any>;
38
37
  /**
39
38
  * zigchaind query ibc channel packet-commitments <port-id> <channel-id>
40
39
  */
41
- fetchPacketCommitments(portId: string, channelId: string): Promise<IbcPacketCommitmentsResponse>;
40
+ fetchPacketCommitments(portId: string, channelId: string): Promise<any>;
42
41
  /**
43
42
  * zigchaind query ibc channel packet-receipt <port-id> <channel-id> <sequence>
44
43
  */
45
- fetchPacketReceipt(portId: string, channelId: string, sequence: number | string): Promise<IbcPacketReceiptResponse>;
44
+ fetchPacketReceipt(portId: string, channelId: string, sequence: number | string): Promise<any>;
46
45
  /**
47
46
  * zigchaind query ibc channel unreceived-acks <port-id> <channel-id> <sequences>
48
47
  */
49
- fetchUnreceivedAcks(portId: string, channelId: string, sequences: (number | string)[]): Promise<IbcUnreceivedAcksResponse>;
48
+ fetchUnreceivedAcks(portId: string, channelId: string, sequences: (number | string)[]): Promise<any>;
50
49
  /**
51
50
  * zigchaind query ibc channel unreceived-packets <port-id> <channel-id> <sequences>
52
51
  */
53
- fetchUnreceivedPackets(portId: string, channelId: string, sequences: (number | string)[]): Promise<IbcUnreceivedPacketsResponse>;
52
+ fetchUnreceivedPackets(portId: string, channelId: string, sequences: (number | string)[]): Promise<any>;
54
53
  }
55
54
  //# sourceMappingURL=ChainIbcChannelApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainIbcChannelApi.d.ts","sourceRoot":"","sources":["../../../src/ibc/ibcChannel/ChainI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,MAAM,GAAG,MAAM;IAO3B;;KAEC;IACK,mBAAmB,CACvB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE;IAQhC;;KAEC;IACK,sBAAsB,CAC1B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE;CAWjC"}
@@ -1,15 +1,14 @@
1
1
  import type { NetworkEndpoints } from '../../networks/endpoints.js';
2
- import type { ConsensusStateResponse, ConsensusStatesResponse, ConsensusStateHeightsResponse, ClientCreatorResponse, ClientParamsResponse, ClientStateResponse, ClientStatesResponse, ClientStatusResponse } from './types.js';
3
2
  export declare class ChainIbcClientApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
- fetchConsensusState(clientId: string, height: number | string, rev_no: number | string): Promise<ConsensusStateResponse>;
7
- fetchConsensusStates(clientId: string): Promise<ConsensusStatesResponse>;
8
- fetchConsensusStateHeights(clientId: string): Promise<ConsensusStateHeightsResponse>;
9
- fetchClientCreator(clientId: string): Promise<ClientCreatorResponse>;
10
- fetchClientParams(): Promise<ClientParamsResponse>;
11
- fetchClientState(clientId: string): Promise<ClientStateResponse>;
12
- fetchClientStates(): Promise<ClientStatesResponse>;
13
- fetchClientStatus(clientId: string): Promise<ClientStatusResponse>;
5
+ fetchConsensusState(clientId: string, height: number | string, rev_no: number | string): Promise<any>;
6
+ fetchConsensusStates(clientId: string): Promise<any>;
7
+ fetchConsensusStateHeights(clientId: string): Promise<any>;
8
+ fetchClientCreator(clientId: string): Promise<any>;
9
+ fetchClientParams(): Promise<any>;
10
+ fetchClientState(clientId: string): Promise<any>;
11
+ fetchClientStates(): Promise<any>;
12
+ fetchClientStatus(clientId: string): Promise<any>;
14
13
  }
15
14
  //# sourceMappingURL=ChainIbcClientApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainIbcClientApi.d.ts","sourceRoot":"","sources":["../../../src/ibc/ibcClient/ChainIbcClientApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,KAAK,EAEV,sBAAsB,EACtB,uBAAuB,EACvB,6BAA6B,EAE7B,qBAAqB,EAErB,oBAAoB,EAEpB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EAErB,MAAM,YAAY,CAAA;AAEnB,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAOtF,oBAAoB,CAAC,QAAQ,EAAE,MAAM;IAOrC,0BAA0B,CAAC,QAAQ,EAAE,MAAM;IAO3C,kBAAkB,CAAC,QAAQ,EAAE,MAAM;IAMlC,iBAAiB;IAOxB,gBAAgB,CAAC,QAAQ,EAAE,MAAM;IAO3B,iBAAiB;IAOjB,iBAAiB,CAAC,QAAQ,EAAE,MAAM;CAMzC"}
1
+ {"version":3,"file":"ChainIbcClientApi.d.ts","sourceRoot":"","sources":["../../../src/ibc/ibcClient/ChainIbcClientApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAiBnE,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAOtF,oBAAoB,CAAC,QAAQ,EAAE,MAAM;IAOrC,0BAA0B,CAAC,QAAQ,EAAE,MAAM;IAO3C,kBAAkB,CAAC,QAAQ,EAAE,MAAM;IAMlC,iBAAiB;IAOxB,gBAAgB,CAAC,QAAQ,EAAE,MAAM;IAO3B,iBAAiB;IAOjB,iBAAiB,CAAC,QAAQ,EAAE,MAAM;CAMzC"}
@@ -1,11 +1,10 @@
1
1
  import type { NetworkEndpoints } from '../../networks/endpoints.js';
2
- import type { ConnectionsResponse, ConnectionEndResponse, ConnectionParamsResponse, ClientConnectionPathsResponse } from './types.js';
3
2
  export declare class ChainIbcConnectionApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
- fetchConnections(): Promise<ConnectionsResponse>;
7
- fetchConnectionEnd(connectionId: string): Promise<ConnectionEndResponse>;
8
- fetchConnectionParams(): Promise<ConnectionParamsResponse>;
9
- fetchClientConnectionPaths(clientId: string): Promise<ClientConnectionPathsResponse>;
5
+ fetchConnections(): Promise<any>;
6
+ fetchConnectionEnd(connectionId: string): Promise<any>;
7
+ fetchConnectionParams(): Promise<any>;
8
+ fetchClientConnectionPaths(clientId: string): Promise<any>;
10
9
  }
11
10
  //# sourceMappingURL=ChainIbcConnectionApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainIbcConnectionApi.d.ts","sourceRoot":"","sources":["../../../src/ibc/ibcConnection/ChainIbcConnectionApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,KAAK,EACV,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,YAAY,CAAA;AAEnB,qBAAa,qBAAqB;IAChC,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,gBAAgB;IAOhB,kBAAkB,CAAC,YAAY,EAAE,MAAM;IAOvC,qBAAqB;IAOrB,0BAA0B,CAAC,QAAQ,EAAE,MAAM;CAKlD"}
1
+ {"version":3,"file":"ChainIbcConnectionApi.d.ts","sourceRoot":"","sources":["../../../src/ibc/ibcConnection/ChainIbcConnectionApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAQnE,qBAAa,qBAAqB;IAChC,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,gBAAgB;IAOhB,kBAAkB,CAAC,YAAY,EAAE,MAAM;IAOvC,qBAAqB;IAOrB,0BAA0B,CAAC,QAAQ,EAAE,MAAM;CAKlD"}
@@ -1,12 +1,11 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { DenomTraceResponse, DenomHashResponse, DenomsResponse, EscrowAddressResponse, TransferParamsResponse } from './types.js';
3
2
  export declare class ChainIbcTransferApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
- fetchDenomByHash(hash: string): Promise<DenomTraceResponse>;
7
- fetchDenomHash(portId: string, channel_id: string, denom: string): Promise<DenomHashResponse>;
8
- fetchDenoms(): Promise<DenomsResponse>;
9
- fetchEscrowAddress(portId: string, channelId: string): Promise<EscrowAddressResponse>;
10
- fetchTransferParams(): Promise<TransferParamsResponse>;
5
+ fetchDenomByHash(hash: string): Promise<any>;
6
+ fetchDenomHash(portId: string, channel_id: string, denom: string): Promise<any>;
7
+ fetchDenoms(): Promise<any>;
8
+ fetchEscrowAddress(portId: string, channelId: string): Promise<any>;
9
+ fetchTransferParams(): Promise<any>;
11
10
  }
12
11
  //# sourceMappingURL=ChainIbcTransferApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainIbcTransferApi.d.ts","sourceRoot":"","sources":["../../src/ibc-transfer/ChainIbcTransferApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAEnB,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAQ7B,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAQhE,WAAW;IAOX,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAOpD,mBAAmB;CAM1B"}
1
+ {"version":3,"file":"ChainIbcTransferApi.d.ts","sourceRoot":"","sources":["../../src/ibc-transfer/ChainIbcTransferApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAShE,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAQ7B,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAQhE,WAAW;IAOX,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAOpD,mBAAmB;CAM1B"}
@@ -1,9 +1,8 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { IcaControllerParamsResponse, IcaHostParamsResponse } from './types.js';
3
2
  export declare class ChainInterchainAccountsApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
- fetchControllerParams(): Promise<IcaControllerParamsResponse>;
7
- fetchHostParams(): Promise<IcaHostParamsResponse>;
5
+ fetchControllerParams(): Promise<any>;
6
+ fetchHostParams(): Promise<any>;
8
7
  }
9
8
  //# sourceMappingURL=ChainInterChainAccApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainInterChainAccApi.d.ts","sourceRoot":"","sources":["../../src/interchain-accounts/ChainInterChainAccApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EAEV,2BAA2B,EAC3B,qBAAqB,EAEtB,MAAM,YAAY,CAAA;AAEnB,qBAAa,0BAA0B;IACrC,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,qBAAqB;IAOrB,eAAe;CAMtB"}
1
+ {"version":3,"file":"ChainInterChainAccApi.d.ts","sourceRoot":"","sources":["../../src/interchain-accounts/ChainInterChainAccApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAQhE,qBAAa,0BAA0B;IACrC,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,qBAAqB;IAOrB,eAAe;CAMtB"}
@@ -1,19 +1,18 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { MintInflationResponse, MintAnnualProvisionsResponse, MintParamsResponse } from './types.js';
3
2
  export declare class ChainMintApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
5
  /**
7
6
  * zigchaind query mint inflation
8
7
  */
9
- fetchInflation(): Promise<MintInflationResponse>;
8
+ fetchInflation(): Promise<any>;
10
9
  /**
11
10
  * zigchaind query mint annual-provisions
12
11
  */
13
- fetchAnnualProvisions(): Promise<MintAnnualProvisionsResponse>;
12
+ fetchAnnualProvisions(): Promise<any>;
14
13
  /**
15
14
  * zigchaind query mint params
16
15
  */
17
- fetchParams(): Promise<MintParamsResponse>;
16
+ fetchParams(): Promise<any>;
18
17
  }
19
18
  //# sourceMappingURL=ChainMintApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainMintApi.d.ts","sourceRoot":"","sources":["../../src/mint/ChainMintApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,qBAAqB,EACrB,4BAA4B,EAC5B,kBAAkB,EACnB,MAAM,YAAY,CAAA;AAEnB,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;OAEG;IACG,cAAc;IAQpB;;OAEG;IACG,qBAAqB;IAQ3B;;OAEG;IACG,WAAW;CAOlB"}
1
+ {"version":3,"file":"ChainMintApi.d.ts","sourceRoot":"","sources":["../../src/mint/ChainMintApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAOhE,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;OAEG;IACG,cAAc;IAQpB;;OAEG;IACG,qBAAqB;IAQ3B;;OAEG;IACG,WAAW;CAOlB"}
@@ -4,4 +4,5 @@ export interface NetworkEndpoints {
4
4
  rpc: string;
5
5
  }
6
6
  export declare function getNetworkEndpoints(network: Network): NetworkEndpoints;
7
+ export declare function setNetworkEndpoints(lcdUrl: string, rpcUrl: string): NetworkEndpoints;
7
8
  //# sourceMappingURL=endpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/networks/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,GACf,gBAAgB,CAiBlB"}
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/networks/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,wBAAgB,mBAAmB,CAAE,OAAO,EAAE,OAAO,GAAI,gBAAgB,CAiBxE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAKpF"}
@@ -9,10 +9,16 @@ export function getNetworkEndpoints(network) {
9
9
  case Network.Mainnet:
10
10
  return {
11
11
  lcd: 'https://public-zigchain-lcd.numia.xyz',
12
- rpc: 'https://public-zigchain-rpc.numia.xyz/'
12
+ rpc: 'https://public-zigchain-rpc.numia.xyz'
13
13
  };
14
14
  default:
15
15
  throw new Error(`Unsupported network: ${network}`);
16
16
  }
17
17
  }
18
+ export function setNetworkEndpoints(lcdUrl, rpcUrl) {
19
+ return {
20
+ lcd: lcdUrl,
21
+ rpc: rpcUrl
22
+ };
23
+ }
18
24
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../src/networks/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,MAAM,UAAU,mBAAmB,CACjC,OAAgB;IAEhB,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,OAAO,CAAC,OAAO;YAClB,OAAO;gBACL,GAAG,EAAE,+CAA+C;gBACpD,GAAG,EAAE,+CAA+C;aACrD,CAAA;QAEH,KAAK,OAAO,CAAC,OAAO;YAClB,OAAO;gBACL,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,wCAAwC;aAC9C,CAAA;QAEH;YACE,MAAM,IAAI,KAAK,CAAC,wBAAwB,OAAO,EAAE,CAAC,CAAA;IACtD,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../src/networks/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,MAAM,UAAU,mBAAmB,CAAE,OAAgB;IACnD,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,OAAO,CAAC,OAAO;YAClB,OAAO;gBACL,GAAG,EAAE,+CAA+C;gBACpD,GAAG,EAAE,+CAA+C;aACrD,CAAA;QAEH,KAAK,OAAO,CAAC,OAAO;YAClB,OAAO;gBACL,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,uCAAuC;aAC7C,CAAA;QAEH;YACE,MAAM,IAAI,KAAK,CAAC,wBAAwB,OAAO,EAAE,CAAC,CAAA;IACtD,CAAC;AACH,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,MAAc,EAAE,MAAc;IAChE,OAAO;QACL,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,MAAM;KACZ,CAAA;AACH,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { RuntimeConfigResponse } from './types.js';
3
2
  export declare class ChainRuntimeApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
@@ -7,6 +6,6 @@ export declare class ChainRuntimeApi {
7
6
  * zigchaind query runtime config
8
7
  * Query the current application runtime configuration
9
8
  */
10
- fetchConfig(): Promise<RuntimeConfigResponse>;
9
+ fetchConfig(): Promise<any>;
11
10
  }
12
11
  //# sourceMappingURL=ChainRuntimeApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainRuntimeApi.d.ts","sourceRoot":"","sources":["../../src/runtime/ChainRuntimeApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,YAAY,CAAA;AAEnB,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;;OAGG;IACG,WAAW;CAQlB"}
1
+ {"version":3,"file":"ChainRuntimeApi.d.ts","sourceRoot":"","sources":["../../src/runtime/ChainRuntimeApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAMhE,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;;OAGG;IACG,WAAW;CAQlB"}
@@ -1,19 +1,18 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { SlashingParamsResponse, SigningInfoResponse, SigningInfosResponse } from './types.js';
3
2
  export declare class ChainSlashingApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
5
  /**
7
6
  * zigchaind query slashing params
8
7
  */
9
- fetchParams(): Promise<SlashingParamsResponse>;
8
+ fetchParams(): Promise<any>;
10
9
  /**
11
10
  * zigchaind query slashing signing-info <valcons-address>
12
11
  */
13
- fetchSigningInfo(valConsAddress: string): Promise<SigningInfoResponse>;
12
+ fetchSigningInfo(valConsAddress: string): Promise<any>;
14
13
  /**
15
14
  * zigchaind query slashing signing-infos
16
15
  */
17
- fetchSigningInfos(): Promise<SigningInfosResponse>;
16
+ fetchSigningInfos(): Promise<any>;
18
17
  }
19
18
  //# sourceMappingURL=ChainSlashingApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainSlashingApi.d.ts","sourceRoot":"","sources":["../../src/slashing/ChainSlashingApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,YAAY,CAAA;AAEnB,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;OAEG;IACG,WAAW;IAQjB;;OAEG;IACG,gBAAgB,CAAC,cAAc,EAAE,MAAM;IAQ7C;;OAEG;IACG,iBAAiB;CAOxB"}
1
+ {"version":3,"file":"ChainSlashingApi.d.ts","sourceRoot":"","sources":["../../src/slashing/ChainSlashingApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAOhE,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;OAEG;IACG,WAAW;IAQjB;;OAEG;IACG,gBAAgB,CAAC,cAAc,EAAE,MAAM;IAQ7C;;OAEG;IACG,iBAAiB;CAOxB"}
@@ -1,60 +1,57 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { DelegationResponse, DelegationsResponse, DelegationsToResponse, DelegatorValidatorResponse, DelegatorValidatorsResponse, StakingParamsResponse, StakingPoolResponse, RedelegationResponse, UnbondingDelegationResponse, UnbondingDelegationsResponse, UnbondingFromValidatorResponse, ValidatorResponse, ValidatorsResponse } from './types.js';
3
2
  export declare class ChainStakingApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
5
  /**
7
6
  * zigchaind query staking delegation
8
7
  */
9
- fetchDelegation(delegatorAddress: string, validatorAddress: string): Promise<{
10
- delegation_response: DelegationResponse;
11
- }>;
8
+ fetchDelegation(delegatorAddress: string, validatorAddress: string): Promise<any>;
12
9
  /**
13
10
  * zigchaind query staking delegations
14
11
  */
15
- fetchDelegations(delegatorAddress: string): Promise<DelegationsResponse>;
16
- fetchValidatorDelegations(validator_addr: string): Promise<DelegationsToResponse>;
12
+ fetchDelegations(delegatorAddress: string): Promise<any>;
13
+ fetchValidatorDelegations(validator_addr: string): Promise<any>;
17
14
  /**
18
15
  * zigchaind query staking delegator-validator
19
16
  * Query validator info for given delegator validator pair
20
17
  */
21
- fetchDelegatorValidator(delegatorAddress: string, validatorAddress: string): Promise<DelegatorValidatorResponse>;
18
+ fetchDelegatorValidator(delegatorAddress: string, validatorAddress: string): Promise<any>;
22
19
  /**
23
20
  * zigchaind query staking delegator-validators
24
21
  * Query all validators info for given delegator address
25
22
  */
26
- fetchDelegatorValidators(delegatorAddress: string): Promise<DelegatorValidatorsResponse>;
23
+ fetchDelegatorValidators(delegatorAddress: string): Promise<any>;
27
24
  /**
28
25
  * zigchaind query staking params
29
26
  */
30
- fetchStakingParams(): Promise<StakingParamsResponse>;
27
+ fetchStakingParams(): Promise<any>;
31
28
  /**
32
29
  * zigchaind query staking pool
33
30
  */
34
- fetchStakingPool(): Promise<StakingPoolResponse>;
31
+ fetchStakingPool(): Promise<any>;
35
32
  /**
36
33
  * zigchaind query staking redelegation
37
34
  */
38
- fetchRedelegation(delegator_addr: string): Promise<RedelegationResponse>;
35
+ fetchRedelegation(delegator_addr: string): Promise<any>;
39
36
  /**
40
37
  * zigchaind query staking unbonding-delegation
41
38
  */
42
- fetchUnbondingDelegation(delegator: string, validator: string): Promise<UnbondingDelegationResponse>;
39
+ fetchUnbondingDelegation(delegator: string, validator: string): Promise<any>;
43
40
  /**
44
41
  * zigchaind query staking unbonding-delegations
45
42
  */
46
- fetchUnbondingDelegations(delegator: string): Promise<UnbondingDelegationsResponse>;
43
+ fetchUnbondingDelegations(delegator: string): Promise<any>;
47
44
  /**
48
45
  * zigchaind query staking unbonding-delegations-from
49
46
  */
50
- fetchUnbondingDelegationsFrom(validator: string): Promise<UnbondingFromValidatorResponse>;
47
+ fetchUnbondingDelegationsFrom(validator: string): Promise<any>;
51
48
  /**
52
49
  * zigchaind query staking validator
53
50
  */
54
- fetchValidator(validator: string): Promise<ValidatorResponse>;
51
+ fetchValidator(validator: string): Promise<any>;
55
52
  /**
56
53
  * zigchaind query staking validators
57
54
  */
58
- fetchValidators(): Promise<ValidatorsResponse>;
55
+ fetchValidators(): Promise<any>;
59
56
  }
60
57
  //# sourceMappingURL=ChainStakingApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainStakingApi.d.ts","sourceRoot":"","sources":["../../src/staking/ChainStakingApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,kBAAkB,EACl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ACnB,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM;IAS1B;;OAEG;IACG,gBAAgB,CAAC,gBAAgB,EAAE,MAAM;IAQzC,yBAAyB,CAAC,cAAc,EAAE,MAAM;IAQtD;;;OAGG;IACG,uBAAuB,CAC3B,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM;IAS1B;;;OAGG;IACG,wBAAwB,CAAC,gBAAgB,EAAE,MAAM;IAmBvD;;OAEG;IACG,kBAAkB;IAQxB;;OAEG;IACG,gBAAgB;IAQtB;;MAEE;IACI,iBAAiB,CACrB,cAAc,EAAE,MAAM;IAQxB;;OAEG;IACG,wBAAwB,CAC5B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM;IASnB;;OAEG;IACG,yBAAyB,CAAC,SAAS,EAAE,MAAM;IAQhD;;MAEE;IACG,6BAA6B,CAAC,SAAS,EAAE,MAAM;IAQrD;;OAEG;IACG,cAAc,CAAC,SAAS,EAAE,MAAM;IAQtC;;OAEG;IACG,eAAe;CAQtB"}
@@ -1,19 +1,18 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { TokenWrapperModuleInfoResponse, TokenWrapperParamsResponse, TokenWrapperTotalTransfersResponse } from './types.js';
3
2
  export declare class ChainTokenWrapperApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
5
  /**
7
6
  * zigchaind query tokenwrapper module-info
8
7
  */
9
- fetchModuleInfo(): Promise<TokenWrapperModuleInfoResponse>;
8
+ fetchModuleInfo(): Promise<any>;
10
9
  /**
11
10
  * zigchaind query tokenwrapper params
12
11
  */
13
- fetchParams(): Promise<TokenWrapperParamsResponse>;
12
+ fetchParams(): Promise<any>;
14
13
  /**
15
14
  * zigchaind query tokenwrapper total-transfers
16
15
  */
17
- fetchTotalTransfers(): Promise<TokenWrapperTotalTransfersResponse>;
16
+ fetchTotalTransfers(): Promise<any>;
18
17
  }
19
18
  //# sourceMappingURL=ChainTokenWrapperApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainTokenWrapperApi.d.ts","sourceRoot":"","sources":["../../src/tokenwrapper/ChainTokenWrapperApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,8BAA8B,EAC9B,0BAA0B,EAC1B,kCAAkC,EACnC,MAAM,YAAY,CAAA;AAEnB,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;OAEG;IACG,eAAe;IAMrB;;OAEG;IACG,WAAW;IAMjB;;OAEG;IACG,mBAAmB;CAK1B"}
1
+ {"version":3,"file":"ChainTokenWrapperApi.d.ts","sourceRoot":"","sources":["../../src/tokenwrapper/ChainTokenWrapperApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAOhE,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;OAEG;IACG,eAAe;IAMrB;;OAEG;IACG,WAAW;IAMjB;;OAEG;IACG,mBAAmB;CAK1B"}
@@ -1,5 +1,4 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { CurrentPlanResponse, UpgradeAuthorityResponse, ModuleVersionsResponse } from './types.js';
3
2
  export declare class ChainUpgradeApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
@@ -7,16 +6,16 @@ export declare class ChainUpgradeApi {
7
6
  * Query the current upgrade plan (if exists)
8
7
  * CLI: zigchaind query upgrade plan
9
8
  */
10
- fetchCurrentPlan(): Promise<CurrentPlanResponse>;
9
+ fetchCurrentPlan(): Promise<any>;
11
10
  /**
12
11
  * Query the upgrade authority address
13
12
  * CLI: zigchaind query upgrade authority
14
13
  */
15
- fetchAuthority(): Promise<UpgradeAuthorityResponse>;
14
+ fetchAuthority(): Promise<any>;
16
15
  /**
17
16
  * Query module versions
18
17
  * CLI: zigchaind query upgrade module-versions
19
18
  */
20
- fetchModuleVersions(): Promise<ModuleVersionsResponse>;
19
+ fetchModuleVersions(): Promise<any>;
21
20
  }
22
21
  //# sourceMappingURL=ChainUpgradeApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainUpgradeApi.d.ts","sourceRoot":"","sources":["../../src/upgrade/ChainUpgradeApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,mBAAmB,EAEnB,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAEnB,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;;OAGG;IACG,gBAAgB;IAOtB;;;OAGG;IACG,cAAc;IAMpB;;;OAGG;IACG,mBAAmB;CAK1B"}
1
+ {"version":3,"file":"ChainUpgradeApi.d.ts","sourceRoot":"","sources":["../../src/upgrade/ChainUpgradeApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAQhE,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIvC;;;OAGG;IACG,gBAAgB;IAOtB;;;OAGG;IACG,cAAc;IAMpB;;;OAGG;IACG,mBAAmB;CAK1B"}
@@ -1,8 +1,7 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { CometValidatorSetResponse } from './types.js';
3
2
  export declare class ChainValidatorSetApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
6
- fetchValidatorSet(height?: number | string): Promise<CometValidatorSetResponse>;
5
+ fetchValidatorSet(height?: number | string): Promise<any>;
7
6
  }
8
7
  //# sourceMappingURL=ChainValidator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainValidator.d.ts","sourceRoot":"","sources":["../../src/validator-set/ChainValidator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAE3D,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;CAOjD"}
1
+ {"version":3,"file":"ChainValidator.d.ts","sourceRoot":"","sources":["../../src/validator-set/ChainValidator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAGhE,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAKjC,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;CAOjD"}
@@ -1,5 +1,4 @@
1
1
  import type { NetworkEndpoints } from '../networks/endpoints.js';
2
- import type { WasmCodeResponse, WasmCodeInfoResponse, WasmContractInfoResponse, WasmContractHistoryResponse, WasmContractStateAllResponse, WasmCodeListResponse, WasmContractsByCodeResponse, WasmContractsByCreatorResponse, WasmParamsResponse, WasmPinnedCodesResponse } from './types.js';
3
2
  export declare class ChainWasmApi {
4
3
  private client;
5
4
  constructor(endpoints: NetworkEndpoints);
@@ -7,51 +6,51 @@ export declare class ChainWasmApi {
7
6
  * Download wasm bytecode by code ID
8
7
  * CLI: zigchaind query wasm code <code-id>
9
8
  */
10
- fetchCode(codeId: string): Promise<WasmCodeResponse>;
9
+ fetchCode(codeId: string): Promise<any>;
11
10
  /**
12
11
  * Fetch code metadata
13
12
  * CLI: zigchaind query wasm code-info <code-id>
14
13
  */
15
- fetchCodeInfo(codeId: string): Promise<WasmCodeInfoResponse>;
14
+ fetchCodeInfo(codeId: string): Promise<any>;
16
15
  /**
17
16
  * Fetch contract metadata
18
17
  * CLI: zigchaind query wasm contract <contract-address>
19
18
  */
20
- fetchContractInfo(contractAddress: string): Promise<WasmContractInfoResponse>;
19
+ fetchContractInfo(contractAddress: string): Promise<any>;
21
20
  /**
22
21
  * Fetch contract code history
23
22
  * CLI: zigchaind query wasm contract-history <contract-address>
24
23
  */
25
- fetchContractHistory(contractAddress: string): Promise<WasmContractHistoryResponse>;
24
+ fetchContractHistory(contractAddress: string): Promise<any>;
26
25
  /**
27
26
  * Fetch full contract state (raw)
28
27
  * CLI: zigchaind query wasm contract-state all <contract-address>
29
28
  */
30
- fetchContractStateAll(contractAddress: string): Promise<WasmContractStateAllResponse>;
29
+ fetchContractStateAll(contractAddress: string): Promise<any>;
31
30
  /**
32
31
  * List all wasm bytecode on the chain
33
32
  * CLI: zigchaind query wasm list-code
34
33
  */
35
- fetchCodeList(): Promise<WasmCodeListResponse>;
34
+ fetchCodeList(): Promise<any>;
36
35
  /**
37
36
  * List all contracts by code ID
38
37
  * CLI: zigchaind query wasm list-contract-by-code <code-id>
39
38
  */
40
- fetchContractsByCode(codeId: string): Promise<WasmContractsByCodeResponse>;
39
+ fetchContractsByCode(codeId: string): Promise<any>;
41
40
  /**
42
41
  * List all contracts by creator address
43
42
  * CLI: zigchaind query wasm list-contracts-by-creator <creator-address>
44
43
  */
45
- fetchContractsByCreator(creatorAddress: string): Promise<WasmContractsByCreatorResponse>;
44
+ fetchContractsByCreator(creatorAddress: string): Promise<any>;
46
45
  /**
47
46
  * Fetch wasm module parameters
48
47
  * CLI: zigchaind query wasm params
49
48
  */
50
- fetchParams(): Promise<WasmParamsResponse>;
49
+ fetchParams(): Promise<any>;
51
50
  /**
52
51
  * List all pinned code IDs
53
52
  * CLI: zigchaind query wasm pinned
54
53
  */
55
- fetchPinnedCodes(): Promise<WasmPinnedCodesResponse>;
54
+ fetchPinnedCodes(): Promise<any>;
56
55
  }
57
56
  //# sourceMappingURL=ChainWasmApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChainWasmApi.d.ts","sourceRoot":"","sources":["../../src/wasm/ChainWasmApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,oBAAoB,EACpB,2BAA2B,EAC3B,8BAA8B,EAC9B,kBAAkB,EAClB,uBAAuB,EAExB,MAAM,YAAY,CAAA;AAEnB,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIrC;;;KAGC;IACG,SAAS,CAAC,MAAM,EAAE,MAAM;IAM9B;;;OAGG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM;IAMlC;;;OAGG;IACG,iBAAiB,CACrB,eAAe,EAAE,MAAM;IAOvB;;;KAGC;IACG,oBAAoB,CACxB,eAAe,EAAE,MAAM;IAOzB;;;OAGG;IACG,qBAAqB,CACzB,eAAe,EAAE,MAAM;IAOvB;;;KAGC;IACG,aAAa;IAMnB;;;OAGG;IACG,oBAAoB,CACxB,MAAM,EAAE,MAAM;IAOhB;;;OAGG;IACG,uBAAuB,CAC3B,cAAc,EAAE,MAAM;IAOxB;;;OAGG;IACG,WAAW;IAMjB;;;OAGG;IACG,gBAAgB;CAOvB"}
1
+ {"version":3,"file":"ChainWasmApi.d.ts","sourceRoot":"","sources":["../../src/wasm/ChainWasmApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAehE,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,gBAAgB;IAIrC;;;KAGC;IACG,SAAS,CAAC,MAAM,EAAE,MAAM;IAM9B;;;OAGG;IACG,aAAa,CAAC,MAAM,EAAE,MAA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